1 dnl Example for use of GNU gettext.
2 dnl This file is in the public domain.
4 dnl Configuration file - processed by autoconf.
7 AC_CONFIG_SRCDIR(hello.scm)
8 AM_INIT_AUTOMAKE(hello-guile, 0)
10 dnl Check for availability of the guile interpreter.
11 AC_PATH_PROG(GUILE, guile)
12 if test -z "$GUILE"; then
13 echo "*** Essential program guile not found" 1>&2
18 dnl The installed program must know where to find its message catalogs.
19 dnl Unfortunately, prefix gets only finally determined at the end of configure.
20 if test "X$prefix" = "XNONE"; then
21 final_prefix="$ac_default_prefix"
23 final_prefix="$prefix"
26 prefix="$final_prefix"
27 eval "datarootdir=\"${datarootdir}\""
28 eval "localedir=\"${datadir}/locale\""
32 dnl Support for the po directory.
35 AC_CONFIG_FILES([Makefile])
36 AC_CONFIG_FILES([hello:hello.scm], [chmod a+x hello])
37 AC_CONFIG_FILES([m4/Makefile])
38 AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])