|
Re: Check for ar (libtool bug): msg#00136gnu.libtool.general
Robert Boehne wrote: > Typically we define things to ":" when they are not found. Hi Robert, $ grep AC_CHECK_TOOL libtool.m4 AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) [AC_CHECK_TOOL(GCJ, gcj, no) [AC_CHECK_TOOL(RC, windres, no) That makes two times ":" (true) and 5 times "false" or "no". > If we change your patch to AC_CHECK_TOOL(AR, ar, :), does > it still work to fix the problem you ran into? It still works if "ar" is found but using ":" as the default command for creating an old archive is IMHO the wrong thing. Using ":" for "ranlib" and "strip" is acceptable because libtool works well without them but AR=: returns the wrong exit status if you attempt to create an old archive. Therefore AR=false is correct. -- Ralph |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Producing libname.so on AIX: 00136, Jani Taskinen |
|---|---|
| Next by Date: | RE: Check for ar (libtool bug): 00136, Boehne, Robert |
| Previous by Thread: | Re: Check for ar (libtool bug)i: 00136, Robert Boehne |
| Next by Thread: | RE: Check for ar (libtool bug): 00136, Boehne, Robert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |