[cig-commits] commit: Update to work with Petsc 3.2

Mercurial hg at geodynamics.org
Wed May 2 06:40:45 PDT 2012


changeset:   13:a934e63479c5
tag:         tip
user:        Walter Landry <wlandry at caltech.edu>
date:        Wed May 02 06:40:10 2012 -0700
files:       configure configure.in source/SAMRAI/solv/PETScAbstractVectorReal.C source/SAMRAI/solv/PETScAbstractVectorReal.h source/SAMRAI/solv/SNES_SAMRAIContext.C
description:
Update to work with Petsc 3.2


diff -r 5cdbad7b1e02 -r a934e63479c5 configure
--- a/configure	Wed May 02 06:39:00 2012 -0700
+++ b/configure	Wed May 02 06:40:10 2012 -0700
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67.
+# Generated by GNU Autoconf 2.68.
 #
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -89,6 +89,7 @@ IFS=" ""	$as_nl"
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -214,11 +215,18 @@ IFS=$as_save_IFS
   # We cannot yet assume a decent shell, so we have to provide a
 	# neutralization value for shells without unset; and this also
 	# works around shells that cannot unset nonexistent variables.
+	# Preserve -v and -x to the replacement shell.
 	BASH_ENV=/dev/null
 	ENV=/dev/null
 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 	export CONFIG_SHELL
-	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+	case $- in # ((((
+	  *v*x* | *x*v* ) as_opts=-vx ;;
+	  *v* ) as_opts=-v ;;
+	  *x* ) as_opts=-x ;;
+	  * ) as_opts= ;;
+	esac
+	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 fi
 
     if test x$as_have_required = xno; then :
