mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
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:
parent
7ae371c72e
commit
237230dc53
@ -231,11 +231,11 @@ AS_IF([test "$UDUNITS_HOME" = ""],
|
||||
[
|
||||
AC_CHECK_FILE([$UDUNITS_HOME/include/udunits2.h],
|
||||
[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],
|
||||
[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]))
|
||||
]
|
||||
|
4
configure
vendored
4
configure
vendored
@ -5803,7 +5803,7 @@ eval ac_res=\$$as_ac_File
|
||||
$as_echo "$ac_res" >&6; }
|
||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||
UDUNITS_INCLUDES=-I$UDUNITS_HOME/include
|
||||
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2
|
||||
UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
|
||||
|
||||
else
|
||||
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; }
|
||||
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
|
||||
UDUNITS_INCLUDES=-I$UDUNITS_HOME/lib
|
||||
UDUNITS_LDFLAGS=-L$UDUNITS_HOME/lib -ludunits2
|
||||
UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
|
||||
|
||||
else
|
||||
as_fn_error $? "could not find udunits2" "$LINENO" 5
|
||||
|
Loading…
Reference in New Issue
Block a user