Re: [Nautilus-list] Patch : Mozilla nspr location



The Ximian Nautilus SRPM includes a similar patch.  It would be nice if
the NSPR fix works for both Mandrake and Ximian - and of course continue
to work for RedHat.

-re

Frederic Crozat wrote:
> 
> Another patch, this time because in MandrakeLinux, we will be shipping
> Mozilla libnspr4 separated from mozilla and nspr4 headers are in a
> different location than mozilla..
> 
> This patch should correct the problem :
> 
> --- nautilus-1.0.3/configure.in.orig    Tue May  8 10:48:24 2001
> +++ nautilus-1.0.3/configure.in Wed May 23 15:12:23 2001
> @@ -260,7 +260,7 @@
>         MOZILLA_COMPONENT_RPATH_FLAGS=-Wl,-rpath=$_mozilla_lib_place
>         dnl The '-I$_mozilla_include_place/nspr' is needed for Mozilla 0.9.x
>         dnl and is not used (yet harmless) by Mozilla 0.8.x
> -       MOZILLA_COMPONENT_CFLAGS="-I$_mozilla_include_place
> -I$_mozilla_include_place/nspr -fno-rtti -fno-exceptions"
> +       MOZILLA_COMPONENT_CFLAGS="`nspr-config --cflags`
> -I$_mozilla_include_place -fno-rtti -fno-exceptions"
>         MOZILLA_COMPONENT_LDFLAGS=-L$_mozilla_lib_place
>         MOZILLA_COMPONENT_LIBS="$_mozilla_gtk_moz_embed_libs \
>                                 $_mozilla_gtk_super_win_libs \
> 
> --
> Frédéric Crozat
> MandrakeSoft
> 
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]