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.
5 dnl Configuration file - processed by autoconf.
8 AC_CONFIG_SRCDIR(hello.sh)
9 AM_INIT_AUTOMAKE(hello-sh, 0)
11 dnl The installed program must know where to find its message catalogs.
12 dnl Unfortunately, prefix gets only finally determined at the end of configure.
13 if test "X$prefix" = "XNONE"; then
14 final_prefix="$ac_default_prefix"
16 final_prefix="$prefix"
19 prefix="$final_prefix"
20 eval "localedir=\"${datadir}/locale\""
24 dnl Support for the po directory.
27 AC_CONFIG_FILES([Makefile])
28 AC_CONFIG_FILES([hello:hello.sh], [chmod a+x hello])
29 AC_CONFIG_FILES([m4/Makefile])
30 AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])