libetonyek-0.1.6-mdds-1.2.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- libetonyek-0.1.6/configure.ac
  2. +++ libetonyek-0.1.6/configure.ac
  3. @@ -24,8 +24,8 @@ AC_LANG([C++])
  4. # Configure options
  5. # =================
  6. AC_ARG_WITH([mdds],
  7. - AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
  8. - [], [with_mdds="1.0"])
  9. + AS_HELP_STRING([--with-mdds=1.2|0.x], [Specify which version of mdds to use (1.2 is the default)]),
  10. + [], [with_mdds="1.2"])
  11. # ===========================
  12. # Find required base packages
  13. @@ -47,7 +47,7 @@ AC_PROG_SED
  14. AM_MISSING_PROG([GPERF], [gperf])
  15. -AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])])
  16. +AS_IF([test "$with_mdds" != "0.x"], [AX_CXX_COMPILE_STDCXX_11([noext])])
  17. # ===============
  18. # Find librevenge
  19. @@ -138,8 +138,8 @@ AC_SUBST([GLM_CFLAGS])
  20. # =========
  21. # Find mdds
  22. # =========
  23. -AS_IF([test "$with_mdds" = "1.0"], [
  24. - PKG_CHECK_MODULES([MDDS], [mdds-1.0])
  25. +AS_IF([test "$with_mdds" != "0.x"], [
  26. + PKG_CHECK_MODULES([MDDS], [mdds-][$with_mdds])
  27. ], [
  28. PKG_CHECK_MODULES([MDDS], [mdds])
  29. AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])