1 AC_INIT([gmpc-albumview], [0.20.95], [qball@sarine.nl])
2 m4_define([package_major_version], [0])
3 m4_define([package_minor_version], [20])
4 m4_define([package_micro_version], [95])
5 m4_define([package_version],[package_major_version.package_minor_version.package_micro_version])
9 AM_CONFIG_HEADER([config.h])
12 AC_DEFINE(PLUGIN_MAJOR_VERSION, package_major_version, ["Major version of plugin"])
13 AC_DEFINE(PLUGIN_MINOR_VERSION, package_minor_version, ["Minor version of plugin"])
14 AC_DEFINE(PLUGIN_MICRO_VERSION, package_micro_version, ["Micro version of plugin"])
17 #intltool, libtool. Check for CC compiler
18 AC_PROG_INTLTOOL([0.21])
19 dnl please keep them in alphabetical order
22 GETTEXT_PACKAGE=gmpc-albumview
23 AC_SUBST(GETTEXT_PACKAGE)
24 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[GMPC_LAST.FM gettext package])
28 if test "x${prefix}" = "xNONE"; then
29 PACKAGE_PREFIX="${ac_default_prefix}"
31 PACKAGE_PREFIX="${prefix}"
33 AC_MSG_RESULT($PACKAGE_PREFIX)
34 PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
35 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,"$PACKAGE_LOCALE_DIR",[The package's locale path for gettext])
43 PKG_CHECK_MODULES([gmpcalbumview],[ glib-2.0 >= 2.10
51 AC_SUBST(gmpcalbumview_LIBS)
52 AC_SUBST(gmpcalbumview_CFLAGS)
55 AC_OUTPUT([Makefile src/Makefile po/Makefile.in
57 pixmaps/hicolor/Makefile
58 pixmaps/hicolor/16x16/Makefile
59 pixmaps/hicolor/16x16/apps/Makefile
60 pixmaps/hicolor/22x22/Makefile
61 pixmaps/hicolor/22x22/apps/Makefile
62 pixmaps/hicolor/24x24/Makefile
63 pixmaps/hicolor/24x24/apps/Makefile
64 pixmaps/hicolor/32x32/Makefile
65 pixmaps/hicolor/32x32/apps/Makefile
66 pixmaps/hicolor/48x48/Makefile
67 pixmaps/hicolor/48x48/apps/Makefile
68 pixmaps/hicolor/64x64/Makefile
69 pixmaps/hicolor/64x64/apps/Makefile
70 pixmaps/hicolor/72x72/Makefile
71 pixmaps/hicolor/72x72/apps/Makefile
72 pixmaps/hicolor/96x96/Makefile
73 pixmaps/hicolor/96x96/apps/Makefile
74 pixmaps/hicolor/128x128/Makefile
75 pixmaps/hicolor/128x128/apps/Makefile
76 pixmaps/hicolor/scalable/Makefile
77 pixmaps/hicolor/scalable/apps/Makefile
78 pixmaps/Humanity/Makefile
79 pixmaps/Humanity/16x16/Makefile
80 pixmaps/Humanity/16x16/apps/Makefile
81 pixmaps/Humanity/22x22/Makefile
82 pixmaps/Humanity/22x22/apps/Makefile
83 pixmaps/Humanity/24x24/Makefile
84 pixmaps/Humanity/24x24/apps/Makefile
85 pixmaps/Humanity/32x32/Makefile
86 pixmaps/Humanity/32x32/apps/Makefile
87 pixmaps/Humanity/48x48/Makefile
88 pixmaps/Humanity/48x48/apps/Makefile
89 pixmaps/Humanity/64x64/Makefile
90 pixmaps/Humanity/64x64/apps/Makefile
91 pixmaps/Humanity/72x72/Makefile
92 pixmaps/Humanity/72x72/apps/Makefile
93 pixmaps/Humanity/96x96/Makefile
94 pixmaps/Humanity/96x96/apps/Makefile
95 pixmaps/Humanity/128x128/Makefile
96 pixmaps/Humanity/128x128/apps/Makefile
97 pixmaps/Humanity/scalable/Makefile
98 pixmaps/Humanity/scalable/apps/Makefile