configure

branch
webdav
changeset 260
4779a6fb4fbe
parent 250
f4d93355b054
child 267
4ded424f4a5f
equal deleted inserted replaced
259:0b8692959d37 260:4779a6fb4fbe
290 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`" 290 LDFLAGS="$LDFLAGS `$PKG_CONFIG --libs openssl`"
291 echo yes 291 echo yes
292 return 0 292 return 0
293 done 293 done
294 294
295 # dependency openssl
296 while true
297 do
298 LDFLAGS="$LDFLAGS -lssl -lcrypto"
299 echo yes
300 return 0
301 done
302
295 echo no 303 echo no
296 return 1 304 return 1
297 } 305 }
298 dependency_libxml2() 306 dependency_libxml2()
299 { 307 {
358 break 366 break
359 fi 367 fi
360 while true 368 while true
361 do 369 do
362 370
363 CFLAGS="$CFLAGS -DBSD" 371 CFLAGS="$CFLAGS -DBSD -I/usr/local/include"
364 LDFLAGS="$LDFLAGS -lpthread -lm -lldap" 372 LDFLAGS="$LDFLAGS -lpthread -lm -lldap"
365 cat >> $TEMP_DIR/make.mk << __EOF__ 373 cat >> $TEMP_DIR/make.mk << __EOF__
366 # platform dependend source files 374 # platform dependend source files
367 PLATFORM_DAEMONOBJ = event_bsd.o 375 PLATFORM_DAEMONOBJ = event_bsd.o
368 376
496 fi 504 fi
497 505
498 if [ $ERROR -ne 0 ]; then 506 if [ $ERROR -ne 0 ]; then
499 echo 507 echo
500 echo "Error: Unresolved dependencies" 508 echo "Error: Unresolved dependencies"
501 echo $DEPENCIES_FAILED 509 echo $DEPENDENCIES_FAILED
502 rm -Rf $TEMP_DIR 510 rm -Rf $TEMP_DIR
503 exit 1 511 exit 1
504 fi 512 fi
505 513
506 echo "configure finished" 514 echo "configure finished"

mercurial