configure.in: remove usage of `!' to negate the result of a command...
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 13 Sep 1998 22:37:15 +0000 (22:37 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sun, 13 Sep 1998 22:37:15 +0000 (22:37 +0000)
* configure.in: remove usage of `!' to negate the result of a
command; some common shells do not support it

From-SVN: r22407

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 8abf913a5f4315dfe693682958545286df0bab1a..37af7b28228a288341a45019352eccb80f8fcd7a 100644 (file)
@@ -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
index c2730fa38f9fbf4a2cb161491529f0c03bfdd9f3..fc988b53e2e5279d78f089f8854e7eacb3a59d28 100755 (executable)
@@ -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
index 63f0d328c05bd36867ff04c8852566780e813b8f..b6969e28fa306d41104301bf014b1b8fb97b72ae 100644 (file)
@@ -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