make 'autoreconf' work from dist tarball

We need to include VERSION for it to run.
This commit is contained in:
Brent Cook 2014-11-03 21:05:47 -06:00
parent 0aeb93b9fc
commit 94ec2b6b1c
2 changed files with 3 additions and 1 deletions

View File

@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libcrypto.pc libssl.pc openssl.pc
EXTRA_DIST = VERSION

View File

@ -1,4 +1,4 @@
+AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION]))
AC_INIT([libressl], m4_esyscmd([tr -d '\n' < VERSION]))
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_MACRO_DIR([m4])