test/configure

changeset 20
2d3fe2c44163
parent 19
e05f3e8ec2cb
parent 18
0df7309d498e
child 34
4486849e6a6c
equal deleted inserted replaced
19:e05f3e8ec2cb 20:2d3fe2c44163
291 return 1 291 return 1
292 } 292 }
293 dependency_libxml2() 293 dependency_libxml2()
294 { 294 {
295 printf "checking for libxml2... " 295 printf "checking for libxml2... "
296 # dependency libxml2 platform="macos"
297 while true
298 do
299 if isnotplatform "macos"; then
300 break
301 fi
302 xml2-config --cflags > /dev/null
303 if [ $? -eq 0 ]; then
304 CFLAGS="$CFLAGS `xml2-config --cflags`"
305 else
306 break
307 fi
308 xml2-config --libs > /dev/null
309 if [ $? -eq 0 ]; then
310 LDFLAGS="$LDFLAGS `xml2-config --libs`"
311 else
312 break
313 fi
314 echo yes
315 return 0
316 done
317
296 # dependency libxml2 318 # dependency libxml2
297 while true 319 while true
298 do 320 do
299 if [ -z "$PKG_CONFIG" ]; then 321 if [ -z "$PKG_CONFIG" ]; then
300 break 322 break

mercurial