Add 3rd argument to remaining AC_DEFINES(), so we can get rid of
authorOwen Taylor <otaylor@redhat.com>
Wed, 4 Dec 2002 02:16:59 +0000 (02:16 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 4 Dec 2002 02:16:59 +0000 (02:16 +0000)
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.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acconfig.h [deleted file]
configure.in

index 935ec8f..8a40e73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
index 935ec8f..8a40e73 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Tue Dec  3 20:22:27 2002  Owen Taylor  <otaylor@redhat.com>
 
        * glib/*.c: Patch from Sven Neumann to make the
diff --git a/acconfig.h b/acconfig.h
deleted file mode 100644 (file)
index bbf5617..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/* GLIB - Library of useful routines for C programming
- * Copyright (C) 1995-1997  Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-/* acconfig.h
-   This file is in the public domain.
-
-   Descriptive text for the C preprocessor macros that
-   the distributed Autoconf macros can define.
-   No software package will use all of them; autoheader copies the ones
-   your configure.in uses into your configuration header file templates.
-
-   The entries are in sort -df order: alphabetical, case insensitive,
-   ignoring punctuation (such as underscores).  Although this order
-   can split up related entries, it makes it easier to check whether
-   a given entry is in the file.
-
-   Leave the following blank line there!!  Autoheader needs it.  */
-\f
-
-/* Other stuff */
-
-/* #undef PACKAGE */
-/* #undef VERSION */
-
-\f
-/* Leave that blank line there!!  Autoheader needs it.
-   If you're adding to this file, keep in mind:
-   The entries are in sort -df order: alphabetical, case insensitive,
-   ignoring punctuation (such as underscores).  */
-
-#undef ENABLE_NLS
-#undef GETTEXT_PACKAGE
-#undef GLIB_LOCALE_DIR
-#undef HAVE_GETTEXT
-#undef HAVE_LC_MESSAGES
-#undef SANE_MALLOC_PROTOS
-#undef USE_LIBICONV_GNU
-#undef USE_LIBICONV_NATIVE
index 82b3043..2f7e727 100644 (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)