X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=79ed9c9ec3bf080a1e1ff1fd917dcbaf0a074308;hb=b5d8f76790194561f08fb500b3cc2cb10504199e;hp=fb2717bc8f5f9bfacb89bd02b4d86c846f996210;hpb=dd0daf1a3b75447fe5d1317e2e65e027d10e7697;p=wrappi.git diff --git a/configure.ac b/configure.ac index fb2717b..79ed9c9 100644 --- a/configure.ac +++ b/configure.ac @@ -55,10 +55,16 @@ if test "$OCAMLFIND" = "no"; then AC_MSG_ERROR([You must install OCaml findlib (the ocamlfind command)]) fi +dnl Library versioning. +LIB_MINOR=`cat $srcdir/lib/LIB_MINOR` +AC_SUBST(LIB_MINOR) + AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile APIs/Makefile + examples/Makefile generator/Makefile + generator-lib/config.ml generator-lib/Makefile generator-macros/Makefile lib/Makefile])