* Allow disabling of CONFIG_SHELL in the configure phase
@ 2016-09-12 6:48 Arun Isaac
2016-09-13 12:07 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2016-09-12 6:48 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
I am packaging optipng (http://optipng.sourceforge.net/) with the
gnu-build-system, and its configure script does not like being passed
CONFIG_SHELL. It fails with the following error:
./configure: error: unknown option: CONFIG_SHELL=/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42/bin/bash
Can we allow disabling of CONFIG_SHELL by passing some keyword argument
to the configure phase? Right now, the CONFIG_SHELL argument is always
passed to ./configure, and the only way to get around this is to replace
the configure phase for the optipng package with a specialized function
that does not pass CONFIG_SHELL. That seems like too much work, and it
will be nice if we can just disable CONFIG_SHELL with a keyword argument.
Regards,
Arun Isaac.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Allow disabling of CONFIG_SHELL in the configure phase
2016-09-12 6:48 Allow disabling of CONFIG_SHELL in the configure phase Arun Isaac
@ 2016-09-13 12:07 ` Ludovic Courtès
2016-09-13 13:49 ` Arun Isaac
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-09-13 12:07 UTC (permalink / raw)
To: Arun Isaac; +Cc: guix-devel
Arun Isaac <arunisaac@systemreboot.net> skribis:
> I am packaging optipng (http://optipng.sourceforge.net/) with the
> gnu-build-system, and its configure script does not like being passed
> CONFIG_SHELL. It fails with the following error:
>
> ./configure: error: unknown option: CONFIG_SHELL=/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42/bin/bash
>
> Can we allow disabling of CONFIG_SHELL by passing some keyword argument
> to the configure phase? Right now, the CONFIG_SHELL argument is always
> passed to ./configure, and the only way to get around this is to replace
> the configure phase for the optipng package with a specialized function
> that does not pass CONFIG_SHELL. That seems like too much work, and it
> will be nice if we can just disable CONFIG_SHELL with a keyword argument.
I find that it’s not that much work to replace the ‘configure’ phase,
and it’s not too common (Autoconf-generated ‘configure’ scripts all
honor CONFIG_SHELL.)
We could add a Boolean flag for CONFIG_SHELL, but I bet manually written
‘configure’ scripts may need more than just that anyway, so I’m not sure
it would buy us much.
WDYT?
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Allow disabling of CONFIG_SHELL in the configure phase
2016-09-13 12:07 ` Ludovic Courtès
@ 2016-09-13 13:49 ` Arun Isaac
0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2016-09-13 13:49 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
> I find that it’s not that much work to replace the ‘configure’ phase,
> and it’s not too common (Autoconf-generated ‘configure’ scripts all
> honor CONFIG_SHELL.)
>
> We could add a Boolean flag for CONFIG_SHELL, but I bet manually written
> ‘configure’ scripts may need more than just that anyway, so I’m not sure
> it would buy us much.
In the case of optipng, CONFIG_SHELL is the only thing that needs to be
disabled and the rest of the 'configure' phase is the same. But, if this
is not very common, I agree it's not worth introducing a new boolean flag.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-13 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 6:48 Allow disabling of CONFIG_SHELL in the configure phase Arun Isaac
2016-09-13 12:07 ` Ludovic Courtès
2016-09-13 13:49 ` Arun Isaac
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).