aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-11-03 21:05:47 -0600
committerBrent Cook <bcook@openbsd.org>2014-11-03 21:05:47 -0600
commit94ec2b6b1c05e6047ecf02bc74776d0ad84f71cf (patch)
tree7915e4a5ee8e90760702e63c88c57532a96ec2ae
parent0aeb93b9fc9ecf0f9c2e98444545de485168823d (diff)
downloadportable-94ec2b6b1c05e6047ecf02bc74776d0ad84f71cf.tar.gz
portable-94ec2b6b1c05e6047ecf02bc74776d0ad84f71cf.tar.bz2
portable-94ec2b6b1c05e6047ecf02bc74776d0ad84f71cf.zip
make 'autoreconf' work from dist tarball
We need to include VERSION for it to run.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index fbb9315..12d8be7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4
3 3
4pkgconfigdir = $(libdir)/pkgconfig 4pkgconfigdir = $(libdir)/pkgconfig
5pkgconfig_DATA = libcrypto.pc libssl.pc openssl.pc 5pkgconfig_DATA = libcrypto.pc libssl.pc openssl.pc
6
7EXTRA_DIST = VERSION
diff --git a/configure.ac b/configure.ac
index 88613d6..e20d044 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1+AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION])) 1AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION]))
2AC_CANONICAL_HOST 2AC_CANONICAL_HOST
3AM_INIT_AUTOMAKE([subdir-objects]) 3AM_INIT_AUTOMAKE([subdir-objects])
4AC_CONFIG_MACRO_DIR([m4]) 4AC_CONFIG_MACRO_DIR([m4])