From 04589ecec34b931f415c4832e4a16cc96ace1169 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 30 Dec 2015 15:11:13 +0100 Subject: [PATCH] Tweak recompile configure.in --- bacula/configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bacula/configure b/bacula/configure index 1b3cd52e01..abecaa5cd8 100755 --- a/bacula/configure +++ b/bacula/configure @@ -4080,8 +4080,7 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -4761,7 +4760,7 @@ fi BASECC=`basename $CC` have_gcc=no -if test "x$BASECC" = xgcc; then +if test x"$GCC" = "xyes"; then $as_echo "#define HAVE_GCC 1" >>confdefs.h have_gcc=yes -- 2.39.5