]> granicus.if.org Git - graphviz/commitdiff
apparently "-q" isn't supported by NASA's grep (SunOS?)
authorellson <devnull@localhost>
Thu, 8 Jun 2006 14:44:09 +0000 (14:44 +0000)
committerellson <devnull@localhost>
Thu, 8 Jun 2006 14:44:09 +0000 (14:44 +0000)
configure.ac

index 3aa3433079ddf4ec7857623a1c70db82eb36bc43..810730506a27979384903d57d971f9f37b96efbe 100644 (file)
@@ -213,7 +213,7 @@ else
 fi
 # -ffast-math is incompatible with FP error trapping
 #     ref: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175793
-if `echo ${CFLAGS} | $GREP -q ffast-math`; then
+if `echo ${CFLAGS} | $GREP ffast-math >/dev/null`; then
     AC_DEFINE_UNQUOTED(NO_FPERR,1,[Define if no fpu error exception handling is required.])
 fi