diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-14 22:08:07 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-14 22:08:07 +0200 |
commit | 0c04b17a4cf2f189d3dae44667b42ba78435a06e (patch) | |
tree | ff771a3bab49182a49dca3c5eb47d0ddc62723cc /configure.ac | |
parent | f9b47129ec1c5c8e24659b54970b9ee194899cd2 (diff) | |
download | gtk-vlc-player-0c04b17a4cf2f189d3dae44667b42ba78435a06e.tar.gz |
install widget catalogs into Glade-3 catalog directory if possible
* eases installation on Linux
* on MinGW where Glade-3 is in its own hierarchy, this will probably not work, but there's a fallback to install the catalogs into PREFIX/share directories
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c99ffcb..4034faa 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,13 @@ PKG_CHECK_MODULES(LIBGLIB, [gobject-2.0 glib-2.0]) PKG_CHECK_MODULES(LIBGTK, [gtk+-2.0]) +PKG_CHECK_EXISTS([gladeui-1.0], + [glade3_catalogsdir=`$PKG_CONFIG --variable=catalogdir gladeui-1.0`]) +if [[ x$glade3_catalogsdir = x ]]; then + AC_MSG_WARN([Glade-3 catalog directory not found, installing Gtk+ widget catalogs into custom directories!]) +fi +AC_SUBST(glade3_catalogsdir) + # FIXME: further restrict libvlc version PKG_CHECK_MODULES(LIBVLC, [libvlc >= 1.1.13 vlc-plugin]) |