summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
commit612af6440b664bbd7888128ffacacb5cb9867b36 (patch)
tree38473f6e315f4aae607e3f1d23a50f55c5081fce /bin/chkcopyright
parent0bc6398ec400c55b6ded5381d1c01bfb675589cb (diff)
downloadhdf5-612af6440b664bbd7888128ffacacb5cb9867b36.zip
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.gz
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.bz2
[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
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright22
1 files changed, 11 insertions, 11 deletions
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 '^<html>' < $tmpfile > /dev/null || \
grep '^<!--' < $tmpfile > /dev/null ; then
# Some lines start with a "<html>" or having an html comment tag.
@@ -827,8 +827,8 @@ while read file; do
*Makefile | *Makefile.in | *Makefile.am | Makefile.dist )
MAKE_FILE ${file}
;;
- configure.in )
- CONFIGURE_IN_FILE ${file}
+ configure.ac )
+ CONFIGURE_AC_FILE ${file}
;;
*.bat | *.BAT )
# Windows Batch files