Re: config.status[12]: export: SHELL##: is not an identifier

Paul Eggert <[email protected]> Sun, 4 Aug 2024 13:35:49 -0700
Newsgroups gmane.comp.sysutils.autoconf.general
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2024-08-04 13:07, Bob Friesenhahn wrote:
> when I go look in the generated config.status I see this:
> 
> SHELL=${CONFIG_SHELL-/bin/sh}
> export SHELL## -------------------- ##
> ## M4sh Initialization. ##
> ## -------------------- ##

What do the corresponding lines in 'configure' look like? They should 
look like this:

> as_write_fail=0
> cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
> #! $SHELL
> # Generated by $as_me.
> # Run this file to recreate the current configuration.
> # Compiler output produced by configure, useful for debugging
> # configure, is in config.log if it exists.
> 
> debug=false
> ac_cs_recheck=false
> ac_cs_silent=false
> 
> SHELL=\${CONFIG_SHELL-$SHELL}
> export SHELL
> _ASEOF
> cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
> ## -------------------- ##
> ## M4sh Initialization. ##
> ## -------------------- ##


If they don't, you might try tracking down the problem from there.