aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid J. MacKenzie1994-09-13 15:46:47 +0000
committerDavid J. MacKenzie1994-09-13 15:46:47 +0000
commit6e0dc84ae3ead4e097a4c6cf3ea11453b215654c (patch)
tree1288a461cb46709f8c0691c6163027cf1b19f007
parent069df4bfd6bcac6aaece3c9f2351d0b5090db16f (diff)
downloademacs-6e0dc84ae3ead4e097a4c6cf3ea11453b215654c.tar.gz
emacs-6e0dc84ae3ead4e097a4c6cf3ea11453b215654c.zip
use new macro names
-rw-r--r--configure.in48
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
763case ${with_gcc} in 763case ${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
767esac 767esac
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
805dnl checks for programs 805dnl checks for programs
806AC_LN_S 806AC_PROG_LN_S
807AC_PROG_CPP 807AC_PROG_CPP
808AC_PROG_INSTALL 808AC_PROG_INSTALL
809AC_PROG_YACC 809AC_PROG_YACC
810 810
811dnl checks for header files 811dnl checks for header files
812AC_HAVE_HEADERS(sys/timeb.h sys/time.h unistd.h) 812AC_CHECK_HEADERS(sys/timeb.h sys/time.h unistd.h)
813AC_STDC_HEADERS 813AC_HEADER_STDC
814AC_TIME_WITH_SYS_TIME 814AC_HEADER_TIME
815AC_SYS_SIGLIST_DECLARED 815AC_DECL_SYS_SIGLIST
816 816
817dnl checks for typedefs 817dnl checks for typedefs
818AC_RETSIGTYPE 818AC_TYPE_SIGNAL
819 819
820dnl checks for structure members 820dnl checks for structure members
821AC_STRUCT_TM 821AC_STRUCT_TM
822AC_TIMEZONE 822AC_STRUCT_TIMEZONE
823 823
824dnl checks for compiler characteristics 824dnl checks for compiler characteristics
825AC_CONST 825AC_C_CONST
826 826
827dnl check for Make feature 827dnl check for Make feature
828AC_SET_MAKE 828AC_PROG_MAKE_SET
829 829
830dnl checks for operating system services 830dnl checks for operating system services
831AC_LONG_FILE_NAMES 831AC_SYS_LONG_FILE_NAMES
832
833dnl other checks for UNIX variants
834 832
835#### Choose a window system. 833#### Choose a window system.
836 834
837AC_FIND_X 835AC_PATH_X
838if test "$no_x" = yes; then 836if test "$no_x" = yes; then
839 window_system=none 837 window_system=none
840else 838else
@@ -1015,12 +1013,12 @@ AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
1015 1013
1016AC_MSG_CHECKING(for XFree86) 1014AC_MSG_CHECKING(for XFree86)
1017if test -d /usr/X386/include; then 1015if 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"}
1021else 1018else
1022 AC_MSG_RESULT(no) 1019 HAVE_XFREE386=no
1023fi 1020fi
1021AC_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 \
1033XScreenNumberOfScreen XSetWMProtocols) 1031XScreenNumberOfScreen XSetWMProtocols)
1034fi 1032fi
1035 1033
1036if test "${USE_X_TOOLKIT}" != "none"; then 1034if 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
1040fail; 1038fail;
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.
1048AC_MSG_CHECKING(whether netdb declarares h_errno) 1046AC_MSG_CHECKING(whether netdb declarares h_errno)
1049AC_COMPILE_CHECK(, [#include <netdb.h>], 1047AC_TRY_LINK([#include <netdb.h>],
1050[int 1048[int
1051foo () 1049foo ()
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
1059AC_ALLOCA 1057AC_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.
1062AC_CHECK_LIB(m, logb) 1060AC_CHECK_LIB(m, logb)
1063AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \ 1061AC_CHECK_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \
1064random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid strerror \ 1062random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid strerror \
1065fpathconf) 1063fpathconf)
1066 1064
1067ok_so_far=yes 1065ok_so_far=yes
1068AC_FUNC_CHECK(socket, , ok_so_far=no) 1066AC_CHECK_FUNC(socket, , ok_so_far=no)
1069if test $ok_so_far = yes; then 1067if 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)
1071fi 1069fi
1072if test $ok_so_far = yes; then 1070if 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)
1074fi 1072fi
1075if test $ok_so_far = yes; then 1073if test $ok_so_far = yes; then
1076 AC_DEFINE(HAVE_INET_SOCKETS) 1074 AC_DEFINE(HAVE_INET_SOCKETS)