bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext-0.14.1 build fails to run csc


From: Stepan Kasal
Subject: Re: gettext-0.14.1 build fails to run csc
Date: Tue, 25 May 2004 11:28:32 +0200
User-agent: Mutt/1.4.1i

Hi Bruno,
I hope you won't mind that I tried the shell programming as an
excercise.
Stepan

Index: gettext-tools/m4/csharpcomp.m4
===================================================================
RCS file: /cvs/gettext/gettext/gettext-tools/m4/csharpcomp.m4,v
retrieving revision 1.5
diff -u -r1.5 csharpcomp.m4
--- gettext-tools/m4/csharpcomp.m4      8 Mar 2004 15:04:13 -0000       1.5
+++ gettext-tools/m4/csharpcomp.m4      25 May 2004 09:25:03 -0000
@@ -43,11 +43,13 @@
         ;;
       sscli)
         if test -n "$HAVE_CSC_IN_PATH" \
-           && csc -help >/dev/null 2>/dev/null \
-           && ! { csc -help 2>/dev/null | grep -i chicken > /dev/null; }; then
-          HAVE_CSC=1
-          ac_result="csc"
-          break
+           && csc -help >/dev/null 2>/dev/null; then
+          csc -help 2>/dev/null | grep -i chicken > /dev/null
+          if test "$?" != 0; then
+           HAVE_CSC=1
+           ac_result="csc"
+           break
+          fi
         fi
         ;;
       no)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]