[Libsysio-commit] libsysio configure.in,1.5,1.5.2.1
Brought to you by:
lward
From: <rk...@us...> - 2003-04-28 20:16:18
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs1:/tmp/cvs-serv15548 Modified Files: Tag: cplant configure.in Log Message: add cplant-yod configure option Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** configure.in 26 Mar 2003 00:05:59 -0000 1.5 --- configure.in 28 Apr 2003 20:16:13 -0000 1.5.2.1 *************** *** 20,38 **** AC_HEADER_TIME ! AC_ARG_WITH(with_native_driver, [ --with-native-driver build native test driver], ! [ with_native_driver=${withval} ! case "${withval}" in yes) ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-native-driver) ;; ! esac], ! [with_native_driver=yes]) AM_CONDITIONAL(WITH_NATIVE_DRIVER, test x$with_native_driver = xyes) ! AC_ARG_WITH(with_incore_driver, [ --with-incore-driver build incore test driver], ! [ with_incore_driver=${withval} ! case "${withval}" in yes) ;; no) ;; --- 20,36 ---- AC_HEADER_TIME ! AC_ARG_WITH(native_driver, [ --with-native-driver build native test driver], ! [ case "${withval}" in yes) ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-native-driver) ;; ! esac;], ! [with_native_driver=yes;]) AM_CONDITIONAL(WITH_NATIVE_DRIVER, test x$with_native_driver = xyes) ! AC_ARG_WITH(incore-driver, [ --with-incore-driver build incore test driver], ! [ case "${withval}" in yes) ;; no) ;; *************** *** 42,49 **** AM_CONDITIONAL(WITH_INCORE_DRIVER, test x$with_incore_driver = xyes) ! AC_ARG_WITH(with_tests, [ --with-tests build tests], ! [ with_tests=${withval} ! case "${withval}" in yes) ;; no) ;; --- 40,46 ---- AM_CONDITIONAL(WITH_INCORE_DRIVER, test x$with_incore_driver = xyes) ! AC_ARG_WITH(tests, [ --with-tests build tests], ! [ case "${withval}" in yes) ;; no) ;; *************** *** 55,71 **** AC_ARG_WITH(automount, [ --with-automount=[automount-file-name] with automounts], ! with_automount=$withval, ! [with_automount=]) ! if test x$with_automount != x; then ! AUTOMOUNT=-DAUTOMOUNT_FILE_NAME="\\\"$with_automount\\\"" ! fi AC_SUBST(AUTOMOUNT) ! AC_ARG_WITH(with_stdfd_dev, [ --with-stdfd-dev build standard file descriptors pseudo-driver], ! [ with_stdfd_dev=${withval} ! case "${withval}" in ! yes) ! ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-stdfd-dev) ;; --- 52,64 ---- AC_ARG_WITH(automount, [ --with-automount=[automount-file-name] with automounts], ! [ if 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], ! [ case "${withval}" in ! yes) ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-stdfd-dev) ;; *************** *** 74,77 **** --- 67,93 ---- AM_CONDITIONAL(WITH_STDFD_DEV, test x$with_stdfd_dev = xyes) + AC_ARG_WITH(cplant_yod, + [ --with-cplant-yod=[portals-include-path] build cplant yod I/O driver], + [ case "${withval}" in + yes) + AC_MSG_ERROR(missing include dir argument for --with-cplant-yod);; + no);; + *) + if test -d ${withval}; then + PORTALS_INCLUDE="-I${withval} -I${withval}/sys" + YOD_DRIVER_INCLUDE="-I../../drivers/yod" + AC_CONFIG_FILES(drivers/yod/Makefile) + if test x${with_stdfd_dev} != xyes; then + with_stdfd_dev=yes + AM_CONDITIONAL(WITH_STDFD_DEV, test x$with_stdfd_dev = xyes) + fi + else + AC_MSG_ERROR(include dir ${withval} not found for --with-cplant-yod) + fi;; + esac]) + AM_CONDITIONAL(WITH_CPLANT_YOD, test x$with_cplant_yod != xno) + AC_SUBST(PORTALS_INCLUDE) + AC_SUBST(YOD_DRIVER_INCLUDE) + # We keep the original values in `$config_*' and never modify them, so we # can write them unchanged into config.make. Everything else uses *************** *** 323,324 **** --- 339,341 ---- dev/stdfd/Makefile tests/Makefile) + |