Thread: [Libsysio-commit] HEAD: libsysio README configure.in
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-08-22 06:18:59
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs1:/tmp/cvs-serv14168 Modified Files: README configure.in Log Message: Configure related changes from Jim Schutt: 1) uses AC_HELP_STRING() to make the help strings look pretty 2) adds a default value of .mount to the option --with-automount. Index: README =================================================================== RCS file: /cvsroot/libsysio/libsysio/README,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -b -B -p -r1.2 -r1.3 --- README 7 Mar 2003 03:31:35 -0000 1.2 +++ README 21 Aug 2003 23:36:09 -0000 1.3 @@ -17,8 +17,8 @@ Option --with-tests=yes will cause the t to be enabled. This is set by default; Use "no" to disable. Option --with-automount=<automount-file-name> will cause automount support -to be included. Normally, this should be set to ".mount", matching the -documentation. +to be included. If <automount-file-name> is not supplied, a default value +of ".mount" will be used, matching the Lustre documentation. To build: Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.8 retrieving revision 1.9 diff -u -w -b -B -p -r1.8 -r1.9 --- configure.in 18 Aug 2003 15:52:20 -0000 1.8 +++ configure.in 21 Aug 2003 23:36:09 -0000 1.9 @@ -20,7 +20,7 @@ AC_HEADER_STAT AC_HEADER_TIME AC_ARG_WITH(native_driver, - [ --with-native-driver build native test driver], + AC_HELP_STRING([--with-native-driver],[build native test driver]), [ case "${withval}" in yes) ;; no) ;; @@ -30,7 +30,7 @@ AC_ARG_WITH(native_driver, AM_CONDITIONAL(WITH_NATIVE_DRIVER, test x$with_native_driver = xyes) AC_ARG_WITH(incore-driver, - [ --with-incore-driver build incore test driver], + AC_HELP_STRING([--with-incore-driver],[build incore test driver]), [ case "${withval}" in yes) ;; no) ;; @@ -40,7 +40,7 @@ AC_ARG_WITH(incore-driver, AM_CONDITIONAL(WITH_INCORE_DRIVER, test x$with_incore_driver = xyes) AC_ARG_WITH(tests, - [ --with-tests build tests], + AC_HELP_STRING([--with-tests],[build tests]), [ case "${withval}" in yes) ;; no) ;; @@ -50,14 +50,18 @@ AC_ARG_WITH(tests, AM_CONDITIONAL(WITH_TESTS, test x$with_tests = xyes) AC_ARG_WITH(automount, - [ --with-automount=[automount-file-name] with automounts], - [ if test x${withval} != x; then + AC_HELP_STRING([--with-automount@<:@=<automount-file-name>@:>@], + [with automounts @<:@<automount-file-name>=.mount@:>@]), + [ if test x${withval} = xyes; then + AUTOMOUNT=-DAUTOMOUNT_FILE_NAME="\\\".mount\\\"" + elif test x${withval} != x; then AUTOMOUNT=-DAUTOMOUNT_FILE_NAME="\\\"${withval}\\\"" fi]) AC_SUBST(AUTOMOUNT) AC_ARG_WITH(stdfd-dev, - [ --with-stdfd-dev build standard file descriptors pseudo-driver], + AC_HELP_STRING([--with-stdfd-dev], + [build standard file descriptors pseudo-driver]), [ case "${withval}" in yes) ;; no) ;; @@ -67,7 +71,7 @@ AC_ARG_WITH(stdfd-dev, AM_CONDITIONAL(WITH_STDFD_DEV, test x$with_stdfd_dev = xyes) AC_ARG_WITH(cplant_yod, - [ --with-cplant-yod build cplant yod I/O driver], + AC_HELP_STRING([--with-cplant-yod],[build cplant yod I/O driver]), [ case "${withval}" in yes) if test x${with_stdfd_dev} != xyes; then with_stdfd_dev=yes @@ -80,7 +84,8 @@ AC_ARG_WITH(cplant_yod, AM_CONDITIONAL(WITH_CPLANT_YOD, test x$with_cplant_yod = xyes) AC_ARG_WITH(cplant_tests, - [ --with-cplant-tests=[cplant build path] build libsysio tests for cplant platform], + AC_HELP_STRING([--with-cplant-tests=<cplant-build-path>], + [build libsysio tests for cplant platform]), [ case "${withval}" in yes) AC_MSG_ERROR(need path to compiler for --with-cplant-tests);; no) with_cplant_tests=no;; |
From: Lee W. <lw...@us...> - 2003-10-10 18:51:59
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs1:/tmp/cvs-serv14350 Modified Files: README configure.in Log Message: Red Storm branch mega-merge. Please, no more changes to any of the Red Storm branches. We'll keep them for reference for awhile but then, they go away. Finally! Index: README =================================================================== RCS file: /cvsroot/libsysio/libsysio/README,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -b -B -p -r1.3 -r1.4 --- README 21 Aug 2003 23:36:09 -0000 1.3 +++ README 10 Oct 2003 18:50:30 -0000 1.4 @@ -53,3 +53,14 @@ is required. They are not on a timer, un one for them. They just disappear as resource is needed elsewhere. As they were automatically mounted to begin with, they should re-establish as needed, transparently. + +REDSTORM +-------- + +The following works for me: + +#!/bin/sh + +export CFLAGS="-DREDSTORM -nostdinc -isystem /home/lee/REDSTORM/catamount/computeincs/i386 -isystem /home/lee/REDSTORM/catamount/include -g -W -Wall -ansi" + +sh configure --with-autmount=".mount" --with-native=yes --with-incore-yes --with-stdfd=yes --with-tests=yes Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -b -B -p -r1.9 -r1.10 --- configure.in 21 Aug 2003 23:36:09 -0000 1.9 +++ configure.in 10 Oct 2003 18:50:30 -0000 1.10 @@ -3,7 +3,7 @@ AC_INIT(libsysio, 0.1) AC_CANONICAL_HOST case "$host_os" in - linux-gnu) + linux*) ;; *) AC_MSG_WARN('***' ${host_os}: Unsupported OS target) @@ -150,7 +150,7 @@ AC_TRY_COMPILE([ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h>], [ -struct stat64 st64; printf("%u\n", sizeof(struct stat64));], +struct stat64 st64;], sysio_largefile64_source_required=no, sysio_largefile64_source_required=maybe) if test x$sysio_largefile64_source_required = xmaybe; then @@ -159,7 +159,7 @@ if test x$sysio_largefile64_source_requi #include <sys/types.h> #include <sys/stat.h> #include <unistd.h>], [ -int i; i = 0;], +struct stat64 st64;], sysio_largefile64_source_required=yes, sysio_largefile64_source_required=no) fi @@ -205,6 +205,11 @@ fi # Check for fdatasync syscall # AC_MSG_CHECKING(for fdatasync system call) +if test x$alpha_linux_env == xyes; then + _syscallnum=SYS_osf_fdatasync +else + _syscallnum=SYS_fdatasync +fi AC_TRY_COMPILE([ #include <syscall.h> extern int syscall();], @@ -213,8 +218,8 @@ syscall(SYS_fdatasync, fd);], syscall_fdatasync_exists=yes, syscall_fdatasync_exists=no) AC_MSG_RESULT($syscall_fdatasync_exists) -if test x$syscall_fdatasync_exists = xno; then - AC_DEFINE(USE_NATIVE_FDATASYNC) +if test x$syscall_fdatasync_exists = xyes; then + AC_DEFINE_UNQUOTED(NATIVE_FDATASYNC, $_syscallnum) fi # Check for SYS_utime |