configure运行到这里报错了
[i=s] 本帖最后由 netdzb 于 2019-8-4 11:31 编辑 [/i]这里是出错的位置
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
break
elif $ac_last_try; then
{ { echo "$as_me: $LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} ===> 脚本从这里退出了
{ (exit 1); exit 1; }; }
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
done
这个done看上去是循环吧,语句里有break。这段语句在做什么?
为什么会退出来?谢谢。 看上去是循环
break的作用是上一行if test结果为真的情况下退出循环
脚本退出的原因是if test结果为假,而且elif结果为真
页:
[1]