• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-python/
1dnl Example for use of GNU gettext.
2dnl This file is in the public domain.
3dnl
4dnl Configuration file - processed by autoconf.
5
6AC_INIT
7AC_CONFIG_SRCDIR(hello.py.in)
8AM_INIT_AUTOMAKE(hello-python, 0)
9
10dnl Check for availability of the Python interpreter.
11AM_PATH_PYTHON
12if test -z "$PYTHON"; then
13  echo "*** Essential program python not found" 1>&2
14  exit 1
15fi
16
17dnl The installed program must know where to find its message catalogs.
18dnl Unfortunately, prefix gets only finally determined at the end of configure.
19if test "X$prefix" = "XNONE"; then
20  final_prefix="$ac_default_prefix"
21else
22  final_prefix="$prefix"
23fi
24save_prefix="$prefix"
25prefix="$final_prefix"
26eval "datarootdir=\"${datarootdir}\""
27eval "localedir=\"${datadir}/locale\""
28prefix="$save_prefix"
29AC_SUBST(localedir)
30
31dnl Support for the po directory.
32AM_PO_SUBDIRS
33
34AC_CONFIG_FILES([Makefile hello.py])
35AC_CONFIG_FILES([m4/Makefile])
36AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
37AC_OUTPUT
38