Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/da3b7cca9b8997d5072476f96164db717c716c51

>---------------------------------------------------------------

commit da3b7cca9b8997d5072476f96164db717c716c51
Author: Ian Lynagh <i...@well-typed.com>
Date:   Tue Nov 13 22:40:16 2012 +0000

    Remove unused FPTOOLS_SHEBANG_PERL

>---------------------------------------------------------------

 aclocal.m4              |   19 -------------------
 configure.ac            |    3 ---
 distrib/configure.ac.in |    1 -
 3 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index e23cd43..9de541b 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 408586c..0e341ed 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 b438bf5..5a26e39 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 **



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to