From ed1a239f6f1df12cf5800b07ee0b707afe5a98f9 Mon Sep 17 00:00:00 2001 From: Jeroen Vermeulen Date: Fri, 3 Nov 2023 18:23:54 +0100 Subject: [PATCH] Add `$CPPFLAGS` to preprocessor command line. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index dd668561c..6c4a33f7d 100755 --- a/configure +++ b/configure @@ -18942,7 +18942,7 @@ printf "%s\n" "yes" >&6; } # we want, and generate the actual libpqxx configuration header from the # output. mkdir -p include/pqxx -${CXXCPP} ${CXXFLAGS} "$srcdir/config-tests/cxx-features.cc" | \ +${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} "$srcdir/config-tests/cxx-features.cc" | \ "$srcdir/tools/generate_cxx_checks.py" \ --config --output include/pqxx/cxx_features.hxx diff --git a/configure.ac b/configure.ac index 94bee46c6..135e0da33 100644 --- a/configure.ac +++ b/configure.ac @@ -705,7 +705,7 @@ AC_MSG_RESULT(yes) # we want, and generate the actual libpqxx configuration header from the # output. mkdir -p include/pqxx -${CXXCPP} ${CXXFLAGS} "$srcdir/config-tests/cxx-features.cc" | \ +${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} "$srcdir/config-tests/cxx-features.cc" | \ "$srcdir/tools/generate_cxx_checks.py" \ --config --output include/pqxx/cxx_features.hxx