~ubuntu-branches/ubuntu/utopic/libxpm/utopic

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2007-08-25 10:50:50 UTC
  • mfrom: (1.1.4 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20070825105050-xbytdxkw7wuclhca
Tags: 1:3.5.7-1
* New upstream release.
* Add the upstream URL to debian/copyright.
* Use binary:Version instead of the deprecated Source-Version.
* Add myself to uploaders, and remove Branden with his permission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# $Id$
2
2
 
3
3
AC_PREREQ(2.57)
4
 
AC_INIT([libXpm], 3.5.6, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXpm)
 
4
AC_INIT([libXpm], 3.5.7, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXpm)
5
5
AC_CONFIG_SRCDIR([Makefile.am])
6
6
AM_INIT_AUTOMAKE([dist-bzip2])
7
7
 
33
33
        CFLAGS="$GCC_WARNINGS $CFLAGS"
34
34
fi
35
35
 
 
36
# Internationalization & localization support
 
37
AC_SEARCH_LIBS([gettext], [intl], [USE_GETTEXT="yes"], [USE_GETTEXT="no"])
 
38
AC_MSG_CHECKING([where to install localized messages])
 
39
AC_ARG_WITH([localedir], AC_HELP_STRING([--with-localedir=<path>],
 
40
        [Path to install message files in (default: datadir/locale)]),
 
41
        [LOCALEDIR=${withval}], [LOCALEDIR=${datadir}/locale])
 
42
AC_DEFINE_DIR([LOCALEDIR], [LOCALEDIR], [Location of translated messages])
 
43
if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
 
44
        AC_MSG_RESULT([nowhere])
 
45
        USE_GETTEXT="no"
 
46
else
 
47
        AC_MSG_RESULT([$LOCALEDIR])
 
48
fi
 
49
 
 
50
if test "x$USE_GETTEXT" = "xyes" ; then
 
51
        AC_DEFINE([USE_GETTEXT], 1, 
 
52
                  [Define to 1 if you want to use the gettext() function.])
 
53
fi
 
54
AM_CONDITIONAL(USE_GETTEXT, test "x$USE_GETTEXT" = "xyes")
 
55
 
36
56
# Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
37
57
# Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
38
58
AC_ARG_ENABLE(stat-zfile,