@@ -1199,7 +1207,7 @@ Try \`$0 --help' for more information"
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1656,7 +1664,7 @@ if $ac_init_version; then
 if $ac_init_version; then
   cat <<\_ACEOF
 configure
-generated by GNU Autoconf 2.67
+generated by GNU Autoconf 2.68
 
 Copyright (C) 2010 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
@@ -1702,7 +1710,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_compile
@@ -1740,7 +1748,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_compile
@@ -1786,7 +1794,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_link
@@ -1823,7 +1831,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_cpp
@@ -1860,7 +1868,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_cpp
@@ -1906,7 +1914,7 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
@@ -1919,10 +1927,10 @@ ac_fn_c_check_header_mongrel ()
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval "test \"\${$3+set}\"" = set; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -1985,7 +1993,7 @@ esac
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -1994,7 +2002,7 @@ eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_mongrel
 
@@ -2035,7 +2043,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_run
@@ -2049,7 +2057,7 @@ ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2067,7 +2075,7 @@ eval ac_res=\$$3
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_compile
 
@@ -2104,7 +2112,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 	ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   as_fn_set_status $ac_retval
 
 } # ac_fn_f77_try_compile
@@ -2117,7 +2125,7 @@ ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -2180,7 +2188,7 @@ eval ac_res=\$$3
 eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
 
@@ -2192,10 +2200,10 @@ ac_fn_cxx_check_header_mongrel ()
 ac_fn_cxx_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if eval "test \"\${$3+set}\"" = set; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2258,7 +2266,7 @@ esac
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if eval "test \"\${$3+set}\"" = set; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2267,7 +2275,7 @@ eval ac_res=\$$3
 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_cxx_check_header_mongrel
 cat >config.log <<_ACEOF
@@ -2275,7 +2283,7 @@ running configure, to aid debugging if c
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by $as_me, which was
-generated by GNU Autoconf 2.67.  Invocation command line was
+generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
 
@@ -2533,7 +2541,7 @@ do
       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
@@ -2637,7 +2645,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:2640:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:2648:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -2679,7 +2687,7 @@ ac_configure="$SHELL $ac_aux_dir/configu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
+if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
@@ -2695,7 +2703,7 @@ fi
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -2713,7 +2721,7 @@ case $build_os in *\ *) build_os=`echo "
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
+if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
@@ -2728,7 +2736,7 @@ fi
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -2746,7 +2754,7 @@ case $host_os in *\ *) host_os=`echo "$h
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 $as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
+if ${ac_cv_target+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$target_alias" = x; then
@@ -2761,7 +2769,7 @@ fi
 $as_echo "$ac_cv_target" >&6; }
 case $ac_cv_target in
 *-*-*) ;;
-*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
+*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 esac
 target=$ac_cv_target
 ac_save_IFS=$IFS; IFS='-'
@@ -2794,7 +2802,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:2797:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:2805:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -3028,7 +3036,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:3031:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:3039:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -3087,7 +3095,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:3090:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:3098:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -3113,7 +3121,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:3116:" "before running compiler search: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:3124:" "before running compiler search: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -3133,7 +3141,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_wo
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
+if ${ac_cv_prog_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CXX"; then
@@ -3177,7 +3185,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CXX"; then
@@ -3341,7 +3349,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error 77 "C++ compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
@@ -3384,7 +3392,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
@@ -3443,7 +3451,7 @@ eval ac_try_echo="\"\$as_me:${as_lineno-
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot run C++ compiled programs.
 If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
     fi
   fi
 fi
@@ -3454,7 +3462,7 @@ ac_clean_files=$ac_clean_files_save
 ac_clean_files=$ac_clean_files_save
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
+if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3495,7 +3503,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
@@ -3505,7 +3513,7 @@ ac_objext=$OBJEXT
 ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -3542,7 +3550,7 @@ ac_save_CXXFLAGS=$CXXFLAGS
 ac_save_CXXFLAGS=$CXXFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
+if ${ac_cv_prog_cxx_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -3634,7 +3642,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:3637:" "after running compiler search: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:3645:" "after running compiler search: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -3653,7 +3661,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3693,7 +3701,7 @@ set dummy gcc; ac_word=$2
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -3746,7 +3754,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=$
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3786,7 +3794,7 @@ set dummy cc; ac_word=$2
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3845,7 +3853,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_wo
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3889,7 +3897,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -3944,7 +3952,7 @@ test -z "$CC" && { { $as_echo "$as_me:${
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3973,7 +3981,7 @@ done
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4010,7 +4018,7 @@ ac_save_CFLAGS=$CFLAGS
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4088,7 +4096,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -4188,7 +4196,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 $as_echo_n "checking for library containing strerror... " >&6; }
-if test "${ac_cv_search_strerror+set}" = set; then :
+if ${ac_cv_search_strerror+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -4222,11 +4230,11 @@ fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_strerror+set}" = set; then :
+  if ${ac_cv_search_strerror+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_strerror+set}" = set; then :
+if ${ac_cv_search_strerror+:} false; then :
 
 else
   ac_cv_search_strerror=no
@@ -4272,7 +4280,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if ${ac_cv_prog_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AR"; then
@@ -4319,7 +4327,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_M4+set}" = set; then :
+if ${ac_cv_prog_M4+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$M4"; then
@@ -4378,7 +4386,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
+if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4462,7 +4470,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then
-  if test "${ac_cv_path_mkdir+set}" = set; then :
+  if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -4518,7 +4526,7 @@ if test -n "$CPP" && test -d "$CPP"; the
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
+  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -4634,7 +4642,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -4646,7 +4654,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
+if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -4709,7 +4717,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
+if ${ac_cv_path_EGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4785,8 +4793,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-  echo "configure:4788:" CC is $CC >&5
-  echo "configure:4789:" CPP is $CPP >&5
+  echo "configure:4796:" CC is $CC >&5
+  echo "configure:4797:" CPP is $CPP >&5
 
   CC_ID=unknown
   CC_VERSION=unknown
@@ -4795,7 +4803,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
   # Check if it is a Sun compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4798:" checking if $CC is sunpro >&5
+    echo "configure:4806:" checking if $CC is sunpro >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __SUNPRO_C
@@ -4816,7 +4824,7 @@ rm -f conftest*
 
   # Check if it is a Intel compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4819:" checking if $CC is intel >&5
+    echo "configure:4827:" checking if $CC is intel >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __INTEL_COMPILER
@@ -4840,7 +4848,7 @@ rm -f conftest*
 
   # Check if it is a GNU compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4843:" checking if $CC is gnu >&5
+    echo "configure:4851:" checking if $CC is gnu >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __GNUC__
@@ -4861,7 +4869,7 @@ rm -f conftest*
 
   # Check if it is a DEC compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4864:" checking if $CC is dec >&5
+    echo "configure:4872:" checking if $CC is dec >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __DECC
@@ -4882,7 +4890,7 @@ rm -f conftest*
 
   # Check if it is a KAI compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4885:" checking if $CC is kai >&5
+    echo "configure:4893:" checking if $CC is kai >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __KCC
@@ -4903,7 +4911,7 @@ rm -f conftest*
 
   # Check if it is a SGI compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4906:" checking if $CC is sgi >&5
+    echo "configure:4914:" checking if $CC is sgi >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __sgi
@@ -4924,17 +4932,17 @@ rm -f conftest*
 
   # Check if it is a IBM compiler.
   if test $CC_ID = unknown; then
-    echo "configure:4927:" checking if $CC is xlc >&5
+    echo "configure:4935:" checking if $CC is xlc >&5
     if echo "$host_os" | grep "aix" >/dev/null ; then
       # The wretched IBM shell does not eval correctly,
       # so we have to help it with a pre-eval eval statement.
       ac_cpp=`eval "echo $ac_cpp"`
       save_ac_cpp=$ac_cpp
-      echo "configure:4933:" ac_cpp is temporarily set to $ac_cpp >&5
+      echo "configure:4941:" ac_cpp is temporarily set to $ac_cpp >&5
     else
       save_ac_cpp=
     fi
-    echo "configure:4937:" ac_cpp is $ac_cpp >&5
+    echo "configure:4945:" ac_cpp is $ac_cpp >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __xlC__
@@ -4954,7 +4962,7 @@ rm -f conftest*
 rm -f conftest*
 
     test "$save_ac_cpp" && ac_cpp=$save_ac_cpp
-    echo "configure:4957:" ac_cpp is restored to $ac_cpp >&5
+    echo "configure:4965:" ac_cpp is restored to $ac_cpp >&5
   fi
 
 
@@ -4974,7 +4982,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:4977:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:4985:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -4989,7 +4997,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 if test -z "$CXXCPP"; then
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
+  if ${ac_cv_prog_CXXCPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CXXCPP needs to be expanded
@@ -5105,7 +5113,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -5127,8 +5135,8 @@ ac_link='$CXX -o conftest$ac_exeext $CXX
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  echo "configure:5130:" CXXP is $CXX >&5
-  echo "configure:5131:" CXXCPP is $CXXCPP >&5
+  echo "configure:5138:" CXXP is $CXX >&5
+  echo "configure:5139:" CXXCPP is $CXXCPP >&5
 
   CXX_ID=unknown
   CXX_VERSION=unknown
@@ -5137,7 +5145,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   # Check if it is a Sun compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5140:" checking if $CXX is sunpro >&5
+    echo "configure:5148:" checking if $CXX is sunpro >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __SUNPRO_CC
@@ -5158,7 +5166,7 @@ rm -f conftest*
 
   # Check if it is a Intel compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5161:" checking if $CXX is intel >&5
+    echo "configure:5169:" checking if $CXX is intel >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __INTEL_COMPILER
@@ -5182,7 +5190,7 @@ rm -f conftest*
 
   # Check if it is a GNU compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5185:" checking if $CXX is gnu >&5
+    echo "configure:5193:" checking if $CXX is gnu >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __GNUC__
@@ -5206,7 +5214,7 @@ rm -f conftest*
 
   # Check if it is a DEC compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5209:" checking if $CXX is dec >&5
+    echo "configure:5217:" checking if $CXX is dec >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __DECCXX
@@ -5227,7 +5235,7 @@ rm -f conftest*
 
   # Check if it is a KAI compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5230:" checking if $CXX is kai >&5
+    echo "configure:5238:" checking if $CXX is kai >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __KCC
@@ -5248,7 +5256,7 @@ rm -f conftest*
 
   # Check if it is a SGI compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5251:" checking if $CXX is sgi >&5
+    echo "configure:5259:" checking if $CXX is sgi >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 __sgi
@@ -5269,7 +5277,7 @@ rm -f conftest*
 
   # Check if it is a IBM compiler.
   if test $CXX_ID = unknown; then
-    echo "configure:5272:" checking if $CXX is xlc >&5
+    echo "configure:5280:" checking if $CXX is xlc >&5
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __xlC__
@@ -5307,7 +5315,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:5310:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:5318:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -5340,7 +5348,7 @@ esac
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports namespace" >&5
 $as_echo_n "checking whether ${CXX} supports namespace... " >&6; }
 
-   if test "${casc_cv_cxx_have_namespace+set}" = set; then :
+   if ${casc_cv_cxx_have_namespace+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5403,7 +5411,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports template-based complex numbers" >&5
 $as_echo_n "checking whether ${CXX} supports template-based complex numbers... " >&6; }
 
-   if test "${casc_cv_cxx_have_template_complex+set}" = set; then :
+   if ${casc_cv_cxx_have_template_complex+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5456,7 +5464,7 @@ fi
    else
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports ISO template-based complex numbers" >&5
 $as_echo_n "checking whether ${CXX} supports ISO template-based complex numbers... " >&6; }
-      if test "${casc_cv_cxx_have_template_complex_std+set}" = set; then :
+      if ${casc_cv_cxx_have_template_complex_std+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5518,7 +5526,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports sstream.h and class ostringstream" >&5
 $as_echo_n "checking whether ${CXX} supports sstream.h and class ostringstream... " >&6; }
 
-   if test "${casc_cv_cxx_have_sstream+set}" = set; then :
+   if ${casc_cv_cxx_have_sstream+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5577,7 +5585,7 @@ fi
    else
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports sstream and class ostringstream" >&5
 $as_echo_n "checking whether ${CXX} supports sstream and class ostringstream... " >&6; }
-	if test "${casc_cv_cxx_have_sstream_std+set}" = set; then :
+	if ${casc_cv_cxx_have_sstream_std+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5651,7 +5659,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} defines the iomanip left operator" >&5
 $as_echo_n "checking whether ${CXX} defines the iomanip left operator... " >&6; }
 
-   if test "${casc_cv_cxx_have_iomanip_left+set}" = set; then :
+   if ${casc_cv_cxx_have_iomanip_left+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5716,7 +5724,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} defines the new placement operator" >&5
 $as_echo_n "checking whether ${CXX} defines the new placement operator... " >&6; }
 
-   if test "${casc_cv_cxx_have_new_placement_operator+set}" = set; then :
+   if ${casc_cv_cxx_have_new_placement_operator+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5778,7 +5786,7 @@ fi
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports member function specialization" >&5
 $as_echo_n "checking whether ${CXX} supports member function specialization... " >&6; }
-   if test "${casc_cv_cxx_have_member_function_specialization+set}" = set; then :
+   if ${casc_cv_cxx_have_member_function_specialization+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5843,7 +5851,7 @@ fi
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports static data instantiation" >&5
 $as_echo_n "checking whether ${CXX} supports static data instantiation... " >&6; }
-   if test "${casc_cv_cxx_have_static_data_instantiation+set}" = set; then :
+   if ${casc_cv_cxx_have_static_data_instantiation+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5899,7 +5907,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports exception handling" >&5
 $as_echo_n "checking whether ${CXX} supports exception handling... " >&6; }
-    if test "${casc_cv_cxx_have_exception_handling+set}" = set; then :
+    if ${casc_cv_cxx_have_exception_handling+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -5964,7 +5972,7 @@ fi
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports standard static data specialization" >&5
 $as_echo_n "checking whether ${CXX} supports standard static data specialization... " >&6; }
-   if test "${casc_cv_cxx_have_standard_static_data_specialization+set}" = set; then :
+   if ${casc_cv_cxx_have_standard_static_data_specialization+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6024,7 +6032,7 @@ if test "$casc_cv_cxx_have_standard_stat
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports pragma static data specialization" >&5
 $as_echo_n "checking whether ${CXX} supports pragma static data specialization... " >&6; }
-   if test "${casc_cv_cxx_have_pragma_static_data_specialization+set}" = set; then :
+   if ${casc_cv_cxx_have_pragma_static_data_specialization+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6086,7 +6094,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports cmath" >&5
 $as_echo_n "checking whether ${CXX} supports cmath... " >&6; }
 
-   if test "${casc_cv_cxx_have_cmath+set}" = set; then :
+   if ${casc_cv_cxx_have_cmath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6148,7 +6156,7 @@ fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} needs isnan templates" >&5
 $as_echo_n "checking whether ${CXX} needs isnan templates... " >&6; }
 
-   if test "${casc_cv_cxx_have_isnan_template+set}" = set; then :
+   if ${casc_cv_cxx_have_isnan_template+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6271,7 +6279,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports cmath" >&5
 $as_echo_n "checking whether ${CXX} supports cmath... " >&6; }
 
-   if test "${casc_cv_cxx_have_cmath+set}" = set; then :
+   if ${casc_cv_cxx_have_cmath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -6329,7 +6337,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
+if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -6459,7 +6467,7 @@ for ac_header in sys/times.h
 for ac_header in sys/times.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_times_h" = x""yes; then :
+if test "x$ac_cv_header_sys_times_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_TIMES_H 1
 _ACEOF
@@ -6471,7 +6479,7 @@ for ac_header in unistd.h
 for ac_header in unistd.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
-if test "x$ac_cv_header_unistd_h" = x""yes; then :
+if test "x$ac_cv_header_unistd_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_UNISTD_H 1
 _ACEOF
@@ -6725,7 +6733,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:6728:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:6736:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -6742,7 +6750,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_F77+set}" = set; then :
+if ${ac_cv_prog_F77+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$F77"; then
@@ -6787,7 +6795,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_F77+set}" = set; then :
+if ${ac_cv_prog_F77+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$F77"; then
@@ -6833,7 +6841,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_F77+set}" = set; then :
+if ${ac_cv_prog_F77+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$F77"; then
@@ -6884,7 +6892,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:6887:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:6895:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -6916,7 +6924,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_wo
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_F77+set}" = set; then :
+if ${ac_cv_prog_F77+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$F77"; then
@@ -6960,7 +6968,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
+if ${ac_cv_prog_ac_ct_F77+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_F77"; then
@@ -7042,7 +7050,7 @@ ac_ext=F
 ac_ext=F
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
-if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
+if ${ac_cv_f77_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.$ac_ext <<_ACEOF
@@ -7070,7 +7078,7 @@ FFLAGS=
 FFLAGS=
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
-if test "${ac_cv_prog_f77_g+set}" = set; then :
+if ${ac_cv_prog_f77_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   FFLAGS=-g
@@ -7123,7 +7131,7 @@ ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
 $as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
-if test "${ac_cv_prog_f77_v+set}" = set; then :
+if ${ac_cv_prog_f77_v+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.$ac_ext <<_ACEOF
@@ -7153,7 +7161,8 @@ shift
 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
 # LIBRARY_PATH; skip all such settings.
 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
-  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+  sed '/^Driving:/d; /^Configured with:/d;
+      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
 $as_echo "$ac_f77_v_output" >&5
 FFLAGS=$ac_save_FFLAGS
 
@@ -7218,7 +7227,7 @@ fi
 $as_echo "$ac_cv_prog_f77_v" >&6; }
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
 $as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
-if test "${ac_cv_f77_libs+set}" = set; then :
+if ${ac_cv_f77_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$FLIBS" != "x"; then
@@ -7243,7 +7252,8 @@ shift
 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
 # LIBRARY_PATH; skip all such settings.
 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
-  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+  sed '/^Driving:/d; /^Configured with:/d;
+      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
 $as_echo "$ac_f77_v_output" >&5
 FFLAGS=$ac_save_FFLAGS
 
@@ -7447,7 +7457,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:7450:" "after using ac_f77_library_ldflags: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:7460:" "after using ac_f77_library_ldflags: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -7459,7 +7469,7 @@ ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dummy main to link with Fortran 77 libraries" >&5
 $as_echo_n "checking for dummy main to link with Fortran 77 libraries... " >&6; }
-if test "${ac_cv_f77_dummy_main+set}" = set; then :
+if ${ac_cv_f77_dummy_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_f77_dm_save_LIBS=$LIBS
@@ -7556,7 +7566,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "linking to Fortran libraries from C fails
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -7571,7 +7581,7 @@ ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 name-mangling scheme" >&5
 $as_echo_n "checking for Fortran 77 name-mangling scheme... " >&6; }
-if test "${ac_cv_f77_mangling+set}" = set; then :
+if ${ac_cv_f77_mangling+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.$ac_ext <<_ACEOF
@@ -7718,7 +7728,7 @@ else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error $? "cannot compile a simple Fortran program
-See \`config.log' for more details" "$LINENO" 5 ; }
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
@@ -7824,8 +7834,8 @@ if test "x$with_x" = xno; then
   have_x=disabled
 else
   case $x_includes,$x_libraries in #(
-    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
-    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
+    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # One or both of the vars are not set, and there is no cached value.
@@ -8134,7 +8144,7 @@ else
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
-if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
+if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8176,14 +8186,14 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
-if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
+if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 fi
 
     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
-if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
+if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8225,7 +8235,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
-if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
+if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 fi
 
@@ -8244,14 +8254,14 @@ rm -f core conftest.err conftest.$ac_obj
     # The functions gethostbyname, getservbyname, and inet_addr are
     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
-if test "x$ac_cv_func_gethostbyname" = x""yes; then :
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
 fi
 
     if test $ac_cv_func_gethostbyname = no; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
+if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8293,14 +8303,14 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
-if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
+if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 fi
 
       if test $ac_cv_lib_nsl_gethostbyname = no; then
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
-if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
+if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8342,7 +8352,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
-if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
+if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 fi
 
@@ -8357,14 +8367,14 @@ fi
     # must be given before -lnsl if both are needed.  We assume that
     # if connect needs -lnsl, so does gethostbyname.
     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
-if test "x$ac_cv_func_connect" = x""yes; then :
+if test "x$ac_cv_func_connect" = xyes; then :
 
 fi
 
     if test $ac_cv_func_connect = no; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 $as_echo_n "checking for connect in -lsocket... " >&6; }
-if test "${ac_cv_lib_socket_connect+set}" = set; then :
+if ${ac_cv_lib_socket_connect+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8406,7 +8416,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 $as_echo "$ac_cv_lib_socket_connect" >&6; }
-if test "x$ac_cv_lib_socket_connect" = x""yes; then :
+if test "x$ac_cv_lib_socket_connect" = xyes; then :
   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 fi
 
@@ -8414,14 +8424,14 @@ fi
 
     # Guillermo Gomez says -lposix is necessary on A/UX.
     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
-if test "x$ac_cv_func_remove" = x""yes; then :
+if test "x$ac_cv_func_remove" = xyes; then :
 
 fi
 
     if test $ac_cv_func_remove = no; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 $as_echo_n "checking for remove in -lposix... " >&6; }
-if test "${ac_cv_lib_posix_remove+set}" = set; then :
+if ${ac_cv_lib_posix_remove+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8463,7 +8473,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 $as_echo "$ac_cv_lib_posix_remove" >&6; }
-if test "x$ac_cv_lib_posix_remove" = x""yes; then :
+if test "x$ac_cv_lib_posix_remove" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 fi
 
@@ -8471,14 +8481,14 @@ fi
 
     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
-if test "x$ac_cv_func_shmat" = x""yes; then :
+if test "x$ac_cv_func_shmat" = xyes; then :
 
 fi
 
     if test $ac_cv_func_shmat = no; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 $as_echo_n "checking for shmat in -lipc... " >&6; }
-if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
+if ${ac_cv_lib_ipc_shmat+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8520,7 +8530,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
-if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
+if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 fi
 
@@ -8538,7 +8548,7 @@ fi
   # John Interrante, Karl Berry
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
+if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8580,7 +8590,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
-if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
+if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 fi
 
@@ -8713,7 +8723,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args doxygen and DOXYGEN_BIN
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for doxygen" >&5
 $as_echo_n "checking for doxygen... " >&6; }
-if test "${btng_cv_prog_doxygen+set}" = set; then :
+if ${btng_cv_prog_doxygen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -8781,7 +8791,7 @@ set dummy doxygen; ac_word=$2
 set dummy doxygen; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_DOXYGEN_BIN+set}" = set; then :
+if ${ac_cv_path_DOXYGEN_BIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $DOXYGEN_BIN in
@@ -8829,7 +8839,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:8832:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:8842:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -8884,7 +8894,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:8887:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:8897:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -8915,7 +8925,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args perl and SAMRAI_PERL
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5
 $as_echo_n "checking for perl... " >&6; }
-if test "${btng_cv_prog_perl+set}" = set; then :
+if ${btng_cv_prog_perl+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -8983,7 +8993,7 @@ set dummy perl; ac_word=$2
 set dummy perl; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_path_SAMRAI_PERL+set}" = set; then :
+if ${ac_cv_path_SAMRAI_PERL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $SAMRAI_PERL in
@@ -9031,15 +9041,15 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:9034:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
-done
-
-
-
-echo "configure:9039:" begin stringize >&5
+  echo "configure:9044:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+done
+
+
+
+echo "configure:9049:" begin stringize >&5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
-if test "${ac_cv_c_stringize+set}" = set; then :
+if ${ac_cv_c_stringize+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -9065,7 +9075,7 @@ if test $ac_cv_c_stringize = yes; then
 
 fi
 
-echo "configure:9068:" end stringize >&5
+echo "configure:9078:" end stringize >&5
 
 
 
@@ -9074,7 +9084,7 @@ echo "configure:9068:" end stringize >&5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking whether restrict is broken" >&5
 $as_echo_n "checking checking whether restrict is broken... " >&6; }
 
-if test "${btng_cv_c_restrict_broken+set}" = set; then :
+if ${btng_cv_c_restrict_broken+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9160,7 +9170,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether namespace is broken" >&5
 $as_echo_n "checking whether namespace is broken... " >&6; }
 
-if test "${btng_cv_type_namespace_broken+set}" = set; then :
+if ${btng_cv_type_namespace_broken+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9231,7 +9241,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking whether bool type is broken" >&5
 $as_echo_n "checking checking whether bool type is broken... " >&6; }
 
-if test "${btng_cv_type_bool_broken+set}" = set; then :
+if ${btng_cv_type_bool_broken+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9300,7 +9310,7 @@ fi
 # Start macro BTNG_IOSTREAM_HEADER_FILENAME
 
 # Start macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
-if test "${btng_cv_iostream_header_filename+set}" = set; then :
+if ${btng_cv_iostream_header_filename+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9335,7 +9345,7 @@ fi
     if test -n "$btng_header_found"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $file is the header sought" >&5
 $as_echo_n "checking whether $file is the header sought... " >&6; }
-      echo "configure:9338:" found header file $file >&5
+      echo "configure:9348:" found header file $file >&5
       CPPFLAGS="$CPPFLAGS_SAVE $CXX_OPTIONS"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9415,7 +9425,7 @@ if test -z "$IOSTREAM_HEADER_FILE"; then
 
 $as_echo "#define IOSTREAM_IS_BROKEN 1" >>confdefs.h
 
-  echo "configure:9418:" header file iostream is broken >&5
+  echo "configure:9428:" header file iostream is broken >&5
 else
   unset iostream_header_is_broken
 
@@ -9423,7 +9433,7 @@ cat >>confdefs.h <<_ACEOF
 #define IOSTREAM_HEADER_FILE <$IOSTREAM_HEADER_FILE>
 _ACEOF
 
-  echo "configure:9426:" header file iostream is ok >&5
+  echo "configure:9436:" header file iostream is ok >&5
 fi
 # End macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
 
@@ -9434,7 +9444,7 @@ fi
 
 
 # Start macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
-if test "${btng_cv_iomanip_header_filename+set}" = set; then :
+if ${btng_cv_iomanip_header_filename+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9469,7 +9479,7 @@ fi
     if test -n "$btng_header_found"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $file is the header sought" >&5
 $as_echo_n "checking whether $file is the header sought... " >&6; }
-      echo "configure:9472:" found header file $file >&5
+      echo "configure:9482:" found header file $file >&5
       CPPFLAGS="$CPPFLAGS_SAVE $CXX_OPTIONS"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9546,7 +9556,7 @@ if test -z "$IOMANIP_HEADER_FILE"; then
 
 $as_echo "#define IOMANIP_IS_BROKEN 1" >>confdefs.h
 
-  echo "configure:9549:" header file iomanip is broken >&5
+  echo "configure:9559:" header file iomanip is broken >&5
 else
   unset iomanip_header_is_broken
 
@@ -9554,7 +9564,7 @@ cat >>confdefs.h <<_ACEOF
 #define IOMANIP_HEADER_FILE <$IOMANIP_HEADER_FILE>
 _ACEOF
 
-  echo "configure:9557:" header file iomanip is ok >&5
+  echo "configure:9567:" header file iomanip is ok >&5
 fi
 # End macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
 
@@ -9565,7 +9575,7 @@ fi
 # Start macro BTNG_IOSTREAM_HEADER_FILENAME
 
 # Start macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
-if test "${btng_cv_iostream_header_filename+set}" = set; then :
+if ${btng_cv_iostream_header_filename+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9600,7 +9610,7 @@ fi
     if test -n "$btng_header_found"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $file is the header sought" >&5
 $as_echo_n "checking whether $file is the header sought... " >&6; }
-      echo "configure:9603:" found header file $file >&5
+      echo "configure:9613:" found header file $file >&5
       CPPFLAGS="$CPPFLAGS_SAVE $CXX_OPTIONS"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9680,7 +9690,7 @@ if test -z "$IOSTREAM_HEADER_FILE"; then
 
 $as_echo "#define IOSTREAM_IS_BROKEN 1" >>confdefs.h
 
-  echo "configure:9683:" header file iostream is broken >&5
+  echo "configure:9693:" header file iostream is broken >&5
 else
   unset iostream_header_is_broken
 
@@ -9688,7 +9698,7 @@ cat >>confdefs.h <<_ACEOF
 #define IOSTREAM_HEADER_FILE <$IOSTREAM_HEADER_FILE>
 _ACEOF
 
-  echo "configure:9691:" header file iostream is ok >&5
+  echo "configure:9701:" header file iostream is ok >&5
 fi
 # End macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
 
@@ -9704,7 +9714,7 @@ btng_stl_sstream_test_body='/* Old synta
 btng_stl_sstream_test_body='/* Old syntax */ char i[10]; istrstream ist(i);'
 
 # Start macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
-if test "${btng_cv_stl_sstream_header_filename+set}" = set; then :
+if ${btng_cv_stl_sstream_header_filename+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9739,7 +9749,7 @@ fi
     if test -n "$btng_header_found"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $file is the header sought" >&5
 $as_echo_n "checking whether $file is the header sought... " >&6; }
-      echo "configure:9742:" found header file $file >&5
+      echo "configure:9752:" found header file $file >&5
       CPPFLAGS="$CPPFLAGS_SAVE $CXX_OPTIONS"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9816,7 +9826,7 @@ if test -z "$STL_SSTREAM_HEADER_FILE"; t
 
 $as_echo "#define STL_SSTREAM_IS_BROKEN 1" >>confdefs.h
 
-  echo "configure:9819:" header file stl-sstream is broken >&5
+  echo "configure:9829:" header file stl-sstream is broken >&5
 else
   unset stl_sstream_header_is_broken
 
@@ -9824,7 +9834,7 @@ cat >>confdefs.h <<_ACEOF
 #define STL_SSTREAM_HEADER_FILE <$STL_SSTREAM_HEADER_FILE>
 _ACEOF
 
-  echo "configure:9827:" header file stl-sstream is ok >&5
+  echo "configure:9837:" header file stl-sstream is ok >&5
 fi
 # End macro BTNG_TREAT_VARIABLE_HEADER_FILENAME
 
@@ -9843,7 +9853,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether namespace is broken" >&5
 $as_echo_n "checking whether namespace is broken... " >&6; }
 
-if test "${btng_cv_type_namespace_broken+set}" = set; then :
+if ${btng_cv_type_namespace_broken+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -9991,7 +10001,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
-if test "x$ac_cv_header_malloc_h" = x""yes; then :
+if test "x$ac_cv_header_malloc_h" = xyes; then :
 
 $as_echo "#define HAVE_MALLOC_H 1" >>confdefs.h
 
@@ -10263,7 +10273,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args dl and dl_PREFIX
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl" >&5
 $as_echo_n "checking for dl... " >&6; }
-if test "${btng_cv_prog_dl+set}" = set; then :
+if ${btng_cv_prog_dl+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -10327,7 +10337,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args dl-includes and dl_INCLUDES
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl-includes" >&5
 $as_echo_n "checking for dl-includes... " >&6; }
-if test "${btng_cv_prog_dl_includes+set}" = set; then :
+if ${btng_cv_prog_dl_includes+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -10357,7 +10367,7 @@ case "$with_dl_includes" in
       if test "${with_dl_includes}" = yes ; then
   as_fn_error $? "If you specify --with-dl-includes, you must give it the path as in --with-dl-includes=/installation/path" "$LINENO" 5
 fi
-echo "configure:10360:" environment dl_INCLUDES not defined >&5
+echo "configure:10370:" environment dl_INCLUDES not defined >&5
 
 
     fi
@@ -10396,7 +10406,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args dl-libs and dl_LIBS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl-libs" >&5
 $as_echo_n "checking for dl-libs... " >&6; }
-if test "${btng_cv_prog_dl_libs+set}" = set; then :
+if ${btng_cv_prog_dl_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -10426,7 +10436,7 @@ case "$with_dl_libs" in
       if test "${with_dl_libs}" = yes ; then
   as_fn_error $? "If you specify --with-dl-libs, you must give it the path as in --with-dl-libs=/installation/path" "$LINENO" 5
 fi
-echo "configure:10429:" environment dl_LIBS not defined >&5
+echo "configure:10439:" environment dl_LIBS not defined >&5
 
 
     fi
@@ -10477,7 +10487,7 @@ if test "${dl_PREFIX+set}" = set ; then
     # Look for library.
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
 $as_echo_n "checking for library containing dlopen... " >&6; }
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if ${ac_cv_search_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -10519,11 +10529,11 @@ fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_dlopen+set}" = set; then :
+  if ${ac_cv_search_dlopen+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_dlopen+set}" = set; then :
+if ${ac_cv_search_dlopen+:} false; then :
 
 else
   ac_cv_search_dlopen=no
@@ -10547,7 +10557,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:10550:" "After finding dl flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:10560:" "After finding dl flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -10565,7 +10575,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:10568:" "Found dl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:10578:" "Found dl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -10583,7 +10593,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:10586:" "Did not find dl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:10596:" "Did not find dl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -10594,7 +10604,7 @@ fi
     unset btng_extra_libs
     unset btng_save_LIBS
   else
-    echo "configure:10597:" Not looking for dl because dl_LIBS is already set >&5
+    echo "configure:10607:" Not looking for dl because dl_LIBS is already set >&5
   fi
 fi
 # End macro BTNG_VAR_SET_DL
@@ -10642,7 +10652,7 @@ ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to get verbose linking output from $F77" >&5
 $as_echo_n "checking how to get verbose linking output from $F77... " >&6; }
-if test "${ac_cv_prog_f77_v+set}" = set; then :
+if ${ac_cv_prog_f77_v+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat > conftest.$ac_ext <<_ACEOF
@@ -10672,7 +10682,8 @@ shift
 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
 # LIBRARY_PATH; skip all such settings.
 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
-  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+  sed '/^Driving:/d; /^Configured with:/d;
+      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
 $as_echo "$ac_f77_v_output" >&5
 FFLAGS=$ac_save_FFLAGS
 
@@ -10737,7 +10748,7 @@ fi
 $as_echo "$ac_cv_prog_f77_v" >&6; }
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 libraries of $F77" >&5
 $as_echo_n "checking for Fortran 77 libraries of $F77... " >&6; }
-if test "${ac_cv_f77_libs+set}" = set; then :
+if ${ac_cv_f77_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$FLIBS" != "x"; then
@@ -10762,7 +10773,8 @@ shift
 # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
 # LIBRARY_PATH; skip all such settings.
 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 |
-  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
+  sed '/^Driving:/d; /^Configured with:/d;
+      '"/^[_$as_cr_Letters][_$as_cr_alnum]*=/d"`
 $as_echo "$ac_f77_v_output" >&5
 FFLAGS=$ac_save_FFLAGS
 
