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
This commit is contained in:
parent
073149a276
commit
1b015bec9d
@ -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
|
||||
|
6
gcc/configure
vendored
6
gcc/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user