Commit 4b8b9981 authored by Guillaume Melquiond's avatar Guillaume Melquiond

Use the supported invocation of AC_INIT.

The 1-argument version of AC_INIT is obsolete since 2003. Moreover, it
prevents ./configure --version from giving a meaningful output.
parent 2aec83c9
......@@ -9,8 +9,6 @@
# #
####################################################################
include Version
VERBOSEMAKE ?= @enable_verbose_make@
ifeq ($(VERBOSEMAKE),yes)
......@@ -1870,7 +1868,7 @@ wc:
# distrib
#########
NAME = why3-$(VERSION)
NAME = why3-@VERSION@
DISTRIB_DIR = distrib/$(NAME)
DISTRIB_TAR = $(DISTRIB_DIR).tar.gz
......@@ -2048,7 +2046,7 @@ clean::
doc/version.tex: doc/version.tex.in config.status
./config.status chmod --file $@
config.status: configure Version
config.status: configure
./config.status --recheck
opt byte: lib/why3/META
......@@ -2056,7 +2054,7 @@ opt byte: lib/why3/META
lib/why3/META: lib/why3/META.in config.status
./config.status chmod --file $@
configure: configure.in
configure: configure.in Version
autoconf
###################
......
# Why version
VERSION=0.83+git
......@@ -39,11 +39,7 @@
# OCAMLVERSION the ocaml version number
# OCAMLWEB "ocamlweb" (not mandatory)
# check for one particular file of the sources
# ADAPT THE FOLLOWING LINE TO YOUR SOURCES!
AC_INIT(src/)
AC_INIT([Why3], m4_esyscmd([. ./Version; echo -n "$VERSION"]))
# verbosemake
......@@ -671,7 +667,7 @@ fi
dnl AC_CHECK_PROGS(PSVIEWER,gv evince)
dnl AC_CHECK_PROGS(PDFVIEWER,xpdf acroread evince)
. ./Version
VERSION=$PACKAGE_VERSION
BUILDDATE="$(date)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment