• 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-tcl/
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.tcl)
8AM_INIT_AUTOMAKE(hello-tcl, 0)
9
10dnl Check for availability of the Tcl interpreter.
11AC_PATH_PROG(TCLSH, tclsh)
12if test -z "$TCLSH"; then
13  echo "*** Essential program tclsh not found" 1>&2
14  exit 1
15fi
16AC_SUBST(TCLSH)
17
18dnl The installed program must know where to find its message catalogs.
19dnl Unfortunately, prefix gets only finally determined at the end of configure.
20if test "X$prefix" = "XNONE"; then
21  final_prefix="$ac_default_prefix"
22else
23  final_prefix="$prefix"
24fi
25save_prefix="$prefix"
26prefix="$final_prefix"
27eval "pkgdatadir=\"${datadir}/${PACKAGE}\""
28prefix="$save_prefix"
29AC_SUBST(pkgdatadir)
30
31dnl Support for the po directory.
32AM_PO_SUBDIRS
33
34AC_CONFIG_FILES([Makefile])
35AC_CONFIG_FILES([hello:hello.tcl], [chmod a+x hello])
36AC_CONFIG_FILES([m4/Makefile])
37AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
38AC_OUTPUT
39