diff options
| author | David J. MacKenzie | 1994-09-13 15:46:47 +0000 |
|---|---|---|
| committer | David J. MacKenzie | 1994-09-13 15:46:47 +0000 |
| commit | 6e0dc84ae3ead4e097a4c6cf3ea11453b215654c (patch) | |
| tree | 1288a461cb46709f8c0691c6163027cf1b19f007 | |
| parent | 069df4bfd6bcac6aaece3c9f2351d0b5090db16f (diff) | |
| download | emacs-6e0dc84ae3ead4e097a4c6cf3ea11453b215654c.tar.gz emacs-6e0dc84ae3ead4e097a4c6cf3ea11453b215654c.zip | |
use new macro names
| -rw-r--r-- | configure.in | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/configure.in b/configure.in index d8747a848f6..5956c313d7e 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -762,7 +762,7 @@ test -n "$CC" && cc_specified=yes | |||
| 762 | 762 | ||
| 763 | case ${with_gcc} in | 763 | case ${with_gcc} in |
| 764 | "yes" ) CC="gcc" GCC=yes ;; | 764 | "yes" ) CC="gcc" GCC=yes ;; |
| 765 | "no" ) test -z "$CC" && CC=cc ;; | 765 | "no" ) : ${CC=cc} ;; |
| 766 | * ) AC_PROG_CC | 766 | * ) AC_PROG_CC |
| 767 | esac | 767 | esac |
| 768 | 768 | ||
| @@ -803,38 +803,36 @@ fi | |||
| 803 | #### #undef clause to src/config.h.in for autoconf to modify. | 803 | #### #undef clause to src/config.h.in for autoconf to modify. |
| 804 | 804 | ||
| 805 | dnl checks for programs | 805 | dnl checks for programs |
| 806 | AC_LN_S | 806 | AC_PROG_LN_S |
| 807 | AC_PROG_CPP | 807 | AC_PROG_CPP |
| 808 | AC_PROG_INSTALL | 808 | AC_PROG_INSTALL |
| 809 | AC_PROG_YACC | 809 | AC_PROG_YACC |
| 810 | 810 | ||
| 811 | dnl checks for header files | 811 | dnl checks for header files |
| 812 | AC_HAVE_HEADERS(sys/timeb.h sys/time.h unistd.h) | 812 | AC_CHECK_HEADERS(sys/timeb.h sys/time.h unistd.h) |
| 813 | AC_STDC_HEADERS | 813 | AC_HEADER_STDC |
| 814 | AC_TIME_WITH_SYS_TIME | 814 | AC_HEADER_TIME |
| 815 | AC_SYS_SIGLIST_DECLARED | 815 | AC_DECL_SYS_SIGLIST |
| 816 | 816 | ||
| 817 | dnl checks for typedefs | 817 | dnl checks for typedefs |
| 818 | AC_RETSIGTYPE | 818 | AC_TYPE_SIGNAL |
| 819 | 819 | ||
| 820 | dnl checks for structure members | 820 | dnl checks for structure members |
| 821 | AC_STRUCT_TM | 821 | AC_STRUCT_TM |
| 822 | AC_TIMEZONE | 822 | AC_STRUCT_TIMEZONE |
| 823 | 823 | ||
| 824 | dnl checks for compiler characteristics | 824 | dnl checks for compiler characteristics |
| 825 | AC_CONST | 825 | AC_C_CONST |
| 826 | 826 | ||
| 827 | dnl check for Make feature | 827 | dnl check for Make feature |
| 828 | AC_SET_MAKE | 828 | AC_PROG_MAKE_SET |
| 829 | 829 | ||
| 830 | dnl checks for operating system services | 830 | dnl checks for operating system services |
| 831 | AC_LONG_FILE_NAMES | 831 | AC_SYS_LONG_FILE_NAMES |
| 832 | |||
| 833 | dnl other checks for UNIX variants | ||
| 834 | 832 | ||
| 835 | #### Choose a window system. | 833 | #### Choose a window system. |
| 836 | 834 | ||
| 837 | AC_FIND_X | 835 | AC_PATH_X |
| 838 | if test "$no_x" = yes; then | 836 | if test "$no_x" = yes; then |
| 839 | window_system=none | 837 | window_system=none |
| 840 | else | 838 | else |
| @@ -1015,12 +1013,12 @@ AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd") | |||
| 1015 | 1013 | ||
| 1016 | AC_MSG_CHECKING(for XFree86) | 1014 | AC_MSG_CHECKING(for XFree86) |
| 1017 | if test -d /usr/X386/include; then | 1015 | if test -d /usr/X386/include; then |
| 1018 | AC_MSG_RESULT(yes) | ||
| 1019 | HAVE_XFREE386=yes | 1016 | HAVE_XFREE386=yes |
| 1020 | test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include" | 1017 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| 1021 | else | 1018 | else |
| 1022 | AC_MSG_RESULT(no) | 1019 | HAVE_XFREE386=no |
| 1023 | fi | 1020 | fi |
| 1021 | AC_MSG_RESULT($HAVE_XFREE386) | ||
| 1024 | 1022 | ||
| 1025 | # We change CFLAGS temporarily so that C_SWITCH_X_SITE gets used | 1023 | # We change CFLAGS temporarily so that C_SWITCH_X_SITE gets used |
| 1026 | # for the tests that follow. | 1024 | # for the tests that follow. |
| @@ -1029,13 +1027,13 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1029 | DEFS="$C_SWITCH_X_SITE $DEFS" | 1027 | DEFS="$C_SWITCH_X_SITE $DEFS" |
| 1030 | LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS" | 1028 | LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS" |
| 1031 | CFLAGS="$C_SWITCH_X_SITE $CFLAGS" | 1029 | CFLAGS="$C_SWITCH_X_SITE $CFLAGS" |
| 1032 | AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString \ | 1030 | AC_CHECK_FUNCS(XrmSetDatabase XScreenResourceString \ |
| 1033 | XScreenNumberOfScreen XSetWMProtocols) | 1031 | XScreenNumberOfScreen XSetWMProtocols) |
| 1034 | fi | 1032 | fi |
| 1035 | 1033 | ||
| 1036 | if test "${USE_X_TOOLKIT}" != "none"; then | 1034 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 1037 | AC_MSG_CHECKING(X11 toolkit version) | 1035 | AC_MSG_CHECKING(X11 toolkit version) |
| 1038 | AC_COMPILE_CHECK(, [#include <X11/Intrinsic.h>], | 1036 | AC_TRY_LINK([#include <X11/Intrinsic.h>], |
| 1039 | [#if XtSpecificationRelease < 6 | 1037 | [#if XtSpecificationRelease < 6 |
| 1040 | fail; | 1038 | fail; |
| 1041 | #endif | 1039 | #endif |
| @@ -1046,7 +1044,7 @@ fi | |||
| 1046 | 1044 | ||
| 1047 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 1045 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 1048 | AC_MSG_CHECKING(whether netdb declarares h_errno) | 1046 | AC_MSG_CHECKING(whether netdb declarares h_errno) |
| 1049 | AC_COMPILE_CHECK(, [#include <netdb.h>], | 1047 | AC_TRY_LINK([#include <netdb.h>], |
| 1050 | [int | 1048 | [int |
| 1051 | foo () | 1049 | foo () |
| 1052 | { | 1050 | { |
| @@ -1056,21 +1054,21 @@ foo () | |||
| 1056 | AC_DEFINE(HAVE_H_ERRNO)], | 1054 | AC_DEFINE(HAVE_H_ERRNO)], |
| 1057 | [AC_MSG_RESULT(no)]) | 1055 | [AC_MSG_RESULT(no)]) |
| 1058 | 1056 | ||
| 1059 | AC_ALLOCA | 1057 | AC_FUNC_ALLOCA |
| 1060 | 1058 | ||
| 1061 | # logb and frexp are found in -lm on most systems. | 1059 | # logb and frexp are found in -lm on most systems. |
| 1062 | AC_CHECK_LIB(m, logb) | 1060 | AC_CHECK_LIB(m, logb) |
| 1063 | AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \ | 1061 | AC_CHECK_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \ |
| 1064 | random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid strerror \ | 1062 | random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid strerror \ |
| 1065 | fpathconf) | 1063 | fpathconf) |
| 1066 | 1064 | ||
| 1067 | ok_so_far=yes | 1065 | ok_so_far=yes |
| 1068 | AC_FUNC_CHECK(socket, , ok_so_far=no) | 1066 | AC_CHECK_FUNC(socket, , ok_so_far=no) |
| 1069 | if test $ok_so_far = yes; then | 1067 | if test $ok_so_far = yes; then |
| 1070 | AC_HEADER_CHECK(netinet/in.h, , ok_so_far=no) | 1068 | AC_CHECK_HEADER(netinet/in.h, , ok_so_far=no) |
| 1071 | fi | 1069 | fi |
| 1072 | if test $ok_so_far = yes; then | 1070 | if test $ok_so_far = yes; then |
| 1073 | AC_HEADER_CHECK(arpa/inet.h, , ok_so_far=no) | 1071 | AC_CHECK_HEADER(arpa/inet.h, , ok_so_far=no) |
| 1074 | fi | 1072 | fi |
| 1075 | if test $ok_so_far = yes; then | 1073 | if test $ok_so_far = yes; then |
| 1076 | AC_DEFINE(HAVE_INET_SOCKETS) | 1074 | AC_DEFINE(HAVE_INET_SOCKETS) |