File: configure.ac

package info (click to toggle)
sagasu 2.0.10-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,532 kB
  • ctags: 1,064
  • sloc: ansic: 6,198; sh: 4,475; cpp: 1,831; makefile: 412; yacc: 316; perl: 144; sed: 16
file content (64 lines) | stat: -rw-r--r-- 1,463 bytes parent folder | download | duplicates (2)
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
56
57
58
59
60
61
62
63
64
# $Id: configure.ac,v 1.22 2010/05/31 00:11:49 sarrazip Exp $

AC_PREREQ(2.50)
AC_INIT(src/main.cpp)
AM_INIT_AUTOMAKE(sagasu, 2.0.10)

# Package description:
PACKAGE_FULL_NAME_EN=Sagasu
PACKAGE_FULL_NAME_FR=Sagasu
PACKAGE_DESC_EN="GNOME tool to find strings in a set of files"
PACKAGE_DESC_FR="Outil GNOME cherchant des chaines dans des fichiers"
PACKAGE_CATEGORIES="Accessories;Application;Utility;"

AC_SUBST(PACKAGE_FULL_NAME_EN)
AC_SUBST(PACKAGE_FULL_NAME_FR)
AC_SUBST(PACKAGE_DESC_EN)
AC_SUBST(PACKAGE_DESC_FR)
AC_SUBST(PACKAGE_CATEGORIES)

PACKAGE_HOME_PAGE="http://sarrazip.com/dev/sagasu.html"
AC_SUBST(PACKAGE_HOME_PAGE)


# Library requirement versions:
LIBGNOMEUI_MINVER=2.8.0; AC_SUBST(LIBGNOMEUI_MINVER)
GTK_MINVER=2.6.0;        AC_SUBST(GTK_MINVER)


AC_PROG_CXX
AC_COMPILE_WARNINGS

AM_GNU_GETTEXT


AC_FUNC_SNPRINTF


PKG_CHECK_MODULES(LIBGNOMEUI, libgnomeui-2.0 >= $LIBGNOMEUI_MINVER)
dnl  PKG_CHECK_MODULES should have declared the following AC_SUBST() clauses,
dnl  but pkg.m4 in version 0.12 of pkg-config does not seem to do it:
AC_SUBST(LIBGNOMEUI_CFLAGS)
AC_SUBST(LIBGNOMEUI_LIBS)

PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_MINVER)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)

AC_PROG_PERL_MODULES(FileHandle DirHandle locale POSIX,
	,
	AC_MSG_ERROR([missing some required Perl modules]))


AC_LANG_CPLUSPLUS

AC_CONFIG_FILES([
	intl/Makefile
	po/Makefile.in
	macros/Makefile
	Makefile
	sagasu.spec
	src/Makefile
	src/sagasu.desktop
])
AC_OUTPUT