* Fix dgl-create-chroot's copying of terminfo - the terminfo dir
might be full of symlinks, so dereference them by passing -L to
cp. It's SUSv3, honest!
+ * Now compiles with Tiny C Compiler.
1.4.5 (2004/06/14)
* Reset offset if necessary to show at least one game to avoid things
;;
esac
+AC_MSG_CHECKING([for Solaris cc])
+case "`$CC -V 2>&1`" in
+ *Sun*WorkShop* | *Forte*Developer*)
+ AC_MSG_RESULT(yes)
+ suncc=yes
+ ;;
+ *)
+ AC_MSG_RESULT(no)
+ ;;
+esac
+
if test "$ac_cv_c_compiler_gnu" = yes; then
CFLAGS="$CFLAGS -Wall -Wno-unused"
MKDEP="$CC -MM"
MKDEP_DIRECT="> .depend"
+elif test "$suncc" = yes; then
+ MKDEP="$CC -xM"
+ # -xM is noisy
+ MKDEP_DIRECT="> .depend 2>/dev/null"
else
AC_CHECK_PROG(MKDEP, mkdep, mkdep,)
if test -z "$MKDEP"; then