Skip to content
Snippets Groups Projects
Commit 7c63ee17 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Move AM_CONDITIONAL out of AS_IF.

* AM_CONDITIONAL must be defined in all control flows, or configure cannot
  finish successfully.
parent 153e61cc
No related branches found
No related tags found
No related merge requests found
......@@ -642,6 +642,8 @@ ENABLE_RUBY_TRUE
ENABLE_SWIG_FALSE
ENABLE_SWIG_TRUE
SWIG
FORTRAN_MOD_UC_FALSE
FORTRAN_MOD_UC_TRUE
FCMODCASE
FCMODEXT
CDI_F90_INTERFACE_FCFLAGS
......@@ -30501,6 +30503,14 @@ fi
 
 
fi
if test "x$FCMODCASE" = "xuc"; then
FORTRAN_MOD_UC_TRUE=
FORTRAN_MOD_UC_FALSE='#'
else
FORTRAN_MOD_UC_TRUE='#'
FORTRAN_MOD_UC_FALSE=
fi
# -----------------------------------------------------------------------
# Check for SWIG - Generator for script-language bindings
# Check whether --enable-swig was given.
......@@ -31489,6 +31499,10 @@ if test -z "${CREATE_ISOC_TRUE}" && test -z "${CREATE_ISOC_FALSE}"; then
as_fn_error $? "conditional \"CREATE_ISOC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${FORTRAN_MOD_UC_TRUE}" && test -z "${FORTRAN_MOD_UC_FALSE}"; then
as_fn_error $? "conditional \"FORTRAN_MOD_UC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_SWIG_TRUE}" && test -z "${ENABLE_SWIG_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_SWIG\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
......@@ -320,8 +320,8 @@ AS_IF([test "x${enable_isoc}" = "xyes"],
AC_SUBST([CDI_F90_INTERFACE_FCFLAGS])
# Check the module extension of the fortran compiler
AS_IF([test -n "$FC" && test "X$FC" != "Xno"],
[ACX_SL_FC_MOD_SUFFIX(,[FCMODEXT=mod])
AM_CONDITIONAL([FORTRAN_MOD_UC],[test "x$FCMODCASE" = "xuc"])])
[ACX_SL_FC_MOD_SUFFIX(,[FCMODEXT=mod])])
AM_CONDITIONAL([FORTRAN_MOD_UC],[test "x$FCMODCASE" = "xuc"])
# -----------------------------------------------------------------------
# Check for SWIG - Generator for script-language bindings
AC_ARG_ENABLE(swig,
......
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