summaryrefslogtreecommitdiff
path: root/data/subversion/macho_iterate.diff
blob: dcd5a1e73fa1a37eba4e8c9d93de22e98f4c72bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -ur subversion-1.10.2/build/ac-macros/macosx.m4 subversion-1.10.2+iPhone/build/ac-macros/macosx.m4
--- subversion-1.10.2/build/ac-macros/macosx.m4	2012-11-25 17:04:27.000000000 -1000
+++ subversion-1.10.2+iPhone/build/ac-macros/macosx.m4	2018-08-17 16:55:02.000000000 -1000
@@ -21,25 +21,7 @@
 
 dnl SVN_LIB_MACHO_ITERATE
 dnl Check for _dyld_image_name and _dyld_image_header availability
-AC_DEFUN(SVN_LIB_MACHO_ITERATE,
-[
-  AC_MSG_CHECKING([for Mach-O dynamic module iteration functions])
-  AC_RUN_IFELSE([AC_LANG_PROGRAM([[
-    #include <mach-o/dyld.h>
-    #include <mach-o/loader.h>
-  ]],[[
-    const struct mach_header *header = _dyld_get_image_header(0);
-    const char *name = _dyld_get_image_name(0);
-    if (name && header) return 0;
-    return 1;
-  ]])],[
-    AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1],
-              [Is Mach-O low-level _dyld API available?])
-    AC_MSG_RESULT([yes])
-  ],[
-    AC_MSG_RESULT([no])
-  ])
-])
+    AC_DEFINE([SVN_HAVE_MACHO_ITERATE], [1], [Is Mach-O low-level _dyld API available?])
 
 dnl SVN_LIB_MACOS_PLIST
 dnl Assign variables for Mac OS property list support