-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfigure.ac
48 lines (40 loc) · 1.71 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (C) 2012 David Michael <[email protected]>
#
# This file is part of Window Merge.
#
# Window Merge is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# Window Merge is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# Window Merge. If not, see <http://www.gnu.org/licenses/>.
AC_INIT([Window Merge],[0.3],
[[email protected]],[window_merge],
[https://github.com/dm0-/window_merge])
AM_INIT_AUTOMAKE([dist-xz])
LT_INIT([disable-static win32-dll])
AC_CONFIG_FILES([Makefile])# po/Makefile.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
#AM_GNU_GETTEXT([external])
#AM_GNU_GETTEXT_VERSION([0.18])
AS_CASE(["$host_os"],
[*mingw*],[AS_VAR_SET([LT_NO_UNDEFINED],[-no-undefined])],
[AS_VAR_SET([LT_NO_UNDEFINED])])
AC_SUBST([LT_NO_UNDEFINED])
PKG_CHECK_EXISTS([gobject-2.0 >= 2.30],,
[AC_DEFINE([G_VALUE_INIT],[{ 0, { { 0 } } }],
[Compatibility for old systems missing this definition in gvalue.h])])
PKG_CHECK_MODULES([pidgin],[pidgin],,
[AC_MSG_WARN([[relying on environment pidgin_CFLAGS and pidgin_LIBS]])])
m4_ifndef([PKG_CHECK_VAR],[m4_define([PKG_CHECK_VAR],[$5])])
PKG_CHECK_VAR([pidgin_plugindir],[pidgin],[plugindir],,
[AS_VAR_SET([pidgin_plugindir],['${libdir}/pidgin'])])
AC_SUBST([plugindir],[$pidgin_plugindir])
AC_OUTPUT