Commit b78f3465 authored by Ramiro Estrugo's avatar Ramiro Estrugo

Fix bug 724 by adding a slightly better, but still lame mozilla detection

* configure.in:
Fix bug 724 by adding a slightly better, but still lame mozilla
detection artificial intelligence.
parent 6cb85015
2000-05-30 Ramiro Estrugo <ramiro@eazel.com>
* configure.in:
Fix bug 724 by adding a slightly better, but still lame mozilla
detection artificial intelligence.
2000-05-30 Ramiro Estrugo <ramiro@eazel.com>
* nautilus-widgets/nautilus-user-level-manager.c:
......
......@@ -92,14 +92,27 @@ AC_ARG_WITH(mozilla,
fi
)
dnl FIXME bugzilla.eazel.com 724: there obviously needs to be a better test that checking for libxpcom.so
dnl
dnl The strategy for detecting mozilla here is to look for the mozilla shared libs
dnl that the mozilla component links against and the header files for the gtkmozembed
dnl widget.
dnl
dnl This is the best i can do given the lameness of mozilla versioning. If someone
dnl has a better way to do this, please send mail to ramiro@eazel.com
dnl
if test "$try_mozilla" = "true"
then
found_mozilla="false"
moz_lib=$mozilla_place/dist/bin
moz_src=$mozilla_place/dist/include
if test -d $mozilla_place/dist/bin
if test -d $lib_place
then
if test -x $mozilla_place/dist/bin/libxpcom.so
if test -x $moz_lib/libxpcom.so -a \
-x $moz_lib/libnspr4.so -a \
-x $moz_lib/libgtkembedmoz.so -a \
-x $moz_lib/libgtksuperwin.so -a \
-f $moz_src/gtkmozembed.h
then
found_mozilla="true"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment