]> git.pld-linux.org Git - packages/ocaml-curl.git/blame - ocaml-curl-sh.patch
- added sh patch (remove bashism from configure), unified ocaml files packaging
[packages/ocaml-curl.git] / ocaml-curl-sh.patch
CommitLineData
6131789c
JB
1--- ocurl-0.9.1/configure.ac.orig 2020-02-13 23:53:48.000000000 +0100
2+++ ocurl-0.9.1/configure.ac 2021-12-25 08:16:53.510972611 +0100
3@@ -49,7 +49,7 @@ AS_IF([test "$OCAMLFIND" == "no"],
4 [$OCAMLFIND c -linkpkg -package compiler-libs.common print_ext.ml -o print_ext])
5
6 AC_MSG_CHECKING([for bin-annot support])
7-AS_IF([test "$OCAMLVERSION" \> "4"],[OCAML_HAS_BIN_ANNOT=yes],[OCAML_HAS_BIN_ANNOT=no])
8+AS_IF([echo "$OCAMLVERSION" | grep -q '^[[4-9]]'],[OCAML_HAS_BIN_ANNOT=yes],[OCAML_HAS_BIN_ANNOT=no])
9 AC_MSG_RESULT([$OCAML_HAS_BIN_ANNOT])
10
11 AC_SUBST(OCAML_HAS_BIN_ANNOT)
This page took 0.072112 seconds and 4 git commands to generate.