aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-04-28 15:17:32 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2017-04-28 15:17:32 +0200
commitbefe864384244c47f42d891068aba6f14287ff8e (patch)
tree471a0dd852839201f9de10608453926bd2b09c5f /configure
parent53c1757eeb2a76bae796854b9437808ce7ac907e (diff)
downloadcompcert-befe864384244c47f42d891068aba6f14287ff8e.tar.gz
compcert-befe864384244c47f42d891068aba6f14287ff8e.zip
Always generate .merlin and _CoqProject files.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 7 insertions, 19 deletions
diff --git a/configure b/configure
index 957bad4e..b08f95bd 100755
--- a/configure
+++ b/configure
@@ -21,8 +21,6 @@ has_runtime_lib=true
has_standard_headers=true
clightgen=false
responsefile="gnu"
-merlin=false
-coqproject=false
usage='Usage: ./configure [options] target
@@ -71,8 +69,6 @@ Options:
-no-runtime-lib Do not compile nor install the runtime support library
-no-standard-headers Do not install nor use the standard .h headers
-clightgen Also compile the clightgen tool
- -merlin Generate .merlin file
- -coqproject Generate a _CoqProject file for Proof General
'
@@ -97,10 +93,6 @@ while : ; do
has_standard_headers=false;;
-clightgen)
clightgen=true;;
- -merlin)
- merlin=true;;
- -coqproject)
- coqproject=true;;
*)
if test -n "$target"; then echo "$usage" 1>&2; exit 2; fi
target="$1";;
@@ -493,8 +485,7 @@ if $missingtools; then
exit 2
fi
-if $merlin; then
- cat > .merlin <<EOF
+cat > .merlin <<EOF
S lib
S common
S $arch
@@ -518,10 +509,8 @@ B cparser
B extraction
EOF
-fi
-if $coqproject; then
- echo "-R lib compcert.lib \
+echo "-R lib compcert.lib \
-R common compcert.common \
-R ${arch} compcert.${arch} \
-R backend compcert.backend \
@@ -530,12 +519,11 @@ if $coqproject; then
-R flocq compcert.flocq \
-R exportclight compcert.exportclight \
-R cparser compcert.cparser" > _CoqProject
- case $arch in
- x86)
- echo "-R x86_${bitsize} compcert.x86_${bitsize}" >> _CoqProject
- ;;
- esac
-fi
+case $arch in
+ x86)
+ echo "-R x86_${bitsize} compcert.x86_${bitsize}" >> _CoqProject
+ ;;
+esac
#
# Generate Makefile.config