@@ -10966,7 +10978,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:10969:" "after using ac_f77_library_ldflags: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:10981:" "after using ac_f77_library_ldflags: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -10980,7 +10992,7 @@ done
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args nsl and nsl_PREFIX
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nsl" >&5
 $as_echo_n "checking for nsl... " >&6; }
-if test "${btng_cv_prog_nsl+set}" = set; then :
+if ${btng_cv_prog_nsl+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11047,7 +11059,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11050:" "before looking: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11062:" "before looking: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11058,7 +11070,7 @@ done
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args nsl-includes and nsl_INCLUDES
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nsl-includes" >&5
 $as_echo_n "checking for nsl-includes... " >&6; }
-if test "${btng_cv_prog_nsl_includes+set}" = set; then :
+if ${btng_cv_prog_nsl_includes+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11088,7 +11100,7 @@ case "$with_nsl_includes" in
       if test "${with_nsl_includes}" = yes ; then
   as_fn_error $? "If you specify --with-nsl-includes, you must give it the path as in --with-nsl-includes=/installation/path" "$LINENO" 5
 fi
-echo "configure:11091:" environment nsl_INCLUDES not defined >&5
+echo "configure:11103:" environment nsl_INCLUDES not defined >&5
 
 
     fi
@@ -11127,7 +11139,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args nsl-libs and nsl_LIBS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nsl-libs" >&5
 $as_echo_n "checking for nsl-libs... " >&6; }
-if test "${btng_cv_prog_nsl_libs+set}" = set; then :
+if ${btng_cv_prog_nsl_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11157,7 +11169,7 @@ case "$with_nsl_libs" in
       if test "${with_nsl_libs}" = yes ; then
   as_fn_error $? "If you specify --with-nsl-libs, you must give it the path as in --with-nsl-libs=/installation/path" "$LINENO" 5
 fi
-echo "configure:11160:" environment nsl_LIBS not defined >&5
+echo "configure:11172:" environment nsl_LIBS not defined >&5
 
 
     fi
@@ -11207,7 +11219,7 @@ if test "${nsl_PREFIX+set}" = set ; then
     # Look for library.
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnetname" >&5
 $as_echo_n "checking for library containing getnetname... " >&6; }
-if test "${ac_cv_search_getnetname+set}" = set; then :
+if ${ac_cv_search_getnetname+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -11249,11 +11261,11 @@ fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_getnetname+set}" = set; then :
+  if ${ac_cv_search_getnetname+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_getnetname+set}" = set; then :
+if ${ac_cv_search_getnetname+:} false; then :
 
 else
   ac_cv_search_getnetname=no
@@ -11277,7 +11289,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11280:" "After finding nsl flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11292:" "After finding nsl flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11295,7 +11307,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11298:" "Found nsl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11310:" "Found nsl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11313,7 +11325,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11316:" "Did not find nsl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11328:" "Did not find nsl library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11324,7 +11336,7 @@ fi
     unset btng_extra_libs
     unset btng_save_LIBS
   else
