search path if we are using --with-internal-gettext.
Otherwise causes compatibility problems with the woody
glibc. (Addresses Debian bug #193372)
+2003-05-17 Theodore Tso <tytso@thunk.org>
+
+ * MCONFIG.in, configure.in: Only put the intl directory in the -I
+ search path if we are using --with-internal-gettext.
+ Otherwise causes compatibility problems with the woody
+ glibc. (Addresses Debian bug #193372)
+
2003-05-13 Theodore Ts'o <tytso@mit.edu>
* configure.in: Fix typo in help message for --enable-evms-11
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
+INTL_FLAGS = @INTL_FLAGS@
ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
- -I$(top_builddir)/intl -I$(top_srcdir)/intl \
- -I$(top_builddir)/lib -I$(top_srcdir)/lib $(LINUX_INCLUDE)
+ $(INTL_FLAGS) -I$(top_builddir)/lib -I$(top_srcdir)/lib \
+ $(LINUX_INCLUDE)
LDFLAGS = @LDFLAGS@
ALL_LDFLAGS = $(LDFLAGS)
RM = @RM@
DO_TEST_SUITE=check
fi
+INTL_FLAGS=
+if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
+ INTL_FLAGS='-I$(top_builddir)/intl -I$(top_srcdir)/intl'
+fi
+
test -d lib || mkdir lib
test -d include || mkdir include
test -d include/linux || mkdir include/linux
s%@SS_DIR@%$SS_DIR%g
s%@ET_DIR@%$ET_DIR%g
s%@DO_TEST_SUITE@%$DO_TEST_SUITE%g
+s%@INTL_FLAGS@%$INTL_FLAGS%g
CEOF
EOF
fi
AC_SUBST(DO_TEST_SUITE)
dnl
+dnl Only include the intl include files if we're building with them
+dnl
+INTL_FLAGS=
+if test "$USE_INCLUDED_LIBINTL" = "yes" ; then
+ INTL_FLAGS='-I$(top_builddir)/intl -I$(top_srcdir)/intl'
+fi
+AC_SUBST(INTL_FLAGS)
+dnl
dnl Make our output files, being sure that we create the some miscellaneous
dnl directories
dnl