summaryrefslogtreecommitdiff
blob: 53dac6b27d6c26e19893d7175a581384c8638c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- m4/fltk.m4.orig	2014-12-13 13:46:29.000000000 +0100
+++ m4/fltk.m4	2014-12-13 14:03:44.000000000 +0100
@@ -38,7 +38,7 @@
           FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
           if test "x$target_mingw32" != "xyes"; then
               if test "x$target_darwin" != "xyes"; then
-                  if grep -q "lX11" <<< "$FLTK_LIBS"; then
+                  if echo "$FLTK_LIBS" | grep -q "lX11" ; then
                       FLTK_LIBS="$FLTK_LIBS";
                   else
                       FLTK_LIBS="$FLTK_LIBS -lm -lX11";