Respect CXX configuration variable, fixes https://trac.macports.org/ticket/68723, submitted upstreams: https://github.com/pgpointcloud/pointcloud/pull/350 --- config.mk.in.orig +++ config.mk.in @@ -1,6 +1,7 @@ CC = @CC@ -CFLAGS = @CFLAGS@ -CXXFLAGS += -fPIC -std=c++0x +CXX = @CXX@ +CFLAGS += @CFLAGS@ +CXXFLAGS += -fPIC -std=c++11 @CXXFLAGS@ SQLPP = @SQLPP@ XML2_CPPFLAGS = @XML2_CPPFLAGS@ --- configure.ac.orig +++ configure.ac @@ -377,6 +377,7 @@ AC_MSG_RESULT() AC_MSG_RESULT([ -------------- Compiler Info ------------- ]) AC_MSG_RESULT([ C compiler: ${CC} ${CFLAGS}]) +AC_MSG_RESULT([ CXX compiler: ${CXX} ${CXXFLAGS}]) AC_MSG_RESULT([ SQL preprocessor: ${SQLPP}]) AC_MSG_RESULT() AC_MSG_RESULT([ -------------- Dependencies -------------- ])