diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /xparts/mozilla/configure.in.in | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'xparts/mozilla/configure.in.in')
-rw-r--r-- | xparts/mozilla/configure.in.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xparts/mozilla/configure.in.in b/xparts/mozilla/configure.in.in new file mode 100644 index 00000000..7dc0165c --- /dev/null +++ b/xparts/mozilla/configure.in.in @@ -0,0 +1,31 @@ +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 |