Commit 0a0db525 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Rémi Denis-Courmont

autoconf: Don't hardcode shell in templates

parent b09cb197
......@@ -5090,7 +5090,10 @@ dnl Do we have to use make or gmake ?
USE_MAKE_OR_GMAKE=`case "${SYS}" in openbsd*) echo "gmake";; *) echo "make";; esac`
dnl Shortcut to nice compile message
rm -f compile
echo '#! /bin/sh' >compile
if test -n $SHELL; then
SHELL=${CONFIG_SHELL-/bin/sh}
fi
echo '#! '$SHELL >compile
echo rm -f .error\$\$ >>compile
echo ERROR=0 >>compile
echo export PATH=$PATH LANG=C >>compile
......
#!/bin/sh
#!@SHELL@
prefix="@prefix@"
exec_prefix="@exec_prefix@"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment