summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-27 19:54:37 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-27 19:55:06 +0200
commit31493ed307ff12a911b681fb9849bb779aa21271 (patch)
tree663389943cf855005d00db9a012ef298c765304e /package
parent159f14c1b64e4eb34df75c800a48f6c8b9a01bd7 (diff)
glib: remove autoreconf
Diffstat (limited to 'package')
-rw-r--r--package/glib/Makefile3
-rw-r--r--package/glib/patches/patch-configure_ac108
2 files changed, 0 insertions, 111 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 56a364f82..7e07bac4c 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -24,7 +24,6 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,GLIB,glib,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,GLIB,glib,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-AUTOTOOL_STYLE:= autoreconf
ifeq ($(ADK_TARGET_LIBICONV),y)
CONFIGURE_ARGS+= --with-libiconv=yes
endif
@@ -50,8 +49,6 @@ ifneq ($(OS_FOR_BUILD),Darwin)
HOST_CONFIGURE_ARGS+= --with-libiconv=no
endif
HOST_CONFIGURE_ARGS+= --disable-fam \
- --disable-carbon \
- --disable-cocoa \
--disable-dtrace \
--enable-static \
--with-pcre=bundled \
diff --git a/package/glib/patches/patch-configure_ac b/package/glib/patches/patch-configure_ac
deleted file mode 100644
index 70292dace..000000000
--- a/package/glib/patches/patch-configure_ac
+++ /dev/null
@@ -1,108 +0,0 @@
---- glib-2.48.0.orig/configure.ac 2016-03-22 16:16:50.000000000 +0100
-+++ glib-2.48.0/configure.ac 2016-04-07 21:29:21.000000000 +0200
-@@ -172,32 +172,10 @@ AC_MSG_RESULT([$glib_native_android])
-
- AC_SUBST(LIB_EXE_MACHINE_FLAG)
-
--glib_have_carbon=no
--AC_MSG_CHECKING([for Mac OS X Carbon support])
--AC_TRY_CPP([
--#include <Carbon/Carbon.h>
--#include <CoreServices/CoreServices.h>
--], glib_have_carbon=yes)
--
--AC_MSG_RESULT([$glib_have_carbon])
--
--glib_have_cocoa=no
--AC_MSG_CHECKING([for Mac OS X Cocoa support])
--AC_TRY_CPP([
--#include <Cocoa/Cocoa.h>
--#ifdef GNUSTEP_BASE_VERSION
--#error "Detected GNUstep, not Cocoa"
--#endif
--], glib_have_cocoa=yes)
--
--AC_MSG_RESULT([$glib_have_cocoa])
--
- AM_CONDITIONAL(OS_WIN32, [test "$glib_native_win32" = "yes"])
- AM_CONDITIONAL(OS_WIN32_X64, [test "$LIB_EXE_MACHINE_FLAG" = "X64"])
- AM_CONDITIONAL(OS_UNIX, [test "$glib_native_win32" != "yes"])
- AM_CONDITIONAL(OS_LINUX, [test "$glib_os_linux" = "yes"])
--AM_CONDITIONAL(OS_CARBON, [test "$glib_have_carbon" = "yes"])
--AM_CONDITIONAL(OS_COCOA, [test "$glib_have_cocoa" = "yes"])
-
- AS_IF([test "$glib_native_win32" = "yes"], [
- AC_CHECK_TOOL(WINDRES, windres, no)
-@@ -214,19 +192,58 @@ AS_IF([test "$glib_native_win32" = "yes"
- ])
- AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x$ms_librarian = xyes])
-
--AS_IF([test "x$glib_have_carbon" = "xyes"], [
-+AC_ARG_ENABLE(carbon,
-+ [AC_HELP_STRING([--disable-carbon],
-+ [disable Max OS X Carbon support])],,
-+ [enable_carbon=yes])
-+
-+glib_have_carbon=no
-+if test "x${enable_carbon}" = "xyes"; then
-+ AC_MSG_RESULT([yes])
-+ AC_MSG_CHECKING([for Mac OS X Carbon support])
-+ AC_TRY_CPP([
-+#include <Carbon/Carbon.h>
-+#include <CoreServices/CoreServices.h>
-+ ], glib_have_carbon=yes)
-+ AC_MSG_RESULT([$glib_have_carbon])
-+else
-+ AC_MSG_RESULT([no])
-+fi
-+AM_CONDITIONAL(OS_CARBON, [test "$glib_have_carbon" = "yes"])
-+
-+if test "x$glib_have_carbon" = "xyes"; then
- AC_DEFINE(HAVE_CARBON, 1, [define to 1 if Carbon is available])
- CARBON_LIBS="-Wl,-framework,Carbon"
- LDFLAGS="$LDFLAGS $CARBON_LIBS"
--], [CARBON_LIBS=""])
--
-+fi
- AC_SUBST([CARBON_LIBS])
-
--AS_IF([test "x$glib_have_cocoa" = "xyes"], [
-+dnl Check cocoa
-+AC_ARG_ENABLE(cocoa,
-+ [AC_HELP_STRING([--disable-cocoa],
-+ [disable Max OS X Cocoa support])],,
-+ [enable_cocoa=yes])
-+
-+glib_have_cocoa=no
-+if test "x${enable_cocoa}" = "xyes"; then
-+ AC_MSG_RESULT([yes])
-+ AC_MSG_CHECKING([for Mac OS X Carbon support])
-+ AC_TRY_CPP([
-+#include <Cocoa/Cocoa.h>
-+#ifdef GNUSTEP_BASE_VERSION
-+#error "Detected GNUstep, not Cocoa"
-+#endif
-+ ], glib_have_cocoa=yes)
-+ AC_MSG_RESULT([$glib_have_cocoa])
-+else
-+ AC_MSG_RESULT([no])
-+fi
-+AM_CONDITIONAL(OS_COCOA, [test "$glib_have_cocoa" = "yes"])
-+
-+if test "x$glib_have_cocoa" = "xyes"; then
- AC_DEFINE(HAVE_COCOA, 1, [define to 1 if Cocoa is available])
- COCOA_LIBS="-Wl,-framework,Foundation"
- LDFLAGS="$LDFLAGS $COCOA_LIBS"
--
- osx_version=`sw_vers -productVersion`
- osx_min_version="10.9.0"
- AC_MSG_CHECKING([OSX version >= $osx_min_version])
-@@ -235,7 +252,7 @@ AS_IF([test "x$glib_have_cocoa" = "xyes"
- AC_MSG_ERROR([OSX version is too old!])
- ])
- AC_MSG_RESULT([yes])
--], [COCOA_LIBS=""])
-+fi
-
- AC_SUBST([COCOA_LIBS])
-