Update to version 2.33.1
[profile/ivi/glib2.git] / configure
index c326220..061b47e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for glib 2.31.20.
+# Generated by GNU Autoconf 2.68 for glib 2.33.1.
 #
 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glib>.
 #
@@ -571,8 +571,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='glib'
 PACKAGE_TARNAME='glib'
-PACKAGE_VERSION='2.31.20'
-PACKAGE_STRING='glib 2.31.20'
+PACKAGE_VERSION='2.33.1'
+PACKAGE_STRING='glib 2.33.1'
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib'
 PACKAGE_URL=''
 
@@ -624,6 +624,9 @@ gthread_INCLUDES
 glib_INCLUDES
 config_h_INCLUDES
 GLIB_LINK_FLAGS
+HAVE_DBUS_DAEMON_FALSE
+HAVE_DBUS_DAEMON_TRUE
+DBUS_DAEMON
 HAVE_DBUS1_FALSE
 HAVE_DBUS1_TRUE
 DBUS1_LIBS
@@ -682,7 +685,8 @@ PLATFORM_WIN32_TRUE
 ENABLE_TIMELOOP_FALSE
 ENABLE_TIMELOOP_TRUE
 PLATFORMDEP
-ELF_LIBS
+LIBELF_LIBS
+LIBELF_CFLAGS
 XATTR_LIBS
 HAVE_FAM_FALSE
 HAVE_FAM_TRUE
@@ -789,6 +793,8 @@ HAVE_GLIB_RUNTIME_LIBDIR_FALSE
 HAVE_GLIB_RUNTIME_LIBDIR_TRUE
 ABS_GLIB_RUNTIME_LIBDIR
 GLIB_RUNTIME_LIBDIR
+BUILD_MODULAR_TESTS_FALSE
+BUILD_MODULAR_TESTS_TRUE
 GLIBC21
 EGREP
 GREP
@@ -799,6 +805,8 @@ ms_librarian
 RANLIB
 NM
 WINDRES
+OS_COCOA_FALSE
+OS_COCOA_TRUE
 OS_CARBON_FALSE
 OS_CARBON_TRUE
 OS_LINUX_FALSE
@@ -927,6 +935,7 @@ enable_debug
 enable_gc_friendly
 enable_mem_pools
 enable_rebuilds
+enable_modular_tests
 with_runtime_libdir
 enable_largefile
 with_libiconv
@@ -978,6 +987,8 @@ ZLIB_LIBS
 LIBFFI_CFLAGS
 LIBFFI_LIBS
 CXXCPP
+LIBELF_CFLAGS
+LIBELF_LIBS
 PCRE_CFLAGS
 PCRE_LIBS
 GTKDOC_DEPS_CFLAGS
