summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0dfd98e..9c03518 100644
--- a/configure.in
+++ b/configure.in
@@ -31,6 +31,11 @@ AC_SUBST(PACKAGE_VERSION)
LTVER="1:0:0"
AC_SUBST(LTVER)
+# Take a copy of original flags
+ZMQ_ORIG_CFLAGS="${CFLAGS:-none}"
+ZMQ_ORIG_CPPFLAGS="${CPPFLAGS:-none}"
+ZMQ_ORIG_CXXFLAGS="${CXXFLAGS:-none}"
+
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99