--- configure.orig	2014-04-11 13:36:43.000000000 -0700
+++ configure	2014-04-11 13:36:32.000000000 -0700
@@ -6857,7 +6857,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";
