Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / examples / hello-sh / configure.ac
blob0251b418164e86418f3dae99e341e40df052e524
1 dnl Example for use of GNU gettext.
2 dnl This file is in the public domain.
3 dnl
4 dnl Configuration file - processed by autoconf.
6 AC_INIT
7 AC_CONFIG_SRCDIR(hello.sh)
8 AM_INIT_AUTOMAKE(hello-sh, 0)
10 dnl The installed program must know where to find its message catalogs.
11 dnl Unfortunately, prefix gets only finally determined at the end of configure.
12 if test "X$prefix" = "XNONE"; then
13   final_prefix="$ac_default_prefix"
14 else
15   final_prefix="$prefix"
17 save_prefix="$prefix"
18 prefix="$final_prefix"
19 eval "datarootdir=\"${datarootdir}\""
20 eval "localedir=\"${datadir}/locale\""
21 prefix="$save_prefix"
22 AC_SUBST(localedir)
24 dnl Support for the po directory.
25 AM_PO_SUBDIRS
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])
31 AC_OUTPUT