diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-07 16:25:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-07 16:26:36 +0200 |
commit | fe6cd03fad56359b9df83cfbaadc06981251a1b4 (patch) | |
tree | 92caf15a7c2a69cd2bd6a7d93d6108b1c0629a43 /configure.ac | |
parent | 9ef50ee0a436aeaa05adc9d78fda57e3ef53233e (diff) | |
download | curl-fe6cd03fad56359b9df83cfbaadc06981251a1b4.tar.gz |
configure: check for C++ compiler after C, to make it non-fatalbagder/configure-cxx-after-cc
The tests for object file/executable file extensions are presumably only
done for the first of these macros in the configure file.
Bug: https://github.com/curl/curl/pull/1851#issuecomment-327597515
Reported-by: Marcel Raad
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index aa6fd0a53..c5064d3ca 100755 --- a/configure.ac +++ b/configure.ac @@ -52,7 +52,6 @@ CURL_CHECK_OPTION_RT XC_CHECK_PATH_SEPARATOR AX_CODE_COVERAGE -AC_PROG_CXX # # save the configure arguments @@ -125,6 +124,7 @@ AC_SUBST(libext) dnl figure out the libcurl version CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h` XC_CHECK_PROG_CC +AC_PROG_CXX XC_AUTOMAKE AC_MSG_CHECKING([curl version]) AC_MSG_RESULT($CURLVERSION) |