Add 3rd argument to remaining AC_DEFINES(), so we can get rid of

Tue Dec  3 21:10:28 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Add 3rd argument to remaining AC_DEFINES(),
        so we can get rid of acconfig.h. (#76334, Daniel Egger)

        * acconfig.h: Removed.
This commit is contained in:
Owen Taylor
2002-12-04 02:16:59 +00:00
committed by Owen Taylor
parent faa29f03ed
commit 70d2667c40
9 changed files with 57 additions and 58 deletions

View File

@@ -348,12 +348,14 @@ LIBS="$LIBS $INTLLIBS"
GETTEXT_PACKAGE=glib20
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
[Define the gettext package to be used])
# AM_GLIB_GNU_GETTEXT above substs $DATADIRNAME
# this is the directory where the *.{mo,gmo} files are installed
GLIB_LOCALE_DIR="${prefix}/${DATADIRNAME}/locale"
AC_DEFINE_UNQUOTED(GLIB_LOCALE_DIR,"$GLIB_LOCALE_DIR")
AC_DEFINE_UNQUOTED(GLIB_LOCALE_DIR, "$GLIB_LOCALE_DIR",
[Define the location where the catalogs will be installed])
AC_CHECK_FUNCS(bind_textdomain_codeset)
@@ -371,10 +373,10 @@ AC_SUBST(ICONV_LIBS)
case $with_libiconv in
gnu)
AC_DEFINE(USE_LIBICONV_GNU, [Using GNU libiconv])
AC_DEFINE(USE_LIBICONV_GNU, 1, [Using GNU libiconv])
;;
native)
AC_DEFINE(USE_LIBICONV_NATIVE, [Using a native implementation of iconv in a separate library])
AC_DEFINE(USE_LIBICONV_NATIVE, 1, [Using a native implementation of iconv in a separate library])
;;
esac
@@ -516,7 +518,8 @@ if test "x$GCC" = "xyes"; then
my_free_p = 0;
my_realloc_p = 0;
],
AC_DEFINE(SANE_MALLOC_PROTOS)
AC_DEFINE(SANE_MALLOC_PROTOS, 1,
[Define if you have correct malloc prototypes])
SANE_MALLOC_PROTOS=yes)
fi
AC_MSG_RESULT($SANE_MALLOC_PROTOS)