]> git.saurik.com Git - wxWidgets.git/blobdiff - wx-config.in
For consistency between WMs and with MSW, TOOL_WINDOW explicilty includes NO_TASKBAR
[wxWidgets.git] / wx-config.in
index 9d60a461ce3ea2b5395bc6ca4b25f670813236be..fce6327511b0275be8414d639a4258c484a0ecf2 100755 (executable)
@@ -1006,11 +1006,10 @@ lib_flags_for()
                 # will let the more heinous bugs in configure shake out.
                 # We should maybe filter *.a here too, but not unless
                 # we have to.
-                if echo "$f" | grep ^-l > /dev/null 2>&1 ; then
-                    _all_libs="$(remove_field $f $_all_libs) $f"
-                else
-                    _all_libs="$_all_libs $f"
-                fi
+                case "$f" in
+                  -l*)  _all_libs="$(remove_field $f $_all_libs) $f"    ;;
+                    *)  _all_libs="$_all_libs $f"                       ;;
+                esac
 
             done
         else