-    echo "configure:11327:" Not looking for nsl because nsl_LIBS is already set >&5
+    echo "configure:11339:" Not looking for nsl because nsl_LIBS is already set >&5
   fi
 fi
 
@@ -11355,7 +11367,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args blas and blas_PREFIX
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blas" >&5
 $as_echo_n "checking for blas... " >&6; }
-if test "${btng_cv_prog_blas+set}" = set; then :
+if ${btng_cv_prog_blas+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11424,7 +11436,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args blas-includes and blas_INCLUDES
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blas-includes" >&5
 $as_echo_n "checking for blas-includes... " >&6; }
-if test "${btng_cv_prog_blas_includes+set}" = set; then :
+if ${btng_cv_prog_blas_includes+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11454,7 +11466,7 @@ case "$with_blas_includes" in
       if test "${with_blas_includes}" = yes ; then
   as_fn_error $? "If you specify --with-blas-includes, you must give it the path as in --with-blas-includes=/installation/path" "$LINENO" 5
 fi
-echo "configure:11457:" environment blas_INCLUDES not defined >&5
+echo "configure:11469:" environment blas_INCLUDES not defined >&5
 
 
     fi
@@ -11493,7 +11505,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args blas-libs and blas_LIBS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blas-libs" >&5
 $as_echo_n "checking for blas-libs... " >&6; }
-if test "${btng_cv_prog_blas_libs+set}" = set; then :
+if ${btng_cv_prog_blas_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11523,7 +11535,7 @@ case "$with_blas_libs" in
       if test "${with_blas_libs}" = yes ; then
   as_fn_error $? "If you specify --with-blas-libs, you must give it the path as in --with-blas-libs=/installation/path" "$LINENO" 5
 fi
-echo "configure:11526:" environment blas_LIBS not defined >&5
+echo "configure:11538:" environment blas_LIBS not defined >&5
 
 
     fi
@@ -11573,7 +11585,7 @@ if test "${blas_PREFIX+set}" = set ; the
     # Look for library.
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing daxpy_" >&5
 $as_echo_n "checking for library containing daxpy_... " >&6; }
-if test "${ac_cv_search_daxpy_+set}" = set; then :
+if ${ac_cv_search_daxpy_+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -11615,11 +11627,11 @@ fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_daxpy_+set}" = set; then :
+  if ${ac_cv_search_daxpy_+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_daxpy_+set}" = set; then :
+if ${ac_cv_search_daxpy_+:} false; then :
 
 else
   ac_cv_search_daxpy_=no
@@ -11643,7 +11655,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11646:" "After finding blas flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11658:" "After finding blas flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11661,7 +11673,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11664:" "Found blas library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11676:" "Found blas library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11679,7 +11691,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11682:" "Did not find blas library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11694:" "Did not find blas library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11697,7 +11709,7 @@ fi
     unset btng_extra_libs
     unset btng_save_LIBS
   else
-    echo "configure:11700:" Not looking for blas because blas_LIBS is already set >&5
+    echo "configure:11712:" Not looking for blas because blas_LIBS is already set >&5
   fi
 fi
 
@@ -11712,7 +11724,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11715:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11727:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11749,7 +11761,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:11752:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:11764:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -11761,7 +11773,7 @@ done
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args lapack and lapack_PREFIX
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lapack" >&5
 $as_echo_n "checking for lapack... " >&6; }
-if test "${btng_cv_prog_lapack+set}" = set; then :
+if ${btng_cv_prog_lapack+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11830,7 +11842,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args lapack-includes and lapack_INCLUDES
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lapack-includes" >&5
 $as_echo_n "checking for lapack-includes... " >&6; }
-if test "${btng_cv_prog_lapack_includes+set}" = set; then :
+if ${btng_cv_prog_lapack_includes+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11860,7 +11872,7 @@ case "$with_lapack_includes" in
       if test "${with_lapack_includes}" = yes ; then
   as_fn_error $? "If you specify --with-lapack-includes, you must give it the path as in --with-lapack-includes=/installation/path" "$LINENO" 5
 fi
-echo "configure:11863:" environment lapack_INCLUDES not defined >&5
+echo "configure:11875:" environment lapack_INCLUDES not defined >&5
 
 
     fi
@@ -11899,7 +11911,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args lapack-libs and lapack_LIBS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lapack-libs" >&5
 $as_echo_n "checking for lapack-libs... " >&6; }
