comparison configure.in @ 83456:de425e4eb0bc

Merged from miles@gnu.org--gnu-2005 (patch 182-184, 691-699) Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-691 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-692 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-693 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-694 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-695 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-696 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-697 Checkout man/cc-mode.texi from CVS with RCS keywords disabled * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-698 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-699 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-182 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-183 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-184 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-496
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 17 Jan 2006 00:56:42 +0000
parents 55e22205ba88 199e8947976a
children 49f9dd4bb117
comparison
equal deleted inserted replaced
83455:8438f5473d99 83456:de425e4eb0bc
1 dnl Autoconf script for GNU Emacs 1 dnl Autoconf script for GNU Emacs
2 dnl To rebuild the `configure' script from this, execute the command 2 dnl To rebuild the `configure' script from this, execute the command
3 dnl autoconf 3 dnl autoconf
4 dnl in the directory containing this script. 4 dnl in the directory containing this script.
5 dnl 5 dnl
6 dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005 6 dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7 dnl Free Software Foundation, Inc. 7 dnl Free Software Foundation, Inc.
8 dnl 8 dnl
9 dnl This file is part of GNU Emacs. 9 dnl This file is part of GNU Emacs.
10 dnl 10 dnl
11 dnl GNU Emacs is free software; you can redistribute it and/or modify 11 dnl GNU Emacs is free software; you can redistribute it and/or modify
1259 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x 1259 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
1260 then 1260 then
1261 CC="$CC $NON_GCC_TEST_OPTIONS" 1261 CC="$CC $NON_GCC_TEST_OPTIONS"
1262 fi 1262 fi
1263 1263
1264 dnl checks for Unix variants
1265 AC_AIX
1266 AC_GNU_SOURCE
1267
1264 ### Use -Wno-pointer-sign if the compiler supports it 1268 ### Use -Wno-pointer-sign if the compiler supports it
1265 AC_MSG_CHECKING([whether gcc understands -Wno-pointer-sign]) 1269 AC_MSG_CHECKING([whether gcc understands -Wno-pointer-sign])
1266 SAVE_CFLAGS="$CFLAGS" 1270 SAVE_CFLAGS="$CFLAGS"
1267 CFLAGS="$CFLAGS -Wno-pointer-sign" 1271 CFLAGS="$CFLAGS -Wno-pointer-sign"
1268 AC_TRY_COMPILE([], [], has_option=yes, has_option=no,) 1272 AC_TRY_COMPILE([], [], has_option=yes, has_option=no,)
1317 AC_MSG_CHECKING([for -znocombreloc]) 1321 AC_MSG_CHECKING([for -znocombreloc])
1318 AC_LINK_IFELSE([main(){return 0;}], 1322 AC_LINK_IFELSE([main(){return 0;}],
1319 [AC_MSG_RESULT(yes)], 1323 [AC_MSG_RESULT(yes)],
1320 LDFLAGS=$late_LDFLAGS 1324 LDFLAGS=$late_LDFLAGS
1321 [AC_MSG_RESULT(no)]) 1325 [AC_MSG_RESULT(no)])
1322
1323 dnl checks for Unix variants
1324 AC_AIX
1325
1326 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
1329 AC_CHECKING([the machine- and system-dependent files to find out 1329 AC_CHECKING([the machine- and system-dependent files to find out
1330 - which libraries the lib-src programs will want, and 1330 - which libraries the lib-src programs will want, and
1470 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" 1470 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
1471 fi 1471 fi
1472 1472
1473 dnl For AC_FUNC_GETLOADAVG, at least: 1473 dnl For AC_FUNC_GETLOADAVG, at least:
1474 AC_CONFIG_LIBOBJ_DIR(src) 1474 AC_CONFIG_LIBOBJ_DIR(src)
1475
1476 AC_GNU_SOURCE
1477 1475
1478 dnl Do this early because it can frob feature test macros for Unix-98 &c. 1476 dnl Do this early because it can frob feature test macros for Unix-98 &c.
1479 AC_SYS_LARGEFILE 1477 AC_SYS_LARGEFILE
1480 1478
1481 if test "${with_sound}" != "no"; then 1479 if test "${with_sound}" != "no"; then