summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-01-12 22:41:38 +0000
committerAndreas Schwab <schwab@suse.de>2006-01-12 22:41:38 +0000
commitf405f8ecb52d4d266bec0f6d56eaaefab90bdd19 (patch)
treee98784bf261cb952c6bb81cf402fdd42ad789523 /configure.in
parente75b11f8464003c18f9764c5272a20e03ab66bbd (diff)
Move AC_AIX and AC_GNU_SOURCE before first compile check.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 9303dd71f0..2318c1b919 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl To rebuild the `configure' script from this, execute the command
dnl autoconf
dnl in the directory containing this script.
dnl
-dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
dnl Free Software Foundation, Inc.
dnl
dnl This file is part of GNU Emacs.
@@ -1261,6 +1261,10 @@ then
CC="$CC $NON_GCC_TEST_OPTIONS"
fi
+dnl checks for Unix variants
+AC_AIX
+AC_GNU_SOURCE
+
### Use -Wno-pointer-sign if the compiler supports it
AC_MSG_CHECKING([whether gcc understands -Wno-pointer-sign])
SAVE_CFLAGS="$CFLAGS"
@@ -1320,10 +1324,6 @@ AC_LINK_IFELSE([main(){return 0;}],
LDFLAGS=$late_LDFLAGS
[AC_MSG_RESULT(no)])
-dnl checks for Unix variants
-AC_AIX
-
-
#### Extract some information from the operating system and machine files.
AC_CHECKING([the machine- and system-dependent files to find out
@@ -1473,8 +1473,6 @@ fi
dnl For AC_FUNC_GETLOADAVG, at least:
AC_CONFIG_LIBOBJ_DIR(src)
-AC_GNU_SOURCE
-
dnl Do this early because it can frob feature test macros for Unix-98 &c.
AC_SYS_LARGEFILE