aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-07-19 10:05:00 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-07-19 10:19:32 -0700
commit1942576bb11c2d85dad8c6f3e4438226d285dd0c (patch)
treed2c31ee9bfa6dce238c487240002dfa57fd6c9e6 /configure
parentf39df7ff83f8ebf9a0ccd0ef26751cf6a6606f79 (diff)
downloadglibc-hjl/implies.tar.xz
glibc-hjl/implies.zip
Change Implies to shell scripthjl/implies
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 1 insertions, 10 deletions
diff --git a/configure b/configure
index fab64655a8..55c7fe920d 100755
--- a/configure
+++ b/configure
@@ -4278,18 +4278,9 @@ while test $# -gt 0; do
if test -f $xsrcdir$name/Implies; then
# Collect more names from the `Implies' file (removing comments).
- implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
+ implied_candidate="`. $xsrcdir$name/Implies`"
implied=
for x in $implied_candidate; do
- case $x in
- "\$"*:*:*)
- implied_var="`echo $x | sed 's/:.*$//'`"
- eval "implied_var=$implied_var"
- implied_cond="`echo $x | sed 's/.*:\(.*\):.*$/\1/'`"
- test "$implied_var" = "$implied_cond" || continue
- x="`echo $x | sed 's/.*://'`"
- ;;
- esac
found=no
if test -d $xsrcdir$name_base/$x; then
implied="$implied $name_base/$x";