On 23 January 2012 07:41, Sergei Trofimovich <sly...@inbox.ru> wrote: > From: Sergei Trofimovich <sly...@gentoo.org> > > Signed-off-by: Sergei Trofimovich <sly...@gentoo.org> > --- > configure | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/configure b/configure > index 467e87b..f3dcfba 100755 > --- a/configure > +++ b/configure > @@ -553,6 +553,7 @@ for opt do > --static) > static="yes" > LDFLAGS="-static $LDFLAGS" > + pkg_config="${pkg_config} --static" > ;; > --mandir=*) mandir="$optarg" > ;;
I guess this works, but it seems a bit fragile, for example if ! has $pkg_config; then ... will work, but if ! has "$pkg_config"; then ... won't. -- PMM