VassiliAr

searching for zlib in configure file

Aug 24th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. lucas@pablo-desktop:~/qemu-1.6.0$ grep "zlib" configure -C 3
  2. libusb=""
  3. usb_redir=""
  4. glx=""
  5. zlib="yes"
  6. guest_agent=""
  7. want_tools="yes"
  8. libiscsi=""
  9. --
  10. ;;
  11. --enable-usb-redir) usb_redir="yes"
  12. ;;
  13. --disable-zlib-test) zlib="no"
  14. ;;
  15. --enable-guest-agent) guest_agent="yes"
  16. ;;
  17. --
  18. fi
  19.  
  20. ##########################################
  21. # zlib check
  22.  
  23. if test "$zlib" != "no" ; then
  24. cat > $TMPC << EOF
  25. #include <zlib.h>
  26. int main(void) { zlibVersion(); return 0; }
  27. EOF
  28. if compile_prog "" "-lz" ; then
  29. :
  30. else
  31. error_exit "zlib check failed" \
  32. "Make sure to have the zlib libs and headers installed."
  33. fi
  34. fi
  35. libs_softmmu="$libs_softmmu -lz"
  36. lucas@pablo-desktop:~/qemu-1.6.0$ CFLAGS=/home/lucas/zlib-1.2.8/zlib-build/include:CFLAGS
  37. lucas@pablo-desktop:~/qemu-1.6.0$ LDFLAGS=/home/lucas/zlib-1.2.8/zlib-build/lib:LDFLAGS
Advertisement
Add Comment
Please, Sign In to add comment