Add GLIB_ASSERT_SET() as a helper for adding "must be set when
authorOwen Taylor <otaylor@redhat.com>
Wed, 11 Dec 2002 22:21:32 +0000 (22:21 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 11 Dec 2002 22:21:32 +0000 (22:21 +0000)
Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>

        * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
        a helper for adding "must be set when cross-compiling"
        errors.

        * configure.in: For all cached variables without defaults,
        error out if they aren't set.

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
configure.in

index 52f9fce..d834d41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 52f9fce..d834d41 100644 (file)
@@ -1,3 +1,12 @@
+Wed Dec 11 17:00:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * acglib.m4 (ac_compile): Add GLIB_ASSERT_SET() as
+       a helper for adding "must be set when cross-compiling"
+       errors.
+
+       * configure.in: For all cached variables without defaults,
+       error out if they aren't set.
+
 Wed Dec 11 15:52:01 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Also assume AC_LINK_IFELSE() is
index 5f88720..b6c499a 100644 (file)
@@ -741,6 +741,8 @@ if test "$ac_cv_func_memmove" != "yes"; then
         }
         return(0);
       }],glib_cv_working_bcopy=yes,glib_cv_working_bcopy=no)])
+
+  GLIB_ASSERT_SET(glib_cv_working_bcopy)
   if test "$glib_cv_working_bcopy" = "yes"; then
     AC_DEFINE(HAVE_WORKING_BCOPY,1,[Have a working bcopy])
   fi
@@ -1031,6 +1033,7 @@ dnl *** check whether we need preceeding underscores
                        [])
                rm -f plugin.c plugin.$ac_objext plugin.lo
        ])
+        GLIB_ASSERT_SET(glib_cv_uscore)
        if test "x$glib_cv_uscore" = "xyes"; then
                G_MODULE_NEED_USCORE=1
        else
@@ -1557,6 +1560,7 @@ int main () {
 }                               ],
                                [ac_cv_func_posix_getpwuid_r=yes],
                                [ac_cv_func_posix_getpwuid_r=no])])
+               GLIB_ASSERT_SET(ac_cv_func_posix_getpwuid_r)
                if test "$ac_cv_func_posix_getpwuid_r" = yes; then
                        AC_DEFINE(HAVE_POSIX_GETPWUID_R,1,
                                [Have POSIX function getpwuid_r])
@@ -1570,6 +1574,7 @@ int main () {
                                                        sizeof (buffer));],
                                        [ac_cv_func_nonposix_getpwuid_r=yes],
                                        [ac_cv_func_nonposix_getpwuid_r=no])])
+                       GLIB_ASSERT_SET(ac_cv_func_nonposix_getpwuid_r)
                        if test "$ac_cv_func_nonposix_getpwuid_r" = yes; then
                                AC_DEFINE(HAVE_NONPOSIX_GETPWUID_R,1,
                                        [Have non-POSIX function getpwuid_r])
@@ -1661,6 +1666,7 @@ main()
                [glib_cv_use_pid_surrogate=yes],
                 [glib_cv_use_pid_surrogate=no],
                 [])])
+         GLIB_ASSERT_SET(glib_cv_use_pid_surrogate)
           if test "$glib_cv_use_pid_surrogate" = "yes" ; then
            AC_DEFINE(G_THREAD_USE_PID_SURROGATE, 1, 
                       [whether to use the PID niceness surrogate for thread priorities])