ffi 1.0.9-x86-mingw32 → 1.0.12.pre-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 (218) hide show
  1. data/Rakefile +16 -16
  2. data/ext/ffi_c/AbstractMemory.c +376 -14
  3. data/ext/ffi_c/AbstractMemory.h +8 -0
  4. data/ext/ffi_c/ArrayType.c +28 -0
  5. data/ext/ffi_c/Buffer.c +109 -25
  6. data/ext/ffi_c/Call.c +16 -5
  7. data/ext/ffi_c/ClosurePool.c +21 -8
  8. data/ext/ffi_c/DataConverter.c +29 -0
  9. data/ext/ffi_c/DynamicLibrary.c +71 -2
  10. data/ext/ffi_c/Function.c +122 -11
  11. data/ext/ffi_c/Function.h +6 -0
  12. data/ext/ffi_c/FunctionInfo.c +21 -1
  13. data/ext/ffi_c/LastError.c +24 -0
  14. data/ext/ffi_c/MappedType.c +22 -0
  15. data/ext/ffi_c/MemoryPointer.c +19 -1
  16. data/ext/ffi_c/MemoryPointer.h +6 -0
  17. data/ext/ffi_c/MethodHandle.c +26 -11
  18. data/ext/ffi_c/Platform.c +17 -3
  19. data/ext/ffi_c/Pointer.c +106 -0
  20. data/ext/ffi_c/Pointer.h +6 -0
  21. data/ext/ffi_c/Struct.c +10 -4
  22. data/ext/ffi_c/Struct.h +2 -1
  23. data/ext/ffi_c/StructByReference.c +8 -0
  24. data/ext/ffi_c/StructByValue.c +8 -0
  25. data/ext/ffi_c/StructLayout.c +8 -2
  26. data/ext/ffi_c/Thread.c +131 -1
  27. data/ext/ffi_c/Thread.h +6 -0
  28. data/ext/ffi_c/Type.c +111 -17
  29. data/ext/ffi_c/Types.c +9 -2
  30. data/ext/ffi_c/Types.h +4 -0
  31. data/ext/ffi_c/Variadic.c +13 -4
  32. data/ext/ffi_c/compat.h +8 -0
  33. data/ext/ffi_c/endian.h +10 -1
  34. data/ext/ffi_c/extconf.rb +51 -35
  35. data/ext/ffi_c/ffi.c +5 -0
  36. data/ext/ffi_c/libffi.darwin.mk +15 -15
  37. data/ext/ffi_c/libffi.gnu.mk +3 -3
  38. data/ext/ffi_c/libffi.mk +4 -4
  39. data/ext/ffi_c/libffi.vc.mk +26 -0
  40. data/ext/ffi_c/libffi.vc64.mk +26 -0
  41. data/ext/ffi_c/libffi/ChangeLog +541 -0
  42. data/ext/ffi_c/libffi/ChangeLog.libffi +13 -87
  43. data/ext/ffi_c/libffi/LICENSE +3 -3
  44. data/ext/ffi_c/libffi/Makefile.am +41 -32
  45. data/ext/ffi_c/libffi/Makefile.in +95 -66
  46. data/ext/ffi_c/libffi/Makefile.vc +141 -0
  47. data/ext/ffi_c/libffi/Makefile.vc64 +141 -0
  48. data/ext/ffi_c/libffi/README +40 -4
  49. data/ext/ffi_c/libffi/aclocal.m4 +729 -7854
  50. data/ext/ffi_c/libffi/build-ios.sh +67 -0
  51. data/ext/ffi_c/libffi/compile +11 -10
  52. data/ext/ffi_c/libffi/config.guess +4 -1
  53. data/ext/ffi_c/libffi/config.sub +6 -3
  54. data/ext/ffi_c/libffi/configure +6264 -6354
  55. data/ext/ffi_c/libffi/configure.ac +155 -63
  56. data/ext/ffi_c/libffi/depcomp +81 -35
  57. data/ext/ffi_c/libffi/doc/libffi.info +78 -18
  58. data/ext/ffi_c/libffi/doc/libffi.texi +64 -5
  59. data/ext/ffi_c/libffi/doc/stamp-vti +4 -4
  60. data/ext/ffi_c/libffi/doc/version.texi +4 -4
  61. data/ext/ffi_c/libffi/fficonfig.h.in +18 -0
  62. data/ext/ffi_c/libffi/fficonfig.hw +57 -0
  63. data/ext/ffi_c/libffi/include/Makefile.in +21 -3
  64. data/ext/ffi_c/libffi/include/ffi.h.in +42 -14
  65. data/ext/ffi_c/libffi/include/ffi.h.vc +427 -0
  66. data/ext/ffi_c/libffi/include/ffi.h.vc64 +427 -0
  67. data/ext/ffi_c/libffi/include/ffi_common.h +9 -5
  68. data/ext/ffi_c/libffi/install-sh +364 -167
  69. data/ext/ffi_c/libffi/ltmain.sh +2599 -1369
  70. data/ext/ffi_c/libffi/m4/ax_cc_maxopt.m4 +176 -0
  71. data/ext/ffi_c/libffi/m4/ax_cflags_warn_all.m4 +195 -0
  72. data/ext/ffi_c/libffi/m4/ax_check_compiler_flags.m4 +76 -0
  73. data/ext/ffi_c/libffi/m4/ax_compiler_vendor.m4 +63 -0
  74. data/ext/ffi_c/libffi/m4/ax_configure_args.m4 +70 -0
  75. data/ext/ffi_c/libffi/m4/ax_enable_builddir.m4 +300 -0
  76. data/ext/ffi_c/libffi/m4/ax_gcc_archflag.m4 +215 -0
  77. data/ext/ffi_c/libffi/m4/ax_gcc_x86_cpuid.m4 +79 -0
  78. data/ext/ffi_c/libffi/m4/libtool.m4 +1239 -768
  79. data/ext/ffi_c/libffi/m4/ltoptions.m4 +7 -6
  80. data/ext/ffi_c/libffi/m4/ltversion.m4 +6 -6
  81. data/ext/ffi_c/libffi/m4/lt~obsolete.m4 +9 -3
  82. data/ext/ffi_c/libffi/man/Makefile.in +21 -3
  83. data/ext/ffi_c/libffi/mdate-sh +0 -0
  84. data/ext/ffi_c/libffi/missing +60 -44
  85. data/ext/ffi_c/libffi/msvcc.sh +197 -0
  86. data/ext/ffi_c/libffi/src/alpha/osf.S +39 -18
  87. data/ext/ffi_c/libffi/src/arm/ffi.c +443 -24
  88. data/ext/ffi_c/libffi/src/arm/ffitarget.h +17 -1
  89. data/ext/ffi_c/libffi/src/arm/gentramp.sh +118 -0
  90. data/ext/ffi_c/libffi/src/arm/sysv.S +206 -15
  91. data/ext/ffi_c/libffi/src/arm/trampoline.S +4450 -0
  92. data/ext/ffi_c/libffi/src/avr32/ffi.c +4 -2
  93. data/ext/ffi_c/libffi/src/avr32/ffitarget.h +2 -2
  94. data/ext/ffi_c/libffi/src/closures.c +17 -35
  95. data/ext/ffi_c/libffi/src/cris/ffi.c +1 -1
  96. data/ext/ffi_c/libffi/src/cris/ffitarget.h +2 -2
  97. data/ext/ffi_c/libffi/src/dlmalloc.c +66 -4
  98. data/ext/ffi_c/libffi/src/frv/ffitarget.h +2 -6
  99. data/ext/ffi_c/libffi/src/ia64/ffi.c +7 -5
  100. data/ext/ffi_c/libffi/src/ia64/ffitarget.h +2 -2
  101. data/ext/ffi_c/libffi/src/java_raw_api.c +1 -1
  102. data/ext/ffi_c/libffi/src/m32r/ffitarget.h +2 -2
  103. data/ext/ffi_c/libffi/src/m68k/ffi.c +10 -0
  104. data/ext/ffi_c/libffi/src/m68k/ffitarget.h +2 -2
  105. data/ext/ffi_c/libffi/src/m68k/sysv.S +36 -0
  106. data/ext/ffi_c/libffi/src/mips/ffi.c +12 -5
  107. data/ext/ffi_c/libffi/src/mips/ffitarget.h +18 -11
  108. data/ext/ffi_c/libffi/src/mips/n32.S +4 -4
  109. data/ext/ffi_c/libffi/src/moxie/eabi.S +128 -0
  110. data/ext/ffi_c/libffi/src/moxie/ffi.c +276 -0
  111. data/ext/ffi_c/libffi/src/pa/ffi.c +7 -4
  112. data/ext/ffi_c/libffi/src/pa/ffitarget.h +6 -5
  113. data/ext/ffi_c/libffi/src/powerpc/aix.S +5 -1
  114. data/ext/ffi_c/libffi/src/powerpc/aix_closure.S +2 -0
  115. data/ext/ffi_c/libffi/src/powerpc/asm.h +1 -1
  116. data/ext/ffi_c/libffi/src/powerpc/darwin.S +215 -77
  117. data/ext/ffi_c/libffi/src/powerpc/darwin_closure.S +358 -100
  118. data/ext/ffi_c/libffi/src/powerpc/ffi.c +11 -5
  119. data/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c +603 -172
  120. data/ext/ffi_c/libffi/src/powerpc/ffitarget.h +17 -4
  121. data/ext/ffi_c/libffi/src/prep_cif.c +16 -13
  122. data/ext/ffi_c/libffi/src/s390/ffitarget.h +4 -2
  123. data/ext/ffi_c/libffi/src/sh/ffitarget.h +2 -2
  124. data/ext/ffi_c/libffi/src/sh64/ffitarget.h +2 -2
  125. data/ext/ffi_c/libffi/src/sparc/ffi.c +55 -11
  126. data/ext/ffi_c/libffi/src/sparc/ffitarget.h +5 -3
  127. data/ext/ffi_c/libffi/src/x86/ffi.c +54 -92
  128. data/ext/ffi_c/libffi/src/x86/ffi64.c +17 -8
  129. data/ext/ffi_c/libffi/src/x86/ffitarget.h +15 -14
  130. data/ext/ffi_c/libffi/src/x86/sysv.S +40 -26
  131. data/ext/ffi_c/libffi/src/x86/unix64.S +4 -0
  132. data/ext/ffi_c/libffi/src/x86/win32.S +379 -191
  133. data/ext/ffi_c/libffi/src/x86/win64.S +15 -7
  134. data/ext/ffi_c/libffi/testsuite/Makefile.am +1 -1
  135. data/ext/ffi_c/libffi/testsuite/Makefile.in +22 -4
  136. data/ext/ffi_c/libffi/testsuite/lib/libffi.exp +350 -0
  137. data/ext/ffi_c/libffi/testsuite/libffi.call/call.exp +1 -5
  138. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split.c +1 -1
  139. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c +1 -1
  140. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_sint64.c +1 -0
  141. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_align_uint64.c +1 -0
  142. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_double_va.c +3 -0
  143. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble.c +2 -2
  144. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_longdouble_va.c +3 -0
  145. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer.c +1 -1
  146. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_pointer_stack.c +1 -1
  147. data/ext/ffi_c/libffi/testsuite/libffi.call/cls_ulonglong.c +1 -0
  148. data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_abi.c +2 -3
  149. data/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c +2 -1
  150. data/ext/ffi_c/libffi/testsuite/libffi.call/ffitest.h +36 -0
  151. data/ext/ffi_c/libffi/testsuite/libffi.call/huge_struct.c +17 -17
  152. data/ext/ffi_c/libffi/testsuite/libffi.call/return_ll1.c +1 -0
  153. data/ext/ffi_c/libffi/testsuite/libffi.call/stret_medium2.c +1 -0
  154. data/ext/ffi_c/libffi/testsuite/libffi.special/ffitestcxx.h +1 -1
  155. data/ext/ffi_c/libffi/testsuite/libffi.special/special.exp +1 -3
  156. data/ext/ffi_c/win32/stdint.h +199 -0
  157. data/gen/Rakefile +18 -2
  158. data/lib/1.8/ffi_c.so +0 -0
  159. data/lib/ffi.rb +13 -9
  160. data/lib/ffi/autopointer.rb +88 -26
  161. data/lib/ffi/enum.rb +42 -0
  162. data/lib/ffi/errno.rb +6 -1
  163. data/lib/ffi/ffi.rb +1 -0
  164. data/lib/ffi/io.rb +13 -2
  165. data/lib/ffi/library.rb +219 -24
  166. data/lib/ffi/memorypointer.rb +1 -33
  167. data/lib/ffi/platform.rb +21 -7
  168. data/lib/ffi/platform/arm-linux/types.conf +102 -0
  169. data/lib/ffi/platform/i386-freebsd/types.conf +152 -0
  170. data/lib/ffi/platform/i386-netbsd/types.conf +126 -0
  171. data/lib/ffi/platform/i486-gnu/types.conf +107 -0
  172. data/lib/ffi/platform/ia64-linux/types.conf +102 -0
  173. data/lib/ffi/platform/mips-linux/types.conf +102 -0
  174. data/lib/ffi/platform/mipsel-linux/types.conf +102 -0
  175. data/lib/ffi/platform/powerpc-linux/types.conf +100 -0
  176. data/lib/ffi/platform/s390-linux/types.conf +102 -0
  177. data/lib/ffi/platform/s390x-linux/types.conf +102 -0
  178. data/lib/ffi/platform/sparc-linux/types.conf +102 -0
  179. data/lib/ffi/platform/x86_64-freebsd/types.conf +126 -0
  180. data/lib/ffi/platform/x86_64-netbsd/types.conf +126 -0
  181. data/lib/ffi/pointer.rb +44 -0
  182. data/lib/ffi/struct.rb +2 -6
  183. data/lib/ffi/struct_layout_builder.rb +2 -1
  184. data/lib/ffi/tools/const_generator.rb +78 -26
  185. data/lib/ffi/tools/types_generator.rb +8 -1
  186. data/lib/ffi/types.rb +21 -1
  187. data/spec/ffi/async_callback_spec.rb +2 -2
  188. data/spec/ffi/bool_spec.rb +6 -6
  189. data/spec/ffi/buffer_spec.rb +23 -23
  190. data/spec/ffi/callback_spec.rb +101 -102
  191. data/spec/ffi/custom_type_spec.rb +20 -24
  192. data/spec/ffi/dup_spec.rb +7 -7
  193. data/spec/ffi/enum_spec.rb +127 -127
  194. data/spec/ffi/errno_spec.rb +2 -2
  195. data/spec/ffi/ffi_spec.rb +3 -3
  196. data/spec/ffi/function_spec.rb +10 -10
  197. data/spec/ffi/library_spec.rb +30 -12
  198. data/spec/ffi/managed_struct_spec.rb +4 -4
  199. data/spec/ffi/number_spec.rb +40 -40
  200. data/spec/ffi/pointer_spec.rb +21 -24
  201. data/spec/ffi/rbx/memory_pointer_spec.rb +17 -15
  202. data/spec/ffi/rbx/struct_spec.rb +2 -2
  203. data/spec/ffi/spec_helper.rb +1 -1
  204. data/spec/ffi/string_spec.rb +9 -9
  205. data/spec/ffi/strptr_spec.rb +3 -3
  206. data/spec/ffi/struct_callback_spec.rb +7 -7
  207. data/spec/ffi/struct_initialize_spec.rb +2 -2
  208. data/spec/ffi/struct_packed_spec.rb +6 -6
  209. data/spec/ffi/struct_spec.rb +94 -84
  210. data/spec/ffi/typedef_spec.rb +15 -4
  211. data/spec/ffi/union_spec.rb +3 -3
  212. data/spec/ffi/variadic_spec.rb +17 -14
  213. data/tasks/extension.rake +0 -1
  214. data/tasks/gem.rake +0 -1
  215. data/tasks/rdoc.rake +1 -1
  216. data/tasks/yard.rake +11 -0
  217. metadata +50 -11
  218. data/lib/1.9/ffi_c.so +0 -0
