aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1993-09-10 06:08:27 +0000
committerRoland McGrath1993-09-10 06:08:27 +0000
commitdbf6ad3d3effbdd1d84aa9dd2d69b2515c7deb8a (patch)
tree662cd347f05a95787e543dd3fc02a35b539a9747
parenteab5f4fd961ed79c025541ad28c3412ce70fc72c (diff)
downloademacs-dbf6ad3d3effbdd1d84aa9dd2d69b2515c7deb8a.tar.gz
emacs-dbf6ad3d3effbdd1d84aa9dd2d69b2515c7deb8a.zip
Remove check for $srcdir being configured. This pretty much works now.
Grok {m68*-hp,i[34]86-*}-netbsd* and set opsys=netbsd. Check for XFree86 (/usr/X386/include) independent of whether -lXbsd exists.
-rwxr-xr-xconfigure1.in26
1 files changed, 11 insertions, 15 deletions
diff --git a/configure1.in b/configure1.in
index ce47cd058e2..24e93b66b97 100755
--- a/configure1.in
+++ b/configure1.in
@@ -362,16 +362,6 @@ case "${srcdir}" in
362 * ) srcdir="`(cd ${srcdir}; pwd)`" ;; 362 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
363esac 363esac
364 364
365#### Make sure that the source directory doesn't already have a
366#### configured system in it.
367if [ `pwd` != `(cd ${srcdir} && pwd)` ] \
368 && [ -f "${srcdir}/src/config.h" ] ; then
369 (echo "${progname}: the directory tree \`${srcdir}' is being used"
370 echo " as a build directory right now; it has been configured in its own"
371 echo " right. You can't use srcdir in this situation.") >&2
372 exit 1
373fi
374
375### Make the necessary directories, if they don't exist. 365### Make the necessary directories, if they don't exist.
376for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do 366for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do
377 if [ ! -d ${dir} ]; then 367 if [ ! -d ${dir} ]; then
@@ -563,6 +553,9 @@ case "${canonical}" in
563 m68*-hp-bsd* ) 553 m68*-hp-bsd* )
564 machine=hp9000s300 opsys=bsd4-3 554 machine=hp9000s300 opsys=bsd4-3
565 ;; 555 ;;
556 m68*-hp-netbsd* )
557 machine=hp9000s300 opsys=netbsd
558 ;;
566 ## HP/UX 7, 8 and 9 are supported on these machines. 559 ## HP/UX 7, 8 and 9 are supported on these machines.
567 m68*-hp-hpux* ) 560 m68*-hp-hpux* )
568 case "`uname -r`" in 561 case "`uname -r`" in
@@ -900,6 +893,7 @@ case "${canonical}" in
900 *-sco3.2v4* ) opsys=sco4 ;; 893 *-sco3.2v4* ) opsys=sco4 ;;
901 *-bsd386* ) opsys=bsd386 ;; 894 *-bsd386* ) opsys=bsd386 ;;
902 *-386bsd* ) opsys=386bsd ;; 895 *-386bsd* ) opsys=386bsd ;;
896 *-netbsd* ) opsys=netbsd ;;
903 ## Otherwise, we'll fall through to the generic opsys code at the bottom. 897 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
904 esac 898 esac
905 ;; 899 ;;
@@ -1182,11 +1176,13 @@ dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks,
1182dnl and also adds -ldnet to LIBS, which Autoconf uses for checks. 1176dnl and also adds -ldnet to LIBS, which Autoconf uses for checks.
1183AC_HAVE_LIBRARY(-ldnet) 1177AC_HAVE_LIBRARY(-ldnet)
1184 1178
1185AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" 1179AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
1186 if test -d /usr/X386/include; then 1180
1187 HAVE_XFREE386=yes 1181echo checking for XFree86
1188 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include" 1182if test -d /usr/X386/include; then
1189 fi) 1183 HAVE_XFREE386=yes
1184 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include"
1185fi
1190 1186
1191if test "${HAVE_X11}" = "yes"; then 1187if test "${HAVE_X11}" = "yes"; then
1192 DEFS="$C_SWITCH_X_SITE $DEFS" 1188 DEFS="$C_SWITCH_X_SITE $DEFS"