3 AC_CONFIG_SRCDIR(gettext.c)
4 AC_CONFIG_HEADER(config.h)
5 AM_GNU_GETTEXT_VERSION(0.12.1)
8 # This replaces the extensive use of DEFS in the original Makefile.in.
9 AC_DEFINE(IN_LIBINTL, 1, [Define because this is libintl.])
10 AC_DEFINE(IN_LIBRARY, 1, [Define because this is a library.])
11 AC_DEFINE(DEPENDS_ON_LIBICONV, 1, [Define because we depend on libiconv.])
12 AC_DEFINE(ENABLE_RELOCATABLE, 1, [Define to enable relocation.])
13 AC_DEFINE(NO_XMALLOC, 1, [Define if there is no xmalloc.])
14 AC_DEFINE(set_relocation_prefix, libintl_set_relocation_prefix,
15 [Define this entry point correctly.])
16 AC_DEFINE(relocate, libintl_relocate,
17 [Define this entry point correctly.])
19 # Additional info for config.intl.
25 case $USE_INCLUDED_LIBINTL in
27 LIBINTL=`echo $LIBINTL | sed 's,${top_builddir},&/..,' `
28 LTLIBINTL=`echo $LTLIBINTL | sed 's,${top_builddir},&/..,' `
29 LIBINTL_DEP='${top_builddir}/../intl/libintl.a'
30 INCINTL='-I${top_builddir}/../intl'
34 AC_CONFIG_FILES(Makefile config.intl)