aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-03-16 11:12:50 -0700
committerRoland McGrath <roland@hack.frob.com>2012-03-16 11:12:50 -0700
commit10a803e0a2ed04ba1f5e7931121acbb0f8383e9b (patch)
tree36be05894483e1b4d66aebbff9c89c0192a6442c /configure.in
parentf196c7f7afe356c2d99502e8f30efff87a8a718a (diff)
downloadglibc-10a803e0a2ed04ba1f5e7931121acbb0f8383e9b.tar
glibc-10a803e0a2ed04ba1f5e7931121acbb0f8383e9b.tar.gz
glibc-10a803e0a2ed04ba1f5e7931121acbb0f8383e9b.tar.bz2
glibc-10a803e0a2ed04ba1f5e7931121acbb0f8383e9b.zip
Use sysdeps/*/preconfigure fragments from main source tree.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 4 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 119d5be944..ee5e856306 100644
--- a/configure.in
+++ b/configure.in
@@ -317,6 +317,9 @@ AC_ARG_WITH([cpu],
esac
])
+dnl Let sysdeps/*/preconfigure act here, like they can in add-ons.
+LIBC_PRECONFIGURE([$srcdir], [for sysdeps])
+
# An add-on can set this when it wants to disable the sanity check below.
libc_config_ok=no
@@ -436,16 +439,7 @@ relative path required for add-on using \$libc_add_on_config_subdirs) ;;
}
fi
if test -n "$libc_add_on"; then
- if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
- then
- AC_MSG_CHECKING(add-on $libc_add_on for preconfigure fragments)
- for frag in $frags; do
- name=`echo "$frag" | sed 's@/[[^/]]*$@@;s@^.*/@@'`
- echo $ECHO_N "$name $ECHO_C" >&AS_MESSAGE_FD
- . "$frag"
- done
- AC_MSG_RESULT()
- fi
+ LIBC_PRECONFIGURE([$libc_add_on_srcdir], [add-on $libc_add_on for])
use_add_ons="$use_add_ons $libc_add_on"
add_ons_pfx="$add_ons_pfx $libc_add_on/"
test -z "$libc_add_on_canonical" ||