From 612af6440b664bbd7888128ffacacb5cb9867b36 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 28 Aug 2012 14:11:34 -0500 Subject: [svn-r22724] Convert tests to *.sh.in. Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest --- MANIFEST | 14 +- Makefile.in | 13 +- bin/chkcopyright | 22 +- bin/h5vers | 14 +- bin/reconfigure | 16 +- c++/Makefile.in | 29 +- c++/examples/Makefile.am | 2 +- c++/examples/Makefile.in | 42 +- c++/examples/testh5c++.sh.in | 7 +- c++/src/Makefile.in | 29 +- c++/test/Makefile.in | 31 +- config/Makefile.am.blank | 2 +- config/commence.am | 7 - config/conclude.am | 19 +- config/examples.am | 9 +- configure | 10 +- configure.ac | 4589 +++++++++++++++++++++++++++++++++ configure.in | 4583 -------------------------------- examples/Makefile.am | 4 +- examples/Makefile.in | 44 +- examples/testh5cc.sh.in | 7 +- fortran/Makefile.in | 29 +- fortran/examples/Makefile.am | 6 +- fortran/examples/Makefile.in | 44 +- fortran/examples/testh5fc.sh.in | 7 +- fortran/src/Makefile.in | 29 +- fortran/test/Makefile.in | 31 +- fortran/testpar/Makefile.in | 31 +- hl/Makefile.in | 29 +- hl/c++/Makefile.in | 29 +- hl/c++/examples/Makefile.am | 2 +- hl/c++/examples/Makefile.in | 40 +- hl/c++/src/Makefile.in | 29 +- hl/c++/test/Makefile.in | 31 +- hl/examples/Makefile.am | 4 +- hl/examples/Makefile.in | 42 +- hl/fortran/Makefile.in | 29 +- hl/fortran/examples/Makefile.am | 4 +- hl/fortran/examples/Makefile.in | 42 +- hl/fortran/src/Makefile.in | 29 +- hl/fortran/test/Makefile.in | 31 +- hl/src/Makefile.in | 29 +- hl/test/Makefile.in | 31 +- hl/tools/Makefile.in | 29 +- hl/tools/gif2h5/Makefile.am | 2 +- hl/tools/gif2h5/Makefile.in | 40 +- hl/tools/gif2h5/h52giftest.sh | 73 - hl/tools/gif2h5/h52giftest.sh.in | 73 + perform/Makefile.in | 34 +- release_docs/RELEASE.txt | 4 + src/H5config.h.in | 2 +- src/H5private.h | 4 +- src/Makefile.in | 29 +- test/Makefile.in | 31 +- test/testcheck_version.sh.in | 7 +- test/testerror.sh.in | 7 +- test/testlibinfo.sh.in | 2 + test/testlinks_env.sh.in | 7 +- testpar/Makefile.in | 32 +- testpar/testph5.sh.in | 5 - tools/Makefile.in | 29 +- tools/h5copy/Makefile.am | 3 +- tools/h5copy/Makefile.in | 40 +- tools/h5copy/testh5copy.sh | 560 ---- tools/h5copy/testh5copy.sh.in | 557 ++++ tools/h5diff/Makefile.am | 4 +- tools/h5diff/Makefile.in | 42 +- tools/h5diff/testh5diff.sh | 1110 -------- tools/h5diff/testh5diff.sh.in | 1105 ++++++++ tools/h5diff/testph5diff.sh | 67 - tools/h5diff/testph5diff.sh.in | 64 + tools/h5dump/Makefile.in | 31 +- tools/h5import/Makefile.am | 2 +- tools/h5import/Makefile.in | 40 +- tools/h5import/h5importtestutil.sh | 364 --- tools/h5import/h5importtestutil.sh.in | 361 +++ tools/h5jam/Makefile.in | 31 +- tools/h5jam/testh5jam.sh.in | 7 +- tools/h5ls/Makefile.in | 31 +- tools/h5ls/testh5ls.sh.in | 8 +- tools/h5repack/Makefile.in | 31 +- tools/h5repack/h5repack.sh.in | 9 +- tools/h5stat/Makefile.in | 31 +- tools/h5stat/testh5stat.sh.in | 7 +- tools/lib/Makefile.in | 31 +- tools/misc/Makefile.am | 2 +- tools/misc/Makefile.in | 42 +- tools/misc/testh5mkgrp.sh | 243 -- tools/misc/testh5mkgrp.sh.in | 241 ++ tools/misc/testh5repart.sh.in | 7 +- vms/src/h5pubconf.h | 2 +- 91 files changed, 7788 insertions(+), 7766 deletions(-) create mode 100644 configure.ac delete mode 100644 configure.in delete mode 100644 hl/tools/gif2h5/h52giftest.sh create mode 100644 hl/tools/gif2h5/h52giftest.sh.in delete mode 100644 tools/h5copy/testh5copy.sh create mode 100644 tools/h5copy/testh5copy.sh.in delete mode 100755 tools/h5diff/testh5diff.sh create mode 100755 tools/h5diff/testh5diff.sh.in delete mode 100755 tools/h5diff/testph5diff.sh create mode 100755 tools/h5diff/testph5diff.sh.in delete mode 100755 tools/h5import/h5importtestutil.sh create mode 100755 tools/h5import/h5importtestutil.sh.in delete mode 100644 tools/misc/testh5mkgrp.sh create mode 100644 tools/misc/testh5mkgrp.sh.in diff --git a/MANIFEST b/MANIFEST index 81f6e5e..a8840d2 100644 --- a/MANIFEST +++ b/MANIFEST @@ -32,7 +32,7 @@ ./aclocal.m4 ./acsite.m4 ./configure -./configure.in +./configure.ac ./bin/COPYING ./bin/buildhdf5 @@ -1014,7 +1014,7 @@ ./tools/h5import/h5import.h ./tools/h5import/h5import.c ./tools/h5import/h5importtest.c -./tools/h5import/h5importtestutil.sh +./tools/h5import/h5importtestutil.sh.in # testfiles for h5import ./tools/h5import/testfiles/binfp64.conf @@ -1075,8 +1075,8 @@ ./tools/h5diff/h5diff_main.c ./tools/h5diff/ph5diff_main.c ./tools/h5diff/h5diffgentest.c -./tools/h5diff/testh5diff.sh -./tools/h5diff/testph5diff.sh +./tools/h5diff/testh5diff.sh.in +./tools/h5diff/testph5diff.sh.in # h5repack sources ./tools/h5repack/Makefile.am @@ -1101,7 +1101,7 @@ ./tools/h5ls/testh5ls.sh.in # h5copy sources -./tools/h5copy/testh5copy.sh +./tools/h5copy/testh5copy.sh.in ./tools/h5copy/Makefile.in ./tools/h5copy/h5copy.c ./tools/h5copy/h5copygentest.c @@ -1142,7 +1142,7 @@ ./tools/misc/h5repart.c ./tools/misc/h5repart_gentest.c ./tools/misc/repart_test.c -./tools/misc/testh5mkgrp.sh +./tools/misc/testh5mkgrp.sh.in ./tools/misc/testh5repart.sh.in ./tools/misc/talign.c ./tools/misc/testfiles/h5mkgrp_help.txt @@ -2063,7 +2063,7 @@ ./hl/tools/gif2h5/hdfgifwr.c ./hl/tools/gif2h5/writehdf.c ./hl/tools/gif2h5/h52gifgentst.c -./hl/tools/gif2h5/h52giftest.sh +./hl/tools/gif2h5/h52giftest.sh.in ./hl/tools/gif2h5/testfiles/image1.gif ./hl/tools/gif2h5/testfiles/h52giftst.h5 diff --git a/Makefile.in b/Makefile.in index d302360..e9b2267 100644 --- a/Makefile.in +++ b/Makefile.in @@ -93,7 +93,7 @@ DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \ bin/missing bin/mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ @@ -178,7 +178,7 @@ distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print -ACLOCAL = /home1/packages/automake/automake-1.9.6/bin/aclocal-1.9 -I /afs/ncsa/projects/hdf/packages/libtool_1.5.14/Linux_2.4/share/aclocal +ACLOCAL = @ACLOCAL@ ADD_PARALLEL_FILES = @ADD_PARALLEL_FILES@ AMTAR = @AMTAR@ @@ -196,12 +196,9 @@ AM_LDFLAGS = @AM_LDFLAGS@ @H5_LDFLAGS@ AM_MAKEFLAGS = @AM_MAKEFLAGS@ AR = @AR@ AS = @AS@ - -# Set the paths for AFS installs of autotools for Linux machines -# Ideally, these tools should never be needed during the build. -AUTOCONF = /home1/packages/autoconf/autoconf-2.60/bin/autoconf -AUTOHEADER = /home1/packages/autoconf/autoconf-2.60/bin/autoheader -AUTOMAKE = /home1/packages/automake/automake-1.9.6/bin/automake-1.9 +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BYTESEX = @BYTESEX@ CC = @CC@ diff --git a/bin/chkcopyright b/bin/chkcopyright index f5ad67a54..fe9fe49 100755 --- a/bin/chkcopyright +++ b/bin/chkcopyright @@ -57,7 +57,7 @@ SH_COPYRIGHT=/tmp/h5chkright_SH.$$ # SHELL style copyright SH_COPYRIGHT2=/tmp/h5chkright_SH2.$$ # SHELL style copyright, 2nd style. WINBAT_COPYRIGHT=/tmp/h5chkright_WINBAT.$$ # Windows Batch file Copyright notice VMSCMD_COPYRIGHT=/tmp/h5chkright_VMSCMD.$$ # VMS command file Copyright notice -CONFIGURE_IN_COPYRIGHT=/tmp/h5chkright_CONFIGURE_IN.$$ # configure.in file Copyright notice +CONFIGURE_AC_COPYRIGHT=/tmp/h5chkright_CONFIGURE_AC.$$ # configure.ac file Copyright notice tmpfixfile=/tmp/h5chkright_fix.$$ # Temporary fixed copy of file @@ -207,8 +207,8 @@ EOF @REM access to either file, you may request a copy from help@hdfgroup.org. EOF - # configure.in file Copyright notice - cat > ${CONFIGURE_IN_COPYRIGHT} << \EOF + # configure.ac file Copyright notice + cat > ${CONFIGURE_AC_COPYRIGHT} << \EOF dnl Copyright by The HDF Group. dnl Copyright by the Board of Trustees of the University of Illinois. dnl All rights reserved. @@ -635,10 +635,10 @@ VMSCMD_FILE() # Check Configure.in type files # -CONFIGURE_IN_FILE() +CONFIGURE_AC_FILE() { f=$1 - case `MATCH_COPYRIGHT $CONFIGURE_IN_COPYRIGHT $f` in + case `MATCH_COPYRIGHT $CONFIGURE_AC_COPYRIGHT $f` in PASSED) PASSED $f return @@ -646,9 +646,9 @@ CONFIGURE_IN_FILE() FAILED) # show the difference FAILED $f - $DIFF ${EXTRACTEDFILE} ${CONFIGURE_IN_COPYRIGHT} + $DIFF ${EXTRACTEDFILE} ${CONFIGURE_AC_COPYRIGHT} if [ -n "$FIXIT" ]; then - FIX_COPYRIGHT $CONFIGURE_IN_COPYRIGHT $f + FIX_COPYRIGHT $CONFIGURE_AC_COPYRIGHT $f fi ;; esac @@ -681,8 +681,8 @@ GUESS_File_Type() # Put this after C_SOURCE which may have #define and such lines. echo SHELL_FILE elif grep '^dnl' < $tmpfile > /dev/null; then - # Some lines start with a "dnl". It may be a configure.in type file. - echo CONFIGURE_IN_FILE + # Some lines start with a "dnl". It may be a configure.ac type file. + echo CONFIGURE_AC_FILE elif grep -i '^' < $tmpfile > /dev/null || \ grep '^