Skip to content
Snippets Groups Projects
Commit ac0180b7 authored by Christian Engwer's avatar Christian Engwer
Browse files

initialize AM_CONDITIONAL for suggestions

[[Imported from SVN: r5233]]
parent e941a306
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,16 @@ AC_DEFUN([DUNE_CHECK_MOD_DEPENDENCIES], [
AC_PROG_CXX
LT_OUTPUT
EOF
### initialize AM_CONDITIONAL for suggestions
for name in $(eval echo \$SUGS_$mainmod); do
mod=$(fix_variable_name $name)
MOD=`echo $mod | tr [:lower:] [:upper:]`
cat >> $fname <<EOF
### add a conditional check for $name,
# just in case the module is not available at autogen time
AM_CONDITIONAL([HAVE_${MOD}], false)
EOF
done
### DEPENDENCIES
if test "x$SEARCH_MODULES" != "x"; then
MODULES=$SEARCH_MODULES
......
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