- m4_if(m4_substr(m4_esyscmd(test -d po && echo 0),0,1),0, [
- AM_PO_SUBDIRS
- IT_PROG_INTLTOOL([0.35],[no-xml])
-
- GETTEXT_PACKAGE=$PACKAGE
- AC_CHECK_LIB(intl, libintl_gettext)
- AC_SUBST([GETTEXT_PACKAGE])
- AS_IF([test "x${USE_NLS}" = "xyes" -a "x${pandora_have_intltool}" = "xyes"],
- [AC_DEFINE([ENABLE_NLS],[1],[Turn on language support])
- AC_CONFIG_FILES([po/Makefile.in])
- ])
- ])
- AM_CONDITIONAL(BUILD_PO,[test "x${USE_NLS}" = "xyes" -a "x${pandora_have_intltool}" = "xyes"])
-
- AS_IF([test "x${gl_LIBOBJS}" != "x"],[
- AS_IF([test "$GCC" = "yes"],[
- AM_CPPFLAGS="-isystem \${top_srcdir}/gnulib -isystem \${top_builddir}/gnulib ${AM_CPPFLAGS}"
- ],[
- AM_CPPFLAGS="-I\${top_srcdir}/gnulib -I\${top_builddir}/gnulib ${AM_CPPFLAGS}"
- ])
- ])