Changeset 1459
- Timestamp:
- Dec 31, 2009 1:11:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/BSPsplit/coin.m4
r1455 r1459 3459 3459 3460 3460 AC_COIN_PKG_CHECK_MODULE_EXISTS([$1],[$2], 3461 [ m4_toupper($1)[]_CFLAGS=`$PKG_CONFIG --cflags "$2" 2>/dev/null` 3461 [ cflags=`$PKG_CONFIG --cflags "$2" 2>/dev/null` 3462 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 3463 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 3464 # but only do this if is not trivial 3465 if test "$CYGPATH_W" != "echo" ; then 3466 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 3467 [cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`] 3468 fi 3469 m4_toupper($1)[]_CFLAGS="$cflags" 3462 3470 m4_toupper($1)[]_LIBS=`$PKG_CONFIG --libs "$2" 2>/dev/null` 3463 3471 m4_toupper($1)[]_DATA=`$PKG_CONFIG --variable=datadir "$2" 2>/dev/null` … … 3657 3665 [directory with header files for using module $1]), 3658 3666 [m4_tolower(coin_has_$1)=yes 3659 m4_toupper($1_CFLAGS)="-I $withval"],3667 m4_toupper($1_CFLAGS)="-I`${CYGPATH_W} $withval`"], 3660 3668 []) 3661 3669
Note: See TracChangeset
for help on using the changeset viewer.