File: configure.ac

package info (click to toggle)
gworldclock 1.4.4-7
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,168 kB
  • ctags: 169
  • sloc: sh: 4,086; ansic: 2,233; makefile: 71; sed: 16
file content (34 lines) | stat: -rw-r--r-- 855 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT([gworldclock],[1.4.4])
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)

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