Hi, On Fri, Apr 15, 2005 at 09:57:14AM +0800, Shuhao Chang wrote: > Is there a macro to check that "CFLAGS" doesn't include "-I/usr/incluce > -I/usr/local/include", > "LDFLAGS" doesn't include "-L/lib -L/usr/lib -L/usr/local/lib"? I don't know about any. Perhaps you can use something like: case "$LDFLAGS " in *" -L/lib "*|*" -L/usr/lib "*|*" -L/usr/local/lib "*) ...error;; esac Have a nice day, Stepan _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf