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