File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -2692,21 +2692,21 @@ EOF
2692
2692
else
2693
2693
CONFIGURE_COMMAND="$CONFIGURE_COMMAND [ $] 0"
2694
2694
fi
2695
-
2696
- for arg in $clean_configure_args; do
2697
- if test `expr -- $arg : "'.*"` = 0; then
2698
- if test `expr -- $arg : "-.*"` = 0 && test `expr -- $arg : ".*=.*"` = 0; then
2699
- continue;
2700
- fi
2701
- echo "' [ $ ] arg' \\" >> $1
2702
- CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS ' [ $ ] arg'"
2703
- else
2704
- if test `expr -- $arg : "'-.*"` = 0 && test `expr -- $arg : "'.*=.*"` = 0; then
2705
- continue;
2706
- fi
2707
- echo " [ $ ] arg \\" >> $1
2708
- CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS [ $ ] arg"
2709
- fi
2695
+ CONFIGURE_ARGS="$clean_configure_args"
2696
+ while test "X$CONFIGURE_ARGS" != "X";
2697
+ do
2698
+ if CURRENT_ARG= `expr "X$CONFIGURE_ARGS" : "X *\(' [ [ ^' ] ] *'\)"`
2699
+ then
2700
+ CONFIGURE_ARGS=`expr "X$CONFIGURE_ARGS" : "X *' [ [ ^' ] ] *' \(.*\)"`
2701
+ elif CURRENT_ARG=`expr "X$CONFIGURE_ARGS" : "X *\( [ [ ^ ] ] *\)"`
2702
+ then
2703
+ CONFIGURE_ARGS=`expr "X$CONFIGURE_ARGS" : "X * [ [ ^ ] ] * \(.*\)"`
2704
+ CURRENT_ARG="'$CURRENT_ARG'"
2705
+ else
2706
+ break
2707
+ fi
2708
+ $as_echo "$CURRENT_ARG \\" >> $1
2709
+ CONFIGURE_OPTIONS="$CONFIGURE_OPTIONS $CURRENT_ARG"
2710
2710
done
2711
2711
echo '"[ $] @"' >> $1
2712
2712
chmod +x $1
You can’t perform that action at this time.
0 commit comments