comparison configure @ 112330:56d3e9c28eb0

Merge from mainline.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 17 Jan 2011 11:01:01 -0800
parents 2b598aa5d397 105ba04b561c
children 19348bd13f81
comparison
equal deleted inserted replaced
112329:e36b2f5d36cd 112330:56d3e9c28eb0
12260 if test "$PKG_CONFIG" = "no" ; then 12260 if test "$PKG_CONFIG" = "no" ; then
12261 HAVE_LIBXML2=no 12261 HAVE_LIBXML2=no
12262 else 12262 else
12263 PKG_CONFIG_MIN_VERSION=0.9.0 12263 PKG_CONFIG_MIN_VERSION=0.9.0
12264 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 12264 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 > 2.2.0" >&5 12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 > 2.6.17" >&5
12266 $as_echo_n "checking for libxml-2.0 > 2.2.0... " >&6; } 12266 $as_echo_n "checking for libxml-2.0 > 2.6.17... " >&6; }
12267 12267
12268 if $PKG_CONFIG --exists "libxml-2.0 > 2.2.0" 2>&5; then 12268 if $PKG_CONFIG --exists "libxml-2.0 > 2.6.17" 2>&5; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12270 $as_echo "yes" >&6; } 12270 $as_echo "yes" >&6; }
12271 succeeded=yes 12271 succeeded=yes
12272 12272
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_CFLAGS" >&5 12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_CFLAGS" >&5
12274 $as_echo_n "checking LIBXML2_CFLAGS... " >&6; } 12274 $as_echo_n "checking LIBXML2_CFLAGS... " >&6; }
12275 LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'` 12275 LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.6.17"|sed -e 's,///*,/,g'`
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_CFLAGS" >&5 12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_CFLAGS" >&5
12277 $as_echo "$LIBXML2_CFLAGS" >&6; } 12277 $as_echo "$LIBXML2_CFLAGS" >&6; }
12278 12278
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_LIBS" >&5 12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_LIBS" >&5
12280 $as_echo_n "checking LIBXML2_LIBS... " >&6; } 12280 $as_echo_n "checking LIBXML2_LIBS... " >&6; }
12281 LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'` 12281 LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.6.17"|sed -e 's,///*,/,g'`
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_LIBS" >&5 12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_LIBS" >&5
12283 $as_echo "$LIBXML2_LIBS" >&6; } 12283 $as_echo "$LIBXML2_LIBS" >&6; }
12284 else 12284 else
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; } 12286 $as_echo "no" >&6; }
12287 LIBXML2_CFLAGS="" 12287 LIBXML2_CFLAGS=""
12288 LIBXML2_LIBS="" 12288 LIBXML2_LIBS=""
12289 ## If we have a custom action on failure, don't print errors, but 12289 ## If we have a custom action on failure, don't print errors, but
12290 ## do set a variable so people can do so. 12290 ## do set a variable so people can do so.
12291 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 > 2.2.0"` 12291 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 > 2.6.17"`
12292 12292
12293 fi 12293 fi
12294 12294
12295 12295
12296 12296