3 AC_CONFIG_HEADER(config.h)
4 AM_GNU_GETTEXT_VERSION(0.12.1)
7 dnl This replaces the extensive use of DEFS in the original Makefile.in.
8 AC_DEFINE(IN_LIBINTL, 1, [Define because this is libintl.])
9 AC_DEFINE(IN_LIBRARY, 1, [Define because this is a library.])
10 AC_DEFINE(DEPENDS_ON_LIBICONV, 1, [Define because we depend on libiconv.])
11 AC_DEFINE(ENABLE_RELOCATABLE, 1, [Define to enable relocation.])
12 AC_DEFINE(NO_XMALLOC, 1, [Define if there is no xmalloc.])
13 AC_DEFINE(set_relocation_prefix, libintl_set_relocation_prefix,
14 [Define this entry point correctly.])
15 AC_DEFINE(relocate, libintl_relocate,
16 [Define this entry point correctly.])
18 dnl Additional info for config.intl.
19 LIBINTL_DEP= AC_SUBST(LIBINTL_DEP)
20 INCINTL= AC_SUBST(INCINTL)
22 if test $USE_INCLUDED_LIBINTL = yes; then
23 LIBINTL_DEP='${top_builddir}/intl/libintl.a'
24 INCINTL='-I${top_builddir}/intl'
27 AC_OUTPUT(Makefile config.intl)