ossp-pkg/fsl/configure.ac 1.8 -> 1.9
--- configure.ac 2002/07/27 18:13:51 1.8
+++ configure.ac 2002/07/30 09:42:54 1.9
@@ -91,6 +91,21 @@
AC_SUBST(LIB_DEPS)
AC_CONFIG_SUBDIRS([$SUBDIR_L2 $SUBDIR_CFG $SUBDIR_PCRE])
+AC_MSG_CHECKING(for platform)
+PLATFORM=`sh ./config.guess`
+if test ".$PLATFORM" != .; then
+ PLATFORM=`sh ./config.sub $PLATFORM`
+fi
+AC_MSG_RESULT([$PLATFORM])
+case $PLATFORM in
+ *-*-solaris2.[[6-9]]* )
+ AC_DEFINE(HAVE_VSYSLOG_USVALIST, 1, [vsyslog(3) uses __va_list])
+ ;;
+ *-*-osf* )
+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
+ ;;
+esac
+
AC_MSG_CHECKING(for configuration directory)
AC_ARG_WITH(cfgdir,dnl
[ --with-cfgdir=PATH set configuration directory (default=PREFIX/etc/fsl)],
|
|