Commit 752bd872 authored by Pontus Freyhult's avatar Pontus Freyhult

If an absolute path is given for --with-scheme, don't AC_PATH_PROG but

just use it.

Rev: configure.in:1.138
parent 0cb835cb
......@@ -222,7 +222,15 @@ fi
# Use a particular scheme implementation?
if test x$with_scheme != x ; then
AC_PATH_PROG(SCHEME_PROGRAM, $with_scheme,, $PATH)
# If an absolute path is given, don't AC_PATH_PROG but just use it
if grep "^/" > /dev/null <<EOF
$with_scheme
EOF
then
SCHEME_PROGRAM="$with_scheme"
else
AC_PATH_PROG(SCHEME_PROGRAM, $with_scheme,, $PATH)
fi
else
AC_PATH_PROGS(SCHEME_PROGRAM, guile scsh,, $PATH)
fi
......
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