-if test "${btng_cv_prog_lapack_libs+set}" = set; then :
+if ${btng_cv_prog_lapack_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -11929,7 +11941,7 @@ case "$with_lapack_libs" in
       if test "${with_lapack_libs}" = yes ; then
   as_fn_error $? "If you specify --with-lapack-libs, you must give it the path as in --with-lapack-libs=/installation/path" "$LINENO" 5
 fi
-echo "configure:11932:" environment lapack_LIBS not defined >&5
+echo "configure:11944:" environment lapack_LIBS not defined >&5
 
 
     fi
@@ -11979,7 +11991,7 @@ if test "${lapack_PREFIX+set}" = set ; t
     # Look for library.
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing xerbla_" >&5
 $as_echo_n "checking for library containing xerbla_... " >&6; }
-if test "${ac_cv_search_xerbla_+set}" = set; then :
+if ${ac_cv_search_xerbla_+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -12021,11 +12033,11 @@ fi
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_xerbla_+set}" = set; then :
+  if ${ac_cv_search_xerbla_+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_xerbla_+set}" = set; then :
+if ${ac_cv_search_xerbla_+:} false; then :
 
 else
   ac_cv_search_xerbla_=no
@@ -12049,7 +12061,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:12052:" "After finding lapack flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:12064:" "After finding lapack flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -12067,7 +12079,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:12070:" "Found lapack library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:12082:" "Found lapack library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -12085,7 +12097,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:12088:" "Did not find lapack library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:12100:" "Did not find lapack library flag: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -12103,7 +12115,7 @@ fi
     unset btng_extra_libs
     unset btng_save_LIBS
   else
-    echo "configure:12106:" Not looking for lapack because lapack_LIBS is already set >&5
+    echo "configure:12118:" Not looking for lapack because lapack_LIBS is already set >&5
   fi
 fi
 
@@ -12118,7 +12130,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:12121:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:12133:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -12155,7 +12167,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:12158:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:12170:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -12181,25 +12193,25 @@ else
 
    casc_find_mpi_cache_used=yes
 
