Add --with-udunits path to TRICK_EXCLUDE

Fixes #524
This commit is contained in:
Derek Bankieris 2017-12-04 11:02:03 -06:00
parent 6184aa6cd9
commit 380ab024a4
3 changed files with 79 additions and 1291 deletions

View File

@ -260,6 +260,7 @@ AS_IF([test "$UDUNITS_HOME" = ""],
UDUNITS_LDFLAGS=-ludunits2
],
[
UDUNITS_EXCLUDE=$UDUNITS_HOME
AC_CHECK_FILE([$UDUNITS_HOME/include/udunits2.h],
[UDUNITS_INCLUDES=-I$UDUNITS_HOME/include
UDUNITS_LDFLAGS="-L$UDUNITS_HOME/lib -ludunits2"
@ -275,6 +276,7 @@ AS_IF([test "$UDUNITS_HOME" = ""],
)
AC_SUBST([UDUNITS_INCLUDES])
AC_SUBST([UDUNITS_LDFLAGS])
AC_SUBST([UDUNITS_EXCLUDE])
dnl process the other optional command line arguments
AX_HDF5_HOME([])

1367
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@ MOTIF_HOME = @MOTIF_HOME@
UDUNITS_INCLUDES = @UDUNITS_INCLUDES@
UDUNITS_LDFLAGS = @UDUNITS_LDFLAGS@
TRICK_EXCLUDE += :@UDUNITS_EXCLUDE@
HDF5 = @HDF5_HOME@
DMTCP = @DMTCP_HOME@