]> code.delx.au - gnu-emacs/blobdiff - configure.in
(unlock_buffer): Declare it as void.
[gnu-emacs] / configure.in
index b9742b652436acb502c7c2fb4dbe81d8219d7195..4bc8d980534c0d11b0c601da279ec120b7c2c4f7 100644 (file)
@@ -163,7 +163,7 @@ case "${canonical}" in
   *-*-netbsd* )
     opsys=netbsd
     case "${canonical}" in
-      alpha-*-netbsd*) machine=alpha ;;
+      alpha*-*-netbsd*)        machine=alpha ;;
       i[3456]86-*-netbsd*) machine=intel386 ;;
       m68k-*-netbsd*)
                        # This is somewhat bogus.
@@ -179,9 +179,10 @@ case "${canonical}" in
   *-*-openbsd* )
     opsys=openbsd
     case "${canonical}" in
-      alpha-*-openbsd*)        machine=alpha ;;
+      alpha*-*-openbsd*)       machine=alpha ;;
       i386-*-openbsd*) machine=intel386 ;;
-      m68k-*-openbsd*)  machine=hp9000s300 ;;          # This is somewhat bogus.
+      m68k-*-openbsd*)  machine=hp9000s300 ;;
+      mipsel-*-openbsd*) machine=pmax ;;
       ns32k-*-openbsd*)        machine=ns32000 ;;
       sparc-*-openbsd*)        machine=sparc ;;
       vax-*-netbsd*)   machine=vax ;;
@@ -228,14 +229,14 @@ case "${canonical}" in
   ;;
 
   ## Alpha (DEC) machines.
-  alpha-dec-osf* )
+  alpha*-dec-osf* )
     machine=alpha opsys=osf1
     # This is needed to find X11R6.1 libraries for certain tests.
     NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
     GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
   ;;
 
-  alpha-*-linux-gnu* )
+  alpha*-*-linux-gnu* )
     machine=alpha opsys=gnu-linux
   ;;
 
@@ -319,8 +320,9 @@ case "${canonical}" in
   ## DG changed naming conventions with the release of 5.4.4.10, they
   ## dropped the initial 5.4 but left the intervening R.  Because of the
   ## R this shouldn't conflict with older versions of the OS (which I
-  ## think were named like dgux4.*).
-  m88k-dg-dguxR4.* | m88k-dg-dgux4* )
+  ## think were named like dgux4.*). In addition, DG new AViiONs series
+  ## uses either Motorola M88k or Intel Pentium CPUs.
+  i586-dg-dguxR4.* | m88k-dg-dguxR4.* | m88k-dg-dgux4* )
     machine=aviion opsys=dgux4
   ;;
   m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
@@ -1576,7 +1578,7 @@ AC_CHECK_FUNCS(gettimeofday gethostname getdomainname dup2 \
 rename closedir mkdir rmdir sysinfo \
 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
-utimes setrlimit setpgid getcwd shutdown)
+utimes setrlimit setpgid getcwd shutdown strftime)
 
 # Check this now, so that we will NOT find the above functions in ncurses.
 # That is because we have not set up to link ncurses in lib-src.
@@ -1586,15 +1588,15 @@ AC_CHECK_LIB(ncurses, tparm)
 
 # These tell us which Kerberos-related libraries to use.
 if test "${with_kerberos+set}" = set; then
+  AC_CHECK_LIB(com_err, com_err)
+  AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
+  AC_CHECK_LIB(krb5, krb5_init_context)
   if test "${with_kerberos5+set}" != set; then
-    AC_CHECK_LIB(krb, krb_get_cred,,
-                AC_CHECK_LIB(krb4, krb_get_cred))
     AC_CHECK_LIB(des, des_cbc_encrypt,,
                 AC_CHECK_LIB(des425, des_cbc_encrypt))
+    AC_CHECK_LIB(krb, krb_get_cred,,
+                AC_CHECK_LIB(krb4, krb_get_cred))
   fi
-  AC_CHECK_LIB(krb5, krb5_init_context)
-  AC_CHECK_LIB(crypto, mit_des_cbc_encrypt)
-  AC_CHECK_LIB(com_err, com_err)
 
   if test "${with_kerberos5+set}" = set; then
     AC_CHECK_HEADERS(krb5.h)
@@ -1609,6 +1611,10 @@ if test "${with_kerberos+set}" = set; then
   AC_CHECK_HEADERS(com_err.h)
 fi
 
+# Solaris requires -lintl if you want strerror (which calls dgettext)
+# to return localized messages.
+AC_CHECK_LIB(intl, dgettext)
+
 AC_MSG_CHECKING(whether localtime caches TZ)
 AC_CACHE_VAL(emacs_cv_localtime_cache,
 [if test x$ac_cv_func_tzset = xyes; then
@@ -1657,7 +1663,7 @@ if test $emacs_cv_localtime_cache = yes; then
 fi
 
 if test "x$HAVE_TIMEVAL" = xyes; then
-AC_MSG_CHECKING(whether gettimeofday can't accept two arguments)
+AC_MSG_CHECKING(whether gettimeofday can accept two arguments)
 AC_TRY_LINK([
 #ifdef TIME_WITH_SYS_TIME
 #include <sys/time.h>
@@ -1675,8 +1681,8 @@ AC_TRY_LINK([
   struct timezone dummy;
   gettimeofday (&time, &dummy);
 ],
-  [AC_MSG_RESULT(no)],
-  [AC_MSG_RESULT(yes)
+  [AC_MSG_RESULT(yes)],
+  [AC_MSG_RESULT(no)
    AC_DEFINE(GETTIMEOFDAY_ONE_ARGUMENT)])
 fi