@@ -1,13 +1,14 @@
1
1
  # Helper functions for option handling. -*- Autoconf -*-
2
2
  #
3
- # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
3
+ # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
4
+ # Inc.
4
5
  # Written by Gary V. Vaughan, 2004
5
6
  #
6
7
  # This file is free software; the Free Software Foundation gives
7
8
  # unlimited permission to copy and/or distribute it, with or without
8
9
  # modifications, as long as this notice is preserved.
9
10
 
10
- # serial 6 ltoptions.m4
11
+ # serial 7 ltoptions.m4
11
12
 
12
13
  # This is to help aclocal find these macros, as it can't see m4_define.
13
14
  AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
@@ -125,7 +126,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll],
125
126
  [enable_win32_dll=yes
126
127
 
127
128
  case $host in
128
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
129
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
129
130
  AC_CHECK_TOOL(AS, as, false)
130
131
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
131
132
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
@@ -133,13 +134,13 @@ case $host in
133
134
  esac
134
135
 
135
136
  test -z "$AS" && AS=as
136
- _LT_DECL([], [AS], [0], [Assembler program])dnl
137
+ _LT_DECL([], [AS], [1], [Assembler program])dnl
137
138
 
138
139
  test -z "$DLLTOOL" && DLLTOOL=dlltool
139
- _LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
140
+ _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
140
141
 
141
142
  test -z "$OBJDUMP" && OBJDUMP=objdump
142
- _LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
143
+ _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
143
144
  ])# win32-dll
144
145
 
145
146
  AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
@@ -7,17 +7,17 @@
7
7
  # unlimited permission to copy and/or distribute it, with or without
8
8
  # modifications, as long as this notice is preserved.
9
9
 
10
- # Generated from ltversion.in.
10
+ # @configure_input@
11
11
 
12
- # serial 3012 ltversion.m4
12
+ # serial 3293 ltversion.m4
13
13
  # This file is part of GNU Libtool
14
14
 
15
- m4_define([LT_PACKAGE_VERSION], [2.2.6])
16
- m4_define([LT_PACKAGE_REVISION], [1.3012])
15
+ m4_define([LT_PACKAGE_VERSION], [2.4])
16
+ m4_define([LT_PACKAGE_REVISION], [1.3293])
17
17
 
18
18
  AC_DEFUN([LTVERSION_VERSION],
19
- [macro_version='2.2.6'
20
- macro_revision='1.3012'
19
+ [macro_version='2.4'
20
+ macro_revision='1.3293'
21
21
  _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
22
22
  _LT_DECL(, macro_revision, 0)
23
23
  ])
@@ -1,13 +1,13 @@
1
1
  # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
2
2
  #
3
- # Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
3
+ # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
4
4
  # Written by Scott James Remnant, 2004.
5
5
  #
6
6
  # This file is free software; the Free Software Foundation gives
7
7
  # unlimited permission to copy and/or distribute it, with or without
8
8
  # modifications, as long as this notice is preserved.
9
9
 
10
- # serial 4 lt~obsolete.m4
10
+ # serial 5 lt~obsolete.m4
11
11
 
12
12
  # These exist entirely to fool aclocal when bootstrapping libtool.
13
13
  #
@@ -77,7 +77,6 @@ m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
77
77
  m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])])
78
78
  m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])])
79
79
  m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])])
80
- m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])])
81
80
  m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
82
81
  m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
83
82
  m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
@@ -90,3 +89,10 @@ m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
90
89
  m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
91
90
  m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])])
92
91
  m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
92
+ m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
93
+ m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
94
+ m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
95
+ m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
96
+ m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])])
97
+ m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])])
98
+ m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
@@ -1,4 +1,4 @@
1
- # Makefile.in generated by automake 1.11 from Makefile.am.
1
+ # Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
4
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@@ -37,7 +37,17 @@ target_triplet = @target@
37
37
  subdir = man
38
38
  DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39
39
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40
- am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
40
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cc_maxopt.m4 \
41
+ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \
42
+ $(top_srcdir)/m4/ax_check_compiler_flags.m4 \
43
+ $(top_srcdir)/m4/ax_compiler_vendor.m4 \
44
+ $(top_srcdir)/m4/ax_configure_args.m4 \
45
+ $(top_srcdir)/m4/ax_enable_builddir.m4 \
46
+ $(top_srcdir)/m4/ax_gcc_archflag.m4 \
47
+ $(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \
48
+ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
49
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
50
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/acinclude.m4 \
41
51
  $(top_srcdir)/configure.ac
42
52
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
53
  $(ACLOCAL_M4)
@@ -76,6 +86,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76
86
  ACLOCAL = @ACLOCAL@
77
87
  ALLOCA = @ALLOCA@
78
88
  AMTAR = @AMTAR@
89
+ AM_LTLDFLAGS = @AM_LTLDFLAGS@
79
90
  AM_RUNTESTFLAGS = @AM_RUNTESTFLAGS@
80
91
  AR = @AR@
81
92
  AUTOCONF = @AUTOCONF@
@@ -93,6 +104,7 @@ CPPFLAGS = @CPPFLAGS@
93
104
  CYGPATH_W = @CYGPATH_W@
94
105
  DEFS = @DEFS@
95
106
  DEPDIR = @DEPDIR@
107
+ DLLTOOL = @DLLTOOL@
96
108
  DSYMUTIL = @DSYMUTIL@
97
109
  DUMPBIN = @DUMPBIN@
98
110
  ECHO_C = @ECHO_C@
@@ -100,6 +112,7 @@ ECHO_N = @ECHO_N@
100
112
  ECHO_T = @ECHO_T@
101
113
  EGREP = @EGREP@
102
114
  EXEEXT = @EXEEXT@
115
+ FFI_EXEC_TRAMPOLINE_TABLE = @FFI_EXEC_TRAMPOLINE_TABLE@
103
116
  FGREP = @FGREP@
104
117
  GREP = @GREP@
105
118
  HAVE_LONG_DOUBLE = @HAVE_LONG_DOUBLE@
@@ -118,6 +131,7 @@ LN_S = @LN_S@
118
131
  LTLIBOBJS = @LTLIBOBJS@
119
132
  MAINT = @MAINT@
120
133
  MAKEINFO = @MAKEINFO@
134
+ MANIFEST_TOOL = @MANIFEST_TOOL@
121
135
  MKDIR_P = @MKDIR_P@
122
136
  NM = @NM@
123
137
  NMEDIT = @NMEDIT@
@@ -130,8 +144,10 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
130
144
  PACKAGE_NAME = @PACKAGE_NAME@
131
145
  PACKAGE_STRING = @PACKAGE_STRING@
132
146
  PACKAGE_TARNAME = @PACKAGE_TARNAME@
147
+ PACKAGE_URL = @PACKAGE_URL@
133
148
  PACKAGE_VERSION = @PACKAGE_VERSION@
134
149
  PATH_SEPARATOR = @PATH_SEPARATOR@
150
+ PRTDIAG = @PRTDIAG@
135
151
  RANLIB = @RANLIB@
136
152
  SED = @SED@
137
153
  SET_MAKE = @SET_MAKE@
@@ -144,6 +160,7 @@ abs_builddir = @abs_builddir@
144
160
  abs_srcdir = @abs_srcdir@
145
161
  abs_top_builddir = @abs_top_builddir@
146
162
  abs_top_srcdir = @abs_top_srcdir@
163
+ ac_ct_AR = @ac_ct_AR@
147
164
  ac_ct_CC = @ac_ct_CC@
148
165
  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
149
166
  am__include = @am__include@
@@ -151,6 +168,7 @@ am__leading_dot = @am__leading_dot@
151
168
  am__quote = @am__quote@
152
169
  am__tar = @am__tar@
153
170
  am__untar = @am__untar@
171
+ ax_enable_builddir_sed = @ax_enable_builddir_sed@
154
172
  bindir = @bindir@
155
173
  build = @build@
156
174
  build_alias = @build_alias@
@@ -176,7 +194,6 @@ libdir = @libdir@
176
194
  libexecdir = @libexecdir@
177
195
  localedir = @localedir@
178
196
  localstatedir = @localstatedir@
179
- lt_ECHO = @lt_ECHO@
180
197
  mandir = @mandir@
181
198
  mkdir_p = @mkdir_p@
182
199
  oldincludedir = @oldincludedir@
@@ -187,6 +204,7 @@ psdir = @psdir@
187
204
  sbindir = @sbindir@
188
205
  sharedstatedir = @sharedstatedir@
189
206
  srcdir = @srcdir@
207
+ sys_symbol_underscore = @sys_symbol_underscore@
190
208
  sysconfdir = @sysconfdir@
191
209
  target = @target@
192
210
  target_alias = @target_alias@
File without changes
@@ -1,10 +1,10 @@
1
1
  #! /bin/sh
2
2
  # Common stub for a few missing GNU programs while installing.
3
3
 
4
- scriptversion=2005-06-08.21
4
+ scriptversion=2009-04-28.21; # UTC
5
5
 
6
- # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
7
- # Free Software Foundation, Inc.
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
+ # 2008, 2009 Free Software Foundation, Inc.
8
8
  # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
9
 
10
10
  # This program is free software; you can redistribute it and/or modify
@@ -18,9 +18,7 @@ scriptversion=2005-06-08.21
18
18
  # GNU General Public License for more details.
19
19
 
20
20
  # You should have received a copy of the GNU General Public License
21
- # along with this program; if not, write to the Free Software
22
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
- # 02110-1301, USA.
21
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
24
22
 
25
23
  # As a special exception to the GNU General Public License, if you
26
24
  # distribute this file as part of a program that contains a
@@ -33,6 +31,8 @@ if test $# -eq 0; then
33
31
  fi
34
32
 
35
33
  run=:
34
+ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
35
+ sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
36
36
 
37
37
  # In the cases where this matters, `missing' is being run in the
38
38
  # srcdir already.
@@ -44,7 +44,7 @@ fi
44
44
 
45
45
  msg="missing on your system"
46
46
 
47
- case "$1" in
47
+ case $1 in
48
48
  --run)
49
49
  # Try to run requested program, and just exit if it succeeds.
50
50
  run=
@@ -77,6 +77,7 @@ Supported PROGRAM values:
77
77
  aclocal touch file \`aclocal.m4'
78
78
  autoconf touch file \`configure'
79
79
  autoheader touch file \`config.h.in'
80
+ autom4te touch the output file, or create a stub one
80
81
  automake touch all \`Makefile.in' files
81
82
  bison create \`y.tab.[ch]', if possible, from existing .[ch]
82
83
  flex create \`lex.yy.c', if possible, from existing .c
@@ -86,6 +87,9 @@ Supported PROGRAM values:
86
87
  tar try tar, gnutar, gtar, then tar without non-portable flags
87
88
  yacc create \`y.tab.[ch]', if possible, from existing .[ch]
88
89
 
90
+ Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
91
+ \`g' are ignored when checking the name.
92
+
89
93
  Send bug reports to <bug-automake@gnu.org>."
90
94
  exit $?
91
95
  ;;
@@ -103,15 +107,22 @@ Send bug reports to <bug-automake@gnu.org>."
103
107
 
104
108
  esac
105
109
 
110
+ # normalize program name to check for.
111
+ program=`echo "$1" | sed '
112
+ s/^gnu-//; t
113
+ s/^gnu//; t
114
+ s/^g//; t'`
115
+
106
116
  # Now exit if we have it, but it failed. Also exit now if we
107
117
  # don't have it and --version was passed (most likely to detect
108
- # the program).
109
- case "$1" in
110
- lex|yacc)
118
+ # the program). This is about non-GNU programs, so use $1 not
119
+ # $program.
120
+ case $1 in
121
+ lex*|yacc*)
111
122
  # Not GNU programs, they don't have --version.
112
123
  ;;
113
124
 
114
- tar)
125
+ tar*)
115
126
  if test -n "$run"; then
116
127
  echo 1>&2 "ERROR: \`tar' requires --run"
117
128
  exit 1
@@ -135,7 +146,7 @@ esac
135
146
 
136
147
  # If it does not exist, or fails to run (possibly an outdated version),
137
148
  # try to emulate it.
138
- case "$1" in
149
+ case $program in
139
150
  aclocal*)
140
151
  echo 1>&2 "\
141
152
  WARNING: \`$1' is $msg. You should only need it if
@@ -145,7 +156,7 @@ WARNING: \`$1' is $msg. You should only need it if
145
156
  touch aclocal.m4
146
157
  ;;
147
158
 
148
- autoconf)
159
+ autoconf*)
149
160
  echo 1>&2 "\
150
161
  WARNING: \`$1' is $msg. You should only need it if
151
162
  you modified \`${configure_ac}'. You might want to install the
@@ -154,7 +165,7 @@ WARNING: \`$1' is $msg. You should only need it if
154
165
  touch configure
155
166
  ;;
156
167
 
157
- autoheader)
168
+ autoheader*)
158
169
  echo 1>&2 "\
159
170
  WARNING: \`$1' is $msg. You should only need it if
160
171
  you modified \`acconfig.h' or \`${configure_ac}'. You might want
@@ -164,7 +175,7 @@ WARNING: \`$1' is $msg. You should only need it if
164
175
  test -z "$files" && files="config.h"
165
176
  touch_files=
166
177
  for f in $files; do
167
- case "$f" in
178
+ case $f in
168
179
  *:*) touch_files="$touch_files "`echo "$f" |
