Have ICG ignore Fink Dirs (in /sw) on Macs

The UDUNITS_LDFLAGS contents need to be in quotes.  Found this while
trying to use the udunits package in /sw with Fink.

refs #248
This commit is contained in:
Alex Lin 2016-06-13 10:35:12 -05:00
parent 7ae371c72e
commit 237230dc53
2 changed files with 4 additions and 4 deletions

View File

@ -231,11 +231,11 @@ AS_IF([test "$UDUNITS_HOME" = ""],
[ [
AC_CHECK_FILE([$UDUNITS_HOME/include/udunits2.h], AC_CHECK_FILE([$UDUNITS_HOME/include/udunits2.h],
[UDUNITS_INCLUDES=-I$UDUNITS_HOME/include [UDUNITS_INCLUDES=-I$UDUNITS_HOME/include
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2 UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
], ],
[AC_CHECK_FILE([$UDUNITS_HOME/lib/udunits2.h], [AC_CHECK_FILE([$UDUNITS_HOME/lib/udunits2.h],
[UDUNITS_INCLUDES=-I$UDUNITS_HOME/lib [UDUNITS_INCLUDES=-I$UDUNITS_HOME/lib
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2 UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
], ],
AC_MSG_ERROR([could not find udunits2])) AC_MSG_ERROR([could not find udunits2]))
] ]

4
configure vendored
View File

@ -5803,7 +5803,7 @@ eval ac_res=\$$as_ac_File
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then : if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
UDUNITS_INCLUDES=-I$UDUNITS_HOME/include UDUNITS_INCLUDES=-I$UDUNITS_HOME/include
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2 UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
else else
as_ac_File=`$as_echo "ac_cv_file_$UDUNITS_HOME/lib/udunits2.h" | $as_tr_sh` as_ac_File=`$as_echo "ac_cv_file_$UDUNITS_HOME/lib/udunits2.h" | $as_tr_sh`
@ -5825,7 +5825,7 @@ eval ac_res=\$$as_ac_File
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then : if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
UDUNITS_INCLUDES=-I$UDUNITS_HOME/lib UDUNITS_INCLUDES=-I$UDUNITS_HOME/lib
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2 UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
else else
as_fn_error $? "could not find udunits2" "$LINENO" 5 as_fn_error $? "could not find udunits2" "$LINENO" 5