-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
55 lines (46 loc) · 2.62 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
49
50
51
52
53
54
55
################################################################################
# #
# This file is part of the Geany XML encode plugin. #
# #
# The Geany XML encode plugin 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. #
# #
# The Geany XML encode plugin 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 the Geany XML encode plugin. If not, see #
# <http://www.gnu.org/licenses/>. #
# #
################################################################################
# Initialize autoconf ##########################################################
AC_PREREQ([2.69])
AC_INIT([Geany XML encode plugin], [0.3], [indi.in.the.wired@gmail.com])
AC_CONFIG_SRCDIR([src/xml-encode.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
# Initialize automake and libtool ##############################################
AM_INIT_AUTOMAKE([-Wall -Werror])
AM_PROG_AR
LT_INIT([disable-static])
# Set up program checks ########################################################
AC_PROG_CC
AC_PROG_CC_STDC
# Set up intltool and translation stuff ########################################
IT_PROG_INTLTOOL([0.50.0])
GETTEXT_PACKAGE=geany-xml-encode
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [The domain to use with gettext])
LOCALEDIR="${datadir}/locale"
AC_SUBST(LOCALEDIR)
AM_GLIB_GNU_GETTEXT
# Set up Geany #################################################################
GP_CHECK_GEANY(1.22)
# Output #######################################################################
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile src/Makefile po/Makefile.in])
AC_OUTPUT