Mercurial > octave
comparison configure.ac @ 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 | a5ad9c053e41 |
children | e98c6d393abb ff59be58f028 |
comparison
equal
deleted
inserted
replaced
25212:ec119a613e3b | 25213:7f6b4483468d |
---|---|
2306 -I*) | 2306 -I*) |
2307 FLTK_CPPFLAGS="$FLTK_CPPFLAGS $fltk_option" | 2307 FLTK_CPPFLAGS="$FLTK_CPPFLAGS $fltk_option" |
2308 ;; | 2308 ;; |
2309 esac | 2309 esac |
2310 done | 2310 done |
2311 FLTK_CPPFLAGS=`echo "$FLTK_CPPFLAGS" | $SED -e 's/^ \+//'` | |
2312 | |
2311 ## Split -L and -l options into FLTK_LDFLAGS and FLTK_LIBS | 2313 ## Split -L and -l options into FLTK_LDFLAGS and FLTK_LIBS |
2312 fltk_ldflags=`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags` | 2314 fltk_ldflags=`$FLTK_CONFIG $fltkconf_args --use-gl --ldflags` |
2313 for fltk_option in $fltk_ldflags; do | 2315 for fltk_option in $fltk_ldflags; do |
2314 case $fltk_option in | 2316 case $fltk_option in |
2315 -l*) | 2317 -l*) |
2318 *) | 2320 *) |
2319 FLTK_LDFLAGS="$FLTK_LDFLAGS $fltk_option" | 2321 FLTK_LDFLAGS="$FLTK_LDFLAGS $fltk_option" |
2320 ;; | 2322 ;; |
2321 esac | 2323 esac |
2322 done | 2324 done |
2325 FLTK_LIBS=`echo "$FLTK_LIBS" | $SED -e 's/^ \+//'` | |
2326 FLTK_LDFLAGS=`echo "$FLTK_LDFLAGS" | $SED -e 's/^ \+//'` | |
2323 | 2327 |
2324 case $host_os in | 2328 case $host_os in |
2325 mingw*) | 2329 mingw*) |
2326 FLTK_LDFLAGS=`echo $FLTK_LDFLAGS | $SED -e 's/-mwindows//g'` | 2330 FLTK_LDFLAGS=`echo $FLTK_LDFLAGS | $SED -e 's/-mwindows//g'` |
2327 ;; | 2331 ;; |