diff --git a/configure.ac b/configure.ac
index 39506be..464755d 100644
a
|
b
|
PKG_CHECK_MODULES([LIBXUL],[libxul]) |
38 | 38 | # FIXME To be able to use pyxpcom we currently need |
39 | 39 | # to link to xpcom at build time. Which involves various hacks. |
40 | 40 | LIBXUL_SDK_DIR=`$PKG_CONFIG --variable=sdkdir libxul` |
41 | | LIBXUL_DIR="`dirname $LIBXUL_SDK_DIR`/xulrunner-`$PKG_CONFIG --modversion libxul`" |
| 41 | LIBXUL_DIR="`dirname $LIBXUL_SDK_DIR`/xulrunner-`basename $LIBXUL_SDK_DIR|sed -e 's/^.*-\(@<:@0-9.@:>@\+\)$/\1/'`" |
42 | 42 | LIBXUL_LIBS="$LIBXUL_LIBS -L$LIBXUL_DIR -lpyxpcom" |
43 | 43 | |
44 | 44 | LIBXUL_CFLAGS=`$PKG_CONFIG --cflags --define-variable=includetype=unstable libxul` |