Skip to content
Snippets Groups Projects
Commit 99b8cffb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added directory include/udunits2 to CPPFLAGS

parent ae49fa3a
No related branches found
No related tags found
No related merge requests found
......@@ -19334,7 +19334,7 @@ fi
UDUNITS_ROOT=$with_udunits2
if test -d "$UDUNITS_ROOT"; then :
LDFLAGS="$LDFLAGS -L$UDUNITS_ROOT/lib"
CPPFLAGS="$CPPFLAGS -I$UDUNITS_ROOT/include"
CPPFLAGS="$CPPFLAGS -I$UDUNITS_ROOT/include -I$UDUNITS_ROOT/include/udunits2"
for ac_header in udunits2.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "udunits2.h" "ac_cv_header_udunits2_h" "$ac_includes_default"
......
......@@ -217,7 +217,7 @@ AC_ARG_WITH([udunits2],
[*],[UDUNITS_ROOT=$with_udunits2
AS_IF([test -d "$UDUNITS_ROOT"],
[LDFLAGS="$LDFLAGS -L$UDUNITS_ROOT/lib"
CPPFLAGS="$CPPFLAGS -I$UDUNITS_ROOT/include"
CPPFLAGS="$CPPFLAGS -I$UDUNITS_ROOT/include -I$UDUNITS_ROOT/include/udunits2"
AC_CHECK_HEADERS([udunits2.h])
AC_CHECK_HEADERS([udunits2/udunits2.h])
AC_SEARCH_LIBS([ut_parse],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment