Really make sure VERSION & PACKAGE macros are defined when generating a

configure script with autoconf 2.52.
This commit is contained in:
gbeauche 2003-10-12 21:58:02 +00:00
parent c04603adce
commit 4641be3209

View File

@ -7,8 +7,8 @@ AC_PREREQ(2.52)
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
dnl Aliases for PACKAGE and VERSION macros. dnl Aliases for PACKAGE and VERSION macros.
AC_DEFINE(PACKAGE, PACKAGE_NAME, [Alias to PACKAGE for i18n.]) AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE_NAME", [Define this program name.])
AC_DEFINE(VERSION, PACKAGE_VERSION, [Alias to VERSION for i18n.]) AC_DEFINE_UNQUOTED(VERSION, "$PACKAGE_VERSION", [Define this program version.])
dnl Some systems do not put corefiles in the currect directory, avoid saving dnl Some systems do not put corefiles in the currect directory, avoid saving
dnl cores for the configure tests since some are intended to dump core. dnl cores for the configure tests since some are intended to dump core.