diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 80fe259b32..939fda8a4e 100644 --- a/configure.in +++ b/configure.in @@ -81,7 +81,8 @@ AC_ARG_ENABLE(versioning, dnl dnl Generic infrastructure for drop-in additions to libc. AC_ARG_ENABLE(add-ons, dnl -[ --enable-add-ons=DIR1,DIR2... configure and build named extra directories], +[ --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'`;; @@ -830,6 +831,26 @@ fi rm -f conftest*]) AC_SUBST(libc_cv_gcc_no_exceptions)dnl +if test "$base_machine" = alpha ; then +AC_CACHE_CHECK(for function ..ng prefix, libc_cv_gcc_alpha_ng_prefix, [dnl +cat > conftest.c <<\EOF +foo () { } +EOF +dnl +if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep '$foo..ng' > /dev/null]); +then + libc_cv_gcc_alpha_ng_prefix=yes +else + libc_cv_gcc_alpha_ng_prefix=no +fi +rm -f conftest* ]) +if test $libc_cv_gcc_alpha_ng_prefix = yes ; then + AC_DEFINE(ASM_ALPHA_NG_SYMBOL_PREFIX, "$") +else + AC_DEFINE(ASM_ALPHA_NG_SYMBOL_PREFIX, "") +fi +fi + AC_CACHE_CHECK(for DWARF2 unwind info support, libc_cv_gcc_dwarf2_unwind_info, [cat > conftest.c <<EOF #line __oline__ "configure" |