summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-09-11 17:55:00 +0200
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2022-09-27 15:21:38 +0200
commitc84d7768c08d7a6d76f5adf45d9d286c092b1048 (patch)
tree016caab03854bb325223148720a9095fc6bafcd2 /configure
parent629c23920183ab22c98a85aa697f356ba7e34c8c (diff)
downloadocaml-c84d7768c08d7a6d76f5adf45d9d286c092b1048.tar.gz
Rename configuration variables and make them more widely available
This commit renames the ocamltest_ocamldebug and ocamltest_ocamldoc configuration variables to build_ocamldebug and build_ocamldoc, makes them available to the whole build system and uses them to simplify a few conditionals in the build system.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 660373a455..62a38c3ea2 100755
--- a/configure
+++ b/configure
@@ -788,10 +788,10 @@ ASPP
ocamltest
documentation_tool_cmd
documentation_tool
-ocamltest_ocamldoc
+build_ocamldoc
ocamldoc
with_camltex
-ocamltest_ocamldebug
+build_ocamldebug
with_debugger
as_has_debug_prefix_map
cc_has_debug_prefix_map
@@ -16889,18 +16889,18 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
case $enable_debugger in #(
no) :
with_debugger=""
- ocamltest_ocamldebug=false
+ build_ocamldebug=false
{ $as_echo "$as_me:${as_lineno-$LINENO}: replay debugger disabled" >&5
$as_echo "$as_me: replay debugger disabled" >&6;} ;; #(
*) :
if $sockets; then :
with_debugger="ocamldebugger"
- ocamltest_ocamldebug=true
+ build_ocamldebug=true
{ $as_echo "$as_me:${as_lineno-$LINENO}: replay debugger supported" >&5
$as_echo "$as_me: replay debugger supported" >&6;}
else
with_debugger=""
- ocamltest_ocamldebug=false
+ build_ocamldebug=false
{ $as_echo "$as_me:${as_lineno-$LINENO}: replay debugger not supported" >&5
$as_echo "$as_me: replay debugger not supported" >&6;}
fi
@@ -17955,10 +17955,10 @@ fi
if test x"$enable_ocamldoc" = "xno"; then :
ocamldoc=""
- ocamltest_ocamldoc=false
+ build_ocamldoc=false
else
ocamldoc=ocamldoc
- ocamltest_ocamldoc=true
+ build_ocamldoc=true
ac_config_files="$ac_config_files ocamldoc/META"
fi