summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:11:58 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-22 22:07:07 +0100
commitfcff80aac1f71ebf881fbc269fb3c4df0789de6b (patch)
treefa78732bacbb72900de9dfba6c9528e39ab113be /configure.ac
parente02570fd7d1f7fcc0928b42c0f7a7bb597e80208 (diff)
downloadopenvpn-fcff80aac1f71ebf881fbc269fb3c4df0789de6b.tar.gz
openvpn-fcff80aac1f71ebf881fbc269fb3c4df0789de6b.tar.xz
openvpn-fcff80aac1f71ebf881fbc269fb3c4df0789de6b.zip
build: remove awk and non-standard autoconf output processing
Replace with simpler environment solution. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Samuli Seppänen <samuli@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 81bf933..0b70325 100644
--- a/configure.ac
+++ b/configure.ac
@@ -913,6 +913,9 @@ if test "${enable_strict}" = "yes"; then
CFLAGS="${CFLAGS} -Wall -Wno-unused-parameter -Wno-unused-function"
fi
+CONFIGURE_DEFINES="`set | grep '^enable_.*=' ; set | grep '^with_.*='`"
+AC_DEFINE_UNQUOTED([CONFIGURE_DEFINES], ["`echo ${CONFIGURE_DEFINES}`"], [Configuration settings])
+
TAP_WIN_COMPONENT_ID="PRODUCT_TAP_WIN_COMPONENT_ID"
TAP_WIN_MIN_MAJOR="PRODUCT_TAP_WIN_MIN_MAJOR"
TAP_WIN_MIN_MINOR="PRODUCT_TAP_WIN_MIN_MINOR"