How to specify a custom library directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm new to the autotools (and therefore also to this mailing list!) and I'm
struggling to give the user some building options.

I need to give the possibility to the user to specify custom directories for
external libraries which must be linked to my program.
So this would be an argument to the configure script like --<library
name>-dir=<custom path>.

I guess the given path must then be substituted in the makefiles with a
"AC_SUBST(CUSTOM_DIR)"

How to provide such an option (which macro in the configure.in file)?

Thanks!
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux