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

configure --with-grib bug fix

parent 24543000
...@@ -4685,14 +4685,16 @@ if test "${with_grib+set}" = set; then ...@@ -4685,14 +4685,16 @@ if test "${with_grib+set}" = set; then
withval="$with_grib" withval="$with_grib"
else else
with_grib="yes"
fi;
if test "${with_grib}" = "yes" ; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBGRIB 1 #define HAVE_LIBGRIB 1
_ACEOF _ACEOF
fi; fi
if test -z "$with_grib" ; then with_grib=yes ; fi
echo "$as_me:$LINENO: checking for GRIB support" >&5 echo "$as_me:$LINENO: checking for GRIB support" >&5
echo $ECHO_N "checking for GRIB support... $ECHO_C" >&6 echo $ECHO_N "checking for GRIB support... $ECHO_C" >&6
...@@ -4708,14 +4710,16 @@ if test "${with_service+set}" = set; then ...@@ -4708,14 +4710,16 @@ if test "${with_service+set}" = set; then
withval="$with_service" withval="$with_service"
else else
with_service="yes"
fi;
if test "${with_service}" = "yes" ; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBSERVICE 1 #define HAVE_LIBSERVICE 1
_ACEOF _ACEOF
fi; fi
if test -z "$with_service" ; then with_service=yes ; fi
echo "$as_me:$LINENO: checking for SERVICE support" >&5 echo "$as_me:$LINENO: checking for SERVICE support" >&5
echo $ECHO_N "checking for SERVICE support... $ECHO_C" >&6 echo $ECHO_N "checking for SERVICE support... $ECHO_C" >&6
...@@ -4731,14 +4735,16 @@ if test "${with_extra+set}" = set; then ...@@ -4731,14 +4735,16 @@ if test "${with_extra+set}" = set; then
withval="$with_extra" withval="$with_extra"
else else
with_extra="yes"
fi;
if test "${with_extra}" = "yes" ; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBEXTRA 1 #define HAVE_LIBEXTRA 1
_ACEOF _ACEOF
fi; fi
if test -z "$with_extra" ; then with_extra=yes ; fi
echo "$as_me:$LINENO: checking for EXTRA support" >&5 echo "$as_me:$LINENO: checking for EXTRA support" >&5
echo $ECHO_N "checking for EXTRA support... $ECHO_C" >&6 echo $ECHO_N "checking for EXTRA support... $ECHO_C" >&6
...@@ -4754,14 +4760,16 @@ if test "${with_ieg+set}" = set; then ...@@ -4754,14 +4760,16 @@ if test "${with_ieg+set}" = set; then
withval="$with_ieg" withval="$with_ieg"
else else
with_ieg="yes"
fi;
if test "${with_ieg}" = "yes" ; then
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBIEG 1 #define HAVE_LIBIEG 1
_ACEOF _ACEOF
fi; fi
if test -z "$with_ieg" ; then with_ieg=yes ; fi
echo "$as_me:$LINENO: checking for IEG support" >&5 echo "$as_me:$LINENO: checking for IEG support" >&5
echo $ECHO_N "checking for IEG support... $ECHO_C" >&6 echo $ECHO_N "checking for IEG support... $ECHO_C" >&6
......
...@@ -33,11 +33,12 @@ AC_CHECK_LIB(malloc, mallinfo) ...@@ -33,11 +33,12 @@ AC_CHECK_LIB(malloc, mallinfo)
# Compile interface with internal GRIB library # Compile interface with internal GRIB library
# #
AC_ARG_WITH([grib], AC_ARG_WITH([grib],
[AC_HELP_STRING([--with-grib], [AC_HELP_STRING([--with-grib], [Use the internal GRIB library [default=yes]])],,
[Use the internal GRIB library [default=yes]])],, with_grib="yes")
AC_DEFINE(HAVE_LIBGRIB, [1], [Define to 1 for GRIB interface]))
if test -z "$with_grib" ; then with_grib=yes ; fi if test "${with_grib}" = "yes" ; then
AC_DEFINE(HAVE_LIBGRIB, [1], [Define to 1 for GRIB interface])
fi
AC_MSG_CHECKING([for GRIB support]) AC_MSG_CHECKING([for GRIB support])
AC_MSG_RESULT($with_grib) AC_MSG_RESULT($with_grib)
...@@ -48,9 +49,11 @@ AC_MSG_RESULT($with_grib) ...@@ -48,9 +49,11 @@ AC_MSG_RESULT($with_grib)
AC_ARG_WITH([service], AC_ARG_WITH([service],
[AC_HELP_STRING([--with-service], [AC_HELP_STRING([--with-service],
[Use the internal SERVICE library [default=yes]])],, [Use the internal SERVICE library [default=yes]])],,
AC_DEFINE(HAVE_LIBSERVICE, [1], [Define to 1 for SERVICE interface])) with_service="yes")
if test -z "$with_service" ; then with_service=yes ; fi if test "${with_service}" = "yes" ; then
AC_DEFINE(HAVE_LIBSERVICE, [1], [Define to 1 for SERVICE interface])
fi
AC_MSG_CHECKING([for SERVICE support]) AC_MSG_CHECKING([for SERVICE support])
AC_MSG_RESULT($with_service) AC_MSG_RESULT($with_service)
...@@ -61,9 +64,11 @@ AC_MSG_RESULT($with_service) ...@@ -61,9 +64,11 @@ AC_MSG_RESULT($with_service)
AC_ARG_WITH([extra], AC_ARG_WITH([extra],
[AC_HELP_STRING([--with-extra], [AC_HELP_STRING([--with-extra],
[Use the internal EXTRA library [default=yes]])],, [Use the internal EXTRA library [default=yes]])],,
AC_DEFINE(HAVE_LIBEXTRA, [1], [Define to 1 for EXTRA interface])) with_extra="yes")
if test -z "$with_extra" ; then with_extra=yes ; fi if test "${with_extra}" = "yes" ; then
AC_DEFINE(HAVE_LIBEXTRA, [1], [Define to 1 for EXTRA interface])
fi
AC_MSG_CHECKING([for EXTRA support]) AC_MSG_CHECKING([for EXTRA support])
AC_MSG_RESULT($with_extra) AC_MSG_RESULT($with_extra)
...@@ -74,9 +79,11 @@ AC_MSG_RESULT($with_extra) ...@@ -74,9 +79,11 @@ AC_MSG_RESULT($with_extra)
AC_ARG_WITH([ieg], AC_ARG_WITH([ieg],
[AC_HELP_STRING([--with-ieg], [AC_HELP_STRING([--with-ieg],
[Use the internal IEG library [default=yes]])],, [Use the internal IEG library [default=yes]])],,
AC_DEFINE(HAVE_LIBIEG, [1], [Define to 1 for IEG interface])) with_ieg="yes")
if test -z "$with_ieg" ; then with_ieg=yes ; fi if test "${with_ieg}" = "yes" ; then
AC_DEFINE(HAVE_LIBIEG, [1], [Define to 1 for IEG interface])
fi
AC_MSG_CHECKING([for IEG support]) AC_MSG_CHECKING([for IEG support])
AC_MSG_RESULT($with_ieg) AC_MSG_RESULT($with_ieg)
......
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