ffi 1.9.18-x86-mingw32 → 1.9.21-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ffi might be problematic. Click here for more details.

Files changed (384) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -2
  3. data/Rakefile +14 -4
  4. data/ext/ffi_c/AbstractMemory.c +6 -1
  5. data/ext/ffi_c/Platform.c +10 -2
  6. data/ext/ffi_c/extconf.rb +7 -2
  7. data/ext/ffi_c/libffi.bsd.mk +9 -3
  8. data/ext/ffi_c/libffi.darwin.mk +14 -4
  9. data/ext/ffi_c/libffi.gnu.mk +2 -1
  10. data/ext/ffi_c/libffi.mk +9 -4
  11. data/ext/ffi_c/libffi/ChangeLog.libffi +2 -2
  12. data/ext/ffi_c/libffi/{ChangeLog → ChangeLog.libffi-3.1} +1402 -2
  13. data/ext/ffi_c/libffi/ChangeLog.v1 +1 -1
  14. data/ext/ffi_c/libffi/LICENSE +1 -1
  15. data/ext/ffi_c/libffi/Makefile.am +166 -157
  16. data/ext/ffi_c/libffi/Makefile.in +923 -938
  17. data/ext/ffi_c/libffi/README +164 -52
  18. data/ext/ffi_c/libffi/acinclude.m4 +381 -0
  19. data/ext/ffi_c/libffi/aclocal.m4 +645 -384
  20. data/ext/ffi_c/libffi/autogen.sh +2 -0
  21. data/ext/ffi_c/libffi/autom4te.cache/output.0 +21972 -0
  22. data/ext/ffi_c/libffi/autom4te.cache/output.1 +21972 -0
  23. data/ext/ffi_c/libffi/autom4te.cache/output.2 +21972 -0
  24. data/ext/ffi_c/libffi/autom4te.cache/output.3 +21972 -0
  25. data/ext/ffi_c/libffi/autom4te.cache/requests +331 -0
  26. data/ext/ffi_c/libffi/autom4te.cache/traces.0 +4010 -0
  27. data/ext/ffi_c/libffi/autom4te.cache/traces.1 +1005 -0
  28. data/ext/ffi_c/libffi/autom4te.cache/traces.2 +4010 -0
  29. data/ext/ffi_c/libffi/autom4te.cache/traces.3 +4010 -0
  30. data/ext/ffi_c/libffi/compile +218 -14
  31. data/ext/ffi_c/libffi/config.guess +329 -368
  32. data/ext/ffi_c/libffi/config.sub +232 -112
  33. data/ext/ffi_c/libffi/configure +6970 -2189
  34. data/ext/ffi_c/libffi/configure.ac +148 -256
  35. data/ext/ffi_c/libffi/configure.host +265 -4
  36. data/ext/ffi_c/libffi/depcomp +346 -185
  37. data/ext/ffi_c/libffi/doc/Makefile.am +3 -0
  38. data/ext/ffi_c/libffi/doc/Makefile.in +811 -0
  39. data/ext/ffi_c/libffi/doc/libffi.texi +430 -45
  40. data/ext/ffi_c/libffi/{mdate-sh → doc/mdate-sh} +40 -13
  41. data/ext/ffi_c/libffi/{texinfo.tex → doc/texinfo.tex} +3990 -1121
  42. data/ext/ffi_c/libffi/doc/version.texi +4 -4
  43. data/ext/ffi_c/libffi/fficonfig.h.in +24 -13
  44. data/ext/ffi_c/libffi/fficonfig.h.in~ +210 -0
  45. data/ext/ffi_c/libffi/generate-darwin-source-and-headers.py +207 -0
  46. data/ext/ffi_c/libffi/include/Makefile.am +3 -3
  47. data/ext/ffi_c/libffi/include/Makefile.in +188 -71
  48. data/ext/ffi_c/libffi/include/ffi.h.in +107 -50
  49. data/ext/ffi_c/libffi/include/ffi_cfi.h +55 -0
  50. data/ext/ffi_c/libffi/include/ffi_common.h +32 -11
  51. data/ext/ffi_c/libffi/install-sh +190 -202
  52. data/ext/ffi_c/libffi/libffi.map.in +80 -0
  53. data/ext/ffi_c/libffi/libffi.pc.in +3 -2
  54. data/ext/ffi_c/libffi/libffi.xcodeproj/project.pbxproj +637 -0
  55. data/ext/ffi_c/libffi/libtool-ldflags +106 -0
  56. data/ext/ffi_c/libffi/libtool-version +1 -1
  57. data/ext/ffi_c/libffi/ltmain.sh +3553 -2033
  58. data/ext/ffi_c/libffi/m4/asmcfi.m4 +13 -0
  59. data/ext/ffi_c/libffi/m4/ax_append_flag.m4 +69 -0
  60. data/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +13 -8
  61. data/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +31 -104
  62. data/ext/ffi_c/libffi/m4/{ax_check_compiler_flags.m4 → ax_check_compile_flag.m4} +30 -34
  63. data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +32 -11
  64. data/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +6 -5
  65. data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +31 -21
  66. data/ext/ffi_c/libffi/m4/libtool.m4 +1691 -1135
  67. data/ext/ffi_c/libffi/m4/ltoptions.m4 +104 -36
  68. data/ext/ffi_c/libffi/m4/ltsugar.m4 +4 -3
  69. data/ext/ffi_c/libffi/m4/ltversion.m4 +6 -6
  70. data/ext/ffi_c/libffi/m4/lt~obsolete.m4 +4 -3
  71. data/ext/ffi_c/libffi/man/Makefile.am +2 -2
  72. data/ext/ffi_c/libffi/man/Makefile.in +141 -49
  73. data/ext/ffi_c/libffi/man/ffi.3 +10 -0
  74. data/ext/ffi_c/libffi/man/ffi_prep_cif.3 +6 -4
  75. data/ext/ffi_c/libffi/man/ffi_prep_cif_var.3 +73 -0
  76. data/ext/ffi_c/libffi/missing +150 -311
  77. data/ext/ffi_c/libffi/msvcc.sh +72 -9
  78. data/ext/ffi_c/libffi/src/aarch64/ffi.c +941 -0
  79. data/ext/ffi_c/libffi/src/aarch64/ffitarget.h +81 -0
  80. data/ext/ffi_c/libffi/src/aarch64/internal.h +67 -0
  81. data/ext/ffi_c/libffi/src/aarch64/sysv.S +438 -0
  82. data/ext/ffi_c/libffi/src/alpha/ffi.c +335 -98
  83. data/ext/ffi_c/libffi/src/alpha/ffitarget.h +10 -1
  84. data/ext/ffi_c/libffi/src/alpha/internal.h +23 -0
  85. data/ext/ffi_c/libffi/src/alpha/osf.S +161 -266
  86. data/ext/ffi_c/libffi/src/arc/arcompact.S +135 -0
  87. data/ext/ffi_c/libffi/src/arc/ffi.c +266 -0
  88. data/ext/ffi_c/libffi/src/arc/ffitarget.h +53 -0
  89. data/ext/ffi_c/libffi/src/arm/ffi.c +597 -517
  90. data/ext/ffi_c/libffi/src/arm/ffitarget.h +24 -7
  91. data/ext/ffi_c/libffi/src/arm/internal.h +7 -0
  92. data/ext/ffi_c/libffi/src/arm/sysv.S +303 -417
  93. data/ext/ffi_c/libffi/src/avr32/ffitarget.h +6 -1
  94. data/ext/ffi_c/libffi/src/bfin/ffi.c +196 -0
  95. data/ext/ffi_c/libffi/src/bfin/ffitarget.h +43 -0
  96. data/ext/ffi_c/libffi/src/bfin/sysv.S +179 -0
  97. data/ext/ffi_c/libffi/src/closures.c +319 -44
  98. data/ext/ffi_c/libffi/src/cris/ffi.c +10 -7
  99. data/ext/ffi_c/libffi/src/cris/ffitarget.h +6 -1
  100. data/ext/ffi_c/libffi/src/debug.c +6 -1
  101. data/ext/ffi_c/libffi/src/dlmalloc.c +16 -11
  102. data/ext/ffi_c/libffi/src/frv/ffi.c +1 -1
  103. data/ext/ffi_c/libffi/src/frv/ffitarget.h +6 -1
  104. data/ext/ffi_c/libffi/src/ia64/ffi.c +11 -7
  105. data/ext/ffi_c/libffi/src/ia64/ffitarget.h +6 -1
  106. data/ext/ffi_c/libffi/src/java_raw_api.c +23 -5
  107. data/ext/ffi_c/libffi/src/m32r/ffi.c +1 -1
  108. data/ext/ffi_c/libffi/src/m32r/ffitarget.h +6 -1
  109. data/ext/ffi_c/libffi/src/m68k/ffi.c +87 -13
  110. data/ext/ffi_c/libffi/src/m68k/ffitarget.h +6 -1
  111. data/ext/ffi_c/libffi/src/m68k/sysv.S +119 -32
  112. data/ext/ffi_c/libffi/src/m88k/ffi.c +400 -0
  113. data/ext/ffi_c/libffi/src/m88k/ffitarget.h +49 -0
  114. data/ext/ffi_c/libffi/src/m88k/obsd.S +209 -0
  115. data/ext/ffi_c/libffi/src/metag/ffi.c +330 -0
  116. data/ext/ffi_c/libffi/{fficonfig.hw → src/metag/ffitarget.h} +22 -26
  117. data/ext/ffi_c/libffi/src/metag/sysv.S +311 -0
  118. data/ext/ffi_c/libffi/src/microblaze/ffi.c +321 -0
  119. data/ext/ffi_c/libffi/src/microblaze/ffitarget.h +53 -0
  120. data/ext/ffi_c/libffi/src/microblaze/sysv.S +302 -0
  121. data/ext/ffi_c/libffi/src/mips/ffi.c +95 -28
  122. data/ext/ffi_c/libffi/src/mips/ffitarget.h +9 -2
  123. data/ext/ffi_c/libffi/src/mips/n32.S +126 -56
  124. data/ext/ffi_c/libffi/src/mips/o32.S +148 -27
  125. data/ext/ffi_c/libffi/src/moxie/eabi.S +55 -82
  126. data/ext/ffi_c/libffi/src/moxie/ffi.c +40 -44
  127. data/ext/ffi_c/libffi/src/moxie/ffitarget.h +52 -0
  128. data/ext/ffi_c/libffi/src/nios2/ffi.c +304 -0
  129. data/ext/ffi_c/libffi/src/nios2/ffitarget.h +52 -0
  130. data/ext/ffi_c/libffi/src/nios2/sysv.S +136 -0
  131. data/ext/ffi_c/libffi/src/or1k/ffi.c +328 -0
  132. data/ext/ffi_c/libffi/src/or1k/ffitarget.h +58 -0
  133. data/ext/ffi_c/libffi/src/or1k/sysv.S +107 -0
  134. data/ext/ffi_c/libffi/src/pa/ffitarget.h +8 -1
  135. data/ext/ffi_c/libffi/src/powerpc/aix.S +6 -6
  136. data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +3 -1
  137. data/ext/ffi_c/libffi/src/powerpc/asm.h +2 -2
  138. data/ext/ffi_c/libffi/src/powerpc/darwin.S +2 -7
  139. data/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +22 -26
  140. data/ext/ffi_c/libffi/src/powerpc/ffi.c +103 -1378
  141. data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +25 -25
  142. data/ext/ffi_c/libffi/src/powerpc/ffi_linux64.c +945 -0
  143. data/ext/ffi_c/libffi/src/powerpc/ffi_powerpc.h +94 -0
  144. data/ext/ffi_c/libffi/src/powerpc/ffi_sysv.c +923 -0
  145. data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +100 -44
  146. data/ext/ffi_c/libffi/src/powerpc/linux64.S +100 -59
  147. data/ext/ffi_c/libffi/src/powerpc/linux64_closure.S +360 -108
  148. data/ext/ffi_c/libffi/src/powerpc/ppc_closure.S +138 -68
  149. data/ext/ffi_c/libffi/src/powerpc/sysv.S +68 -112
  150. data/ext/ffi_c/libffi/src/prep_cif.c +108 -24
  151. data/ext/ffi_c/libffi/src/raw_api.c +18 -5
  152. data/ext/ffi_c/libffi/src/s390/ffi.c +294 -318
  153. data/ext/ffi_c/libffi/src/s390/ffitarget.h +9 -1
  154. data/ext/ffi_c/libffi/src/s390/internal.h +11 -0
  155. data/ext/ffi_c/libffi/src/s390/sysv.S +257 -366
  156. data/ext/ffi_c/libffi/src/sh/ffi.c +4 -3
  157. data/ext/ffi_c/libffi/src/sh/ffitarget.h +6 -1
  158. data/ext/ffi_c/libffi/src/sh64/ffi.c +3 -2
  159. data/ext/ffi_c/libffi/src/sh64/ffitarget.h +6 -1
  160. data/ext/ffi_c/libffi/src/sparc/ffi.c +326 -527
  161. data/ext/ffi_c/libffi/src/sparc/ffi64.c +608 -0
  162. data/ext/ffi_c/libffi/src/sparc/ffitarget.h +20 -7
  163. data/ext/ffi_c/libffi/src/sparc/internal.h +26 -0
  164. data/ext/ffi_c/libffi/src/sparc/v8.S +364 -234
  165. data/ext/ffi_c/libffi/src/sparc/v9.S +340 -207
  166. data/ext/ffi_c/libffi/src/tile/ffi.c +355 -0
  167. data/ext/ffi_c/libffi/src/tile/ffitarget.h +65 -0
  168. data/ext/ffi_c/libffi/src/tile/tile.S +360 -0
  169. data/ext/ffi_c/libffi/src/types.c +43 -14
  170. data/ext/ffi_c/libffi/src/vax/elfbsd.S +195 -0
  171. data/ext/ffi_c/libffi/src/vax/ffi.c +276 -0
  172. data/ext/ffi_c/libffi/src/vax/ffitarget.h +49 -0
  173. data/ext/ffi_c/libffi/src/x86/asmnames.h +30 -0
  174. data/ext/ffi_c/libffi/src/x86/ffi.c +589 -500
  175. data/ext/ffi_c/libffi/src/x86/ffi64.c +338 -116
  176. data/ext/ffi_c/libffi/src/x86/ffitarget.h +55 -35
  177. data/ext/ffi_c/libffi/src/x86/ffiw64.c +287 -0
  178. data/ext/ffi_c/libffi/src/x86/internal.h +29 -0
  179. data/ext/ffi_c/libffi/src/x86/internal64.h +22 -0
  180. data/ext/ffi_c/libffi/src/x86/sysv.S +975 -400
  181. data/ext/ffi_c/libffi/src/x86/unix64.S +398 -299
  182. data/ext/ffi_c/libffi/src/x86/win64.S +222 -458
  183. data/ext/ffi_c/libffi/src/x86/win64_intel.S +237 -0
  184. data/ext/ffi_c/libffi/src/xtensa/ffi.c +298 -0
  185. data/ext/ffi_c/libffi/src/xtensa/ffitarget.h +53 -0
  186. data/ext/ffi_c/libffi/src/xtensa/sysv.S +253 -0
  187. data/ext/ffi_c/libffi/stamp-h.in +1 -0
  188. data/ext/ffi_c/libffi/testsuite/Makefile.am +78 -73
  189. data/ext/ffi_c/libffi/testsuite/Makefile.in +218 -111
  190. data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +120 -25
  191. data/ext/ffi_c/libffi/testsuite/lib/target-libpath.exp +21 -1
  192. data/ext/ffi_c/libffi/testsuite/libffi.call/align_mixed.c +46 -0
  193. data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +4 -6
  194. data/ext/ffi_c/libffi/testsuite/libffi.call/{closure_stdcall.c → closure_simple.c} +7 -16
  195. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_12byte.c +4 -4
  196. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_16byte.c +4 -4
  197. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_18byte.c +4 -4
  198. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_19byte.c +4 -4
  199. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_1_1byte.c +4 -4
  200. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte.c +4 -4
  201. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_20byte1.c +4 -4
  202. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_24byte.c +5 -5
  203. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_2byte.c +4 -4
  204. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3_1byte.c +4 -4
  205. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte1.c +4 -4
  206. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_3byte2.c +4 -4
  207. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_4_1byte.c +4 -4
  208. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_4byte.c +4 -4
  209. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_5_1_byte.c +4 -4
  210. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_5byte.c +4 -4
  211. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_64byte.c +5 -5
  212. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_6_1_byte.c +4 -4
  213. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_6byte.c +4 -4
  214. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_7_1_byte.c +4 -4
  215. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_7byte.c +4 -4
  216. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_8byte.c +4 -4
  217. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte1.c +4 -4
  218. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_9byte2.c +4 -4
  219. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_double.c +4 -4
  220. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_float.c +4 -4
  221. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble.c +4 -4
  222. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +4 -6
  223. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +4 -6
  224. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_pointer.c +4 -4
  225. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint16.c +4 -4
  226. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint32.c +4 -4
  227. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +4 -4
  228. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint16.c +4 -4
  229. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint32.c +4 -4
  230. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +4 -4
  231. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_dbls_struct.c +4 -4
  232. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +10 -9
  233. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +3 -3
  234. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +10 -9
  235. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_args.c +70 -0
  236. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_many_mixed_float_double.c +55 -0
  237. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +1 -1
  238. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +11 -9
  239. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_struct_va1.c +114 -0
  240. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_uchar_va.c +44 -0
  241. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_uint_va.c +45 -0
  242. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulong_va.c +45 -0
  243. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +5 -5
  244. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ushort_va.c +44 -0
  245. data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +2 -2
  246. data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +23 -40
  247. data/ext/ffi_c/libffi/testsuite/libffi.call/float1.c +3 -1
  248. data/ext/ffi_c/libffi/testsuite/libffi.call/float2.c +6 -4
  249. data/ext/ffi_c/libffi/testsuite/libffi.call/float3.c +4 -2
  250. data/ext/ffi_c/libffi/testsuite/libffi.call/float_va.c +107 -0
  251. data/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +18 -19
  252. data/ext/ffi_c/libffi/testsuite/libffi.call/many.c +6 -16
  253. data/ext/ffi_c/libffi/testsuite/libffi.call/many2.c +57 -0
  254. data/ext/ffi_c/libffi/testsuite/libffi.call/many_double.c +70 -0
  255. data/ext/ffi_c/libffi/testsuite/libffi.call/many_mixed.c +78 -0
  256. data/ext/ffi_c/libffi/testsuite/libffi.call/negint.c +0 -1
  257. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct.c +6 -6
  258. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct1.c +8 -8
  259. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct10.c +6 -6
  260. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct11.c +121 -0
  261. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct2.c +5 -5
  262. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct3.c +5 -5
  263. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct4.c +5 -5
  264. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct5.c +5 -5
  265. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct6.c +6 -6
  266. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct7.c +5 -5
  267. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct8.c +6 -6
  268. data/ext/ffi_c/libffi/testsuite/libffi.call/nested_struct9.c +6 -6
  269. data/ext/ffi_c/libffi/testsuite/libffi.call/offsets.c +46 -0
  270. data/ext/ffi_c/libffi/testsuite/libffi.call/pr1172638.c +127 -0
  271. data/ext/ffi_c/libffi/testsuite/libffi.call/return_dbl.c +1 -0
  272. data/ext/ffi_c/libffi/testsuite/libffi.call/return_ldl.c +1 -1
  273. data/ext/ffi_c/libffi/testsuite/libffi.call/return_sc.c +1 -1
  274. data/ext/ffi_c/libffi/testsuite/libffi.call/return_uc.c +1 -1
  275. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_large.c +7 -7
  276. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_large2.c +7 -7
  277. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium.c +5 -5
  278. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +5 -5
  279. data/ext/ffi_c/libffi/testsuite/libffi.call/strlen.c +2 -2
  280. data/ext/ffi_c/libffi/testsuite/libffi.call/strlen2.c +49 -0
  281. data/ext/ffi_c/libffi/testsuite/libffi.call/strlen3.c +49 -0
  282. data/ext/ffi_c/libffi/testsuite/libffi.call/strlen4.c +55 -0
  283. data/ext/ffi_c/libffi/testsuite/libffi.call/struct1.c +9 -7
  284. data/ext/ffi_c/libffi/testsuite/libffi.call/struct2.c +7 -7
  285. data/ext/ffi_c/libffi/testsuite/libffi.call/struct3.c +7 -6
  286. data/ext/ffi_c/libffi/testsuite/libffi.call/struct4.c +9 -8
  287. data/ext/ffi_c/libffi/testsuite/libffi.call/struct5.c +9 -8
  288. data/ext/ffi_c/libffi/testsuite/libffi.call/struct6.c +9 -9
  289. data/ext/ffi_c/libffi/testsuite/libffi.call/struct7.c +9 -9
  290. data/ext/ffi_c/libffi/testsuite/libffi.call/struct8.c +9 -8
  291. data/ext/ffi_c/libffi/testsuite/libffi.call/struct9.c +9 -8
  292. data/ext/ffi_c/libffi/testsuite/libffi.call/testclosure.c +2 -2
  293. data/ext/ffi_c/libffi/testsuite/libffi.call/uninitialized.c +61 -0
  294. data/ext/ffi_c/libffi/testsuite/{libffi.special → libffi.call}/unwindtest.cc +3 -10
  295. data/ext/ffi_c/libffi/testsuite/{libffi.special → libffi.call}/unwindtest_ffi_call.cc +2 -1
  296. data/ext/ffi_c/libffi/testsuite/libffi.call/va_1.c +196 -0
  297. data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct1.c +121 -0
  298. data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct2.c +123 -0
  299. data/ext/ffi_c/libffi/testsuite/libffi.call/va_struct3.c +125 -0
  300. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex.inc +91 -0
  301. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_double.c +10 -0
  302. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_float.c +10 -0
  303. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_align_complex_longdouble.c +10 -0
  304. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex.inc +42 -0
  305. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_double.c +10 -0
  306. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_float.c +10 -0
  307. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_longdouble.c +10 -0
  308. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct.inc +71 -0
  309. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_double.c +10 -0
  310. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_float.c +10 -0
  311. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_struct_longdouble.c +10 -0
  312. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va.inc +80 -0
  313. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_double.c +10 -0
  314. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_float.c +16 -0
  315. data/ext/ffi_c/libffi/testsuite/libffi.complex/cls_complex_va_longdouble.c +10 -0
  316. data/ext/ffi_c/libffi/testsuite/{libffi.special/special.exp → libffi.complex/complex.exp} +9 -8
  317. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex.inc +51 -0
  318. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_double.inc +7 -0
  319. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_float.inc +7 -0
  320. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc +7 -0
  321. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_double.c +10 -0
  322. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_float.c +10 -0
  323. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_int.c +86 -0
  324. data/ext/ffi_c/libffi/testsuite/libffi.complex/complex_longdouble.c +10 -0
  325. data/ext/ffi_c/libffi/testsuite/libffi.complex/ffitest.h +1 -0
  326. data/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex.inc +78 -0
  327. data/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_double.c +10 -0
  328. data/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_float.c +10 -0
  329. data/ext/ffi_c/libffi/testsuite/libffi.complex/many_complex_longdouble.c +10 -0
  330. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex.inc +37 -0
  331. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1.inc +41 -0
  332. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_double.c +10 -0
  333. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_float.c +10 -0
  334. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex1_longdouble.c +10 -0
  335. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2.inc +44 -0
  336. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_double.c +10 -0
  337. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_float.c +10 -0
  338. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex2_longdouble.c +10 -0
  339. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_double.c +10 -0
  340. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_float.c +10 -0
  341. data/ext/ffi_c/libffi/testsuite/libffi.complex/return_complex_longdouble.c +10 -0
  342. data/ext/ffi_c/libffi/testsuite/libffi.go/aa-direct.c +34 -0
  343. data/ext/ffi_c/libffi/testsuite/libffi.go/closure1.c +28 -0
  344. data/ext/ffi_c/libffi/testsuite/libffi.go/ffitest.h +1 -0
  345. data/ext/ffi_c/libffi/testsuite/libffi.go/go.exp +36 -0
  346. data/ext/ffi_c/libffi/testsuite/libffi.go/static-chain.h +19 -0
  347. data/ffi.gemspec +2 -2
  348. data/lib/2.0/ffi_c.so +0 -0
  349. data/lib/2.1/ffi_c.so +0 -0
  350. data/lib/2.2/ffi_c.so +0 -0
  351. data/lib/2.3/ffi_c.so +0 -0
  352. data/lib/2.4/ffi_c.so +0 -0
  353. data/lib/2.5/ffi_c.so +0 -0
  354. data/lib/ffi/enum.rb +124 -0
  355. data/lib/ffi/library.rb +65 -13
  356. data/lib/ffi/platform.rb +7 -2
  357. data/lib/ffi/platform/sparc64-linux/types.conf +102 -0
  358. data/lib/ffi/platform/x86_64-windows/types.conf +113 -20
  359. data/lib/ffi/pointer.rb +1 -0
  360. data/lib/ffi/struct.rb +0 -2
  361. data/lib/ffi/version.rb +1 -1
  362. data/spec/ffi/bitmask_spec.rb +575 -0
  363. data/spec/ffi/embed-test/ext/Makefile +242 -0
  364. data/spec/ffi/fixtures/BitmaskTest.c +51 -0
  365. data/spec/ffi/rbx/memory_pointer_spec.rb +4 -0
  366. data/spec/ffi/struct_spec.rb +0 -4
  367. metadata +158 -32
  368. data/ext/ffi_c/libffi/Makefile.vc +0 -141
  369. data/ext/ffi_c/libffi/Makefile.vc64 +0 -141
  370. data/ext/ffi_c/libffi/build-ios.sh +0 -67
  371. data/ext/ffi_c/libffi/doc/libffi.info +0 -593
  372. data/ext/ffi_c/libffi/doc/stamp-vti +0 -4
  373. data/ext/ffi_c/libffi/include/ffi.h.vc +0 -427
  374. data/ext/ffi_c/libffi/include/ffi.h.vc64 +0 -427
  375. data/ext/ffi_c/libffi/src/arm/gentramp.sh +0 -118
  376. data/ext/ffi_c/libffi/src/arm/trampoline.S +0 -4450
  377. data/ext/ffi_c/libffi/src/x86/darwin.S +0 -444
  378. data/ext/ffi_c/libffi/src/x86/darwin64.S +0 -416
  379. data/ext/ffi_c/libffi/src/x86/freebsd.S +0 -458
  380. data/ext/ffi_c/libffi/src/x86/win32.S +0 -1065
  381. data/ext/ffi_c/libffi/testsuite/lib/libffi-dg.exp +0 -300
  382. data/ext/ffi_c/libffi/testsuite/libffi.call/many_win32.c +0 -63
  383. data/ext/ffi_c/libffi/testsuite/libffi.call/strlen_win32.c +0 -44
  384. data/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +0 -96
@@ -0,0 +1,4010 @@
1
+ m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [
2
+ AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
3
+
4
+ AC_CHECK_TYPES([error_t],
5
+ [],
6
+ [AC_DEFINE([error_t], [int],
7
+ [Define to a type to use for 'error_t' if it is not otherwise available.])
8
+ AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
9
+ does not typedef error_t.])],
10
+ [#if defined(HAVE_ARGZ_H)
11
+ # include <argz.h>
12
+ #endif])
13
+
14
+ LT_ARGZ_H=
15
+ AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
16
+ argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
17
+
18
+ dnl if have system argz functions, allow forced use of
19
+ dnl libltdl-supplied implementation (and default to do so
20
+ dnl on "known bad" systems). Could use a runtime check, but
21
+ dnl (a) detecting malloc issues is notoriously unreliable
22
+ dnl (b) only known system that declares argz functions,
23
+ dnl provides them, yet they are broken, is cygwin
24
+ dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
25
+ dnl So, it's more straightforward simply to special case
26
+ dnl this for known bad systems.
27
+ AS_IF([test -z "$LT_ARGZ_H"],
28
+ [AC_CACHE_CHECK(
29
+ [if argz actually works],
30
+ [lt_cv_sys_argz_works],
31
+ [[case $host_os in #(
32
+ *cygwin*)
33
+ lt_cv_sys_argz_works=no
34
+ if test no != "$cross_compiling"; then
35
+ lt_cv_sys_argz_works="guessing no"
36
+ else
37
+ lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
38
+ save_IFS=$IFS
39
+ IFS=-.
40
+ set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
41
+ IFS=$save_IFS
42
+ lt_os_major=${2-0}
43
+ lt_os_minor=${3-0}
44
+ lt_os_micro=${4-0}
45
+ if test 1 -lt "$lt_os_major" \
46
+ || { test 1 -eq "$lt_os_major" \
47
+ && { test 5 -lt "$lt_os_minor" \
48
+ || { test 5 -eq "$lt_os_minor" \
49
+ && test 24 -lt "$lt_os_micro"; }; }; }; then
50
+ lt_cv_sys_argz_works=yes
51
+ fi
52
+ fi
53
+ ;; #(
54
+ *) lt_cv_sys_argz_works=yes ;;
55
+ esac]])
56
+ AS_IF([test yes = "$lt_cv_sys_argz_works"],
57
+ [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
58
+ [This value is set to 1 to indicate that the system argz facility works])],
59
+ [LT_ARGZ_H=lt__argz.h
60
+ AC_LIBOBJ([lt__argz])])])
61
+
62
+ AC_SUBST([LT_ARGZ_H])
63
+ ])
64
+ m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
65
+ _$0($*)
66
+ ])
67
+ m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
68
+ dnl Although the argument is deprecated and no longer documented,
69
+ dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
70
+ dnl here make sure it is the same as any other declaration of libltdl's
71
+ dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
72
+ dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
73
+ m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
74
+ _$0()
75
+ ])
76
+ m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
77
+ _LTDL_CONVENIENCE])
78
+ m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
79
+ You should run autoupdate.])dnl
80
+ _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
81
+ _LTDL_CONVENIENCE])
82
+ m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
83
+ dnl Although the argument is deprecated and no longer documented,
84
+ dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
85
+ dnl here make sure it is the same as any other declaration of libltdl's
86
+ dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
87
+ dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
88
+ m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
89
+ _$0()
90
+ ])
91
+ m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
92
+ _LTDL_INSTALLABLE])
93
+ m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
94
+ You should run autoupdate.])dnl
95
+ _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
96
+ _LTDL_INSTALLABLE])
97
+ m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
98
+ m4_pattern_allow([^_LT_LIBOBJS$])
99
+ _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
100
+ ])
101
+ m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
102
+ _LT_SET_OPTIONS([$0], [$1])
103
+
104
+ dnl We need to keep our own list of libobjs separate from our parent project,
105
+ dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
106
+ dnl we look for our own LIBOBJs.
107
+ m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
108
+ m4_pushdef([AC_LIBSOURCES])
109
+
110
+ dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
111
+ m4_if(_LTDL_MODE, [],
112
+ [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
113
+ m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
114
+ [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
115
+
116
+ AC_ARG_WITH([included_ltdl],
117
+ [AS_HELP_STRING([--with-included-ltdl],
118
+ [use the GNU ltdl sources included here])])
119
+
120
+ if test yes != "$with_included_ltdl"; then
121
+ # We are not being forced to use the included libltdl sources, so
122
+ # decide whether there is a useful installed version we can use.
123
+ AC_CHECK_HEADER([ltdl.h],
124
+ [AC_CHECK_DECL([lt_dlinterface_register],
125
+ [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
126
+ [with_included_ltdl=no],
127
+ [with_included_ltdl=yes])],
128
+ [with_included_ltdl=yes],
129
+ [AC_INCLUDES_DEFAULT
130
+ #include <ltdl.h>])],
131
+ [with_included_ltdl=yes],
132
+ [AC_INCLUDES_DEFAULT]
133
+ )
134
+ fi
135
+
136
+ dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
137
+ dnl was called yet, then for old times' sake, we assume libltdl is in an
138
+ dnl eponymous directory:
139
+ AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
140
+
141
+ AC_ARG_WITH([ltdl_include],
142
+ [AS_HELP_STRING([--with-ltdl-include=DIR],
143
+ [use the ltdl headers installed in DIR])])
144
+
145
+ if test -n "$with_ltdl_include"; then
146
+ if test -f "$with_ltdl_include/ltdl.h"; then :
147
+ else
148
+ AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include'])
149
+ fi
150
+ else
151
+ with_ltdl_include=no
152
+ fi
153
+
154
+ AC_ARG_WITH([ltdl_lib],
155
+ [AS_HELP_STRING([--with-ltdl-lib=DIR],
156
+ [use the libltdl.la installed in DIR])])
157
+
158
+ if test -n "$with_ltdl_lib"; then
159
+ if test -f "$with_ltdl_lib/libltdl.la"; then :
160
+ else
161
+ AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib'])
162
+ fi
163
+ else
164
+ with_ltdl_lib=no
165
+ fi
166
+
167
+ case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
168
+ ,yes,no,no,)
169
+ m4_case(m4_default(_LTDL_TYPE, [convenience]),
170
+ [convenience], [_LTDL_CONVENIENCE],
171
+ [installable], [_LTDL_INSTALLABLE],
172
+ [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
173
+ ;;
174
+ ,no,no,no,)
175
+ # If the included ltdl is not to be used, then use the
176
+ # preinstalled libltdl we found.
177
+ AC_DEFINE([HAVE_LTDL], [1],
178
+ [Define this if a modern libltdl is already installed])
179
+ LIBLTDL=-lltdl
180
+ LTDLDEPS=
181
+ LTDLINCL=
182
+ ;;
183
+ ,no*,no,*)
184
+ AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together])
185
+ ;;
186
+ *) with_included_ltdl=no
187
+ LIBLTDL="-L$with_ltdl_lib -lltdl"
188
+ LTDLDEPS=
189
+ LTDLINCL=-I$with_ltdl_include
190
+ ;;
191
+ esac
192
+ INCLTDL=$LTDLINCL
193
+
194
+ # Report our decision...
195
+ AC_MSG_CHECKING([where to find libltdl headers])
196
+ AC_MSG_RESULT([$LTDLINCL])
197
+ AC_MSG_CHECKING([where to find libltdl library])
198
+ AC_MSG_RESULT([$LIBLTDL])
199
+
200
+ _LTDL_SETUP
201
+
202
+ dnl restore autoconf definition.
203
+ m4_popdef([AC_LIBOBJ])
204
+ m4_popdef([AC_LIBSOURCES])
205
+
206
+ AC_CONFIG_COMMANDS_PRE([
207
+ _ltdl_libobjs=
208
+ _ltdl_ltlibobjs=
209
+ if test -n "$_LT_LIBOBJS"; then
210
+ # Remove the extension.
211
+ _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
212
+ for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
213
+ _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
214
+ _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
215
+ done
216
+ fi
217
+ AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
218
+ AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
219
+ ])
220
+
221
+ # Only expand once:
222
+ m4_define([LTDL_INIT])
223
+ ])
224
+ m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
225
+ m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
226
+ You should run autoupdate.])dnl
227
+ LTDL_INIT($@)])
228
+ m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
229
+ m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
230
+ You should run autoupdate.])dnl
231
+ LTDL_INIT($@)])
232
+ m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
233
+ m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
234
+ You should run autoupdate.])dnl
235
+ LTDL_INIT($@)])
236
+ m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
237
+ AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
238
+ AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
239
+ AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
240
+ AC_REQUIRE([LT_LIB_DLLOAD])dnl
241
+ AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
242
+ AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
243
+ AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
244
+ AC_REQUIRE([LT_FUNC_ARGZ])dnl
245
+
246
+ m4_require([_LT_CHECK_OBJDIR])dnl
247
+ m4_require([_LT_HEADER_DLFCN])dnl
248
+ m4_require([_LT_CHECK_DLPREOPEN])dnl
249
+ m4_require([_LT_DECL_SED])dnl
250
+
251
+ dnl Don't require this, or it will be expanded earlier than the code
252
+ dnl that sets the variables it relies on:
253
+ _LT_ENABLE_INSTALL
254
+
255
+ dnl _LTDL_MODE specific code must be called at least once:
256
+ _LTDL_MODE_DISPATCH
257
+
258
+ # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
259
+ # the user used. This is so that ltdl.h can pick up the parent projects
260
+ # config.h file, The first file in AC_CONFIG_HEADERS must contain the
261
+ # definitions required by ltdl.c.
262
+ # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
263
+ AC_CONFIG_COMMANDS_PRE([dnl
264
+ m4_pattern_allow([^LT_CONFIG_H$])dnl
265
+ m4_ifset([AH_HEADER],
266
+ [LT_CONFIG_H=AH_HEADER],
267
+ [m4_ifset([AC_LIST_HEADERS],
268
+ [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`],
269
+ [])])])
270
+ AC_SUBST([LT_CONFIG_H])
271
+
272
+ AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
273
+ [], [], [AC_INCLUDES_DEFAULT])
274
+
275
+ AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
276
+ AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
277
+
278
+ m4_pattern_allow([LT_LIBEXT])dnl
279
+ AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
280
+
281
+ name=
282
+ eval "lt_libprefix=\"$libname_spec\""
283
+ m4_pattern_allow([LT_LIBPREFIX])dnl
284
+ AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
285
+
286
+ name=ltdl
287
+ eval "LTDLOPEN=\"$libname_spec\""
288
+ AC_SUBST([LTDLOPEN])
289
+ ])
290
+ m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
291
+ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
292
+ [lt_cv_sys_dlopen_deplibs],
293
+ [# PORTME does your system automatically load deplibs for dlopen?
294
+ # or its logical equivalent (e.g. shl_load for HP-UX < 11)
295
+ # For now, we just catch OSes we know something about -- in the
296
+ # future, we'll try test this programmatically.
297
+ lt_cv_sys_dlopen_deplibs=unknown
298
+ case $host_os in
299
+ aix3*|aix4.1.*|aix4.2.*)
300
+ # Unknown whether this is true for these versions of AIX, but
301
+ # we want this 'case' here to explicitly catch those versions.
302
+ lt_cv_sys_dlopen_deplibs=unknown
303
+ ;;
304
+ aix[[4-9]]*)
305
+ lt_cv_sys_dlopen_deplibs=yes
306
+ ;;
307
+ amigaos*)
308
+ case $host_cpu in
309
+ powerpc)
310
+ lt_cv_sys_dlopen_deplibs=no
311
+ ;;
312
+ esac
313
+ ;;
314
+ bitrig*)
315
+ lt_cv_sys_dlopen_deplibs=yes
316
+ ;;
317
+ darwin*)
318
+ # Assuming the user has installed a libdl from somewhere, this is true
319
+ # If you are looking for one http://www.opendarwin.org/projects/dlcompat
320
+ lt_cv_sys_dlopen_deplibs=yes
321
+ ;;
322
+ freebsd* | dragonfly*)
323
+ lt_cv_sys_dlopen_deplibs=yes
324
+ ;;
325
+ gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
326
+ # GNU and its variants, using gnu ld.so (Glibc)
327
+ lt_cv_sys_dlopen_deplibs=yes
328
+ ;;
329
+ hpux10*|hpux11*)
330
+ lt_cv_sys_dlopen_deplibs=yes
331
+ ;;
332
+ interix*)
333
+ lt_cv_sys_dlopen_deplibs=yes
334
+ ;;
335
+ irix[[12345]]*|irix6.[[01]]*)
336
+ # Catch all versions of IRIX before 6.2, and indicate that we don't
337
+ # know how it worked for any of those versions.
338
+ lt_cv_sys_dlopen_deplibs=unknown
339
+ ;;
340
+ irix*)
341
+ # The case above catches anything before 6.2, and it's known that
342
+ # at 6.2 and later dlopen does load deplibs.
343
+ lt_cv_sys_dlopen_deplibs=yes
344
+ ;;
345
+ netbsd* | netbsdelf*-gnu)
346
+ lt_cv_sys_dlopen_deplibs=yes
347
+ ;;
348
+ openbsd*)
349
+ lt_cv_sys_dlopen_deplibs=yes
350
+ ;;
351
+ osf[[1234]]*)
352
+ # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
353
+ # it did *not* use an RPATH in a shared library to find objects the
354
+ # library depends on, so we explicitly say 'no'.
355
+ lt_cv_sys_dlopen_deplibs=no
356
+ ;;
357
+ osf5.0|osf5.0a|osf5.1)
358
+ # dlopen *does* load deplibs and with the right loader patch applied
359
+ # it even uses RPATH in a shared library to search for shared objects
360
+ # that the library depends on, but there's no easy way to know if that
361
+ # patch is installed. Since this is the case, all we can really
362
+ # say is unknown -- it depends on the patch being installed. If
363
+ # it is, this changes to 'yes'. Without it, it would be 'no'.
364
+ lt_cv_sys_dlopen_deplibs=unknown
365
+ ;;
366
+ osf*)
367
+ # the two cases above should catch all versions of osf <= 5.1. Read
368
+ # the comments above for what we know about them.
369
+ # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
370
+ # is used to find them so we can finally say 'yes'.
371
+ lt_cv_sys_dlopen_deplibs=yes
372
+ ;;
373
+ qnx*)
374
+ lt_cv_sys_dlopen_deplibs=yes
375
+ ;;
376
+ solaris*)
377
+ lt_cv_sys_dlopen_deplibs=yes
378
+ ;;
379
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
380
+ libltdl_cv_sys_dlopen_deplibs=yes
381
+ ;;
382
+ esac
383
+ ])
384
+ if test yes != "$lt_cv_sys_dlopen_deplibs"; then
385
+ AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
386
+ [Define if the OS needs help to load dependent libraries for dlopen().])
387
+ fi
388
+ ])
389
+ m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
390
+ m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
391
+ You should run autoupdate.])dnl
392
+ m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
393
+ m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
394
+ AC_CACHE_CHECK([what extension is used for runtime loadable modules],
395
+ [libltdl_cv_shlibext],
396
+ [
397
+ module=yes
398
+ eval libltdl_cv_shlibext=$shrext_cmds
399
+ module=no
400
+ eval libltdl_cv_shrext=$shrext_cmds
401
+ ])
402
+ if test -n "$libltdl_cv_shlibext"; then
403
+ m4_pattern_allow([LT_MODULE_EXT])dnl
404
+ AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
405
+ [Define to the extension used for runtime loadable modules, say, ".so".])
406
+ fi
407
+ if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
408
+ m4_pattern_allow([LT_SHARED_EXT])dnl
409
+ AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
410
+ [Define to the shared library suffix, say, ".dylib".])
411
+ fi
412
+ if test -n "$shared_archive_member_spec"; then
413
+ m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
414
+ AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
415
+ [Define to the shared archive member specification, say "(shr.o)".])
416
+ fi
417
+ ])
418
+ m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
419
+ m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
420
+ You should run autoupdate.])dnl
421
+ m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
422
+ m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
423
+ AC_CACHE_CHECK([what variable specifies run-time module search path],
424
+ [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
425
+ if test -n "$lt_cv_module_path_var"; then
426
+ m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
427
+ AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
428
+ [Define to the name of the environment variable that determines the run-time module search path.])
429
+ fi
430
+ ])
431
+ m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
432
+ m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
433
+ You should run autoupdate.])dnl
434
+ m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
435
+ m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
436
+ AC_CACHE_CHECK([for the default library search path],
437
+ [lt_cv_sys_dlsearch_path],
438
+ [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
439
+ if test -n "$lt_cv_sys_dlsearch_path"; then
440
+ sys_dlsearch_path=
441
+ for dir in $lt_cv_sys_dlsearch_path; do
442
+ if test -z "$sys_dlsearch_path"; then
443
+ sys_dlsearch_path=$dir
444
+ else
445
+ sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
446
+ fi
447
+ done
448
+ m4_pattern_allow([LT_DLSEARCH_PATH])dnl
449
+ AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
450
+ [Define to the system default library search path.])
451
+ fi
452
+ ])
453
+ m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
454
+ m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
455
+ You should run autoupdate.])dnl
456
+ m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
457
+ m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
458
+ LT_DLLOADERS=
459
+ AC_SUBST([LT_DLLOADERS])
460
+
461
+ AC_LANG_PUSH([C])
462
+ lt_dlload_save_LIBS=$LIBS
463
+
464
+ LIBADD_DLOPEN=
465
+ AC_SEARCH_LIBS([dlopen], [dl],
466
+ [AC_DEFINE([HAVE_LIBDL], [1],
467
+ [Define if you have the libdl library or equivalent.])
468
+ if test "$ac_cv_search_dlopen" != "none required"; then
469
+ LIBADD_DLOPEN=-ldl
470
+ fi
471
+ libltdl_cv_lib_dl_dlopen=yes
472
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
473
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
474
+ # include <dlfcn.h>
475
+ #endif
476
+ ]], [[dlopen(0, 0);]])],
477
+ [AC_DEFINE([HAVE_LIBDL], [1],
478
+ [Define if you have the libdl library or equivalent.])
479
+ libltdl_cv_func_dlopen=yes
480
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
481
+ [AC_CHECK_LIB([svld], [dlopen],
482
+ [AC_DEFINE([HAVE_LIBDL], [1],
483
+ [Define if you have the libdl library or equivalent.])
484
+ LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
485
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
486
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
487
+ then
488
+ lt_save_LIBS=$LIBS
489
+ LIBS="$LIBS $LIBADD_DLOPEN"
490
+ AC_CHECK_FUNCS([dlerror])
491
+ LIBS=$lt_save_LIBS
492
+ fi
493
+ AC_SUBST([LIBADD_DLOPEN])
494
+
495
+ LIBADD_SHL_LOAD=
496
+ AC_CHECK_FUNC([shl_load],
497
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
498
+ [Define if you have the shl_load function.])
499
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
500
+ [AC_CHECK_LIB([dld], [shl_load],
501
+ [AC_DEFINE([HAVE_SHL_LOAD], [1],
502
+ [Define if you have the shl_load function.])
503
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
504
+ LIBADD_SHL_LOAD=-ldld])])
505
+ AC_SUBST([LIBADD_SHL_LOAD])
506
+
507
+ case $host_os in
508
+ darwin[[1567]].*)
509
+ # We only want this for pre-Mac OS X 10.4.
510
+ AC_CHECK_FUNC([_dyld_func_lookup],
511
+ [AC_DEFINE([HAVE_DYLD], [1],
512
+ [Define if you have the _dyld_func_lookup function.])
513
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
514
+ ;;
515
+ beos*)
516
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
517
+ ;;
518
+ cygwin* | mingw* | pw32*)
519
+ AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
520
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
521
+ ;;
522
+ esac
523
+
524
+ AC_CHECK_LIB([dld], [dld_link],
525
+ [AC_DEFINE([HAVE_DLD], [1],
526
+ [Define if you have the GNU dld library.])
527
+ LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
528
+ AC_SUBST([LIBADD_DLD_LINK])
529
+
530
+ m4_pattern_allow([^LT_DLPREOPEN$])
531
+ LT_DLPREOPEN=
532
+ if test -n "$LT_DLLOADERS"
533
+ then
534
+ for lt_loader in $LT_DLLOADERS; do
535
+ LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
536
+ done
537
+ AC_DEFINE([HAVE_LIBDLLOADER], [1],
538
+ [Define if libdlloader will be built on this platform])
539
+ fi
540
+ AC_SUBST([LT_DLPREOPEN])
541
+
542
+ dnl This isn't used anymore, but set it for backwards compatibility
543
+ LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
544
+ AC_SUBST([LIBADD_DL])
545
+
546
+ LIBS=$lt_dlload_save_LIBS
547
+ AC_LANG_POP
548
+ ])
549
+ m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
550
+ m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
551
+ You should run autoupdate.])dnl
552
+ m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
553
+ m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
554
+ AC_CACHE_CHECK([for _ prefix in compiled symbols],
555
+ [lt_cv_sys_symbol_underscore],
556
+ [lt_cv_sys_symbol_underscore=no
557
+ cat > conftest.$ac_ext <<_LT_EOF
558
+ void nm_test_func(){}
559
+ int main(){nm_test_func;return 0;}
560
+ _LT_EOF
561
+ if AC_TRY_EVAL(ac_compile); then
562
+ # Now try to grab the symbols.
563
+ ac_nlist=conftest.nm
564
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
565
+ # See whether the symbols have a leading underscore.
566
+ if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
567
+ lt_cv_sys_symbol_underscore=yes
568
+ else
569
+ if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
570
+ :
571
+ else
572
+ echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
573
+ fi
574
+ fi
575
+ else
576
+ echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
577
+ fi
578
+ else
579
+ echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
580
+ cat conftest.c >&AS_MESSAGE_LOG_FD
581
+ fi
582
+ rm -rf conftest*
583
+ ])
584
+ sys_symbol_underscore=$lt_cv_sys_symbol_underscore
585
+ AC_SUBST([sys_symbol_underscore])
586
+ ])
587
+ m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
588
+ m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
589
+ You should run autoupdate.])dnl
590
+ m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
591
+ m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl
592
+ AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore
593
+ AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext
594
+ if test yes = "$lt_cv_sys_symbol_underscore"; then
595
+ if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
596
+ AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
597
+ [libltdl_cv_need_uscore],
598
+ [libltdl_cv_need_uscore=unknown
599
+ dlsym_uscore_save_LIBS=$LIBS
600
+ LIBS="$LIBS $LIBADD_DLOPEN"
601
+ libname=conftmod # stay within 8.3 filename limits!
602
+ cat >$libname.$ac_ext <<_LT_EOF
603
+ [#line $LINENO "configure"
604
+ #include "confdefs.h"
605
+ /* When -fvisibility=hidden is used, assume the code has been annotated
606
+ correspondingly for the symbols needed. */
607
+ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
608
+ int fnord () __attribute__((visibility("default")));
609
+ #endif
610
+ int fnord () { return 42; }]
611
+ _LT_EOF
612
+
613
+ # ltfn_module_cmds module_cmds
614
+ # Execute tilde-delimited MODULE_CMDS with environment primed for
615
+ # $module_cmds or $archive_cmds type content.
616
+ ltfn_module_cmds ()
617
+ {( # subshell avoids polluting parent global environment
618
+ module_cmds_save_ifs=$IFS; IFS='~'
619
+ for cmd in @S|@1; do
620
+ IFS=$module_cmds_save_ifs
621
+ libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
622
+ rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
623
+ major=; versuffix=; verstring=; deplibs=
624
+ ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
625
+ eval $cmd
626
+ done
627
+ IFS=$module_cmds_save_ifs
628
+ )}
629
+
630
+ # Compile a loadable module using libtool macro expansion results.
631
+ $CC $pic_flag -c $libname.$ac_ext
632
+ ltfn_module_cmds "${module_cmds:-$archive_cmds}"
633
+
634
+ # Try to fetch fnord with dlsym().
635
+ libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
636
+ cat >conftest.$ac_ext <<_LT_EOF
637
+ [#line $LINENO "configure"
638
+ #include "confdefs.h"
639
+ #if HAVE_DLFCN_H
640
+ #include <dlfcn.h>
641
+ #endif
642
+ #include <stdio.h>
643
+ #ifndef RTLD_GLOBAL
644
+ # ifdef DL_GLOBAL
645
+ # define RTLD_GLOBAL DL_GLOBAL
646
+ # else
647
+ # define RTLD_GLOBAL 0
648
+ # endif
649
+ #endif
650
+ #ifndef RTLD_NOW
651
+ # ifdef DL_NOW
652
+ # define RTLD_NOW DL_NOW
653
+ # else
654
+ # define RTLD_NOW 0
655
+ # endif
656
+ #endif
657
+ int main () {
658
+ void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
659
+ int status = $libltdl_dlunknown;
660
+ if (handle) {
661
+ if (dlsym (handle, "fnord"))
662
+ status = $libltdl_dlnouscore;
663
+ else {
664
+ if (dlsym (handle, "_fnord"))
665
+ status = $libltdl_dluscore;
666
+ else
667
+ puts (dlerror ());
668
+ }
669
+ dlclose (handle);
670
+ } else
671
+ puts (dlerror ());
672
+ return status;
673
+ }]
674
+ _LT_EOF
675
+ if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
676
+ (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
677
+ libltdl_status=$?
678
+ case x$libltdl_status in
679
+ x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
680
+ x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
681
+ x*) libltdl_cv_need_uscore=unknown ;;
682
+ esac
683
+ fi
684
+ rm -rf conftest* $libname*
685
+ LIBS=$dlsym_uscore_save_LIBS
686
+ ])
687
+ fi
688
+ fi
689
+
690
+ if test yes = "$libltdl_cv_need_uscore"; then
691
+ AC_DEFINE([NEED_USCORE], [1],
692
+ [Define if dlsym() requires a leading underscore in symbol names.])
693
+ fi
694
+ ])
695
+ m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
696
+ m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
697
+ You should run autoupdate.])dnl
698
+ m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
699
+ m4trace:/usr/share/aclocal-1.15/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
700
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
701
+ dnl require some minimum version. Point them to the right macro.
702
+ m4_if([$1], [1.15], [],
703
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
704
+ ])
705
+ m4trace:/usr/share/aclocal-1.15/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl
706
+ m4_ifndef([AC_AUTOCONF_VERSION],
707
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
708
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
709
+ m4trace:/usr/share/aclocal-1.15/as.m4:11: -1- AC_DEFUN([AM_PROG_AS], [# By default we simply use the C compiler to build assembly code.
710
+ AC_REQUIRE([AC_PROG_CC])
711
+ test "${CCAS+set}" = set || CCAS=$CC
712
+ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
713
+ AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
714
+ AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
715
+ _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
716
+ ])
717
+ m4trace:/usr/share/aclocal-1.15/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
718
+ # Expand $ac_aux_dir to an absolute path.
719
+ am_aux_dir=`cd "$ac_aux_dir" && pwd`
720
+ ])
721
+ m4trace:/usr/share/aclocal-1.15/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
722
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
723
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
724
+ AC_SUBST([$1_TRUE])dnl
725
+ AC_SUBST([$1_FALSE])dnl
726
+ _AM_SUBST_NOTMAKE([$1_TRUE])dnl
727
+ _AM_SUBST_NOTMAKE([$1_FALSE])dnl
728
+ m4_define([_AM_COND_VALUE_$1], [$2])dnl
729
+ if $2; then
730
+ $1_TRUE=
731
+ $1_FALSE='#'
732
+ else
733
+ $1_TRUE='#'
734
+ $1_FALSE=
735
+ fi
736
+ AC_CONFIG_COMMANDS_PRE(
737
+ [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
738
+ AC_MSG_ERROR([[conditional "$1" was never defined.
739
+ Usually this means the macro was only invoked conditionally.]])
740
+ fi])])
741
+ m4trace:/usr/share/aclocal-1.15/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
742
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
743
+ AC_REQUIRE([AM_MAKE_INCLUDE])dnl
744
+ AC_REQUIRE([AM_DEP_TRACK])dnl
745
+
746
+ m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
747
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
748
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
749
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
750
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
751
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
752
+ [depcc="$$1" am_compiler_list=])
753
+
754
+ AC_CACHE_CHECK([dependency style of $depcc],
755
+ [am_cv_$1_dependencies_compiler_type],
756
+ [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
757
+ # We make a subdir and do the tests there. Otherwise we can end up
758
+ # making bogus files that we don't know about and never remove. For
759
+ # instance it was reported that on HP-UX the gcc test will end up
760
+ # making a dummy file named 'D' -- because '-MD' means "put the output
761
+ # in D".
762
+ rm -rf conftest.dir
763
+ mkdir conftest.dir
764
+ # Copy depcomp to subdir because otherwise we won't find it if we're
765
+ # using a relative directory.
766
+ cp "$am_depcomp" conftest.dir
767
+ cd conftest.dir
768
+ # We will build objects and dependencies in a subdirectory because
769
+ # it helps to detect inapplicable dependency modes. For instance
770
+ # both Tru64's cc and ICC support -MD to output dependencies as a
771
+ # side effect of compilation, but ICC will put the dependencies in
772
+ # the current directory while Tru64 will put them in the object
773
+ # directory.
774
+ mkdir sub
775
+
776
+ am_cv_$1_dependencies_compiler_type=none
777
+ if test "$am_compiler_list" = ""; then
778
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
779
+ fi
780
+ am__universal=false
781
+ m4_case([$1], [CC],
782
+ [case " $depcc " in #(
783
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
784
+ esac],
785
+ [CXX],
786
+ [case " $depcc " in #(
787
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
788
+ esac])
789
+
790
+ for depmode in $am_compiler_list; do
791
+ # Setup a source with many dependencies, because some compilers
792
+ # like to wrap large dependency lists on column 80 (with \), and
793
+ # we should not choose a depcomp mode which is confused by this.
794
+ #
795
+ # We need to recreate these files for each test, as the compiler may
796
+ # overwrite some of them when testing with obscure command lines.
797
+ # This happens at least with the AIX C compiler.
798
+ : > sub/conftest.c
799
+ for i in 1 2 3 4 5 6; do
800
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
801
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
802
+ # Solaris 10 /bin/sh.
803
+ echo '/* dummy */' > sub/conftst$i.h
804
+ done
805
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
806
+
807
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
808
+ # mode. It turns out that the SunPro C++ compiler does not properly
809
+ # handle '-M -o', and we need to detect this. Also, some Intel
810
+ # versions had trouble with output in subdirs.
811
+ am__obj=sub/conftest.${OBJEXT-o}
812
+ am__minus_obj="-o $am__obj"
813
+ case $depmode in
814
+ gcc)
815
+ # This depmode causes a compiler race in universal mode.
816
+ test "$am__universal" = false || continue
817
+ ;;
818
+ nosideeffect)
819
+ # After this tag, mechanisms are not by side-effect, so they'll
820
+ # only be used when explicitly requested.
821
+ if test "x$enable_dependency_tracking" = xyes; then
822
+ continue
823
+ else
824
+ break
825
+ fi
826
+ ;;
827
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
828
+ # This compiler won't grok '-c -o', but also, the minuso test has
829
+ # not run yet. These depmodes are late enough in the game, and
830
+ # so weak that their functioning should not be impacted.
831
+ am__obj=conftest.${OBJEXT-o}
832
+ am__minus_obj=
833
+ ;;
834
+ none) break ;;
835
+ esac
836
+ if depmode=$depmode \
837
+ source=sub/conftest.c object=$am__obj \
838
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
839
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
840
+ >/dev/null 2>conftest.err &&
841
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
842
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
843
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
844
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
845
+ # icc doesn't choke on unknown options, it will just issue warnings
846
+ # or remarks (even with -Werror). So we grep stderr for any message
847
+ # that says an option was ignored or not supported.
848
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
849
+ # icc: Command line warning: ignoring option '-M'; no argument required
850
+ # The diagnosis changed in icc 8.0:
851
+ # icc: Command line remark: option '-MP' not supported
852
+ if (grep 'ignoring option' conftest.err ||
853
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
854
+ am_cv_$1_dependencies_compiler_type=$depmode
855
+ break
856
+ fi
857
+ fi
858
+ done
859
+
860
+ cd ..
861
+ rm -rf conftest.dir
862
+ else
863
+ am_cv_$1_dependencies_compiler_type=none
864
+ fi
865
+ ])
866
+ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
867
+ AM_CONDITIONAL([am__fastdep$1], [
868
+ test "x$enable_dependency_tracking" != xno \
869
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
870
+ ])
871
+ m4trace:/usr/share/aclocal-1.15/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
872
+ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
873
+ ])
874
+ m4trace:/usr/share/aclocal-1.15/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
875
+ AS_HELP_STRING(
876
+ [--enable-dependency-tracking],
877
+ [do not reject slow dependency extractors])
878
+ AS_HELP_STRING(
879
+ [--disable-dependency-tracking],
880
+ [speeds up one-time build])])
881
+ if test "x$enable_dependency_tracking" != xno; then
882
+ am_depcomp="$ac_aux_dir/depcomp"
883
+ AMDEPBACKSLASH='\'
884
+ am__nodep='_no'
885
+ fi
886
+ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
887
+ AC_SUBST([AMDEPBACKSLASH])dnl
888
+ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
889
+ AC_SUBST([am__nodep])dnl
890
+ _AM_SUBST_NOTMAKE([am__nodep])dnl
891
+ ])
892
+ m4trace:/usr/share/aclocal-1.15/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
893
+ # Older Autoconf quotes --file arguments for eval, but not when files
894
+ # are listed without --file. Let's play safe and only enable the eval
895
+ # if we detect the quoting.
896
+ case $CONFIG_FILES in
897
+ *\'*) eval set x "$CONFIG_FILES" ;;
898
+ *) set x $CONFIG_FILES ;;
899
+ esac
900
+ shift
901
+ for mf
902
+ do
903
+ # Strip MF so we end up with the name of the file.
904
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
905
+ # Check whether this is an Automake generated Makefile or not.
906
+ # We used to match only the files named 'Makefile.in', but
907
+ # some people rename them; so instead we look at the file content.
908
+ # Grep'ing the first line is not enough: some people post-process
909
+ # each Makefile.in and add a new line on top of each file to say so.
910
+ # Grep'ing the whole file is not good either: AIX grep has a line
911
+ # limit of 2048, but all sed's we know have understand at least 4000.
912
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
913
+ dirpart=`AS_DIRNAME("$mf")`
914
+ else
915
+ continue
916
+ fi
917
+ # Extract the definition of DEPDIR, am__include, and am__quote
918
+ # from the Makefile without running 'make'.
919
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
920
+ test -z "$DEPDIR" && continue
921
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
922
+ test -z "$am__include" && continue
923
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
924
+ # Find all dependency output files, they are included files with
925
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
926
+ # simplest approach to changing $(DEPDIR) to its actual value in the
927
+ # expansion.
928
+ for file in `sed -n "
929
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
930
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
931
+ # Make sure the directory exists.
932
+ test -f "$dirpart/$file" && continue
933
+ fdir=`AS_DIRNAME(["$file"])`
934
+ AS_MKDIR_P([$dirpart/$fdir])
935
+ # echo "creating $dirpart/$file"
936
+ echo '# dummy' > "$dirpart/$file"
937
+ done
938
+ done
939
+ }
940
+ ])
941
+ m4trace:/usr/share/aclocal-1.15/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
942
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
943
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
944
+ ])
945
+ m4trace:/usr/share/aclocal-1.15/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
946
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
947
+ dnl the ones we care about.
948
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
949
+ AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
950
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
951
+ if test "`cd $srcdir && pwd`" != "`pwd`"; then
952
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
953
+ # is not polluted with repeated "-I."
954
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
955
+ # test to see if srcdir already configured
956
+ if test -f $srcdir/config.status; then
957
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
958
+ fi
959
+ fi
960
+
961
+ # test whether we have cygpath
962
+ if test -z "$CYGPATH_W"; then
963
+ if (cygpath --version) >/dev/null 2>/dev/null; then
964
+ CYGPATH_W='cygpath -w'
965
+ else
966
+ CYGPATH_W=echo
967
+ fi
968
+ fi
969
+ AC_SUBST([CYGPATH_W])
970
+
971
+ # Define the identity of the package.
972
+ dnl Distinguish between old-style and new-style calls.
973
+ m4_ifval([$2],
974
+ [AC_DIAGNOSE([obsolete],
975
+ [$0: two- and three-arguments forms are deprecated.])
976
+ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
977
+ AC_SUBST([PACKAGE], [$1])dnl
978
+ AC_SUBST([VERSION], [$2])],
979
+ [_AM_SET_OPTIONS([$1])dnl
980
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
981
+ m4_if(
982
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
983
+ [ok:ok],,
984
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
985
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
986
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
987
+
988
+ _AM_IF_OPTION([no-define],,
989
+ [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
990
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
991
+
992
+ # Some tools Automake needs.
993
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
994
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
995
+ AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
996
+ AM_MISSING_PROG([AUTOCONF], [autoconf])
997
+ AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
998
+ AM_MISSING_PROG([AUTOHEADER], [autoheader])
999
+ AM_MISSING_PROG([MAKEINFO], [makeinfo])
1000
+ AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1001
+ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1002
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1003
+ # For better backward compatibility. To be removed once Automake 1.9.x
1004
+ # dies out for good. For more background, see:
1005
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1006
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1007
+ AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1008
+ # We need awk for the "check" target (and possibly the TAP driver). The
1009
+ # system "awk" is bad on some platforms.
1010
+ AC_REQUIRE([AC_PROG_AWK])dnl
1011
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1012
+ AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1013
+ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1014
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1015
+ [_AM_PROG_TAR([v7])])])
1016
+ _AM_IF_OPTION([no-dependencies],,
1017
+ [AC_PROVIDE_IFELSE([AC_PROG_CC],
1018
+ [_AM_DEPENDENCIES([CC])],
1019
+ [m4_define([AC_PROG_CC],
1020
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1021
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
1022
+ [_AM_DEPENDENCIES([CXX])],
1023
+ [m4_define([AC_PROG_CXX],
1024
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1025
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1026
+ [_AM_DEPENDENCIES([OBJC])],
1027
+ [m4_define([AC_PROG_OBJC],
1028
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1029
+ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1030
+ [_AM_DEPENDENCIES([OBJCXX])],
1031
+ [m4_define([AC_PROG_OBJCXX],
1032
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1033
+ ])
1034
+ AC_REQUIRE([AM_SILENT_RULES])dnl
1035
+ dnl The testsuite driver may need to know about EXEEXT, so add the
1036
+ dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1037
+ dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1038
+ AC_CONFIG_COMMANDS_PRE(dnl
1039
+ [m4_provide_if([_AM_COMPILER_EXEEXT],
1040
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1041
+
1042
+ # POSIX will say in a future version that running "rm -f" with no argument
1043
+ # is OK; and we want to be able to make that assumption in our Makefile
1044
+ # recipes. So use an aggressive probe to check that the usage we want is
1045
+ # actually supported "in the wild" to an acceptable degree.
1046
+ # See automake bug#10828.
1047
+ # To make any issue more visible, cause the running configure to be aborted
1048
+ # by default if the 'rm' program in use doesn't match our expectations; the
1049
+ # user can still override this though.
1050
+ if rm -f && rm -fr && rm -rf; then : OK; else
1051
+ cat >&2 <<'END'
1052
+ Oops!
1053
+
1054
+ Your 'rm' program seems unable to run without file operands specified
1055
+ on the command line, even when the '-f' option is present. This is contrary
1056
+ to the behaviour of most rm programs out there, and not conforming with
1057
+ the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1058
+
1059
+ Please tell bug-automake@gnu.org about your system, including the value
1060
+ of your $PATH and any error possibly output before this message. This
1061
+ can help us improve future automake versions.
1062
+
1063
+ END
1064
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1065
+ echo 'Configuration will proceed anyway, since you have set the' >&2
1066
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1067
+ echo >&2
1068
+ else
1069
+ cat >&2 <<'END'
1070
+ Aborting the configuration process, to ensure you take notice of the issue.
1071
+
1072
+ You can download and install GNU coreutils to get an 'rm' implementation
1073
+ that behaves properly: <http://www.gnu.org/software/coreutils/>.
1074
+
1075
+ If you want to complete the configuration process using your problematic
1076
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1077
+ to "yes", and re-run configure.
1078
+
1079
+ END
1080
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1081
+ fi
1082
+ fi
1083
+ dnl The trailing newline in this macro's definition is deliberate, for
1084
+ dnl backward compatibility and to allow trailing 'dnl'-style comments
1085
+ dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1086
+ ])
1087
+ m4trace:/usr/share/aclocal-1.15/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1088
+ _am_arg=$1
1089
+ _am_stamp_count=1
1090
+ for _am_header in $config_headers :; do
1091
+ case $_am_header in
1092
+ $_am_arg | $_am_arg:* )
1093
+ break ;;
1094
+ * )
1095
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1096
+ esac
1097
+ done
1098
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1099
+ m4trace:/usr/share/aclocal-1.15/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1100
+ if test x"${install_sh+set}" != xset; then
1101
+ case $am_aux_dir in
1102
+ *\ * | *\ *)
1103
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1104
+ *)
1105
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
1106
+ esac
1107
+ fi
1108
+ AC_SUBST([install_sh])])
1109
+ m4trace:/usr/share/aclocal-1.15/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1110
+ mkdir .tst 2>/dev/null
1111
+ if test -d .tst; then
1112
+ am__leading_dot=.
1113
+ else
1114
+ am__leading_dot=_
1115
+ fi
1116
+ rmdir .tst 2>/dev/null
1117
+ AC_SUBST([am__leading_dot])])
1118
+ m4trace:/usr/share/aclocal-1.15/maintainer.m4:16: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]),
1119
+ [enable], [m4_define([am_maintainer_other], [disable])],
1120
+ [disable], [m4_define([am_maintainer_other], [enable])],
1121
+ [m4_define([am_maintainer_other], [enable])
1122
+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1123
+ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1124
+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1125
+ AC_ARG_ENABLE([maintainer-mode],
1126
+ [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1127
+ am_maintainer_other[ make rules and dependencies not useful
1128
+ (and sometimes confusing) to the casual installer])],
1129
+ [USE_MAINTAINER_MODE=$enableval],
1130
+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1131
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1132
+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1133
+ MAINT=$MAINTAINER_MODE_TRUE
1134
+ AC_SUBST([MAINT])dnl
1135
+
1136
+ ])
1137
+ m4trace:/usr/share/aclocal-1.15/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1138
+ cat > confinc << 'END'
1139
+ am__doit:
1140
+ @echo this is the am__doit target
1141
+ .PHONY: am__doit
1142
+ END
1143
+ # If we don't find an include directive, just comment out the code.
1144
+ AC_MSG_CHECKING([for style of include used by $am_make])
1145
+ am__include="#"
1146
+ am__quote=
1147
+ _am_result=none
1148
+ # First try GNU make style include.
1149
+ echo "include confinc" > confmf
1150
+ # Ignore all kinds of additional output from 'make'.
1151
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1152
+ *the\ am__doit\ target*)
1153
+ am__include=include
1154
+ am__quote=
1155
+ _am_result=GNU
1156
+ ;;
1157
+ esac
1158
+ # Now try BSD make style include.
1159
+ if test "$am__include" = "#"; then
1160
+ echo '.include "confinc"' > confmf
1161
+ case `$am_make -s -f confmf 2> /dev/null` in #(
1162
+ *the\ am__doit\ target*)
1163
+ am__include=.include
1164
+ am__quote="\""
1165
+ _am_result=BSD
1166
+ ;;
1167
+ esac
1168
+ fi
1169
+ AC_SUBST([am__include])
1170
+ AC_SUBST([am__quote])
1171
+ AC_MSG_RESULT([$_am_result])
1172
+ rm -f confinc confmf
1173
+ ])
1174
+ m4trace:/usr/share/aclocal-1.15/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1175
+ $1=${$1-"${am_missing_run}$2"}
1176
+ AC_SUBST($1)])
1177
+ m4trace:/usr/share/aclocal-1.15/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1178
+ AC_REQUIRE_AUX_FILE([missing])dnl
1179
+ if test x"${MISSING+set}" != xset; then
1180
+ case $am_aux_dir in
1181
+ *\ * | *\ *)
1182
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1183
+ *)
1184
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
1185
+ esac
1186
+ fi
1187
+ # Use eval to expand $SHELL
1188
+ if eval "$MISSING --is-lightweight"; then
1189
+ am_missing_run="$MISSING "
1190
+ else
1191
+ am_missing_run=
1192
+ AC_MSG_WARN(['missing' script is too old or missing])
1193
+ fi
1194
+ ])
1195
+ m4trace:/usr/share/aclocal-1.15/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1196
+ m4trace:/usr/share/aclocal-1.15/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1197
+ m4trace:/usr/share/aclocal-1.15/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1198
+ m4trace:/usr/share/aclocal-1.15/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1199
+ m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1200
+ AC_REQUIRE_AUX_FILE([compile])dnl
1201
+ AC_LANG_PUSH([C])dnl
1202
+ AC_CACHE_CHECK(
1203
+ [whether $CC understands -c and -o together],
1204
+ [am_cv_prog_cc_c_o],
1205
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1206
+ # Make sure it works both with $CC and with simple cc.
1207
+ # Following AC_PROG_CC_C_O, we do the test twice because some
1208
+ # compilers refuse to overwrite an existing .o file with -o,
1209
+ # though they will create one.
1210
+ am_cv_prog_cc_c_o=yes
1211
+ for am_i in 1 2; do
1212
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1213
+ && test -f conftest2.$ac_objext; then
1214
+ : OK
1215
+ else
1216
+ am_cv_prog_cc_c_o=no
1217
+ break
1218
+ fi
1219
+ done
1220
+ rm -f core conftest*
1221
+ unset am_i])
1222
+ if test "$am_cv_prog_cc_c_o" != yes; then
1223
+ # Losing compiler, so override with the script.
1224
+ # FIXME: It is wrong to rewrite CC.
1225
+ # But if we don't then we get into trouble of one sort or another.
1226
+ # A longer-term fix would be to have automake use am__CC in this case,
1227
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1228
+ CC="$am_aux_dir/compile $CC"
1229
+ fi
1230
+ AC_LANG_POP([C])])
1231
+ m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1232
+ m4trace:/usr/share/aclocal-1.15/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1233
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1234
+ ac_status=$?
1235
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1236
+ (exit $ac_status); }])
1237
+ m4trace:/usr/share/aclocal-1.15/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1238
+ # Reject unsafe characters in $srcdir or the absolute working directory
1239
+ # name. Accept space and tab only in the latter.
1240
+ am_lf='
1241
+ '
1242
+ case `pwd` in
1243
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
1244
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
1245
+ esac
1246
+ case $srcdir in
1247
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1248
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1249
+ esac
1250
+
1251
+ # Do 'set' in a subshell so we don't clobber the current shell's
1252
+ # arguments. Must try -L first in case configure is actually a
1253
+ # symlink; some systems play weird games with the mod time of symlinks
1254
+ # (eg FreeBSD returns the mod time of the symlink's containing
1255
+ # directory).
1256
+ if (
1257
+ am_has_slept=no
1258
+ for am_try in 1 2; do
1259
+ echo "timestamp, slept: $am_has_slept" > conftest.file
1260
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1261
+ if test "$[*]" = "X"; then
1262
+ # -L didn't work.
1263
+ set X `ls -t "$srcdir/configure" conftest.file`
1264
+ fi
1265
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
1266
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
1267
+
1268
+ # If neither matched, then we have a broken ls. This can happen
1269
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
1270
+ # broken ls alias from the environment. This has actually
1271
+ # happened. Such a system could not be considered "sane".
1272
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1273
+ alias in your environment])
1274
+ fi
1275
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
1276
+ break
1277
+ fi
1278
+ # Just in case.
1279
+ sleep 1
1280
+ am_has_slept=yes
1281
+ done
1282
+ test "$[2]" = conftest.file
1283
+ )
1284
+ then
1285
+ # Ok.
1286
+ :
1287
+ else
1288
+ AC_MSG_ERROR([newly created file is older than distributed files!
1289
+ Check your system clock])
1290
+ fi
1291
+ AC_MSG_RESULT([yes])
1292
+ # If we didn't sleep, we still need to ensure time stamps of config.status and
1293
+ # generated files are strictly newer.
1294
+ am_sleep_pid=
1295
+ if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1296
+ ( sleep 1 ) &
1297
+ am_sleep_pid=$!
1298
+ fi
1299
+ AC_CONFIG_COMMANDS_PRE(
1300
+ [AC_MSG_CHECKING([that generated files are newer than configure])
1301
+ if test -n "$am_sleep_pid"; then
1302
+ # Hide warnings about reused PIDs.
1303
+ wait $am_sleep_pid 2>/dev/null
1304
+ fi
1305
+ AC_MSG_RESULT([done])])
1306
+ rm -f conftest.file
1307
+ ])
1308
+ m4trace:/usr/share/aclocal-1.15/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
1309
+ AS_HELP_STRING(
1310
+ [--enable-silent-rules],
1311
+ [less verbose build output (undo: "make V=1")])
1312
+ AS_HELP_STRING(
1313
+ [--disable-silent-rules],
1314
+ [verbose build output (undo: "make V=0")])dnl
1315
+ ])
1316
+ case $enable_silent_rules in @%:@ (((
1317
+ yes) AM_DEFAULT_VERBOSITY=0;;
1318
+ no) AM_DEFAULT_VERBOSITY=1;;
1319
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1320
+ esac
1321
+ dnl
1322
+ dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1323
+ dnl do not support nested variable expansions.
1324
+ dnl See automake bug#9928 and bug#10237.
1325
+ am_make=${MAKE-make}
1326
+ AC_CACHE_CHECK([whether $am_make supports nested variables],
1327
+ [am_cv_make_support_nested_variables],
1328
+ [if AS_ECHO([['TRUE=$(BAR$(V))
1329
+ BAR0=false
1330
+ BAR1=true
1331
+ V=1
1332
+ am__doit:
1333
+ @$(TRUE)
1334
+ .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1335
+ am_cv_make_support_nested_variables=yes
1336
+ else
1337
+ am_cv_make_support_nested_variables=no
1338
+ fi])
1339
+ if test $am_cv_make_support_nested_variables = yes; then
1340
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
1341
+ AM_V='$(V)'
1342
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1343
+ else
1344
+ AM_V=$AM_DEFAULT_VERBOSITY
1345
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1346
+ fi
1347
+ AC_SUBST([AM_V])dnl
1348
+ AM_SUBST_NOTMAKE([AM_V])dnl
1349
+ AC_SUBST([AM_DEFAULT_V])dnl
1350
+ AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1351
+ AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1352
+ AM_BACKSLASH='\'
1353
+ AC_SUBST([AM_BACKSLASH])dnl
1354
+ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1355
+ ])
1356
+ m4trace:/usr/share/aclocal-1.15/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1357
+ # Installed binaries are usually stripped using 'strip' when the user
1358
+ # run "make install-strip". However 'strip' might not be the right
1359
+ # tool to use in cross-compilation environments, therefore Automake
1360
+ # will honor the 'STRIP' environment variable to overrule this program.
1361
+ dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1362
+ if test "$cross_compiling" != no; then
1363
+ AC_CHECK_TOOL([STRIP], [strip], :)
1364
+ fi
1365
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1366
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
1367
+ m4trace:/usr/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1368
+ m4trace:/usr/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1369
+ m4trace:/usr/share/aclocal-1.15/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
1370
+ # in the wild :-( We should find a proper way to deprecate it ...
1371
+ AC_SUBST([AMTAR], ['$${TAR-tar}'])
1372
+
1373
+ # We'll loop over all known methods to create a tar archive until one works.
1374
+ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1375
+
1376
+ m4_if([$1], [v7],
1377
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1378
+
1379
+ [m4_case([$1],
1380
+ [ustar],
1381
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1382
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
1383
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1384
+ # and bug#13588).
1385
+ am_max_uid=2097151 # 2^21 - 1
1386
+ am_max_gid=$am_max_uid
1387
+ # The $UID and $GID variables are not portable, so we need to resort
1388
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1389
+ # below are definitely unexpected, so allow the users to see them
1390
+ # (that is, avoid stderr redirection).
1391
+ am_uid=`id -u || echo unknown`
1392
+ am_gid=`id -g || echo unknown`
1393
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1394
+ if test $am_uid -le $am_max_uid; then
1395
+ AC_MSG_RESULT([yes])
1396
+ else
1397
+ AC_MSG_RESULT([no])
1398
+ _am_tools=none
1399
+ fi
1400
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1401
+ if test $am_gid -le $am_max_gid; then
1402
+ AC_MSG_RESULT([yes])
1403
+ else
1404
+ AC_MSG_RESULT([no])
1405
+ _am_tools=none
1406
+ fi],
1407
+
1408
+ [pax],
1409
+ [],
1410
+
1411
+ [m4_fatal([Unknown tar format])])
1412
+
1413
+ AC_MSG_CHECKING([how to create a $1 tar archive])
1414
+
1415
+ # Go ahead even if we have the value already cached. We do so because we
1416
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
1417
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1418
+
1419
+ for _am_tool in $_am_tools; do
1420
+ case $_am_tool in
1421
+ gnutar)
1422
+ for _am_tar in tar gnutar gtar; do
1423
+ AM_RUN_LOG([$_am_tar --version]) && break
1424
+ done
1425
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1426
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1427
+ am__untar="$_am_tar -xf -"
1428
+ ;;
1429
+ plaintar)
1430
+ # Must skip GNU tar: if it does not support --format= it doesn't create
1431
+ # ustar tarball either.
1432
+ (tar --version) >/dev/null 2>&1 && continue
1433
+ am__tar='tar chf - "$$tardir"'
1434
+ am__tar_='tar chf - "$tardir"'
1435
+ am__untar='tar xf -'
1436
+ ;;
1437
+ pax)
1438
+ am__tar='pax -L -x $1 -w "$$tardir"'
1439
+ am__tar_='pax -L -x $1 -w "$tardir"'
1440
+ am__untar='pax -r'
1441
+ ;;
1442
+ cpio)
1443
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1444
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1445
+ am__untar='cpio -i -H $1 -d'
1446
+ ;;
1447
+ none)
1448
+ am__tar=false
1449
+ am__tar_=false
1450
+ am__untar=false
1451
+ ;;
1452
+ esac
1453
+
1454
+ # If the value was cached, stop now. We just wanted to have am__tar
1455
+ # and am__untar set.
1456
+ test -n "${am_cv_prog_tar_$1}" && break
1457
+
1458
+ # tar/untar a dummy directory, and stop if the command works.
1459
+ rm -rf conftest.dir
1460
+ mkdir conftest.dir
1461
+ echo GrepMe > conftest.dir/file
1462
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1463
+ rm -rf conftest.dir
1464
+ if test -s conftest.tar; then
1465
+ AM_RUN_LOG([$am__untar <conftest.tar])
1466
+ AM_RUN_LOG([cat conftest.dir/file])
1467
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1468
+ fi
1469
+ done
1470
+ rm -rf conftest.dir
1471
+
1472
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1473
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1474
+
1475
+ AC_SUBST([am__tar])
1476
+ AC_SUBST([am__untar])
1477
+ ])
1478
+ m4trace:m4/asmcfi.m4:1: -1- AC_DEFUN([GCC_AS_CFI_PSEUDO_OP], [AC_CACHE_CHECK([assembler .cfi pseudo-op support],
1479
+ gcc_cv_as_cfi_pseudo_op, [
1480
+ gcc_cv_as_cfi_pseudo_op=unknown
1481
+ AC_TRY_COMPILE([asm (".cfi_startproc\n\t.cfi_endproc");],,
1482
+ [gcc_cv_as_cfi_pseudo_op=yes],
1483
+ [gcc_cv_as_cfi_pseudo_op=no])
1484
+ ])
1485
+ if test "x$gcc_cv_as_cfi_pseudo_op" = xyes; then
1486
+ AC_DEFINE(HAVE_AS_CFI_PSEUDO_OP, 1,
1487
+ [Define if your assembler supports .cfi_* directives.])
1488
+ fi
1489
+ ])
1490
+ m4trace:m4/ax_append_flag.m4:54: -1- AC_DEFUN([AX_APPEND_FLAG], [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
1491
+ AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])dnl
1492
+ AS_VAR_SET_IF(FLAGS,
1493
+ [case " AS_VAR_GET(FLAGS) " in
1494
+ *" $1 "*)
1495
+ AC_RUN_LOG([: FLAGS already contains $1])
1496
+ ;;
1497
+ *)
1498
+ AC_RUN_LOG([: FLAGS="$FLAGS $1"])
1499
+ AS_VAR_SET(FLAGS, ["AS_VAR_GET(FLAGS) $1"])
1500
+ ;;
1501
+ esac],
1502
+ [AS_VAR_SET(FLAGS,["$1"])])
1503
+ AS_VAR_POPDEF([FLAGS])dnl
1504
+ ])
1505
+ m4trace:m4/ax_cc_maxopt.m4:60: -1- AC_DEFUN([AX_CC_MAXOPT], [
1506
+ AC_REQUIRE([AC_PROG_CC])
1507
+ AC_REQUIRE([AX_COMPILER_VENDOR])
1508
+ AC_REQUIRE([AC_CANONICAL_HOST])
1509
+
1510
+ AC_ARG_ENABLE(portable-binary, [AS_HELP_STRING([--enable-portable-binary], [disable compiler optimizations that would produce unportable binaries])],
1511
+ acx_maxopt_portable=$enableval, acx_maxopt_portable=no)
1512
+
1513
+ # Try to determine "good" native compiler flags if none specified via CFLAGS
1514
+ if test "$ac_test_CFLAGS" != "set"; then
1515
+ CFLAGS=""
1516
+ case $ax_cv_c_compiler_vendor in
1517
+ dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
1518
+ if test "x$acx_maxopt_portable" = xno; then
1519
+ CFLAGS="$CFLAGS -arch host"
1520
+ fi;;
1521
+
1522
+ sun) CFLAGS="-native -fast -xO5 -dalign"
1523
+ if test "x$acx_maxopt_portable" = xyes; then
1524
+ CFLAGS="$CFLAGS -xarch=generic"
1525
+ fi;;
1526
+
1527
+ hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
1528
+ if test "x$acx_maxopt_portable" = xyes; then
1529
+ CFLAGS="$CFLAGS +DAportable"
1530
+ fi;;
1531
+
1532
+ ibm) if test "x$acx_maxopt_portable" = xno; then
1533
+ xlc_opt="-qarch=auto -qtune=auto"
1534
+ else
1535
+ xlc_opt="-qtune=auto"
1536
+ fi
1537
+ AX_CHECK_COMPILE_FLAG($xlc_opt,
1538
+ CFLAGS="-O3 -qansialias -w $xlc_opt",
1539
+ [CFLAGS="-O3 -qansialias -w"
1540
+ echo "******************************************************"
1541
+ echo "* You seem to have the IBM C compiler. It is *"
1542
+ echo "* recommended for best performance that you use: *"
1543
+ echo "* *"
1544
+ echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
1545
+ echo "* ^^^ ^^^ *"
1546
+ echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
1547
+ echo "* CPU you have. (Set the CFLAGS environment var. *"
1548
+ echo "* and re-run configure.) For more info, man cc. *"
1549
+ echo "******************************************************"])
1550
+ ;;
1551
+
1552
+ intel) CFLAGS="-O3 -ansi_alias"
1553
+ if test "x$acx_maxopt_portable" = xno; then
1554
+ icc_archflag=unknown
1555
+ icc_flags=""
1556
+ case $host_cpu in
1557
+ i686*|x86_64*)
1558
+ # icc accepts gcc assembly syntax, so these should work:
1559
+ AX_GCC_X86_CPUID(0)
1560
+ AX_GCC_X86_CPUID(1)
1561
+ case $ax_cv_gcc_x86_cpuid_0 in # see AX_GCC_ARCHFLAG
1562
+ *:756e6547:*:*) # Intel
1563
+ case $ax_cv_gcc_x86_cpuid_1 in
1564
+ *6a?:*[[234]]:*:*|*6[[789b]]?:*:*:*) icc_flags="-xK";;
1565
+ *f3[[347]]:*:*:*|*f4[1347]:*:*:*) icc_flags="-xP -xN -xW -xK";;
1566
+ *f??:*:*:*) icc_flags="-xN -xW -xK";;
1567
+ esac ;;
1568
+ esac ;;
1569
+ esac
1570
+ if test "x$icc_flags" != x; then
1571
+ for flag in $icc_flags; do
1572
+ AX_CHECK_COMPILE_FLAG($flag, [icc_archflag=$flag; break])
1573
+ done
1574
+ fi
1575
+ AC_MSG_CHECKING([for icc architecture flag])
1576
+ AC_MSG_RESULT($icc_archflag)
1577
+ if test "x$icc_archflag" != xunknown; then
1578
+ CFLAGS="$CFLAGS $icc_archflag"
1579
+ fi
1580
+ fi
1581
+ ;;
1582
+
1583
+ gnu)
1584
+ # default optimization flags for gcc on all systems
1585
+ CFLAGS="-O3 -fomit-frame-pointer"
1586
+
1587
+ # -malign-double for x86 systems
1588
+ # LIBFFI -- DON'T DO THIS - CHANGES ABI
1589
+ # AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double")
1590
+
1591
+ # -fstrict-aliasing for gcc-2.95+
1592
+ AX_CHECK_COMPILE_FLAG(-fstrict-aliasing,
1593
+ CFLAGS="$CFLAGS -fstrict-aliasing")
1594
+
1595
+ # note that we enable "unsafe" fp optimization with other compilers, too
1596
+ AX_CHECK_COMPILE_FLAG(-ffast-math, CFLAGS="$CFLAGS -ffast-math")
1597
+
1598
+ AX_GCC_ARCHFLAG($acx_maxopt_portable)
1599
+ ;;
1600
+ esac
1601
+
1602
+ if test -z "$CFLAGS"; then
1603
+ echo ""
1604
+ echo "********************************************************"
1605
+ echo "* WARNING: Don't know the best CFLAGS for this system *"
1606
+ echo "* Use ./configure CFLAGS=... to specify your own flags *"
1607
+ echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
1608
+ echo "********************************************************"
1609
+ echo ""
1610
+ CFLAGS="-O3"
1611
+ fi
1612
+
1613
+ AX_CHECK_COMPILE_FLAG($CFLAGS, [], [
1614
+ echo ""
1615
+ echo "********************************************************"
1616
+ echo "* WARNING: The guessed CFLAGS don't seem to work with *"
1617
+ echo "* your compiler. *"
1618
+ echo "* Use ./configure CFLAGS=... to specify your own flags *"
1619
+ echo "********************************************************"
1620
+ echo ""
1621
+ CFLAGS=""
1622
+ ])
1623
+
1624
+ fi
1625
+ ])
1626
+ m4trace:m4/ax_cflags_warn_all.m4:63: -1- AC_DEFUN([AX_FLAGS_WARN_ALL], [dnl
1627
+ AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl
1628
+ AS_VAR_PUSHDEF([VAR],[ac_cv_[]_AC_LANG_ABBREV[]flags_warn_all])dnl
1629
+ AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings],
1630
+ VAR,[VAR="no, unknown"
1631
+ ac_save_[]FLAGS="$[]FLAGS"
1632
+ for ac_arg dnl
1633
+ in "-warn all % -warn all" dnl Intel
1634
+ "-pedantic % -Wall" dnl GCC
1635
+ "-xstrconst % -v" dnl Solaris C
1636
+ "-std1 % -verbose -w0 -warnprotos" dnl Digital Unix
1637
+ "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX
1638
+ "-ansi -ansiE % -fullwarn" dnl IRIX
1639
+ "+ESlit % +w1" dnl HP-UX C
1640
+ "-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10)
1641
+ "-h conform % -h msglevel 2" dnl Cray C (Unicos)
1642
+ #
1643
+ do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
1644
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
1645
+ [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break])
1646
+ done
1647
+ FLAGS="$ac_save_[]FLAGS"
1648
+ ])
1649
+ AS_VAR_POPDEF([FLAGS])dnl
1650
+ AC_REQUIRE([AX_APPEND_FLAG])
1651
+ case ".$VAR" in
1652
+ .ok|.ok,*) m4_ifvaln($3,$3) ;;
1653
+ .|.no|.no,*) m4_default($4,[m4_ifval($2,[AX_APPEND_FLAG([$2], [$1])])]) ;;
1654
+ *) m4_default($3,[AX_APPEND_FLAG([$VAR], [$1])]) ;;
1655
+ esac
1656
+ AS_VAR_POPDEF([VAR])dnl
1657
+ ])
1658
+ m4trace:m4/ax_cflags_warn_all.m4:106: -1- AC_DEFUN([AX_CFLAGS_WARN_ALL], [dnl
1659
+ AC_LANG_PUSH([C])
1660
+ AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
1661
+ AC_LANG_POP([C])
1662
+ ])
1663
+ m4trace:m4/ax_cflags_warn_all.m4:112: -1- AC_DEFUN([AX_CXXFLAGS_WARN_ALL], [dnl
1664
+ AC_LANG_PUSH([C++])
1665
+ AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
1666
+ AC_LANG_POP([C++])
1667
+ ])
1668
+ m4trace:m4/ax_cflags_warn_all.m4:118: -1- AC_DEFUN([AX_FCFLAGS_WARN_ALL], [dnl
1669
+ AC_LANG_PUSH([Fortran])
1670
+ AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
1671
+ AC_LANG_POP([Fortran])
1672
+ ])
1673
+ m4trace:m4/ax_check_compile_flag.m4:58: -1- AC_DEFUN([AX_CHECK_COMPILE_FLAG], [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
1674
+ AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
1675
+ AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
1676
+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
1677
+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
1678
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
1679
+ [AS_VAR_SET(CACHEVAR,[yes])],
1680
+ [AS_VAR_SET(CACHEVAR,[no])])
1681
+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
1682
+ AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
1683
+ [m4_default([$2], :)],
1684
+ [m4_default([$3], :)])
1685
+ AS_VAR_POPDEF([CACHEVAR])dnl
1686
+ ])
1687
+ m4trace:m4/ax_compiler_vendor.m4:49: -1- AC_DEFUN([AX_COMPILER_VENDOR], [AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
1688
+ [# note: don't check for gcc first since some other compilers define __GNUC__
1689
+ vendors="intel: __ICC,__ECC,__INTEL_COMPILER
1690
+ ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__
1691
+ pathscale: __PATHCC__,__PATHSCALE__
1692
+ clang: __clang__
1693
+ gnu: __GNUC__
1694
+ sun: __SUNPRO_C,__SUNPRO_CC
1695
+ hp: __HP_cc,__HP_aCC
1696
+ dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
1697
+ borland: __BORLANDC__,__TURBOC__
1698
+ comeau: __COMO__
1699
+ cray: _CRAYC
1700
+ kai: __KCC
1701
+ lcc: __LCC__
1702
+ sgi: __sgi,sgi
1703
+ microsoft: _MSC_VER
1704
+ metrowerks: __MWERKS__
1705
+ watcom: __WATCOMC__
1706
+ portland: __PGI
1707
+ unknown: UNKNOWN"
1708
+ for ventest in $vendors; do
1709
+ case $ventest in
1710
+ *:) vendor=$ventest; continue ;;
1711
+ *) vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
1712
+ esac
1713
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
1714
+ #if !($vencpp)
1715
+ thisisanerror;
1716
+ #endif
1717
+ ])], [break])
1718
+ done
1719
+ ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=`echo $vendor | cut -d: -f1`
1720
+ ])
1721
+ ])
1722
+ m4trace:m4/ax_configure_args.m4:62: -1- AC_DEFUN([AX_CONFIGURE_ARGS], [
1723
+ # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
1724
+ if test "${ac_configure_args+set}" != "set" ; then
1725
+ ac_configure_args=
1726
+ for ac_arg in ${1+"[$]@"}; do
1727
+ ac_configure_args="$ac_configure_args '$ac_arg'"
1728
+ done
1729
+ fi
1730
+ ])
1731
+ m4trace:m4/ax_enable_builddir.m4:84: -1- AC_DEFUN([AX_ENABLE_BUILDDIR], [
1732
+ AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
1733
+ AC_REQUIRE([AX_CONFIGURE_ARGS])[]dnl
1734
+ AC_REQUIRE([AM_AUX_DIR_EXPAND])[]dnl
1735
+ AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl
1736
+ AS_VAR_PUSHDEF([SUB],[ax_enable_builddir])dnl
1737
+ AS_VAR_PUSHDEF([AUX],[ax_enable_builddir_auxdir])dnl
1738
+ AS_VAR_PUSHDEF([SED],[ax_enable_builddir_sed])dnl
1739
+ SUB="."
1740
+ AC_ARG_ENABLE([builddir], AS_HELP_STRING(
1741
+ [--disable-builddir],[disable automatic build in subdir of sources])
1742
+ ,[SUB="$enableval"], [SUB="auto"])
1743
+ if test ".$ac_srcdir_defaulted" != ".no" ; then
1744
+ if test ".$srcdir" = ".." ; then
1745
+ if test -f config.status ; then
1746
+ AC_MSG_NOTICE(toplevel srcdir already configured... skipping subdir build)
1747
+ else
1748
+ test ".$SUB" = "." && SUB="."
1749
+ test ".$SUB" = ".no" && SUB="."
1750
+ test ".$TARGET" = "." && TARGET="$target"
1751
+ test ".$SUB" = ".auto" && SUB="m4_ifval([$1], [$1],[$TARGET])"
1752
+ if test ".$SUB" != ".." ; then # we know where to go and
1753
+ AS_MKDIR_P([$SUB])
1754
+ echo __.$SUB.__ > $SUB/conftest.tmp
1755
+ cd $SUB
1756
+ if grep __.$SUB.__ conftest.tmp >/dev/null 2>/dev/null ; then
1757
+ rm conftest.tmp
1758
+ AC_MSG_RESULT([continue configure in default builddir "./$SUB"])
1759
+ else
1760
+ AC_MSG_ERROR([could not change to default builddir "./$SUB"])
1761
+ fi
1762
+ srcdir=`echo "$SUB" |
1763
+ sed -e 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g;s,[[/]]$,,;'`
1764
+ # going to restart from subdirectory location
1765
+ test -f $srcdir/config.log && mv $srcdir/config.log .
1766
+ test -f $srcdir/confdefs.h && mv $srcdir/confdefs.h .
1767
+ test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
1768
+ test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
1769
+ AC_MSG_RESULT(....exec $SHELL $srcdir/[$]0 "--srcdir=$srcdir" "--enable-builddir=$SUB" ${1+"[$]@"})
1770
+ case "[$]0" in # restart
1771
+ [[\\/]]* | ?:[[\\/]]*) # Asbolute name
1772
+ eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
1773
+ *) eval $SHELL "'$srcdir/[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
1774
+ esac ; exit $?
1775
+ fi
1776
+ fi
1777
+ fi fi
1778
+ test ".$SUB" = ".auto" && SUB="."
1779
+ dnl ac_path_prog uses "set dummy" to override $@ which would defeat the "exec"
1780
+ AC_PATH_PROG(SED,gsed sed, sed)
1781
+ AUX="$am_aux_dir"
1782
+ AS_VAR_POPDEF([SED])dnl
1783
+ AS_VAR_POPDEF([AUX])dnl
1784
+ AS_VAR_POPDEF([SUB])dnl
1785
+ AC_CONFIG_COMMANDS([buildir],[dnl .............. config.status ..............
1786
+ AS_VAR_PUSHDEF([SUB],[ax_enable_builddir])dnl
1787
+ AS_VAR_PUSHDEF([TOP],[top_srcdir])dnl
1788
+ AS_VAR_PUSHDEF([SRC],[ac_top_srcdir])dnl
1789
+ AS_VAR_PUSHDEF([AUX],[ax_enable_builddir_auxdir])dnl
1790
+ AS_VAR_PUSHDEF([SED],[ax_enable_builddir_sed])dnl
1791
+ pushdef([END],[Makefile.mk])dnl
1792
+ pushdef([_ALL],[ifelse([$3],,[-all],[$3])])dnl
1793
+ SRC="$ax_enable_builddir_srcdir"
1794
+ if test ".$SUB" = ".." ; then
1795
+ if test -f "$TOP/Makefile" ; then
1796
+ AC_MSG_NOTICE([skipping TOP/Makefile - left untouched])
1797
+ else
1798
+ AC_MSG_NOTICE([skipping TOP/Makefile - not created])
1799
+ fi
1800
+ else
1801
+ if test -f "$SRC/Makefile" ; then
1802
+ a=`grep "^VERSION " "$SRC/Makefile"` ; b=`grep "^VERSION " Makefile`
1803
+ test "$a" != "$b" && rm "$SRC/Makefile"
1804
+ fi
1805
+ if test -f "$SRC/Makefile" ; then
1806
+ echo "$SRC/Makefile : $SRC/Makefile.in" > $tmp/conftemp.mk
1807
+ echo " []@ echo 'REMOVED,,,' >\$[]@" >> $tmp/conftemp.mk
1808
+ eval "${MAKE-make} -f $tmp/conftemp.mk 2>/dev/null >/dev/null"
1809
+ if grep '^REMOVED,,,' "$SRC/Makefile" >/dev/null
1810
+ then rm $SRC/Makefile ; fi
1811
+ cp $tmp/conftemp.mk $SRC/makefiles.mk~ ## DEBUGGING
1812
+ fi
1813
+ if test ! -f "$SRC/Makefile" ; then
1814
+ AC_MSG_NOTICE([create TOP/Makefile guessed from local Makefile])
1815
+ x='`' ; cat >$tmp/conftemp.sed <<_EOF
1816
+ /^\$/n
1817
+ x
1818
+ /^\$/bS
1819
+ x
1820
+ /\\\\\$/{H;d;}
1821
+ {H;s/.*//;x;}
1822
+ bM
1823
+ :S
1824
+ x
1825
+ /\\\\\$/{h;d;}
1826
+ {h;s/.*//;x;}
1827
+ :M
1828
+ s/\\(\\n\\) /\\1 /g
1829
+ /^ /d
1830
+ /^[[ ]]*[[\\#]]/d
1831
+ /^VPATH *=/d
1832
+ s/^srcdir *=.*/srcdir = ./
1833
+ s/^top_srcdir *=.*/top_srcdir = ./
1834
+ /[[:=]]/!d
1835
+ /^\\./d
1836
+ dnl Now handle rules (i.e. lines containing ":" but not " = ").
1837
+ / = /b
1838
+ / .= /b
1839
+ /:/!b
1840
+ s/:.*/:/
1841
+ s/ / /g
1842
+ s/ \\([[a-z]][[a-z-]]*[[a-zA-Z0-9]]\\)\\([[ :]]\\)/ \\1 \\1[]_ALL\\2/g
1843
+ s/^\\([[a-z]][[a-z-]]*[[a-zA-Z0-9]]\\)\\([[ :]]\\)/\\1 \\1[]_ALL\\2/
1844
+ s/ / /g
1845
+ /^all all[]_ALL[[ :]]/i\\
1846
+ all-configured : all[]_ALL
1847
+ dnl dist-all exists... and would make for dist-all-all
1848
+ s/ [[a-zA-Z0-9-]]*[]_ALL [[a-zA-Z0-9-]]*[]_ALL[]_ALL//g
1849
+ /[]_ALL[]_ALL/d
1850
+ a\\
1851
+ @ HOST="\$(HOST)\" \\\\\\
1852
+ ; test ".\$\$HOST" = "." && HOST=$x sh $AUX/config.guess $x \\\\\\
1853
+ ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
1854
+ ; use=$x basename "\$\@" _ALL $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
1855
+ ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" -eq "0" ; then : \\\\\\
1856
+ ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
1857
+ ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
1858
+ ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
1859
+ ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
1860
+ ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done
1861
+ dnl special rule add-on: "dist" copies the tarball to $(PUB). (source tree)
1862
+ /dist[]_ALL *:/a\\
1863
+ @ HOST="\$(HOST)\" \\\\\\
1864
+ ; test ".\$\$HOST" = "." && HOST=$x sh $AUX/config.guess $x \\\\\\
1865
+ ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
1866
+ ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
1867
+ ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
1868
+ ; if test "\$\$found" -eq "0" ; then : \\\\\\
1869
+ ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
1870
+ ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
1871
+ ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
1872
+ ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
1873
+ dnl special rule add-on: "dist-foo" copies all the archives to $(PUB). (source tree)
1874
+ /dist-[[a-zA-Z0-9]]*[]_ALL *:/a\\
1875
+ @ HOST="\$(HOST)\" \\\\\\
1876
+ ; test ".\$\$HOST" = "." && HOST=$x sh ./config.guess $x \\\\\\
1877
+ ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
1878
+ ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
1879
+ ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
1880
+ ; if test "\$\$found" -eq "0" ; then : \\\\\\
1881
+ ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
1882
+ ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
1883
+ ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\
1884
+ ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
1885
+ dnl special rule add-on: "distclean" removes all local builddirs completely
1886
+ /distclean[]_ALL *:/a\\
1887
+ @ HOST="\$(HOST)\" \\\\\\
1888
+ ; test ".\$\$HOST" = "." && HOST=$x sh $AUX/config.guess $x \\\\\\
1889
+ ; BUILD=$x grep "^#### .*|" Makefile | sed -e 's/.*|//' $x \\\\\\
1890
+ ; use=$x basename "\$\@" _ALL $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
1891
+ ; echo "MAKE \$\$HOST : \$\$n * \$\@ (all local builds)" \\\\\\
1892
+ ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
1893
+ ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
1894
+ ; echo "# rm -r \$\$i"; done ; echo "# (sleep 3)" ; sleep 3 \\\\\\
1895
+ ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
1896
+ ; echo "\$\$i" | grep "^/" > /dev/null && continue \\\\\\
1897
+ ; echo "\$\$i" | grep "^../" > /dev/null && continue \\\\\\
1898
+ ; echo "rm -r \$\$i"; (rm -r "\$\$i") ; done ; rm Makefile
1899
+ _EOF
1900
+ cp "$tmp/conftemp.sed" "$SRC/makefile.sed~" ## DEBUGGING
1901
+ $SED -f $tmp/conftemp.sed Makefile >$SRC/Makefile
1902
+ if test -f "$SRC/m4_ifval([$2],[$2],[END])" ; then
1903
+ AC_MSG_NOTICE([extend TOP/Makefile with TOP/m4_ifval([$2],[$2],[END])])
1904
+ cat $SRC/END >>$SRC/Makefile
1905
+ fi ; xxxx="####"
1906
+ echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$SRC/Makefile
1907
+ # sanity check
1908
+ if grep '^; echo "MAKE ' $SRC/Makefile >/dev/null ; then
1909
+ AC_MSG_NOTICE([buggy sed found - it deletes tab in "a" text parts])
1910
+ $SED -e '/^@ HOST=/s/^/ /' -e '/^; /s/^/ /' $SRC/Makefile \
1911
+ >$SRC/Makefile~
1912
+ (test -s $SRC/Makefile~ && mv $SRC/Makefile~ $SRC/Makefile) 2>/dev/null
1913
+ fi
1914
+ else
1915
+ xxxx="\\#\\#\\#\\#"
1916
+ # echo "/^$xxxx *$ax_enable_builddir_host /d" >$tmp/conftemp.sed
1917
+ echo "s!^$xxxx [[^|]]* | *$SUB *\$!$xxxx ...... $SUB!" >$tmp/conftemp.sed
1918
+ $SED -f "$tmp/conftemp.sed" "$SRC/Makefile" >$tmp/mkfile.tmp
1919
+ cp "$tmp/conftemp.sed" "$SRC/makefiles.sed~" ## DEBUGGING
1920
+ cp "$tmp/mkfile.tmp" "$SRC/makefiles.out~" ## DEBUGGING
1921
+ if cmp -s "$SRC/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
1922
+ AC_MSG_NOTICE([keeping TOP/Makefile from earlier configure])
1923
+ rm "$tmp/mkfile.tmp"
1924
+ else
1925
+ AC_MSG_NOTICE([reusing TOP/Makefile from earlier configure])
1926
+ mv "$tmp/mkfile.tmp" "$SRC/Makefile"
1927
+ fi
1928
+ fi
1929
+ AC_MSG_NOTICE([build in $SUB (HOST=$ax_enable_builddir_host)])
1930
+ xxxx="####"
1931
+ echo "$xxxx" "$ax_enable_builddir_host" "|$SUB" >>$SRC/Makefile
1932
+ fi
1933
+ popdef([END])dnl
1934
+ AS_VAR_POPDEF([SED])dnl
1935
+ AS_VAR_POPDEF([AUX])dnl
1936
+ AS_VAR_POPDEF([SRC])dnl
1937
+ AS_VAR_POPDEF([TOP])dnl
1938
+ AS_VAR_POPDEF([SUB])dnl
1939
+ ],[dnl
1940
+ ax_enable_builddir_srcdir="$srcdir" # $srcdir
1941
+ ax_enable_builddir_host="$HOST" # $HOST / $host
1942
+ ax_enable_builddir_version="$VERSION" # $VERSION
1943
+ ax_enable_builddir_package="$PACKAGE" # $PACKAGE
1944
+ ax_enable_builddir_auxdir="$ax_enable_builddir_auxdir" # $AUX
1945
+ ax_enable_builddir_sed="$ax_enable_builddir_sed" # $SED
1946
+ ax_enable_builddir="$ax_enable_builddir" # $SUB
1947
+ ])dnl
1948
+ ])
1949
+ m4trace:m4/ax_gcc_archflag.m4:69: -1- AC_DEFUN([AX_GCC_ARCHFLAG], [AC_REQUIRE([AC_PROG_CC])
1950
+ AC_REQUIRE([AC_CANONICAL_HOST])
1951
+
1952
+ AC_ARG_WITH(gcc-arch, [AS_HELP_STRING([--with-gcc-arch=<arch>], [use architecture <arch> for gcc -march/-mtune, instead of guessing])],
1953
+ ax_gcc_arch=$withval, ax_gcc_arch=yes)
1954
+
1955
+ AC_MSG_CHECKING([for gcc architecture flag])
1956
+ AC_MSG_RESULT([])
1957
+ AC_CACHE_VAL(ax_cv_gcc_archflag,
1958
+ [
1959
+ ax_cv_gcc_archflag="unknown"
1960
+
1961
+ if test "$GCC" = yes; then
1962
+
1963
+ if test "x$ax_gcc_arch" = xyes; then
1964
+ ax_gcc_arch=""
1965
+ if test "$cross_compiling" = no; then
1966
+ case $host_cpu in
1967
+ i[[3456]]86*|x86_64*) # use cpuid codes
1968
+ AX_GCC_X86_CPUID(0)
1969
+ AX_GCC_X86_CPUID(1)
1970
+ case $ax_cv_gcc_x86_cpuid_0 in
1971
+ *:756e6547:*:*) # Intel
1972
+ case $ax_cv_gcc_x86_cpuid_1 in
1973
+ *5[[48]]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
1974
+ *5??:*:*:*) ax_gcc_arch=pentium ;;
1975
+ *0?6[[3456]]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
1976
+ *0?6a?:*[[01]]:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
1977
+ *0?6a?:*[[234]]:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
1978
+ *0?6[[9de]]?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
1979
+ *0?6[[78b]]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
1980
+ *0?6f?:*:*:*|*1?66?:*:*:*) ax_gcc_arch="core2 pentium-m pentium3 pentiumpro" ;;
1981
+ *1?6[[7d]]?:*:*:*) ax_gcc_arch="penryn core2 pentium-m pentium3 pentiumpro" ;;
1982
+ *1?6[[aef]]?:*:*:*|*2?6[[5cef]]?:*:*:*) ax_gcc_arch="corei7 core2 pentium-m pentium3 pentiumpro" ;;
1983
+ *1?6c?:*:*:*|*[[23]]?66?:*:*:*) ax_gcc_arch="atom core2 pentium-m pentium3 pentiumpro" ;;
1984
+ *2?6[[ad]]?:*:*:*) ax_gcc_arch="corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
1985
+ *0?6??:*:*:*) ax_gcc_arch=pentiumpro ;;
1986
+ *6??:*:*:*) ax_gcc_arch="core2 pentiumpro" ;;
1987
+ ?000?f3[[347]]:*:*:*|?000?f4[1347]:*:*:*|?000?f6?:*:*:*)
1988
+ case $host_cpu in
1989
+ x86_64*) ax_gcc_arch="nocona pentium4 pentiumpro" ;;
1990
+ *) ax_gcc_arch="prescott pentium4 pentiumpro" ;;
1991
+ esac ;;
1992
+ ?000?f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro";;
1993
+ esac ;;
1994
+ *:68747541:*:*) # AMD
1995
+ case $ax_cv_gcc_x86_cpuid_1 in
1996
+ *5[[67]]?:*:*:*) ax_gcc_arch=k6 ;;
1997
+ *5[[8d]]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
1998
+ *5[[9]]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
1999
+ *60?:*:*:*) ax_gcc_arch=k7 ;;
2000
+ *6[[12]]?:*:*:*) ax_gcc_arch="athlon k7" ;;
2001
+ *6[[34]]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
2002
+ *67?:*:*:*) ax_gcc_arch="athlon-4 athlon k7" ;;
2003
+ *6[[68a]]?:*:*:*)
2004
+ AX_GCC_X86_CPUID(0x80000006) # L2 cache size
2005
+ case $ax_cv_gcc_x86_cpuid_0x80000006 in
2006
+ *:*:*[[1-9a-f]]??????:*) # (L2 = ecx >> 16) >= 256
2007
+ ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
2008
+ *) ax_gcc_arch="athlon-4 athlon k7" ;;
2009
+ esac ;;
2010
+ ?00??f[[4cef8b]]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
2011
+ ?00??f5?:*:*:*) ax_gcc_arch="opteron k8" ;;
2012
+ ?00??f7?:*:*:*) ax_gcc_arch="athlon-fx opteron k8" ;;
2013
+ ?00??f??:*:*:*) ax_gcc_arch="k8" ;;
2014
+ ?05??f??:*:*:*) ax_gcc_arch="btver1 amdfam10 k8" ;;
2015
+ ?06??f??:*:*:*) ax_gcc_arch="bdver1 amdfam10 k8" ;;
2016
+ *f??:*:*:*) ax_gcc_arch="amdfam10 k8" ;;
2017
+ esac ;;
2018
+ *:746e6543:*:*) # IDT
2019
+ case $ax_cv_gcc_x86_cpuid_1 in
2020
+ *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
2021
+ *58?:*:*:*) ax_gcc_arch=winchip2 ;;
2022
+ *6[[78]]?:*:*:*) ax_gcc_arch=c3 ;;
2023
+ *69?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
2024
+ esac ;;
2025
+ esac
2026
+ if test x"$ax_gcc_arch" = x; then # fallback
2027
+ case $host_cpu in
2028
+ i586*) ax_gcc_arch=pentium ;;
2029
+ i686*) ax_gcc_arch=pentiumpro ;;
2030
+ esac
2031
+ fi
2032
+ ;;
2033
+
2034
+ sparc*)
2035
+ AC_PATH_PROG([PRTDIAG], [prtdiag], [prtdiag], [$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/])
2036
+ cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
2037
+ cputype=`echo "$cputype" | tr -d ' -' | sed 's/SPARCIIi/SPARCII/' | tr $as_cr_LETTERS $as_cr_letters`
2038
+ case $cputype in
2039
+ *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
2040
+ *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
2041
+ *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
2042
+ *supersparc*|*tms390z5[[05]]*) ax_gcc_arch="supersparc v8" ;;
2043
+ *hypersparc*|*rt62[[056]]*) ax_gcc_arch="hypersparc v8" ;;
2044
+ *cypress*) ax_gcc_arch=cypress ;;
2045
+ esac ;;
2046
+
2047
+ alphaev5) ax_gcc_arch=ev5 ;;
2048
+ alphaev56) ax_gcc_arch=ev56 ;;
2049
+ alphapca56) ax_gcc_arch="pca56 ev56" ;;
2050
+ alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
2051
+ alphaev6) ax_gcc_arch=ev6 ;;
2052
+ alphaev67) ax_gcc_arch=ev67 ;;
2053
+ alphaev68) ax_gcc_arch="ev68 ev67" ;;
2054
+ alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
2055
+ alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
2056
+ alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
2057
+
2058
+ powerpc*)
2059
+ cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | sed 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
2060
+ cputype=`echo $cputype | sed -e 's/ppc//g;s/ *//g'`
2061
+ case $cputype in
2062
+ *750*) ax_gcc_arch="750 G3" ;;
2063
+ *740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;;
2064
+ *74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;;
2065
+ *74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;;
2066
+ *970*) ax_gcc_arch="970 G5 power4";;
2067
+ *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
2068
+ *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
2069
+ 603ev|8240) ax_gcc_arch="$cputype 603e 603";;
2070
+ *) ax_gcc_arch=$cputype ;;
2071
+ esac
2072
+ ax_gcc_arch="$ax_gcc_arch powerpc"
2073
+ ;;
2074
+ esac
2075
+ fi # not cross-compiling
2076
+ fi # guess arch
2077
+
2078
+ if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
2079
+ for arch in $ax_gcc_arch; do
2080
+ if test "x[]m4_default([$1],yes)" = xyes; then # if we require portable code
2081
+ flags="-mtune=$arch"
2082
+ # -mcpu=$arch and m$arch generate nonportable code on every arch except
2083
+ # x86. And some other arches (e.g. Alpha) don't accept -mtune. Grrr.
2084
+ case $host_cpu in i*86|x86_64*) flags="$flags -mcpu=$arch -m$arch";; esac
2085
+ else
2086
+ flags="-march=$arch -mcpu=$arch -m$arch"
2087
+ fi
2088
+ for flag in $flags; do
2089
+ AX_CHECK_COMPILE_FLAG($flag, [ax_cv_gcc_archflag=$flag; break])
2090
+ done
2091
+ test "x$ax_cv_gcc_archflag" = xunknown || break
2092
+ done
2093
+ fi
2094
+
2095
+ fi # $GCC=yes
2096
+ ])
2097
+ AC_MSG_CHECKING([for gcc architecture flag])
2098
+ AC_MSG_RESULT($ax_cv_gcc_archflag)
2099
+ if test "x$ax_cv_gcc_archflag" = xunknown; then
2100
+ m4_default([$3],:)
2101
+ else
2102
+ m4_default([$2], [CFLAGS="$CFLAGS $ax_cv_gcc_archflag"])
2103
+ fi
2104
+ ])
2105
+ m4trace:m4/ax_gcc_x86_cpuid.m4:60: -1- AC_DEFUN([AX_GCC_X86_CPUID], [AC_REQUIRE([AC_PROG_CC])
2106
+ AC_LANG_PUSH([C])
2107
+ AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1,
2108
+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>], [
2109
+ int op = $1, eax, ebx, ecx, edx;
2110
+ FILE *f;
2111
+ __asm__("cpuid"
2112
+ : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
2113
+ : "a" (op));
2114
+ f = fopen("conftest_cpuid", "w"); if (!f) return 1;
2115
+ fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
2116
+ fclose(f);
2117
+ return 0;
2118
+ ])],
2119
+ [ax_cv_gcc_x86_cpuid_$1=`cat conftest_cpuid`; rm -f conftest_cpuid],
2120
+ [ax_cv_gcc_x86_cpuid_$1=unknown; rm -f conftest_cpuid],
2121
+ [ax_cv_gcc_x86_cpuid_$1=unknown])])
2122
+ AC_LANG_POP([C])
2123
+ ])
2124
+ m4trace:m4/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
2125
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2126
+ AC_BEFORE([$0], [LT_LANG])dnl
2127
+ AC_BEFORE([$0], [LT_OUTPUT])dnl
2128
+ AC_BEFORE([$0], [LTDL_INIT])dnl
2129
+ m4_require([_LT_CHECK_BUILDDIR])dnl
2130
+
2131
+ dnl Autoconf doesn't catch unexpanded LT_ macros by default:
2132
+ m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
2133
+ m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
2134
+ dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
2135
+ dnl unless we require an AC_DEFUNed macro:
2136
+ AC_REQUIRE([LTOPTIONS_VERSION])dnl
2137
+ AC_REQUIRE([LTSUGAR_VERSION])dnl
2138
+ AC_REQUIRE([LTVERSION_VERSION])dnl
2139
+ AC_REQUIRE([LTOBSOLETE_VERSION])dnl
2140
+ m4_require([_LT_PROG_LTMAIN])dnl
2141
+
2142
+ _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
2143
+
2144
+ dnl Parse OPTIONS
2145
+ _LT_SET_OPTIONS([$0], [$1])
2146
+
2147
+ # This can be used to rebuild libtool when needed
2148
+ LIBTOOL_DEPS=$ltmain
2149
+
2150
+ # Always use our own libtool.
2151
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2152
+ AC_SUBST(LIBTOOL)dnl
2153
+
2154
+ _LT_SETUP
2155
+
2156
+ # Only expand once:
2157
+ m4_define([LT_INIT])
2158
+ ])
2159
+ m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2160
+ m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2161
+ You should run autoupdate.])dnl
2162
+ m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2163
+ m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2164
+ m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
2165
+ You should run autoupdate.])dnl
2166
+ m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2167
+ m4trace:m4/libtool.m4:619: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
2168
+ AC_MSG_NOTICE([creating $CONFIG_LT])
2169
+ _LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
2170
+ [# Run this file to recreate a libtool stub with the current configuration.])
2171
+
2172
+ cat >>"$CONFIG_LT" <<\_LTEOF
2173
+ lt_cl_silent=false
2174
+ exec AS_MESSAGE_LOG_FD>>config.log
2175
+ {
2176
+ echo
2177
+ AS_BOX([Running $as_me.])
2178
+ } >&AS_MESSAGE_LOG_FD
2179
+
2180
+ lt_cl_help="\
2181
+ '$as_me' creates a local libtool stub from the current configuration,
2182
+ for use in further configure time tests before the real libtool is
2183
+ generated.
2184
+
2185
+ Usage: $[0] [[OPTIONS]]
2186
+
2187
+ -h, --help print this help, then exit
2188
+ -V, --version print version number, then exit
2189
+ -q, --quiet do not print progress messages
2190
+ -d, --debug don't remove temporary files
2191
+
2192
+ Report bugs to <bug-libtool@gnu.org>."
2193
+
2194
+ lt_cl_version="\
2195
+ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
2196
+ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2197
+ configured by $[0], generated by m4_PACKAGE_STRING.
2198
+
2199
+ Copyright (C) 2011 Free Software Foundation, Inc.
2200
+ This config.lt script is free software; the Free Software Foundation
2201
+ gives unlimited permision to copy, distribute and modify it."
2202
+
2203
+ while test 0 != $[#]
2204
+ do
2205
+ case $[1] in
2206
+ --version | --v* | -V )
2207
+ echo "$lt_cl_version"; exit 0 ;;
2208
+ --help | --h* | -h )
2209
+ echo "$lt_cl_help"; exit 0 ;;
2210
+ --debug | --d* | -d )
2211
+ debug=: ;;
2212
+ --quiet | --q* | --silent | --s* | -q )
2213
+ lt_cl_silent=: ;;
2214
+
2215
+ -*) AC_MSG_ERROR([unrecognized option: $[1]
2216
+ Try '$[0] --help' for more information.]) ;;
2217
+
2218
+ *) AC_MSG_ERROR([unrecognized argument: $[1]
2219
+ Try '$[0] --help' for more information.]) ;;
2220
+ esac
2221
+ shift
2222
+ done
2223
+
2224
+ if $lt_cl_silent; then
2225
+ exec AS_MESSAGE_FD>/dev/null
2226
+ fi
2227
+ _LTEOF
2228
+
2229
+ cat >>"$CONFIG_LT" <<_LTEOF
2230
+ _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
2231
+ _LTEOF
2232
+
2233
+ cat >>"$CONFIG_LT" <<\_LTEOF
2234
+ AC_MSG_NOTICE([creating $ofile])
2235
+ _LT_OUTPUT_LIBTOOL_COMMANDS
2236
+ AS_EXIT(0)
2237
+ _LTEOF
2238
+ chmod +x "$CONFIG_LT"
2239
+
2240
+ # configure is writing to config.log, but config.lt does its own redirection,
2241
+ # appending to config.log, which fails on DOS, as config.log is still kept
2242
+ # open by configure. Here we exec the FD to /dev/null, effectively closing
2243
+ # config.log, so it can be properly (re)opened and appended to by config.lt.
2244
+ lt_cl_success=:
2245
+ test yes = "$silent" &&
2246
+ lt_config_lt_args="$lt_config_lt_args --quiet"
2247
+ exec AS_MESSAGE_LOG_FD>/dev/null
2248
+ $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2249
+ exec AS_MESSAGE_LOG_FD>>config.log
2250
+ $lt_cl_success || AS_EXIT(1)
2251
+ ])
2252
+ m4trace:m4/libtool.m4:811: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
2253
+ m4trace:m4/libtool.m4:822: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
2254
+ m4_case([$1],
2255
+ [C], [_LT_LANG(C)],
2256
+ [C++], [_LT_LANG(CXX)],
2257
+ [Go], [_LT_LANG(GO)],
2258
+ [Java], [_LT_LANG(GCJ)],
2259
+ [Fortran 77], [_LT_LANG(F77)],
2260
+ [Fortran], [_LT_LANG(FC)],
2261
+ [Windows Resource], [_LT_LANG(RC)],
2262
+ [m4_ifdef([_LT_LANG_]$1[_CONFIG],
2263
+ [_LT_LANG($1)],
2264
+ [m4_fatal([$0: unsupported language: "$1"])])])dnl
2265
+ ])
2266
+ m4trace:m4/libtool.m4:914: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2267
+ m4trace:m4/libtool.m4:914: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
2268
+ You should run autoupdate.])dnl
2269
+ LT_LANG(C++)])
2270
+ m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2271
+ m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
2272
+ You should run autoupdate.])dnl
2273
+ LT_LANG(Fortran 77)])
2274
+ m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2275
+ m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
2276
+ You should run autoupdate.])dnl
2277
+ LT_LANG(Fortran)])
2278
+ m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2279
+ m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
2280
+ You should run autoupdate.])dnl
2281
+ LT_LANG(Java)])
2282
+ m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
2283
+ m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete.
2284
+ You should run autoupdate.])dnl
2285
+ LT_LANG(Windows Resource)])
2286
+ m4trace:m4/libtool.m4:1246: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot])
2287
+ AC_ARG_WITH([sysroot],
2288
+ [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
2289
+ [Search for dependent libraries within DIR (or the compiler's sysroot
2290
+ if not specified).])],
2291
+ [], [with_sysroot=no])
2292
+
2293
+ dnl lt_sysroot will always be passed unquoted. We quote it here
2294
+ dnl in case the user passed a directory name.
2295
+ lt_sysroot=
2296
+ case $with_sysroot in #(
2297
+ yes)
2298
+ if test yes = "$GCC"; then
2299
+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
2300
+ fi
2301
+ ;; #(
2302
+ /*)
2303
+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
2304
+ ;; #(
2305
+ no|'')
2306
+ ;; #(
2307
+ *)
2308
+ AC_MSG_RESULT([$with_sysroot])
2309
+ AC_MSG_ERROR([The sysroot must be an absolute path.])
2310
+ ;;
2311
+ esac
2312
+
2313
+ AC_MSG_RESULT([${lt_sysroot:-no}])
2314
+ _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
2315
+ [dependent libraries, and where our libraries should be installed.])])
2316
+ m4trace:m4/libtool.m4:1577: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2317
+ m4_require([_LT_DECL_SED])dnl
2318
+ AC_CACHE_CHECK([$1], [$2],
2319
+ [$2=no
2320
+ m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2321
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2322
+ lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
2323
+ # Insert the option either (1) after the last *FLAGS variable, or
2324
+ # (2) before a word containing "conftest.", or (3) at the end.
2325
+ # Note that $ac_compile itself does not contain backslashes and begins
2326
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
2327
+ # The option is referenced via a variable to avoid confusing sed.
2328
+ lt_compile=`echo "$ac_compile" | $SED \
2329
+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2330
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2331
+ -e 's:$: $lt_compiler_flag:'`
2332
+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2333
+ (eval "$lt_compile" 2>conftest.err)
2334
+ ac_status=$?
2335
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2336
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2337
+ if (exit $ac_status) && test -s "$ac_outfile"; then
2338
+ # The compiler can only warn and ignore the option if not recognized
2339
+ # So say no if there are warnings other than the usual output.
2340
+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
2341
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2342
+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2343
+ $2=yes
2344
+ fi
2345
+ fi
2346
+ $RM conftest*
2347
+ ])
2348
+
2349
+ if test yes = "[$]$2"; then
2350
+ m4_if([$5], , :, [$5])
2351
+ else
2352
+ m4_if([$6], , :, [$6])
2353
+ fi
2354
+ ])
2355
+ m4trace:m4/libtool.m4:1619: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2356
+ m4trace:m4/libtool.m4:1619: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
2357
+ You should run autoupdate.])dnl
2358
+ m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2359
+ m4trace:m4/libtool.m4:1628: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2360
+ m4_require([_LT_DECL_SED])dnl
2361
+ AC_CACHE_CHECK([$1], [$2],
2362
+ [$2=no
2363
+ save_LDFLAGS=$LDFLAGS
2364
+ LDFLAGS="$LDFLAGS $3"
2365
+ echo "$lt_simple_link_test_code" > conftest.$ac_ext
2366
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2367
+ # The linker can only warn and ignore the option if not recognized
2368
+ # So say no if there are warnings
2369
+ if test -s conftest.err; then
2370
+ # Append any errors to the config.log.
2371
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
2372
+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
2373
+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2374
+ if diff conftest.exp conftest.er2 >/dev/null; then
2375
+ $2=yes
2376
+ fi
2377
+ else
2378
+ $2=yes
2379
+ fi
2380
+ fi
2381
+ $RM -r conftest*
2382
+ LDFLAGS=$save_LDFLAGS
2383
+ ])
2384
+
2385
+ if test yes = "[$]$2"; then
2386
+ m4_if([$4], , :, [$4])
2387
+ else
2388
+ m4_if([$5], , :, [$5])
2389
+ fi
2390
+ ])
2391
+ m4trace:m4/libtool.m4:1663: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2392
+ m4trace:m4/libtool.m4:1663: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
2393
+ You should run autoupdate.])dnl
2394
+ m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2395
+ m4trace:m4/libtool.m4:1670: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2396
+ # find the maximum length of command line arguments
2397
+ AC_MSG_CHECKING([the maximum length of command line arguments])
2398
+ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2399
+ i=0
2400
+ teststring=ABCD
2401
+
2402
+ case $build_os in
2403
+ msdosdjgpp*)
2404
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
2405
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
2406
+ # during glob expansion). Even if it were fixed, the result of this
2407
+ # check would be larger than it should be.
2408
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
2409
+ ;;
2410
+
2411
+ gnu*)
2412
+ # Under GNU Hurd, this test is not required because there is
2413
+ # no limit to the length of command line arguments.
2414
+ # Libtool will interpret -1 as no limit whatsoever
2415
+ lt_cv_sys_max_cmd_len=-1;
2416
+ ;;
2417
+
2418
+ cygwin* | mingw* | cegcc*)
2419
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
2420
+ # about 5 minutes as the teststring grows exponentially.
2421
+ # Worse, since 9x/ME are not pre-emptively multitasking,
2422
+ # you end up with a "frozen" computer, even though with patience
2423
+ # the test eventually succeeds (with a max line length of 256k).
2424
+ # Instead, let's just punt: use the minimum linelength reported by
2425
+ # all of the supported platforms: 8192 (on NT/2K/XP).
2426
+ lt_cv_sys_max_cmd_len=8192;
2427
+ ;;
2428
+
2429
+ mint*)
2430
+ # On MiNT this can take a long time and run out of memory.
2431
+ lt_cv_sys_max_cmd_len=8192;
2432
+ ;;
2433
+
2434
+ amigaos*)
2435
+ # On AmigaOS with pdksh, this test takes hours, literally.
2436
+ # So we just punt and use a minimum line length of 8192.
2437
+ lt_cv_sys_max_cmd_len=8192;
2438
+ ;;
2439
+
2440
+ bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
2441
+ # This has been around since 386BSD, at least. Likely further.
2442
+ if test -x /sbin/sysctl; then
2443
+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2444
+ elif test -x /usr/sbin/sysctl; then
2445
+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2446
+ else
2447
+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2448
+ fi
2449
+ # And add a safety zone
2450
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2451
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2452
+ ;;
2453
+
2454
+ interix*)
2455
+ # We know the value 262144 and hardcode it with a safety zone (like BSD)
2456
+ lt_cv_sys_max_cmd_len=196608
2457
+ ;;
2458
+
2459
+ os2*)
2460
+ # The test takes a long time on OS/2.
2461
+ lt_cv_sys_max_cmd_len=8192
2462
+ ;;
2463
+
2464
+ osf*)
2465
+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2466
+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2467
+ # nice to cause kernel panics so lets avoid the loop below.
2468
+ # First set a reasonable default.
2469
+ lt_cv_sys_max_cmd_len=16384
2470
+ #
2471
+ if test -x /sbin/sysconfig; then
2472
+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2473
+ *1*) lt_cv_sys_max_cmd_len=-1 ;;
2474
+ esac
2475
+ fi
2476
+ ;;
2477
+ sco3.2v5*)
2478
+ lt_cv_sys_max_cmd_len=102400
2479
+ ;;
2480
+ sysv5* | sco5v6* | sysv4.2uw2*)
2481
+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2482
+ if test -n "$kargmax"; then
2483
+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2484
+ else
2485
+ lt_cv_sys_max_cmd_len=32768
2486
+ fi
2487
+ ;;
2488
+ *)
2489
+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2490
+ if test -n "$lt_cv_sys_max_cmd_len" && \
2491
+ test undefined != "$lt_cv_sys_max_cmd_len"; then
2492
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2493
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2494
+ else
2495
+ # Make teststring a little bigger before we do anything with it.
2496
+ # a 1K string should be a reasonable start.
2497
+ for i in 1 2 3 4 5 6 7 8; do
2498
+ teststring=$teststring$teststring
2499
+ done
2500
+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
2501
+ # If test is not a shell built-in, we'll probably end up computing a
2502
+ # maximum length that is only half of the actual maximum length, but
2503
+ # we can't tell.
2504
+ while { test X`env echo "$teststring$teststring" 2>/dev/null` \
2505
+ = "X$teststring$teststring"; } >/dev/null 2>&1 &&
2506
+ test 17 != "$i" # 1/2 MB should be enough
2507
+ do
2508
+ i=`expr $i + 1`
2509
+ teststring=$teststring$teststring
2510
+ done
2511
+ # Only check the string length outside the loop.
2512
+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
2513
+ teststring=
2514
+ # Add a significant safety factor because C++ compilers can tack on
2515
+ # massive amounts of additional arguments before passing them to the
2516
+ # linker. It appears as though 1/2 is a usable value.
2517
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
2518
+ fi
2519
+ ;;
2520
+ esac
2521
+ ])
2522
+ if test -n "$lt_cv_sys_max_cmd_len"; then
2523
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
2524
+ else
2525
+ AC_MSG_RESULT(none)
2526
+ fi
2527
+ max_cmd_len=$lt_cv_sys_max_cmd_len
2528
+ _LT_DECL([], [max_cmd_len], [0],
2529
+ [What is the maximum length of a command?])
2530
+ ])
2531
+ m4trace:m4/libtool.m4:1809: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
2532
+ m4trace:m4/libtool.m4:1809: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
2533
+ You should run autoupdate.])dnl
2534
+ m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
2535
+ m4trace:m4/libtool.m4:1920: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
2536
+ if test yes != "$enable_dlopen"; then
2537
+ enable_dlopen=unknown
2538
+ enable_dlopen_self=unknown
2539
+ enable_dlopen_self_static=unknown
2540
+ else
2541
+ lt_cv_dlopen=no
2542
+ lt_cv_dlopen_libs=
2543
+
2544
+ case $host_os in
2545
+ beos*)
2546
+ lt_cv_dlopen=load_add_on
2547
+ lt_cv_dlopen_libs=
2548
+ lt_cv_dlopen_self=yes
2549
+ ;;
2550
+
2551
+ mingw* | pw32* | cegcc*)
2552
+ lt_cv_dlopen=LoadLibrary
2553
+ lt_cv_dlopen_libs=
2554
+ ;;
2555
+
2556
+ cygwin*)
2557
+ lt_cv_dlopen=dlopen
2558
+ lt_cv_dlopen_libs=
2559
+ ;;
2560
+
2561
+ darwin*)
2562
+ # if libdl is installed we need to link against it
2563
+ AC_CHECK_LIB([dl], [dlopen],
2564
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
2565
+ lt_cv_dlopen=dyld
2566
+ lt_cv_dlopen_libs=
2567
+ lt_cv_dlopen_self=yes
2568
+ ])
2569
+ ;;
2570
+
2571
+ tpf*)
2572
+ # Don't try to run any link tests for TPF. We know it's impossible
2573
+ # because TPF is a cross-compiler, and we know how we open DSOs.
2574
+ lt_cv_dlopen=dlopen
2575
+ lt_cv_dlopen_libs=
2576
+ lt_cv_dlopen_self=no
2577
+ ;;
2578
+
2579
+ *)
2580
+ AC_CHECK_FUNC([shl_load],
2581
+ [lt_cv_dlopen=shl_load],
2582
+ [AC_CHECK_LIB([dld], [shl_load],
2583
+ [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
2584
+ [AC_CHECK_FUNC([dlopen],
2585
+ [lt_cv_dlopen=dlopen],
2586
+ [AC_CHECK_LIB([dl], [dlopen],
2587
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
2588
+ [AC_CHECK_LIB([svld], [dlopen],
2589
+ [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
2590
+ [AC_CHECK_LIB([dld], [dld_link],
2591
+ [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
2592
+ ])
2593
+ ])
2594
+ ])
2595
+ ])
2596
+ ])
2597
+ ;;
2598
+ esac
2599
+
2600
+ if test no = "$lt_cv_dlopen"; then
2601
+ enable_dlopen=no
2602
+ else
2603
+ enable_dlopen=yes
2604
+ fi
2605
+
2606
+ case $lt_cv_dlopen in
2607
+ dlopen)
2608
+ save_CPPFLAGS=$CPPFLAGS
2609
+ test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2610
+
2611
+ save_LDFLAGS=$LDFLAGS
2612
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2613
+
2614
+ save_LIBS=$LIBS
2615
+ LIBS="$lt_cv_dlopen_libs $LIBS"
2616
+
2617
+ AC_CACHE_CHECK([whether a program can dlopen itself],
2618
+ lt_cv_dlopen_self, [dnl
2619
+ _LT_TRY_DLOPEN_SELF(
2620
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2621
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2622
+ ])
2623
+
2624
+ if test yes = "$lt_cv_dlopen_self"; then
2625
+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2626
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2627
+ lt_cv_dlopen_self_static, [dnl
2628
+ _LT_TRY_DLOPEN_SELF(
2629
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2630
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2631
+ ])
2632
+ fi
2633
+
2634
+ CPPFLAGS=$save_CPPFLAGS
2635
+ LDFLAGS=$save_LDFLAGS
2636
+ LIBS=$save_LIBS
2637
+ ;;
2638
+ esac
2639
+
2640
+ case $lt_cv_dlopen_self in
2641
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2642
+ *) enable_dlopen_self=unknown ;;
2643
+ esac
2644
+
2645
+ case $lt_cv_dlopen_self_static in
2646
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2647
+ *) enable_dlopen_self_static=unknown ;;
2648
+ esac
2649
+ fi
2650
+ _LT_DECL([dlopen_support], [enable_dlopen], [0],
2651
+ [Whether dlopen is supported])
2652
+ _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
2653
+ [Whether dlopen of programs is supported])
2654
+ _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
2655
+ [Whether dlopen of statically linked programs is supported])
2656
+ ])
2657
+ m4trace:m4/libtool.m4:2045: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
2658
+ m4trace:m4/libtool.m4:2045: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
2659
+ You should run autoupdate.])dnl
2660
+ m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
2661
+ m4trace:m4/libtool.m4:3166: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
2662
+ AC_MSG_CHECKING([for $1])
2663
+ AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2664
+ [case $MAGIC_CMD in
2665
+ [[\\/*] | ?:[\\/]*])
2666
+ lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
2667
+ ;;
2668
+ *)
2669
+ lt_save_MAGIC_CMD=$MAGIC_CMD
2670
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2671
+ dnl $ac_dummy forces splitting on constant user-supplied paths.
2672
+ dnl POSIX.2 word splitting is done only on the output of word expansions,
2673
+ dnl not every word. This closes a longstanding sh security hole.
2674
+ ac_dummy="m4_if([$2], , $PATH, [$2])"
2675
+ for ac_dir in $ac_dummy; do
2676
+ IFS=$lt_save_ifs
2677
+ test -z "$ac_dir" && ac_dir=.
2678
+ if test -f "$ac_dir/$1"; then
2679
+ lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
2680
+ if test -n "$file_magic_test_file"; then
2681
+ case $deplibs_check_method in
2682
+ "file_magic "*)
2683
+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2684
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2685
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2686
+ $EGREP "$file_magic_regex" > /dev/null; then
2687
+ :
2688
+ else
2689
+ cat <<_LT_EOF 1>&2
2690
+
2691
+ *** Warning: the command libtool uses to detect shared libraries,
2692
+ *** $file_magic_cmd, produces output that libtool cannot recognize.
2693
+ *** The result is that libtool may fail to recognize shared libraries
2694
+ *** as such. This will affect the creation of libtool libraries that
2695
+ *** depend on shared libraries, but programs linked with such libtool
2696
+ *** libraries will work regardless of this problem. Nevertheless, you
2697
+ *** may want to report the problem to your system manager and/or to
2698
+ *** bug-libtool@gnu.org
2699
+
2700
+ _LT_EOF
2701
+ fi ;;
2702
+ esac
2703
+ fi
2704
+ break
2705
+ fi
2706
+ done
2707
+ IFS=$lt_save_ifs
2708
+ MAGIC_CMD=$lt_save_MAGIC_CMD
2709
+ ;;
2710
+ esac])
2711
+ MAGIC_CMD=$lt_cv_path_MAGIC_CMD
2712
+ if test -n "$MAGIC_CMD"; then
2713
+ AC_MSG_RESULT($MAGIC_CMD)
2714
+ else
2715
+ AC_MSG_RESULT(no)
2716
+ fi
2717
+ _LT_DECL([], [MAGIC_CMD], [0],
2718
+ [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2719
+ ])
2720
+ m4trace:m4/libtool.m4:3228: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2721
+ m4trace:m4/libtool.m4:3228: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
2722
+ You should run autoupdate.])dnl
2723
+ m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2724
+ m4trace:m4/libtool.m4:3251: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
2725
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
2726
+ AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2727
+ m4_require([_LT_DECL_SED])dnl
2728
+ m4_require([_LT_DECL_EGREP])dnl
2729
+ m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
2730
+
2731
+ AC_ARG_WITH([gnu-ld],
2732
+ [AS_HELP_STRING([--with-gnu-ld],
2733
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2734
+ [test no = "$withval" || with_gnu_ld=yes],
2735
+ [with_gnu_ld=no])dnl
2736
+
2737
+ ac_prog=ld
2738
+ if test yes = "$GCC"; then
2739
+ # Check if gcc -print-prog-name=ld gives a path.
2740
+ AC_MSG_CHECKING([for ld used by $CC])
2741
+ case $host in
2742
+ *-*-mingw*)
2743
+ # gcc leaves a trailing carriage return, which upsets mingw
2744
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2745
+ *)
2746
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2747
+ esac
2748
+ case $ac_prog in
2749
+ # Accept absolute paths.
2750
+ [[\\/]]* | ?:[[\\/]]*)
2751
+ re_direlt='/[[^/]][[^/]]*/\.\./'
2752
+ # Canonicalize the pathname of ld
2753
+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
2754
+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
2755
+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
2756
+ done
2757
+ test -z "$LD" && LD=$ac_prog
2758
+ ;;
2759
+ "")
2760
+ # If it fails, then pretend we aren't using GCC.
2761
+ ac_prog=ld
2762
+ ;;
2763
+ *)
2764
+ # If it is relative, then search for the first ld in PATH.
2765
+ with_gnu_ld=unknown
2766
+ ;;
2767
+ esac
2768
+ elif test yes = "$with_gnu_ld"; then
2769
+ AC_MSG_CHECKING([for GNU ld])
2770
+ else
2771
+ AC_MSG_CHECKING([for non-GNU ld])
2772
+ fi
2773
+ AC_CACHE_VAL(lt_cv_path_LD,
2774
+ [if test -z "$LD"; then
2775
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2776
+ for ac_dir in $PATH; do
2777
+ IFS=$lt_save_ifs
2778
+ test -z "$ac_dir" && ac_dir=.
2779
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2780
+ lt_cv_path_LD=$ac_dir/$ac_prog
2781
+ # Check to see if the program is GNU ld. I'd rather use --version,
2782
+ # but apparently some variants of GNU ld only accept -v.
2783
+ # Break only if it was the GNU/non-GNU ld that we prefer.
2784
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2785
+ *GNU* | *'with BFD'*)
2786
+ test no != "$with_gnu_ld" && break
2787
+ ;;
2788
+ *)
2789
+ test yes != "$with_gnu_ld" && break
2790
+ ;;
2791
+ esac
2792
+ fi
2793
+ done
2794
+ IFS=$lt_save_ifs
2795
+ else
2796
+ lt_cv_path_LD=$LD # Let the user override the test with a path.
2797
+ fi])
2798
+ LD=$lt_cv_path_LD
2799
+ if test -n "$LD"; then
2800
+ AC_MSG_RESULT($LD)
2801
+ else
2802
+ AC_MSG_RESULT(no)
2803
+ fi
2804
+ test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2805
+ _LT_PATH_LD_GNU
2806
+ AC_SUBST([LD])
2807
+
2808
+ _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
2809
+ ])
2810
+ m4trace:m4/libtool.m4:3340: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2811
+ m4trace:m4/libtool.m4:3340: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
2812
+ You should run autoupdate.])dnl
2813
+ m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2814
+ m4trace:m4/libtool.m4:3341: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2815
+ m4trace:m4/libtool.m4:3341: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
2816
+ You should run autoupdate.])dnl
2817
+ m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2818
+ m4trace:m4/libtool.m4:3670: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
2819
+ AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
2820
+ [if test -n "$NM"; then
2821
+ # Let the user override the test.
2822
+ lt_cv_path_NM=$NM
2823
+ else
2824
+ lt_nm_to_check=${ac_tool_prefix}nm
2825
+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2826
+ lt_nm_to_check="$lt_nm_to_check nm"
2827
+ fi
2828
+ for lt_tmp_nm in $lt_nm_to_check; do
2829
+ lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
2830
+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2831
+ IFS=$lt_save_ifs
2832
+ test -z "$ac_dir" && ac_dir=.
2833
+ tmp_nm=$ac_dir/$lt_tmp_nm
2834
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
2835
+ # Check to see if the nm accepts a BSD-compat flag.
2836
+ # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
2837
+ # nm: unknown option "B" ignored
2838
+ # Tru64's nm complains that /dev/null is an invalid object file
2839
+ # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
2840
+ case $build_os in
2841
+ mingw*) lt_bad_file=conftest.nm/nofile ;;
2842
+ *) lt_bad_file=/dev/null ;;
2843
+ esac
2844
+ case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
2845
+ *$lt_bad_file* | *'Invalid file or object type'*)
2846
+ lt_cv_path_NM="$tmp_nm -B"
2847
+ break 2
2848
+ ;;
2849
+ *)
2850
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2851
+ */dev/null*)
2852
+ lt_cv_path_NM="$tmp_nm -p"
2853
+ break 2
2854
+ ;;
2855
+ *)
2856
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2857
+ continue # so that we can try to find one that supports BSD flags
2858
+ ;;
2859
+ esac
2860
+ ;;
2861
+ esac
2862
+ fi
2863
+ done
2864
+ IFS=$lt_save_ifs
2865
+ done
2866
+ : ${lt_cv_path_NM=no}
2867
+ fi])
2868
+ if test no != "$lt_cv_path_NM"; then
2869
+ NM=$lt_cv_path_NM
2870
+ else
2871
+ # Didn't find any BSD compatible name lister, look for dumpbin.
2872
+ if test -n "$DUMPBIN"; then :
2873
+ # Let the user override the test.
2874
+ else
2875
+ AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
2876
+ case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
2877
+ *COFF*)
2878
+ DUMPBIN="$DUMPBIN -symbols -headers"
2879
+ ;;
2880
+ *)
2881
+ DUMPBIN=:
2882
+ ;;
2883
+ esac
2884
+ fi
2885
+ AC_SUBST([DUMPBIN])
2886
+ if test : != "$DUMPBIN"; then
2887
+ NM=$DUMPBIN
2888
+ fi
2889
+ fi
2890
+ test -z "$NM" && NM=nm
2891
+ AC_SUBST([NM])
2892
+ _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
2893
+
2894
+ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
2895
+ [lt_cv_nm_interface="BSD nm"
2896
+ echo "int some_variable = 0;" > conftest.$ac_ext
2897
+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
2898
+ (eval "$ac_compile" 2>conftest.err)
2899
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2900
+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
2901
+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
2902
+ cat conftest.err >&AS_MESSAGE_LOG_FD
2903
+ (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
2904
+ cat conftest.out >&AS_MESSAGE_LOG_FD
2905
+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then
2906
+ lt_cv_nm_interface="MS dumpbin"
2907
+ fi
2908
+ rm -f conftest*])
2909
+ ])
2910
+ m4trace:m4/libtool.m4:3765: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2911
+ m4trace:m4/libtool.m4:3765: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
2912
+ You should run autoupdate.])dnl
2913
+ m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2914
+ m4trace:m4/libtool.m4:3766: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2915
+ m4trace:m4/libtool.m4:3766: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
2916
+ You should run autoupdate.])dnl
2917
+ m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2918
+ m4trace:m4/libtool.m4:3837: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl
2919
+ test DEF = "`$SED -n dnl
2920
+ -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace
2921
+ -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments
2922
+ -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl
2923
+ -e q dnl Only consider the first "real" line
2924
+ $1`" dnl
2925
+ ])
2926
+ m4trace:m4/libtool.m4:3851: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2927
+ LIBM=
2928
+ case $host in
2929
+ *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
2930
+ # These system don't have libm, or don't need it
2931
+ ;;
2932
+ *-ncr-sysv4.3*)
2933
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
2934
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2935
+ ;;
2936
+ *)
2937
+ AC_CHECK_LIB(m, cos, LIBM=-lm)
2938
+ ;;
2939
+ esac
2940
+ AC_SUBST([LIBM])
2941
+ ])
2942
+ m4trace:m4/libtool.m4:3870: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2943
+ m4trace:m4/libtool.m4:3870: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
2944
+ You should run autoupdate.])dnl
2945
+ m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2946
+ m4trace:m4/libtool.m4:8140: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
2947
+ [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
2948
+ [AC_CHECK_TOOL(GCJ, gcj,)
2949
+ test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
2950
+ AC_SUBST(GCJFLAGS)])])[]dnl
2951
+ ])
2952
+ m4trace:m4/libtool.m4:8149: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2953
+ m4trace:m4/libtool.m4:8149: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
2954
+ You should run autoupdate.])dnl
2955
+ m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2956
+ m4trace:m4/libtool.m4:8156: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,)
2957
+ ])
2958
+ m4trace:m4/libtool.m4:8163: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
2959
+ ])
2960
+ m4trace:m4/libtool.m4:8168: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2961
+ m4trace:m4/libtool.m4:8168: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
2962
+ You should run autoupdate.])dnl
2963
+ m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2964
+ m4trace:m4/libtool.m4:8288: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2965
+ m4trace:m4/libtool.m4:8288: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
2966
+ You should run autoupdate.])dnl
2967
+ m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2968
+ m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
2969
+ m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
2970
+ AC_DIAGNOSE([obsolete],
2971
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2972
+ put the 'dlopen' option into LT_INIT's first parameter.])
2973
+ ])
2974
+ m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
2975
+ You should run autoupdate.])dnl
2976
+ _LT_SET_OPTION([LT_INIT], [dlopen])
2977
+ AC_DIAGNOSE([obsolete],
2978
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2979
+ put the 'dlopen' option into LT_INIT's first parameter.])
2980
+ ])
2981
+ m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2982
+ _LT_SET_OPTION([LT_INIT], [win32-dll])
2983
+ AC_DIAGNOSE([obsolete],
2984
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2985
+ put the 'win32-dll' option into LT_INIT's first parameter.])
2986
+ ])
2987
+ m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
2988
+ You should run autoupdate.])dnl
2989
+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
2990
+ _LT_SET_OPTION([LT_INIT], [win32-dll])
2991
+ AC_DIAGNOSE([obsolete],
2992
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
2993
+ put the 'win32-dll' option into LT_INIT's first parameter.])
2994
+ ])
2995
+ m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
2996
+ ])
2997
+ m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
2998
+ ])
2999
+ m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
3000
+ m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
3001
+ You should run autoupdate.])dnl
3002
+ AC_ENABLE_SHARED($@)])
3003
+ m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
3004
+ m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
3005
+ You should run autoupdate.])dnl
3006
+ AC_DISABLE_SHARED($@)])
3007
+ m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
3008
+ ])
3009
+ m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
3010
+ ])
3011
+ m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
3012
+ m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
3013
+ You should run autoupdate.])dnl
3014
+ AC_ENABLE_STATIC($@)])
3015
+ m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
3016
+ m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
3017
+ You should run autoupdate.])dnl
3018
+ AC_DISABLE_STATIC($@)])
3019
+ m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3020
+ AC_DIAGNOSE([obsolete],
3021
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3022
+ the 'fast-install' option into LT_INIT's first parameter.])
3023
+ ])
3024
+ m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
3025
+ You should run autoupdate.])dnl
3026
+ _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3027
+ AC_DIAGNOSE([obsolete],
3028
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3029
+ the 'fast-install' option into LT_INIT's first parameter.])
3030
+ ])
3031
+ m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
3032
+ AC_DIAGNOSE([obsolete],
3033
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3034
+ the 'disable-fast-install' option into LT_INIT's first parameter.])
3035
+ ])
3036
+ m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
3037
+ You should run autoupdate.])dnl
3038
+ _LT_SET_OPTION([LT_INIT], [disable-fast-install])
3039
+ AC_DIAGNOSE([obsolete],
3040
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3041
+ the 'disable-fast-install' option into LT_INIT's first parameter.])
3042
+ ])
3043
+ m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
3044
+ AC_DIAGNOSE([obsolete],
3045
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
3046
+ put the 'pic-only' option into LT_INIT's first parameter.])
3047
+ ])
3048
+ m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
3049
+ You should run autoupdate.])dnl
3050
+ _LT_SET_OPTION([LT_INIT], [pic-only])
3051
+ AC_DIAGNOSE([obsolete],
3052
+ [$0: Remove this warning and the call to _LT_SET_OPTION when you
3053
+ put the 'pic-only' option into LT_INIT's first parameter.])
3054
+ ])
3055
+ m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
3056
+ m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6'
3057
+ macro_revision='2.4.6'
3058
+ _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
3059
+ _LT_DECL(, macro_revision, 0)
3060
+ ])
3061
+ m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
3062
+ m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
3063
+ m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
3064
+ m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
3065
+ m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR])
3066
+ m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
3067
+ m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN])
3068
+ m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
3069
+ m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK])
3070
+ m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
3071
+ m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
3072
+ m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
3073
+ m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
3074
+ m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
3075
+ m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR])
3076
+ m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
3077
+ m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
3078
+ m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC])
3079
+ m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU])
3080
+ m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
3081
+ m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
3082
+ m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
3083
+ m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
3084
+ m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
3085
+ m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
3086
+ m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
3087
+ m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP])
3088
+ m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
3089
+ m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
3090
+ m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
3091
+ m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
3092
+ m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
3093
+ m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX])
3094
+ m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77])
3095
+ m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
3096
+ m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
3097
+ m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
3098
+ m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
3099
+ m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
3100
+ m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
3101
+ m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
3102
+ m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
3103
+ m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
3104
+ m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
3105
+ m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
3106
+ m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
3107
+ m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
3108
+ m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP])
3109
+ m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77])
3110
+ m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC])
3111
+ m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX])
3112
+ m4trace:acinclude.m4:3: -1- AC_DEFUN([AC_FUNC_MMAP_BLACKLIST], [
3113
+ AC_CHECK_HEADER([sys/mman.h],
3114
+ [libffi_header_sys_mman_h=yes], [libffi_header_sys_mman_h=no])
3115
+ AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
3116
+ if test "$libffi_header_sys_mman_h" != yes \
3117
+ || test "$libffi_func_mmap" != yes; then
3118
+ ac_cv_func_mmap_file=no
3119
+ ac_cv_func_mmap_dev_zero=no
3120
+ ac_cv_func_mmap_anon=no
3121
+ else
3122
+ AC_CACHE_CHECK([whether read-only mmap of a plain file works],
3123
+ ac_cv_func_mmap_file,
3124
+ [# Add a system to this blacklist if
3125
+ # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
3126
+ # memory area containing the same data that you'd get if you applied
3127
+ # read() to the same fd. The only system known to have a problem here
3128
+ # is VMS, where text files have record structure.
3129
+ case "$host_os" in
3130
+ vms* | ultrix*)
3131
+ ac_cv_func_mmap_file=no ;;
3132
+ *)
3133
+ ac_cv_func_mmap_file=yes;;
3134
+ esac])
3135
+ AC_CACHE_CHECK([whether mmap from /dev/zero works],
3136
+ ac_cv_func_mmap_dev_zero,
3137
+ [# Add a system to this blacklist if it has mmap() but /dev/zero
3138
+ # does not exist, or if mmapping /dev/zero does not give anonymous
3139
+ # zeroed pages with both the following properties:
3140
+ # 1. If you map N consecutive pages in with one call, and then
3141
+ # unmap any subset of those pages, the pages that were not
3142
+ # explicitly unmapped remain accessible.
3143
+ # 2. If you map two adjacent blocks of memory and then unmap them
3144
+ # both at once, they must both go away.
3145
+ # Systems known to be in this category are Windows (all variants),
3146
+ # VMS, and Darwin.
3147
+ case "$host_os" in
3148
+ vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)
3149
+ ac_cv_func_mmap_dev_zero=no ;;
3150
+ *)
3151
+ ac_cv_func_mmap_dev_zero=yes;;
3152
+ esac])
3153
+
3154
+ # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
3155
+ AC_CACHE_CHECK([for MAP_ANON(YMOUS)], ac_cv_decl_map_anon,
3156
+ [AC_TRY_COMPILE(
3157
+ [#include <sys/types.h>
3158
+ #include <sys/mman.h>
3159
+ #include <unistd.h>
3160
+
3161
+ #ifndef MAP_ANONYMOUS
3162
+ #define MAP_ANONYMOUS MAP_ANON
3163
+ #endif
3164
+ ],
3165
+ [int n = MAP_ANONYMOUS;],
3166
+ ac_cv_decl_map_anon=yes,
3167
+ ac_cv_decl_map_anon=no)])
3168
+
3169
+ if test $ac_cv_decl_map_anon = no; then
3170
+ ac_cv_func_mmap_anon=no
3171
+ else
3172
+ AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
3173
+ ac_cv_func_mmap_anon,
3174
+ [# Add a system to this blacklist if it has mmap() and MAP_ANON or
3175
+ # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
3176
+ # doesn't give anonymous zeroed pages with the same properties listed
3177
+ # above for use of /dev/zero.
3178
+ # Systems known to be in this category are Windows, VMS, and SCO Unix.
3179
+ case "$host_os" in
3180
+ vms* | cygwin* | pe | mingw* | sco* | udk* )
3181
+ ac_cv_func_mmap_anon=no ;;
3182
+ *)
3183
+ ac_cv_func_mmap_anon=yes;;
3184
+ esac])
3185
+ fi
3186
+ fi
3187
+
3188
+ if test $ac_cv_func_mmap_file = yes; then
3189
+ AC_DEFINE(HAVE_MMAP_FILE, 1,
3190
+ [Define if read-only mmap of a plain file works.])
3191
+ fi
3192
+ if test $ac_cv_func_mmap_dev_zero = yes; then
3193
+ AC_DEFINE(HAVE_MMAP_DEV_ZERO, 1,
3194
+ [Define if mmap of /dev/zero works.])
3195
+ fi
3196
+ if test $ac_cv_func_mmap_anon = yes; then
3197
+ AC_DEFINE(HAVE_MMAP_ANON, 1,
3198
+ [Define if mmap with MAP_ANON(YMOUS) works.])
3199
+ fi
3200
+ ])
3201
+ m4trace:acinclude.m4:149: -1- AC_DEFUN([LIBFFI_CHECK_LINKER_FEATURES], [
3202
+ # If we're not using GNU ld, then there's no point in even trying these
3203
+ # tests. Check for that first. We should have already tested for gld
3204
+ # by now (in libtool), but require it now just to be safe...
3205
+ test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
3206
+ test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
3207
+ AC_REQUIRE([AC_PROG_LD])
3208
+ AC_REQUIRE([AC_PROG_AWK])
3209
+
3210
+ # The name set by libtool depends on the version of libtool. Shame on us
3211
+ # for depending on an impl detail, but c'est la vie. Older versions used
3212
+ # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
3213
+ # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
3214
+ # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
3215
+ # set (hence we're using an older libtool), then set it.
3216
+ if test x${with_gnu_ld+set} != xset; then
3217
+ if test x${ac_cv_prog_gnu_ld+set} != xset; then
3218
+ # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
3219
+ with_gnu_ld=no
3220
+ else
3221
+ with_gnu_ld=$ac_cv_prog_gnu_ld
3222
+ fi
3223
+ fi
3224
+
3225
+ # Start by getting the version number. I think the libtool test already
3226
+ # does some of this, but throws away the result.
3227
+ libat_ld_is_gold=no
3228
+ if $LD --version 2>/dev/null | grep 'GNU gold'> /dev/null 2>&1; then
3229
+ libat_ld_is_gold=yes
3230
+ fi
3231
+ changequote(,)
3232
+ ldver=`$LD --version 2>/dev/null |
3233
+ sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
3234
+ changequote([,])
3235
+ libat_gnu_ld_version=`echo $ldver | \
3236
+ $AWK -F. '{ if (NF<3) [$]3=0; print ([$]1*100+[$]2)*100+[$]3 }'`
3237
+
3238
+ # Set --gc-sections.
3239
+ if test "$with_gnu_ld" = "notbroken"; then
3240
+ # GNU ld it is! Joy and bunny rabbits!
3241
+
3242
+ # All these tests are for C++; save the language and the compiler flags.
3243
+ # Need to do this so that g++ won't try to link in libstdc++
3244
+ ac_test_CFLAGS="${CFLAGS+set}"
3245
+ ac_save_CFLAGS="$CFLAGS"
3246
+ CFLAGS='-x c++ -Wl,--gc-sections'
3247
+
3248
+ # Check for -Wl,--gc-sections
3249
+ # XXX This test is broken at the moment, as symbols required for linking
3250
+ # are now in libsupc++ (not built yet). In addition, this test has
3251
+ # cored on solaris in the past. In addition, --gc-sections doesn't
3252
+ # really work at the moment (keeps on discarding used sections, first
3253
+ # .eh_frame and now some of the glibc sections for iconv).
3254
+ # Bzzzzt. Thanks for playing, maybe next time.
3255
+ AC_MSG_CHECKING([for ld that supports -Wl,--gc-sections])
3256
+ AC_TRY_RUN([
3257
+ int main(void)
3258
+ {
3259
+ try { throw 1; }
3260
+ catch (...) { };
3261
+ return 0;
3262
+ }
3263
+ ], [ac_sectionLDflags=yes],[ac_sectionLDflags=no], [ac_sectionLDflags=yes])
3264
+ if test "$ac_test_CFLAGS" = set; then
3265
+ CFLAGS="$ac_save_CFLAGS"
3266
+ else
3267
+ # this is the suspicious part
3268
+ CFLAGS=''
3269
+ fi
3270
+ if test "$ac_sectionLDflags" = "yes"; then
3271
+ SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
3272
+ fi
3273
+ AC_MSG_RESULT($ac_sectionLDflags)
3274
+ fi
3275
+
3276
+ # Set linker optimization flags.
3277
+ if test x"$with_gnu_ld" = x"yes"; then
3278
+ OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
3279
+ fi
3280
+
3281
+ AC_SUBST(SECTION_LDFLAGS)
3282
+ AC_SUBST(OPT_LDFLAGS)
3283
+ ])
3284
+ m4trace:acinclude.m4:251: -1- AC_DEFUN([LIBFFI_CHECK_LINKER_FEATURES], [
3285
+ # If we're not using GNU ld, then there's no point in even trying these
3286
+ # tests. Check for that first. We should have already tested for gld
3287
+ # by now (in libtool), but require it now just to be safe...
3288
+ test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
3289
+ test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
3290
+ AC_REQUIRE([AC_PROG_LD])
3291
+ AC_REQUIRE([AC_PROG_AWK])
3292
+
3293
+ # The name set by libtool depends on the version of libtool. Shame on us
3294
+ # for depending on an impl detail, but c'est la vie. Older versions used
3295
+ # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
3296
+ # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
3297
+ # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
3298
+ # set (hence we're using an older libtool), then set it.
3299
+ if test x${with_gnu_ld+set} != xset; then
3300
+ if test x${ac_cv_prog_gnu_ld+set} != xset; then
3301
+ # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
3302
+ with_gnu_ld=no
3303
+ else
3304
+ with_gnu_ld=$ac_cv_prog_gnu_ld
3305
+ fi
3306
+ fi
3307
+
3308
+ # Start by getting the version number. I think the libtool test already
3309
+ # does some of this, but throws away the result.
3310
+ libat_ld_is_gold=no
3311
+ if $LD --version 2>/dev/null | grep 'GNU gold'> /dev/null 2>&1; then
3312
+ libat_ld_is_gold=yes
3313
+ fi
3314
+ changequote(,)
3315
+ ldver=`$LD --version 2>/dev/null |
3316
+ sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
3317
+ changequote([,])
3318
+ libat_gnu_ld_version=`echo $ldver | \
3319
+ $AWK -F. '{ if (NF<3) [$]3=0; print ([$]1*100+[$]2)*100+[$]3 }'`
3320
+
3321
+ # Set --gc-sections.
3322
+ if test "$with_gnu_ld" = "notbroken"; then
3323
+ # GNU ld it is! Joy and bunny rabbits!
3324
+
3325
+ # All these tests are for C++; save the language and the compiler flags.
3326
+ # Need to do this so that g++ won't try to link in libstdc++
3327
+ ac_test_CFLAGS="${CFLAGS+set}"
3328
+ ac_save_CFLAGS="$CFLAGS"
3329
+ CFLAGS='-x c++ -Wl,--gc-sections'
3330
+
3331
+ # Check for -Wl,--gc-sections
3332
+ # XXX This test is broken at the moment, as symbols required for linking
3333
+ # are now in libsupc++ (not built yet). In addition, this test has
3334
+ # cored on solaris in the past. In addition, --gc-sections doesn't
3335
+ # really work at the moment (keeps on discarding used sections, first
3336
+ # .eh_frame and now some of the glibc sections for iconv).
3337
+ # Bzzzzt. Thanks for playing, maybe next time.
3338
+ AC_MSG_CHECKING([for ld that supports -Wl,--gc-sections])
3339
+ AC_TRY_RUN([
3340
+ int main(void)
3341
+ {
3342
+ try { throw 1; }
3343
+ catch (...) { };
3344
+ return 0;
3345
+ }
3346
+ ], [ac_sectionLDflags=yes],[ac_sectionLDflags=no], [ac_sectionLDflags=yes])
3347
+ if test "$ac_test_CFLAGS" = set; then
3348
+ CFLAGS="$ac_save_CFLAGS"
3349
+ else
3350
+ # this is the suspicious part
3351
+ CFLAGS=''
3352
+ fi
3353
+ if test "$ac_sectionLDflags" = "yes"; then
3354
+ SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
3355
+ fi
3356
+ AC_MSG_RESULT($ac_sectionLDflags)
3357
+ fi
3358
+
3359
+ # Set linker optimization flags.
3360
+ if test x"$with_gnu_ld" = x"yes"; then
3361
+ OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
3362
+ fi
3363
+
3364
+ AC_SUBST(SECTION_LDFLAGS)
3365
+ AC_SUBST(OPT_LDFLAGS)
3366
+ ])
3367
+ m4trace:acinclude.m4:349: -1- AC_DEFUN([LIBFFI_ENABLE_SYMVERS], [
3368
+
3369
+ LIBFFI_ENABLE(symvers,yes,[=STYLE],
3370
+ [enables symbol versioning of the shared library],
3371
+ [permit yes|no|gnu*|sun])
3372
+
3373
+ # If we never went through the LIBFFI_CHECK_LINKER_FEATURES macro, then we
3374
+ # don't know enough about $LD to do tricks...
3375
+ AC_REQUIRE([LIBFFI_CHECK_LINKER_FEATURES])
3376
+
3377
+ # Turn a 'yes' into a suitable default.
3378
+ if test x$enable_symvers = xyes ; then
3379
+ # FIXME The following test is too strict, in theory.
3380
+ if test $enable_shared = no || test "x$LD" = x; then
3381
+ enable_symvers=no
3382
+ else
3383
+ if test $with_gnu_ld = yes ; then
3384
+ enable_symvers=gnu
3385
+ else
3386
+ case ${target_os} in
3387
+ # Sun symbol versioning exists since Solaris 2.5.
3388
+ solaris2.[[5-9]]* | solaris2.1[[0-9]]*)
3389
+ enable_symvers=sun ;;
3390
+ *)
3391
+ enable_symvers=no ;;
3392
+ esac
3393
+ fi
3394
+ fi
3395
+ fi
3396
+
3397
+ # Check if 'sun' was requested on non-Solaris 2 platforms.
3398
+ if test x$enable_symvers = xsun ; then
3399
+ case ${target_os} in
3400
+ solaris2*)
3401
+ # All fine.
3402
+ ;;
3403
+ *)
3404
+ # Unlikely to work.
3405
+ AC_MSG_WARN([=== You have requested Sun symbol versioning, but])
3406
+ AC_MSG_WARN([=== you are not targetting Solaris 2.])
3407
+ AC_MSG_WARN([=== Symbol versioning will be disabled.])
3408
+ enable_symvers=no
3409
+ ;;
3410
+ esac
3411
+ fi
3412
+
3413
+ # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
3414
+ if test $enable_symvers != no; then
3415
+ AC_MSG_CHECKING([for shared libgcc])
3416
+ ac_save_CFLAGS="$CFLAGS"
3417
+ CFLAGS=' -lgcc_s'
3418
+ AC_TRY_LINK(, [return 0;], libat_shared_libgcc=yes, libat_shared_libgcc=no)
3419
+ CFLAGS="$ac_save_CFLAGS"
3420
+ if test $libat_shared_libgcc = no; then
3421
+ cat > conftest.c <<EOF
3422
+ int main (void) { return 0; }
3423
+ EOF
3424
+ changequote(,)dnl
3425
+ libat_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
3426
+ -shared -shared-libgcc -o conftest.so \
3427
+ conftest.c -v 2>&1 >/dev/null \
3428
+ | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
3429
+ changequote([,])dnl
3430
+ rm -f conftest.c conftest.so
3431
+ if test x${libat_libgcc_s_suffix+set} = xset; then
3432
+ CFLAGS=" -lgcc_s$libat_libgcc_s_suffix"
3433
+ AC_TRY_LINK(, [return 0;], libat_shared_libgcc=yes)
3434
+ CFLAGS="$ac_save_CFLAGS"
3435
+ fi
3436
+ fi
3437
+ AC_MSG_RESULT($libat_shared_libgcc)
3438
+ fi
3439
+
3440
+ # For GNU ld, we need at least this version. The format is described in
3441
+ # LIBFFI_CHECK_LINKER_FEATURES above.
3442
+ libat_min_gnu_ld_version=21400
3443
+ # XXXXXXXXXXX libat_gnu_ld_version=21390
3444
+
3445
+ # Check to see if unspecified "yes" value can win, given results above.
3446
+ # Change "yes" into either "no" or a style name.
3447
+ if test $enable_symvers != no && test $libat_shared_libgcc = yes; then
3448
+ if test $with_gnu_ld = yes; then
3449
+ if test $libat_gnu_ld_version -ge $libat_min_gnu_ld_version ; then
3450
+ enable_symvers=gnu
3451
+ elif test $libat_ld_is_gold = yes ; then
3452
+ enable_symvers=gnu
3453
+ else
3454
+ # The right tools, the right setup, but too old. Fallbacks?
3455
+ AC_MSG_WARN(=== Linker version $libat_gnu_ld_version is too old for)
3456
+ AC_MSG_WARN(=== full symbol versioning support in this release of GCC.)
3457
+ AC_MSG_WARN(=== You would need to upgrade your binutils to version)
3458
+ AC_MSG_WARN(=== $libat_min_gnu_ld_version or later and rebuild GCC.)
3459
+ if test $libat_gnu_ld_version -ge 21200 ; then
3460
+ # Globbing fix is present, proper block support is not.
3461
+ dnl AC_MSG_WARN([=== Dude, you are soooo close. Maybe we can fake it.])
3462
+ dnl enable_symvers=???
3463
+ AC_MSG_WARN([=== Symbol versioning will be disabled.])
3464
+ enable_symvers=no
3465
+ else
3466
+ # 2.11 or older.
3467
+ AC_MSG_WARN([=== Symbol versioning will be disabled.])
3468
+ enable_symvers=no
3469
+ fi
3470
+ fi
3471
+ elif test $enable_symvers = sun; then
3472
+ : All interesting versions of Sun ld support sun style symbol versioning.
3473
+ else
3474
+ # just fail for now
3475
+ AC_MSG_WARN([=== You have requested some kind of symbol versioning, but])
3476
+ AC_MSG_WARN([=== either you are not using a supported linker, or you are])
3477
+ AC_MSG_WARN([=== not building a shared libgcc_s (which is required).])
3478
+ AC_MSG_WARN([=== Symbol versioning will be disabled.])
3479
+ enable_symvers=no
3480
+ fi
3481
+ fi
3482
+ if test $enable_symvers = gnu; then
3483
+ AC_DEFINE(LIBFFI_GNU_SYMBOL_VERSIONING, 1,
3484
+ [Define to 1 if GNU symbol versioning is used for libatomic.])
3485
+ fi
3486
+
3487
+ AM_CONDITIONAL(LIBFFI_BUILD_VERSIONED_SHLIB, test $enable_symvers != no)
3488
+ AM_CONDITIONAL(LIBFFI_BUILD_VERSIONED_SHLIB_GNU, test $enable_symvers = gnu)
3489
+ AM_CONDITIONAL(LIBFFI_BUILD_VERSIONED_SHLIB_SUN, test $enable_symvers = sun)
3490
+ AC_MSG_NOTICE(versioning on shared library symbols is $enable_symvers)
3491
+ ])
3492
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
3493
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
3494
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3495
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
3496
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
3497
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
3498
+ m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
3499
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$])
3500
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3501
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
3502
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3503
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3504
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
3505
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3506
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
3507
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$])
3508
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$])
3509
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$])
3510
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$])
3511
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$])
3512
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$])
3513
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$])
3514
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$])
3515
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$])
3516
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$])
3517
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$])
3518
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^runstatedir$])
3519
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$])
3520
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$])
3521
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$])
3522
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$])
3523
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$])
3524
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$])
3525
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$])
3526
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$])
3527
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$])
3528
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$])
3529
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$])
3530
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$])
3531
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3532
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3533
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$])
3534
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3535
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$])
3536
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$])
3537
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$])
3538
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$])
3539
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$])
3540
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$])
3541
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$])
3542
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$])
3543
+ m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$])
3544
+ m4trace:configure.ac:8: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
3545
+ You should run autoupdate.], [../../lib/autoconf/general.m4:1868: AC_CANONICAL_SYSTEM is expanded from...
3546
+ configure.ac:8: the top level])
3547
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^build$])
3548
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^build_cpu$])
3549
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^build_vendor$])
3550
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^build_os$])
3551
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^host$])
3552
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^host_cpu$])
3553
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^host_vendor$])
3554
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^host_os$])
3555
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^target$])
3556
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^target_cpu$])
3557
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^target_vendor$])
3558
+ m4trace:configure.ac:8: -1- m4_pattern_allow([^target_os$])
3559
+ m4trace:configure.ac:17: -1- AX_ENABLE_BUILDDIR
3560
+ m4trace:configure.ac:17: -1- AX_CONFIGURE_ARGS
3561
+ m4trace:configure.ac:17: -1- AM_AUX_DIR_EXPAND
3562
+ m4trace:configure.ac:17: -1- m4_pattern_allow([^ax_enable_builddir_sed$])
3563
+ m4trace:configure.ac:19: -1- AM_INIT_AUTOMAKE
3564
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3565
+ m4trace:configure.ac:19: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3566
+ m4trace:configure.ac:19: -1- AM_AUTOMAKE_VERSION([1.15])
3567
+ m4trace:configure.ac:19: -1- _AM_AUTOCONF_VERSION([2.69])
3568
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3569
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3570
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_DATA$])
3571
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^am__isrc$])
3572
+ m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__isrc])
3573
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^CYGPATH_W$])
3574
+ m4trace:configure.ac:19: -1- _AM_SET_OPTIONS([])
3575
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
3576
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
3577
+ m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
3578
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
3579
+ m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-define])
3580
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^PACKAGE$])
3581
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^VERSION$])
3582
+ m4trace:configure.ac:19: -1- AM_SANITY_CHECK
3583
+ m4trace:configure.ac:19: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3584
+ m4trace:configure.ac:19: -1- AM_MISSING_HAS_RUN
3585
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^ACLOCAL$])
3586
+ m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3587
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOCONF$])
3588
+ m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3589
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOMAKE$])
3590
+ m4trace:configure.ac:19: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3591
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AUTOHEADER$])
3592
+ m4trace:configure.ac:19: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3593
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^MAKEINFO$])
3594
+ m4trace:configure.ac:19: -1- AM_PROG_INSTALL_SH
3595
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^install_sh$])
3596
+ m4trace:configure.ac:19: -1- AM_PROG_INSTALL_STRIP
3597
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^STRIP$])
3598
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3599
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^MKDIR_P$])
3600
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^mkdir_p$])
3601
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AWK$])
3602
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^SET_MAKE$])
3603
+ m4trace:configure.ac:19: -1- AM_SET_LEADING_DOT
3604
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^am__leading_dot$])
3605
+ m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3606
+ [_AM_PROG_TAR([v7])])])
3607
+ m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-ustar])
3608
+ m4trace:configure.ac:19: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3609
+ m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([tar-pax])
3610
+ m4trace:configure.ac:19: -1- _AM_PROG_TAR([v7])
3611
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AMTAR$])
3612
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^am__tar$])
3613
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^am__untar$])
3614
+ m4trace:configure.ac:19: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3615
+ [_AM_DEPENDENCIES([CC])],
3616
+ [m4_define([AC_PROG_CC],
3617
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
3618
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
3619
+ [_AM_DEPENDENCIES([CXX])],
3620
+ [m4_define([AC_PROG_CXX],
3621
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
3622
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3623
+ [_AM_DEPENDENCIES([OBJC])],
3624
+ [m4_define([AC_PROG_OBJC],
3625
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
3626
+ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
3627
+ [_AM_DEPENDENCIES([OBJCXX])],
3628
+ [m4_define([AC_PROG_OBJCXX],
3629
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
3630
+ ])
3631
+ m4trace:configure.ac:19: -2- _AM_MANGLE_OPTION([no-dependencies])
3632
+ m4trace:configure.ac:19: -1- AM_SILENT_RULES
3633
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_V$])
3634
+ m4trace:configure.ac:19: -1- AM_SUBST_NOTMAKE([AM_V])
3635
+ m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AM_V])
3636
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_DEFAULT_V$])
3637
+ m4trace:configure.ac:19: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3638
+ m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
3639
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
3640
+ m4trace:configure.ac:19: -1- m4_pattern_allow([^AM_BACKSLASH$])
3641
+ m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
3642
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CC$])
3643
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CFLAGS$])
3644
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^LDFLAGS$])
3645
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^LIBS$])
3646
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CPPFLAGS$])
3647
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CC$])
3648
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CC$])
3649
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CC$])
3650
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CC$])
3651
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^ac_ct_CC$])
3652
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^EXEEXT$])
3653
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^OBJEXT$])
3654
+ m4trace:configure.ac:31: -1- _AM_PROG_CC_C_O
3655
+ m4trace:configure.ac:31: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
3656
+ m4trace:configure.ac:31: -1- _AM_DEPENDENCIES([CC])
3657
+ m4trace:configure.ac:31: -1- AM_SET_DEPDIR
3658
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^DEPDIR$])
3659
+ m4trace:configure.ac:31: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3660
+ m4trace:configure.ac:31: -1- AM_MAKE_INCLUDE
3661
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^am__include$])
3662
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^am__quote$])
3663
+ m4trace:configure.ac:31: -1- AM_DEP_TRACK
3664
+ m4trace:configure.ac:31: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3665
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^AMDEP_TRUE$])
3666
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^AMDEP_FALSE$])
3667
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3668
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3669
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3670
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3671
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^am__nodep$])
3672
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([am__nodep])
3673
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^CCDEPMODE$])
3674
+ m4trace:configure.ac:31: -1- AM_CONDITIONAL([am__fastdepCC], [
3675
+ test "x$enable_dependency_tracking" != xno \
3676
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3677
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3678
+ m4trace:configure.ac:31: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3679
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3680
+ m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3681
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^CXX$])
3682
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^CXXFLAGS$])
3683
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^LDFLAGS$])
3684
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^LIBS$])
3685
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^CPPFLAGS$])
3686
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^CXX$])
3687
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^ac_ct_CXX$])
3688
+ m4trace:configure.ac:32: -1- _AM_DEPENDENCIES([CXX])
3689
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^CXXDEPMODE$])
3690
+ m4trace:configure.ac:32: -1- AM_CONDITIONAL([am__fastdepCXX], [
3691
+ test "x$enable_dependency_tracking" != xno \
3692
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
3693
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
3694
+ m4trace:configure.ac:32: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
3695
+ m4trace:configure.ac:32: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
3696
+ m4trace:configure.ac:32: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
3697
+ m4trace:configure.ac:37: -1- m4_pattern_allow([^CFLAGS$])
3698
+ m4trace:configure.ac:39: -1- AM_PROG_AS
3699
+ m4trace:configure.ac:39: -1- m4_pattern_allow([^CCAS$])
3700
+ m4trace:configure.ac:39: -1- m4_pattern_allow([^CCASFLAGS$])
3701
+ m4trace:configure.ac:39: -1- _AM_IF_OPTION([no-dependencies], [], [_AM_DEPENDENCIES([CCAS])])
3702
+ m4trace:configure.ac:39: -2- _AM_MANGLE_OPTION([no-dependencies])
3703
+ m4trace:configure.ac:39: -1- _AM_DEPENDENCIES([CCAS])
3704
+ m4trace:configure.ac:39: -1- m4_pattern_allow([^CCASDEPMODE$])
3705
+ m4trace:configure.ac:39: -1- AM_CONDITIONAL([am__fastdepCCAS], [
3706
+ test "x$enable_dependency_tracking" != xno \
3707
+ && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3])
3708
+ m4trace:configure.ac:39: -1- m4_pattern_allow([^am__fastdepCCAS_TRUE$])
3709
+ m4trace:configure.ac:39: -1- m4_pattern_allow([^am__fastdepCCAS_FALSE$])
3710
+ m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_TRUE])
3711
+ m4trace:configure.ac:39: -1- _AM_SUBST_NOTMAKE([am__fastdepCCAS_FALSE])
3712
+ m4trace:configure.ac:40: -1- AM_PROG_CC_C_O
3713
+ m4trace:configure.ac:41: -1- AC_PROG_LIBTOOL
3714
+ m4trace:configure.ac:41: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
3715
+ You should run autoupdate.], [m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
3716
+ configure.ac:41: the top level])
3717
+ m4trace:configure.ac:41: -1- LT_INIT
3718
+ m4trace:configure.ac:41: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
3719
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
3720
+ m4trace:configure.ac:41: -1- LTOPTIONS_VERSION
3721
+ m4trace:configure.ac:41: -1- LTSUGAR_VERSION
3722
+ m4trace:configure.ac:41: -1- LTVERSION_VERSION
3723
+ m4trace:configure.ac:41: -1- LTOBSOLETE_VERSION
3724
+ m4trace:configure.ac:41: -1- _LT_PROG_LTMAIN
3725
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LIBTOOL$])
3726
+ m4trace:configure.ac:41: -1- _LT_PREPARE_SED_QUOTE_VARS
3727
+ m4trace:configure.ac:41: -1- _LT_PROG_ECHO_BACKSLASH
3728
+ m4trace:configure.ac:41: -1- LT_PATH_LD
3729
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^SED$])
3730
+ m4trace:configure.ac:41: -1- AC_PROG_EGREP
3731
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$])
3732
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^EGREP$])
3733
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^FGREP$])
3734
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$])
3735
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LD$])
3736
+ m4trace:configure.ac:41: -1- LT_PATH_NM
3737
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$])
3738
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
3739
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$])
3740
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^NM$])
3741
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LN_S$])
3742
+ m4trace:configure.ac:41: -1- LT_CMD_MAX_LEN
3743
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$])
3744
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$])
3745
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$])
3746
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$])
3747
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^AR$])
3748
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_AR$])
3749
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^STRIP$])
3750
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^RANLIB$])
3751
+ m4trace:configure.ac:41: -1- _LT_WITH_SYSROOT
3752
+ m4trace:configure.ac:41: -1- m4_pattern_allow([LT_OBJDIR])
3753
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LT_OBJDIR$])
3754
+ m4trace:configure.ac:41: -1- _LT_CC_BASENAME([$compiler])
3755
+ m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
3756
+ m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
3757
+ m4trace:configure.ac:41: -1- LT_SUPPORTED_TAG([CC])
3758
+ m4trace:configure.ac:41: -1- _LT_COMPILER_BOILERPLATE
3759
+ m4trace:configure.ac:41: -1- _LT_LINKER_BOILERPLATE
3760
+ m4trace:configure.ac:41: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
3761
+ m4trace:configure.ac:41: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
3762
+ "" | " "*) ;;
3763
+ *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
3764
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
3765
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
3766
+ m4trace:configure.ac:41: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
3767
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^MANIFEST_TOOL$])
3768
+ m4trace:configure.ac:41: -1- _LT_DLL_DEF_P([$export_symbols])
3769
+ m4trace:configure.ac:41: -1- _LT_DLL_DEF_P([$export_symbols])
3770
+ m4trace:configure.ac:41: -1- _LT_REQUIRED_DARWIN_CHECKS
3771
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^DSYMUTIL$])
3772
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^NMEDIT$])
3773
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LIPO$])
3774
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL$])
3775
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL64$])
3776
+ m4trace:configure.ac:41: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])
3777
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
3778
+ m4trace:configure.ac:41: -1- LT_SYS_DLOPEN_SELF
3779
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CPP$])
3780
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CPPFLAGS$])
3781
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CPP$])
3782
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^STDC_HEADERS$])
3783
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
3784
+ m4trace:configure.ac:41: -1- LT_LANG([CXX])
3785
+ m4trace:configure.ac:41: -1- LT_SUPPORTED_TAG([CXX])
3786
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CXXCPP$])
3787
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CPPFLAGS$])
3788
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^CXXCPP$])
3789
+ m4trace:configure.ac:41: -1- _LT_COMPILER_BOILERPLATE
3790
+ m4trace:configure.ac:41: -1- _LT_LINKER_BOILERPLATE
3791
+ m4trace:configure.ac:41: -1- _LT_CC_BASENAME([$compiler])
3792
+ m4trace:configure.ac:41: -1- LT_PATH_LD
3793
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LD$])
3794
+ m4trace:configure.ac:41: -1- _LT_DLL_DEF_P([$export_symbols])
3795
+ m4trace:configure.ac:41: -1- _LT_DLL_DEF_P([$export_symbols])
3796
+ m4trace:configure.ac:41: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
3797
+ "" | " "*) ;;
3798
+ *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
3799
+ esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
3800
+ _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
3801
+ m4trace:configure.ac:41: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
3802
+ m4trace:configure.ac:41: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$])
3803
+ m4trace:configure.ac:42: -1- AC_CONFIG_MACRO_DIR([m4])
3804
+ m4trace:configure.ac:45: -1- m4_pattern_allow([^SIZEOF_SIZE_T$])
3805
+ m4trace:configure.ac:47: -1- AX_COMPILER_VENDOR
3806
+ m4trace:configure.ac:48: -1- AX_CC_MAXOPT
3807
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([$xlc_opt], [CFLAGS="-O3 -qansialias -w $xlc_opt"], [CFLAGS="-O3 -qansialias -w"
3808
+ echo "******************************************************"
3809
+ echo "* You seem to have the IBM C compiler. It is *"
3810
+ echo "* recommended for best performance that you use: *"
3811
+ echo "* *"
3812
+ echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
3813
+ echo "* ^^^ ^^^ *"
3814
+ echo "* where xxx is pwr2, pwr3, 604, or whatever kind of *"
3815
+ echo "* CPU you have. (Set the CFLAGS environment var. *"
3816
+ echo "* and re-run configure.) For more info, man cc. *"
3817
+ echo "******************************************************"])
3818
+ m4trace:configure.ac:48: -1- AX_GCC_X86_CPUID([0])
3819
+ m4trace:configure.ac:48: -1- AX_GCC_X86_CPUID([1])
3820
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([$flag], [icc_archflag=$flag; break])
3821
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([-fstrict-aliasing], [CFLAGS="$CFLAGS -fstrict-aliasing"])
3822
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([-ffast-math], [CFLAGS="$CFLAGS -ffast-math"])
3823
+ m4trace:configure.ac:48: -1- AX_GCC_ARCHFLAG([$acx_maxopt_portable])
3824
+ m4trace:configure.ac:48: -1- AX_GCC_X86_CPUID([0])
3825
+ m4trace:configure.ac:48: -1- AX_GCC_X86_CPUID([1])
3826
+ m4trace:configure.ac:48: -1- AX_GCC_X86_CPUID([0x80000006])
3827
+ m4trace:configure.ac:48: -1- m4_pattern_allow([^PRTDIAG$])
3828
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([$flag], [ax_cv_gcc_archflag=$flag; break])
3829
+ m4trace:configure.ac:48: -1- AX_CHECK_COMPILE_FLAG([$CFLAGS], [], [
3830
+ echo ""
3831
+ echo "********************************************************"
3832
+ echo "* WARNING: The guessed CFLAGS don't seem to work with *"
3833
+ echo "* your compiler. *"
3834
+ echo "* Use ./configure CFLAGS=... to specify your own flags *"
3835
+ echo "********************************************************"
3836
+ echo ""
3837
+ CFLAGS=""
3838
+ ])
3839
+ m4trace:configure.ac:52: -1- AX_CFLAGS_WARN_ALL
3840
+ m4trace:configure.ac:52: -1- AX_FLAGS_WARN_ALL([], [], [], [])
3841
+ m4trace:configure.ac:52: -1- AX_APPEND_FLAG
3842
+ m4trace:configure.ac:52: -1- AX_APPEND_FLAG([$VAR], [])
3843
+ m4trace:configure.ac:64: -1- AM_MAINTAINER_MODE
3844
+ m4trace:configure.ac:64: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
3845
+ m4trace:configure.ac:64: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
3846
+ m4trace:configure.ac:64: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
3847
+ m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
3848
+ m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
3849
+ m4trace:configure.ac:64: -1- m4_pattern_allow([^MAINT$])
3850
+ m4trace:configure.ac:66: -1- m4_pattern_allow([^HAVE_SYS_MMAN_H$])
3851
+ m4trace:configure.ac:68: -1- AC_FUNC_MMAP_BLACKLIST
3852
+ m4trace:configure.ac:68: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3853
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from...
3854
+ ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3855
+ ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
3856
+ ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
3857
+ acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
3858
+ configure.ac:68: the top level])
3859
+ m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_MMAP_FILE$])
3860
+ m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_MMAP_DEV_ZERO$])
3861
+ m4trace:configure.ac:68: -1- m4_pattern_allow([^HAVE_MMAP_ANON$])
3862
+ m4trace:configure.ac:71: -1- AM_CONDITIONAL([TESTSUBDIR], [test -d $srcdir/testsuite])
3863
+ m4trace:configure.ac:71: -1- m4_pattern_allow([^TESTSUBDIR_TRUE$])
3864
+ m4trace:configure.ac:71: -1- m4_pattern_allow([^TESTSUBDIR_FALSE$])
3865
+ m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([TESTSUBDIR_TRUE])
3866
+ m4trace:configure.ac:71: -1- _AM_SUBST_NOTMAKE([TESTSUBDIR_FALSE])
3867
+ m4trace:configure.ac:82: -1- m4_pattern_allow([^AM_RUNTESTFLAGS$])
3868
+ m4trace:configure.ac:83: -1- m4_pattern_allow([^AM_LTLDFLAGS$])
3869
+ m4trace:configure.ac:85: -1- m4_pattern_allow([^STDC_HEADERS$])
3870
+ m4trace:configure.ac:86: -1- m4_pattern_allow([^HAVE_MEMCPY$])
3871
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^size_t$])
3872
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
3873
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^HAVE_ALLOCA$])
3874
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^ALLOCA$])
3875
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^C_ALLOCA$])
3876
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
3877
+ m4trace:configure.ac:87: -1- m4_pattern_allow([^STACK_DIRECTION$])
3878
+ m4trace:configure.ac:89: -1- m4_pattern_allow([^SIZEOF_DOUBLE$])
3879
+ m4trace:configure.ac:90: -1- m4_pattern_allow([^SIZEOF_LONG_DOUBLE$])
3880
+ m4trace:configure.ac:97: -1- m4_pattern_allow([^HAVE_LONG_DOUBLE_VARIANT$])
3881
+ m4trace:configure.ac:102: -1- m4_pattern_allow([^HAVE_LONG_DOUBLE$])
3882
+ m4trace:configure.ac:107: -1- m4_pattern_allow([^HAVE_LONG_DOUBLE$])
3883
+ m4trace:configure.ac:108: -1- m4_pattern_allow([^HAVE_LONG_DOUBLE_VARIANT$])
3884
+ m4trace:configure.ac:110: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
3885
+ m4trace:configure.ac:110: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
3886
+ m4trace:configure.ac:112: -1- GCC_AS_CFI_PSEUDO_OP
3887
+ m4trace:configure.ac:112: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3888
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from...
3889
+ ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3890
+ ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
3891
+ ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
3892
+ m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
3893
+ configure.ac:112: the top level])
3894
+ m4trace:configure.ac:112: -1- m4_pattern_allow([^HAVE_AS_CFI_PSEUDO_OP$])
3895
+ m4trace:configure.ac:116: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3896
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from...
3897
+ ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3898
+ ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
3899
+ ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
3900
+ configure.ac:116: the top level])
3901
+ m4trace:configure.ac:128: -1- m4_pattern_allow([^HAVE_AS_SPARC_UA_PCREL$])
3902
+ m4trace:configure.ac:132: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
3903
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from...
3904
+ ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
3905
+ ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
3906
+ ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
3907
+ configure.ac:132: the top level])
3908
+ m4trace:configure.ac:141: -1- m4_pattern_allow([^HAVE_AS_REGISTER_PSEUDO_OP$])
3909
+ m4trace:configure.ac:156: -1- m4_pattern_allow([^HAVE_AS_X86_PCREL$])
3910
+ m4trace:configure.ac:173: -1- m4_pattern_allow([^HAVE_AS_S390_ZARCH$])
3911
+ m4trace:configure.ac:183: -2- m4_pattern_allow([^FFI_MMAP_EXEC_EMUTRAMP_PAX$])
3912
+ m4trace:configure.ac:187: -1- LT_SYS_SYMBOL_USCORE
3913
+ m4trace:configure.ac:187: -1- m4_pattern_allow([^sys_symbol_underscore$])
3914
+ m4trace:configure.ac:189: -1- m4_pattern_allow([^SYMBOL_UNDERSCORE$])
3915
+ m4trace:configure.ac:196: -1- m4_pattern_allow([^FFI_EXEC_TRAMPOLINE_TABLE$])
3916
+ m4trace:configure.ac:201: -1- m4_pattern_allow([^FFI_MMAP_EXEC_WRIT$])
3917
+ m4trace:configure.ac:206: -1- AM_CONDITIONAL([FFI_EXEC_TRAMPOLINE_TABLE], [test x$FFI_EXEC_TRAMPOLINE_TABLE = x1])
3918
+ m4trace:configure.ac:206: -1- m4_pattern_allow([^FFI_EXEC_TRAMPOLINE_TABLE_TRUE$])
3919
+ m4trace:configure.ac:206: -1- m4_pattern_allow([^FFI_EXEC_TRAMPOLINE_TABLE_FALSE$])
3920
+ m4trace:configure.ac:206: -1- _AM_SUBST_NOTMAKE([FFI_EXEC_TRAMPOLINE_TABLE_TRUE])
3921
+ m4trace:configure.ac:206: -1- _AM_SUBST_NOTMAKE([FFI_EXEC_TRAMPOLINE_TABLE_FALSE])
3922
+ m4trace:configure.ac:207: -1- m4_pattern_allow([^FFI_EXEC_TRAMPOLINE_TABLE$])
3923
+ m4trace:configure.ac:235: -1- m4_pattern_allow([^HAVE_AS_X86_64_UNWIND_SECTION_TYPE$])
3924
+ m4trace:configure.ac:259: -1- m4_pattern_allow([^HAVE_RO_EH_FRAME$])
3925
+ m4trace:configure.ac:261: -1- m4_pattern_allow([^EH_FRAME_FLAGS$])
3926
+ m4trace:configure.ac:264: -1- m4_pattern_allow([^EH_FRAME_FLAGS$])
3927
+ m4trace:configure.ac:280: -1- m4_pattern_allow([^HAVE_HIDDEN_VISIBILITY_ATTRIBUTE$])
3928
+ m4trace:configure.ac:286: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3929
+ You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
3930
+ configure.ac:286: the top level])
3931
+ m4trace:configure.ac:290: -1- AM_CONDITIONAL([BUILD_DOCS], [test x$enable_docs = xyes])
3932
+ m4trace:configure.ac:290: -1- m4_pattern_allow([^BUILD_DOCS_TRUE$])
3933
+ m4trace:configure.ac:290: -1- m4_pattern_allow([^BUILD_DOCS_FALSE$])
3934
+ m4trace:configure.ac:290: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_TRUE])
3935
+ m4trace:configure.ac:290: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_FALSE])
3936
+ m4trace:configure.ac:308: -1- m4_pattern_allow([^TARGET$])
3937
+ m4trace:configure.ac:309: -1- m4_pattern_allow([^TARGETDIR$])
3938
+ m4trace:configure.ac:317: -1- m4_pattern_allow([^TARGET_OBJ$])
3939
+ m4trace:configure.ac:319: -1- m4_pattern_allow([^SHELL$])
3940
+ m4trace:configure.ac:324: -2- m4_pattern_allow([^FFI_DEBUG$])
3941
+ m4trace:configure.ac:326: -1- AM_CONDITIONAL([FFI_DEBUG], [test "$enable_debug" = "yes"])
3942
+ m4trace:configure.ac:326: -1- m4_pattern_allow([^FFI_DEBUG_TRUE$])
3943
+ m4trace:configure.ac:326: -1- m4_pattern_allow([^FFI_DEBUG_FALSE$])
3944
+ m4trace:configure.ac:326: -1- _AM_SUBST_NOTMAKE([FFI_DEBUG_TRUE])
3945
+ m4trace:configure.ac:326: -1- _AM_SUBST_NOTMAKE([FFI_DEBUG_FALSE])
3946
+ m4trace:configure.ac:331: -2- m4_pattern_allow([^FFI_NO_STRUCTS$])
3947
+ m4trace:configure.ac:333: -1- AM_CONDITIONAL([FFI_DEBUG], [test "$enable_debug" = "yes"])
3948
+ m4trace:configure.ac:333: -1- m4_pattern_allow([^FFI_DEBUG_TRUE$])
3949
+ m4trace:configure.ac:333: -1- m4_pattern_allow([^FFI_DEBUG_FALSE$])
3950
+ m4trace:configure.ac:333: -1- _AM_SUBST_NOTMAKE([FFI_DEBUG_TRUE])
3951
+ m4trace:configure.ac:333: -1- _AM_SUBST_NOTMAKE([FFI_DEBUG_FALSE])
3952
+ m4trace:configure.ac:338: -2- m4_pattern_allow([^FFI_NO_RAW_API$])
3953
+ m4trace:configure.ac:344: -2- m4_pattern_allow([^USING_PURIFY$])
3954
+ m4trace:configure.ac:369: -1- m4_pattern_allow([^toolexecdir$])
3955
+ m4trace:configure.ac:373: -1- m4_pattern_allow([^toolexeclibdir$])
3956
+ m4trace:configure.ac:376: -1- LIBFFI_ENABLE_SYMVERS
3957
+ m4trace:configure.ac:376: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3958
+ You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
3959
+ acinclude.m4:349: LIBFFI_ENABLE_SYMVERS is expanded from...
3960
+ configure.ac:376: the top level])
3961
+ m4trace:configure.ac:376: -1- LIBFFI_CHECK_LINKER_FEATURES
3962
+ m4trace:configure.ac:376: -1- AC_PROG_LD
3963
+ m4trace:configure.ac:376: -1- _m4_warn([obsolete], [The macro `AC_PROG_LD' is obsolete.
3964
+ You should run autoupdate.], [m4/libtool.m4:3341: AC_PROG_LD is expanded from...
3965
+ acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
3966
+ acinclude.m4:349: LIBFFI_ENABLE_SYMVERS is expanded from...
3967
+ configure.ac:376: the top level])
3968
+ m4trace:configure.ac:376: -1- LT_PATH_LD
3969
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LD$])
3970
+ m4trace:configure.ac:376: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
3971
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2775: AC_TRY_RUN is expanded from...
3972
+ acinclude.m4:251: LIBFFI_CHECK_LINKER_FEATURES is expanded from...
3973
+ acinclude.m4:349: LIBFFI_ENABLE_SYMVERS is expanded from...
3974
+ configure.ac:376: the top level])
3975
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^SECTION_LDFLAGS$])
3976
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^OPT_LDFLAGS$])
3977
+ m4trace:configure.ac:376: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3978
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from...
3979
+ acinclude.m4:349: LIBFFI_ENABLE_SYMVERS is expanded from...
3980
+ configure.ac:376: the top level])
3981
+ m4trace:configure.ac:376: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3982
+ You should run autoupdate.], [../../lib/autoconf/general.m4:2698: AC_TRY_LINK is expanded from...
3983
+ acinclude.m4:349: LIBFFI_ENABLE_SYMVERS is expanded from...
3984
+ configure.ac:376: the top level])
3985
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_GNU_SYMBOL_VERSIONING$])
3986
+ m4trace:configure.ac:376: -1- AM_CONDITIONAL([LIBFFI_BUILD_VERSIONED_SHLIB], [test $enable_symvers != no])
3987
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_TRUE$])
3988
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_FALSE$])
3989
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_TRUE])
3990
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_FALSE])
3991
+ m4trace:configure.ac:376: -1- AM_CONDITIONAL([LIBFFI_BUILD_VERSIONED_SHLIB_GNU], [test $enable_symvers = gnu])
3992
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE$])
3993
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE$])
3994
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_GNU_TRUE])
3995
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_GNU_FALSE])
3996
+ m4trace:configure.ac:376: -1- AM_CONDITIONAL([LIBFFI_BUILD_VERSIONED_SHLIB_SUN], [test $enable_symvers = sun])
3997
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE$])
3998
+ m4trace:configure.ac:376: -1- m4_pattern_allow([^LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE$])
3999
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_SUN_TRUE])
4000
+ m4trace:configure.ac:376: -1- _AM_SUBST_NOTMAKE([LIBFFI_BUILD_VERSIONED_SHLIB_SUN_FALSE])
4001
+ m4trace:configure.ac:388: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4002
+ m4trace:configure.ac:388: -1- m4_pattern_allow([^LTLIBOBJS$])
4003
+ m4trace:configure.ac:388: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
4004
+ m4trace:configure.ac:388: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
4005
+ m4trace:configure.ac:388: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
4006
+ m4trace:configure.ac:388: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
4007
+ m4trace:configure.ac:388: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
4008
+ m4trace:configure.ac:388: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
4009
+ m4trace:configure.ac:388: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
4010
+ m4trace:configure.ac:388: -1- _LT_PROG_LTMAIN