]> git.ipfire.org Git - thirdparty/gcc.git/blame - intl/configure.ac
re PR tree-optimization/17587 (Mauve's UnicodeBase.java fails to compile)
[thirdparty/gcc.git] / intl / configure.ac
CommitLineData
8ab705be 1AC_PREREQ(2.59)
79035f0d
NN
2AC_INIT
3AC_CONFIG_SRCDIR(gettext.c)
6eb95e99
ZW
4AC_CONFIG_HEADER(config.h)
5AM_GNU_GETTEXT_VERSION(0.12.1)
6AM_GNU_GETTEXT
7
79035f0d 8# This replaces the extensive use of DEFS in the original Makefile.in.
6eb95e99
ZW
9AC_DEFINE(IN_LIBINTL, 1, [Define because this is libintl.])
10AC_DEFINE(IN_LIBRARY, 1, [Define because this is a library.])
11AC_DEFINE(DEPENDS_ON_LIBICONV, 1, [Define because we depend on libiconv.])
12AC_DEFINE(ENABLE_RELOCATABLE, 1, [Define to enable relocation.])
13AC_DEFINE(NO_XMALLOC, 1, [Define if there is no xmalloc.])
14AC_DEFINE(set_relocation_prefix, libintl_set_relocation_prefix,
15[Define this entry point correctly.])
16AC_DEFINE(relocate, libintl_relocate,
17[Define this entry point correctly.])
18
79035f0d
NN
19# Additional info for config.intl.
20AC_SUBST(LIBINTL_DEP)
21AC_SUBST(INCINTL)
56694dd9 22
79035f0d
NN
23LIBINTL_DEP=
24INCINTL=
25case $USE_INCLUDED_LIBINTL in
26 yes)
5da9128a
PB
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'
79035f0d
NN
31 ;;
32esac
56694dd9 33
79035f0d
NN
34AC_CONFIG_FILES(Makefile config.intl)
35AC_OUTPUT