m4 macro that would call AAC_INIT

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

 




Hey,

except AC_PREREQ() (and m4 calls), no macro should be called before AC_INIT(). Does this include the call of an m4 macro which itself would call AC_INIT. that is, smething like that:

*** my_init.m4 ***

AC_DEFUN([EFL_INIT],
[

m4_define([v_maj], [$2])
m4_define([v_min], [$3])
m4_define([v_mic], [$4])
m4_define([v_ver], [v_maj.v_min.v_mic])

AC_INIT([$1], [v_ver])

])

*** configure.ac ***

MY_INIT(foo, 1, 2, 3)

etc...


Vincent Torri

_______________________________________________
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