diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-02 04:13:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-02 04:13:05 +0000 |
commit | 15d71b82a4d2f9bfea61386b2f5c35ecfa479af2 (patch) | |
tree | 1be10801c30473a83d8ee79f4068cc850a4e29a6 /xparts/mozilla/configure.in.in | |
parent | 8535db1bd8fd6b5da3ff2c785bdd7512f53779e3 (diff) | |
download | tdebindings-15d71b82a4d2f9bfea61386b2f5c35ecfa479af2.tar.gz tdebindings-15d71b82a4d2f9bfea61386b2f5c35ecfa479af2.zip |
Fix compilation of Mozilla plugin for Konqueror
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1256729 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'xparts/mozilla/configure.in.in')
-rw-r--r-- | xparts/mozilla/configure.in.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xparts/mozilla/configure.in.in b/xparts/mozilla/configure.in.in index 7dc0165c..dc7ff8a5 100644 --- a/xparts/mozilla/configure.in.in +++ b/xparts/mozilla/configure.in.in @@ -3,9 +3,12 @@ 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" +mozilla_incldirs="/usr/include /usr/include/mozilla /usr/local/include /usr/X11R6/include/mozilla /opt/include /opt/mozilla/include /usr/include/xulrunner*" AC_FIND_FILE(gtkmozembed.h, $mozilla_incldirs, mozilla_incdir) +mozilla_libdirs="/usr/lib /usr/lib/xulrunner*" +AC_FIND_FILE(libxul.so, $mozilla_libdirs, mozilla_libdir) + if test "$mozilla_incdir" = NO; then AC_FIND_FILE(gtkembedmoz/gtkmozembed.h, $mozilla_incldirs, mozilla_incdir) @@ -19,7 +22,9 @@ if test "$mozilla_incdir" = NO; then else have_mozilla=yes; MOZILLA_INCLUDES="-I$mozilla_incdir" + MOZILLA_LDFLAGS="-L$mozilla_libdir" AC_SUBST(MOZILLA_INCLUDES) + AC_SUBST(MOZILLA_LDFLAGS) AC_MSG_RESULT([found in $mozilla_incdir]); fi @@ -27,5 +32,6 @@ AM_CONDITIONAL(include_MOZILLA_support, [test "$mozilla_incdir" != NO]) ]) - AC_PATH_MOZILLA +AC_GLIB_2 +AC_GTK_2 |