169
180
  sed -e 's/^[^:]*://' -e 's/:.*//'`;;
170
181
  *) touch_files="$touch_files $f.in";;
@@ -184,7 +195,7 @@ WARNING: \`$1' is $msg. You should only need it if
184
195
  while read f; do touch "$f"; done
185
196
  ;;
186
197
 
187
- autom4te)
198
+ autom4te*)
188
199
  echo 1>&2 "\
189
200
  WARNING: \`$1' is needed, but is $msg.
190
201
  You might have modified some files without having the
@@ -192,8 +203,8 @@ WARNING: \`$1' is needed, but is $msg.
192
203
  You can get \`$1' as part of \`Autoconf' from any GNU
193
204
  archive site."
194
205
 
195
- file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
196
- test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
206
+ file=`echo "$*" | sed -n "$sed_output"`
207
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
197
208
  if test -f "$file"; then
198
209
  touch $file
199
210
  else
@@ -207,80 +218,78 @@ WARNING: \`$1' is needed, but is $msg.
207
218
  fi
208
219
  ;;
209
220
 
210
- bison|yacc)
221
+ bison*|yacc*)
211
222
  echo 1>&2 "\
212
223
  WARNING: \`$1' $msg. You should only need it if
213
224
  you modified a \`.y' file. You may need the \`Bison' package
214
225
  in order for those modifications to take effect. You can get
215
226
  \`Bison' from any GNU archive site."
216
227
  rm -f y.tab.c y.tab.h
217
- if [ $# -ne 1 ]; then
228
+ if test $# -ne 1; then
218
229
  eval LASTARG="\${$#}"
219
- case "$LASTARG" in
230
+ case $LASTARG in
220
231
  *.y)
221
232
  SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
222
- if [ -f "$SRCFILE" ]; then
233
+ if test -f "$SRCFILE"; then
223
234
  cp "$SRCFILE" y.tab.c
224
235
  fi
225
236
  SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
226
- if [ -f "$SRCFILE" ]; then
237
+ if test -f "$SRCFILE"; then
227
238
  cp "$SRCFILE" y.tab.h
228
239
  fi
229
240
  ;;
230
241
  esac
231
242
  fi
232
- if [ ! -f y.tab.h ]; then
243
+ if test ! -f y.tab.h; then
233
244
  echo >y.tab.h
234
245
  fi
235
- if [ ! -f y.tab.c ]; then
246
+ if test ! -f y.tab.c; then
236
247
  echo 'main() { return 0; }' >y.tab.c
237
248
  fi
238
249
  ;;
239
250
 
240
- lex|flex)
251
+ lex*|flex*)
241
252
  echo 1>&2 "\
242
253
  WARNING: \`$1' is $msg. You should only need it if
243
254
  you modified a \`.l' file. You may need the \`Flex' package
244
255
  in order for those modifications to take effect. You can get
245
256
  \`Flex' from any GNU archive site."
246
257
  rm -f lex.yy.c
247
- if [ $# -ne 1 ]; then
258
+ if test $# -ne 1; then
248
259
  eval LASTARG="\${$#}"
249
- case "$LASTARG" in
260
+ case $LASTARG in
250
261
  *.l)
251
262
  SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
252
- if [ -f "$SRCFILE" ]; then
263
+ if test -f "$SRCFILE"; then
253
264
  cp "$SRCFILE" lex.yy.c
254
265
  fi
255
266
  ;;
256
267
  esac
257
268
  fi
258
- if [ ! -f lex.yy.c ]; then
269
+ if test ! -f lex.yy.c; then
259
270
  echo 'main() { return 0; }' >lex.yy.c
260
271
  fi
261
272
  ;;
262
273
 
263
- help2man)
274
+ help2man*)
264
275
  echo 1>&2 "\
265
276
  WARNING: \`$1' is $msg. You should only need it if
266
277
  you modified a dependency of a manual page. You may need the
267
278
  \`Help2man' package in order for those modifications to take
268
279
  effect. You can get \`Help2man' from any GNU archive site."
269
280
 
270
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
271
- if test -z "$file"; then
272
- file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
273
- fi
274
- if [ -f "$file" ]; then
281
+ file=`echo "$*" | sed -n "$sed_output"`
282
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
283
+ if test -f "$file"; then
275
284
  touch $file
276
285
  else
277
286
  test -z "$file" || exec >$file
278
287
  echo ".ab help2man is required to generate this page"
279
- exit 1
288
+ exit $?
280
289
  fi
281
290
  ;;
282
291
 
283
- makeinfo)
292
+ makeinfo*)
284
293
  echo 1>&2 "\
285
294
  WARNING: \`$1' is $msg. You should only need it if
286
295
  you modified a \`.texi' or \`.texinfo' file, or any other file
@@ -289,11 +298,17 @@ WARNING: \`$1' is $msg. You should only need it if
289
298
  DU, IRIX). You might want to install the \`Texinfo' package or
290
299
  the \`GNU make' package. Grab either from any GNU archive site."
291
300
  # The file to touch is that specified with -o ...
292
- file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
301
+ file=`echo "$*" | sed -n "$sed_output"`
302
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
293
303
  if test -z "$file"; then
294
304
  # ... or it is the one specified with @setfilename ...
295
305
  infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296
- file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
306
+ file=`sed -n '
307
+ /^@setfilename/{
308
+ s/.* \([^ ]*\) *$/\1/
309
+ p
310
+ q
311
+ }' $infile`
297
312
  # ... or it is derived from the source name (dir/f.texi becomes f.info)
