Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 232036 | Differences between
and this patch

Collapse All | Expand All

(-)gecko-mediaplayer-0.9.2.orig/configure.in (-45 / +2 lines)
Lines 30-82 Link Here
30
AC_SUBST(GLIB_CFLAGS)
30
AC_SUBST(GLIB_CFLAGS)
31
AC_SUBST(GLIB_LIBS)
31
AC_SUBST(GLIB_LIBS)
32
32
33
PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[
34
    GECKO_HOME=`$PKG_CONFIG --variable=libdir mozilla-plugin`
35
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir mozilla-xpcom`
36
    ],[AC_MSG_WARN([mozilla-plugin not found, trying another])])
37
38
if test "$GECKO_CFLAGS" = ""; then
39
PKG_CHECK_MODULES(GECKO, [firefox-plugin firefox-xpcom],[
40
    GECKO_HOME=`$PKG_CONFIG --variable=libdir firefox-plugin`
41
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir firefox-xpcom`
42
    ],[AC_MSG_WARN([firefox-plugin not found, trying another])])
43
fi
44
45
if test "$GECKO_CFLAGS" = ""; then
46
PKG_CHECK_MODULES(GECKO, [seamonkey-plugin seamonkey-xpcom],[
47
    GECKO_HOME=`$PKG_CONFIG --variable=libdir seamonkey-plugin`
48
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir seamonkey-xpcom`
49
    ],[AC_MSG_WARN([seamokey-plugin not found, trying another])])
50
fi
51
52
if test "$GECKO_CFLAGS" = ""; then
53
PKG_CHECK_MODULES(GECKO, [xulrunner-plugin xulrunner-xpcom],[
54
    GECKO_HOME=`$PKG_CONFIG --variable=libdir xulrunner-plugin`
55
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir xulrunner-xpcom`
56
    ],[AC_MSG_WARN([xulrunner-plugin not found, trying another])])
57
fi
58
59
if test "$GECKO_CFLAGS" = ""; then
60
PKG_CHECK_MODULES(GECKO, [libxul],[
33
PKG_CHECK_MODULES(GECKO, [libxul],[
61
    GECKO_HOME=`$PKG_CONFIG --variable=libdir libxul`
34
    GECKO_HOME=`$PKG_CONFIG --variable=sdkdir libxul`
62
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul`
35
    GECKO_IDLDIR=$GECKO_HOME/idl
63
    ],[AC_MSG_WARN([libxul not found, trying another])])
36
    ],[AC_MSG_WARN([libxul not found, trying another])])
64
fi
65
66
if test "$GECKO_CFLAGS" = ""; then
67
PKG_CHECK_MODULES(GECKO, [libxul-unstable],[
68
    GECKO_HOME=`$PKG_CONFIG --variable=libdir libxul-unstable`
69
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul-unstable`
70
    ],[AC_MSG_WARN([libxul-unstable not found, trying another])])
71
fi
72
73
74
if test "$GECKO_CFLAGS" = ""; then
75
PKG_CHECK_MODULES(GECKO, [iceape-plugin iceape-xpcom],[
76
    GECKO_HOME=`$PKG_CONFIG --variable=libdir iceape-plugin`
77
    GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir iceape-xpcom`
78
    ],[AC_MSG_WARN([iceape-plugin not found, trying another])])
79
fi
80
37
81
PKG_CHECK_MODULES(NSPR, [nspr],[
38
PKG_CHECK_MODULES(NSPR, [nspr],[
82
    libdir=`$PKG_CONFIG --variable=libdir nspr`
39
    libdir=`$PKG_CONFIG --variable=libdir nspr`

Return to bug 232036