From: Ulrich Drepper Date: Wed, 24 Dec 1997 21:05:09 +0000 (+0000) Subject: Fix type. Correct check for available add-ons. X-Git-Tag: cvs/glibc-2_0_6pre6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c37f45c06afe170cf1c3b68d4145cb023386c54;p=thirdparty%2Fglibc.git Fix type. Correct check for available add-ons. --- diff --git a/configure.in b/configure.in index 17254f2a44a..b743df0f54e 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=])