aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-05-20 05:10:43 +0200
committerTristan Gingold <tgingold@free.fr>2017-05-20 05:10:43 +0200
commit7302cdd4bd7329a1e0999cab2e53954a5129d280 (patch)
tree2368318f67b5a21e00e3ec91e4533eaeec3adc80 /configure
parent897f45fad9bae1c636b3ccf55d43eec0d99771ea (diff)
downloadghdl-7302cdd4bd7329a1e0999cab2e53954a5129d280.tar.gz
ghdl-7302cdd4bd7329a1e0999cab2e53954a5129d280.tar.bz2
ghdl-7302cdd4bd7329a1e0999cab2e53954a5129d280.zip
configure: add --reconfigure to config.status
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 042fc1080..bb60b3ee7 100755
--- a/configure
+++ b/configure
@@ -228,12 +228,13 @@ echo "#! /bin/sh"
echo "# Generated by configure."
echo "# Run this file to recreate the current configuration."
echo
-echo "# Generated by:"
-echo $echon "# $progname"$echoc
+echo 'if [ x"$1" = x"--reconfigure" ]; then'
+echo $echon " exec $progname"$echoc
for opt do
echo $echon \ \"$opt\"$echoc
done
echo
+echo 'fi'
echo
echo subst_vars=\"$subst_vars\"
for v in $subst_vars; do