blob: 2c20bb81edbf8c9771dfb6a982d66a65d63d4682 [file] [log] [blame]
dnl Example for use of GNU gettext.
dnl This file is in the public domain.
dnl
dnl Configuration file - processed by autoconf.
AC_INIT([hello-pascal], [0])
AC_CONFIG_SRCDIR([hello.pas])
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Free Pascal Compiler.
AC_PATH_PROGS([PPC], [ppc386 ppcx64])
if test -z "$PPC"; then
echo "*** Essential program ppc386 or ppcx64 not found" 1>&2
exit 1
fi
AC_SUBST([PPC])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
if test "X$prefix" = "XNONE"; then
final_prefix="$ac_default_prefix"
else
final_prefix="$prefix"
fi
save_prefix="$prefix"
prefix="$final_prefix"
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([m4/Makefile])
AC_CONFIG_FILES([po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
AC_OUTPUT