1dnl Example for use of GNU gettext. 2dnl Copyright (C) 2003, 2006 Free Software Foundation, Inc. 3dnl This file is in the public domain. 4dnl 5dnl Configuration file - processed by autoconf. 6 7AC_INIT 8AC_CONFIG_SRCDIR(hello.sh) 9AM_INIT_AUTOMAKE(hello-sh, 0) 10 11dnl The installed program must know where to find its message catalogs. 12dnl Unfortunately, prefix gets only finally determined at the end of configure. 13if test "X$prefix" = "XNONE"; then 14 final_prefix="$ac_default_prefix" 15else 16 final_prefix="$prefix" 17fi 18save_prefix="$prefix" 19prefix="$final_prefix" 20eval "datarootdir=\"${datarootdir}\"" 21eval "localedir=\"${datadir}/locale\"" 22prefix="$save_prefix" 23AC_SUBST(localedir) 24 25dnl Support for the po directory. 26AM_PO_SUBDIRS 27 28AC_CONFIG_FILES([Makefile]) 29AC_CONFIG_FILES([hello:hello.sh], [chmod a+x hello]) 30AC_CONFIG_FILES([m4/Makefile]) 31AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE]) 32AC_OUTPUT 33