From 1b015bec9db1b6c2f0bd948e1a9c001240ddd993 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 13 Sep 1998 22:37:15 +0000 Subject: [PATCH] configure.in: remove usage of `!' to negate the result of a command... * configure.in: remove usage of `!' to negate the result of a command; some common shells do not support it From-SVN: r22407 --- gcc/ChangeLog | 5 +++++ gcc/configure | 6 ++++-- gcc/configure.in | 4 +++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8abf913a5f4..37af7b28228 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 14 02:33:46 1998 Alexandre Oliva + + * configure.in: remove usage of `!' to negate the result of a + command; some common shells do not support it + Sun Sep 13 19:17:35 1998 David S. Miller * configure.in: in sparc9-sol2 config, use 'if test' not diff --git a/gcc/configure b/gcc/configure index c2730fa38f9..fc988b53e2e 100755 --- a/gcc/configure +++ b/gcc/configure @@ -5559,7 +5559,9 @@ EOF if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1 $gcc_cv_nm conftest.o | grep conftest_label2 | sed -e 's/label2/label1/' > conftest.nm2 - if ! cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1; then + if cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1; then + : + else gcc_cv_as_subsections="working .subsection -1" cat >> confdefs.h <<\EOF #define HAVE_GAS_SUBSECTION_ORDERING 1 @@ -5770,7 +5772,7 @@ fi # Warn if using init_priority. echo $ac_n "checking whether to enable init_priority by default""... $ac_c" 1>&6 -echo "configure:5774: checking whether to enable init_priority by default" >&5 +echo "configure:5776: checking whether to enable init_priority by default" >&5 if test x$enable_init_priority != xyes; then enable_init_priority=no fi diff --git a/gcc/configure.in b/gcc/configure.in index 63f0d328c05..b6969e28fa3 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -3693,7 +3693,9 @@ EOF if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1 $gcc_cv_nm conftest.o | grep conftest_label2 | sed -e 's/label2/label1/' > conftest.nm2 - if ! cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1; then + if cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1; then + : + else gcc_cv_as_subsections="working .subsection -1" AC_DEFINE(HAVE_GAS_SUBSECTION_ORDERING) fi -- 2.30.2