Problem detecting libxslt

Mike McCormack mike at codeweavers.com
Fri Sep 9 06:12:00 CDT 2005


Vincent Béron wrote:

> --- configure.ac	3 Sep 2005 15:43:53 -0000	1.403
> +++ configure.ac	8 Sep 2005 23:08:04 -0000
> @@ -469,7 +469,10 @@ then
>              [AC_DEFINE(HAVE_LIBXSLT, 1, [Define if you have the libxslt library])
>               XSLTLIBS="$ac_xslt_libs"
>               XSLTINCL="$ac_xslt_cflags"],,$ac_xslt_libs)
> -        ])
> +        ],,
> +[#ifdef HAVE_LIBXSLT_PATTERN_H
> +# include <libxslt/pattern.h>
> +#endif])
>      CPPFLAGS="$ac_save_CPPFLAGS"
>  fi

It doesn't seem exactly right to me, but I'm not really sure of a better 
way of fixing it.  Maybe an AC_TRY_COMPILE()?   Alexandre understands 
configure better than I do, so you might try asking him.

Mike




More information about the wine-devel mailing list