aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1993-06-18 15:59:49 +0000
committerJim Blandy1993-06-18 15:59:49 +0000
commit564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc (patch)
treec9152092dcb67bd5bff1e5cae4ff12bcd920ffbb
parent40166bf181ab7e556ec427b727ad23d2afadfe3a (diff)
downloademacs-564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc.tar.gz
emacs-564d75ed21ed9d66c4134be2eb8fce7ea6bfa8cc.zip
* configure.in: Only check for -lXbsd once.
-rwxr-xr-xconfigure1.in30
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 ;;
1033esac 1033esac
1034 1034
1035### Check for XFree386. It needs special hacks.
1036lib_havexbsd=no
1037]
1038AC_HAVE_LIBRARY( Xbsd , have_libxbsd=yes , have_libxbsd=no )
1039[
1040if [ -n "${x_libraries}" ] && [ -f ${x_libraries}/libXbsd.a ]; then
1041 have_libxbsd=yes
1042fi
1043
1044case ${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 ;;
1053esac
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
1057echo "Examining the machine- and system-dependent files to find out" 1037echo "Examining the machine- and system-dependent files to find out"
@@ -1147,6 +1127,16 @@ AC_HAVE_FUNCS(XrmSetDatabase random)
1147CFLAGS="$CFLAGS_save" 1127CFLAGS="$CFLAGS_save"
1148LIBS="$LIBS_save" 1128LIBS="$LIBS_save"
1149 1129
1130case "${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 ;;
1139esac
1150 1140
1151#### Find out which version of Emacs this is. 1141#### Find out which version of Emacs this is.
1152version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 1142version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \