Subject: Re: bug#75655: configure doesn't update Makefile

From: Eli Zaretskii <[email-masked]>
Date: Sat, 18 Jan 2025 22:05:45 +0200

> Date: Sat, 18 Jan 2025 19:35:54 +0000
> From:  Pip Cet via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> I'm confused by this recipe in Makefile.in:
> 
> config.status: ${srcdir}/configure
> 	if [ -x ./config.status ]; then		\
> 	    $(CFG) ./config.status --recheck;	\
> 	else					\
> 	    $(CFG) $(srcdir)/configure $(CONFIGURE_FLAGS); \
> 	fi
> 
> If config.status exists, it is rerun, and regenerates the Makefile; but
> if it doesn't, configure is run but config.status isn't.

config.status is run, after creating it, by the 'Makefile' rule:

  configure: creating ./config.status
  configure: WARNING: This configuration installs a 'movemail' program
  that retrieves POP3 email via only insecure channels.
  To omit insecure POP3, you can use './configure --without-pop'.
  MAKE='make' ./config.status
  config.status: creating src/verbose.mk
  config.status: creating nt/emacs.rc
  config.status: creating nt/emacsclient.rc