comparison configure1.in @ 3820:6c4ad8344c3f

* configure.in: Only check for -lXbsd once.
author Jim Blandy <jimb@redhat.com>
date Fri, 18 Jun 1993 15:59:49 +0000
parents c4e62c57c22c
children ad7559755428
comparison
equal deleted inserted replaced
3819:34b62c7ca0dc 3820:6c4ad8344c3f
1030 yes ) 1030 yes )
1031 HAVE_X_MENU=yes 1031 HAVE_X_MENU=yes
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"
1058 echo " - which libraries the lib-src programs will want, and" 1038 echo " - which libraries the lib-src programs will want, and"
1059 echo " - whether the GNU malloc routines are usable." 1039 echo " - whether the GNU malloc routines are usable."
1145 AC_HAVE_FUNCS(XrmSetDatabase random) 1125 AC_HAVE_FUNCS(XrmSetDatabase random)
1146 [ 1126 [
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 \
1153 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` 1143 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
1154 if [ x"${version}" = x ]; then 1144 if [ x"${version}" = x ]; then