Ralf Wildenhues wrote: > > * Carsten Heinrici wrote on Thu, Jan 07, 2010 at 09:00:06PM CET: >> why not including just another m4 file which defines the version number? >> example: >> ./version.m4 >> m4_define([VERSION_NUMBER],[1.2.3]) >> >> ./package/configure.ac >> m4_include([../version.m4]) >> AC_INIT([package],VERSION_NUMBER) > > FWIW, it is a bit safer wrt. m4 quoting to use something like > AC_INIT([package], m4_defn([VERSION_NUMBER]) > > (unfortunately, normal quoting won't work here). > > This definitely is the way to go here, using m4_include and m4_define. It helps localize not just the version, but other info like the email address. Thanks for your help. esseffe -- View this message in context: http://old.nabble.com/specify-AC_INIT-version-externally-tp27015393p27230281.html Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf