Skip to content

Commit

Permalink
Refuse to build without a C++11 compiler
Browse files Browse the repository at this point in the history
We had a buggy version of the AX_CXX_COMPILE_STDCXX macro: it didn't
abort the build if no suitable compiler was found. Upgrade to the
current version.

Relevant on OpenBSD, where the default compiler does not support C++11.
  • Loading branch information
pdewacht committed Mar 2, 2016
1 parent d85b875 commit 03bb366
Show file tree
Hide file tree
Showing 3 changed files with 557 additions and 134 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])

AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_11
AX_CXX_COMPILE_STDCXX([11])
AX_CXXFLAGS_WARN_ALL

dnl Use cups-config to detect the CUPS configuration.
Expand Down
Loading

0 comments on commit 03bb366

Please sign in to comment.