[Libsysio-commit] LLNL_HPSS: libsysio Rules.make configure.in
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2005-08-26 17:07:36
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26711 Modified Files: Tag: LLNL_HPSS Rules.make configure.in Log Message: Beginning updates for AIX. +Autoconf changes +Directory type changes Index: Rules.make =================================================================== RCS file: /cvsroot/libsysio/libsysio/Rules.make,v retrieving revision 1.10 retrieving revision 1.10.4.1 diff -u -w -b -B -p -r1.10 -r1.10.4.1 --- Rules.make 18 Nov 2004 13:00:44 -0000 1.10 +++ Rules.make 26 Aug 2005 17:07:27 -0000 1.10.4.1 @@ -16,4 +16,4 @@ AM_CPPFLAGS = \ -D_POSIX_C_SOURCE=199506L -D_XOPEN_SOURCE=600 \ $(TRACING) \ $(AUTOMOUNT) $(ZERO_SUM_MEMORY) $(DEV_CPPFLAGS) $(SOCKETS_CPPFLAGS) \ - $(DEFER_INIT_CWD) -I$(top_srcdir)/include + $(DEFER_INIT_CWD) $(SYSIO_LABEL_NAMES) -I$(top_srcdir)/include Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -u -w -b -B -p -r1.20 -r1.20.2.1 --- configure.in 21 May 2005 03:24:27 -0000 1.20 +++ configure.in 26 Aug 2005 17:07:27 -0000 1.20.2.1 @@ -1,8 +1,10 @@ -AC_INIT(libsysio, 1.0) +AC_INIT(libsysio, 1.1) AC_CANONICAL_HOST case "$host_os" in + aix*) + ;; linux*) ;; *) @@ -180,6 +182,27 @@ if test x$with_lustre_hack = xyes; then AC_DEFINE(HAVE_LUSTRE_HACK) fi +AC_ARG_WITH(tracing, + AC_HELP_STRING([--with-tracing], + [enable tracing support]), + [ case "${withval}" in + yes) TRACING=-DSYSIO_TRACING=${withval} ;; + no) ;; + *) AC_MSG_ERROR(bad value ${withval} for --with-tracing) ;; + esac], + [TRACING=-DSYSIO_TRACING=1]) +AC_SUBST(TRACING) + +AC_ARG_WITH(alternate-symbols, + AC_HELP_STRING([--with-alternate-symbols], + [Prepend standard, public, symbols with a unique qualifer]), + [ case "${withval}" in + yes) SYSIO_LABEL_NAMES=-DSYSIO_LABEL_NAMES=sysio_ ;; + no) ;; + *) SYSIO_LABEL_NAMES=-DSYSIO_LABEL_NAMES="${withval}" ;; + esac]) +AC_SUBST(SYSIO_LABEL_NAMES) + # We keep the original values in `$config_*' and never modify them, so we # can write them unchanged into config.make. Everything else uses # $machine, $vendor, and $os, and changes them whenever convenient. @@ -207,6 +230,12 @@ case "$host_os" in # These systems are always xcoff xcoff=yes elf=no + # ... and always needed... + AC_DEFINE(__USE_LARGEFILE64) + AC_DEFINE(_LARGE_FILES) + AC_DEFINE(_LARGE_FILE_API) + AC_DEFINE(_ALL_SOURCE) + AC_DEFINE(_XOPEN_SOURCE_EXTENDED) ;; esac |