]>
Commit | Line | Data |
---|---|---|
79035f0d NN |
1 | AC_PREREQ(2.57) |
2 | AC_INIT | |
3 | AC_CONFIG_SRCDIR(gettext.c) | |
6eb95e99 ZW |
4 | AC_CONFIG_HEADER(config.h) |
5 | AM_GNU_GETTEXT_VERSION(0.12.1) | |
6 | AM_GNU_GETTEXT | |
7 | ||
79035f0d | 8 | # This replaces the extensive use of DEFS in the original Makefile.in. |
6eb95e99 ZW |
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.]) | |
18 | ||
79035f0d NN |
19 | # Additional info for config.intl. |
20 | AC_SUBST(LIBINTL_DEP) | |
21 | AC_SUBST(INCINTL) | |
56694dd9 | 22 | |
79035f0d NN |
23 | LIBINTL_DEP= |
24 | INCINTL= | |
25 | case $USE_INCLUDED_LIBINTL in | |
26 | yes) | |
27 | LIBINTL_DEP='${top_builddir}/intl/libintl.a' | |
28 | INCINTL='-I${top_builddir}/intl' | |
29 | ;; | |
30 | esac | |
56694dd9 | 31 | |
79035f0d NN |
32 | AC_CONFIG_FILES(Makefile config.intl) |
33 | AC_OUTPUT |