summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-03-10 04:33:12 (GMT)
committerGitHub <noreply@github.com>2023-03-10 04:33:12 (GMT)
commitf723c1df4235596b98d85c6cff2cb52ecdb39054 (patch)
tree238a320ea92e069286f93c3cca0e45f38a7309f2 /bin
parent28984e72446f54132e6fafc90babb52d9b5e7c9a (diff)
downloadhdf5-f723c1df4235596b98d85c6cff2cb52ecdb39054.zip
hdf5-f723c1df4235596b98d85c6cff2cb52ecdb39054.tar.gz
hdf5-f723c1df4235596b98d85c6cff2cb52ecdb39054.tar.bz2
Update copyright headers. (#2527)
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am1
-rwxr-xr-xbin/bbrelease1
-rwxr-xr-xbin/buildhdf51
-rwxr-xr-xbin/checkapi1
-rwxr-xr-xbin/checkposix1
-rwxr-xr-xbin/chkconfigure2
-rwxr-xr-xbin/chkcopyright79
-rwxr-xr-xbin/debug-ohdr1
-rwxr-xr-xbin/dependencies1
-rwxr-xr-xbin/deploy1
-rwxr-xr-xbin/distdep1
-rwxr-xr-xbin/errors1
-rwxr-xr-xbin/gcov_script1
-rw-r--r--bin/h5cc.in1
-rw-r--r--bin/h5redeploy.in1
-rwxr-xr-xbin/h5vers1
-rwxr-xr-xbin/iostats1
-rwxr-xr-xbin/make_err2
-rwxr-xr-xbin/make_overflow2
-rwxr-xr-xbin/make_vers2
-rwxr-xr-xbin/mkdirs1
-rwxr-xr-xbin/newer1
-rwxr-xr-xbin/pkgscrpts/h5rmflags1
-rwxr-xr-xbin/pkgscrpts/makeHDF5BinaryTarfiles.pl1
-rwxr-xr-xbin/release1
-rw-r--r--bin/runbkgprog1
-rwxr-xr-xbin/switch_maint_mode1
-rwxr-xr-xbin/trace1
-rwxr-xr-xbin/warnhist10
-rwxr-xr-xbin/yodconfigure76
30 files changed, 33 insertions, 163 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am
index 25df36f..96a4969 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -1,6 +1,5 @@
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/bbrelease b/bin/bbrelease
index 9699cf0..c59e2e5 100755
--- a/bin/bbrelease
+++ b/bin/bbrelease
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/buildhdf5 b/bin/buildhdf5
index 786c35d..4c84884 100755
--- a/bin/buildhdf5
+++ b/bin/buildhdf5
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/checkapi b/bin/checkapi
index b1d17b6..619f933 100755
--- a/bin/checkapi
+++ b/bin/checkapi
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/checkposix b/bin/checkposix
index c913cdd..3bc5447 100755
--- a/bin/checkposix
+++ b/bin/checkposix
@@ -4,7 +4,6 @@ use warnings;
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/chkconfigure b/bin/chkconfigure
index b2b53c6..db4010c 100755
--- a/bin/chkconfigure
+++ b/bin/chkconfigure
@@ -1,6 +1,6 @@
#!/bin/sh
##
-## Copyright by the Board of Trustees of the University of Illinois.
+## Copyright by The HDF Group.
## All rights reserved.
##
## This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/chkcopyright b/bin/chkcopyright
index eec371d..daa7b54 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -1,7 +1,6 @@
#! /bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
@@ -39,7 +38,6 @@ NFIXEDFILES=0 # Number of files fixed.
NFIXFAILEDFILES=0 # Number of files fix failed.
NUMBEGINLINES=60 # Copyright notice should be located within the
# this number of lines at the beginning of the file.
-UICOPYRIGHTSTR="Copyright by the Board of Trustees of the University of Illinois"
THGCOPYRIGHTSTR="Copyright by The HDF Group."
PASSEDLOG=/tmp/h5chkright_passed.$$
@@ -111,113 +109,92 @@ BUILDCOPYRIGHT()
# C and C++ source Copyright notice
cat > ${C_COPYRIGHT} << \EOF
* Copyright by The HDF Group. *
- * Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
- * the files COPYING and Copyright.html. COPYING can be found at the root *
- * of the source code distribution tree; Copyright.html can be found at the *
- * root level of an installed copy of the electronic HDF5 document set and *
- * is linked from the top-level documents page. It can also be found at *
- * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
- * access to either file, you may request a copy from help@hdfgroup.org. *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
EOF
# Fortran9X source Copyright notice
cat > ${FTN_COPYRIGHT} << \EOF
! Copyright by The HDF Group. *
-! Copyright by the Board of Trustees of the University of Illinois. *
! All rights reserved. *
! *
! This file is part of HDF5. The full HDF5 copyright notice, including *
! terms governing use, modification, and redistribution, is contained in *
-! the files COPYING and Copyright.html. COPYING can be found at the root *
-! of the source code distribution tree; Copyright.html can be found at the *
-! root level of an installed copy of the electronic HDF5 document set and *
-! is linked from the top-level documents page. It can also be found at *
-! http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
-! access to either file, you may request a copy from help@hdfgroup.org. *
+! the COPYING file, which can be found at the root of the source code *
+! distribution tree, or in https://www.hdfgroup.org/licenses. *
+! If you do not have access to either file, you may request a copy from *
+! help@hdfgroup.org. *
EOF
# HTML file Copyright notice
cat > ${HTM_COPYRIGHT} << \EOF
* Copyright by The HDF Group. *
- * Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
- * the files COPYING and Copyright.html. COPYING can be found at the root *
- * of the source code distribution tree; Copyright.html can be found at the *
- * root level of an installed copy of the electronic HDF5 document set and *
- * is linked from the top-level documents page. It can also be found at *
- * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
- * access to either file, you may request a copy from help@hdfgroup.org. *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
EOF
# Shell style Copyright notice
cat > ${SH_COPYRIGHT} << \EOF
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
-# the files COPYING and Copyright.html. COPYING can be found at the root
-# of the source code distribution tree; Copyright.html can be found at the
-# root level of an installed copy of the electronic HDF5 document set and
-# is linked from the top-level documents page. It can also be found at
-# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-# access to either file, you may request a copy from help@hdfgroup.org.
+# the COPYING file, which can be found at the root of the source code
+# distribution tree, or in https://www.hdfgroup.org/licenses.
+# If you do not have access to either file, you may request a copy from
+# help@hdfgroup.org.
EOF
# Shell style Copyright notice (2nd type)
cat > ${SH_COPYRIGHT2} << \EOF
## Copyright by The HDF Group.
-## Copyright by the Board of Trustees of the University of Illinois.
## All rights reserved.
##
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
-## the files COPYING and Copyright.html. COPYING can be found at the root
-## of the source code distribution tree; Copyright.html can be found at the
-## root level of an installed copy of the electronic HDF5 document set and
-## is linked from the top-level documents page. It can also be found at
-## http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-## access to either file, you may request a copy from help@hdfgroup.org.
+## the COPYING file, which can be found at the root of the source code
+## distribution tree, or in https://www.hdfgroup.org/licenses.
+## If you do not have access to either file, you may request a copy from
+## help@hdfgroup.org.
EOF
# Windows Batch file Copyright notice
cat > ${WINBAT_COPYRIGHT} << \EOF
@REM Copyright by The HDF Group.
-@REM Copyright by the Board of Trustees of the University of Illinois.
@REM All rights reserved.
@REM
@REM This file is part of HDF5. The full HDF5 copyright notice, including
@REM terms governing use, modification, and redistribution, is contained in
-@REM the files COPYING and Copyright.html. COPYING can be found at the root
-@REM of the source code distribution tree; Copyright.html can be found at the
-@REM root level of an installed copy of the electronic HDF5 document set and
-@REM is linked from the top-level documents page. It can also be found at
-@REM http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-@REM access to either file, you may request a copy from help@hdfgroup.org.
+@REM the COPYING file, which can be found at the root of the source code
+@REM distribution tree, or in https://www.hdfgroup.org/licenses.
+@REM If you do not have access to either file, you may request a copy from
+@REM help@hdfgroup.org.
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.
dnl
dnl This file is part of HDF5. The full HDF5 copyright notice, including
dnl terms governing use, modification, and redistribution, is contained in
-dnl the files COPYING and Copyright.html. COPYING can be found at the root
-dnl of the source code distribution tree; Copyright.html can be found at the
-dnl root level of an installed copy of the electronic HDF5 document set and
-dnl is linked from the top-level documents page. It can also be found at
-dnl http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-dnl access to either file, you may request a copy from help@hdfgroup.org.
+dnl the COPYING file, which can be found at the root of the source code
+dnl distribution tree, or in https://www.hdfgroup.org/licenses.
+dnl If you do not have access to either file, you may request a copy from
+dnl help@hdfgroup.org
EOF
}
diff --git a/bin/debug-ohdr b/bin/debug-ohdr
index 7becb42..1106af3 100755
--- a/bin/debug-ohdr
+++ b/bin/debug-ohdr
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/dependencies b/bin/dependencies
index 1171255..b2f2395 100755
--- a/bin/dependencies
+++ b/bin/dependencies
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/deploy b/bin/deploy
index cb9a467..818fa07 100755
--- a/bin/deploy
+++ b/bin/deploy
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/distdep b/bin/distdep
index 693f3a2..fcda217 100755
--- a/bin/distdep
+++ b/bin/distdep
@@ -4,7 +4,6 @@ eval 'exec perl -p -x -S $0 ${1+"$@"}'
if 0;
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/errors b/bin/errors
index 5d23cf1..9473636 100755
--- a/bin/errors
+++ b/bin/errors
@@ -7,7 +7,6 @@ use Text::Tabs;
# CHANGED. THIS SCRIPT NO LONGER WORKS! --rpm
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/gcov_script b/bin/gcov_script
index 679d675..06b2ad1 100755
--- a/bin/gcov_script
+++ b/bin/gcov_script
@@ -1,7 +1,6 @@
#! /bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/h5cc.in b/bin/h5cc.in
index 966bb40..4eef3c9 100644
--- a/bin/h5cc.in
+++ b/bin/h5cc.in
@@ -1,7 +1,6 @@
#! /bin/sh
##
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/h5redeploy.in b/bin/h5redeploy.in
index 86183e8..d73cca7 100644
--- a/bin/h5redeploy.in
+++ b/bin/h5redeploy.in
@@ -1,7 +1,6 @@
#! /bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/h5vers b/bin/h5vers
index 04d5d03..a78c24d 100755
--- a/bin/h5vers
+++ b/bin/h5vers
@@ -7,7 +7,6 @@ require 5.003;
use strict;
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/iostats b/bin/iostats
index c42a1f9..d8a8933 100755
--- a/bin/iostats
+++ b/bin/iostats
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/make_err b/bin/make_err
index f2b044a..31cb964 100755
--- a/bin/make_err
+++ b/bin/make_err
@@ -5,7 +5,6 @@ use warnings;
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
@@ -32,7 +31,6 @@ sub print_copyright ($) {
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
print $fh " * Copyright by The HDF Group. *\n";
- print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
print $fh " * All rights reserved. *\n";
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
diff --git a/bin/make_overflow b/bin/make_overflow
index 37d6ded..33cbdfe 100755
--- a/bin/make_overflow
+++ b/bin/make_overflow
@@ -10,7 +10,6 @@ my @ctypes = ( () );
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
@@ -61,7 +60,6 @@ sub print_copyright ($) {
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
print $fh " * Copyright by The HDF Group. *\n";
- print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
print $fh " * All rights reserved. *\n";
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
diff --git a/bin/make_vers b/bin/make_vers
index ca63557..9ffb9ec 100755
--- a/bin/make_vers
+++ b/bin/make_vers
@@ -19,7 +19,6 @@ $indent = 2;
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
@@ -46,7 +45,6 @@ sub print_copyright ($) {
print $fh "/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n";
print $fh " * Copyright by The HDF Group. *\n";
- print $fh " * Copyright by the Board of Trustees of the University of Illinois. *\n";
print $fh " * All rights reserved. *\n";
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
diff --git a/bin/mkdirs b/bin/mkdirs
index 3a36aa2..4e66eb5 100755
--- a/bin/mkdirs
+++ b/bin/mkdirs
@@ -1,7 +1,6 @@
#! /bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/newer b/bin/newer
index 5f0fdca..c36df03 100755
--- a/bin/newer
+++ b/bin/newer
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/pkgscrpts/h5rmflags b/bin/pkgscrpts/h5rmflags
index d0f87c0..39c4281 100755
--- a/bin/pkgscrpts/h5rmflags
+++ b/bin/pkgscrpts/h5rmflags
@@ -1,7 +1,6 @@
#! /bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl b/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl
index d1042dc..820403f 100755
--- a/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl
+++ b/bin/pkgscrpts/makeHDF5BinaryTarfiles.pl
@@ -2,7 +2,6 @@
# makeTarFiles.pl
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/release b/bin/release
index d2a8958..034aa2f 100755
--- a/bin/release
+++ b/bin/release
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/runbkgprog b/bin/runbkgprog
index b0d4b73..945f5f3 100644
--- a/bin/runbkgprog
+++ b/bin/runbkgprog
@@ -5,7 +5,6 @@ $indent=4;
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/switch_maint_mode b/bin/switch_maint_mode
index af63d6a..9813eeb 100755
--- a/bin/switch_maint_mode
+++ b/bin/switch_maint_mode
@@ -1,7 +1,6 @@
#!/bin/sh
#
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/trace b/bin/trace
index d801e36..8b77831 100755
--- a/bin/trace
+++ b/bin/trace
@@ -1,7 +1,6 @@
#!/usr/bin/env perl
##
# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
diff --git a/bin/warnhist b/bin/warnhist
index 669cbcc..680a0e8 100755
--- a/bin/warnhist
+++ b/bin/warnhist
@@ -8,12 +8,10 @@ use warnings;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
-# the files COPYING and Copyright.html. COPYING can be found at the root
-# of the source code distribution tree; Copyright.html can be found at the
-# root level of an installed copy of the electronic HDF5 document set and
-# is linked from the top-level documents page. It can also be found at
-# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
-# access to either file, you may request a copy from help@hdfgroup.org.
+# the COPYING file, which can be found at the root of the source code
+# distribution tree, or in https://www.hdfgroup.org/licenses.
+# If you do not have access to either file, you may request a copy from
+# help@hdfgroup.org.
#
# Quincey Koziol
# 9 Aug 2013
diff --git a/bin/yodconfigure b/bin/yodconfigure
deleted file mode 100755
index a91507d..0000000
--- a/bin/yodconfigure
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Copyright by The HDF Group.
-# Copyright by the Board of Trustees of the University of Illinois.
-# All rights reserved.
-#
-# This file is part of HDF5. The full HDF5 copyright notice, including
-# terms governing use, modification, and redistribution, is contained in
-# the COPYING file, which can be found at the root of the source code
-# distribution tree, or in https://www.hdfgroup.org/licenses.
-# If you do not have access to either file, you may request a copy from
-# help@hdfgroup.org.
-#
-# Fix configure file so that it can launch configure testing executable
-# via the proper launching command, e.g., yod. (Thus the name yodconfigure
-# is used.)
-#
-# Author: Albert Cheng
-
-if [ "$1" = -f ]; then
- FORCEMODE=yes
- echo turn FORCEMODE to $FORCEMODE
- shift
-fi
-
-if [ $# -ne 1 ]; then
- echo "Usage: $0 [-f] <configure file>"
- echo " -f apply the change even if it has been applied already."
- exit 1
-fi
-confile=$1
-
-if [ ! -w $confile ]; then
- echo "$0: $confile is not writable"
- exit 1
-fi
-
-ACTRY_NAME="ACTRY()"
-if grep ^"$ACTRY_NAME"$ $confile >/dev/null 2>&1 && [ "$FORCEMODE" != yes ]; then
- echo "$0: $confile is already yodconfigure ready. Use -f to force yodconfigure again."
- exit 1
-fi
-
-# Insert the ACTRY function after the 1st line which is the #!/bin/sh.
-# Change all "eval $ac_try" commands to call ACTRY.
-# auto-configure have changed the ac_try syntax from 'eval $ac_try' to
-# 'eval "$ac_try"'. Thus requiring two very similar global-substitute.
-# The single quotes around EOF tell shell NOT to expand or do substitution in
-# the body of ed input.
-#
-ed - $confile <<'EOF'
-1a
-# ===inserted by yodconfigure ====
-# ACTRY will figure out when it is approprirate to run the command by the
-# $RUNSERIAL launcher (e.g., yod -sz 1) and when to just run it as is.
-# So far, ./a.out and ./conftest are names of real executable that should
-# be run by $RUNSERIAL.
-#
-# (uncomment the echo line if you want to see what is going on.)
-ACTRY()
-{
-#echo ACTRY: args are: $* > /dev/tty
-if [ "$1" = ./a.out -o "$1" = ./conftest ]; then
-# echo $RUNSERIAL $* > /dev/tty
- $RUNSERIAL $*
-else
- $*
-fi
-}
-# === end of ACTRY inserted by yodconfigure ====
-.
-g/eval $ac_try/s/eval/eval ACTRY/
-g/eval "$ac_try"/s/eval/eval ACTRY/
-w
-q
-EOF