aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-11-05 11:48:11 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2014-11-18 18:06:46 +0100
commitcf61b5441bd6d7232a50f66f28c1b5c6bbdb1570 (patch)
treec3251e2421f7a3c9cd67d51a4e1f21b90012ffe1 /configure.ac
parentdffb8f81b83e1a10100365c696d6a04fc6344728 (diff)
Don't use bashisms in configure
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 89b856e664..6fdcc22b47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -819,9 +819,8 @@ AC_CONFIG_FILES([qa/pull-tester/tests-config.sh],[chmod +x qa/pull-tester/tests-
dnl boost's m4 checks do something really nasty: they export these vars. As a
dnl result, they leak into secp256k1's configure and crazy things happen.
dnl Until this is fixed upstream and we've synced, we'll just un-export them.
-export -n CPPFLAGS
-export -n LIBS
-export -n LDFLAGS
+unset CPPFLAGS
+unset LDFLAGS
ac_configure_args="${ac_configure_args} --disable-shared --with-pic"
AC_CONFIG_SUBDIRS([src/secp256k1])