substitute EXEEXT in bound_test.sh and pip_test.sh
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 9 Jul 2011 16:28:24 +0000 (18:28 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 9 Jul 2011 16:28:24 +0000 (18:28 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am
bound_test.sh.in [moved from bound_test.sh with 97% similarity]
configure.ac
pip_test.sh.in [moved from pip_test.sh with 95% similarity]

index 625472f..e3e96d0 100644 (file)
@@ -239,8 +239,6 @@ EXTRA_DIST = \
        doc/mypod2latex \
        doc/manual.tex \
        doc/user.pod \
-       bound_test.sh \
-       pip_test.sh \
        test_inputs
 
 dist-hook:
similarity index 97%
rename from bound_test.sh
rename to bound_test.sh.in
index f26dd1b..e3fc037 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+EXEEXT=@EXEEXT@
+
 BOUND_TESTS="\
        basicLinear2.pwqp \
        basicLinear.pwqp \
index 57b592a..d7517e5 100644 (file)
@@ -100,6 +100,8 @@ AC_CONFIG_HEADERS(isl_config.h)
 AC_CONFIG_HEADERS(include/isl/config.h)
 AC_CONFIG_FILES(Makefile)
 AC_CONFIG_FILES(doc/Makefile)
+AC_CONFIG_FILES([bound_test.sh], [chmod +x bound_test.sh])
+AC_CONFIG_FILES([pip_test.sh], [chmod +x pip_test.sh])
 AC_CONFIG_COMMANDS_POST([
        dnl pass on arguments to subdir configures, but don't
        dnl add them to config.status
similarity index 95%
rename from pip_test.sh
rename to pip_test.sh.in
index 1d8d57a..cdc5fb9 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+EXEEXT=@EXEEXT@
+
 PIP_TESTS="\
        boulet.pip \
        brisebarre.pip \