On Wed, 6 Jun 2001, Arnd Bergmann wrote:

[snip]
> > > -I/usr/lib/glib-2.0/include
> > > "-DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/1.3.5/loaders\""   -O3
> > > -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
> > > -fno-strength-reduce -Wall -c io-png.c
> > > ../libtool: test: =: unary operator expected
> >               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[snip]
> A workaround is to either use the system libtool instead of the
> package's (or uninstall libtool completely) or to apply the following patch:
>
> --- /tmp/ltmain.sh      Wed Jun  6 16:43:51 2001
> +++ /usr/share/libtool/ltmain.sh        Wed Jun  6 16:33:47 2001
> @@ -459,7 +459,7 @@
>        pic_mode=default
>        ;;
>      esac
> -    if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
> +    if test x$pic_mode = xno && test "$deplibs_check_method" != pass_all; then
>        # non-PIC code in shared libraries is not supported
>        pic_mode=default
>      fi

I submitted a patch to Geoffrey to add quotes to all possible test
statements. The symptom is removed, but seems no real problem is cured :(

Abel


Reply via email to