summaryrefslogtreecommitdiff
path: root/comms/flrig/files/patch-configure
blob: 9ad954fe9249160523aeb0943fbea58204531735 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2018-01-14 19:21:15 UTC
+++ configure
@@ -6166,7 +6166,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";