Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.0KB

  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2008 Jonathan Moore Liles
  4. # This file is licensed under version 2 of the GPL.
  5. . scripts/config-funcs
  6. begin
  7. begin_options
  8. ask "Installation prefix" prefix /usr/local
  9. ask "Build for debugging" USE_DEBUG no
  10. using DEBUG &&
  11. {
  12. ask "Use unoptimized drawing routines" USE_UNOPTIMIZED_DRAWING no
  13. ask "Use widget for timeline" USE_WIDGET_FOR_TIMELINE no
  14. using WIDGET_FOR_TIMELINE || ask "Use singlebuffered timeline" USE_SINGLEBUFFERED_TIMELINE no
  15. }
  16. begin_tests
  17. require_FLTK 1.1.7 images
  18. require_command FLUID fluid
  19. require_command ar ar
  20. require_command makedepend makedepend
  21. require_package JACK 0.103.0 jack
  22. require_package sndfile 1.0.17 sndfile
  23. require_package liblo 0.23 liblo
  24. require_package sigcpp 2.0.0 sigc++-2.0
  25. suggest_package XPM 2.0.0 xpm
  26. if ! hostname_resolvable
  27. then
  28. echo "Your hostname \"$(hostname)\" does not resolve to a valid address."
  29. echo "This is a broken configuration and will cause liblo (the"
  30. echo "OSC library) to fail to function. Add the line:"
  31. echo
  32. echo "127.0.0.1 $(hostname)"
  33. echo
  34. echo "to your /etc/hosts file to fix. And consider switching to a saner distribution."
  35. echo
  36. fail "Invalid hostname!"
  37. fi
  38. if ! test_version 1.1.10 $FLTK_VERSION
  39. then
  40. warn "*** PERFORMANCE WARNING ***"
  41. warn ""
  42. warn "Your FLTK version is $FLTK_VERSION."
  43. warn ""
  44. warn "FLTK version 1.3.0 introduced a bug which slows down the"
  45. warn "drawing of Non-DAW's timeline by a factor of thousands."
  46. warn ""
  47. warn "Install FLTK 1.1.10 and try again."
  48. warn ""
  49. warn "Alternatively, you can rerun configure and answer 'yes' to"
  50. warn "the question 'Use widget for timeline'. It will be fast, but"
  51. warn "you won't be able to see the playhead."
  52. warn ""
  53. warn "Please send any and all complaints to the FLTK developers!"
  54. fi
  55. test_version `version_of liblo` 0.26 || warn "Version $(version_of liblo) of liblo is slow to create servers. Consider upgrading to 0.26 or later"
  56. end