comparison configure.in @ 105623:e5d284379e14

(NS_HAVE_NSINTEGER): Back out previous change. (*-apple-darwin*): Add x86_64 architecture.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 16 Oct 2009 03:08:41 +0000
parents a8741022610c
children 18fec2baa411
comparison
equal deleted inserted replaced
105622:929678fafdb4 105623:e5d284379e14
454 ## Apple Darwin / Mac OS X 454 ## Apple Darwin / Mac OS X
455 *-apple-darwin* ) 455 *-apple-darwin* )
456 case "${canonical}" in 456 case "${canonical}" in
457 i[3456]86-* ) machine=intel386 ;; 457 i[3456]86-* ) machine=intel386 ;;
458 powerpc-* ) machine=macppc ;; 458 powerpc-* ) machine=macppc ;;
459 x86_64-* ) machine=amdx86-64 ;;
459 * ) unported=yes ;; 460 * ) unported=yes ;;
460 esac 461 esac
461 opsys=darwin 462 opsys=darwin
462 # Define CPP as follows to make autoconf work correctly. 463 # Define CPP as follows to make autoconf work correctly.
463 CPP="${CC-cc} -E -no-cpp-precomp" 464 CPP="${CC-cc} -E -no-cpp-precomp"
1337 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" 1338 LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
1338 fi 1339 fi
1339 AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes], 1340 AC_CHECK_HEADER([AppKit/AppKit.h], [HAVE_NS=yes],
1340 [AC_MSG_ERROR([`--with-ns' was specified, but the include 1341 [AC_MSG_ERROR([`--with-ns' was specified, but the include
1341 files are missing or cannot be compiled.])]) 1342 files are missing or cannot be compiled.])])
1343 NS_HAVE_NSINTEGER=yes
1344 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>],
1345 [NSInteger i;])],
1346 ns_have_nsinteger=yes,
1347 ns_have_nsinteger=no)
1348 if test $ns_have_nsinteger = no; then
1349 NS_HAVE_NSINTEGER=no
1350 fi
1342 fi 1351 fi
1343 if test "${HAVE_NS}" = yes; then 1352 if test "${HAVE_NS}" = yes; then
1344 window_system=nextstep 1353 window_system=nextstep
1345 with_xft=no 1354 with_xft=no
1346 # set up packaging dirs 1355 # set up packaging dirs