For a particular library we are building - the configure.ac looks as follows:

AC_CHECK_HEADERS(libmyapp.h) .

The location of libmyapp.h depends on the architecture / *nix distribution etc.

The Makefile.am looks as follows:

bin_PROGRAMS = hello

hello_CFLAGS = -I /usr/fqpath

If ./configure ( as output by autoconf  succeeds while checking
headers) , is there a macro variable that points to the fully
qualified path that succeeded that macros ,  that can be later used by
the automake tool as well (in Makefile.am )  ?

_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to