--- src/mpi/romio/configure.orig 2007-12-15 17:34:03.000000000 -0800 +++ src/mpi/romio/configure 2007-12-15 18:15:12.000000000 -0800 @@ -1925,6 +1925,12 @@ # Check whether --with-pvfs2 was given. if test "${with_pvfs2+set}" = set; then withval=$with_pvfs2; + if test "x$withval" = "xno" ; then + without_pvfs2=yes + with_pvfs2="" + fi +else + without_pvfs2=yes fi @@ -7574,11 +7580,16 @@ if test $PVFS2_CONFIG != "notfound" ; then - CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)" - LIBS="$LIBS $( $PVFS2_CONFIG --libs)" - ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" - FILE_SYSTEM="pvfs2 $FILE_SYSTEM" - file_system_pvfs2=1 + if test "x$without_pvfs2" = "xyes" ; then + ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" + file_system_pvfs2=0 + else + CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)" + LIBS="$LIBS $( $PVFS2_CONFIG --libs)" + ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" + FILE_SYSTEM="pvfs2 $FILE_SYSTEM" + file_system_pvfs2=1 + fi fi if test "$PVFS2_CONFIG" = "notfound" -a -n "$with_pvfs2" ; then