From 13dc1ca7ca1d785313517b9f8d78e63414cb43df Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 20 Aug 2008 13:24:29 +0200 Subject: configure: Prefer GNUstep-Make over xcodebuild. --- configure | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 33ac732..eb1b2b6 100755 --- a/configure +++ b/configure @@ -56,12 +56,14 @@ $histedit_h = 1 if ($? == 0); `echo '\#include ' | $CC $CFLAGS $OBJCFLAGS -c -o /dev/null -x c - 2>/dev/null`; $gmp_h = 1 if ($? == 0); -`$XCODEBUILD -version`; -if ($? == 0) { - $xcode = 1; - $build_cmd = "xcodebuild"; -} elsif ($ENV{'GNUSTEP_MAKEFILES'} && (`$MAKE --version` =~ /^GNU.*/)) { +if ($ENV{'GNUSTEP_MAKEFILES'} && (`$MAKE --version` =~ /^GNU.*/)) { $build_cmd = "$MAKE"; +} else { + `$XCODEBUILD -version`; + if ($? == 0) { + $xcode = 1; + $build_cmd = "xcodebuild"; + } } if ($darwin) { -- cgit v1.2.3