comparison configure1.in @ 7046:b416d80f578e

Test for libresolv.a. Substitute machfile and opsysfile. (version): Use entire value of emacs-version. (mips-siemens-sysv*): New alternative.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 1994 06:00:06 +0000
parents 22e3af0deae4
children 2d55408004ed
comparison
equal deleted inserted replaced
7045:6ea4737a3db7 7046:b416d80f578e
778 ## Intel 860 778 ## Intel 860
779 i860-*-sysv4* ) 779 i860-*-sysv4* )
780 machine=i860 opsys=usg5-4 780 machine=i860 opsys=usg5-4
781 ;; 781 ;;
782 782
783 ## Silicon Graphics machines
784 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
785 m68*-sgi-iris3.5* )
786 machine=irist opsys=iris3-5
787 ;;
788 m68*-sgi-iris3.6* | m68*-sgi-iris*)
789 machine=irist opsys=iris3-6
790 ;;
791 ## Iris 4D
792 mips-sgi-irix3.* )
793 machine=iris4d opsys=irix3-3
794 ;;
795 mips-sgi-irix5.* )
796 machine=iris4d opsys=irix5-0
797 ;;
798 mips-sgi-irix4.* | mips-sgi-irix* )
799 machine=iris4d opsys=irix4-0
800 ;;
801
802 ## Masscomp machines 783 ## Masscomp machines
803 m68*-masscomp-rtu* ) 784 m68*-masscomp-rtu* )
804 machine=masscomp opsys=rtu 785 machine=masscomp opsys=rtu
805 ;; 786 ;;
806 787
880 ns32k-sequent-bsd4.2* ) 861 ns32k-sequent-bsd4.2* )
881 machine=sequent opsys=bsd4-2 862 machine=sequent opsys=bsd4-2
882 ;; 863 ;;
883 ns32k-sequent-bsd4.3* ) 864 ns32k-sequent-bsd4.3* )
884 machine=sequent opsys=bsd4-3 865 machine=sequent opsys=bsd4-3
866 ;;
867
868 ## Siemens Nixdorf
869 mips-siemens-sysv* )
870 machine=mips-siemens opsys=usg5-4
871 NON_GNU_CC=/usr/ccs/bin/cc
872 NON_GNU_CPP=/usr/ccs/bin/cc -E
873 ;;
874
875 ## Silicon Graphics machines
876 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
877 m68*-sgi-iris3.5* )
878 machine=irist opsys=iris3-5
879 ;;
880 m68*-sgi-iris3.6* | m68*-sgi-iris*)
881 machine=irist opsys=iris3-6
882 ;;
883 ## Iris 4D
884 mips-sgi-irix3.* )
885 machine=iris4d opsys=irix3-3
886 ;;
887 mips-sgi-irix5.* )
888 machine=iris4d opsys=irix5-0
889 ;;
890 mips-sgi-irix4.* | mips-sgi-irix* )
891 machine=iris4d opsys=irix4-0
885 ;; 892 ;;
886 893
887 ## SONY machines 894 ## SONY machines
888 m68*-sony-bsd4.2* ) 895 m68*-sony-bsd4.2* )
889 machine=news opsys=bsd4-2 896 machine=news opsys=bsd4-2
1374 LIBS="$libsrc_libs" 1381 LIBS="$libsrc_libs"
1375 1382
1376 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks, 1383 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks,
1377 dnl and also adds -ldnet to LIBS, which Autoconf uses for checks. 1384 dnl and also adds -ldnet to LIBS, which Autoconf uses for checks.
1378 AC_HAVE_LIBRARY(-ldnet) 1385 AC_HAVE_LIBRARY(-ldnet)
1386 AC_HAVE_LIBRARY(-lresolv)
1379 1387
1380 AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd") 1388 AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
1381 1389
1382 echo checking for XFree86 1390 echo checking for XFree86
1383 if test -d /usr/X386/include; then 1391 if test -d /usr/X386/include; then
1412 AC_DEFINE(HAVE_INET_SOCKETS) 1420 AC_DEFINE(HAVE_INET_SOCKETS)
1413 fi 1421 fi
1414 [ 1422 [
1415 #### Find out which version of Emacs this is. 1423 #### Find out which version of Emacs this is.
1416 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 1424 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
1417 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)[."].*$/\1/'` 1425 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
1418 if [ x"${version}" = x ]; then 1426 if [ x"${version}" = x ]; then
1419 echo "${progname}: can't find current emacs version in 1427 echo "${progname}: can't find current emacs version in
1420 \`${srcdir}/lisp/version.el'." >&2 1428 \`${srcdir}/lisp/version.el'." >&2
1421 exit 1 1429 exit 1
1422 fi 1430 fi
1453 AC_SUBST(LD_SWITCH_X_SITE) 1461 AC_SUBST(LD_SWITCH_X_SITE)
1454 AC_SUBST(LD_SWITCH_X_SITE_AUX) 1462 AC_SUBST(LD_SWITCH_X_SITE_AUX)
1455 AC_SUBST(C_SWITCH_X_SITE) 1463 AC_SUBST(C_SWITCH_X_SITE)
1456 AC_SUBST(CFLAGS) 1464 AC_SUBST(CFLAGS)
1457 AC_SUBST(X_TOOLKIT_TYPE) 1465 AC_SUBST(X_TOOLKIT_TYPE)
1466 AC_SUBST(machfile)
1467 AC_SUBST(opsysfile)
1458 1468
1459 AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"") 1469 AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"")
1460 AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"") 1470 AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"")
1461 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) 1471 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
1462 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE_AUX, ${LD_SWITCH_X_SITE_AUX}) 1472 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE_AUX, ${LD_SWITCH_X_SITE_AUX})