Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a8ff7fe3
Commit
a8ff7fe3
authored
Apr 18, 2007
by
Uwe Schulzweida
Browse files
configure --with-grib bug fix
parent
24543000
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
a8ff7fe3
...
...
@@ -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
...
...
configure.ac
View file @
a8ff7fe3
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment