diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2010-02-19 19:42:30 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2010-02-19 19:42:30 (GMT) |
commit | d0a61166cc593cd043e3697674d472f7aa85aae3 (patch) | |
tree | 408b8773838b3c8119dae1081fe6999a36496496 /bin | |
parent | 52d87caef30f70ffd798698158b83bf0c2dcdbba (diff) | |
download | hdf5-d0a61166cc593cd043e3697674d472f7aa85aae3.zip hdf5-d0a61166cc593cd043e3697674d472f7aa85aae3.tar.gz hdf5-d0a61166cc593cd043e3697674d472f7aa85aae3.tar.bz2 |
[svn-r18292] Added yodconfigure feature.
Tested in RSQual of Sandia.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/snapshot | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/snapshot b/bin/snapshot index 82bf557..bb02595 100755 --- a/bin/snapshot +++ b/bin/snapshot @@ -199,6 +199,9 @@ while [ $# -gt 0 ] ; do check-vfd) CHECKVAL=check-vfd ;; + yodconfigure) + YODCONFIGURE=yes + ;; --*) OP_CONFIGURE="$OP_CONFIGURE $1" ;; @@ -284,7 +287,14 @@ fi # Setup the proper configure option (--with-zlib) to use zlib library # provide ZLIB is non-empty. ZLIB=${ZLIB:+"--with-zlib="$ZLIB} -CONFIGURE="./configure $ZLIB $OP_CONFIGURE" +if [ -n "$YODCONFIGURE" ]; then + cp configure configure.yod + bin/yodconfigure configure.yod + CONFIGURE="./configure.yod" +else + CONFIGURE="./configure" +fi +CONFIGURE="$CONFIGURE $ZLIB $OP_CONFIGURE" # Execute the requests snapshot=yes |