@@ -1526,7 +1537,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures glib 2.31.20 to adapt to many kinds of systems.
+\`configure' configures glib 2.33.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1596,7 +1607,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of glib 2.31.20:";;
+     short | recursive ) echo "Configuration of glib 2.33.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1615,6 +1626,7 @@ Optional Features:
   --enable-gc-friendly    turn on garbage collector friendliness [default=no]
   --disable-mem-pools     disable all glib memory pools
   --disable-rebuilds      disable all source autogeneration rules
+  --disable-modular-tests Disable build of test programs (default: no)
   --disable-largefile     omit support for large files
   --enable-iconv-cache=[yes/no/auto]
                           cache iconv descriptors [default=auto]
@@ -1686,6 +1698,9 @@ Some influential environment variables:
               C compiler flags for LIBFFI, overriding pkg-config
   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
   CXXCPP      C++ preprocessor
+  LIBELF_CFLAGS
+              C compiler flags for LIBELF, overriding pkg-config
+  LIBELF_LIBS linker flags for LIBELF, overriding pkg-config
   PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config
   PCRE_LIBS   linker flags for PCRE, overriding pkg-config
   GTKDOC_DEPS_CFLAGS
@@ -1762,7 +1777,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-glib configure 2.31.20
+glib configure 2.33.1
 generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2541,7 +2556,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by glib $as_me 2.31.20, which was
+It was created by glib $as_me 2.33.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
@@ -3365,7 +3380,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='glib'
- VERSION='2.31.20'
+ VERSION='2.33.1'
 
 
 # Some tools Automake needs.
@@ -3545,11 +3560,11 @@ AM_BACKSLASH='\'
 
 
 GLIB_MAJOR_VERSION=2
-GLIB_MINOR_VERSION=31
-GLIB_MICRO_VERSION=20
+GLIB_MINOR_VERSION=33
+GLIB_MICRO_VERSION=1
 GLIB_INTERFACE_AGE=0
-GLIB_BINARY_AGE=3120
-GLIB_VERSION=2.31.20
+GLIB_BINARY_AGE=3301
+GLIB_VERSION=2.33.1
 
 
 
@@ -3562,23 +3577,23 @@ GLIB_VERSION=2.31.20
 $as_echo "#define GLIB_MAJOR_VERSION 2" >>confdefs.h
 
 
-$as_echo "#define GLIB_MINOR_VERSION 31" >>confdefs.h
+$as_echo "#define GLIB_MINOR_VERSION 33" >>confdefs.h
 
 
-$as_echo "#define GLIB_MICRO_VERSION 20" >>confdefs.h
+$as_echo "#define GLIB_MICRO_VERSION 1" >>confdefs.h
 
 
 $as_echo "#define GLIB_INTERFACE_AGE 0" >>confdefs.h
 
 
-$as_echo "#define GLIB_BINARY_AGE 3120" >>confdefs.h
+$as_echo "#define GLIB_BINARY_AGE 3301" >>confdefs.h
 
 
 # libtool versioning
-LT_RELEASE=2.31
-LT_CURRENT=3120
+LT_RELEASE=2.33
+LT_CURRENT=3301
 LT_REVISION=0
-LT_AGE=3120
+LT_AGE=3301
 LT_CURRENT_MINUS_AGE=0
 
 
@@ -4859,6 +4874,26 @@ rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_have_carbon" >&5
 $as_echo "$glib_have_carbon" >&6; }
 
+glib_have_cocoa=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X Cocoa support" >&5
+$as_echo_n "checking for Mac OS X Cocoa support... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#include <Cocoa/Cocoa.h>
+#ifdef GNUSTEP_BASE_VERSION
+#error "Detected GNUstep, not Cocoa"
+#endif
+
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  glib_have_cocoa=yes
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_have_cocoa" >&5
+$as_echo "$glib_have_cocoa" >&6; }
+
  if test "$glib_native_win32" = "yes"; then
   OS_WIN32_TRUE=
   OS_WIN32_FALSE='#'
@@ -4899,6 +4934,14 @@ else
   OS_CARBON_FALSE=
 fi
 
+ if test "$glib_have_cocoa" = "yes"; then
+  OS_COCOA_TRUE=
+  OS_COCOA_FALSE='#'
+else
+  OS_COCOA_TRUE='#'
+  OS_COCOA_FALSE=
+fi
+
 
 if test "$glib_native_win32" = "yes"; then
   if test -n "$ac_tool_prefix"; then
@@ -5248,6 +5291,13 @@ $as_echo "#define HAVE_CARBON 1" >>confdefs.h
   LDFLAGS="$LDFLAGS -framework Carbon"
 fi
 
+if test "x$glib_have_cocoa" = "xyes"; then
+
+$as_echo "#define HAVE_COCOA 1" >>confdefs.h
+
+  LDFLAGS="$LDFLAGS -framework Foundation"
+fi
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 if ${ac_cv_path_GREP+:} false; then :
@@ -5447,6 +5497,21 @@ else
   enable_rebuilds=yes
 fi
 
+# Check whether --enable-modular_tests was given.
+if test "${enable_modular_tests+set}" = set; then :
+  enableval=$enable_modular_tests;
+else
+  enable_modular_tests=yes
+fi
+
+ if test x$enable_modular_tests = xyes; then
+  BUILD_MODULAR_TESTS_TRUE=
+  BUILD_MODULAR_TESTS_FALSE='#'
+else
+  BUILD_MODULAR_TESTS_TRUE='#'
+  BUILD_MODULAR_TESTS_FALSE=
+fi
+
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable garbage collector friendliness" >&5
 $as_echo_n "checking whether to enable garbage collector friendliness... " >&6; }
@@ -7024,6 +7089,7 @@ fi
 
 
 
+
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
        if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -7865,6 +7931,7 @@ if test -n "$ZLIB_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -7881,6 +7948,7 @@ if test -n "$ZLIB_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -7900,9 +7968,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zlib" 2>&1`
