OSSP CVS Repository

ossp - Check-in [2425]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2425
Date: 2002-Jul-30 11:42:54 (local)
2002-Jul-30 09:42:54 (UTC)
User:thl
Branch:
Comment: take HAVE_VSYSLOG_USVALIST over from old fakesyslog
Tickets:
Inspections:
Files:
ossp-pkg/fsl/TODO      1.3 -> 1.4     0 inserted, 1 deleted
ossp-pkg/fsl/configure.ac      1.8 -> 1.9     15 inserted, 0 deleted

ossp-pkg/fsl/TODO 1.3 -> 1.4

--- TODO 2002/07/29 14:42:05     1.3
+++ TODO 2002/07/30 09:42:54     1.4
@@ -1,5 +1,4 @@
 - is readfileorallfiles() really reasonable?
-- what about HAVE_VSYSLOG_USVALIST
 - allow syslog() without previous openlog()?!
 - cfg_destroy fixing and use it
 - runtime version check for sub libraries


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)],

CVSTrac 2.0.1