[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    RE: [PATCH] supress "command not found" message in
From:       "Ralf Habacker" <Ralf.Habacker () freenet ! de>
Date:       2003-09-01 11:51:35
[Download RAW message or body]

Hi

ups, the last patch was based on the 1.5 release not on the latest which is 1.7.
The appended patch is based on the newest one.

Ralf



["disable-not-found-message-printing.patch" (application/octet-stream)]

Index: detect-autoconf.sh
===================================================================
RCS file: /home/kde/kde-common/admin/detect-autoconf.sh,v
retrieving revision 1.7
diff -u -3 -p -B -r1.7 detect-autoconf.sh
--- detect-autoconf.sh	24 Aug 2003 23:00:17 -0000	1.7
+++ detect-autoconf.sh	1 Sep 2003 11:48:58 -0000
@@ -13,48 +13,48 @@ ACLOCAL="aclocal"
 # our includer.  The repeated type calls are not that expensive.
 checkAutoconf()
 {
-  if test -x "`$WHICH autoconf-2.5x`" ; then	
+  if test -x "`$WHICH autoconf-2.5x 2>/dev/null`" ; then	
     AUTOCONF="`$WHICH autoconf-2.5x`"
-  elif test -x "`$WHICH autoconf-2.54`" ; then
+  elif test -x "`$WHICH autoconf-2.54 2>/dev/null`" ; then
     AUTOCONF="`$WHICH autoconf-2.54`"
-  elif test -x "`$WHICH autoconf-2.53`" ; then
+  elif test -x "`$WHICH autoconf-2.53 2>/dev/null`" ; then
     AUTOCONF="`$WHICH autoconf-2.53`"
-  elif test -x "`$WHICH autoconf-2.53a`" ; then
+  elif test -x "`$WHICH autoconf-2.53a 2>/dev/null`" ; then
     AUTOCONF="`$WHICH autoconf-2.53a`"
-  elif test -x "`$WHICH autoconf-2.52`" ; then
+  elif test -x "`$WHICH autoconf-2.52 2>/dev/null`" ; then
     AUTOCONF="`$WHICH autoconf-2.52`"
-  elif test -x "`$WHICH autoconf2.50`" ; then
+  elif test -x "`$WHICH autoconf2.50 2>/dev/null`" ; then
     AUTOCONF="`$WHICH autoconf2.50`"
   fi
 }
 
 checkAutoheader()
 {
-  if test -x "`$WHICH autoheader-2.5x`" ; then
+  if test -x "`$WHICH autoheader-2.5x 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader-2.5x`"
     AUTOM4TE="`$WHICH autom4te-2.5x`"
-  elif test -x "`$WHICH autoheader-2.54`" ; then
+  elif test -x "`$WHICH autoheader-2.54 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader-2.54`"
     AUTOM4TE="`$WHICH autom4te-2.54`"
-  elif test -x "`$WHICH autoheader-2.53`" ; then
+  elif test -x "`$WHICH autoheader-2.53 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader-2.53`"
     AUTOM4TE="`$WHICH autom4te-2.53`"
-  elif test -x "`$WHICH autoheader-2.53a`" ; then
+  elif test -x "`$WHICH autoheader-2.53a 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader-2.53a`"
     AUTOM4TE="`$WHICH autom4te-2.53a`"
-  elif test -x "`$WHICH autoheader-2.52`" ; then
+  elif test -x "`$WHICH autoheader-2.52 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader-2.52`"
-  elif test -x "`$WHICH autoheader2.50`" ; then
+  elif test -x "`$WHICH autoheader2.50 2>/dev/null`" ; then
     AUTOHEADER="`$WHICH autoheader2.50`"
   fi
 }
 
 checkAutomakeAclocal ()
 {
- if test -x "`$WHICH automake-1.6`" ; then
+ if test -x "`$WHICH automake-1.6 2>/dev/null`" ; then
     AUTOMAKE="`$WHICH automake-1.6`"
     ACLOCAL="`$WHICH aclocal-1.6`"
-  elif test -x "`$WHICH automake-1.7`" ; then
+  elif test -x "`$WHICH automake-1.7 2>/dev/null`" ; then
     AUTOMAKE="`$WHICH automake-1.7`"
     ACLOCAL="`$WHICH aclocal-1.7`"
   fi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic