Re: Modularizing large configure.ac files

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

 



Eric Lemings wrote:
This could very well be a FAQ but I was just wondering if there is some
conventional way to break a large configure.ac file down into smaller
modules, tests, sections, etc.

By defining your own macros.  You could pretty much wrap your entire
configure.ac in:

AC_DEFUN([MY_MAC],[
 ......everything.....
])

move it to a mystuff.m4 and reduce configure.ac to:

  AC_INIT
  AC_CONFIG_SRCDIR
  AC_CONFIG_AUX_DIR
  MY_MAC


_______________________________________________
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