298
313
  test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
299
314
  fi
@@ -303,7 +318,7 @@ WARNING: \`$1' is $msg. You should only need it if
303
318
  touch $file
304
319
  ;;
305
320
 
306
- tar)
321
+ tar*)
307
322
  shift
308
323
 
309
324
  # We have already tried tar in the generic part.
@@ -317,13 +332,13 @@ WARNING: \`$1' is $msg. You should only need it if
317
332
  fi
318
333
  firstarg="$1"
319
334
  if shift; then
320
- case "$firstarg" in
335
+ case $firstarg in
321
336
  *o*)
322
337
  firstarg=`echo "$firstarg" | sed s/o//`
323
338
  tar "$firstarg" "$@" && exit 0
324
339
  ;;
325
340
  esac
326
- case "$firstarg" in
341
+ case $firstarg in
327
342
  *h*)
328
343
  firstarg=`echo "$firstarg" | sed s/h//`
329
344
  tar "$firstarg" "$@" && exit 0
@@ -356,5 +371,6 @@ exit 0
356
371
  # eval: (add-hook 'write-file-hooks 'time-stamp)
357
372
  # time-stamp-start: "scriptversion="
358
373
  # time-stamp-format: "%:y-%02m-%02d.%02H"
359
- # time-stamp-end: "$"
374
+ # time-stamp-time-zone: "UTC"
375
+ # time-stamp-end: "; # UTC"
360
376
  # End: