Am 21.10.2005 um 17:42 schrieb Vlad Seryakov:

Can we use NS_VERSION and NS_PACKAGE instead in nsconfig.h?


Well I think not that easy:

(configure.in)
AC_INIT(NaviServer, 4.99.1, [email protected])
AC_CONFIG_SRCDIR(include/ns.h)
AC_CONFIG_HEADER(include/nsconfig.h)
AC_PREREQ(2.50)
AC_REVISION($Revision: 1.15 $)
AM_INIT_AUTOMAKE


(aclocal.m4)
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition.  After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.


I believe autoconf defines those automatically when you call AC_INIT.
The way we now generate headers (autoheader), it gets included in the
nsconfig.h automatically...
I do not know the autoconf machinery enough, unfortunately.

Zoran


Reply via email to