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

« back to all changes in this revision

Viewing changes to xgc/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:
1
 
 
2
1
dnl  Copyright 2005 Red Hat, Inc.
3
2
dnl 
4
3
dnl  Permission to use, copy, modify, distribute, and sell this software and its
21
20
dnl
22
21
dnl Process this file with autoconf to create configure.
23
22
 
24
 
AC_PREREQ([2.57])
25
 
AC_INIT(xgc, [1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xgc)
26
 
AM_INIT_AUTOMAKE([dist-bzip2])
 
23
AC_PREREQ([2.60])
 
24
AC_INIT([xgc], [1.0.3],
 
25
        [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xgc])
 
26
AM_INIT_AUTOMAKE([foreign dist-bzip2])
27
27
AM_MAINTAINER_MODE
28
28
AM_CONFIG_HEADER(config.h)
29
29
 
30
 
# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
 
30
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
31
31
m4_ifndef([XORG_MACROS_VERSION],
32
 
          [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
33
 
XORG_MACROS_VERSION(1.3)
 
32
          [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
 
33
XORG_MACROS_VERSION(1.8)
34
34
XORG_DEFAULT_OPTIONS
35
35
 
36
36
AC_PROG_LEX
37
37
AC_PROG_YACC
38
 
AC_PROG_CC
39
 
AC_PROG_INSTALL
40
 
 
41
 
PKG_CHECK_MODULES(XGC, xaw7)
42
 
AC_SUBST(XGC_CFLAGS)
43
 
AC_SUBST(XGC_LIBS)
44
 
 
45
 
PKG_CHECK_MODULES(APPDEFS, xt)
46
 
xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
 
38
AC_PATH_PROG([YACC_INST], $YACC)
 
39
AC_CHECK_FILE([$srcdir/gram.c], [],
 
40
              [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile gram.y])])
 
41
 
 
42
PKG_CHECK_MODULES(XGC, xaw7 xt)
 
43
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
47
44
AC_ARG_WITH(appdefaultdir,
48
45
        AC_HELP_STRING([--with-appdefaultdir=<pathname>],
49
46
          [specify directory for app-defaults files (default is autodetected)]),