Commit 48ec4d8a authored by Wesley Bland's avatar Wesley Bland
Browse files

Fix configure related to --enable-error-checking

The default --enable-error-checking (used when no additional value is
included) value ended up getting set to "yes" instead of "default". This
ended up preventing configure from passing under certain conditions.
This changes the default to "all" and fixes the check for "yes".
Signed-off-by: Kenneth Raffenetti's avatarKen Raffenetti <>
parent fe283e91
......@@ -329,7 +329,7 @@ AC_ARG_ENABLE(error-checking,
runtime - error checking controllable at runtime through environment
all - error checking always enabled (default)
[ --enable-error-messages=level - Control the amount of detail in error messages.
......@@ -916,7 +916,7 @@ fi
# error-checking
# Change default into the specific value of the default
if test "$enable_error_checking" = "default" ; then
if test "$enable_error_checking" = "yes" ; then
# glue_romio.h needs the variable HAVE_ERROR_CHECKING to have the value 0 or 1
......@@ -927,7 +927,7 @@ case "$enable_error_checking" in
# checking tests in the test suite
ac_configure_args="${ac_configure_args} --disable-checkerrors"
error_checking_kind=`echo $enable_error_checking | \
tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
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