A configure genned with 2.63 (on a Linux system) always
terminates with "Could not make config.status" under Cygwin.
Also happens with 2.63b.
Relevant bit of configure -
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
. ./conf$$subs.sh ||
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
if test $ac_delim_n = $ac_delim_num; then
break
elif $ac_last_try; then
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
else
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
fi
done
whereby it's blowing on the "$ac_last_try" test.
Sticking a shell trace in shows the following (eek, looks really weird) -
for ac_last_try in false false false false false :
+ . ./conf1976subs.sh
cat >conf1976subs.awk <<_ACEOF
++ cat
sed -n "s/.*$ac_delim$/X/p" conf$$subs.awk | grep -c X
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
@
break
elif $ac_last_try; then
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
else
done
+ for ac_last_try in false false false false false :
+ . ./conf1976subs.sh
cat >conf1976subs.awk <<_ACEOF
++ cat
++ grep -c X
+ ac_delim_n=0
+ test 0 = 149
+ false
++ cat
sed -n "s/.*$ac_delim$/X/p" conf$$subs.awk | grep -c X
++ sed -n 's/.*%!_!# !%!_!# _%!_!# !! $/X/p' conf1976subs.awk
++ grep -c X
+ ac_delim_n=0
+ for ac_last_try in false false false false false :
+ . ./conf1976subs.sh
cat >conf1976subs.awk <<_ACEOF
++ cat
+ for ac_last_try in false false false false false :
+ . ./conf1976subs.sh
cat >conf1976subs.awk <<_ACEOF
+ ac_delim='%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _%!_!#
!! !! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _%!_!# !! !!
_%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!#
!! !! !!
!%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !!
!! !%!_!
# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !!
!! _%!_!# !%
!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !!
!! _%!_!# !%!
_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!#
!%!_!#
_%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!#
!%!_!# _%!_
!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! !! !%!_!#
!%!_!# _%!
_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!#
!%!_!# _%!_!# !
! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!#
!%!_!# _%!_!# !! !%
!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! !%!_!#
!%!_!# _%!_!# !! !%!_
!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !!
!%!_!# !%
!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !!
!%!_!# !%!_!#
_%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! _%!_!# !%!_!# _%!_!# !!
!%!_!# !%!_!#
_%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_
!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!# !
! _%!_!# !%!_!# _%!_!# !! !! !! !! _%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!#
!! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!# !!
_%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_
!# !%!_!# _%!_!# !! !! !! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_!#
!%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_!# !%!_
!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!#
_%!_!# !! !! !! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _
++ sed -n 's/.*%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _%!_
!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _%!_!# !!
!! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!#
!%!_!# _%!_!# !! !!
!! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!#
!! !! !%
!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !!
!! _%!_!#
!%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !!
!! _%!_!#
!%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !!
!%!_!# !%!_!
# _%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!#
!%!_!# _
%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! !! !%!_!#
!%!_!#
_%!_!# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!#
!%!_!# _%!_!
# !! !%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!#
!%!_!# _%!_!# !!
!%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! !%!_!#
!%!_!# _%!_!# !! !
%!_!# !%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!#
!! !%!_!#
!%!_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !!
!%!_!# !%!
_!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !! _%!_!# !%!_!# _%!_!# !!
!%!_!# !%!_
!# _%!_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _
%!_!# !! _%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!
# !! _%!_!# !%!_!# _%!_!# !! !! !! !! _%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!
_!# !! _%!_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!# !
! _%!_!# !%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!# !! _
%!_!# !%!_!# _%!_!# !! !! !! !%!_!# !%!_!# _%!_!# !! !%!_!#
!%!_!# _%!_!# !! _%!
_!# !%!_!# _%!_!# !! !! !%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_!# !
%!_!# _%!_!# !! !! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_!# !%!_!
# _%!_!# !! !! !! _%!_!# !%!_!# _%!_!# !! !%!_!# !%!_!# _%!_!#
!! _%!_!# !%!_!#
++ grep -c X
+ ac_delim_n=0
+ test 0 = 149
+ :
+ as_fn_error 'could not make ./config.status' 16503 5
+ as_status=0
+ test 0 -eq 0
+ as_status=1
+ test 5
+ as_lineno=16503
+ as_lineno_stack=as_lineno_stack=
+ printf '%s\n' 'configure:16503: error: could not make ./config.status'
+ printf '%s\n' 'configure: error: could not make ./config.status'
configure: error: could not make ./config.status
+ as_fn_exit 1
+ as_status=0
+ set +e
+ as_fn_set_status 1
+ return 1
+ exit 1
exit_status=$?
+ exit_status=1
Ideas?
Roger
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf