*-*-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.
*-*-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 ;;
;;
## 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
;;
## 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* )
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.
# 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)
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
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>
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