~ubuntu-branches/debian/sid/x11-apps/sid

« back to all changes in this revision

Viewing changes to xclock/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-09 18:15:58 UTC
  • mfrom: (9.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110209181558-4wta1q27k11xrtae
Tags: 7.6+4
* debian/rules::get-tarballs: pass "--destdir ." to uscan
* xbiff 1.0.3.
* Remove Brice Goglin and David Nusinow from Uploaders.  Thanks for your
  work!
* Drop Pre-Depends on x11-common.
* Bump Standards-Version to 3.9.1.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
dnl
22
22
dnl Process this file with autoconf to create configure.
23
23
 
24
 
AC_PREREQ([2.57])
25
 
AC_INIT(xclock,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xclock)
26
 
AM_INIT_AUTOMAKE([dist-bzip2])
 
24
AC_PREREQ([2.60])
 
25
AC_INIT([xclock],
 
26
        [1.0.5],
 
27
        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 
28
        [xclock])
 
29
AM_INIT_AUTOMAKE([foreign dist-bzip2])
27
30
AM_MAINTAINER_MODE
28
31
 
29
 
# Require xorg-macros: XORG_DEFAULT_OPTIONS
30
 
m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])])
31
 
XORG_MACROS_VERSION(1.3)
 
32
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
 
33
m4_ifndef([XORG_MACROS_VERSION],
 
34
          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
 
35
XORG_MACROS_VERSION(1.8)
 
36
XORG_DEFAULT_OPTIONS
32
37
 
33
38
AM_CONFIG_HEADER(config.h)
34
39
 
35
40
AC_PROG_CC
36
41
AC_PROG_INSTALL
37
42
 
38
 
XORG_DEFAULT_OPTIONS
39
43
 
40
44
AC_CHECK_FUNCS([strlcpy getpid])
41
45
 
43
47
        [AC_DEFINE(HAVE_ICONV, 1, [Define to 1 if iconv() is available.])])
44
48
 
45
49
dnl Required dependencies
46
 
PKG_CHECK_MODULES(XCLOCK_X11, x11)
47
 
PKG_CHECK_MODULES(XAW, xaw7)
48
 
XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS"
49
 
XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS"
 
50
PKG_CHECK_MODULES(XCLOCK, xaw7 xmu x11)
50
51
 
51
52
dnl Optional dependencies
52
53
AC_ARG_WITH(xft, AC_HELP_STRING([--with-xft],[Use Xft2 and Xrender for rendering (Default is YES)]),use_xft="$withval",use_xft="try")
71
72
AC_SUBST(XCLOCK_LIBS)
72
73
 
73
74
PKG_CHECK_MODULES(APPDEFS, xt)
74
 
xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
 
75
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
75
76
AC_ARG_WITH(appdefaultdir,
76
77
        AC_HELP_STRING([--with-appdefaultdir=<pathname>],
77
78
          [specify directory for app-defaults files (default is autodetected)]),