configure.ac (c4266413) configure.ac (8ba2f6f7)
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 3911 unchanged lines hidden (view full) ---

3920dnl ===================================================================
3921AC_MSG_CHECKING([which libxslt to use])
3922if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
3923 "$_os" = "Darwin" && \
3924 test "$with_system_libxslt" != "no"; then
3925 AC_MSG_RESULT([external])
3926 SYSTEM_LIBXSLT=YES
3927
1dnl /******************************************************************
2dnl * vi:set sw=3 ts=3 et:
3dnl *
4dnl * Name: configure.in
5dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
6dnl *
7dnl * Desc: This file serves as input for the GNU autoconf package
8dnl * in order to create a configure script.

--- 3911 unchanged lines hidden (view full) ---

3920dnl ===================================================================
3921AC_MSG_CHECKING([which libxslt to use])
3922if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
3923 "$_os" = "Darwin" && \
3924 test "$with_system_libxslt" != "no"; then
3925 AC_MSG_RESULT([external])
3926 SYSTEM_LIBXSLT=YES
3927
3928 PKG_CHECK_MODULES_MACHACK(LIBXSLT, xslt-config, libxslt)
3928 if test "$_os" != "Darwin"; then
3929 PKG_CHECK_MODULES(LIBXSLT, libxslt)
3930 else
3931 LIBXSLT_CFLAGS=`xslt-config --cflags`
3932 LIBXSLT_LDLAGS=`xslt-config --libs`
3933 fi
3929
3930 dnl Check for xsltproc
3931 AC_PATH_PROG(XSLTPROC, xsltproc, no)
3932 if test "$XSLTPROC" = "no"; then
3933 AC_MSG_ERROR([xsltproc is required])
3934 fi
3935else
3936 AC_MSG_RESULT([internal])

--- 9 unchanged lines hidden (view full) ---

3946dnl Check for system libxml
3947dnl ===================================================================
3948AC_MSG_CHECKING([which libxml to use])
3949if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
3950 "$_os" = "Darwin" && \
3951 test "$with_system_libxml" != "no"; then
3952 AC_MSG_RESULT([external])
3953 SYSTEM_LIBXML=YES
3934
3935 dnl Check for xsltproc
3936 AC_PATH_PROG(XSLTPROC, xsltproc, no)
3937 if test "$XSLTPROC" = "no"; then
3938 AC_MSG_ERROR([xsltproc is required])
3939 fi
3940else
3941 AC_MSG_RESULT([internal])

--- 9 unchanged lines hidden (view full) ---

3951dnl Check for system libxml
3952dnl ===================================================================
3953AC_MSG_CHECKING([which libxml to use])
3954if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
3955 "$_os" = "Darwin" && \
3956 test "$with_system_libxml" != "no"; then
3957 AC_MSG_RESULT([external])
3958 SYSTEM_LIBXML=YES
3954 PKG_CHECK_MODULES_MACHACK(LIBXML, xml2-config, libxml-2.0 >= 2.0)
3955 BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
3959 BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
3960
3961 if test "$_os" != "Darwin"; then
3962 PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0)
3963 else
3964 LIBXML_CFLAGS=`xml2-config --cflags`
3965 LIBXML_LDLAGS=`xml2-config --libs`
3966 fi
3956else
3957 AC_MSG_RESULT([internal])
3958 SYSTEM_LIBXML=NO
3959 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
3960fi
3961AC_SUBST(SYSTEM_LIBXML)
3962AC_SUBST(LIBXML_CFLAGS)
3963AC_SUBST(LIBXML_LIBS)

--- 3383 unchanged lines hidden ---
3967else
3968 AC_MSG_RESULT([internal])
3969 SYSTEM_LIBXML=NO
3970 BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
3971fi
3972AC_SUBST(SYSTEM_LIBXML)
3973AC_SUBST(LIBXML_CFLAGS)
3974AC_SUBST(LIBXML_LIBS)

--- 3383 unchanged lines hidden ---