summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in6
-rw-r--r--configure.in.in6
2 files changed, 6 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 102c19a..585bda4 100644
--- a/configure.in
+++ b/configure.in
@@ -243,13 +243,13 @@ AC_ARG_ENABLE(nspr, [ --enable-npplayer Enables building with npp support],
if test "$buildnpp" = "yes"; then
if test "$PKGCONFIGFOUND" = "yes" ; then
DBUS_REQ=1.0.0
- PKG_CHECK_MODULES(DBUS, dbus-1 >= $DBUS_REQ,
+ PKG_CHECK_MODULES(DBUS, [ dbus-tqt dbus-1 >= $DBUS_REQ ],
have_dbus=yes,have_dbus=no)
if test "x$have_dbus" = "xyes"; then
have_nspr=yes
AC_DEFINE(HAVE_DBUS, 1, [have DBus])
- LIBQTDBUS="`$PKG_CONFIG --libs dbus-1` -ldbus-tqt-1"
- LIBDBUS_CFLAGS="`$PKG_CONFIG --cflags dbus-1`"
+ LIBQTDBUS="`$PKG_CONFIG --libs dbus-tqt`"
+ LIBDBUS_CFLAGS="`$PKG_CONFIG --cflags dbus-tqt`"
AC_DEFINE(HAVE_NSPR, 1, [build Netscape plugin loader])
LIBNSPR_LIBS="`$PKG_CONFIG --libs gtk+-x11-2.0` `$PKG_CONFIG --libs dbus-glib-1` `$PKG_CONFIG --libs gthread-2.0`"
LIBNSPR_CFLAGS="`$PKG_CONFIG --cflags gtk+-x11-2.0` `$PKG_CONFIG --cflags dbus-glib-1`"
diff --git a/configure.in.in b/configure.in.in
index a2f6d68..78b4d5f 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -177,13 +177,13 @@ AC_ARG_ENABLE(nspr, [ --enable-npplayer Enables building with npp support],
if test "$buildnpp" = "yes"; then
if test "$PKGCONFIGFOUND" = "yes" ; then
DBUS_REQ=1.0.0
- PKG_CHECK_MODULES(DBUS, dbus-1 >= $DBUS_REQ,
+ PKG_CHECK_MODULES(DBUS, [dbus-tqt dbus-1 >= $DBUS_REQ],
have_dbus=yes,have_dbus=no)
if test "x$have_dbus" = "xyes"; then
have_nspr=yes
AC_DEFINE(HAVE_DBUS, 1, [have DBus])
- LIBQTDBUS="`$PKG_CONFIG --libs dbus-1` -ldbus-tqt-1"
- LIBDBUS_CFLAGS="`$PKG_CONFIG --cflags dbus-1`"
+ LIBQTDBUS="`$PKG_CONFIG --libs dbus-tqt`"
+ LIBDBUS_CFLAGS="`$PKG_CONFIG --cflags dbus-tqt`"
AC_DEFINE(HAVE_NSPR, 1, [build Netscape plugin loader])
LIBNSPR_LIBS="`$PKG_CONFIG --libs gtk+-x11-2.0` `$PKG_CONFIG --libs dbus-glib-1` `$PKG_CONFIG --libs gthread-2.0`"
LIBNSPR_CFLAGS="`$PKG_CONFIG --cflags gtk+-x11-2.0` `$PKG_CONFIG --cflags dbus-glib-1`"