diff options
| author | Dave Love | 2000-03-08 18:40:13 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-08 18:40:13 +0000 |
| commit | 3f5b097c6db746db99934853c6744a1e1664094d (patch) | |
| tree | 092aced7d342ca686a47fc83cedc19ef41d90277 | |
| parent | 308a47937d35bf133668a032dcf922e59980b788 (diff) | |
| download | emacs-3f5b097c6db746db99934853c6744a1e1664094d.tar.gz emacs-3f5b097c6db746db99934853c6744a1e1664094d.zip | |
Use AC_PROG_RANLIB, AC_C_PROTOTYPES, AC_C_VOLATILE. Define
POINTER_TYPE.
| -rw-r--r-- | configure.in | 28 |
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 | |||
| 3 | dnl autoconf | 3 | dnl autoconf |
| 4 | dnl in the directory containing this script. | 4 | dnl in the directory containing this script. |
| 5 | dnl | 5 | dnl |
| 6 | dnl Copyright (C) 1994, 1995, 1996, 1999 Free Software Foundation, Inc. | 6 | dnl Copyright (C) 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc. |
| 7 | dnl | 7 | dnl |
| 8 | dnl This file is part of GNU Emacs. | 8 | dnl This file is part of GNU Emacs. |
| 9 | dnl | 9 | dnl |
| @@ -1062,10 +1062,6 @@ if test x"${opsys}" = x; then | |||
| 1062 | esac | 1062 | esac |
| 1063 | fi | 1063 | fi |
| 1064 | 1064 | ||
| 1065 | if test "x$RANLIB" = x; then | ||
| 1066 | RANLIB=ranlib | ||
| 1067 | fi | ||
| 1068 | |||
| 1069 | changequote([, ])dnl | 1065 | changequote([, ])dnl |
| 1070 | 1066 | ||
| 1071 | if test $unported = yes; then | 1067 | if test $unported = yes; then |
| @@ -1140,6 +1136,9 @@ AC_PROG_LN_S | |||
| 1140 | AC_PROG_CPP | 1136 | AC_PROG_CPP |
| 1141 | AC_PROG_INSTALL | 1137 | AC_PROG_INSTALL |
| 1142 | AC_PROG_YACC | 1138 | AC_PROG_YACC |
| 1139 | if test "x$RANLIB" = x; then | ||
| 1140 | AC_PROG_RANLIB | ||
| 1141 | fi | ||
| 1143 | 1142 | ||
| 1144 | dnl checks for Unix variants | 1143 | dnl checks for Unix variants |
| 1145 | AC_AIX | 1144 | AC_AIX |
| @@ -1207,7 +1206,25 @@ if test $emacs_cv_tm_gmtoff = yes; then | |||
| 1207 | fi | 1206 | fi |
| 1208 | 1207 | ||
| 1209 | dnl checks for compiler characteristics | 1208 | dnl checks for compiler characteristics |
| 1209 | |||
| 1210 | dnl Testing __STDC__ to determine prototype support isn't good enough. | ||
| 1211 | dnl DEC C, for instance, doesn't define it with default options, and | ||
| 1212 | dnl is used on 64-bit systems (OSF Alphas). Similarly for volatile | ||
| 1213 | dnl and void *. | ||
| 1214 | AC_C_PROTOTYPES | ||
| 1215 | AC_C_VOLATILE | ||
| 1210 | AC_C_CONST | 1216 | AC_C_CONST |
| 1217 | dnl This isn't useful because we can't turn on use of `inline' unless | ||
| 1218 | dnl the compiler groks `extern inline'. | ||
| 1219 | dnl AC_C_INLINE | ||
| 1220 | AC_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)]) | ||
| 1223 | if test $emacs_cv_void_star = yes; then | ||
| 1224 | AC_DEFINE(POINTER_TYPE, void) | ||
| 1225 | else | ||
| 1226 | AC_DEFINE(POINTER_TYPE, char) | ||
| 1227 | fi | ||
| 1211 | 1228 | ||
| 1212 | dnl check for Make feature | 1229 | dnl check for Make feature |
| 1213 | AC_PROG_MAKE_SET | 1230 | AC_PROG_MAKE_SET |
| @@ -2003,7 +2020,6 @@ AC_SUBST(CFLAGS) | |||
| 2003 | AC_SUBST(X_TOOLKIT_TYPE) | 2020 | AC_SUBST(X_TOOLKIT_TYPE) |
| 2004 | AC_SUBST(machfile) | 2021 | AC_SUBST(machfile) |
| 2005 | AC_SUBST(opsysfile) | 2022 | AC_SUBST(opsysfile) |
| 2006 | AC_SUBST(RANLIB) | ||
| 2007 | 2023 | ||
| 2008 | AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}") | 2024 | AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "${canonical}") |
| 2009 | AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}") | 2025 | AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${ac_configure_args}") |