diff options
| author | Jim Blandy | 1993-06-18 15:59:49 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-18 15:59:49 +0000 |
| commit | 564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc (patch) | |
| tree | c9152092dcb67bd5bff1e5cae4ff12bcd920ffbb | |
| parent | 40166bf181ab7e556ec427b727ad23d2afadfe3a (diff) | |
| download | emacs-564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc.tar.gz emacs-564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc.zip | |
* configure.in: Only check for -lXbsd once.
| -rwxr-xr-x | configure1.in | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/configure1.in b/configure1.in index cb8154df3ae..cf73c1b378d 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -1032,26 +1032,6 @@ case ${HAVE_X11} in | |||
| 1032 | ;; | 1032 | ;; |
| 1033 | esac | 1033 | esac |
| 1034 | 1034 | ||
| 1035 | ### Check for XFree386. It needs special hacks. | ||
| 1036 | lib_havexbsd=no | ||
| 1037 | ] | ||
| 1038 | AC_HAVE_LIBRARY( Xbsd , have_libxbsd=yes , have_libxbsd=no ) | ||
| 1039 | [ | ||
| 1040 | if [ -n "${x_libraries}" ] && [ -f ${x_libraries}/libXbsd.a ]; then | ||
| 1041 | have_libxbsd=yes | ||
| 1042 | fi | ||
| 1043 | |||
| 1044 | case ${window_system} in | ||
| 1045 | x11 ) | ||
| 1046 | if [ -d /usr/X386/include ] && [ "${have_libxbsd}" = "yes" ]; then | ||
| 1047 | HAVE_XFREE386=yes | ||
| 1048 | if [ "${C_SWITCH_X_SITE}" = "" ]; then | ||
| 1049 | C_SWITCH_X_SITE="-I/usr/X386/include" | ||
| 1050 | fi | ||
| 1051 | fi | ||
| 1052 | ;; | ||
| 1053 | esac | ||
| 1054 | |||
| 1055 | #### Extract some information from the operating system and machine files. | 1035 | #### Extract some information from the operating system and machine files. |
| 1056 | 1036 | ||
| 1057 | echo "Examining the machine- and system-dependent files to find out" | 1037 | echo "Examining the machine- and system-dependent files to find out" |
| @@ -1147,6 +1127,16 @@ AC_HAVE_FUNCS(XrmSetDatabase random) | |||
| 1147 | CFLAGS="$CFLAGS_save" | 1127 | CFLAGS="$CFLAGS_save" |
| 1148 | LIBS="$LIBS_save" | 1128 | LIBS="$LIBS_save" |
| 1149 | 1129 | ||
| 1130 | case "${window_system}:${LIBS}" in | ||
| 1131 | x11:*-lXbsd* ) | ||
| 1132 | if [ -d /usr/X386/include ]; then | ||
| 1133 | HAVE_XFREE386=yes | ||
| 1134 | if [ "${C_SWITCH_X_SITE}" = "" ]; then | ||
| 1135 | C_SWITCH_X_SITE="-I/usr/X386/include" | ||
| 1136 | fi | ||
| 1137 | fi | ||
| 1138 | ;; | ||
| 1139 | esac | ||
| 1150 | 1140 | ||
| 1151 | #### Find out which version of Emacs this is. | 1141 | #### Find out which version of Emacs this is. |
| 1152 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ | 1142 | version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |