Commit 9ed66195 authored by Karl Wette's avatar Karl Wette

lalinference: fix chealpix configuration when no .pc file is available

- AC_CHECK_LIB() needs to add -lchealpix to LIBS as its default action
Original: 2977148f500c411f6425eda647e26f607bde6429
parent b0c19399
......@@ -127,7 +127,8 @@ AS_IF([test "x$OPENMP_CFLAGS" != "x"],
# check for HEALPix
PKG_CHECK_MODULES([CHEALPIX],[chealpix],[true],[false])
LALSUITE_ADD_FLAGS([C],[${CHEALPIX_CFLAGS}],[${CHEALPIX_LIBS}])
AC_CHECK_LIB([chealpix],[nside2npix],[HEALPIX_ENABLE_VAL=ENABLED],[HEALPIX_ENABLE_VAL=DISABLED])
HEALPIX_ENABLE_VAL=ENABLED
AC_CHECK_LIB([chealpix],[nside2npix],,[HEALPIX_ENABLE_VAL=DISABLED])
AM_CONDITIONAL([HAVE_CHEALPIX],[test "x$HEALPIX_ENABLE_VAL" = "xENABLED"])
# check for gsl
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment