File: configure.ac

package info (click to toggle)
gworldclock 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 980 kB
  • ctags: 158
  • sloc: sh: 3,855; ansic: 2,228; makefile: 68; sed: 16
file content (35 lines) | stat: -rw-r--r-- 870 bytes parent folder | download | duplicates (3)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT([gworldclock],[1.4.3])
AM_INIT_AUTOMAKE

dnl I don't know how to get an automated date here...               
dnl AC_DEFINE_UNQUOTED( RELEASE_DATE, `date +"%d %B %Y"` )
AC_DEFINE( RELEASE_DATE, "18 March 2005" )
AH_TEMPLATE( [RELEASE_DATE], [18 March 2005])

AC_CONFIG_HEADERS([config.h])

dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.
PKG_CHECK_MODULES(GTK2, gtk+-2.0)
AC_SUBST(GTK2_CFLAGS)
AC_SUBST(GTK2_LIBS)
AC_CHECK_LIB(xml2, xmlParseFile)

ALL_LINGUAS=ja
AM_GNU_GETTEXT([external])

localedir='${datadir}/locale'
AC_SUBST(localedir)

dnl Checks for header files.
dnl AC_CHECK_HEADERS(menu.h strings.h)

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile ])
AC_OUTPUT