-   if test "${casc_cv_mpi_include+set}" = set; then :
+   if ${casc_cv_mpi_include+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_libs+set}" = set; then :
+   if ${casc_cv_mpi_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_lib_dirs+set}" = set; then :
+   if ${casc_cv_mpi_lib_dirs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_flags+set}" = set; then :
+   if ${casc_cv_mpi_flags+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
@@ -12317,25 +12329,25 @@ fi
 
    casc_find_mpi_cache_used=yes
 
-   if test "${casc_cv_mpi_include+set}" = set; then :
+   if ${casc_cv_mpi_include+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_libs+set}" = set; then :
+   if ${casc_cv_mpi_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_lib_dirs+set}" = set; then :
+   if ${casc_cv_mpi_lib_dirs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
 fi
 
-   if test "${casc_cv_mpi_flags+set}" = set; then :
+   if ${casc_cv_mpi_flags+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_find_mpi_cache_used=no
@@ -12422,7 +12434,7 @@ set dummy $ac_prog; ac_word=$2
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_MPICC+set}" = set; then :
+if ${ac_cv_prog_MPICC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$MPICC"; then
@@ -12608,7 +12620,7 @@ fi
    as_ac_Lib=`$as_echo "ac_cv_lib_$casc_lib''_main" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$casc_lib" >&5
 $as_echo_n "checking for main in -l$casc_lib... " >&6; }
-if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12655,7 +12667,7 @@ else
          as_ac_Lib=`$as_echo "ac_cv_lib_$casc_lib''_main" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$casc_lib" >&5
 $as_echo_n "checking for main in -l$casc_lib... " >&6; }
-if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -12931,7 +12943,7 @@ EOF
 
                         unset ac_cv_header_mpi_h
                         ac_fn_c_check_header_mongrel "$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
-if test "x$ac_cv_header_mpi_h" = x""yes; then :
+if test "x$ac_cv_header_mpi_h" = xyes; then :
   MPIINCLUDE="$casc_cppflags"
 fi
 
@@ -13100,25 +13112,25 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
          fi
       fi
 
-      if test "${casc_cv_mpi_include+set}" = set; then :
+      if ${casc_cv_mpi_include+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_cv_mpi_include=$MPIINCLUDE
 fi
 
-      if test "${casc_cv_mpi_lib_dirs+set}" = set; then :
+      if ${casc_cv_mpi_lib_dirs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_cv_mpi_lib_dirs=$MPILIBDIRS
 fi
 
-      if test "${casc_cv_mpi_libs+set}" = set; then :
+      if ${casc_cv_mpi_libs+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_cv_mpi_libs=$MPILIBS
 fi
 
-      if test "${casc_cv_mpi_flags+set}" = set; then :
+      if ${casc_cv_mpi_flags+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   casc_cv_mpi_flags=$MPIFLAGS
@@ -13153,7 +13165,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13156:" "After successfully finding MPI using casc_find_mpi: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13168:" "After successfully finding MPI using casc_find_mpi: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13171,7 +13183,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13174:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13186:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13236,7 +13248,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
-if test "${ac_cv_lib_z_inflateEnd+set}" = set; then :
+if ${ac_cv_lib_z_inflateEnd+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -13278,14 +13290,14 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
-if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then :
+if test "x$ac_cv_lib_z_inflateEnd" = xyes; then :
   zlib_cv_libz=yes
 else
   zlib_cv_libz=no
 fi
 
         ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_zlib_h" = x""yes; then :
+if test "x$ac_cv_header_zlib_h" = xyes; then :
   zlib_cv_zlib_h=yes
 else
   zlib_cv_zlib_h=no
@@ -13308,7 +13320,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
                 #
                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
-if test "${ac_cv_lib_z_inflateEnd+set}" = set; then :
+if ${ac_cv_lib_z_inflateEnd+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -13350,7 +13362,7 @@ fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
 $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
-if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then :
+if test "x$ac_cv_lib_z_inflateEnd" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBZ 1
 _ACEOF
@@ -13553,7 +13565,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13556:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13568:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13662,7 +13674,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13665:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13677:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13673,7 +13685,7 @@ done
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args hypre and hypre_PREFIX
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypre" >&5
 $as_echo_n "checking for hypre... " >&6; }
-if test "${btng_cv_prog_hypre+set}" = set; then :
+if ${btng_cv_prog_hypre+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -13764,7 +13776,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13767:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13779:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13783,14 +13795,14 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13786:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13798:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
 
   # Check if HYPRE header is ok.
   ac_fn_c_check_header_mongrel "$LINENO" "HYPRE_config.h" "ac_cv_header_HYPRE_config_h" "$ac_includes_default"
-if test "x$ac_cv_header_HYPRE_config_h" = x""yes; then :
+if test "x$ac_cv_header_HYPRE_config_h" = xyes; then :
   :
 else
   as_fn_error $? "Problems checking HYPRE_config.h" "$LINENO" 5
@@ -13835,7 +13847,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13838:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13850:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13849,7 +13861,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13852:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13864:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13887,7 +13899,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13890:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13902:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -13983,7 +13995,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:13986:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:13998:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14017,7 +14029,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args petsc and PETSC_DIR
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for petsc" >&5
 $as_echo_n "checking for petsc... " >&6; }
-if test "${btng_cv_prog_petsc+set}" = set; then :
+if ${btng_cv_prog_petsc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -14106,7 +14118,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14109:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14121:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14118,7 +14130,7 @@ done
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args petsc-arch and PETSC_ARCH
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for petsc-arch" >&5
 $as_echo_n "checking for petsc-arch... " >&6; }
-if test "${btng_cv_prog_petsc_arch+set}" = set; then :
+if ${btng_cv_prog_petsc_arch+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -14148,7 +14160,7 @@ case "$with_petsc_arch" in
       if test "${with_petsc_arch}" = yes ; then
   as_fn_error $? "If you specify --with-petsc-arch, you must give it the path as in --with-petsc-arch=/installation/path" "$LINENO" 5
 fi
-echo "configure:14151:" environment PETSC_ARCH not defined >&5
+echo "configure:14163:" environment PETSC_ARCH not defined >&5
 
 
     fi
@@ -14187,7 +14199,7 @@ fi
 # Start macro BTNG_ARG_WITH_ENV_WRAPPER with args petsc-mpiuni and PETSC_MPIUNI
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for petsc-mpiuni" >&5
 $as_echo_n "checking for petsc-mpiuni... " >&6; }
-if test "${btng_cv_prog_petsc_mpiuni+set}" = set; then :
+if ${btng_cv_prog_petsc_mpiuni+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -14284,7 +14296,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14287:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14299:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14345,7 +14357,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14348:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14360:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14372,7 +14384,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14375:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14387:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14399,14 +14411,14 @@ fi
 $as_echo "#define HAVE_PETSC 1" >>confdefs.h
 
   if test $PETSC_VERSION_MAJOR -ne 3 || \
-     test $PETSC_VERSION_MINOR -ne 1 || \
+     test $PETSC_VERSION_MINOR -ne 2 || \
      test $PETSC_VERSION_SUBMINOR -ne 0 ; then
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
-SAMRAI requires PETSc-3.1.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
+SAMRAI requires PETSc-3.2.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
 which may not work properly!
 " >&5
 $as_echo "$as_me: WARNING:
-SAMRAI requires PETSc-3.1.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
+SAMRAI requires PETSc-3.2.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
 which may not work properly!
 " >&2;}
   fi
@@ -14496,7 +14508,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14499:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14511:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14542,7 +14554,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14545:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14557:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14589,7 +14601,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14592:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14604:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14635,7 +14647,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14638:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14650:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14682,7 +14694,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14685:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14697:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14747,7 +14759,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14750:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14762:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -14800,9 +14812,9 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
 
 $as_echo "#define NAN_IS_BROKEN 1" >>confdefs.h
 
-echo "configure:14803:" "NAN is broken (not in float.h)" >&5
-else
-  echo "configure:14805:" "NAN is ok (in float.h)" >&5
+echo "configure:14815:" "NAN is broken (not in float.h)" >&5
+else
+  echo "configure:14817:" "NAN is ok (in float.h)" >&5
 
 fi
 rm -f conftest*
@@ -14820,9 +14832,9 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
 
 $as_echo "#define FLT_SNAN_IS_BROKEN 1" >>confdefs.h
 
-echo "configure:14823:" "FLT_NAN is broken (not in float.h)" >&5
-else
-  echo "configure:14825:" "FLT_NAN is ok (in float.h)" >&5
+echo "configure:14835:" "FLT_NAN is broken (not in float.h)" >&5
+else
+  echo "configure:14837:" "FLT_NAN is ok (in float.h)" >&5
 
 fi
 rm -f conftest*
@@ -14840,9 +14852,9 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
 
 $as_echo "#define DBL_SNAN_IS_BROKEN 1" >>confdefs.h
 
-echo "configure:14843:" "DBL_NAN is broken (not in float.h)" >&5
-else
-  echo "configure:14845:" "DBL_NAN is ok (in float.h)" >&5
+echo "configure:14855:" "DBL_NAN is broken (not in float.h)" >&5
+else
+  echo "configure:14857:" "DBL_NAN is ok (in float.h)" >&5
 
 fi
 rm -f conftest*
@@ -14860,9 +14872,9 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
 
 $as_echo "#define FLT_MAX_IS_BROKEN 1" >>confdefs.h
 
-echo "configure:14863:" "FLT_MAX is broken (not in float.h)" >&5
-else
-  echo "configure:14865:" "FLT_MAX is ok (in float.h)" >&5
+echo "configure:14875:" "FLT_MAX is broken (not in float.h)" >&5
+else
+  echo "configure:14877:" "FLT_MAX is ok (in float.h)" >&5
 
 fi
 rm -f conftest*
@@ -14880,9 +14892,9 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
 
 $as_echo "#define DBL_MAX_IS_BROKEN 1" >>confdefs.h
 
-echo "configure:14883:" "DBL_MAX is broken (not in float.h)" >&5
-else
-  echo "configure:14885:" "DBL_MAX is ok (in float.h)" >&5
+echo "configure:14895:" "DBL_MAX is broken (not in float.h)" >&5
+else
+  echo "configure:14897:" "DBL_MAX is ok (in float.h)" >&5
 
 fi
 rm -f conftest*
@@ -14935,7 +14947,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:14938:" "before adding rpath syntax: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:14950:" "before adding rpath syntax: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15297,7 +15309,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15300:" "forming rpaths: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15312:" "forming rpaths: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15363,7 +15375,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15366:" "after adding rpath syntax: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15378:" "after adding rpath syntax: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15406,7 +15418,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15409:" "with-parallel-run-bin given: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15421:" "with-parallel-run-bin given: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15425,7 +15437,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15428:" "with-parallel-run-bin NOT given: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15440:" "with-parallel-run-bin NOT given: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15450,7 +15462,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15453:" "after setting PARALLEL_RUN_BIN: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15465:" "after setting PARALLEL_RUN_BIN: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15482,7 +15494,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15485:" "in support-serpa-run: $btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15497:" "in support-serpa-run: $btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15651,7 +15663,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15654:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15666:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15665,7 +15677,7 @@ for btng_log_vars_index in $btng_log_var
   else
     btng_log_vars_value="unset";
   fi
-  echo "configure:15668:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
+  echo "configure:15680:" "$btng_log_vars_index is $btng_log_vars_value" >&5;
 done
 
 
@@ -15739,10 +15751,21 @@ _ACEOF
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
+    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+	cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+	  mv -f confcache "$cache_file"$$ &&
+	  mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+	  mv -f confcache "$cache_file" ;;
+	esac
+      fi
+    fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -15774,7 +15797,7 @@ LTLIBOBJS=$ac_ltlibobjs
 
 
 
-: ${CONFIG_STATUS=./config.status}
+: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -15875,6 +15898,7 @@ IFS=" ""	$as_nl"
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -16182,7 +16206,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # values after options handling.
 ac_log="
 This file was extended by $as_me, which was
-generated by GNU Autoconf 2.67.  Invocation command line was
+generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -16252,7 +16276,7 @@ ac_cs_config="`$as_echo "$ac_configure_a
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 config.status
-configured by $0, generated by GNU Autoconf 2.67,
+configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"
 
 Copyright (C) 2010 Free Software Foundation, Inc.
@@ -16452,7 +16476,7 @@ do
     "${makefiles}") CONFIG_FILES="$CONFIG_FILES ${makefiles}" ;;
     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
 
-  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
@@ -16476,9 +16500,10 @@ fi
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp=
+  tmp= ac_tmp=
   trap 'exit_status=$?
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+  : "${ac_tmp:=$tmp}"
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0
   trap 'as_fn_exit 1' 1 2 13 15
 }
@@ -16486,12 +16511,13 @@ fi
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
+  test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
 
 # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.
@@ -16513,7 +16539,7 @@ else
   ac_cs_awk_cr=$ac_cr
 fi
 
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF
 
 
@@ -16541,7 +16567,7 @@ rm -f conf$$subs.sh
 rm -f conf$$subs.sh
 
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
 sed -n '
 h
@@ -16589,7 +16615,7 @@ rm -f conf$$subs.awk
 rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1
   FS = ""
 
@@ -16621,7 +16647,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/n
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else
   cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF
 
@@ -16655,7 +16681,7 @@ fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then
-cat >"$tmp/defines.awk" <<\_ACAWK ||
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {
 _ACEOF
 
@@ -16667,8 +16693,8 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_t"; then
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
     break
   elif $ac_last_try; then
     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
@@ -16769,7 +16795,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -16788,7 +16814,7 @@ do
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$tmp/stdin";;
+      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 	 # because $ac_f cannot contain `:'.
@@ -16797,7 +16823,7 @@ do
 	   [\\/$]*) false;;
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 	   esac ||
-	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
+	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"
@@ -16823,8 +16849,8 @@ do
     esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$tmp/stdin" \
-      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -16960,21 +16986,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack
 "
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
-  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined" >&2;}
 
-  rm -f "$tmp/stdin"
+  rm -f "$ac_tmp/stdin"
   case $ac_file in
-  -) cat "$tmp/out" && rm -f "$tmp/out";;
-  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \
   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;
@@ -16985,20 +17012,20 @@ which seems to be undefined.  Please mak
   if test x"$ac_file" != x-; then
     {
       $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
-    } >"$tmp/config.h" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+    } >"$ac_tmp/config.h" \
       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
       rm -f "$ac_file"
-      mv "$tmp/config.h" "$ac_file" \
+      mv "$ac_tmp/config.h" "$ac_file" \
 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi
   else
     $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
       || as_fn_error $? "could not create -" "$LINENO" 5
   fi
  ;;
diff -r 5cdbad7b1e02 -r a934e63479c5 configure.in
--- a/configure.in	Wed May 02 06:39:00 2012 -0700
+++ b/configure.in	Wed May 02 06:40:10 2012 -0700
@@ -1198,10 +1198,10 @@ if test "${PETSC_DIR+set}" = set; then
   INC_PATH="$petsc_INCLUDES $INC_PATH"
   AC_DEFINE(HAVE_PETSC,1,PETSC library is available so use it)
   if test $PETSC_VERSION_MAJOR -ne 3 || \
-     test $PETSC_VERSION_MINOR -ne 1 || \
+     test $PETSC_VERSION_MINOR -ne 2 || \
      test $PETSC_VERSION_SUBMINOR -ne 0 ; then
      AC_MSG_WARN([
-SAMRAI requires PETSc-3.1.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
+SAMRAI requires PETSc-3.2.0.  You have specified version $PETSC_VERSION_MAJOR.$PETSC_VERSION_MINOR.$PETSC_VERSION_SUBMINOR
 which may not work properly!
 ])
   fi
diff -r 5cdbad7b1e02 -r a934e63479c5 source/SAMRAI/solv/PETScAbstractVectorReal.C
--- a/source/SAMRAI/solv/PETScAbstractVectorReal.C	Wed May 02 06:39:00 2012 -0700
+++ b/source/SAMRAI/solv/PETScAbstractVectorReal.C	Wed May 02 06:40:10 2012 -0700
@@ -101,7 +101,6 @@ PETScAbstractVectorReal<TYPE>::PETScAbst
       PETScAbstractVectorReal<TYPE>::vecMDot_local;
    d_petsc_vector->ops->mtdot_local =
       PETScAbstractVectorReal<TYPE>::vecMTDot_local;
-   d_petsc_vector->ops->loadintovector = VecLoadIntoVector_Default;
    d_petsc_vector->ops->maxpointwisedivide =
       PETScAbstractVectorReal<TYPE>::vecMaxPointwiseDivide;
 
@@ -120,8 +119,6 @@ PETScAbstractVectorReal<TYPE>::PETScAbst
       PETScAbstractVectorReal<TYPE>::vecReplaceArray;
    d_petsc_vector->ops->reciprocal =
       PETScAbstractVectorReal<TYPE>::vecReciprocal;
-   d_petsc_vector->ops->viewnative =
-      PETScAbstractVectorReal<TYPE>::vecViewNative;
    d_petsc_vector->ops->conjugate = PETScAbstractVectorReal<TYPE>::vecConjugate;
    d_petsc_vector->ops->setlocaltoglobalmapping =
       PETScAbstractVectorReal<TYPE>::vecSetLocalToGlobalMapping;
@@ -164,7 +161,7 @@ PETScAbstractVectorReal<TYPE>::~PETScAbs
 
    if (!d_vector_created_via_duplicate) {
       d_petsc_vector->ops->destroy = 0;
-      ierr = VecDestroy(d_petsc_vector);
+      ierr = VecDestroy(&d_petsc_vector);
       PETSC_SAMRAI_ERROR(ierr);
    }
 
@@ -192,8 +189,8 @@ PetscErrorCode PETScAbstractVectorReal<T
 
 template<class TYPE>
 PetscErrorCode PETScAbstractVectorReal<TYPE>::vecDestroyVecs(
-   Vec* v_arr,
-   PetscInt n)
+   PetscInt n,
+   Vec* v_arr)
 {
    int i;
    int ierr = 0;
@@ -214,7 +211,7 @@ PetscErrorCode PETScAbstractVectorReal<T
       // However in the case of DuplicateVecs the VecDestroy
       // needs to be called on the PETSc Vec structure.
       petsc_vec->ops->destroy = 0;
-      ierr = VecDestroy(petsc_vec);
+      ierr = VecDestroy(&petsc_vec);
       PETSC_SAMRAI_ERROR(ierr);
    }
 
@@ -883,14 +880,13 @@ PETScAbstractVectorReal<TYPE>::vecSetOpt
 PETScAbstractVectorReal<TYPE>::vecSetOption(
    Vec x,
    VecOption op,
-   PetscTruth result)
+   PetscBool)
 {
    NULL_USE(x);
    NULL_USE(op);
    TBOX_ERROR(
       "PETScAbstractVectorReal<TYPE>::vecSetOption() unimplemented"
       << std::endl);
-   result=PETSC_TRUE;
    PetscFunctionReturn(0);
 }
 
@@ -950,20 +946,6 @@ PETScAbstractVectorReal<TYPE>::vecRecipr
    NULL_USE(vec);
    TBOX_ERROR(
       "PETScAbstractVectorReal<TYPE>::vecReciprocal() unimplemented"
-      << std::endl);
-   PetscFunctionReturn(0);
-}
-
-template<class TYPE>
-PetscErrorCode
-PETScAbstractVectorReal<TYPE>::vecViewNative(
-   Vec v,
-   PetscViewer viewer)
-{
-   NULL_USE(v);
-   NULL_USE(viewer);
-   TBOX_ERROR(
-      "PETScAbstractVectorReal<TYPE>::vecViewNative() unimplemented"
       << std::endl);
    PetscFunctionReturn(0);
 }
@@ -1041,12 +1023,10 @@ template<class TYPE>
 template<class TYPE>
 PetscErrorCode
 PETScAbstractVectorReal<TYPE>::vecLoad(
-   PetscViewer viewer,
-   const VecType outtype,
-   Vec* newvec)
+   Vec newvec,
+   PetscViewer viewer)
 {
    NULL_USE(viewer);
-   NULL_USE(outtype);
    NULL_USE(newvec);
    TBOX_ERROR(
       "PETScAbstractVectorReal<TYPE>::vecLoad() unimplemented" << std::endl);
diff -r 5cdbad7b1e02 -r a934e63479c5 source/SAMRAI/solv/PETScAbstractVectorReal.h
--- a/source/SAMRAI/solv/PETScAbstractVectorReal.h	Wed May 02 06:39:00 2012 -0700
+++ b/source/SAMRAI/solv/PETScAbstractVectorReal.h	Wed May 02 06:40:10 2012 -0700
@@ -363,8 +363,8 @@ private:
     */
    static PetscErrorCode
    vecDestroyVecs(
-      Vec* v_arr,
-      PetscInt n);
+      PetscInt n,
+      Vec* v_arr);
 
    /*
     * Computes the vector dot product.
@@ -691,7 +691,7 @@ private:
    vecSetOption(
       Vec x,
       VecOption op,
-      PetscTruth result);
+      PetscBool result);
 
    static PetscErrorCode
    vecSetValuesBlocked(
@@ -747,9 +747,8 @@ private:
 
    static PetscErrorCode
    vecLoad(
-      PetscViewer viewer,
-      const VecType outtype,
-      Vec* newvec);
+      Vec newvec,
+      PetscViewer viewer);
 
    static PetscErrorCode
    vecPointwiseMax(
diff -r 5cdbad7b1e02 -r a934e63479c5 source/SAMRAI/solv/SNES_SAMRAIContext.C
--- a/source/SAMRAI/solv/SNES_SAMRAIContext.C	Wed May 02 06:39:00 2012 -0700
+++ b/source/SAMRAI/solv/SNES_SAMRAIContext.C	Wed May 02 06:40:10 2012 -0700
@@ -631,7 +631,7 @@ int SNES_SAMRAIContext::solve()
          &d_SNES_completion_code);
    PETSC_SAMRAI_ERROR(ierr);
 
-   ierr = VecDestroy(initial_guess);
+   ierr = VecDestroy(&initial_guess);
    PETSC_SAMRAI_ERROR(ierr);
 
    return ((int)d_SNES_completion_code > 0) ? 1 : 0;
@@ -696,7 +696,7 @@ void SNES_SAMRAIContext::reportCompletio
       case SNES_DIVERGED_MAX_IT:
          os << " Maximum nonlinear iteration count exceeded.\n";
          break;
-      case SNES_DIVERGED_LS_FAILURE:
+      case SNES_DIVERGED_LINE_SEARCH:
          os << " Failure in linesearch procedure.\n";
          break;
       default:
@@ -750,7 +750,7 @@ void SNES_SAMRAIContext::createPetscObje
          &d_krylov_solver);
    PETSC_SAMRAI_ERROR(ierr);
 
-   ierr = KSPSetPreconditionerSide(d_krylov_solver,
+   ierr = KSPSetPCSide(d_krylov_solver,
          PC_RIGHT);
    PETSC_SAMRAI_ERROR(ierr);
 
@@ -807,7 +807,7 @@ void SNES_SAMRAIContext::initializePetsc
     *
     * First delete any Jacobian object that already has been created.
     */
-   if (d_jacobian) MatDestroy(d_jacobian);
+   if (d_jacobian) MatDestroy(&d_jacobian);
    if (d_uses_explicit_jacobian) {
 
       ierr = MatCreateShell(PETSC_COMM_SELF,
@@ -953,12 +953,12 @@ void SNES_SAMRAIContext::destroyPetscObj
 void SNES_SAMRAIContext::destroyPetscObjects()
 {
    if (d_jacobian) {
-      MatDestroy(d_jacobian);
+      MatDestroy(&d_jacobian);
       d_jacobian = ((Mat)NULL);
    }
 
    if (d_SNES_solver) {
-      SNESDestroy(d_SNES_solver);
+      SNESDestroy(&d_SNES_solver);
 //     if (d_SLES_solver) d_SLES_solver = ((SLES)NULL);
       if (d_preconditioner) d_preconditioner = ((PC)NULL);
       if (d_krylov_solver) d_krylov_solver = ((KSP)NULL);



More information about the CIG-COMMITS mailing list