You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kbibtex/configure.in.in

38 lines
1.3 KiB

#MIN_CONFIG(3.0.0)
AM_INIT_AUTOMAKE(kbibtex, 0.2.3.91)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
PKG_CHECK_MODULES([LIBYAZ], [yaz], [AC_DEFINE([HAVE_YAZ],1,[Define to 1 if you have the YAZ library installed.])],[AC_MSG_RESULT(no)])
AC_SUBST(LIBYAZ_CFLAGS)
AC_SUBST(LIBYAZ_LIBS)
AC_SUBST(LIBYAZ_RPATH)
PKG_CHECK_MODULES([LIBXML], [libxml-2.0], [AC_DEFINE([HAVE_XML],1,[Define to 1 if you have libxml installed.])],[AC_MSG_RESULT(no)])
AC_SUBST(LIBXML_LIBS)
AC_SUBST(LIBXML_CFLAGS)
PKG_CHECK_MODULES([LIBXSLT], [libxslt], [AC_DEFINE([HAVE_XSLT],1,[Define to 1 if you have libxslt installed.])],[AC_MSG_RESULT(no)])
AC_SUBST(LIBXSLT_LIBS)
AC_SUBST(LIBXSLT_CFLAGS)
KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
AC_MSG_WARN([Could not find pkg-config])
])
if test -n "$PKGCONFIG"; then
ICU_VERSION=`$PKGCONFIG icu-uc --modversion 2>/dev/null`
if test -n "$ICU_VERSION"; then
ICU_CXXFLAGS=`$PKGCONFIG icu-uc --variable=CXXFLAGS`
fi
fi
if test -z "$ICU_VERSION"; then
KDE_FIND_PATH(icu-config, ICU_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
AC_MSG_WARN([Could not find icu-config])
])
if test -n "$ICU_CONFIG"; then
ICU_CXXFLAGS=`$ICU_CONFIG --cxxflags`
fi
fi
AC_SUBST(ICU_CXXFLAGS)