Passing configure time settings to sub-packages.

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

 



Hello.

I hope that someone can help me. I want to know how I can pass configure time information from a package to a sub-package.

I have a simple project that is comprised of one package, but which in turn contains a sub-package. The package is contained in a directory called ~/simple while the sub-package is contained in a sub-directory called ~/simple/subpackage. The directory ~/simple contains a configure.ac file and this file invokes the following macro ;

  AC_CONFIG_SUBDIRS([subpackage])
   
Directory ~/simple/subpackage also contains a configure.ac file. To try and help explain my original question, say ~/simple/configure.ac checked for the presence of the Boost threading library on the host system. If it found it, it could store the result in a variable. However, say ~/simple/subpackage/configure.ac also needed to check for the Boost threading library. Rather than searching for the library again, is there any way that the result can be passed across to the configure.ac (actually configure) script in the sub-package from the configure script in the package?

Any help on this matter would be most appreciated.


Thankyou.


_______________________________________________
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