aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-08 18:40:13 +0000
committerDave Love2000-03-08 18:40:13 +0000
commit3f5b097c6db746db99934853c6744a1e1664094d (patch)
tree092aced7d342ca686a47fc83cedc19ef41d90277
parent308a47937d35bf133668a032dcf922e59980b788 (diff)
downloademacs-3f5b097c6db746db99934853c6744a1e1664094d.tar.gz
emacs-3f5b097c6db746db99934853c6744a1e1664094d.zip
Use AC_PROG_RANLIB, AC_C_PROTOTYPES, AC_C_VOLATILE. Define
POINTER_TYPE.
-rw-r--r--configure.in28
1 files changed, 22 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 639d4444cf2..52ab1e570b0 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ dnl To rebuild the `configure' script from this, execute the command
3dnl autoconf 3dnl autoconf
4dnl in the directory containing this script. 4dnl in the directory containing this script.
5dnl 5dnl
6dnl Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc. 6dnl Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
7dnl 7dnl
8dnl This file is part of GNU Emacs. 8dnl This file is part of GNU Emacs.
9dnl 9dnl
@@ -1062,10 +1062,6 @@ if test x"${opsys}" = x; then
1062 esac 1062 esac
1063fi 1063fi
1064 1064
1065if test "x$RANLIB" = x; then
1066 RANLIB=ranlib
1067fi
1068
1069changequote([, ])dnl 1065changequote([, ])dnl
1070 1066
1071if test $unported = yes; then 1067if test $unported = yes; then
@@ -1140,6 +1136,9 @@ AC_PROG_LN_S
1140AC_PROG_CPP 1136AC_PROG_CPP
1141AC_PROG_INSTALL 1137AC_PROG_INSTALL
1142AC_PROG_YACC 1138AC_PROG_YACC
1139if test "x$RANLIB" = x; then
1140 AC_PROG_RANLIB
1141fi
1143 1142
1144dnl checks for Unix variants 1143dnl checks for Unix variants
1145AC_AIX 1144AC_AIX
@@ -1207,7 +1206,25 @@ if test $emacs_cv_tm_gmtoff = yes; then
1207fi 1206fi
1208 1207
1209dnl checks for compiler characteristics 1208dnl checks for compiler characteristics
1209
1210dnl Testing __STDC__ to determine prototype support isn't good enough.
1211dnl DEC C, for instance, doesn't define it with default options, and
1212dnl is used on 64-bit systems (OSF Alphas). Similarly for volatile
1213dnl and void *.
1214AC_C_PROTOTYPES
1215AC_C_VOLATILE
1210AC_C_CONST 1216AC_C_CONST
1217dnl This isn't useful because we can't turn on use of `inline' unless
1218dnl the compiler groks `extern inline'.
1219dnl AC_C_INLINE
1220AC_CACHE_CHECK([for void * support], emacs_cv_void_star,
1221 [AC_TRY_COMPILE(, [void * foo;],
1222 emacs_cv_void_star=yes, emacs_cv_void_star=no)])
1223if test $emacs_cv_void_star = yes; then
1224 AC_DEFINE(POINTER_TYPE, void)
1225else
1226 AC_DEFINE(POINTER_TYPE, char)
1227fi
1211 1228
1212dnl check for Make feature 1229dnl check for Make feature
1213AC_PROG_MAKE_SET 1230AC_PROG_MAKE_SET
@@ -2003,7 +2020,6 @@ AC_SUBST(CFLAGS)
2003AC_SUBST(X_TOOLKIT_TYPE) 2020AC_SUBST(X_TOOLKIT_TYPE)
2004AC_SUBST(machfile) 2021AC_SUBST(machfile)
2005AC_SUBST(opsysfile) 2022AC_SUBST(opsysfile)
2006AC_SUBST(RANLIB)
2007 2023
2008AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}") 2024AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}")
2009AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}") 2025AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}")