changeset 25213:7f6b4483468d stable

configure.ac: Strip any spaces from start of FLTK_XXX variables. * configure.ac: Use sed to strip any spaces from start of FLTK_XXX variables.
author Rik <rik@octave.org>
date Wed, 11 Apr 2018 10:35:30 -0700
parents ec119a613e3b
children 5cdd48b2d9ca
files configure.ac
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Apr 11 10:28:16 2018 -0700
+++ b/configure.ac	Wed Apr 11 10:35:30 2018 -0700
@@ -2308,6 +2308,8 @@
         ;;
       esac
     done
+    FLTK_CPPFLAGS=`echo "$FLTK_CPPFLAGS" | $SED -e 's/^ \+//'`
+
     ## Split -L and -l options into FLTK_LDFLAGS and FLTK_LIBS
     fltk_ldflags=`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags`
     for fltk_option in $fltk_ldflags; do
@@ -2320,6 +2322,8 @@
         ;;
       esac
     done
+    FLTK_LIBS=`echo "$FLTK_LIBS" | $SED -e 's/^ \+//'`
+    FLTK_LDFLAGS=`echo "$FLTK_LDFLAGS" | $SED -e 's/^ \+//'`
 
     case $host_os in
       mingw*)