Index: ossp-pkg/fsl/TODO RCS File: /v/ossp/cvs/ossp-pkg/fsl/Attic/TODO,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/fsl/Attic/TODO,v' 2>/dev/null --- 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 Index: ossp-pkg/fsl/configure.ac RCS File: /v/ossp/cvs/ossp-pkg/fsl/configure.ac,v rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/fsl/configure.ac,v' 2>/dev/null --- 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)],