[pacman-dev] [PATCH] configure: output more compile settings

Allan McRae allan at archlinux.org
Sat Jul 16 19:15:12 EDT 2011


Add information on CPPFLAGS, LDFLAGS and LIBS to the end of the
configure output. This is very helpful in tracing issues when
adjusting the configure file and also will allow us to more
easily replicate any issues discovered due to a users build
environment.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index a149c7d..6ad5be5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -398,9 +398,13 @@ ${PACKAGE_NAME}:
     localstatedir          : $(eval echo ${localstatedir})
        database dir        : $(eval echo ${localstatedir})/lib/pacman/
        cache dir           : $(eval echo ${localstatedir})/cache/pacman/pkg/
+
     compiler               : ${CC}
+    preprocessor flags     : ${CPPFLAGS}
     compiler flags         : ${CFLAGS}
     defines                : ${DEFS}
+    library flags          : ${LIBS}
+    linker flags           : ${LDFLAGS}
 
     Architecture           : ${CARCH}
     Architecture flags     : ${CARCHFLAGS}
-- 
1.7.6



More information about the pacman-dev mailing list