+               ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
         else
-               ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "zlib" 2>&1`
+               ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$ZLIB_PKG_ERRORS" >&5
@@ -8116,6 +8184,7 @@ if test -n "$LIBFFI_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -8132,6 +8201,7 @@ if test -n "$LIBFFI_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -8151,9 +8221,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi >= 3.0.0" 2>&1`
+               LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi >= 3.0.0" 2>&1`
         else
-               LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi >= 3.0.0" 2>&1`
+               LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi >= 3.0.0" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$LIBFFI_PKG_ERRORS" >&5
@@ -8168,7 +8238,6 @@ installed software in a non-standard prefix.
 Alternatively, you may set the environment variables LIBFFI_CFLAGS
 and LIBFFI_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details." "$LINENO" 5
-
 elif test $pkg_failed = untried; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -8184,7 +8253,6 @@ See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 See \`config.log' for more details" "$LINENO" 5; }
-
 else
        LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
        LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
@@ -10099,7 +10167,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-netbsd*)
+netbsd* | netbsdelf*-gnu)
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   else
@@ -13536,6 +13604,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   openbsd*)
     with_gnu_ld=no
     ;;
+  linux* | k*bsd*-gnu | gnu*)
+    link_all_deplibs=no
+    ;;
   esac
 
   ld_shlibs=yes
@@ -13757,7 +13828,7 @@ _LT_EOF
       fi
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
        wlarc=
@@ -13934,6 +14005,7 @@ _LT_EOF
        if test "$aix_use_runtimelinking" = yes; then
          shared_flag="$shared_flag "'${wl}-G'
        fi
+       link_all_deplibs=no
       else
        # not using gcc
        if test "$host_cpu" = ia64; then
@@ -14387,7 +14459,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs=yes
       ;;
 
-    netbsd*)
+    netbsd* | netbsdelf*-gnu)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
       else
   # before this can be enabled.
   hardcode_into_libs=yes
 
-  # Add ABI-specific directories to the system library path.
-  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
-
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
-
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+netbsdelf*-gnu)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='NetBSD ld.elf_so'
+  ;;
+
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -18254,7 +18334,7 @@ lt_prog_compiler_static_CXX=
            ;;
        esac
        ;;
-      netbsd*)
+      netbsd* | netbsdelf*-gnu)
        ;;
       *qnx* | *nto*)
         # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -18625,6 +18705,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
       ;;
     esac
     ;;
+  linux* | k*bsd*-gnu | gnu*)
+    link_all_deplibs_CXX=no
+    ;;
   *)
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     ;;
   # before this can be enabled.
   hardcode_into_libs=yes
 
-  # Add ABI-specific directories to the system library path.
-  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
-
   # Append ld.so.conf contents to the search path
   if test -f /etc/ld.so.conf; then
     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
-    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
-
+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   fi
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   dynamic_linker='GNU/Linux ld.so'
   ;;
 
+netbsdelf*-gnu)
+  version_type=linux
+  need_lib_prefix=no
+  need_version=no
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+  soname_spec='${libname}${release}${shared_ext}$major'
+  shlibpath_var=LD_LIBRARY_PATH
+  shlibpath_overrides_runpath=no
+  hardcode_into_libs=yes
+  dynamic_linker='NetBSD ld.elf_so'
+  ;;
+
 netbsd*)
   version_type=sunos
   need_lib_prefix=no
@@ -19999,7 +20090,7 @@ Usage: $0 [OPTIONS]
 Report bugs to <bug-libtool@gnu.org>."
 
 lt_cl_version="\
-glib config.lt 2.31.20
+glib config.lt 2.33.1
 configured by $0, generated by GNU Autoconf 2.68.
 
 Copyright (C) 2011 Free Software Foundation, Inc.
 done
 
 
-ac_fn_c_check_func "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
-if test "x$ac_cv_func_qsort_r" = xyes; then :
-
-fi
-
-
-# BSD has a qsort_r with wrong argument order
-if test x$ac_cv_func_qsort_r = xyes ; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if qsort_r uses glibc compatible argument order" >&5
-$as_echo_n "checking if qsort_r uses glibc compatible argument order... " >&6; }
-if ${glib_cv_have_qsort_r+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-
-  if test "$cross_compiling" = yes; then :
-  glib_cv_have_qsort_r=no
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-  #define _GNU_SOURCE
-  #include <stdlib.h>
-
-  static int
-  cmp (const void *a, const void *b, void *c)
-  {
-    const int *ia = a;
-    const int *ib = b;
-
-    if (*ia < *ib)
-      return -1;
-    else if (*ia > *ib)
-      return 1;
-    else
-      return 0;
-  }
-
-  int
-  main (int argc, char **argv)
-  {
-    int arr[3] = { 1, 2, 0 };
-    int d = 3;
-
-    qsort_r (arr, 3, sizeof (int), cmp, &d);
-
-    if (arr[0] == 0 && arr[1] == 1 && arr[2] == 2)
-      return 0;
-    else
-      return 1;
-  }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  glib_cv_have_qsort_r=yes
-else
-  glib_cv_have_qsort_r=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_have_qsort_r" >&5
-$as_echo "$glib_cv_have_qsort_r" >&6; }
-fi
-
-if test x$glib_cv_have_qsort_r = xyes ; then
-
-$as_echo "#define HAVE_QSORT_R 1" >>confdefs.h
-
-fi
-
 # The cast to long int works around a bug in the HP C Compiler
 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
@@ -21909,6 +21929,40 @@ _ACEOF
 
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sig_atomic_t" >&5
+$as_echo_n "checking for sig_atomic_t... " >&6; }
+if ${ac_cv_type_sig_atomic_t+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <signal.h>
+     #include <sys/types.h>
+     sig_atomic_t val = 42;
+int
+main ()
+{
+return val == 42 ? 0 : 1
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_type_sig_atomic_t=yes
+else
+  ac_cv_type_sig_atomic_t=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_sig_atomic_t" >&5
+$as_echo "$ac_cv_type_sig_atomic_t" >&6; }
+if test x$ac_cv_type_sig_atomic_t = xyes; then
+
+$as_echo "#define HAVE_SIG_ATOMIC_T 1" >>confdefs.h
+
+fi
+
 if test x$ac_cv_sizeof_long = x8 || test x$ac_cv_sizeof_long_long = x8 || test x$ac_cv_sizeof___int64 = x8 ; then
   :
 else
 
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBELF" >&5
+$as_echo_n "checking for LIBELF... " >&6; }
+
+if test -n "$LIBELF_CFLAGS"; then
+    pkg_cv_LIBELF_CFLAGS="$LIBELF_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libelf") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_LIBELF_CFLAGS=`$PKG_CONFIG --cflags "libelf" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$LIBELF_LIBS"; then
+    pkg_cv_LIBELF_LIBS="$LIBELF_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libelf\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "libelf") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_LIBELF_LIBS=`$PKG_CONFIG --libs "libelf" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               LIBELF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libelf" 2>&1`
+        else
+               LIBELF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libelf" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$LIBELF_PKG_ERRORS" >&5
+
+       have_libelf=maybe
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       have_libelf=maybe
+else
+       LIBELF_CFLAGS=$pkg_cv_LIBELF_CFLAGS
+       LIBELF_LIBS=$pkg_cv_LIBELF_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       have_libelf=yes
+fi
+
+if test $have_libelf = maybe; then
+  glib_save_LIBS=$LIBS
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_begin in -lelf" >&5
 $as_echo_n "checking for elf_begin in -lelf... " >&6; }
 if ${ac_cv_lib_elf_elf_begin+:} false; then :
   $as_echo_n "(cached) " >&6
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_begin" >&5
 $as_echo "$ac_cv_lib_elf_elf_begin" >&6; }
 if test "x$ac_cv_lib_elf_elf_begin" = xyes; then :
-  have_libelf=yes
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBELF 1
+_ACEOF
+
+  LIBS="-lelf $LIBS"
+
 else
   have_libelf=no
 fi
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx in -lelf" >&5
+$as_echo_n "checking for elf_getshdrstrndx in -lelf... " >&6; }
+if ${ac_cv_lib_elf_elf_getshdrstrndx+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lelf  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char elf_getshdrstrndx ();
+int
+main ()
+{
+return elf_getshdrstrndx ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_elf_elf_getshdrstrndx=yes
+else
+  ac_cv_lib_elf_elf_getshdrstrndx=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrstrndx" >&5
+$as_echo "$ac_cv_lib_elf_elf_getshdrstrndx" >&6; }
+if test "x$ac_cv_lib_elf_elf_getshdrstrndx" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBELF 1
+_ACEOF
+
+  LIBS="-lelf $LIBS"
+
+else
+  have_libelf=no
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrnum in -lelf" >&5
+$as_echo_n "checking for elf_getshdrnum in -lelf... " >&6; }
+if ${ac_cv_lib_elf_elf_getshdrnum+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lelf  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char elf_getshdrnum ();
+int
+main ()
+{
+return elf_getshdrnum ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_elf_elf_getshdrnum=yes
+else
+  ac_cv_lib_elf_elf_getshdrnum=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_elf_getshdrnum" >&5
+$as_echo "$ac_cv_lib_elf_elf_getshdrnum" >&6; }
+if test "x$ac_cv_lib_elf_elf_getshdrnum" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBELF 1
+_ACEOF
+
+  LIBS="-lelf $LIBS"
+
+else
+  have_libelf=no
+fi
+
+  ac_fn_c_check_header_mongrel "$LINENO" "libelf.h" "ac_cv_header_libelf_h" "$ac_includes_default"
+if test "x$ac_cv_header_libelf_h" = xyes; then :
+
+else
+  have_libelf=no
+fi
+
+
+  LIBS=$glib_save_LIBS
+
+  if test $have_libelf != no; then
+    LIBELF_LIBS=-lelf
+    have_libelf=yes
+  fi
+fi
+
 if test $have_libelf = yes; then
 
 $as_echo "#define HAVE_LIBELF 1" >>confdefs.h
 
-  ELF_LIBS=-lelf
 fi
 
 
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for platform-dependent source" >&5
 $as_echo_n "checking for platform-dependent source... " >&6; }
 case "$host" in
@@ -27159,6 +27400,7 @@ if test -n "$PCRE_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre >= $PCRE_REQUIRED_VERSION" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -27175,6 +27417,7 @@ if test -n "$PCRE_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre >= $PCRE_REQUIRED_VERSION" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -27194,9 +27437,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpcre >= $PCRE_REQUIRED_VERSION" 2>&1`
+               PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcre >= $PCRE_REQUIRED_VERSION" 2>&1`
         else
