AC_MSG_RESULT(AIX: adding -qlanglvl=ansi -qhalt=e)
CC="$CC -qlanglvl=ansi -qhalt=e"
;;
+
+# NOTE: for Digital, need to add -std1 to get ANSI, but I'm not sure
+# yet what $host pattern we should be testing for...
+
*)
AC_MSG_RESULT(no idea)
;;
AC_TYPE_MODE_T
AC_TYPE_PID_T
-AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
-
+AC_TYPE_SIGNAL
AC_MSG_CHECKING(how to call gettimeofday)
AC_CACHE_VAL(ac_cv_gettimeofday_args,
AC_CHECK_FUNCS(select fcntl uname nice setpriority getcwd getwd putenv)
+AC_CHECK_FUNCS(sigaction)
+
AC_CHECK_HEADERS(unistd.h)
dnl /usr/local/src/ssh-1.2.17/putenv.c -- AC_REPLACE_FUNCS(putenv)
if test -d /usr/contrib/X11R6/include ; then
X_CFLAGS="-I/usr/contrib/X11R6/include $X_CFLAGS"
X_LIBS="-L/usr/contrib/X11R6/lib $X_LIBS"
+ elif test -d /usr/X11R6/include ; then
+ X_CFLAGS="-I/usr/X11R6/include $X_CFLAGS"
+ X_LIBS="-L/usr/X11R6/lib $X_LIBS"
elif test -d /usr/contrib/X11R5/include ; then
X_CFLAGS="-I/usr/contrib/X11R5/include $X_CFLAGS"
X_LIBS="-L/usr/contrib/X11R5/lib $X_LIBS"
+ elif test -d /usr/X11R5/include ; then
+ X_CFLAGS="-I/usr/X11R5/include $X_CFLAGS"
+ X_LIBS="-L/usr/X11R5/lib $X_LIBS"
fi
;;
*-solaris*)
# Same to you, pinheads. (Is this really the standard location now?
# What happened to the joke that this kind of thing went in /opt?)
+ # cthomp says "answer: CDE (Common Disorganized Environment)"
if test -f /usr/dt/include/Xm/Xm.h ; then
X_CFLAGS="$X_CFLAGS -I/usr/dt/include"
X_LIBS="$X_LIBS -L/usr/dt/lib -R:/usr/dt/lib"
fi
+# Some versions of Motif (2.1.0, at least) require -lXp, the "X Printing
+# Extension". Why this extension isn't in -lXext with all the others,
+# I have no idea.
+#
+have_xp_ext=no
+if test $have_motif = yes ; then
+ have_xp_ext=no
+ AC_CHECK_X_LIB(Xp, XpQueryExtension,
+ [have_xp_ext=yes; SAVER_LIBS="$SAVER_LIBS -lXp"],
+ [], -lX11 -lXext -lm)
+fi
+
+
# check for XPM header.
#
have_xpm=no
have_sgivideo=no
AC_CHECK_LIB(vl, vlOpenVideo, have_sgivideo=yes)
if test $have_sgivideo = yes; then
- SGI_VIDEO_OBJS="$(UTILS_SRC)/sgivideo.o"
+ SGI_VIDEO_OBJS="$(UTILS_BIN)/sgivideo.o"
SGI_VIDEO_LIBS="-lvl"
AC_DEFINE(HAVE_SGI_VIDEO)
fi