summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-13 22:40:16 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-13 22:40:16 +0000
commitda3b7cca9b8997d5072476f96164db717c716c51 (patch)
tree225b23e31a2ca3394ee9afcaf3758dede0f000b7
parent70a0dd6b1ee4ac9dc5d6b4003c65ca8958dda701 (diff)
downloadhaskell-da3b7cca9b8997d5072476f96164db717c716c51.tar.gz
Remove unused FPTOOLS_SHEBANG_PERL
-rw-r--r--aclocal.m419
-rw-r--r--configure.ac3
-rw-r--r--distrib/configure.ac.in1
3 files changed, 0 insertions, 23 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index e23cd436f4..9de541bca1 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1043,25 +1043,6 @@ fi
])# FP_PROG_AR_NEEDS_RANLIB
-dnl
-dnl AC_SHEBANG_PERL - can we she-bang perl?
-dnl
-AC_DEFUN([FPTOOLS_SHEBANG_PERL],
-[AC_CACHE_CHECK([if your perl works in shell scripts], fptools_cv_shebang_perl,
-[echo "#!$PerlCmd"'
-exit $1;
-' > conftest
-chmod u+x conftest
-(SHELL=/bin/sh; export SHELL; ./conftest 69 > /dev/null)
-if test $? -ne 69; then
- fptools_cv_shebang_perl=yes
-else
- fptools_cv_shebang_perl=no
-fi
-rm -f conftest
-])])
-
-
# FP_GCC_VERSION
# -----------
# Extra testing of the result AC_PROG_CC, testing the gcc version no. Sets the
diff --git a/configure.ac b/configure.ac
index 408586c58a..0e341ed4a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -548,9 +548,6 @@ cygwin32|mingw32)
;;
esac
-dnl ** does #! path/to/perl work? (sometimes it's too long...)
-FPTOOLS_SHEBANG_PERL
-
dnl ** check for Python
AC_PATH_PROG(PythonCmd,python)
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index b438bf5cbd..5a26e39203 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -45,7 +45,6 @@ if test -z "$PerlCmd"; then
echo "Perhaps it is already installed, but not in your PATH?"
exit 1
fi
-FPTOOLS_SHEBANG_PERL
#
dnl ** figure out how to do a BSD-ish install **