diff options
| author | Dave Love | 2003-06-06 10:16:42 +0000 |
|---|---|---|
| committer | Dave Love | 2003-06-06 10:16:42 +0000 |
| commit | 973a76b18b87c11710c7010f040cd03992a82f50 (patch) | |
| tree | 7f2b3421a84cbc6e36dd6eaa2f73259f0bbab158 | |
| parent | eb3b52fa8857768e090fe69a0036fa7ae4744ca9 (diff) | |
| download | emacs-973a76b18b87c11710c7010f040cd03992a82f50.tar.gz emacs-973a76b18b87c11710c7010f040cd03992a82f50.zip | |
*** empty log message ***
| -rwxr-xr-x | configure | 533 | ||||
| -rw-r--r-- | src/config.in | 41 |
2 files changed, 405 insertions, 169 deletions
| @@ -3397,12 +3397,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3397 | (exit $ac_status); }; }; then | 3397 | (exit $ac_status); }; }; then |
| 3398 | for ac_declaration in \ | 3398 | for ac_declaration in \ |
| 3399 | ''\ | 3399 | ''\ |
| 3400 | '#include <stdlib.h>' \ | ||
| 3401 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3400 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3402 | 'extern "C" void std::exit (int); using std::exit;' \ | 3401 | 'extern "C" void std::exit (int); using std::exit;' \ |
| 3403 | 'extern "C" void exit (int) throw ();' \ | 3402 | 'extern "C" void exit (int) throw ();' \ |
| 3404 | 'extern "C" void exit (int);' \ | 3403 | 'extern "C" void exit (int);' \ |
| 3405 | 'void exit (int);' | 3404 | 'void exit (int);' \ |
| 3405 | '#include <stdlib.h>' | ||
| 3406 | do | 3406 | do |
| 3407 | cat >conftest.$ac_ext <<_ACEOF | 3407 | cat >conftest.$ac_ext <<_ACEOF |
| 3408 | #line $LINENO "configure" | 3408 | #line $LINENO "configure" |
| @@ -5031,10 +5031,11 @@ fi | |||
| 5031 | 5031 | ||
| 5032 | 5032 | ||
| 5033 | 5033 | ||
| 5034 | |||
| 5034 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 5035 | for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
| 5035 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 5036 | linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
| 5036 | termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 5037 | termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
| 5037 | sys/param.h sys/vlimit.h sys/resource.h | 5038 | sys/param.h sys/vlimit.h sys/resource.h locale.h |
| 5038 | do | 5039 | do |
| 5039 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5040 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5040 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5041 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| @@ -11270,15 +11271,18 @@ done | |||
| 11270 | 11271 | ||
| 11271 | 11272 | ||
| 11272 | 11273 | ||
| 11274 | |||
| 11275 | |||
| 11276 | |||
| 11273 | for ac_func in gethostname getdomainname dup2 \ | 11277 | for ac_func in gethostname getdomainname dup2 \ |
| 11274 | rename closedir mkdir rmdir sysinfo \ | 11278 | rename closedir mkdir rmdir sysinfo \ |
| 11275 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ | 11279 | random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ |
| 11276 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 11280 | strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
| 11277 | utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 11281 | utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \ |
| 11278 | __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ | 11282 | __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ |
| 11279 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 11283 | sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
| 11280 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ | 11284 | gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ |
| 11281 | memset memcmp memmove difftime | 11285 | memset memcmp memmove difftime memcpy mempcpy mblen mbrlen |
| 11282 | do | 11286 | do |
| 11283 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11287 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 11284 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11288 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| @@ -13896,6 +13900,155 @@ _ACEOF | |||
| 13896 | fi | 13900 | fi |
| 13897 | 13901 | ||
| 13898 | 13902 | ||
| 13903 | |||
| 13904 | for ac_func in strftime | ||
| 13905 | do | ||
| 13906 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 13907 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 13908 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
| 13909 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
| 13910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 13911 | else | ||
| 13912 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13913 | #line $LINENO "configure" | ||
| 13914 | /* confdefs.h. */ | ||
| 13915 | _ACEOF | ||
| 13916 | cat confdefs.h >>conftest.$ac_ext | ||
| 13917 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13918 | /* end confdefs.h. */ | ||
| 13919 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 13920 | which can conflict with char $ac_func (); below. | ||
| 13921 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
| 13922 | <limits.h> exists even on freestanding compilers. */ | ||
| 13923 | #ifdef __STDC__ | ||
| 13924 | # include <limits.h> | ||
| 13925 | #else | ||
| 13926 | # include <assert.h> | ||
| 13927 | #endif | ||
| 13928 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 13929 | #ifdef __cplusplus | ||
| 13930 | extern "C" | ||
| 13931 | { | ||
| 13932 | #endif | ||
| 13933 | /* We use char because int might match the return type of a gcc2 | ||
| 13934 | builtin and then its argument prototype would still apply. */ | ||
| 13935 | char $ac_func (); | ||
| 13936 | /* The GNU C library defines this for functions which it implements | ||
| 13937 | to always fail with ENOSYS. Some functions are actually named | ||
| 13938 | something starting with __ and the normal name is an alias. */ | ||
| 13939 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 13940 | choke me | ||
| 13941 | #else | ||
| 13942 | char (*f) () = $ac_func; | ||
| 13943 | #endif | ||
| 13944 | #ifdef __cplusplus | ||
| 13945 | } | ||
| 13946 | #endif | ||
| 13947 | |||
| 13948 | int | ||
| 13949 | main () | ||
| 13950 | { | ||
| 13951 | return f != $ac_func; | ||
| 13952 | ; | ||
| 13953 | return 0; | ||
| 13954 | } | ||
| 13955 | _ACEOF | ||
| 13956 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 13957 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 13958 | (eval $ac_link) 2>&5 | ||
| 13959 | ac_status=$? | ||
| 13960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13961 | (exit $ac_status); } && | ||
| 13962 | { ac_try='test -s conftest$ac_exeext' | ||
| 13963 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13964 | (eval $ac_try) 2>&5 | ||
| 13965 | ac_status=$? | ||
| 13966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13967 | (exit $ac_status); }; }; then | ||
| 13968 | eval "$as_ac_var=yes" | ||
| 13969 | else | ||
| 13970 | echo "$as_me: failed program was:" >&5 | ||
| 13971 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 13972 | |||
| 13973 | eval "$as_ac_var=no" | ||
| 13974 | fi | ||
| 13975 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 13976 | fi | ||
| 13977 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
| 13978 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
| 13979 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
| 13980 | cat >>confdefs.h <<_ACEOF | ||
| 13981 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 13982 | _ACEOF | ||
| 13983 | |||
| 13984 | else | ||
| 13985 | # strftime is in -lintl on SCO UNIX. | ||
| 13986 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | ||
| 13987 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | ||
| 13988 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | ||
| 13989 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 13990 | else | ||
| 13991 | ac_check_lib_save_LIBS=$LIBS | ||
| 13992 | LIBS="-lintl $LIBS" | ||
| 13993 | cat >conftest.$ac_ext <<_ACEOF | ||
| 13994 | #line $LINENO "configure" | ||
| 13995 | /* confdefs.h. */ | ||
| 13996 | _ACEOF | ||
| 13997 | cat confdefs.h >>conftest.$ac_ext | ||
| 13998 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 13999 | /* end confdefs.h. */ | ||
| 14000 | |||
| 14001 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 14002 | #ifdef __cplusplus | ||
| 14003 | extern "C" | ||
| 14004 | #endif | ||
| 14005 | /* We use char because int might match the return type of a gcc2 | ||
| 14006 | builtin and then its argument prototype would still apply. */ | ||
| 14007 | char strftime (); | ||
| 14008 | int | ||
| 14009 | main () | ||
| 14010 | { | ||
| 14011 | strftime (); | ||
| 14012 | ; | ||
| 14013 | return 0; | ||
| 14014 | } | ||
| 14015 | _ACEOF | ||
| 14016 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 14017 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 14018 | (eval $ac_link) 2>&5 | ||
| 14019 | ac_status=$? | ||
| 14020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14021 | (exit $ac_status); } && | ||
| 14022 | { ac_try='test -s conftest$ac_exeext' | ||
| 14023 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14024 | (eval $ac_try) 2>&5 | ||
| 14025 | ac_status=$? | ||
| 14026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14027 | (exit $ac_status); }; }; then | ||
| 14028 | ac_cv_lib_intl_strftime=yes | ||
| 14029 | else | ||
| 14030 | echo "$as_me: failed program was:" >&5 | ||
| 14031 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 14032 | |||
| 14033 | ac_cv_lib_intl_strftime=no | ||
| 14034 | fi | ||
| 14035 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 14036 | LIBS=$ac_check_lib_save_LIBS | ||
| 14037 | fi | ||
| 14038 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | ||
| 14039 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | ||
| 14040 | if test $ac_cv_lib_intl_strftime = yes; then | ||
| 14041 | cat >>confdefs.h <<\_ACEOF | ||
| 14042 | #define HAVE_STRFTIME 1 | ||
| 14043 | _ACEOF | ||
| 14044 | |||
| 14045 | LIBS="-lintl $LIBS" | ||
| 14046 | fi | ||
| 14047 | |||
| 14048 | fi | ||
| 14049 | done | ||
| 14050 | |||
| 14051 | |||
| 13899 | # UNIX98 PTYs. | 14052 | # UNIX98 PTYs. |
| 13900 | 14053 | ||
| 13901 | for ac_func in grantpt | 14054 | for ac_func in grantpt |
| @@ -16532,6 +16685,170 @@ _ACEOF | |||
| 16532 | fi | 16685 | fi |
| 16533 | fi | 16686 | fi |
| 16534 | 16687 | ||
| 16688 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. | ||
| 16689 | echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | ||
| 16690 | echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | ||
| 16691 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | ||
| 16692 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 16693 | else | ||
| 16694 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16695 | #line $LINENO "configure" | ||
| 16696 | /* confdefs.h. */ | ||
| 16697 | _ACEOF | ||
| 16698 | cat confdefs.h >>conftest.$ac_ext | ||
| 16699 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16700 | /* end confdefs.h. */ | ||
| 16701 | #include <sys/types.h> | ||
| 16702 | #include <$ac_cv_struct_tm> | ||
| 16703 | |||
| 16704 | |||
| 16705 | int | ||
| 16706 | main () | ||
| 16707 | { | ||
| 16708 | static struct tm ac_aggr; | ||
| 16709 | if (ac_aggr.tm_zone) | ||
| 16710 | return 0; | ||
| 16711 | ; | ||
| 16712 | return 0; | ||
| 16713 | } | ||
| 16714 | _ACEOF | ||
| 16715 | rm -f conftest.$ac_objext | ||
| 16716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 16717 | (eval $ac_compile) 2>&5 | ||
| 16718 | ac_status=$? | ||
| 16719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16720 | (exit $ac_status); } && | ||
| 16721 | { ac_try='test -s conftest.$ac_objext' | ||
| 16722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16723 | (eval $ac_try) 2>&5 | ||
| 16724 | ac_status=$? | ||
| 16725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16726 | (exit $ac_status); }; }; then | ||
| 16727 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 16728 | else | ||
| 16729 | echo "$as_me: failed program was:" >&5 | ||
| 16730 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16731 | |||
| 16732 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16733 | #line $LINENO "configure" | ||
| 16734 | /* confdefs.h. */ | ||
| 16735 | _ACEOF | ||
| 16736 | cat confdefs.h >>conftest.$ac_ext | ||
| 16737 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16738 | /* end confdefs.h. */ | ||
| 16739 | #include <sys/types.h> | ||
| 16740 | #include <$ac_cv_struct_tm> | ||
| 16741 | |||
| 16742 | |||
| 16743 | int | ||
| 16744 | main () | ||
| 16745 | { | ||
| 16746 | static struct tm ac_aggr; | ||
| 16747 | if (sizeof ac_aggr.tm_zone) | ||
| 16748 | return 0; | ||
| 16749 | ; | ||
| 16750 | return 0; | ||
| 16751 | } | ||
| 16752 | _ACEOF | ||
| 16753 | rm -f conftest.$ac_objext | ||
| 16754 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 16755 | (eval $ac_compile) 2>&5 | ||
| 16756 | ac_status=$? | ||
| 16757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16758 | (exit $ac_status); } && | ||
| 16759 | { ac_try='test -s conftest.$ac_objext' | ||
| 16760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16761 | (eval $ac_try) 2>&5 | ||
| 16762 | ac_status=$? | ||
| 16763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16764 | (exit $ac_status); }; }; then | ||
| 16765 | ac_cv_member_struct_tm_tm_zone=yes | ||
| 16766 | else | ||
| 16767 | echo "$as_me: failed program was:" >&5 | ||
| 16768 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16769 | |||
| 16770 | ac_cv_member_struct_tm_tm_zone=no | ||
| 16771 | fi | ||
| 16772 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 16773 | fi | ||
| 16774 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 16775 | fi | ||
| 16776 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | ||
| 16777 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | ||
| 16778 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | ||
| 16779 | |||
| 16780 | cat >>confdefs.h <<_ACEOF | ||
| 16781 | #define HAVE_STRUCT_TM_TM_ZONE 1 | ||
| 16782 | _ACEOF | ||
| 16783 | |||
| 16784 | |||
| 16785 | fi | ||
| 16786 | |||
| 16787 | if test "$ac_cv_member_struct_tm_tm_zone" = yes; then | ||
| 16788 | |||
| 16789 | cat >>confdefs.h <<\_ACEOF | ||
| 16790 | #define HAVE_TM_ZONE 1 | ||
| 16791 | _ACEOF | ||
| 16792 | |||
| 16793 | else | ||
| 16794 | echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 16795 | echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | ||
| 16796 | if test "${ac_cv_var_tzname+set}" = set; then | ||
| 16797 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 16798 | else | ||
| 16799 | cat >conftest.$ac_ext <<_ACEOF | ||
| 16800 | #line $LINENO "configure" | ||
| 16801 | /* confdefs.h. */ | ||
| 16802 | _ACEOF | ||
| 16803 | cat confdefs.h >>conftest.$ac_ext | ||
| 16804 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 16805 | /* end confdefs.h. */ | ||
| 16806 | #include <time.h> | ||
| 16807 | #ifndef tzname /* For SGI. */ | ||
| 16808 | extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | ||
| 16809 | #endif | ||
| 16810 | |||
| 16811 | int | ||
| 16812 | main () | ||
| 16813 | { | ||
| 16814 | atoi(*tzname); | ||
| 16815 | ; | ||
| 16816 | return 0; | ||
| 16817 | } | ||
| 16818 | _ACEOF | ||
| 16819 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 16820 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 16821 | (eval $ac_link) 2>&5 | ||
| 16822 | ac_status=$? | ||
| 16823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16824 | (exit $ac_status); } && | ||
| 16825 | { ac_try='test -s conftest$ac_exeext' | ||
| 16826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16827 | (eval $ac_try) 2>&5 | ||
| 16828 | ac_status=$? | ||
| 16829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16830 | (exit $ac_status); }; }; then | ||
| 16831 | ac_cv_var_tzname=yes | ||
| 16832 | else | ||
| 16833 | echo "$as_me: failed program was:" >&5 | ||
| 16834 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 16835 | |||
| 16836 | ac_cv_var_tzname=no | ||
| 16837 | fi | ||
| 16838 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 16839 | fi | ||
| 16840 | echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | ||
| 16841 | echo "${ECHO_T}$ac_cv_var_tzname" >&6 | ||
| 16842 | if test $ac_cv_var_tzname = yes; then | ||
| 16843 | |||
| 16844 | cat >>confdefs.h <<\_ACEOF | ||
| 16845 | #define HAVE_TZNAME 1 | ||
| 16846 | _ACEOF | ||
| 16847 | |||
| 16848 | fi | ||
| 16849 | fi | ||
| 16850 | |||
| 16851 | |||
| 16535 | if test "$ac_cv_func_gettimeofday" = yes; then | 16852 | if test "$ac_cv_func_gettimeofday" = yes; then |
| 16536 | echo "$as_me:$LINENO: checking for struct timezone" >&5 | 16853 | echo "$as_me:$LINENO: checking for struct timezone" >&5 |
| 16537 | echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 | 16854 | echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 |
| @@ -17641,6 +17958,65 @@ _ACEOF | |||
| 17641 | fi | 17958 | fi |
| 17642 | 17959 | ||
| 17643 | 17960 | ||
| 17961 | echo "$as_me:$LINENO: checking for mbstate_t" >&5 | ||
| 17962 | echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 | ||
| 17963 | if test "${ac_cv_type_mbstate_t+set}" = set; then | ||
| 17964 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 17965 | else | ||
| 17966 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17967 | #line $LINENO "configure" | ||
| 17968 | /* confdefs.h. */ | ||
| 17969 | _ACEOF | ||
| 17970 | cat confdefs.h >>conftest.$ac_ext | ||
| 17971 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17972 | /* end confdefs.h. */ | ||
| 17973 | $ac_includes_default | ||
| 17974 | # include <wchar.h> | ||
| 17975 | int | ||
| 17976 | main () | ||
| 17977 | { | ||
| 17978 | mbstate_t x; return sizeof x; | ||
| 17979 | ; | ||
| 17980 | return 0; | ||
| 17981 | } | ||
| 17982 | _ACEOF | ||
| 17983 | rm -f conftest.$ac_objext | ||
| 17984 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 17985 | (eval $ac_compile) 2>&5 | ||
| 17986 | ac_status=$? | ||
| 17987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17988 | (exit $ac_status); } && | ||
| 17989 | { ac_try='test -s conftest.$ac_objext' | ||
| 17990 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17991 | (eval $ac_try) 2>&5 | ||
| 17992 | ac_status=$? | ||
| 17993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17994 | (exit $ac_status); }; }; then | ||
| 17995 | ac_cv_type_mbstate_t=yes | ||
| 17996 | else | ||
| 17997 | echo "$as_me: failed program was:" >&5 | ||
| 17998 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17999 | |||
| 18000 | ac_cv_type_mbstate_t=no | ||
| 18001 | fi | ||
| 18002 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 18003 | fi | ||
| 18004 | echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | ||
| 18005 | echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 | ||
| 18006 | if test $ac_cv_type_mbstate_t = yes; then | ||
| 18007 | |||
| 18008 | cat >>confdefs.h <<\_ACEOF | ||
| 18009 | #define HAVE_MBSTATE_T 1 | ||
| 18010 | _ACEOF | ||
| 18011 | |||
| 18012 | else | ||
| 18013 | |||
| 18014 | cat >>confdefs.h <<\_ACEOF | ||
| 18015 | #define mbstate_t int | ||
| 18016 | _ACEOF | ||
| 18017 | |||
| 18018 | fi | ||
| 18019 | |||
| 17644 | echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 18020 | echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
| 17645 | echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 | 18021 | echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 |
| 17646 | if test "${emacs_cv_c_restrict+set}" = set; then | 18022 | if test "${emacs_cv_c_restrict+set}" = set; then |
| @@ -17786,153 +18162,6 @@ _ACEOF | |||
| 17786 | fi | 18162 | fi |
| 17787 | 18163 | ||
| 17788 | 18164 | ||
| 17789 | for ac_header in nlist.h | ||
| 17790 | do | ||
| 17791 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 17792 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 17793 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17794 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 17795 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 17796 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 17797 | fi | ||
| 17798 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 17799 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 17800 | else | ||
| 17801 | # Is the header compilable? | ||
| 17802 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 17803 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
| 17804 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17805 | #line $LINENO "configure" | ||
| 17806 | /* confdefs.h. */ | ||
| 17807 | _ACEOF | ||
| 17808 | cat confdefs.h >>conftest.$ac_ext | ||
| 17809 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17810 | /* end confdefs.h. */ | ||
| 17811 | $ac_includes_default | ||
| 17812 | #include <$ac_header> | ||
| 17813 | _ACEOF | ||
| 17814 | rm -f conftest.$ac_objext | ||
| 17815 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 17816 | (eval $ac_compile) 2>&5 | ||
| 17817 | ac_status=$? | ||
| 17818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17819 | (exit $ac_status); } && | ||
| 17820 | { ac_try='test -s conftest.$ac_objext' | ||
| 17821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17822 | (eval $ac_try) 2>&5 | ||
| 17823 | ac_status=$? | ||
| 17824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17825 | (exit $ac_status); }; }; then | ||
| 17826 | ac_header_compiler=yes | ||
| 17827 | else | ||
| 17828 | echo "$as_me: failed program was:" >&5 | ||
| 17829 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17830 | |||
| 17831 | ac_header_compiler=no | ||
| 17832 | fi | ||
| 17833 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 17834 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 17835 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 17836 | |||
| 17837 | # Is the header present? | ||
| 17838 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 17839 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
| 17840 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17841 | #line $LINENO "configure" | ||
| 17842 | /* confdefs.h. */ | ||
| 17843 | _ACEOF | ||
| 17844 | cat confdefs.h >>conftest.$ac_ext | ||
| 17845 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17846 | /* end confdefs.h. */ | ||
| 17847 | #include <$ac_header> | ||
| 17848 | _ACEOF | ||
| 17849 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 17850 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 17851 | ac_status=$? | ||
| 17852 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17853 | rm -f conftest.er1 | ||
| 17854 | cat conftest.err >&5 | ||
| 17855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17856 | (exit $ac_status); } >/dev/null; then | ||
| 17857 | if test -s conftest.err; then | ||
| 17858 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 17859 | else | ||
| 17860 | ac_cpp_err= | ||
| 17861 | fi | ||
| 17862 | else | ||
| 17863 | ac_cpp_err=yes | ||
| 17864 | fi | ||
| 17865 | if test -z "$ac_cpp_err"; then | ||
| 17866 | ac_header_preproc=yes | ||
| 17867 | else | ||
| 17868 | echo "$as_me: failed program was:" >&5 | ||
| 17869 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17870 | |||
| 17871 | ac_header_preproc=no | ||
| 17872 | fi | ||
| 17873 | rm -f conftest.err conftest.$ac_ext | ||
| 17874 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 17875 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 17876 | |||
| 17877 | # So? What about this header? | ||
| 17878 | case $ac_header_compiler:$ac_header_preproc in | ||
| 17879 | yes:no ) | ||
| 17880 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 17881 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 17882 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17883 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17884 | ( | ||
| 17885 | cat <<\_ASBOX | ||
| 17886 | ## ------------------------------------ ## | ||
| 17887 | ## Report this to bug-autoconf@gnu.org. ## | ||
| 17888 | ## ------------------------------------ ## | ||
| 17889 | _ASBOX | ||
| 17890 | ) | | ||
| 17891 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 17892 | ;; | ||
| 17893 | no:yes ) | ||
| 17894 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 17895 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 17896 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 17897 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 17898 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 17899 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
| 17900 | ( | ||
| 17901 | cat <<\_ASBOX | ||
| 17902 | ## ------------------------------------ ## | ||
| 17903 | ## Report this to bug-autoconf@gnu.org. ## | ||
| 17904 | ## ------------------------------------ ## | ||
| 17905 | _ASBOX | ||
| 17906 | ) | | ||
| 17907 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 17908 | ;; | ||
| 17909 | esac | ||
| 17910 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 17911 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 17912 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 17913 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 17914 | else | ||
| 17915 | eval "$as_ac_Header=$ac_header_preproc" | ||
| 17916 | fi | ||
| 17917 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 17918 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 17919 | |||
| 17920 | fi | ||
| 17921 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
| 17922 | cat >>confdefs.h <<_ACEOF | ||
| 17923 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 17924 | _ACEOF | ||
| 17925 | |||
| 17926 | cat >>confdefs.h <<\_ACEOF | ||
| 17927 | #define NLIST_STRUCT 1 | ||
| 17928 | _ACEOF | ||
| 17929 | |||
| 17930 | fi | ||
| 17931 | |||
| 17932 | done | ||
| 17933 | |||
| 17934 | |||
| 17935 | |||
| 17936 | 18165 | ||
| 17937 | # Set up the CFLAGS for real compilation, so we can substitute it. | 18166 | # Set up the CFLAGS for real compilation, so we can substitute it. |
| 17938 | CFLAGS="$REAL_CFLAGS" | 18167 | CFLAGS="$REAL_CFLAGS" |
diff --git a/src/config.in b/src/config.in index 5ef32f7b261..f9058e8ce37 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -319,6 +319,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 319 | /* Define to 1 if you have the <linux/version.h> header file. */ | 319 | /* Define to 1 if you have the <linux/version.h> header file. */ |
| 320 | #undef HAVE_LINUX_VERSION_H | 320 | #undef HAVE_LINUX_VERSION_H |
| 321 | 321 | ||
| 322 | /* Define to 1 if you have the <locale.h> header file. */ | ||
| 323 | #undef HAVE_LOCALE_H | ||
| 324 | |||
| 322 | /* Define to 1 if you have the `logb' function. */ | 325 | /* Define to 1 if you have the `logb' function. */ |
| 323 | #undef HAVE_LOGB | 326 | #undef HAVE_LOGB |
| 324 | 327 | ||
| @@ -346,15 +349,24 @@ Boston, MA 02111-1307, USA. */ | |||
| 346 | /* Define to 1 if you have the `mbsinit' function. */ | 349 | /* Define to 1 if you have the `mbsinit' function. */ |
| 347 | #undef HAVE_MBSINIT | 350 | #undef HAVE_MBSINIT |
| 348 | 351 | ||
| 352 | /* Define to 1 if <wchar.h> declares mbstate_t. */ | ||
| 353 | #undef HAVE_MBSTATE_T | ||
| 354 | |||
| 349 | /* Define to 1 if you have the `memcmp' function. */ | 355 | /* Define to 1 if you have the `memcmp' function. */ |
| 350 | #undef HAVE_MEMCMP | 356 | #undef HAVE_MEMCMP |
| 351 | 357 | ||
| 358 | /* Define to 1 if you have the `memcpy' function. */ | ||
| 359 | #undef HAVE_MEMCPY | ||
| 360 | |||
| 352 | /* Define to 1 if you have the `memmove' function. */ | 361 | /* Define to 1 if you have the `memmove' function. */ |
| 353 | #undef HAVE_MEMMOVE | 362 | #undef HAVE_MEMMOVE |
| 354 | 363 | ||
| 355 | /* Define to 1 if you have the <memory.h> header file. */ | 364 | /* Define to 1 if you have the <memory.h> header file. */ |
| 356 | #undef HAVE_MEMORY_H | 365 | #undef HAVE_MEMORY_H |
| 357 | 366 | ||
| 367 | /* Define to 1 if you have the `mempcpy' function. */ | ||
| 368 | #undef HAVE_MEMPCPY | ||
| 369 | |||
| 358 | /* Define to 1 if you have the `memset' function. */ | 370 | /* Define to 1 if you have the `memset' function. */ |
| 359 | #undef HAVE_MEMSET | 371 | #undef HAVE_MEMSET |
| 360 | 372 | ||
| @@ -656,9 +668,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 656 | on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ | 668 | on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ |
| 657 | #undef NLIST_NAME_UNION | 669 | #undef NLIST_NAME_UNION |
| 658 | 670 | ||
| 659 | /* Define to 1 if you have <nlist.h>. */ | ||
| 660 | #undef NLIST_STRUCT | ||
| 661 | |||
| 662 | /* Define to 1 if you don't have struct exception in math.h. */ | 671 | /* Define to 1 if you don't have struct exception in math.h. */ |
| 663 | #undef NO_MATHERR | 672 | #undef NO_MATHERR |
| 664 | 673 | ||
| @@ -771,6 +780,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 771 | /* Define to empty if `const' does not conform to ANSI C. */ | 780 | /* Define to empty if `const' does not conform to ANSI C. */ |
| 772 | #undef const | 781 | #undef const |
| 773 | 782 | ||
| 783 | /* Define to a type if <wchar.h> does not define. */ | ||
| 784 | #undef mbstate_t | ||
| 785 | |||
| 774 | /* Define to `int' if <sys/types.h> does not define. */ | 786 | /* Define to `int' if <sys/types.h> does not define. */ |
| 775 | #undef pid_t | 787 | #undef pid_t |
| 776 | 788 | ||
| @@ -1013,20 +1025,15 @@ typedef unsigned size_t; | |||
| 1013 | # endif | 1025 | # endif |
| 1014 | #endif | 1026 | #endif |
| 1015 | 1027 | ||
| 1016 | /* On Mac OS X, these macros are already defined in precompiled headers. */ | 1028 | #ifndef HAVE_BCOPY |
| 1017 | #ifndef MAC_OSX | 1029 | #define bcopy(a,b,s) memcpy (b,a,s) |
| 1018 | /* avoid deprecated functions */ | 1030 | #endif |
| 1019 | # ifdef HAVE_MEMCPY | 1031 | #ifndef HAVE_BZERO |
| 1020 | # define bcopy(a,b,s) memcpy (b,a,s) | 1032 | #define bzero(a,s) memset (a,0,s) |
| 1021 | # endif | 1033 | #endif |
| 1022 | # ifdef HAVE_MEMSET | 1034 | #ifndef HAVE_BCMP |
| 1023 | # define bzero(a,s) memset (a,0,s) | 1035 | #define BCMP memcmp |
| 1024 | # endif | 1036 | #endif |
| 1025 | # ifdef HAVE_MEMCMP | ||
| 1026 | # define BCMP memcmp | ||
| 1027 | # define bcmp memcmp | ||
| 1028 | # endif | ||
| 1029 | #endif /* MAC_OSX */ | ||
| 1030 | 1037 | ||
| 1031 | #endif /* EMACS_CONFIG_H */ | 1038 | #endif /* EMACS_CONFIG_H */ |
| 1032 | 1039 | ||