aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-06-02 15:38:39 +0000
committerDave Love2000-06-02 15:38:39 +0000
commit63c59d1ef8fe1a3acfac5557b0838e712cc88f28 (patch)
treedb331e4753d9aa62c34ea3bc5030de95b06dbb75
parent7101aecff2eebd203bd45a222c9cb7dfde47424d (diff)
downloademacs-63c59d1ef8fe1a3acfac5557b0838e712cc88f28.tar.gz
emacs-63c59d1ef8fe1a3acfac5557b0838e712cc88f28.zip
Don't specify -n32 flag for mips-sgi-irix6.5.
Check for struct exception. Use AC_SYS_LARGEFILE and move ftello test.
-rw-r--r--configure.in20
1 files changed, 17 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 577cb4ea5a8..48006e89b24 100644
--- a/configure.in
+++ b/configure.in
@@ -788,13 +788,14 @@ case "${canonical}" in
788 # so that, for instance, grepping for `free' in stdlib.h fails and 788 # so that, for instance, grepping for `free' in stdlib.h fails and
789 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m). 789 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
790 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" 790 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
791 NON_GCC_TEST_OPTIONS="-n32 -D_LANGUAGE_C" 791 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C"
792 ;; 792 ;;
793 mips-sgi-irix6* ) 793 mips-sgi-irix6* )
794 machine=iris4d opsys=irix6-0 794 machine=iris4d opsys=irix6-0
795 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5, 795 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
796 # but presumably it does no harm. 796 # but presumably it does no harm.
797 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C" 797 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
798 # -32 probably isn't necessary in later v.6s -- anyone know which?
798 NON_GCC_TEST_OPTIONS=-32 799 NON_GCC_TEST_OPTIONS=-32
799 ;; 800 ;;
800 mips-sgi-irix5.[01]* ) 801 mips-sgi-irix5.[01]* )
@@ -1209,6 +1210,15 @@ if test $emacs_cv_struct_timeval = yes; then
1209 AC_DEFINE(HAVE_TIMEVAL) 1210 AC_DEFINE(HAVE_TIMEVAL)
1210fi 1211fi
1211 1212
1213AC_CACHE_CHECK(for struct exception, emacs_cv_struct_exception,
1214AC_TRY_COMPILE([#include <math.h>],
1215[static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;],
1216 emacs_cv_struct_exception=yes, emacs_cv_struct_exception=no))
1217HAVE_EXCEPTION=$emacs_cv_struct_exception
1218if test $emacs_cv_struct_exception != yes; then
1219 AC_DEFINE(NO_MATHERR)
1220fi
1221
1212dnl checks for structure members 1222dnl checks for structure members
1213AC_STRUCT_TM 1223AC_STRUCT_TM
1214AC_STRUCT_TIMEZONE 1224AC_STRUCT_TIMEZONE
@@ -1857,14 +1867,18 @@ rename closedir mkdir rmdir sysinfo \
1857random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 1867random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
1858strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ 1868strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
1859utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ 1869utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \
1860__fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm) 1870__fpending getloadavg mblen mbrlen strsignal setitimer ualarm)
1861 1871
1862AC_FUNC_MKTIME 1872AC_FUNC_MKTIME
1863if test "$ac_cv_func_working_mktime" = no; then 1873if test "$ac_cv_func_working_mktime" = no; then
1864 AC_DEFINE(BROKEN_MKTIME) 1874 AC_DEFINE(BROKEN_MKTIME)
1865fi 1875fi
1866 1876
1867# UNIX98 PTYs. 1877AC_SYS_LARGEFILE
1878AC_CHECK_FUNCS(ftello)
1879
1880# UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE
1881# if we need it.
1868AC_CHECK_FUNCS(grantpt) 1882AC_CHECK_FUNCS(grantpt)
1869 1883
1870# PTY-related GNU extensions. 1884# PTY-related GNU extensions.