~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/examples/hello-librep/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Example for use of GNU gettext.
 
2
dnl Copyright (C) 2003 Free Software Foundation, Inc.
 
3
dnl This file is in the public domain.
 
4
dnl
 
5
dnl Configuration file - processed by autoconf.
 
6
 
 
7
AC_INIT
 
8
AC_CONFIG_SRCDIR(hello.jl.in)
 
9
AM_INIT_AUTOMAKE(hello-librep, 0)
 
10
 
 
11
dnl Check for availability of the Tcl interpreter.
 
12
AC_PATH_PROG(REP, rep)
 
13
if test -z "$REP"; then
 
14
  echo "*** Essential program rep not found" 1>&2
 
15
  exit 1
 
16
fi
 
17
AC_SUBST(REP)
 
18
 
 
19
dnl The installed program must know where to find its message catalogs.
 
20
dnl Unfortunately, prefix gets only finally determined at the end of configure.
 
21
if test "X$prefix" = "XNONE"; then
 
22
  final_prefix="$ac_default_prefix"
 
23
else
 
24
  final_prefix="$prefix"
 
25
fi
 
26
save_prefix="$prefix"
 
27
prefix="$final_prefix"
 
28
eval "localedir=\"${datadir}/locale\""
 
29
prefix="$save_prefix"
 
30
AC_SUBST(localedir)
 
31
 
 
32
dnl Support for the po directory.
 
33
AM_PO_SUBDIRS
 
34
 
 
35
AC_CONFIG_FILES([Makefile hello.jl])
 
36
AC_CONFIG_FILES([m4/Makefile])
 
37
AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
 
38
AC_OUTPUT