Skip to content

Commit 5032fe8

Browse files
committed
configure: add "rocq" synonyms for "coq" options
1 parent e9cbaf6 commit 5032fe8

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎configure‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ Options:
8989
-libdir <dir> Install libraries in <dir>
9090
-sharedir <dir> Install configuration file in <dir>
9191
-mandir <dir> Install man pages in <dir>
92-
-coqdevdir <dir> Install Coq development (.vo files) in <dir>
92+
-rocqdevdir <dir> Install Rocq/Coq development (.vo files) in <dir>
9393
-toolprefix <pref> Prefix names of tools ("gcc", etc) with <pref>
9494
-use-external-Flocq Use an already-installed Flocq library
9595
-use-external-MenhirLib Use an already-installed MenhirLib library
9696
-no-runtime-lib Do not compile nor install the runtime support library
9797
-no-standard-headers Do not install nor use the standard .h headers
9898
-clightgen Also compile and install the clightgen tool
99-
-install-coqdev Also install the Coq development (implied by -clightgen)
99+
-install-rocqdev Also install the Rocq/Coq development (implied by -clightgen)
100100
-ignore-coq-version Accept to use experimental or unsupported versions of Coq
101-
-ignore-rocq-version Accept to use experimental or unsupported versions of Rocq
101+
-ignore-rocq-version Accept to use experimental or unsupported versions of Rocq
102102
-ignore-ocaml-version Accept to use experimental or unsupported versions of OCaml
103103
'
104104

@@ -124,7 +124,7 @@ while : ; do
124124
mandir="$2"; shift;;
125125
-sharedir|--sharedir)
126126
sharedir="$2"; shift;;
127-
-coqdevdir|--coqdevdir)
127+
-coqdevdir|--coqdevdir|-rocqdevdir|--rocqdevdir)
128128
coqdevdir="$2"; install_coqdev=true; shift;;
129129
-toolprefix|--toolprefix)
130130
toolprefix="$2"; shift;;
@@ -143,6 +143,8 @@ while : ; do
143143
ignore_ocaml_version=true;;
144144
-install-coqdev|--install-coqdev|-install-coq-dev|--install-coq-dev)
145145
install_coqdev=true;;
146+
-install-rocqdev|--install-rocqdev|-install-rocq-dev|--install-rocq-dev)
147+
install_coqdev=true;;
146148
-use-external-Flocq|--use-external-Flocq)
147149
library_Flocq=external;;
148150
-use-external-MenhirLib|--use-external-MenhirLib)
@@ -943,11 +945,11 @@ EOF
943945

944946
if $install_coqdev; then
945947
cat <<EOF
946-
Coq development installed in.. $(expandprefix "$coqdevdir")
948+
Rocq/Coq development installed in.. $(expandprefix "$coqdevdir")
947949
EOF
948950
else
949951
cat <<EOF
950-
Coq development will not be installed
952+
Rocq/Coq development will not be installed
951953
EOF
952954
fi
953955

0 commit comments

Comments
 (0)