Author: matt
Date: 2010-11-15 12:34:31 -0800 (Mon, 15 Nov 2010)
New Revision: 7849
Log:
Fixed multiple line output of fltk-config --libs (STR #2408)

Modified:
   branches/branch-1.1/CHANGES
   branches/branch-1.1/fltk-config.in

Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2010-11-15 20:12:02 UTC (rev 7848)
+++ branches/branch-1.1/CHANGES 2010-11-15 20:34:31 UTC (rev 7849)
@@ -4,6 +4,7 @@
        - Fixed mouse wheel related crash in GLUT emulation (STR #2381)
        - Fixed missing architecture flags in OS X build (STR #2303)
        - Fixed menu and shortcut handling (STR #2243)
+       - Fixed multiple line output of fltk-config --libs (STR #2408)
 
 CHANGES IN FLTK 1.1.10
 

Modified: branches/branch-1.1/fltk-config.in
===================================================================
--- branches/branch-1.1/fltk-config.in  2010-11-15 20:12:02 UTC (rev 7848)
+++ branches/branch-1.1/fltk-config.in  2010-11-15 20:34:31 UTC (rev 7849)
@@ -318,25 +318,27 @@
 fi
 
 if test "$echo_libs" = "yes"; then
-    echo $libdir/libfltk.a
+    USELIBS="$libdir/libfltk.a"
 
     if test x$use_forms = xyes; then
-        echo $libdir/libfltk_forms.a
+        USELIBS="$libdir/libfltk_forms.a $USELIBS"
     fi
 
     if test x$use_gl = xyes; then
-        echo $libdir/libfltk_gl.a
+        USELIBS="$libdir/libfltk_gl.a $USELIBS"
     fi
 
     if test x$use_images = xyes; then
-        echo $libdir/libfltk_images.a
+        USELIBS="$libdir/libfltk_images.a $USELIBS"
 
         for lib in fltk_jpeg fltk_png fltk_z; do
             if test -f $libdir/lib$lib.a; then
-                echo $libdir/lib$lib.a
+                USELIBS="$libdir/lib$lib.a $USELIBS"
             fi
        done
     fi
+
+    echo $USELIBS
 fi
 
 #

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to