-               PCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpcre >= $PCRE_REQUIRED_VERSION" 2>&1`
+               PCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcre >= $PCRE_REQUIRED_VERSION" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$PCRE_PKG_ERRORS" >&5
@@ -27211,7 +27454,6 @@ installed software in a non-standard prefix.
 Alternatively, you may set the environment variables PCRE_CFLAGS
 and PCRE_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details." "$LINENO" 5
-
 elif test $pkg_failed = untried; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -27227,7 +27469,6 @@ See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 See \`config.log' for more details" "$LINENO" 5; }
-
 else
        PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
        PCRE_LIBS=$pkg_cv_PCRE_LIBS
@@ -27369,7 +27610,7 @@ else
 fi
 
 
-if test $cross_compiling = yes; then
+if test $cross_compiling = yes && test x$enable_modular_tests = xyes; then
   # Extract the first word of "glib-genmarshal", so it can be a program name with args.
 set dummy glib-genmarshal; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -27683,6 +27924,7 @@ if test -n "$GTKDOC_DEPS_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -27699,6 +27941,7 @@ if test -n "$GTKDOC_DEPS_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -27718,9 +27961,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
+               GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
         else
-               GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
+               GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
@@ -27735,7 +27978,6 @@ installed software in a non-standard prefix.
 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details." "$LINENO" 5
-
 elif test $pkg_failed = untried; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
@@ -27751,7 +27993,6 @@ See the pkg-config man page for more details.
 
 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 See \`config.log' for more details" "$LINENO" 5; }
-
 else
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
 ac_config_commands="$ac_config_commands glib/glibconfig.h"
 
 
+# Redo enough to get guint32 and guint64 for the alignment checks below
+case 4 in
+$ac_cv_sizeof_short)
+  gint32=short
+  ;;
+$ac_cv_sizeof_int)
+  gint32=int
+  ;;
+$ac_cv_sizeof_long)
+  gint32=long
+  ;;
+esac
+case 8 in
+$ac_cv_sizeof_int)
+  gint64=int
+  ;;
+$ac_cv_sizeof_long)
+  gint64=long
+  ;;
+$ac_cv_sizeof_long_long)
+  gint64='long long'
+  ;;
+$ac_cv_sizeof___int64)
+  gint64='__int64'
+  ;;
+esac
+
+ac_fn_c_check_type "$LINENO" "guint32" "ac_cv_type_guint32" "typedef unsigned $gint32 guint32;
+"
+if test "x$ac_cv_type_guint32" = xyes; then :
+
+fi
+
+# The cast to long int works around a bug in the HP C Compiler,
+# see AC_CHECK_SIZEOF for more information.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guint32" >&5
+$as_echo_n "checking alignment of guint32... " >&6; }
+if ${ac_cv_alignof_guint32+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guint32"        "$ac_includes_default
+typedef unsigned $gint32 guint32;
+
+#ifndef offsetof
+# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
+#endif
+typedef struct { char x; guint32 y; } ac__type_alignof_;"; then :
+
+else
+  if test "$ac_cv_type_guint32" = yes; then
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute alignment of guint32
+See \`config.log' for more details" "$LINENO" 5; }
+   else
+     ac_cv_alignof_guint32=0
+   fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guint32" >&5
+$as_echo "$ac_cv_alignof_guint32" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define ALIGNOF_GUINT32 $ac_cv_alignof_guint32
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "guint64" "ac_cv_type_guint64" "typedef unsigned $gint64 guint64;
+"
+if test "x$ac_cv_type_guint64" = xyes; then :
+
+fi
+
+# The cast to long int works around a bug in the HP C Compiler,
+# see AC_CHECK_SIZEOF for more information.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of guint64" >&5
+$as_echo_n "checking alignment of guint64... " >&6; }
+if ${ac_cv_alignof_guint64+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_guint64"        "$ac_includes_default
+typedef unsigned $gint64 guint64;
+
+#ifndef offsetof
+# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
+#endif
+typedef struct { char x; guint64 y; } ac__type_alignof_;"; then :
+
+else
+  if test "$ac_cv_type_guint64" = yes; then
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute alignment of guint64
+See \`config.log' for more details" "$LINENO" 5; }
+   else
+     ac_cv_alignof_guint64=0
+   fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_guint64" >&5
+$as_echo "$ac_cv_alignof_guint64" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define ALIGNOF_GUINT64 $ac_cv_alignof_guint64
+_ACEOF
+
+
+ac_fn_c_check_type "$LINENO" "unsigned long" "ac_cv_type_unsigned_long" "$ac_includes_default"
+if test "x$ac_cv_type_unsigned_long" = xyes; then :
+
+fi
+
+# The cast to long int works around a bug in the HP C Compiler,
+# see AC_CHECK_SIZEOF for more information.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of unsigned long" >&5
+$as_echo_n "checking alignment of unsigned long... " >&6; }
+if ${ac_cv_alignof_unsigned_long+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_unsigned_long"        "$ac_includes_default
+#ifndef offsetof
+# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
+#endif
+typedef struct { char x; unsigned long y; } ac__type_alignof_;"; then :
+
+else
+  if test "$ac_cv_type_unsigned_long" = yes; then
+     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute alignment of unsigned long
+See \`config.log' for more details" "$LINENO" 5; }
+   else
+     ac_cv_alignof_unsigned_long=0
+   fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_unsigned_long" >&5
+$as_echo "$ac_cv_alignof_unsigned_long" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define ALIGNOF_UNSIGNED_LONG $ac_cv_alignof_unsigned_long
+_ACEOF
+
+
+
 # Check for libdbus1 - Optional - is only used in the GDBus test cases
 #
 # 1.2.14 required for dbus_message_set_serial
+if test x$enable_modular_tests = xyes; then
 
 pkg_failed=no
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS1" >&5
@@ -28334,6 +28730,7 @@ if test -n "$DBUS1_CFLAGS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS1_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.2.14" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -28350,6 +28747,7 @@ if test -n "$DBUS1_LIBS"; then
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
   pkg_cv_DBUS1_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.2.14" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
 fi
@@ -28369,9 +28767,9 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               DBUS1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 1.2.14" 2>&1`
+               DBUS1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.2.14" 2>&1`
         else
-               DBUS1_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 1.2.14" 2>&1`
+               DBUS1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.2.14" 2>&1`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$DBUS1_PKG_ERRORS" >&5
@@ -28392,6 +28790,7 @@ $as_echo "#define HAVE_DBUS1 1" >>confdefs.h
 fi
 
 
+fi
  if test "x$have_dbus1" = "xyes"; then
   HAVE_DBUS1_TRUE=
   HAVE_DBUS1_FALSE='#'
@@ -28401,6 +28800,57 @@ else
 fi
 
 
+for ac_prog in dbus-daemon
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_DBUS_DAEMON+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$DBUS_DAEMON"; then
+  ac_cv_prog_DBUS_DAEMON="$DBUS_DAEMON" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_DBUS_DAEMON="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+DBUS_DAEMON=$ac_cv_prog_DBUS_DAEMON
+if test -n "$DBUS_DAEMON"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_DAEMON" >&5
+$as_echo "$DBUS_DAEMON" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$DBUS_DAEMON" && break
+done
+
+ if test x$DBUS_DAEMON = xdbus-daemon ; then
+  HAVE_DBUS_DAEMON_TRUE=
+  HAVE_DBUS_DAEMON_FALSE='#'
+else
+  HAVE_DBUS_DAEMON_TRUE='#'
+  HAVE_DBUS_DAEMON_FALSE=
+fi
+
+
 
 # Check whether --enable-Bsymbolic was given.
 if test "${enable_Bsymbolic+set}" = set; then :
