Changeset 3882


Ignore:
Timestamp:
Oct 27, 2018 12:37:08 PM (11 months ago)
Author:
stefan
Message:

try to handle case with spaces in pcfile, e.g., due to specification of version number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r3881 r3882  
    965965      if test -n "$PKG_CONFIG" ; then
    966966        m4_ifnblank($2,
    967           [pcfile=$2],
     967          [pcfile="$2"],
    968968          [if test $m4_tolower(coin_has_$1) = build ; then
    969969             pcfile=m4_tolower(coin$1)
     
    973973        AC_COIN_CHK_MOD_EXISTS([$1],[$pcfile],
    974974          [m4_tolower(coin_has_$1)=yes
    975            m4_tolower($1_data)=`PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" $PKG_CONFIG --variable=datadir $pcfile 2>/dev/null`
     975           m4_tolower($1_data)=`PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" $PKG_CONFIG --variable=datadir "$pcfile" 2>/dev/null`
    976976           m4_tolower($1_pcfiles)="$pcfile"],
    977977          [m4_tolower(coin_has_$1)=no])
Note: See TracChangeset for help on using the changeset viewer.