You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
788 B
32 lines
788 B
15 years ago
|
AC_DEFUN([AC_PATH_MOZILLA],
|
||
|
[
|
||
|
|
||
|
AC_MSG_CHECKING([for Mozilla development headers])
|
||
|
|
||
|
mozilla_incldirs="/usr/include /usr/include/mozilla /usr/local/include /usr/X11R6/include/mozilla /opt/include /opt/mozilla/include"
|
||
|
AC_FIND_FILE(gtkmozembed.h, $mozilla_incldirs, mozilla_incdir)
|
||
|
|
||
|
if test "$mozilla_incdir" = NO; then
|
||
|
AC_FIND_FILE(gtkembedmoz/gtkmozembed.h, $mozilla_incldirs, mozilla_incdir)
|
||
|
|
||
|
if test "$mozilla_incdir" != NO; then
|
||
|
mozilla_incdir="$mozilla_incdir/gtkembedmoz"
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
if test "$mozilla_incdir" = NO; then
|
||
|
AC_MSG_RESULT(no);
|
||
|
else
|
||
|
have_mozilla=yes;
|
||
|
MOZILLA_INCLUDES="-I$mozilla_incdir"
|
||
|
AC_SUBST(MOZILLA_INCLUDES)
|
||
|
AC_MSG_RESULT([found in $mozilla_incdir]);
|
||
|
fi
|
||
|
|
||
|
AM_CONDITIONAL(include_MOZILLA_support, [test "$mozilla_incdir" != NO])
|
||
|
|
||
|
])
|
||
|
|
||
|
|
||
|
AC_PATH_MOZILLA
|