@@ -28648,10 +29098,18 @@ if test -z "${OS_CARBON_TRUE}" && test -z "${OS_CARBON_FALSE}"; then
   as_fn_error $? "conditional \"OS_CARBON\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${OS_COCOA_TRUE}" && test -z "${OS_COCOA_FALSE}"; then
+  as_fn_error $? "conditional \"OS_COCOA\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${BUILD_MODULAR_TESTS_TRUE}" && test -z "${BUILD_MODULAR_TESTS_FALSE}"; then
+  as_fn_error $? "conditional \"BUILD_MODULAR_TESTS\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 if test -z "${HAVE_GLIB_RUNTIME_LIBDIR_TRUE}" && test -z "${HAVE_GLIB_RUNTIME_LIBDIR_FALSE}"; then
   as_fn_error $? "conditional \"HAVE_GLIB_RUNTIME_LIBDIR\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -28757,6 +29215,10 @@ if test -z "${HAVE_DBUS1_TRUE}" && test -z "${HAVE_DBUS1_FALSE}"; then
   as_fn_error $? "conditional \"HAVE_DBUS1\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${HAVE_DBUS_DAEMON_TRUE}" && test -z "${HAVE_DBUS_DAEMON_FALSE}"; then
+  as_fn_error $? "conditional \"HAVE_DBUS_DAEMON\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 
 : "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
@@ -29166,7 +29628,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by glib $as_me 2.31.20, which was
+This file was extended by glib $as_me 2.33.1, which was
 generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -29232,7 +29694,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-glib config.status 2.31.20
+glib config.status 2.33.1
 configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
@@ -30018,7 +30480,17 @@ g_pollhup=$glib_cv_value_POLLHUP
 g_pollerr=$glib_cv_value_POLLERR
 g_pollnval=$glib_cv_value_POLLNVAL
 
-g_af_unix=$glib_cv_value_AF_UNIX
+# If a family is not found on the system, define that family to
+# a negative value, picking a different one for each undefined
+# family (-1 for AF_UNIX, -2 for the next one, -3 ...)
+# This is needed because glib-mkenums doesn't handle optional
+# values in enums, and thus we have to have all existing values
+# defined in the enum.
+if test "x$glib_cv_value_AF_UNIX" != "x"; then
+  g_af_unix=$glib_cv_value_AF_UNIX
+else
+  g_af_unix=-1
+fi
 g_af_inet=$glib_cv_value_AF_INET
 g_af_inet6=$glib_cv_value_AF_INET6