Re: Problem with LIBS generated by a macro

2010-10-31 Thread Ralf Wildenhues
Hello Sergio, * Sergio Belkin wrote on Sat, Oct 30, 2010 at 11:55:17PM CEST: > I've autoconfiscated a project that link against libresolv and > libtpthread, and optionally against ssl, mysqlclient and pq. I am > working on Fedora 13 (i686). > > I've found a macro AX_EXT_HAVE_LIB > (http://www.gnu

Re: Problem with LIBS generated by a macro

2010-10-31 Thread Sergio Belkin
2010/10/31 Ralf Wildenhues : > Hello Sergio, > > * Sergio Belkin wrote on Sat, Oct 30, 2010 at 11:55:17PM CEST: >> I've autoconfiscated a project that link against libresolv and >> libtpthread, and optionally against ssl, mysqlclient and pq. I am >> working on Fedora 13 (i686). >> >> I've found a m

best way to check for compiler _warnings_?

2010-10-31 Thread Miles Bader
I want to check whether the compiler is giving a warning (about an unrecognized command-line option). Since the compilation still succeeds, AC_COMPILE_IFELSE doesn't do the job... e.g.: $ g++ -o /dev/null -catfood -c /tmp/s.cc ; echo $? g++: unrecognized option '-catfood' 0 $ argh