X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=config;h=00f90876118383224f0bd0e1b1f38246da700092;hp=a341af2d616816b445426d826ea86a4da1e8d8bd;hb=f61f62ea13470a00ae8be691d62abec97f94f0ee;hpb=a0c3e4fa9089f571ff4b406cb914d0a504847b10 diff --git a/config b/config index a341af2d61..00f9087611 100755 --- a/config +++ b/config @@ -35,7 +35,8 @@ See INSTALL for instructions. EOF ;; -*) options=$options" $i" ;; +*) i=`echo "$i" | sed -e "s|'|'\\\\\\''|g"` + options="$options '$i'" ;; esac done @@ -902,7 +903,9 @@ if [ $? = "0" ]; then echo $PERL $THERE/Configure $OUT $options fi if [ "$DRYRUN" = "false" ]; then - $PERL $THERE/Configure $OUT $options + # eval to make sure quoted options, possibly with spaces inside, + # are treated right + eval $PERL $THERE/Configure $OUT $options fi else echo "This system ($OUT) is not supported. See file INSTALL for details."