diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-09-13 22:37:15 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1998-09-13 22:37:15 +0000 |
commit | 1b015bec9db1b6c2f0bd948e1a9c001240ddd993 (patch) | |
tree | e2320b227f3561bf0b52a6fe1b3898bc1ea72d15 /gcc | |
parent | 073149a276f2f0c0d3437acb8a94b1fc2cee7888 (diff) | |
download | gcc-1b015bec9db1b6c2f0bd948e1a9c001240ddd993.zip gcc-1b015bec9db1b6c2f0bd948e1a9c001240ddd993.tar.gz gcc-1b015bec9db1b6c2f0bd948e1a9c001240ddd993.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/configure | 6 | ||||
-rw-r--r-- | gcc/configure.in | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8abf913..37af7b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 14 02:33:46 1998 Alexandre Oliva <oliva@dcc.unicamp.br> + + * 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 <davem@pierdol.cobaltmicro.com> * configure.in: in sparc9-sol2 config, use 'if test' not diff --git a/gcc/configure b/gcc/configure index c2730fa..fc988b5 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 63f0d32..b6969e2 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 |