test/configure

changeset 15
971ac4f0f1df
parent 14
87fea7ab27de
child 16
4fac0e25ee04
equal deleted inserted replaced
14:87fea7ab27de 15:971ac4f0f1df
289 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`" 289 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`"
290 echo yes 290 echo yes
291 return 0 291 return 0
292 done 292 done
293 293
294 # dependency openssl platform="bsd"
295 while true
296 do
297 if isnotplatform "bsd"; then
298 break
299 fi
300 LDFLAGS="$LDFLAGS -lssl -lcrypto"
301 echo yes
302 return 0
303 done
304
294 echo no 305 echo no
295 return 1 306 return 1
296 } 307 }
297 dependency_libxml2() 308 dependency_libxml2()
298 { 309 {
399 fi 410 fi
400 411
401 if [ $ERROR -ne 0 ]; then 412 if [ $ERROR -ne 0 ]; then
402 echo 413 echo
403 echo "Error: Unresolved dependencies" 414 echo "Error: Unresolved dependencies"
404 echo $DEPENCIES_FAILED 415 echo $DEPENDENCIES_FAILED
405 rm -Rf $TEMP_DIR 416 rm -Rf $TEMP_DIR
406 exit 1 417 exit 1
407 fi 418 fi
408 419
409 echo "configure finished" 420 echo "configure finished"

mercurial