aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-12 06:12:22 +0000
committerRoland McGrath <roland@gnu.org>2004-08-12 06:12:22 +0000
commit206f5e806d27ba1bd19762751e013c8064fe05ca (patch)
treecdb4b67f73e2f6246fa7fd90172fc6774c998700
parent2e79a6bf20f739abca8bdca7140a8857e1ab9ddc (diff)
downloadglibc-206f5e806d27ba1bd19762751e013c8064fe05ca.zip
glibc-206f5e806d27ba1bd19762751e013c8064fe05ca.tar.gz
glibc-206f5e806d27ba1bd19762751e013c8064fe05ca.tar.bz2
2004-08-11 Roland McGrath <roland@redhat.com>
* configure.in (libc_cv_cpp_asm_debuginfo): Add missing braces around commands inside &&. Reported by Andreas Schwab <schwab@suse.de>. * configure: Regenerated.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index 914ceaf..e3eda44 100755
--- a/configure
+++ b/configure
@@ -6177,7 +6177,7 @@ if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&5'
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
+ (exit $ac_status); }; } && {
ac_pattern='conftest\.S'
{ ac_try='readelf --debug-dump=line conftest.o |
grep $ac_pattern 1>&5'
@@ -6185,7 +6185,8 @@ if { ac_try='${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&5'
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
+ (exit $ac_status); }; }
+ }; then
libc_cv_cpp_asm_debuginfo=yes
else
libc_cv_cpp_asm_debuginfo=no
diff --git a/configure.in b/configure.in
index 099a9e2..e6976ce 100644
--- a/configure.in
+++ b/configure.in
@@ -1675,10 +1675,11 @@ foo:
/* comment */
nop
EOF
-if AC_TRY_COMMAND([${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&AS_MESSAGE_LOG_FD]) &&
+if AC_TRY_COMMAND([${CC-cc} $CPPFLAGS $ASFLAGS -g -c conftest.S 1>&AS_MESSAGE_LOG_FD]) && {
ac_pattern='conftest\.S'
AC_TRY_COMMAND([readelf --debug-dump=line conftest.o |
- grep $ac_pattern 1>&AS_MESSAGE_LOG_FD]); then
+ grep $ac_pattern 1>&AS_MESSAGE_LOG_FD])
+ }; then
libc_cv_cpp_asm_debuginfo=yes
else
libc_cv_cpp_asm_debuginfo=no