Advertisement
Guest User

Untitled

a guest
Sep 19th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. dnl Process this file with autoconf to produce a configure script.
  2.  
  3. AC_INIT(Xsynth-DSSI, 0.9.4, musound-at-jps-dot-net)
  4.  
  5. AC_CONFIG_SRCDIR(src/xsynth-dssi.c)
  6. AM_INIT_AUTOMAKE
  7. AM_CONFIG_HEADER(config.h)
  8.  
  9. AC_ISC_POSIX
  10. AC_PROG_CC
  11.  
  12. AC_ENABLE_STATIC(no)
  13. AC_ENABLE_SHARED(yes)
  14. AC_LIBTOOL_DLOPEN
  15. AC_PROG_LIBTOOL
  16.  
  17. AC_C_BIGENDIAN
  18.  
  19. dnl Check for GTK+
  20. AC_ARG_WITH(gtk2, AC_HELP_STRING([--with-gtk2], [use GTK+ 2.0 default=yes]),
  21. [ if test $withval = "yes"; then try_gtk2=yes ;
  22. else try_gtk2=no ; fi ], try_gtk2=yes)
  23. with_gtk=no
  24. dnl First look for GTK+ 2.x, unless '--without-gtk2' was specified.
  25. if test "x${try_gtk2}" = 'xyes'; then
  26. AM_PATH_GTK_2_0(2.0.0, with_gtk='yes (version 2.0)', with_gtk=no)
  27. fi
  28. dnl No GTK+ 2.x found, look for GTK+ 1.2 instead
  29. if test "x${with_gtk}" = 'xno'; then
  30. AM_PATH_GTK(1.2.0, with_gtk='yes (version 1.2)', AC_MSG_WARN([GUI will not be built because no version of GTK+ was found]))
  31. fi
  32. AM_CONDITIONAL(BUILD_GUI, test "x${with_gtk}" != 'xno')
  33. echo "GTK support: $with_gtk"
  34.  
  35. dnl OS specific checks
  36. case "${host_os}" in
  37. darwin*)
  38. darwin=yes
  39. PKG_CHECK_MODULES(ALSA, libdssialsacompat)
  40. ;;
  41. *)
  42. darwin=no
  43. PKG_CHECK_MODULES(ALSA, alsa)
  44. ;;
  45. esac
  46. AM_CONDITIONAL(DARWIN, test x$darwin = xyes)
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement