2012-04-09 20:04:58 -07:00
|
|
|
diff --git a/glib/configure.ac b/glib/configure.ac
|
2012-08-22 05:49:02 -07:00
|
|
|
index 99de9f7..e582232 100644
|
2012-04-09 20:04:58 -07:00
|
|
|
--- a/glib/configure.ac
|
|
|
|
|
+++ b/glib/configure.ac
|
2012-05-01 16:25:41 -07:00
|
|
|
@@ -294,8 +294,6 @@ AC_PROG_INSTALL
|
2012-04-09 20:04:58 -07:00
|
|
|
|
|
|
|
|
AC_SYS_LARGEFILE
|
|
|
|
|
|
|
|
|
|
-PKG_PROG_PKG_CONFIG(0.16)
|
|
|
|
|
-
|
|
|
|
|
if test "x$enable_debug" = "xyes"; then
|
|
|
|
|
if test x$cflags_set != xset ; then
|
|
|
|
|
case " $CFLAGS " in
|
2012-05-01 16:25:41 -07:00
|
|
|
@@ -454,23 +452,6 @@ AC_MSG_RESULT($enable_iconv_cache)
|
2012-04-09 20:04:58 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
dnl
|
|
|
|
|
-dnl zlib support
|
|
|
|
|
-dnl
|
|
|
|
|
-PKG_CHECK_MODULES([ZLIB], [zlib], [found_zlib=yes], [found_zlib=no])
|
|
|
|
|
-if test "x$found_zlib" = "xno" ; then
|
|
|
|
|
- AC_CHECK_LIB(z, inflate, [AC_CHECK_HEADER(zlib.h, found_zlib=yes)])
|
|
|
|
|
- if test "x$found_zlib" = "xno" ; then
|
|
|
|
|
- AC_MSG_ERROR([*** Working zlib library and headers not found ***])
|
|
|
|
|
- fi
|
|
|
|
|
- ZLIB_LIBS='-lz'
|
|
|
|
|
- AC_SUBST(ZLIB_LIBS)
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
-PKG_CHECK_MODULES(LIBFFI, [libffi >= 3.0.0])
|
|
|
|
|
-AC_SUBST(LIBFFI_CFLAGS)
|
|
|
|
|
-AC_SUBST(LIBFFI_LIBS)
|
|
|
|
|
-
|
|
|
|
|
-dnl
|
|
|
|
|
dnl gettext support
|
|
|
|
|
dnl
|
|
|
|
|
|
2012-08-22 05:49:02 -07:00
|
|
|
@@ -1779,30 +1760,6 @@ dnl failure. try libattr
|
2012-05-01 16:25:41 -07:00
|
|
|
fi
|
|
|
|
|
AC_SUBST(XATTR_LIBS)
|
|
|
|
|
|
|
|
|
|
-dnl ************************
|
|
|
|
|
-dnl *** check for libelf ***
|
|
|
|
|
-dnl ************************
|
|
|
|
|
-
|
2012-08-22 05:49:02 -07:00
|
|
|
-PKG_CHECK_MODULES([LIBELF], [libelf >= 0.8.12], [have_libelf=yes], [have_libelf=maybe])
|
2012-05-01 16:25:41 -07:00
|
|
|
-
|
|
|
|
|
-if test $have_libelf = maybe; then
|
2012-06-04 09:00:07 -07:00
|
|
|
- glib_save_LIBS=$LIBS
|
2012-05-01 16:25:41 -07:00
|
|
|
- AC_CHECK_LIB([elf], [elf_begin], , [have_libelf=no])
|
|
|
|
|
- AC_CHECK_LIB([elf], [elf_getshdrstrndx], , [have_libelf=no])
|
|
|
|
|
- AC_CHECK_LIB([elf], [elf_getshdrnum], , [have_libelf=no])
|
|
|
|
|
- AC_CHECK_HEADER([libelf.h], , [have_libelf=no])
|
2012-06-04 09:00:07 -07:00
|
|
|
- LIBS=$glib_save_LIBS
|
2012-05-01 16:25:41 -07:00
|
|
|
-
|
|
|
|
|
- if test $have_libelf != no; then
|
|
|
|
|
- LIBELF_LIBS=-lelf
|
2012-06-04 09:00:07 -07:00
|
|
|
- have_libelf=yes
|
2012-05-01 16:25:41 -07:00
|
|
|
- fi
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
-if test $have_libelf = yes; then
|
|
|
|
|
- AC_DEFINE(HAVE_LIBELF, 1, [Define if libelf is available])
|
|
|
|
|
-fi
|
|
|
|
|
-
|
|
|
|
|
dnl ****************************************
|
|
|
|
|
dnl *** platform dependent source checks ***
|
|
|
|
|
dnl ****************************************
|
2012-08-22 05:49:02 -07:00
|
|
|
@@ -3280,12 +3237,7 @@ AC_CHECK_ALIGNOF([unsigned long])
|
2012-04-09 20:04:58 -07:00
|
|
|
# Check for libdbus1 - Optional - is only used in the GDBus test cases
|
|
|
|
|
#
|
|
|
|
|
# 1.2.14 required for dbus_message_set_serial
|
|
|
|
|
-PKG_CHECK_MODULES(DBUS1,
|
|
|
|
|
- dbus-1 >= 1.2.14,
|
|
|
|
|
- [AC_DEFINE(HAVE_DBUS1, 1, [Define if dbus-1 is available]) have_dbus1=yes],
|
|
|
|
|
- have_dbus1=no)
|
|
|
|
|
-AC_SUBST(DBUS1_CFLAGS)
|
|
|
|
|
-AC_SUBST(DBUS1_LIBS)
|
|
|
|
|
+have_dbus1=no
|
|
|
|
|
AM_CONDITIONAL(HAVE_DBUS1, [test "x$have_dbus1" = "xyes"])
|
|
|
|
|
|
|
|
|
|
dnl
|