diff --git a/ase/configure b/ase/configure index 987c5b31..47d5e3c3 100755 --- a/ase/configure +++ b/ase/configure @@ -26766,10 +26766,10 @@ CJFLAGS=$CJFLAGS BUILD_CJ=$BUILD_CJ +echo "################ ${CXX} ######################" + + if test -n "${CXX}"; then - - -if true; then HAVE_CXX_TRUE= HAVE_CXX_FALSE='#' else @@ -26777,18 +26777,6 @@ else HAVE_CXX_FALSE= fi -else - - -if false; then - HAVE_CXX_TRUE= - HAVE_CXX_FALSE='#' -else - HAVE_CXX_TRUE='#' - HAVE_CXX_FALSE= -fi - -fi ac_config_files="$ac_config_files makefile include/makefile include/ase/makefile include/ase/cmn/makefile include/ase/awk/makefile include/ase/lsp/makefile include/ase/tgp/makefile include/ase/utl/makefile lib/makefile lib/cmn/makefile lib/awk/makefile lib/lsp/makefile lib/tgp/makefile lib/utl/makefile cmd/makefile cmd/awk/makefile cmd/lsp/makefile cmd/tgp/makefile" @@ -26916,13 +26904,6 @@ echo "$as_me: error: conditional \"HAVE_CXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"HAVE_CXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"HAVE_CXX\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files diff --git a/ase/configure.ac b/ase/configure.ac index fa2d7769..e01015b7 100644 --- a/ase/configure.ac +++ b/ase/configure.ac @@ -271,11 +271,8 @@ AC_SUBST(BUILD_JNI, $BUILD_JNI) AC_SUBST(CJFLAGS, $CJFLAGS) AC_SUBST(BUILD_CJ, $BUILD_CJ) -if test -n "${CXX}"; then - AM_CONDITIONAL(HAVE_CXX,true) -else - AM_CONDITIONAL(HAVE_CXX,false) -fi +echo "################ ${CXX} ######################" +AM_CONDITIONAL(HAVE_CXX, test -n "${CXX}") AC_CONFIG_FILES([ makefile