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([hello-sh], [0]) 7AC_CONFIG_SRCDIR([hello.sh]) 8AM_INIT_AUTOMAKE([1.11]) 9 10dnl The installed program must know where to find its message catalogs. 11dnl Unfortunately, prefix gets only finally determined at the end of configure. 12if test "X$prefix" = "XNONE"; then 13 final_prefix="$ac_default_prefix" 14else 15 final_prefix="$prefix" 16fi 17save_prefix="$prefix" 18prefix="$final_prefix" 19eval "datarootdir=\"${datarootdir}\"" 20eval "localedir=\"${datadir}/locale\"" 21prefix="$save_prefix" 22AC_SUBST([localedir]) 23 24dnl Support for the po directory. 25AM_PO_SUBDIRS 26 27AC_CONFIG_FILES([Makefile]) 28AC_CONFIG_FILES([hello:hello.sh], [chmod a+x hello]) 29AC_CONFIG_FILES([m4/Makefile]) 30AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) 31AC_OUTPUT 32