File: configure.ac

package info (click to toggle)
scribes 0.3.3.3-4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,512 kB
  • ctags: 4,045
  • sloc: python: 24,125; sh: 3,358; xml: 2,224; makefile: 255
file content (44 lines) | stat: -rw-r--r-- 1,192 bytes parent folder | download
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
#						-*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT([scribes], [0.3.3.3], [<mystilleef@gmail.com>])
GNOME_COMMON_INIT
AC_PREREQ(2.60)
AM_INIT_AUTOMAKE([1.8 dist-bzip2 no-dist-gzip])
AM_MAINTAINER_MODE

AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([configure.ac])
AC_PREFIX_DEFAULT([/usr])
IT_PROG_INTLTOOL([0.35.0])

dnl ================================================================
dnl Gettext stuff.
dnl ================================================================

GETTEXT_PACKAGE=scribes
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
ALL_LINGUAS="de fr nl it pt_BR sv zh_CN"
AM_GLIB_GNU_GETTEXT

# Checks for programs.
AC_PATH_PROG([SED], [sed])
AC_PATH_PROG([GCONFTOOL], [gconftool-2])
AC_PATH_PROG([YELP], [yelp])
GNOME_DOC_INIT
AM_GCONF_SOURCE_2

AM_PATH_PYTHON([2.5])
AC_LANG([C])
AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>]],[[int result = system("python depcheck.py"); if (result != 0) exit(EXIT_FAILURE);]])], [], [AC_MSG_ERROR([Error: Dependency check failed])])

AC_CONFIG_FILES([
po/Makefile.in
Makefile
help/Makefile
SCRIBES/Makefile
data/Makefile]
)

AC_OUTPUT