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.

96 lines
2.9 KiB

  1. --- a/build/ac-macros/macosx.m4
  2. +++ b/build/ac-macros/macosx.m4
  3. @@ -19,80 +19,3 @@ dnl ====================================
  4. dnl
  5. dnl Mac OS X specific checks
  6. -dnl SVN_LIB_MACHO_ITERATE
  7. -dnl Check for _dyld_image_name and _dyld_image_header availability
  8. -AC_DEFUN(SVN_LIB_MACHO_ITERATE,
  9. -[
  10. - AC_MSG_CHECKING([for Mach-O dynamic module iteration functions])
  11. - AC_RUN_IFELSE([AC_LANG_PROGRAM([[
  12. - #include <mach-o/dyld.h>
  13. - #include <mach-o/loader.h>
  14. - ]],[[
  15. - const struct mach_header *header = _dyld_get_image_header(0);
  16. - const char *name = _dyld_get_image_name(0);
  17. - if (name && header) return 0;
  18. - return 1;
  19. - ]])],[
  20. - AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1],
  21. - [Is Mach-O low-level _dyld API available?])
  22. - AC_MSG_RESULT([yes])
  23. - ],[
  24. - AC_MSG_RESULT([no])
  25. - ])
  26. -])
  27. -
  28. -dnl SVN_LIB_MACOS_PLIST
  29. -dnl Assign variables for Mac OS property list support
  30. -AC_DEFUN(SVN_LIB_MACOS_PLIST,
  31. -[
  32. - AC_MSG_CHECKING([for Mac OS property list utilities])
  33. -
  34. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  35. - #include <AvailabilityMacros.h>
  36. - #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
  37. - || !defined(MAC_OS_X_VERSION_10_0) \
  38. - || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
  39. - #error ProperyList API unavailable.
  40. - #endif
  41. - ]],[[]])],[
  42. - SVN_MACOS_PLIST_LIBS="-framework CoreFoundation"
  43. - AC_SUBST(SVN_MACOS_PLIST_LIBS)
  44. - AC_DEFINE([SVN_HAVE_MACOS_PLIST], [1],
  45. - [Is Mac OS property list API available?])
  46. - AC_MSG_RESULT([yes])
  47. - ],[
  48. - AC_MSG_RESULT([no])
  49. - ])
  50. -])
  51. -
  52. -dnl SVN_LIB_MACOS_KEYCHAIN
  53. -dnl Check configure options and assign variables related to Keychain support
  54. -
  55. -AC_DEFUN(SVN_LIB_MACOS_KEYCHAIN,
  56. -[
  57. - AC_ARG_ENABLE(keychain,
  58. - AS_HELP_STRING([--disable-keychain],
  59. - [Disable use of Mac OS KeyChain for auth credentials]),
  60. - [enable_keychain=$enableval],[enable_keychain=yes])
  61. -
  62. - AC_MSG_CHECKING([for Mac OS KeyChain Services])
  63. -
  64. - if test "$enable_keychain" = "yes"; then
  65. - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
  66. - #include <AvailabilityMacros.h>
  67. - #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
  68. - || !defined(MAC_OS_X_VERSION_10_2) \
  69. - || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
  70. - #error KeyChain API unavailable.
  71. - #endif
  72. - ]],[[]])],[
  73. - SVN_MACOS_KEYCHAIN_LIBS="-framework Security -framework CoreServices"
  74. - AC_SUBST(SVN_MACOS_KEYCHAIN_LIBS)
  75. - AC_DEFINE([SVN_HAVE_KEYCHAIN_SERVICES], [1], [Is Mac OS KeyChain support enabled?])
  76. - AC_MSG_RESULT([yes])
  77. - ],[
  78. - enable_keychain=no
  79. - AC_MSG_RESULT([no])
  80. - ])
  81. - fi
  82. -])
  83. --- a/Makefile.in
  84. +++ b/Makefile.in
  85. @@ -56,8 +56,8 @@ SVN_XML_LIBS = @SVN_XML_LIBS@
  86. SVN_ZLIB_LIBS = @SVN_ZLIB_LIBS@
  87. SVN_LZ4_LIBS = @SVN_LZ4_LIBS@
  88. SVN_UTF8PROC_LIBS = @SVN_UTF8PROC_LIBS@
  89. -SVN_MACOS_PLIST_LIBS = @SVN_MACOS_PLIST_LIBS@
  90. -SVN_MACOS_KEYCHAIN_LIBS = @SVN_MACOS_KEYCHAIN_LIBS@
  91. +SVN_MACOS_PLIST_LIBS =
  92. +SVN_MACOS_KEYCHAIN_LIBS =
  93. LIBS = @LIBS@