diff options
| author | Dave Love | 2000-06-02 15:38:39 +0000 |
|---|---|---|
| committer | Dave Love | 2000-06-02 15:38:39 +0000 |
| commit | 63c59d1ef8fe1a3acfac5557b0838e712cc88f28 (patch) | |
| tree | db331e4753d9aa62c34ea3bc5030de95b06dbb75 | |
| parent | 7101aecff2eebd203bd45a222c9cb7dfde47424d (diff) | |
| download | emacs-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.in | 20 |
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) |
| 1210 | fi | 1211 | fi |
| 1211 | 1212 | ||
| 1213 | AC_CACHE_CHECK(for struct exception, emacs_cv_struct_exception, | ||
| 1214 | AC_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)) | ||
| 1217 | HAVE_EXCEPTION=$emacs_cv_struct_exception | ||
| 1218 | if test $emacs_cv_struct_exception != yes; then | ||
| 1219 | AC_DEFINE(NO_MATHERR) | ||
| 1220 | fi | ||
| 1221 | |||
| 1212 | dnl checks for structure members | 1222 | dnl checks for structure members |
| 1213 | AC_STRUCT_TM | 1223 | AC_STRUCT_TM |
| 1214 | AC_STRUCT_TIMEZONE | 1224 | AC_STRUCT_TIMEZONE |
| @@ -1857,14 +1867,18 @@ rename closedir mkdir rmdir sysinfo \ | |||
| 1857 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 1867 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
| 1858 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 1868 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
| 1859 | utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 1869 | utimes 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 | ||
| 1862 | AC_FUNC_MKTIME | 1872 | AC_FUNC_MKTIME |
| 1863 | if test "$ac_cv_func_working_mktime" = no; then | 1873 | if test "$ac_cv_func_working_mktime" = no; then |
| 1864 | AC_DEFINE(BROKEN_MKTIME) | 1874 | AC_DEFINE(BROKEN_MKTIME) |
| 1865 | fi | 1875 | fi |
| 1866 | 1876 | ||
| 1867 | # UNIX98 PTYs. | 1877 | AC_SYS_LARGEFILE |
| 1878 | AC_CHECK_FUNCS(ftello) | ||
| 1879 | |||
| 1880 | # UNIX98 PTYs. AC_SYS_LARGEFILE should have defined _XOPEN_SOURCE | ||
| 1881 | # if we need it. | ||
| 1868 | AC_CHECK_FUNCS(grantpt) | 1882 | AC_CHECK_FUNCS(grantpt) |
| 1869 | 1883 | ||
| 1870 | # PTY-related GNU extensions. | 1884 | # PTY-related GNU extensions. |