diff options
| author | oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-13 22:37:15 +0000 |
|---|---|---|
| committer | oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-13 22:37:15 +0000 |
| commit | fd3b5ace2afc2b13fb0cde4cbb0140654aed56b1 (patch) | |
| tree | e2320b227f3561bf0b52a6fe1b3898bc1ea72d15 | |
| parent | 5db29e760874f3df376193e82f4751ea3cc3153b (diff) | |
| download | ppe42-gcc-fd3b5ace2afc2b13fb0cde4cbb0140654aed56b1.tar.gz ppe42-gcc-fd3b5ace2afc2b13fb0cde4cbb0140654aed56b1.zip | |
* configure.in: remove usage of `!' to negate the result of a
command; some common shells do not support it
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22407 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 8abf913a5f4..37af7b28228 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 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 |

