Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* toplevel configure.in: simplify tests
@ 2002-09-21 11:03 Nathanael Nerode
  2002-09-22 13:17 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Nathanael Nerode @ 2002-09-21 11:03 UTC (permalink / raw)
  To: gcc-patches; +Cc: gdb-patches, binutils, dj

Simplify a number of tests, now that all subdirectories are autoconfiscated.

2002-09-21  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Simplify tests.

--- configure.in	2002-09-21 13:56:03.000000000 -0400
+++ configure.in.new	2002-09-21 13:55:47.000000000 -0400
@@ -743,8 +743,7 @@
   dirname=`echo $dir | sed -e s/target-//g`
   if test $dir != .  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
     configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
-    if test -r $srcdir/$dirname/configure \
-	|| test -r $srcdir/$dirname/configure.in ; then
+    if test -r $srcdir/$dirname/configure ; then
       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
 	true
       else
@@ -754,8 +753,7 @@
   fi
   if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
     target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
-    if test -r $srcdir/$dirname/configure \
-	|| test -r $srcdir/$dirname/configure.in ; then
+    if test -r $srcdir/$dirname/configure ; then
       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
 	true
       else
@@ -771,7 +769,7 @@
   others=
   for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
     if test "$i" != "libiberty" ; then
-      if test -r $srcdir/$i/configure || test -r $srcdir/$i/configure.in ; then
+      if test -r $srcdir/$i/configure ; then
 	others=yes;
 	break;
       fi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-23 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-21 11:03 toplevel configure.in: simplify tests Nathanael Nerode
2002-09-22 13:17 ` Alexandre Oliva
2002-09-23  4:32   ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox