Mercurial > hg > xemacs-beta
comparison configure.in @ 377:d883f39b8495 r21-2b4
Import from CVS: tag r21-2b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:05:42 +0200 |
parents | a300bb07d72d |
children | 8626e4521993 |
comparison
equal
deleted
inserted
replaced
376:e2295b4d9f2e | 377:d883f39b8495 |
---|---|
1323 machine=mips-siemens opsys=usg5-4 | 1323 machine=mips-siemens opsys=usg5-4 |
1324 NON_GNU_CC=/usr/ccs/bin/cc | 1324 NON_GNU_CC=/usr/ccs/bin/cc |
1325 NON_GNU_CPP=/usr/ccs/lib/cpp | 1325 NON_GNU_CPP=/usr/ccs/lib/cpp |
1326 ;; | 1326 ;; |
1327 | 1327 |
1328 dnl NEC | |
1329 mips-nec-sysv*) | |
1330 machine=mips-nec | |
1331 NON_GNU_CC=/usr/ccs/bin/cc | |
1332 NON_GNU_CPP=/usr/ccs/lib/cpp | |
1333 ;; | |
1334 | |
1328 dnl Silicon Graphics machines | 1335 dnl Silicon Graphics machines |
1329 dnl Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) | 1336 dnl Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) |
1330 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; | 1337 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; |
1331 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; | 1338 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; |
1332 dnl Iris 4D | 1339 dnl Iris 4D |
1480 ;; | 1487 ;; |
1481 | 1488 |
1482 dnl Linux/68k | 1489 dnl Linux/68k |
1483 m68k-*-linux* ) machine=m68k opsys=linux ;; | 1490 m68k-*-linux* ) machine=m68k opsys=linux ;; |
1484 | 1491 |
1492 dnl Linux/arm | |
1493 arm-*-linux* ) machine=arm opsys=linux ;; | |
1494 | |
1485 esac | 1495 esac |
1486 | 1496 |
1487 if test -z "$machine" -o -z "$opsys"; then | 1497 if test -z "$machine" -o -z "$opsys"; then |
1488 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." | 1498 (echo "$progname: XEmacs hasn't been ported to \`$canonical' systems." |
1489 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." | 1499 echo "$progname: Check \`etc/MACHINES' for recognized configuration names." |
1915 if test "$add_runtime_path" = "yes"; then | 1925 if test "$add_runtime_path" = "yes"; then |
1916 dnl Try to autodetect runtime library flag (usually -R), | 1926 dnl Try to autodetect runtime library flag (usually -R), |
1917 dnl and whether it works (or at least does no harm) | 1927 dnl and whether it works (or at least does no harm) |
1918 AC_MSG_CHECKING("for runtime libraries flag") | 1928 AC_MSG_CHECKING("for runtime libraries flag") |
1919 case "$opsys" in | 1929 case "$opsys" in |
1920 sol2 ) dash_r = "-R" ;; | 1930 sol2 ) dash_r="-R" ;; |
1921 decosf* | linux* ) dash_r = "-rpath " ;; | 1931 decosf* | linux* ) dash_r="-rpath " ;; |
1922 *) | 1932 *) |
1923 dash_r="" | 1933 dash_r="" |
1924 for try_dash_r in "-R" "-R " "-rpath "; do | 1934 for try_dash_r in "-R" "-R " "-rpath "; do |
1925 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 1935 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
1926 XE_PROTECT_LINKER_FLAGS(xe_check_libs) | 1936 XE_PROTECT_LINKER_FLAGS(xe_check_libs) |
2079 AC_PROG_INSTALL | 2089 AC_PROG_INSTALL |
2080 AC_PROG_YACC | 2090 AC_PROG_YACC |
2081 | 2091 |
2082 dnl checks for header files | 2092 dnl checks for header files |
2083 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h) | 2093 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h) |
2084 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h cygwin32/version.h) | 2094 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h) |
2085 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h) | 2095 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h) |
2086 AC_HEADER_SYS_WAIT | 2096 AC_HEADER_SYS_WAIT |
2087 AC_HEADER_STDC | 2097 AC_HEADER_STDC |
2088 AC_HEADER_TIME | 2098 AC_HEADER_TIME |
2089 AC_DECL_SYS_SIGLIST | 2099 AC_DECL_SYS_SIGLIST |
3001 if test "$with_wnn" != "no"; then | 3011 if test "$with_wnn" != "no"; then |
3002 AC_CHECK_FUNCS(crypt) | 3012 AC_CHECK_FUNCS(crypt) |
3003 test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) } | 3013 test "$ac_cv_func_crypt" != "yes" && { AC_CHECK_LIB(crypt, crypt) } |
3004 fi | 3014 fi |
3005 dnl Back to our regularly scheduled wnn hunting | 3015 dnl Back to our regularly scheduled wnn hunting |
3006 test -z "$with_wnn" && { AC_CHECK_LIB(wnn,jl_dic_list_e,[:],with_wnn=no) } | 3016 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
3017 AC_CHECK_LIB(wnn,jl_dic_list_e,libwnn=wnn, | |
3018 AC_CHECK_LIB(wnn4,jl_dic_list_e,libwnn=wnn4, | |
3019 AC_CHECK_LIB(wnn6,jl_dic_list_e,libwnn=wnn6, | |
3020 AC_CHECK_LIB(wnn6_fromsrc,dic_list_e,libwnn=wnn6_fromsrc,with_wnn=no)))) | |
3021 fi | |
3007 test -z "$with_wnn" && with_wnn=yes | 3022 test -z "$with_wnn" && with_wnn=yes |
3008 if test "$with_wnn" = "yes"; then | 3023 if test "$with_wnn" = "yes"; then |
3009 AC_DEFINE(HAVE_WNN) | 3024 AC_DEFINE(HAVE_WNN) |
3010 XE_PREPEND(-lwnn, libs_x) | 3025 XE_PREPEND(-l$libwnn, libs_x) |
3011 XE_ADD_OBJS(mule-wnnfns.o) | 3026 XE_ADD_OBJS(mule-wnnfns.o) |
3012 if test "$with_wnn6" != "no"; then | 3027 if test "$with_wnn6" != "no"; then |
3013 AC_CHECK_LIB(wnn, jl_fi_dic_list, with_wnn6=yes) | 3028 AC_CHECK_LIB($libwnn, jl_fi_dic_list, with_wnn6=yes) |
3014 test "$with_wnn6" = "yes" && AC_DEFINE(WNN6) | 3029 test "$with_wnn6" = "yes" && AC_DEFINE(WNN6) |
3015 fi | 3030 fi |
3016 fi | 3031 fi |
3017 | 3032 |
3018 dnl Autodetect canna | 3033 dnl Autodetect canna |
3066 dnl The realpath() in linux libc (4.6.27) sometimes fails with ELOOP. | 3081 dnl The realpath() in linux libc (4.6.27) sometimes fails with ELOOP. |
3067 dnl The realpath in ELF linux libc's is O.K. | 3082 dnl The realpath in ELF linux libc's is O.K. |
3068 dnl For example, call realpath on a file thirty-five or so directories deep | 3083 dnl For example, call realpath on a file thirty-five or so directories deep |
3069 dnl and you get ELOOP even if no symlinks at all are involved. | 3084 dnl and you get ELOOP even if no symlinks at all are involved. |
3070 dnl Reports as of 11/1997 indicate BSDi has problems too. | 3085 dnl Reports as of 11/1997 indicate BSDi has problems too. |
3086 dnl The realpath() in UnixWare2.1.3 could not get any pathname fragment in error condition. | |
3071 case "$opsys" in | 3087 case "$opsys" in |
3072 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) XE_ADD_OBJS(realpath.o) ;; | 3088 linuxaout* | bsdos3* | freebsd* | decosf4-0* | aix4* ) XE_ADD_OBJS(realpath.o) ;; |
3073 * ) | 3089 * ) |
3074 AC_CHECK_FUNCS(realpath) | 3090 case "$canonical" in |
3075 test "$ac_cv_func_realpath" != "yes" && XE_ADD_OBJS(realpath.o) ;; | 3091 *-*-sysv4.2uw2* ) XE_ADD_OBJS(realpath.o) ;; |
3092 * ) AC_CHECK_FUNCS(realpath) | |
3093 test "$ac_cv_func_realpath" != "yes" && XE_ADD_OBJS(realpath.o) ;; | |
3094 esac ;; | |
3076 esac | 3095 esac |
3077 | 3096 |
3078 dnl If netdb.h does not declare h_errno, we must declare it by hand. | 3097 dnl If netdb.h does not declare h_errno, we must declare it by hand. |
3079 AC_MSG_CHECKING(whether netdb declares h_errno) | 3098 AC_MSG_CHECKING(whether netdb declares h_errno) |
3080 AC_TRY_LINK([#include <netdb.h>], | 3099 AC_TRY_LINK([#include <netdb.h>], |