Previous solution requires autoconf > 2.69, use dumb solution for now.
This commit is contained in:
parent
fa9b80e568
commit
1229f3b91c
@ -1,12 +1,10 @@
|
||||
--- configure.in.orig 2017-08-23 06:49:52.000000000 -0600
|
||||
+++ configure.in 2021-03-29 14:18:01.847530174 -0600
|
||||
@@ -29,9 +29,13 @@
|
||||
+++ configure.in 2021-03-29 14:40:50.317505290 -0600
|
||||
@@ -29,9 +29,11 @@
|
||||
# OCAMLWIN32 "yes"/"no" depending on Sys.os_type = "Win32"
|
||||
# EXE ".exe" if OCAMLWIN32=yes, "" otherwise
|
||||
|
||||
+m4_define([ocplib_simplex_VERSION],
|
||||
+ m4_esyscmd([sed -rn 's/^version:[[:blank:]]*"([^"]*)"/\1/p' opam]))
|
||||
+AC_INIT([ocplib-simplex], m4_defn([ocplib_simplex_VERSION]))
|
||||
+AC_INIT([ocplib-simplex], [0.4])
|
||||
+
|
||||
# check for one particular file of the sources
|
||||
# ADAPT THE FOLLOWING LINE TO YOUR SOURCES!
|
||||
@ -15,7 +13,7 @@
|
||||
|
||||
# Check for Ocaml compilers
|
||||
|
||||
@@ -137,5 +141,6 @@ AC_SUBST(OCAMLWIN32)
|
||||
@@ -137,5 +139,6 @@ AC_SUBST(OCAMLWIN32)
|
||||
AC_SUBST(EXE)
|
||||
|
||||
# Finally create the Makefile.configurable from Makefile.configurable.in
|
||||
|
Loading…
Reference in New Issue
Block a user