summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-12-06 18:59:25 -0600
committerBrent Cook <bcook@openbsd.org>2014-12-06 18:59:25 -0600
commit976f64d932bc5fac8d18dd95feddcfb4f3782551 (patch)
tree649dc41764f1fdf66e69f24dd53eb978f6181b67 /configure.ac
parent14f4175b67a8cd6c01955340b4e20d75e4e25708 (diff)
downloadportable-976f64d932bc5fac8d18dd95feddcfb4f3782551.tar.gz
portable-976f64d932bc5fac8d18dd95feddcfb4f3782551.tar.bz2
portable-976f64d932bc5fac8d18dd95feddcfb4f3782551.zip
read all library versions directly from files
This makes building and testing easier because the library Makefile.am files are use directly rather than as templates. Thanks to Wouter Clarie for the idea.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 491e4b8..2cc7477 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,8 @@
1AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION])) 1AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION]))
2AC_SUBST([LIBCRYPTO_VERSION], m4_esyscmd([tr -d '\n' < crypto/VERSION]))
3AC_SUBST([LIBSSL_VERSION], m4_esyscmd([tr -d '\n' < ssl/VERSION]))
4AC_SUBST([LIBTLS_VERSION], m4_esyscmd([tr -d '\n' < tls/VERSION]))
5
2AC_CANONICAL_HOST 6AC_CANONICAL_HOST
3AM_INIT_AUTOMAKE([subdir-objects]) 7AM_INIT_AUTOMAKE([subdir-objects])
4AC_CONFIG_MACRO_DIR([m4]) 8AC_CONFIG_MACRO_DIR([m4])