Updated Branches: refs/heads/master e68f83535 -> 2cc063040
configure: C++ compiler detection improvement Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2cc06304 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2cc06304 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2cc06304 Branch: refs/heads/master Commit: 2cc063040dffb2ef826b0c36d67d6b0b4e2cdeea Parents: e68f835 Author: Ben Reser <[email protected]> Authored: Wed Mar 13 08:58:34 2013 +0100 Committer: Dave Cottlehuber <[email protected]> Committed: Wed Mar 13 08:58:47 2013 +0100 ---------------------------------------------------------------------- configure.ac | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/2cc06304/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 5246830..019d1a0 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,13 @@ m4_define([snappy_minor], [0]) m4_define([snappy_patchlevel], [3]) AC_PROG_CXX +AC_MSG_CHECKING([that we found a C++ compiler]) +if test -n "$ac_ct_CXX" ; then + AC_MSG_RESULT([yes]) +else + AC_MSG_RESULT([no]) + AC_MSG_ERROR([A C++ compiler is required.]) +fi AC_LANG([C++]) AC_C_BIGENDIAN AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h])
