Le 16/03/2010 23:19, Matthieu Fertré a écrit :
> Hi,
>
> I have just tested the patch. The test about finding libxml or not is ok
> (configure fails if libxml2 is not installed), but the check about
> version is not. If I install libxml version 2.6.32.dfsg-5+lenny1,
> ./configure succeeds.
>   

I'm confused. The check works perfectly as soon as configure is
re-generated thanks to autogen.sh...

Regards,

gentildemon

> Regards,
>
> gentildemon
>
>
> Le 15/03/2010 10:34, lami a écrit :
>   
>> --- configure.ac        2010-03-15 10:25:15.000000000 +0100
>> +++ configure.ac2       2010-03-15 10:24:10.000000000 +0100
>> @@ -311,14 +311,7 @@
>>    CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x501"
>>  fi
>>
>> -AC_MSG_CHECKING(for libxml2)
>> -
>> -if $PACKAGE_CONFIG --exists libxml-2.0; then
>> -  AC_MSG_RESULT(yes)
>> -else
>> -  AC_MSG_RESULT(no)
>> -  check_libxml="no"
>> -fi
>> +PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= 2.7.3, [],
>> [AC_MSG_FAILURE([libxml2 >= 2.7.3 not found])])
>>
>>  dnl === Display error if SDL image, mixer, etc. is missing
>> ==================
>>
>> @@ -347,9 +340,6 @@
>>    if test x${check_sdl_net} = xno; then
>>      AC_MSG_RESULT([ERROR: SDL_net library required])
>>    fi
>> -  if test x${check_libxml} = xno; then
>> -    AC_MSG_RESULT([ERROR: libxml2 not found!])
>> -  fi
>>    if test x${check_curl} = xno; then
>>      AC_MSG_RESULT([ERROR: libcurl not found!])
>>    fi
>>   
>>     
>
> _______________________________________________
> Wormux-dev mailing list
> Wormux-dev@gna.org
> https://mail.gna.org/listinfo/wormux-dev
>   


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à