diff options
| author | engelsman <engelsman> | 2010-11-10 21:18:17 +0000 |
|---|---|---|
| committer | engelsman <engelsman> | 2010-11-10 21:18:17 +0000 |
| commit | db8d9893eb37443d27bc6fe96b01adf5013c46c6 (patch) | |
| tree | d7a8baeefe756c9750df8e2c009f31afa971013c /fltk-config.in | |
| parent | d9be6bbddf27fe1c820c8e924b0ddcf9f4b130ef (diff) | |
Fixed fltk-config to give --use on one line (STR #2408)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.in')
| -rwxr-xr-x | fltk-config.in | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/fltk-config.in b/fltk-config.in index a08887518..76876b44f 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -1,7 +1,7 @@ #!/bin/sh # # "$Id$" -# +# # FLTK configuration utility. # # Copyright 2000-2009 by Bill Spitzak and others. @@ -143,10 +143,10 @@ post= debug= # Parse command line options -while test $# -gt 0 +while test $# -gt 0 do case "$1" in - -*=*) + -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) @@ -358,29 +358,31 @@ if test "$echo_ldstaticflags" = "yes"; then 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_cairo = xyes; then - echo $libdir/libfltk_cairo.a + USELIBS="$libdir/libfltk_cairo.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 # |
