summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-04-11 13:55:45 +1000
committerTony Cook <tony@develop-help.com>2016-07-11 14:22:02 +1000
commita2c061044c1e87ae8e777d6134191760235db0de (patch)
treea3c35fd44380fe498a00de78222320dbaf2eaf26 /Configure
parentcf549b97af10073cdfe2efa120d97a5b53ecd85c (diff)
downloadperl-a2c061044c1e87ae8e777d6134191760235db0de.tar.gz
make Configure abort if both -Duselongdouble and -Dusequadmath are requested
See [perl #126203]
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/Configure b/Configure
index a6fd51fb6c..d634cdb3c0 100755
--- a/Configure
+++ b/Configure
@@ -5241,6 +5241,20 @@ case "$usequadmath" in
*) usequadmath="$undef" ;;
esac
+: Fail if both uselongdouble and usequadmath are requested
+case "$usequadmath:$uselongdouble" in
+define:define)
+ $cat <<EOM >&4
+
+*** You requested the use of the quadmath library and use
+*** of long doubles.
+***
+*** Please select one or the other.
+EOM
+ exit 1
+ ;;
+esac
+
: Looking for optional libraries
echo " "
echo "Checking for optional libraries..." >&4