Blame gettext-tools/examples/hello-sh/configure.ac

Packit Bot 06c835
dnl Example for use of GNU gettext.
Packit Bot 06c835
dnl This file is in the public domain.
Packit Bot 06c835
dnl
Packit Bot 06c835
dnl Configuration file - processed by autoconf.
Packit Bot 06c835
Packit Bot 06c835
AC_INIT
Packit Bot 06c835
AC_CONFIG_SRCDIR(hello.sh)
Packit Bot 06c835
AM_INIT_AUTOMAKE(hello-sh, 0)
Packit Bot 06c835
Packit Bot 06c835
dnl The installed program must know where to find its message catalogs.
Packit Bot 06c835
dnl Unfortunately, prefix gets only finally determined at the end of configure.
Packit Bot 06c835
if test "X$prefix" = "XNONE"; then
Packit Bot 06c835
  final_prefix="$ac_default_prefix"
Packit Bot 06c835
else
Packit Bot 06c835
  final_prefix="$prefix"
Packit Bot 06c835
fi
Packit Bot 06c835
save_prefix="$prefix"
Packit Bot 06c835
prefix="$final_prefix"
Packit Bot 06c835
eval "datarootdir=\"${datarootdir}\""
Packit Bot 06c835
eval "localedir=\"${datadir}/locale\""
Packit Bot 06c835
prefix="$save_prefix"
Packit Bot 06c835
AC_SUBST(localedir)
Packit Bot 06c835
Packit Bot 06c835
dnl Support for the po directory.
Packit Bot 06c835
AM_PO_SUBDIRS
Packit Bot 06c835
Packit Bot 06c835
AC_CONFIG_FILES([Makefile])
Packit Bot 06c835
AC_CONFIG_FILES([hello:hello.sh], [chmod a+x hello])
Packit Bot 06c835
AC_CONFIG_FILES([m4/Makefile])
Packit Bot 06c835
AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
Packit Bot 06c835
AC_OUTPUT