diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-12-24 21:05:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-12-24 21:05:09 +0000 |
commit | 3c37f45c06afe170cf1c3b68d4145cb023386c54 (patch) | |
tree | ae123b959fe9fda54a230efecb7d26e356b5e799 | |
parent | 0497df82f58e4bb777ccbd3a9bf9a81294f51414 (diff) |
Fix type. Correct check for available add-ons.
-rw-r--r-- | configure.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 17254f2a44..b743df0f54 100644 --- a/configure.in +++ b/configure.in @@ -79,7 +79,7 @@ AC_ARG_ENABLE(omitfp, dnl dnl Some gcc versions have problems with omit-frame-pointer. Warn about this. if test $omitfp = yes; then echo "*** Not all versions of GCC compile code correctly when the" - echo "*** -fomit-frame-pointer version is used. You are on your own" + echo "*** -fomit-frame-pointer option is used. You are on your own" echo "*** if you use it." fi @@ -88,8 +88,12 @@ AC_ARG_ENABLE(add-ons, dnl [ --enable-add-ons[=DIR1,DIR2]... configure and build add-ons in DIR1,DIR2,... search for add-ons if no parameter given], [case "$enableval" in - yes) add_ons=`echo $srcdir/*/configure | \ - sed -e "s!$srcdir/!!g" -e 's!/configure!!g'`;; + yes) if test "$srcdir" = "."; then + add_ons=`echo */configure | sed -e 's!/configure$!!g'` + else + add_ons=`echo $srcdir/*/configure | \ + sed -e "s!^$srcdir/!!g" -e 's!/configure$!!g'` + fi;; *) add_ons=`echo "$enableval" | sed 's/,/ /g'`;; esac], [add_ons=]) |