Commit ae49fa3a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added directory cdTime to CPPFLAGS

parent f6a6f636
......@@ -19527,7 +19527,7 @@ fi
CMOR_ROOT=$with_cmor
if test -d "$CMOR_ROOT"; then :
LDFLAGS="$LDFLAGS -L$CMOR_ROOT/lib"
CPPFLAGS="$CPPFLAGS -I$CMOR_ROOT/include"
CPPFLAGS="$CPPFLAGS -I$CMOR_ROOT/include -I$CMOR_ROOT/include/cdTime"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cmor_load_table" >&5
$as_echo_n "checking for library containing cmor_load_table... " >&6; }
if ${ac_cv_search_cmor_load_table+:} false; then :
......
......@@ -233,8 +233,7 @@ AC_ARG_WITH([udunits2],
# Link application with CMOR library
CMOR_LIBS=''
AC_ARG_WITH([cmor],
[AS_HELP_STRING([--with-cmor=<directory>],
[Specify location of CMOR library.])],
[AS_HELP_STRING([--with-cmor=<directory>],[Specify location of CMOR library.])],
[AS_CASE(["$with_cmor"],
[no],[AC_MSG_CHECKING([for cmor library])
AC_MSG_RESULT([suppressed])],
......@@ -245,7 +244,7 @@ AC_ARG_WITH([cmor],
[*],[CMOR_ROOT=$with_cmor
AS_IF([test -d "$CMOR_ROOT"],
[LDFLAGS="$LDFLAGS -L$CMOR_ROOT/lib"
CPPFLAGS="$CPPFLAGS -I$CMOR_ROOT/include"
CPPFLAGS="$CPPFLAGS -I$CMOR_ROOT/include -I$CMOR_ROOT/include/cdTime"
AC_SEARCH_LIBS([cmor_load_table],
[cmor],
[AC_DEFINE([HAVE_LIBCMOR],[1],[Define to 1 for CMOR support])],
......
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