diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-03-11 22:30:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-03-11 22:30:22 +0000 |
commit | 235933180aab7ecb2a2afc6994c91dd6bbef743e (patch) | |
tree | 3c79a8b1b28e577113c890eb05701ac96c410478 /gnu/usr.bin | |
parent | d64af84a5eb0bb1c650ee3510817773aaf38c392 (diff) |
support non-executable shell scripts
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/lynx/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/lynx/configure b/gnu/usr.bin/lynx/configure index cace2a49ba2..b8e44629271 100644 --- a/gnu/usr.bin/lynx/configure +++ b/gnu/usr.bin/lynx/configure @@ -580,7 +580,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # Make sure we can run config.sub. -if $ac_config_sub sun4 >/dev/null 2>&1; then : +if sh $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi @@ -592,14 +592,14 @@ case "$host_alias" in NONE) case $nonopt in NONE) - if host_alias=`$ac_config_guess`; then : + if host_alias=`sh $ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;; esac -host=`$ac_config_sub $host_alias` +host=`sh $ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |