summaryrefslogtreecommitdiff
path: root/comms/flrig/files/patch-configure
blob: 5468fa7dd84984c80c5dfc86b515c994b6487394 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2017-04-01 02:21:18 UTC
+++ configure
@@ -6143,7 +6143,7 @@ $as_echo "$FLTK_CONFIG" >&6; }
           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";