Author: lubosd
Date: Sat May 10 15:45:27 2014
New Revision: 37874
URL: http://svn.gna.org/viewcvs/gnustep?rev=37874&view=rev
Log:
Fixes in configure, courtesy of Xorg
Modified:
libs/corebase/trunk/configure
libs/corebase/trunk/configure.ac
Modified: libs/corebase/trunk/configure
URL:
http://svn.gna.org/viewcvs/gnustep/libs/corebase/trunk/configure?rev=37874&r1=37873&r2=37874&view=diff
==============================================================================
--- libs/corebase/trunk/configure (original)
+++ libs/corebase/trunk/configure Sat May 10 15:45:27 2014
@@ -4165,10 +4165,12 @@
#---
# Check whether --enable-gcd was given.
if test "${enable_gcd+set}" = set; then :
- enableval=$enable_gcd;
-fi
-
-if test "x$enable_gcd" != "no"; then :
+ enableval=$enable_gcd; enable_gcd=$enableval
+else
+ enable_gcd=yes
+fi
+
+if test "$enable_gcd" = "yes"; then :
LIBS="$LIBS -ldispatch"
$as_echo "#define HAVE_LIBDISPATCH 1" >>confdefs.h
Modified: libs/corebase/trunk/configure.ac
URL:
http://svn.gna.org/viewcvs/gnustep/libs/corebase/trunk/configure.ac?rev=37874&r1=37873&r2=37874&view=diff
==============================================================================
--- libs/corebase/trunk/configure.ac (original)
+++ libs/corebase/trunk/configure.ac Sat May 10 15:45:27 2014
@@ -106,8 +106,9 @@
#---
AC_ARG_ENABLE([gcd],
[AS_HELP_STRING([--disable-gcd],
- [Disables Grand Central Dispatch support. Leads to a loss of
functionality.])])
-AS_IF([test "x$enable_gcd" != "no"],
+ [Disables Grand Central Dispatch support. Leads to a loss of
functionality.])],
+ [enable_gcd=$enableval], [enable_gcd=yes])
+AS_IF([test "$enable_gcd" = "yes"],
[LIBS="$LIBS -ldispatch"
AC_DEFINE(HAVE_LIBDISPATCH, 1)]
[AC_CHECK_HEADER(dispatch/dispatch.h)
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs