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
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to