Cross-Platform build scripts for audio plugins
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.

41 lines
1.3KB

  1. diff --git a/configure b/configure
  2. index 5af7e64..344ac2d 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -5670,7 +5670,7 @@ $as_echo "yes" >&6; }
  6. fi
  7. fi
  8. if test "x$ac_portaudio" = "xyes"; then
  9. - $as_echo "#define CONFIG_PORTAUDIO 1 Define if PORTAUDIO library is available." >>confdefs.h
  10. + $as_echo "#define CONFIG_PORTAUDIO 1" >>confdefs.h
  11. ac_cflags="$ac_cflags $PORTAUDIO_CFLAGS"
  12. ac_libs="$ac_libs $PORTAUDIO_LIBS"
  13. diff --git a/configure.ac b/configure.ac
  14. index a7263e3..52eef13 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -402,7 +402,7 @@ if test "x$ac_portaudio" = "xyes"; then
  18. PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0], [ac_portaudio="yes"], [ac_portaudio="no"])
  19. fi
  20. if test "x$ac_portaudio" = "xyes"; then
  21. - AC_DEFINE(CONFIG_PORTAUDIO 1, [Define if PORTAUDIO library is available.])
  22. + AC_DEFINE(CONFIG_PORTAUDIO, 1, [Define if PORTAUDIO library is available.])
  23. ac_cflags="$ac_cflags $PORTAUDIO_CFLAGS"
  24. ac_libs="$ac_libs $PORTAUDIO_LIBS"
  25. else
  26. diff --git a/src/config.h.in b/src/config.h.in
  27. index 579aa21..a1aedfc 100644
  28. --- a/src/config.h.in
  29. +++ b/src/config.h.in
  30. @@ -66,6 +66,9 @@
  31. /* Default man page path. */
  32. #undef CONFIG_MANDIR
  33. +/* Define if PORTAUDIO library is available. */
  34. +#undef CONFIG_PORTAUDIO
  35. +
  36. /* Default installation prefix. */
  37. #undef CONFIG_PREFIX