aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2006-01-12 22:41:38 +0000
committerAndreas Schwab2006-01-12 22:41:38 +0000
commitf405f8ecb52d4d266bec0f6d56eaaefab90bdd19 (patch)
treee98784bf261cb952c6bb81cf402fdd42ad789523
parente75b11f8464003c18f9764c5272a20e03ab66bbd (diff)
downloademacs-f405f8ecb52d4d266bec0f6d56eaaefab90bdd19.tar.gz
emacs-f405f8ecb52d4d266bec0f6d56eaaefab90bdd19.zip
Move AC_AIX and AC_GNU_SOURCE before first compile check.
-rw-r--r--configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 9303dd71f03..2318c1b9197 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl To rebuild the `configure' script from this, execute the command
3dnl autoconf 3dnl autoconf
4dnl in the directory containing this script. 4dnl in the directory containing this script.
5dnl 5dnl
6dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005 6dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7dnl Free Software Foundation, Inc. 7dnl Free Software Foundation, Inc.
8dnl 8dnl
9dnl This file is part of GNU Emacs. 9dnl This file is part of GNU Emacs.
@@ -1261,6 +1261,10 @@ then
1261 CC="$CC $NON_GCC_TEST_OPTIONS" 1261 CC="$CC $NON_GCC_TEST_OPTIONS"
1262fi 1262fi
1263 1263
1264dnl checks for Unix variants
1265AC_AIX
1266AC_GNU_SOURCE
1267
1264### Use -Wno-pointer-sign if the compiler supports it 1268### Use -Wno-pointer-sign if the compiler supports it
1265AC_MSG_CHECKING([whether gcc understands -Wno-pointer-sign]) 1269AC_MSG_CHECKING([whether gcc understands -Wno-pointer-sign])
1266SAVE_CFLAGS="$CFLAGS" 1270SAVE_CFLAGS="$CFLAGS"
@@ -1320,10 +1324,6 @@ AC_LINK_IFELSE([main(){return 0;}],
1320 LDFLAGS=$late_LDFLAGS 1324 LDFLAGS=$late_LDFLAGS
1321 [AC_MSG_RESULT(no)]) 1325 [AC_MSG_RESULT(no)])
1322 1326
1323dnl checks for Unix variants
1324AC_AIX
1325
1326
1327#### Extract some information from the operating system and machine files. 1327#### Extract some information from the operating system and machine files.
1328 1328
1329AC_CHECKING([the machine- and system-dependent files to find out 1329AC_CHECKING([the machine- and system-dependent files to find out
@@ -1473,8 +1473,6 @@ fi
1473dnl For AC_FUNC_GETLOADAVG, at least: 1473dnl For AC_FUNC_GETLOADAVG, at least:
1474AC_CONFIG_LIBOBJ_DIR(src) 1474AC_CONFIG_LIBOBJ_DIR(src)
1475 1475
1476AC_GNU_SOURCE
1477
1478dnl Do this early because it can frob feature test macros for Unix-98 &c. 1476dnl Do this early because it can frob feature test macros for Unix-98 &c.
1479AC_SYS_LARGEFILE 1477AC_SYS_LARGEFILE
1480 1478