lightdrift-libraw 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. package/CHANGELOG.md +374 -0
  2. package/LICENSE +21 -0
  3. package/README.md +757 -0
  4. package/binding.gyp +38 -0
  5. package/deps/LibRaw-Source/LibRaw-0.21.4/.clang-format +4 -0
  6. package/deps/LibRaw-Source/LibRaw-0.21.4/COPYRIGHT +27 -0
  7. package/deps/LibRaw-Source/LibRaw-0.21.4/Changelog.txt +2802 -0
  8. package/deps/LibRaw-Source/LibRaw-0.21.4/DEVELOPER-NOTES +20 -0
  9. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-1_4-allow-VC5-validate.diff +21 -0
  10. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-1_6-hide-ccVc5-definitiion.diff +15 -0
  11. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-allow-VC5-validate.diff +21 -0
  12. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/gpr_read_image.cpp.diff +29 -0
  13. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/gpr_read_image.h.diff +12 -0
  14. package/deps/LibRaw-Source/LibRaw-0.21.4/INSTALL +51 -0
  15. package/deps/LibRaw-Source/LibRaw-0.21.4/LICENSE.CDDL +340 -0
  16. package/deps/LibRaw-Source/LibRaw-0.21.4/LICENSE.LGPL +458 -0
  17. package/deps/LibRaw-Source/LibRaw-0.21.4/LibRaw.pro +19 -0
  18. package/deps/LibRaw-Source/LibRaw-0.21.4/LibRaw.sln +123 -0
  19. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.am +140 -0
  20. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.devel.nopp +230 -0
  21. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.devel.noppr2i +227 -0
  22. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.dist +501 -0
  23. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.in +1849 -0
  24. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.mingw +297 -0
  25. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.msvc +628 -0
  26. package/deps/LibRaw-Source/LibRaw-0.21.4/README.DNGSDK.txt +43 -0
  27. package/deps/LibRaw-Source/LibRaw-0.21.4/README.GoPro.txt +112 -0
  28. package/deps/LibRaw-Source/LibRaw-0.21.4/README.RawSpeed.txt +62 -0
  29. package/deps/LibRaw-Source/LibRaw-0.21.4/README.cmake +9 -0
  30. package/deps/LibRaw-Source/LibRaw-0.21.4/README.demosaic-packs +17 -0
  31. package/deps/LibRaw-Source/LibRaw-0.21.4/README.md +106 -0
  32. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.cpucount-unix.patch +15 -0
  33. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.qmake-pro-files.patch +84 -0
  34. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.samsung-decoder.patch +39 -0
  35. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.uncompressed-color-dng.patch +13 -0
  36. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.win32-dll.patch +186 -0
  37. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed_xmldata.cpp +4115 -0
  38. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/README.md +69 -0
  39. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/01.CameraMeta-extensibility.patch +13 -0
  40. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/02.Makernotes-processing.patch +36 -0
  41. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/03.remove-limits-and-logging.patch +245 -0
  42. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/04.clang-cl-compatibility.patch +37 -0
  43. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.cpp +251 -0
  44. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.h +83 -0
  45. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi_test.cpp +71 -0
  46. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rsxml2c.sh +5 -0
  47. package/deps/LibRaw-Source/LibRaw-0.21.4/aclocal.m4 +1446 -0
  48. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.0 +19332 -0
  49. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.1 +19332 -0
  50. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.2 +19332 -0
  51. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/requests +544 -0
  52. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.0 +3028 -0
  53. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.1 +665 -0
  54. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.2 +3028 -0
  55. package/deps/LibRaw-Source/LibRaw-0.21.4/bin/.keep_me +2 -0
  56. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.pro +5 -0
  57. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.vcxproj +145 -0
  58. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.vcxproj.filters +18 -0
  59. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.pro +6 -0
  60. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj +145 -0
  61. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj.filters +18 -0
  62. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.pro +6 -0
  63. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj +145 -0
  64. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj.filters +18 -0
  65. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/half_mt.pro +10 -0
  66. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw-common-lib.pro +28 -0
  67. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw-common.pro +8 -0
  68. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.pro +70 -0
  69. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.vcxproj +234 -0
  70. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.vcxproj.filters +295 -0
  71. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.pro +6 -0
  72. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.vcxproj +145 -0
  73. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.vcxproj.filters +18 -0
  74. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.pro +6 -0
  75. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj +145 -0
  76. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj.filters +18 -0
  77. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.pro +6 -0
  78. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj +145 -0
  79. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj.filters +18 -0
  80. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.pro +4 -0
  81. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj +145 -0
  82. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj.filters +18 -0
  83. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.pro +6 -0
  84. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj +145 -0
  85. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj.filters +18 -0
  86. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.pro +6 -0
  87. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj +145 -0
  88. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj.filters +18 -0
  89. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.pro +6 -0
  90. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj +145 -0
  91. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj.filters +18 -0
  92. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.pro +6 -0
  93. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj +145 -0
  94. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj.filters +18 -0
  95. package/deps/LibRaw-Source/LibRaw-0.21.4/compile +347 -0
  96. package/deps/LibRaw-Source/LibRaw-0.21.4/config.guess +1433 -0
  97. package/deps/LibRaw-Source/LibRaw-0.21.4/config.sub +1804 -0
  98. package/deps/LibRaw-Source/LibRaw-0.21.4/configure +19332 -0
  99. package/deps/LibRaw-Source/LibRaw-0.21.4/configure.ac +153 -0
  100. package/deps/LibRaw-Source/LibRaw-0.21.4/depcomp +791 -0
  101. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-C.html +187 -0
  102. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-CXX.html +881 -0
  103. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-datastruct.html +1341 -0
  104. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-notes.html +305 -0
  105. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-overview.html +66 -0
  106. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Install-LibRaw.html +124 -0
  107. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Samples-LibRaw.html +213 -0
  108. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Why-LibRaw.html +65 -0
  109. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/index.html +38 -0
  110. package/deps/LibRaw-Source/LibRaw-0.21.4/install-sh +501 -0
  111. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dcraw_defs.h +66 -0
  112. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dcraw_fileio_defs.h +25 -0
  113. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/defines.h +193 -0
  114. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dmp_include.h +27 -0
  115. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_cameraids.h +320 -0
  116. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_cxx_defs.h +133 -0
  117. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_internal_funcs.h +412 -0
  118. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/var_defines.h +215 -0
  119. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/x3f_tools.h +539 -0
  120. package/deps/LibRaw-Source/LibRaw-0.21.4/lib/Makefile +3 -0
  121. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw.h +534 -0
  122. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_alloc.h +148 -0
  123. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_const.h +814 -0
  124. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_datastream.h +410 -0
  125. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_internal.h +341 -0
  126. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_types.h +1175 -0
  127. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_version.h +63 -0
  128. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw.pc.in +12 -0
  129. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw_r.pc.in +12 -0
  130. package/deps/LibRaw-Source/LibRaw-0.21.4/ltmain.sh +11147 -0
  131. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ax_openmp.m4 +99 -0
  132. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/libtool.m4 +8369 -0
  133. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltoptions.m4 +437 -0
  134. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltsugar.m4 +124 -0
  135. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltversion.m4 +23 -0
  136. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/lt~obsolete.m4 +99 -0
  137. package/deps/LibRaw-Source/LibRaw-0.21.4/missing +215 -0
  138. package/deps/LibRaw-Source/LibRaw-0.21.4/object/.keep_me +0 -0
  139. package/deps/LibRaw-Source/LibRaw-0.21.4/rsxml2c.sh +6 -0
  140. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/4channels.cpp +174 -0
  141. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/Makefile +2 -0
  142. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/dcraw_emu.cpp +670 -0
  143. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/dcraw_half.c +78 -0
  144. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/half_mt.c +178 -0
  145. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/half_mt_win32.c +212 -0
  146. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/mem_image_sample.cpp +282 -0
  147. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/multirender_test.cpp +107 -0
  148. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/openbayer_sample.cpp +65 -0
  149. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/postprocessing_benchmark.cpp +223 -0
  150. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/raw-identify.cpp +743 -0
  151. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/rawtextdump.cpp +144 -0
  152. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/simple_dcraw.cpp +217 -0
  153. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/unprocessed_raw.cpp +319 -0
  154. package/deps/LibRaw-Source/LibRaw-0.21.4/shlib-version.sh +11 -0
  155. package/deps/LibRaw-Source/LibRaw-0.21.4/src/Makefile +2 -0
  156. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/canon_600.cpp +225 -0
  157. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/crx.cpp +2781 -0
  158. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_dcraw.cpp +1816 -0
  159. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_libraw.cpp +873 -0
  160. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_libraw_dcrdefs.cpp +411 -0
  161. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/dng.cpp +284 -0
  162. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/fp_dng.cpp +689 -0
  163. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/fuji_compressed.cpp +1210 -0
  164. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/generic.cpp +101 -0
  165. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/kodak_decoders.cpp +524 -0
  166. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/load_mfbacks.cpp +936 -0
  167. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/smal.cpp +181 -0
  168. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/unpack.cpp +508 -0
  169. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/unpack_thumb.cpp +405 -0
  170. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/aahd_demosaic.cpp +781 -0
  171. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/ahd_demosaic.cpp +355 -0
  172. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/dcb_demosaic.cpp +900 -0
  173. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/dht_demosaic.cpp +1033 -0
  174. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/misc_demosaic.cpp +420 -0
  175. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/xtrans_demosaic.cpp +434 -0
  176. package/deps/LibRaw-Source/LibRaw-0.21.4/src/integration/dngsdk_glue.cpp +416 -0
  177. package/deps/LibRaw-Source/LibRaw-0.21.4/src/integration/rawspeed_glue.cpp +286 -0
  178. package/deps/LibRaw-Source/LibRaw-0.21.4/src/libraw_c_api.cpp +457 -0
  179. package/deps/LibRaw-Source/LibRaw-0.21.4/src/libraw_datastream.cpp +1046 -0
  180. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/adobepano.cpp +154 -0
  181. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/canon.cpp +1335 -0
  182. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/ciff.cpp +411 -0
  183. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/cr3_parser.cpp +896 -0
  184. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/epson.cpp +96 -0
  185. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/exif_gps.cpp +430 -0
  186. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/fuji.cpp +1427 -0
  187. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/hasselblad_model.cpp +538 -0
  188. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/identify.cpp +3167 -0
  189. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/identify_tools.cpp +140 -0
  190. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/kodak.cpp +363 -0
  191. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/leica.cpp +375 -0
  192. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/makernotes.cpp +786 -0
  193. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/mediumformat.cpp +521 -0
  194. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/minolta.cpp +110 -0
  195. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/misc_parsers.cpp +694 -0
  196. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/nikon.cpp +1051 -0
  197. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/normalize_model.cpp +1451 -0
  198. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/olympus.cpp +685 -0
  199. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/p1.cpp +192 -0
  200. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/pentax.cpp +675 -0
  201. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/samsung.cpp +182 -0
  202. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/sony.cpp +2320 -0
  203. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/tiff.cpp +2198 -0
  204. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/aspect_ratio.cpp +113 -0
  205. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/dcraw_process.cpp +259 -0
  206. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/mem_image.cpp +292 -0
  207. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_aux.cpp +413 -0
  208. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_ph.cpp +31 -0
  209. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_utils.cpp +190 -0
  210. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_utils_dcrdefs.cpp +308 -0
  211. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/ext_preprocess.cpp +127 -0
  212. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/preprocessing_ph.cpp +24 -0
  213. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/raw2image.cpp +560 -0
  214. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/subtract_black.cpp +91 -0
  215. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/cameralist.cpp +1268 -0
  216. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/colorconst.cpp +57 -0
  217. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/colordata.cpp +1841 -0
  218. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/wblists.cpp +217 -0
  219. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/curves.cpp +154 -0
  220. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/decoder_info.cpp +413 -0
  221. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/init_close_utils.cpp +340 -0
  222. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/open.cpp +1269 -0
  223. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/phaseone_processing.cpp +101 -0
  224. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/read_utils.cpp +176 -0
  225. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/thumb_utils.cpp +338 -0
  226. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/utils_dcraw.cpp +330 -0
  227. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/utils_libraw.cpp +673 -0
  228. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/apply_profile.cpp +76 -0
  229. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/file_write.cpp +338 -0
  230. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/tiff_writer.cpp +73 -0
  231. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/write_ph.cpp +39 -0
  232. package/deps/LibRaw-Source/LibRaw-0.21.4/src/x3f/x3f_parse_process.cpp +708 -0
  233. package/deps/LibRaw-Source/LibRaw-0.21.4/src/x3f/x3f_utils_patched.cpp +2119 -0
  234. package/deps/LibRaw-Source/LibRaw-0.21.4/version.sh +16 -0
  235. package/deps/LibRaw-Win64/LibRaw-0.21.4/.clang-format +4 -0
  236. package/deps/LibRaw-Win64/LibRaw-0.21.4/COPYRIGHT +27 -0
  237. package/deps/LibRaw-Win64/LibRaw-0.21.4/Changelog.txt +2802 -0
  238. package/deps/LibRaw-Win64/LibRaw-0.21.4/DEVELOPER-NOTES +20 -0
  239. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-1_4-allow-VC5-validate.diff +21 -0
  240. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-1_6-hide-ccVc5-definitiion.diff +15 -0
  241. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-allow-VC5-validate.diff +21 -0
  242. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/gpr_read_image.cpp.diff +29 -0
  243. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/gpr_read_image.h.diff +12 -0
  244. package/deps/LibRaw-Win64/LibRaw-0.21.4/INSTALL +51 -0
  245. package/deps/LibRaw-Win64/LibRaw-0.21.4/LICENSE.CDDL +340 -0
  246. package/deps/LibRaw-Win64/LibRaw-0.21.4/LICENSE.LGPL +458 -0
  247. package/deps/LibRaw-Win64/LibRaw-0.21.4/LibRaw.pro +19 -0
  248. package/deps/LibRaw-Win64/LibRaw-0.21.4/LibRaw.sln +123 -0
  249. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.am +140 -0
  250. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.devel.nopp +230 -0
  251. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.devel.noppr2i +227 -0
  252. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.dist +501 -0
  253. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.in +1849 -0
  254. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.mingw +297 -0
  255. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.msvc +628 -0
  256. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.DNGSDK.txt +43 -0
  257. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.GoPro.txt +112 -0
  258. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.RawSpeed.txt +62 -0
  259. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.cmake +9 -0
  260. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.demosaic-packs +17 -0
  261. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.md +106 -0
  262. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.cpucount-unix.patch +15 -0
  263. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.qmake-pro-files.patch +84 -0
  264. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.samsung-decoder.patch +39 -0
  265. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.uncompressed-color-dng.patch +13 -0
  266. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.win32-dll.patch +186 -0
  267. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed_xmldata.cpp +4115 -0
  268. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/README.md +69 -0
  269. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/01.CameraMeta-extensibility.patch +13 -0
  270. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/02.Makernotes-processing.patch +36 -0
  271. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/03.remove-limits-and-logging.patch +245 -0
  272. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/04.clang-cl-compatibility.patch +37 -0
  273. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.cpp +251 -0
  274. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.h +83 -0
  275. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi_test.cpp +71 -0
  276. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rsxml2c.sh +5 -0
  277. package/deps/LibRaw-Win64/LibRaw-0.21.4/aclocal.m4 +1446 -0
  278. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.0 +19332 -0
  279. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.1 +19332 -0
  280. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.2 +19332 -0
  281. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/requests +544 -0
  282. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.0 +3028 -0
  283. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.1 +665 -0
  284. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.2 +3028 -0
  285. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/.keep_me +2 -0
  286. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/4channels.exe +0 -0
  287. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/dcraw_emu.exe +0 -0
  288. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/dcraw_half.exe +0 -0
  289. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/half_mt.exe +0 -0
  290. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/libraw.dll +0 -0
  291. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/mem_image.exe +0 -0
  292. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/multirender_test.exe +0 -0
  293. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/openbayer_sample.exe +0 -0
  294. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/postprocessing_benchmark.exe +0 -0
  295. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/raw-identify.exe +0 -0
  296. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/rawtextdump.exe +0 -0
  297. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/simple_dcraw.exe +0 -0
  298. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/unprocessed_raw.exe +0 -0
  299. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.pro +5 -0
  300. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.vcxproj +145 -0
  301. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.vcxproj.filters +18 -0
  302. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.pro +6 -0
  303. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj +145 -0
  304. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj.filters +18 -0
  305. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.pro +6 -0
  306. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj +145 -0
  307. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj.filters +18 -0
  308. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/half_mt.pro +10 -0
  309. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw-common-lib.pro +28 -0
  310. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw-common.pro +8 -0
  311. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.pro +70 -0
  312. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.vcxproj +234 -0
  313. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.vcxproj.filters +295 -0
  314. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.pro +6 -0
  315. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.vcxproj +145 -0
  316. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.vcxproj.filters +18 -0
  317. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.pro +6 -0
  318. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj +145 -0
  319. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj.filters +18 -0
  320. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.pro +6 -0
  321. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj +145 -0
  322. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj.filters +18 -0
  323. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.pro +4 -0
  324. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj +145 -0
  325. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj.filters +18 -0
  326. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.pro +6 -0
  327. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj +145 -0
  328. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj.filters +18 -0
  329. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.pro +6 -0
  330. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj +145 -0
  331. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj.filters +18 -0
  332. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.pro +6 -0
  333. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj +145 -0
  334. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj.filters +18 -0
  335. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.pro +6 -0
  336. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj +145 -0
  337. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj.filters +18 -0
  338. package/deps/LibRaw-Win64/LibRaw-0.21.4/compile +347 -0
  339. package/deps/LibRaw-Win64/LibRaw-0.21.4/config.guess +1433 -0
  340. package/deps/LibRaw-Win64/LibRaw-0.21.4/config.sub +1804 -0
  341. package/deps/LibRaw-Win64/LibRaw-0.21.4/configure +19332 -0
  342. package/deps/LibRaw-Win64/LibRaw-0.21.4/configure.ac +153 -0
  343. package/deps/LibRaw-Win64/LibRaw-0.21.4/depcomp +791 -0
  344. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-C.html +187 -0
  345. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-CXX.html +881 -0
  346. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-datastruct.html +1341 -0
  347. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-notes.html +305 -0
  348. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-overview.html +66 -0
  349. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Install-LibRaw.html +124 -0
  350. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Samples-LibRaw.html +213 -0
  351. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Why-LibRaw.html +65 -0
  352. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/index.html +38 -0
  353. package/deps/LibRaw-Win64/LibRaw-0.21.4/install-sh +501 -0
  354. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dcraw_defs.h +66 -0
  355. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dcraw_fileio_defs.h +25 -0
  356. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/defines.h +193 -0
  357. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dmp_include.h +27 -0
  358. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_cameraids.h +320 -0
  359. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_cxx_defs.h +133 -0
  360. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_internal_funcs.h +412 -0
  361. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/var_defines.h +215 -0
  362. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/x3f_tools.h +539 -0
  363. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/Makefile +3 -0
  364. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw.exp +0 -0
  365. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw.lib +0 -0
  366. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw_static.lib +0 -0
  367. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw.h +534 -0
  368. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_alloc.h +148 -0
  369. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_const.h +814 -0
  370. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_datastream.h +410 -0
  371. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_internal.h +341 -0
  372. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_types.h +1175 -0
  373. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_version.h +63 -0
  374. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw.pc.in +12 -0
  375. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw_r.pc.in +12 -0
  376. package/deps/LibRaw-Win64/LibRaw-0.21.4/ltmain.sh +11147 -0
  377. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ax_openmp.m4 +99 -0
  378. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/libtool.m4 +8369 -0
  379. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltoptions.m4 +437 -0
  380. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltsugar.m4 +124 -0
  381. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltversion.m4 +23 -0
  382. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/lt~obsolete.m4 +99 -0
  383. package/deps/LibRaw-Win64/LibRaw-0.21.4/missing +215 -0
  384. package/deps/LibRaw-Win64/LibRaw-0.21.4/object/.keep_me +0 -0
  385. package/deps/LibRaw-Win64/LibRaw-0.21.4/rsxml2c.sh +6 -0
  386. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/4channels.cpp +174 -0
  387. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/Makefile +2 -0
  388. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/dcraw_emu.cpp +670 -0
  389. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/dcraw_half.c +78 -0
  390. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/half_mt.c +178 -0
  391. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/half_mt_win32.c +212 -0
  392. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/mem_image_sample.cpp +282 -0
  393. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/multirender_test.cpp +107 -0
  394. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/openbayer_sample.cpp +65 -0
  395. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/postprocessing_benchmark.cpp +223 -0
  396. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/raw-identify.cpp +743 -0
  397. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/rawtextdump.cpp +144 -0
  398. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/simple_dcraw.cpp +217 -0
  399. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/unprocessed_raw.cpp +319 -0
  400. package/deps/LibRaw-Win64/LibRaw-0.21.4/shlib-version.sh +11 -0
  401. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/Makefile +2 -0
  402. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/canon_600.cpp +225 -0
  403. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/crx.cpp +2781 -0
  404. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_dcraw.cpp +1816 -0
  405. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_libraw.cpp +873 -0
  406. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_libraw_dcrdefs.cpp +411 -0
  407. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/dng.cpp +284 -0
  408. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/fp_dng.cpp +689 -0
  409. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/fuji_compressed.cpp +1210 -0
  410. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/generic.cpp +101 -0
  411. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/kodak_decoders.cpp +524 -0
  412. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/load_mfbacks.cpp +936 -0
  413. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/smal.cpp +181 -0
  414. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/unpack.cpp +508 -0
  415. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/unpack_thumb.cpp +405 -0
  416. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/aahd_demosaic.cpp +781 -0
  417. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/ahd_demosaic.cpp +355 -0
  418. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/dcb_demosaic.cpp +900 -0
  419. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/dht_demosaic.cpp +1033 -0
  420. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/misc_demosaic.cpp +420 -0
  421. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/xtrans_demosaic.cpp +434 -0
  422. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/integration/dngsdk_glue.cpp +416 -0
  423. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/integration/rawspeed_glue.cpp +286 -0
  424. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/libraw_c_api.cpp +457 -0
  425. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/libraw_datastream.cpp +1046 -0
  426. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/adobepano.cpp +154 -0
  427. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/canon.cpp +1335 -0
  428. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/ciff.cpp +411 -0
  429. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/cr3_parser.cpp +896 -0
  430. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/epson.cpp +96 -0
  431. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/exif_gps.cpp +430 -0
  432. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/fuji.cpp +1427 -0
  433. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/hasselblad_model.cpp +538 -0
  434. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/identify.cpp +3167 -0
  435. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/identify_tools.cpp +140 -0
  436. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/kodak.cpp +363 -0
  437. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/leica.cpp +375 -0
  438. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/makernotes.cpp +786 -0
  439. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/mediumformat.cpp +521 -0
  440. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/minolta.cpp +110 -0
  441. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/misc_parsers.cpp +694 -0
  442. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/nikon.cpp +1051 -0
  443. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/normalize_model.cpp +1451 -0
  444. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/olympus.cpp +685 -0
  445. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/p1.cpp +192 -0
  446. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/pentax.cpp +675 -0
  447. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/samsung.cpp +182 -0
  448. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/sony.cpp +2320 -0
  449. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/tiff.cpp +2198 -0
  450. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/aspect_ratio.cpp +113 -0
  451. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/dcraw_process.cpp +259 -0
  452. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/mem_image.cpp +292 -0
  453. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_aux.cpp +413 -0
  454. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_ph.cpp +31 -0
  455. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_utils.cpp +190 -0
  456. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_utils_dcrdefs.cpp +308 -0
  457. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/ext_preprocess.cpp +127 -0
  458. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/preprocessing_ph.cpp +24 -0
  459. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/raw2image.cpp +560 -0
  460. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/subtract_black.cpp +91 -0
  461. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/cameralist.cpp +1268 -0
  462. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/colorconst.cpp +57 -0
  463. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/colordata.cpp +1841 -0
  464. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/wblists.cpp +217 -0
  465. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/curves.cpp +154 -0
  466. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/decoder_info.cpp +413 -0
  467. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/init_close_utils.cpp +340 -0
  468. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/open.cpp +1269 -0
  469. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/phaseone_processing.cpp +101 -0
  470. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/read_utils.cpp +176 -0
  471. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/thumb_utils.cpp +338 -0
  472. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/utils_dcraw.cpp +330 -0
  473. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/utils_libraw.cpp +673 -0
  474. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/apply_profile.cpp +76 -0
  475. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/file_write.cpp +338 -0
  476. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/tiff_writer.cpp +73 -0
  477. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/write_ph.cpp +39 -0
  478. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/x3f/x3f_parse_process.cpp +708 -0
  479. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/x3f/x3f_utils_patched.cpp +2119 -0
  480. package/deps/LibRaw-Win64/LibRaw-0.21.4/version.sh +16 -0
  481. package/lib/index.d.ts +324 -0
  482. package/lib/index.js +761 -0
  483. package/package.json +97 -0
  484. package/src/addon.cpp +8 -0
  485. package/src/libraw_wrapper.cpp +1223 -0
  486. package/src/libraw_wrapper.h +109 -0
  487. package/src/libraw_wrapper_new.cpp +853 -0
@@ -0,0 +1,1446 @@
1
+ # generated automatically by aclocal 1.15 -*- Autoconf -*-
2
+
3
+ # Copyright (C) 1996-2014 Free Software Foundation, Inc.
4
+
5
+ # This file is free software; the Free Software Foundation
6
+ # gives unlimited permission to copy and/or distribute it,
7
+ # with or without modifications, as long as this notice is preserved.
8
+
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+ # PARTICULAR PURPOSE.
13
+
14
+ m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15
+ m4_ifndef([AC_AUTOCONF_VERSION],
16
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
+ m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
+ [m4_warning([this file was generated for autoconf 2.69.
19
+ You have another version of autoconf. It may work, but is not guaranteed to.
20
+ If you have problems, you may need to regenerate the build system entirely.
21
+ To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
+
23
+ # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
24
+ # serial 1 (pkg-config-0.24)
25
+ #
26
+ # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
27
+ #
28
+ # This program is free software; you can redistribute it and/or modify
29
+ # it under the terms of the GNU General Public License as published by
30
+ # the Free Software Foundation; either version 2 of the License, or
31
+ # (at your option) any later version.
32
+ #
33
+ # This program is distributed in the hope that it will be useful, but
34
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
35
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36
+ # General Public License for more details.
37
+ #
38
+ # You should have received a copy of the GNU General Public License
39
+ # along with this program; if not, write to the Free Software
40
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
41
+ #
42
+ # As a special exception to the GNU General Public License, if you
43
+ # distribute this file as part of a program that contains a
44
+ # configuration script generated by Autoconf, you may include it under
45
+ # the same distribution terms that you use for the rest of that program.
46
+
47
+ # PKG_PROG_PKG_CONFIG([MIN-VERSION])
48
+ # ----------------------------------
49
+ AC_DEFUN([PKG_PROG_PKG_CONFIG],
50
+ [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
51
+ m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
52
+ m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
53
+ AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
54
+ AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
55
+ AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
56
+
57
+ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
58
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
59
+ fi
60
+ if test -n "$PKG_CONFIG"; then
61
+ _pkg_min_version=m4_default([$1], [0.9.0])
62
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
63
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
64
+ AC_MSG_RESULT([yes])
65
+ else
66
+ AC_MSG_RESULT([no])
67
+ PKG_CONFIG=""
68
+ fi
69
+ fi[]dnl
70
+ ])# PKG_PROG_PKG_CONFIG
71
+
72
+ # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
73
+ #
74
+ # Check to see whether a particular set of modules exists. Similar
75
+ # to PKG_CHECK_MODULES(), but does not set variables or print errors.
76
+ #
77
+ # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
78
+ # only at the first occurence in configure.ac, so if the first place
79
+ # it's called might be skipped (such as if it is within an "if", you
80
+ # have to call PKG_CHECK_EXISTS manually
81
+ # --------------------------------------------------------------
82
+ AC_DEFUN([PKG_CHECK_EXISTS],
83
+ [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
84
+ if test -n "$PKG_CONFIG" && \
85
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
86
+ m4_default([$2], [:])
87
+ m4_ifvaln([$3], [else
88
+ $3])dnl
89
+ fi])
90
+
91
+ # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
92
+ # ---------------------------------------------
93
+ m4_define([_PKG_CONFIG],
94
+ [if test -n "$$1"; then
95
+ pkg_cv_[]$1="$$1"
96
+ elif test -n "$PKG_CONFIG"; then
97
+ PKG_CHECK_EXISTS([$3],
98
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
99
+ test "x$?" != "x0" && pkg_failed=yes ],
100
+ [pkg_failed=yes])
101
+ else
102
+ pkg_failed=untried
103
+ fi[]dnl
104
+ ])# _PKG_CONFIG
105
+
106
+ # _PKG_SHORT_ERRORS_SUPPORTED
107
+ # -----------------------------
108
+ AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
109
+ [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
110
+ if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
111
+ _pkg_short_errors_supported=yes
112
+ else
113
+ _pkg_short_errors_supported=no
114
+ fi[]dnl
115
+ ])# _PKG_SHORT_ERRORS_SUPPORTED
116
+
117
+
118
+ # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
119
+ # [ACTION-IF-NOT-FOUND])
120
+ #
121
+ #
122
+ # Note that if there is a possibility the first call to
123
+ # PKG_CHECK_MODULES might not happen, you should be sure to include an
124
+ # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
125
+ #
126
+ #
127
+ # --------------------------------------------------------------
128
+ AC_DEFUN([PKG_CHECK_MODULES],
129
+ [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
130
+ AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
131
+ AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
132
+
133
+ pkg_failed=no
134
+ AC_MSG_CHECKING([for $1])
135
+
136
+ _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
137
+ _PKG_CONFIG([$1][_LIBS], [libs], [$2])
138
+
139
+ m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
140
+ and $1[]_LIBS to avoid the need to call pkg-config.
141
+ See the pkg-config man page for more details.])
142
+
143
+ if test $pkg_failed = yes; then
144
+ AC_MSG_RESULT([no])
145
+ _PKG_SHORT_ERRORS_SUPPORTED
146
+ if test $_pkg_short_errors_supported = yes; then
147
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
148
+ else
149
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
150
+ fi
151
+ # Put the nasty error message in config.log where it belongs
152
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
153
+
154
+ m4_default([$4], [AC_MSG_ERROR(
155
+ [Package requirements ($2) were not met:
156
+
157
+ $$1_PKG_ERRORS
158
+
159
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
160
+ installed software in a non-standard prefix.
161
+
162
+ _PKG_TEXT])[]dnl
163
+ ])
164
+ elif test $pkg_failed = untried; then
165
+ AC_MSG_RESULT([no])
166
+ m4_default([$4], [AC_MSG_FAILURE(
167
+ [The pkg-config script could not be found or is too old. Make sure it
168
+ is in your PATH or set the PKG_CONFIG environment variable to the full
169
+ path to pkg-config.
170
+
171
+ _PKG_TEXT
172
+
173
+ To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
174
+ ])
175
+ else
176
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
177
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
178
+ AC_MSG_RESULT([yes])
179
+ $3
180
+ fi[]dnl
181
+ ])# PKG_CHECK_MODULES
182
+
183
+ # PKG_INSTALLDIR(DIRECTORY)
184
+ # -------------------------
185
+ # Substitutes the variable pkgconfigdir as the location where a module
186
+ # should install pkg-config .pc files. By default the directory is
187
+ # $libdir/pkgconfig, but the default can be changed by passing
188
+ # DIRECTORY. The user can override through the --with-pkgconfigdir
189
+ # parameter.
190
+ AC_DEFUN([PKG_INSTALLDIR],
191
+ [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
192
+ m4_pushdef([pkg_description],
193
+ [pkg-config installation directory @<:@]pkg_default[@:>@])
194
+ AC_ARG_WITH([pkgconfigdir],
195
+ [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
196
+ [with_pkgconfigdir=]pkg_default)
197
+ AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
198
+ m4_popdef([pkg_default])
199
+ m4_popdef([pkg_description])
200
+ ]) dnl PKG_INSTALLDIR
201
+
202
+
203
+ # PKG_NOARCH_INSTALLDIR(DIRECTORY)
204
+ # -------------------------
205
+ # Substitutes the variable noarch_pkgconfigdir as the location where a
206
+ # module should install arch-independent pkg-config .pc files. By
207
+ # default the directory is $datadir/pkgconfig, but the default can be
208
+ # changed by passing DIRECTORY. The user can override through the
209
+ # --with-noarch-pkgconfigdir parameter.
210
+ AC_DEFUN([PKG_NOARCH_INSTALLDIR],
211
+ [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
212
+ m4_pushdef([pkg_description],
213
+ [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
214
+ AC_ARG_WITH([noarch-pkgconfigdir],
215
+ [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
216
+ [with_noarch_pkgconfigdir=]pkg_default)
217
+ AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
218
+ m4_popdef([pkg_default])
219
+ m4_popdef([pkg_description])
220
+ ]) dnl PKG_NOARCH_INSTALLDIR
221
+
222
+
223
+ # PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
224
+ # [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
225
+ # -------------------------------------------
226
+ # Retrieves the value of the pkg-config variable for the given module.
227
+ AC_DEFUN([PKG_CHECK_VAR],
228
+ [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
229
+ AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
230
+
231
+ _PKG_CONFIG([$1], [variable="][$3]["], [$2])
232
+ AS_VAR_COPY([$1], [pkg_cv_][$1])
233
+
234
+ AS_VAR_IF([$1], [""], [$5], [$4])dnl
235
+ ])# PKG_CHECK_VAR
236
+
237
+ # PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
238
+ # [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
239
+ # [DESCRIPTION], [DEFAULT])
240
+ #
241
+ # Prepare a "--with-" configure option using the lowercase [VARIABLE-PREFIX]
242
+ # name, merging the behaviour of AC_ARG_WITH and PKG_CHECK_MODULES in a single
243
+ # macro
244
+ #
245
+ # --------------------------------------------------------------
246
+ AC_DEFUN([PKG_WITH_MODULES],
247
+ [
248
+ m4_pushdef([with_arg], m4_tolower([$1]))
249
+
250
+ m4_pushdef([description],
251
+ [m4_default([$5], [build with ]with_arg[ support])])
252
+
253
+ m4_pushdef([def_arg], [m4_default([$6], [auto])])
254
+ m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
255
+ m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
256
+
257
+ m4_case(def_arg,
258
+ [yes],[m4_pushdef([with_without], [--without-]with_arg)],
259
+ [m4_pushdef([with_without],[--with-]with_arg)])
260
+
261
+ AC_ARG_WITH(with_arg,
262
+ AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
263
+ [AS_TR_SH([with_]with_arg)=def_arg])
264
+
265
+ AS_CASE([$AS_TR_SH([with_]with_arg)],
266
+ [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
267
+ [auto],[PKG_CHECK_MODULES([$1],[$2],
268
+ [m4_n([def_action_if_found]) $3],
269
+ [m4_n([def_action_if_not_found]) $4])])
270
+
271
+ m4_popdef([with_arg])
272
+ m4_popdef([description])
273
+ m4_popdef([def_arg])
274
+
275
+ ]) dnl PKG_WITH_MODULES
276
+
277
+ # PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
278
+ # [DESCRIPTION], [DEFAULT])
279
+ #
280
+ # Convenience macro to trigger AM_CONDITIONAL after
281
+ # PKG_WITH_MODULES check.
282
+ #
283
+ # HAVE_[VARIABLE-PREFIX] is exported as make variable.
284
+ #
285
+ # --------------------------------------------------------------
286
+ AC_DEFUN([PKG_HAVE_WITH_MODULES],
287
+ [
288
+ PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
289
+
290
+ AM_CONDITIONAL([HAVE_][$1],
291
+ [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
292
+ ])
293
+
294
+ # PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
295
+ # [DESCRIPTION], [DEFAULT])
296
+ #
297
+ # Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
298
+ # PKG_WITH_MODULES check.
299
+ #
300
+ # HAVE_[VARIABLE-PREFIX] is exported as make and preprocessor variable.
301
+ #
302
+ # --------------------------------------------------------------
303
+ AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
304
+ [
305
+ PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
306
+
307
+ AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
308
+ [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
309
+ ])
310
+
311
+ # Copyright (C) 2002-2014 Free Software Foundation, Inc.
312
+ #
313
+ # This file is free software; the Free Software Foundation
314
+ # gives unlimited permission to copy and/or distribute it,
315
+ # with or without modifications, as long as this notice is preserved.
316
+
317
+ # AM_AUTOMAKE_VERSION(VERSION)
318
+ # ----------------------------
319
+ # Automake X.Y traces this macro to ensure aclocal.m4 has been
320
+ # generated from the m4 files accompanying Automake X.Y.
321
+ # (This private macro should not be called outside this file.)
322
+ AC_DEFUN([AM_AUTOMAKE_VERSION],
323
+ [am__api_version='1.15'
324
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
325
+ dnl require some minimum version. Point them to the right macro.
326
+ m4_if([$1], [1.15], [],
327
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
328
+ ])
329
+
330
+ # _AM_AUTOCONF_VERSION(VERSION)
331
+ # -----------------------------
332
+ # aclocal traces this macro to find the Autoconf version.
333
+ # This is a private macro too. Using m4_define simplifies
334
+ # the logic in aclocal, which can simply ignore this definition.
335
+ m4_define([_AM_AUTOCONF_VERSION], [])
336
+
337
+ # AM_SET_CURRENT_AUTOMAKE_VERSION
338
+ # -------------------------------
339
+ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
340
+ # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
341
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
342
+ [AM_AUTOMAKE_VERSION([1.15])dnl
343
+ m4_ifndef([AC_AUTOCONF_VERSION],
344
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
345
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
346
+
347
+ # AM_AUX_DIR_EXPAND -*- Autoconf -*-
348
+
349
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
350
+ #
351
+ # This file is free software; the Free Software Foundation
352
+ # gives unlimited permission to copy and/or distribute it,
353
+ # with or without modifications, as long as this notice is preserved.
354
+
355
+ # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
356
+ # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
357
+ # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
358
+ #
359
+ # Of course, Automake must honor this variable whenever it calls a
360
+ # tool from the auxiliary directory. The problem is that $srcdir (and
361
+ # therefore $ac_aux_dir as well) can be either absolute or relative,
362
+ # depending on how configure is run. This is pretty annoying, since
363
+ # it makes $ac_aux_dir quite unusable in subdirectories: in the top
364
+ # source directory, any form will work fine, but in subdirectories a
365
+ # relative path needs to be adjusted first.
366
+ #
367
+ # $ac_aux_dir/missing
368
+ # fails when called from a subdirectory if $ac_aux_dir is relative
369
+ # $top_srcdir/$ac_aux_dir/missing
370
+ # fails if $ac_aux_dir is absolute,
371
+ # fails when called from a subdirectory in a VPATH build with
372
+ # a relative $ac_aux_dir
373
+ #
374
+ # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
375
+ # are both prefixed by $srcdir. In an in-source build this is usually
376
+ # harmless because $srcdir is '.', but things will broke when you
377
+ # start a VPATH build or use an absolute $srcdir.
378
+ #
379
+ # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
380
+ # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
381
+ # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
382
+ # and then we would define $MISSING as
383
+ # MISSING="\${SHELL} $am_aux_dir/missing"
384
+ # This will work as long as MISSING is not called from configure, because
385
+ # unfortunately $(top_srcdir) has no meaning in configure.
386
+ # However there are other variables, like CC, which are often used in
387
+ # configure, and could therefore not use this "fixed" $ac_aux_dir.
388
+ #
389
+ # Another solution, used here, is to always expand $ac_aux_dir to an
390
+ # absolute PATH. The drawback is that using absolute paths prevent a
391
+ # configured tree to be moved without reconfiguration.
392
+
393
+ AC_DEFUN([AM_AUX_DIR_EXPAND],
394
+ [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
395
+ # Expand $ac_aux_dir to an absolute path.
396
+ am_aux_dir=`cd "$ac_aux_dir" && pwd`
397
+ ])
398
+
399
+ # AM_CONDITIONAL -*- Autoconf -*-
400
+
401
+ # Copyright (C) 1997-2014 Free Software Foundation, Inc.
402
+ #
403
+ # This file is free software; the Free Software Foundation
404
+ # gives unlimited permission to copy and/or distribute it,
405
+ # with or without modifications, as long as this notice is preserved.
406
+
407
+ # AM_CONDITIONAL(NAME, SHELL-CONDITION)
408
+ # -------------------------------------
409
+ # Define a conditional.
410
+ AC_DEFUN([AM_CONDITIONAL],
411
+ [AC_PREREQ([2.52])dnl
412
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
413
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
414
+ AC_SUBST([$1_TRUE])dnl
415
+ AC_SUBST([$1_FALSE])dnl
416
+ _AM_SUBST_NOTMAKE([$1_TRUE])dnl
417
+ _AM_SUBST_NOTMAKE([$1_FALSE])dnl
418
+ m4_define([_AM_COND_VALUE_$1], [$2])dnl
419
+ if $2; then
420
+ $1_TRUE=
421
+ $1_FALSE='#'
422
+ else
423
+ $1_TRUE='#'
424
+ $1_FALSE=
425
+ fi
426
+ AC_CONFIG_COMMANDS_PRE(
427
+ [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
428
+ AC_MSG_ERROR([[conditional "$1" was never defined.
429
+ Usually this means the macro was only invoked conditionally.]])
430
+ fi])])
431
+
432
+ # Copyright (C) 1999-2014 Free Software Foundation, Inc.
433
+ #
434
+ # This file is free software; the Free Software Foundation
435
+ # gives unlimited permission to copy and/or distribute it,
436
+ # with or without modifications, as long as this notice is preserved.
437
+
438
+
439
+ # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
440
+ # written in clear, in which case automake, when reading aclocal.m4,
441
+ # will think it sees a *use*, and therefore will trigger all it's
442
+ # C support machinery. Also note that it means that autoscan, seeing
443
+ # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
444
+
445
+
446
+ # _AM_DEPENDENCIES(NAME)
447
+ # ----------------------
448
+ # See how the compiler implements dependency checking.
449
+ # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
450
+ # We try a few techniques and use that to set a single cache variable.
451
+ #
452
+ # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
453
+ # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
454
+ # dependency, and given that the user is not expected to run this macro,
455
+ # just rely on AC_PROG_CC.
456
+ AC_DEFUN([_AM_DEPENDENCIES],
457
+ [AC_REQUIRE([AM_SET_DEPDIR])dnl
458
+ AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
459
+ AC_REQUIRE([AM_MAKE_INCLUDE])dnl
460
+ AC_REQUIRE([AM_DEP_TRACK])dnl
461
+
462
+ m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
463
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
464
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
465
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
466
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
467
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
468
+ [depcc="$$1" am_compiler_list=])
469
+
470
+ AC_CACHE_CHECK([dependency style of $depcc],
471
+ [am_cv_$1_dependencies_compiler_type],
472
+ [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
473
+ # We make a subdir and do the tests there. Otherwise we can end up
474
+ # making bogus files that we don't know about and never remove. For
475
+ # instance it was reported that on HP-UX the gcc test will end up
476
+ # making a dummy file named 'D' -- because '-MD' means "put the output
477
+ # in D".
478
+ rm -rf conftest.dir
479
+ mkdir conftest.dir
480
+ # Copy depcomp to subdir because otherwise we won't find it if we're
481
+ # using a relative directory.
482
+ cp "$am_depcomp" conftest.dir
483
+ cd conftest.dir
484
+ # We will build objects and dependencies in a subdirectory because
485
+ # it helps to detect inapplicable dependency modes. For instance
486
+ # both Tru64's cc and ICC support -MD to output dependencies as a
487
+ # side effect of compilation, but ICC will put the dependencies in
488
+ # the current directory while Tru64 will put them in the object
489
+ # directory.
490
+ mkdir sub
491
+
492
+ am_cv_$1_dependencies_compiler_type=none
493
+ if test "$am_compiler_list" = ""; then
494
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
495
+ fi
496
+ am__universal=false
497
+ m4_case([$1], [CC],
498
+ [case " $depcc " in #(
499
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
500
+ esac],
501
+ [CXX],
502
+ [case " $depcc " in #(
503
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
504
+ esac])
505
+
506
+ for depmode in $am_compiler_list; do
507
+ # Setup a source with many dependencies, because some compilers
508
+ # like to wrap large dependency lists on column 80 (with \), and
509
+ # we should not choose a depcomp mode which is confused by this.
510
+ #
511
+ # We need to recreate these files for each test, as the compiler may
512
+ # overwrite some of them when testing with obscure command lines.
513
+ # This happens at least with the AIX C compiler.
514
+ : > sub/conftest.c
515
+ for i in 1 2 3 4 5 6; do
516
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
517
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
518
+ # Solaris 10 /bin/sh.
519
+ echo '/* dummy */' > sub/conftst$i.h
520
+ done
521
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
522
+
523
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
524
+ # mode. It turns out that the SunPro C++ compiler does not properly
525
+ # handle '-M -o', and we need to detect this. Also, some Intel
526
+ # versions had trouble with output in subdirs.
527
+ am__obj=sub/conftest.${OBJEXT-o}
528
+ am__minus_obj="-o $am__obj"
529
+ case $depmode in
530
+ gcc)
531
+ # This depmode causes a compiler race in universal mode.
532
+ test "$am__universal" = false || continue
533
+ ;;
534
+ nosideeffect)
535
+ # After this tag, mechanisms are not by side-effect, so they'll
536
+ # only be used when explicitly requested.
537
+ if test "x$enable_dependency_tracking" = xyes; then
538
+ continue
539
+ else
540
+ break
541
+ fi
542
+ ;;
543
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
544
+ # This compiler won't grok '-c -o', but also, the minuso test has
545
+ # not run yet. These depmodes are late enough in the game, and
546
+ # so weak that their functioning should not be impacted.
547
+ am__obj=conftest.${OBJEXT-o}
548
+ am__minus_obj=
549
+ ;;
550
+ none) break ;;
551
+ esac
552
+ if depmode=$depmode \
553
+ source=sub/conftest.c object=$am__obj \
554
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
555
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
556
+ >/dev/null 2>conftest.err &&
557
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
558
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
559
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
560
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
561
+ # icc doesn't choke on unknown options, it will just issue warnings
562
+ # or remarks (even with -Werror). So we grep stderr for any message
563
+ # that says an option was ignored or not supported.
564
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
565
+ # icc: Command line warning: ignoring option '-M'; no argument required
566
+ # The diagnosis changed in icc 8.0:
567
+ # icc: Command line remark: option '-MP' not supported
568
+ if (grep 'ignoring option' conftest.err ||
569
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
570
+ am_cv_$1_dependencies_compiler_type=$depmode
571
+ break
572
+ fi
573
+ fi
574
+ done
575
+
576
+ cd ..
577
+ rm -rf conftest.dir
578
+ else
579
+ am_cv_$1_dependencies_compiler_type=none
580
+ fi
581
+ ])
582
+ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
583
+ AM_CONDITIONAL([am__fastdep$1], [
584
+ test "x$enable_dependency_tracking" != xno \
585
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
586
+ ])
587
+
588
+
589
+ # AM_SET_DEPDIR
590
+ # -------------
591
+ # Choose a directory name for dependency files.
592
+ # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
593
+ AC_DEFUN([AM_SET_DEPDIR],
594
+ [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
595
+ AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
596
+ ])
597
+
598
+
599
+ # AM_DEP_TRACK
600
+ # ------------
601
+ AC_DEFUN([AM_DEP_TRACK],
602
+ [AC_ARG_ENABLE([dependency-tracking], [dnl
603
+ AS_HELP_STRING(
604
+ [--enable-dependency-tracking],
605
+ [do not reject slow dependency extractors])
606
+ AS_HELP_STRING(
607
+ [--disable-dependency-tracking],
608
+ [speeds up one-time build])])
609
+ if test "x$enable_dependency_tracking" != xno; then
610
+ am_depcomp="$ac_aux_dir/depcomp"
611
+ AMDEPBACKSLASH='\'
612
+ am__nodep='_no'
613
+ fi
614
+ AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
615
+ AC_SUBST([AMDEPBACKSLASH])dnl
616
+ _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
617
+ AC_SUBST([am__nodep])dnl
618
+ _AM_SUBST_NOTMAKE([am__nodep])dnl
619
+ ])
620
+
621
+ # Generate code to set up dependency tracking. -*- Autoconf -*-
622
+
623
+ # Copyright (C) 1999-2014 Free Software Foundation, Inc.
624
+ #
625
+ # This file is free software; the Free Software Foundation
626
+ # gives unlimited permission to copy and/or distribute it,
627
+ # with or without modifications, as long as this notice is preserved.
628
+
629
+
630
+ # _AM_OUTPUT_DEPENDENCY_COMMANDS
631
+ # ------------------------------
632
+ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
633
+ [{
634
+ # Older Autoconf quotes --file arguments for eval, but not when files
635
+ # are listed without --file. Let's play safe and only enable the eval
636
+ # if we detect the quoting.
637
+ case $CONFIG_FILES in
638
+ *\'*) eval set x "$CONFIG_FILES" ;;
639
+ *) set x $CONFIG_FILES ;;
640
+ esac
641
+ shift
642
+ for mf
643
+ do
644
+ # Strip MF so we end up with the name of the file.
645
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
646
+ # Check whether this is an Automake generated Makefile or not.
647
+ # We used to match only the files named 'Makefile.in', but
648
+ # some people rename them; so instead we look at the file content.
649
+ # Grep'ing the first line is not enough: some people post-process
650
+ # each Makefile.in and add a new line on top of each file to say so.
651
+ # Grep'ing the whole file is not good either: AIX grep has a line
652
+ # limit of 2048, but all sed's we know have understand at least 4000.
653
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
654
+ dirpart=`AS_DIRNAME("$mf")`
655
+ else
656
+ continue
657
+ fi
658
+ # Extract the definition of DEPDIR, am__include, and am__quote
659
+ # from the Makefile without running 'make'.
660
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
661
+ test -z "$DEPDIR" && continue
662
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
663
+ test -z "$am__include" && continue
664
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
665
+ # Find all dependency output files, they are included files with
666
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
667
+ # simplest approach to changing $(DEPDIR) to its actual value in the
668
+ # expansion.
669
+ for file in `sed -n "
670
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
671
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
672
+ # Make sure the directory exists.
673
+ test -f "$dirpart/$file" && continue
674
+ fdir=`AS_DIRNAME(["$file"])`
675
+ AS_MKDIR_P([$dirpart/$fdir])
676
+ # echo "creating $dirpart/$file"
677
+ echo '# dummy' > "$dirpart/$file"
678
+ done
679
+ done
680
+ }
681
+ ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
682
+
683
+
684
+ # AM_OUTPUT_DEPENDENCY_COMMANDS
685
+ # -----------------------------
686
+ # This macro should only be invoked once -- use via AC_REQUIRE.
687
+ #
688
+ # This code is only required when automatic dependency tracking
689
+ # is enabled. FIXME. This creates each '.P' file that we will
690
+ # need in order to bootstrap the dependency handling code.
691
+ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
692
+ [AC_CONFIG_COMMANDS([depfiles],
693
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
694
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
695
+ ])
696
+
697
+ # Do all the work for Automake. -*- Autoconf -*-
698
+
699
+ # Copyright (C) 1996-2014 Free Software Foundation, Inc.
700
+ #
701
+ # This file is free software; the Free Software Foundation
702
+ # gives unlimited permission to copy and/or distribute it,
703
+ # with or without modifications, as long as this notice is preserved.
704
+
705
+ # This macro actually does too much. Some checks are only needed if
706
+ # your package does certain things. But this isn't really a big deal.
707
+
708
+ dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
709
+ m4_define([AC_PROG_CC],
710
+ m4_defn([AC_PROG_CC])
711
+ [_AM_PROG_CC_C_O
712
+ ])
713
+
714
+ # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
715
+ # AM_INIT_AUTOMAKE([OPTIONS])
716
+ # -----------------------------------------------
717
+ # The call with PACKAGE and VERSION arguments is the old style
718
+ # call (pre autoconf-2.50), which is being phased out. PACKAGE
719
+ # and VERSION should now be passed to AC_INIT and removed from
720
+ # the call to AM_INIT_AUTOMAKE.
721
+ # We support both call styles for the transition. After
722
+ # the next Automake release, Autoconf can make the AC_INIT
723
+ # arguments mandatory, and then we can depend on a new Autoconf
724
+ # release and drop the old call support.
725
+ AC_DEFUN([AM_INIT_AUTOMAKE],
726
+ [AC_PREREQ([2.65])dnl
727
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
728
+ dnl the ones we care about.
729
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
730
+ AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
731
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
732
+ if test "`cd $srcdir && pwd`" != "`pwd`"; then
733
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
734
+ # is not polluted with repeated "-I."
735
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
736
+ # test to see if srcdir already configured
737
+ if test -f $srcdir/config.status; then
738
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
739
+ fi
740
+ fi
741
+
742
+ # test whether we have cygpath
743
+ if test -z "$CYGPATH_W"; then
744
+ if (cygpath --version) >/dev/null 2>/dev/null; then
745
+ CYGPATH_W='cygpath -w'
746
+ else
747
+ CYGPATH_W=echo
748
+ fi
749
+ fi
750
+ AC_SUBST([CYGPATH_W])
751
+
752
+ # Define the identity of the package.
753
+ dnl Distinguish between old-style and new-style calls.
754
+ m4_ifval([$2],
755
+ [AC_DIAGNOSE([obsolete],
756
+ [$0: two- and three-arguments forms are deprecated.])
757
+ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
758
+ AC_SUBST([PACKAGE], [$1])dnl
759
+ AC_SUBST([VERSION], [$2])],
760
+ [_AM_SET_OPTIONS([$1])dnl
761
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
762
+ m4_if(
763
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
764
+ [ok:ok],,
765
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
766
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
767
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
768
+
769
+ _AM_IF_OPTION([no-define],,
770
+ [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
771
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
772
+
773
+ # Some tools Automake needs.
774
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
775
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
776
+ AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
777
+ AM_MISSING_PROG([AUTOCONF], [autoconf])
778
+ AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
779
+ AM_MISSING_PROG([AUTOHEADER], [autoheader])
780
+ AM_MISSING_PROG([MAKEINFO], [makeinfo])
781
+ AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
782
+ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
783
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
784
+ # For better backward compatibility. To be removed once Automake 1.9.x
785
+ # dies out for good. For more background, see:
786
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
787
+ # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
788
+ AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
789
+ # We need awk for the "check" target (and possibly the TAP driver). The
790
+ # system "awk" is bad on some platforms.
791
+ AC_REQUIRE([AC_PROG_AWK])dnl
792
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
793
+ AC_REQUIRE([AM_SET_LEADING_DOT])dnl
794
+ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
795
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
796
+ [_AM_PROG_TAR([v7])])])
797
+ _AM_IF_OPTION([no-dependencies],,
798
+ [AC_PROVIDE_IFELSE([AC_PROG_CC],
799
+ [_AM_DEPENDENCIES([CC])],
800
+ [m4_define([AC_PROG_CC],
801
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
802
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
803
+ [_AM_DEPENDENCIES([CXX])],
804
+ [m4_define([AC_PROG_CXX],
805
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
806
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
807
+ [_AM_DEPENDENCIES([OBJC])],
808
+ [m4_define([AC_PROG_OBJC],
809
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
810
+ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
811
+ [_AM_DEPENDENCIES([OBJCXX])],
812
+ [m4_define([AC_PROG_OBJCXX],
813
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
814
+ ])
815
+ AC_REQUIRE([AM_SILENT_RULES])dnl
816
+ dnl The testsuite driver may need to know about EXEEXT, so add the
817
+ dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
818
+ dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
819
+ AC_CONFIG_COMMANDS_PRE(dnl
820
+ [m4_provide_if([_AM_COMPILER_EXEEXT],
821
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
822
+
823
+ # POSIX will say in a future version that running "rm -f" with no argument
824
+ # is OK; and we want to be able to make that assumption in our Makefile
825
+ # recipes. So use an aggressive probe to check that the usage we want is
826
+ # actually supported "in the wild" to an acceptable degree.
827
+ # See automake bug#10828.
828
+ # To make any issue more visible, cause the running configure to be aborted
829
+ # by default if the 'rm' program in use doesn't match our expectations; the
830
+ # user can still override this though.
831
+ if rm -f && rm -fr && rm -rf; then : OK; else
832
+ cat >&2 <<'END'
833
+ Oops!
834
+
835
+ Your 'rm' program seems unable to run without file operands specified
836
+ on the command line, even when the '-f' option is present. This is contrary
837
+ to the behaviour of most rm programs out there, and not conforming with
838
+ the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
839
+
840
+ Please tell bug-automake@gnu.org about your system, including the value
841
+ of your $PATH and any error possibly output before this message. This
842
+ can help us improve future automake versions.
843
+
844
+ END
845
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
846
+ echo 'Configuration will proceed anyway, since you have set the' >&2
847
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
848
+ echo >&2
849
+ else
850
+ cat >&2 <<'END'
851
+ Aborting the configuration process, to ensure you take notice of the issue.
852
+
853
+ You can download and install GNU coreutils to get an 'rm' implementation
854
+ that behaves properly: <http://www.gnu.org/software/coreutils/>.
855
+
856
+ If you want to complete the configuration process using your problematic
857
+ 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
858
+ to "yes", and re-run configure.
859
+
860
+ END
861
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
862
+ fi
863
+ fi
864
+ dnl The trailing newline in this macro's definition is deliberate, for
865
+ dnl backward compatibility and to allow trailing 'dnl'-style comments
866
+ dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
867
+ ])
868
+
869
+ dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
870
+ dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
871
+ dnl mangled by Autoconf and run in a shell conditional statement.
872
+ m4_define([_AC_COMPILER_EXEEXT],
873
+ m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
874
+
875
+ # When config.status generates a header, we must update the stamp-h file.
876
+ # This file resides in the same directory as the config header
877
+ # that is generated. The stamp files are numbered to have different names.
878
+
879
+ # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
880
+ # loop where config.status creates the headers, so we can generate
881
+ # our stamp files there.
882
+ AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
883
+ [# Compute $1's index in $config_headers.
884
+ _am_arg=$1
885
+ _am_stamp_count=1
886
+ for _am_header in $config_headers :; do
887
+ case $_am_header in
888
+ $_am_arg | $_am_arg:* )
889
+ break ;;
890
+ * )
891
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
892
+ esac
893
+ done
894
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
895
+
896
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
897
+ #
898
+ # This file is free software; the Free Software Foundation
899
+ # gives unlimited permission to copy and/or distribute it,
900
+ # with or without modifications, as long as this notice is preserved.
901
+
902
+ # AM_PROG_INSTALL_SH
903
+ # ------------------
904
+ # Define $install_sh.
905
+ AC_DEFUN([AM_PROG_INSTALL_SH],
906
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
907
+ if test x"${install_sh+set}" != xset; then
908
+ case $am_aux_dir in
909
+ *\ * | *\ *)
910
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
911
+ *)
912
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
913
+ esac
914
+ fi
915
+ AC_SUBST([install_sh])])
916
+
917
+ # Copyright (C) 2003-2014 Free Software Foundation, Inc.
918
+ #
919
+ # This file is free software; the Free Software Foundation
920
+ # gives unlimited permission to copy and/or distribute it,
921
+ # with or without modifications, as long as this notice is preserved.
922
+
923
+ # Check whether the underlying file-system supports filenames
924
+ # with a leading dot. For instance MS-DOS doesn't.
925
+ AC_DEFUN([AM_SET_LEADING_DOT],
926
+ [rm -rf .tst 2>/dev/null
927
+ mkdir .tst 2>/dev/null
928
+ if test -d .tst; then
929
+ am__leading_dot=.
930
+ else
931
+ am__leading_dot=_
932
+ fi
933
+ rmdir .tst 2>/dev/null
934
+ AC_SUBST([am__leading_dot])])
935
+
936
+ # Check to see how 'make' treats includes. -*- Autoconf -*-
937
+
938
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
939
+ #
940
+ # This file is free software; the Free Software Foundation
941
+ # gives unlimited permission to copy and/or distribute it,
942
+ # with or without modifications, as long as this notice is preserved.
943
+
944
+ # AM_MAKE_INCLUDE()
945
+ # -----------------
946
+ # Check to see how make treats includes.
947
+ AC_DEFUN([AM_MAKE_INCLUDE],
948
+ [am_make=${MAKE-make}
949
+ cat > confinc << 'END'
950
+ am__doit:
951
+ @echo this is the am__doit target
952
+ .PHONY: am__doit
953
+ END
954
+ # If we don't find an include directive, just comment out the code.
955
+ AC_MSG_CHECKING([for style of include used by $am_make])
956
+ am__include="#"
957
+ am__quote=
958
+ _am_result=none
959
+ # First try GNU make style include.
960
+ echo "include confinc" > confmf
961
+ # Ignore all kinds of additional output from 'make'.
962
+ case `$am_make -s -f confmf 2> /dev/null` in #(
963
+ *the\ am__doit\ target*)
964
+ am__include=include
965
+ am__quote=
966
+ _am_result=GNU
967
+ ;;
968
+ esac
969
+ # Now try BSD make style include.
970
+ if test "$am__include" = "#"; then
971
+ echo '.include "confinc"' > confmf
972
+ case `$am_make -s -f confmf 2> /dev/null` in #(
973
+ *the\ am__doit\ target*)
974
+ am__include=.include
975
+ am__quote="\""
976
+ _am_result=BSD
977
+ ;;
978
+ esac
979
+ fi
980
+ AC_SUBST([am__include])
981
+ AC_SUBST([am__quote])
982
+ AC_MSG_RESULT([$_am_result])
983
+ rm -f confinc confmf
984
+ ])
985
+
986
+ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
987
+
988
+ # Copyright (C) 1997-2014 Free Software Foundation, Inc.
989
+ #
990
+ # This file is free software; the Free Software Foundation
991
+ # gives unlimited permission to copy and/or distribute it,
992
+ # with or without modifications, as long as this notice is preserved.
993
+
994
+ # AM_MISSING_PROG(NAME, PROGRAM)
995
+ # ------------------------------
996
+ AC_DEFUN([AM_MISSING_PROG],
997
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
998
+ $1=${$1-"${am_missing_run}$2"}
999
+ AC_SUBST($1)])
1000
+
1001
+ # AM_MISSING_HAS_RUN
1002
+ # ------------------
1003
+ # Define MISSING if not defined so far and test if it is modern enough.
1004
+ # If it is, set am_missing_run to use it, otherwise, to nothing.
1005
+ AC_DEFUN([AM_MISSING_HAS_RUN],
1006
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1007
+ AC_REQUIRE_AUX_FILE([missing])dnl
1008
+ if test x"${MISSING+set}" != xset; then
1009
+ case $am_aux_dir in
1010
+ *\ * | *\ *)
1011
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1012
+ *)
1013
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
1014
+ esac
1015
+ fi
1016
+ # Use eval to expand $SHELL
1017
+ if eval "$MISSING --is-lightweight"; then
1018
+ am_missing_run="$MISSING "
1019
+ else
1020
+ am_missing_run=
1021
+ AC_MSG_WARN(['missing' script is too old or missing])
1022
+ fi
1023
+ ])
1024
+
1025
+ # Helper functions for option handling. -*- Autoconf -*-
1026
+
1027
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1028
+ #
1029
+ # This file is free software; the Free Software Foundation
1030
+ # gives unlimited permission to copy and/or distribute it,
1031
+ # with or without modifications, as long as this notice is preserved.
1032
+
1033
+ # _AM_MANGLE_OPTION(NAME)
1034
+ # -----------------------
1035
+ AC_DEFUN([_AM_MANGLE_OPTION],
1036
+ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1037
+
1038
+ # _AM_SET_OPTION(NAME)
1039
+ # --------------------
1040
+ # Set option NAME. Presently that only means defining a flag for this option.
1041
+ AC_DEFUN([_AM_SET_OPTION],
1042
+ [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1043
+
1044
+ # _AM_SET_OPTIONS(OPTIONS)
1045
+ # ------------------------
1046
+ # OPTIONS is a space-separated list of Automake options.
1047
+ AC_DEFUN([_AM_SET_OPTIONS],
1048
+ [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1049
+
1050
+ # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1051
+ # -------------------------------------------
1052
+ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1053
+ AC_DEFUN([_AM_IF_OPTION],
1054
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1055
+
1056
+ # Copyright (C) 1999-2014 Free Software Foundation, Inc.
1057
+ #
1058
+ # This file is free software; the Free Software Foundation
1059
+ # gives unlimited permission to copy and/or distribute it,
1060
+ # with or without modifications, as long as this notice is preserved.
1061
+
1062
+ # _AM_PROG_CC_C_O
1063
+ # ---------------
1064
+ # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1065
+ # to automatically call this.
1066
+ AC_DEFUN([_AM_PROG_CC_C_O],
1067
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1068
+ AC_REQUIRE_AUX_FILE([compile])dnl
1069
+ AC_LANG_PUSH([C])dnl
1070
+ AC_CACHE_CHECK(
1071
+ [whether $CC understands -c and -o together],
1072
+ [am_cv_prog_cc_c_o],
1073
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1074
+ # Make sure it works both with $CC and with simple cc.
1075
+ # Following AC_PROG_CC_C_O, we do the test twice because some
1076
+ # compilers refuse to overwrite an existing .o file with -o,
1077
+ # though they will create one.
1078
+ am_cv_prog_cc_c_o=yes
1079
+ for am_i in 1 2; do
1080
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1081
+ && test -f conftest2.$ac_objext; then
1082
+ : OK
1083
+ else
1084
+ am_cv_prog_cc_c_o=no
1085
+ break
1086
+ fi
1087
+ done
1088
+ rm -f core conftest*
1089
+ unset am_i])
1090
+ if test "$am_cv_prog_cc_c_o" != yes; then
1091
+ # Losing compiler, so override with the script.
1092
+ # FIXME: It is wrong to rewrite CC.
1093
+ # But if we don't then we get into trouble of one sort or another.
1094
+ # A longer-term fix would be to have automake use am__CC in this case,
1095
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1096
+ CC="$am_aux_dir/compile $CC"
1097
+ fi
1098
+ AC_LANG_POP([C])])
1099
+
1100
+ # For backward compatibility.
1101
+ AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1102
+
1103
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1104
+ #
1105
+ # This file is free software; the Free Software Foundation
1106
+ # gives unlimited permission to copy and/or distribute it,
1107
+ # with or without modifications, as long as this notice is preserved.
1108
+
1109
+ # AM_RUN_LOG(COMMAND)
1110
+ # -------------------
1111
+ # Run COMMAND, save the exit status in ac_status, and log it.
1112
+ # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1113
+ AC_DEFUN([AM_RUN_LOG],
1114
+ [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1115
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1116
+ ac_status=$?
1117
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1118
+ (exit $ac_status); }])
1119
+
1120
+ # Check to make sure that the build environment is sane. -*- Autoconf -*-
1121
+
1122
+ # Copyright (C) 1996-2014 Free Software Foundation, Inc.
1123
+ #
1124
+ # This file is free software; the Free Software Foundation
1125
+ # gives unlimited permission to copy and/or distribute it,
1126
+ # with or without modifications, as long as this notice is preserved.
1127
+
1128
+ # AM_SANITY_CHECK
1129
+ # ---------------
1130
+ AC_DEFUN([AM_SANITY_CHECK],
1131
+ [AC_MSG_CHECKING([whether build environment is sane])
1132
+ # Reject unsafe characters in $srcdir or the absolute working directory
1133
+ # name. Accept space and tab only in the latter.
1134
+ am_lf='
1135
+ '
1136
+ case `pwd` in
1137
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
1138
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
1139
+ esac
1140
+ case $srcdir in
1141
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1142
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1143
+ esac
1144
+
1145
+ # Do 'set' in a subshell so we don't clobber the current shell's
1146
+ # arguments. Must try -L first in case configure is actually a
1147
+ # symlink; some systems play weird games with the mod time of symlinks
1148
+ # (eg FreeBSD returns the mod time of the symlink's containing
1149
+ # directory).
1150
+ if (
1151
+ am_has_slept=no
1152
+ for am_try in 1 2; do
1153
+ echo "timestamp, slept: $am_has_slept" > conftest.file
1154
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1155
+ if test "$[*]" = "X"; then
1156
+ # -L didn't work.
1157
+ set X `ls -t "$srcdir/configure" conftest.file`
1158
+ fi
1159
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
1160
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
1161
+
1162
+ # If neither matched, then we have a broken ls. This can happen
1163
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
1164
+ # broken ls alias from the environment. This has actually
1165
+ # happened. Such a system could not be considered "sane".
1166
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1167
+ alias in your environment])
1168
+ fi
1169
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
1170
+ break
1171
+ fi
1172
+ # Just in case.
1173
+ sleep 1
1174
+ am_has_slept=yes
1175
+ done
1176
+ test "$[2]" = conftest.file
1177
+ )
1178
+ then
1179
+ # Ok.
1180
+ :
1181
+ else
1182
+ AC_MSG_ERROR([newly created file is older than distributed files!
1183
+ Check your system clock])
1184
+ fi
1185
+ AC_MSG_RESULT([yes])
1186
+ # If we didn't sleep, we still need to ensure time stamps of config.status and
1187
+ # generated files are strictly newer.
1188
+ am_sleep_pid=
1189
+ if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1190
+ ( sleep 1 ) &
1191
+ am_sleep_pid=$!
1192
+ fi
1193
+ AC_CONFIG_COMMANDS_PRE(
1194
+ [AC_MSG_CHECKING([that generated files are newer than configure])
1195
+ if test -n "$am_sleep_pid"; then
1196
+ # Hide warnings about reused PIDs.
1197
+ wait $am_sleep_pid 2>/dev/null
1198
+ fi
1199
+ AC_MSG_RESULT([done])])
1200
+ rm -f conftest.file
1201
+ ])
1202
+
1203
+ # Copyright (C) 2009-2014 Free Software Foundation, Inc.
1204
+ #
1205
+ # This file is free software; the Free Software Foundation
1206
+ # gives unlimited permission to copy and/or distribute it,
1207
+ # with or without modifications, as long as this notice is preserved.
1208
+
1209
+ # AM_SILENT_RULES([DEFAULT])
1210
+ # --------------------------
1211
+ # Enable less verbose build rules; with the default set to DEFAULT
1212
+ # ("yes" being less verbose, "no" or empty being verbose).
1213
+ AC_DEFUN([AM_SILENT_RULES],
1214
+ [AC_ARG_ENABLE([silent-rules], [dnl
1215
+ AS_HELP_STRING(
1216
+ [--enable-silent-rules],
1217
+ [less verbose build output (undo: "make V=1")])
1218
+ AS_HELP_STRING(
1219
+ [--disable-silent-rules],
1220
+ [verbose build output (undo: "make V=0")])dnl
1221
+ ])
1222
+ case $enable_silent_rules in @%:@ (((
1223
+ yes) AM_DEFAULT_VERBOSITY=0;;
1224
+ no) AM_DEFAULT_VERBOSITY=1;;
1225
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1226
+ esac
1227
+ dnl
1228
+ dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1229
+ dnl do not support nested variable expansions.
1230
+ dnl See automake bug#9928 and bug#10237.
1231
+ am_make=${MAKE-make}
1232
+ AC_CACHE_CHECK([whether $am_make supports nested variables],
1233
+ [am_cv_make_support_nested_variables],
1234
+ [if AS_ECHO([['TRUE=$(BAR$(V))
1235
+ BAR0=false
1236
+ BAR1=true
1237
+ V=1
1238
+ am__doit:
1239
+ @$(TRUE)
1240
+ .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1241
+ am_cv_make_support_nested_variables=yes
1242
+ else
1243
+ am_cv_make_support_nested_variables=no
1244
+ fi])
1245
+ if test $am_cv_make_support_nested_variables = yes; then
1246
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
1247
+ AM_V='$(V)'
1248
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1249
+ else
1250
+ AM_V=$AM_DEFAULT_VERBOSITY
1251
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1252
+ fi
1253
+ AC_SUBST([AM_V])dnl
1254
+ AM_SUBST_NOTMAKE([AM_V])dnl
1255
+ AC_SUBST([AM_DEFAULT_V])dnl
1256
+ AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1257
+ AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1258
+ AM_BACKSLASH='\'
1259
+ AC_SUBST([AM_BACKSLASH])dnl
1260
+ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1261
+ ])
1262
+
1263
+ # Copyright (C) 2001-2014 Free Software Foundation, Inc.
1264
+ #
1265
+ # This file is free software; the Free Software Foundation
1266
+ # gives unlimited permission to copy and/or distribute it,
1267
+ # with or without modifications, as long as this notice is preserved.
1268
+
1269
+ # AM_PROG_INSTALL_STRIP
1270
+ # ---------------------
1271
+ # One issue with vendor 'install' (even GNU) is that you can't
1272
+ # specify the program used to strip binaries. This is especially
1273
+ # annoying in cross-compiling environments, where the build's strip
1274
+ # is unlikely to handle the host's binaries.
1275
+ # Fortunately install-sh will honor a STRIPPROG variable, so we
1276
+ # always use install-sh in "make install-strip", and initialize
1277
+ # STRIPPROG with the value of the STRIP variable (set by the user).
1278
+ AC_DEFUN([AM_PROG_INSTALL_STRIP],
1279
+ [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1280
+ # Installed binaries are usually stripped using 'strip' when the user
1281
+ # run "make install-strip". However 'strip' might not be the right
1282
+ # tool to use in cross-compilation environments, therefore Automake
1283
+ # will honor the 'STRIP' environment variable to overrule this program.
1284
+ dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1285
+ if test "$cross_compiling" != no; then
1286
+ AC_CHECK_TOOL([STRIP], [strip], :)
1287
+ fi
1288
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1289
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
1290
+
1291
+ # Copyright (C) 2006-2014 Free Software Foundation, Inc.
1292
+ #
1293
+ # This file is free software; the Free Software Foundation
1294
+ # gives unlimited permission to copy and/or distribute it,
1295
+ # with or without modifications, as long as this notice is preserved.
1296
+
1297
+ # _AM_SUBST_NOTMAKE(VARIABLE)
1298
+ # ---------------------------
1299
+ # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1300
+ # This macro is traced by Automake.
1301
+ AC_DEFUN([_AM_SUBST_NOTMAKE])
1302
+
1303
+ # AM_SUBST_NOTMAKE(VARIABLE)
1304
+ # --------------------------
1305
+ # Public sister of _AM_SUBST_NOTMAKE.
1306
+ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1307
+
1308
+ # Check how to create a tarball. -*- Autoconf -*-
1309
+
1310
+ # Copyright (C) 2004-2014 Free Software Foundation, Inc.
1311
+ #
1312
+ # This file is free software; the Free Software Foundation
1313
+ # gives unlimited permission to copy and/or distribute it,
1314
+ # with or without modifications, as long as this notice is preserved.
1315
+
1316
+ # _AM_PROG_TAR(FORMAT)
1317
+ # --------------------
1318
+ # Check how to create a tarball in format FORMAT.
1319
+ # FORMAT should be one of 'v7', 'ustar', or 'pax'.
1320
+ #
1321
+ # Substitute a variable $(am__tar) that is a command
1322
+ # writing to stdout a FORMAT-tarball containing the directory
1323
+ # $tardir.
1324
+ # tardir=directory && $(am__tar) > result.tar
1325
+ #
1326
+ # Substitute a variable $(am__untar) that extract such
1327
+ # a tarball read from stdin.
1328
+ # $(am__untar) < result.tar
1329
+ #
1330
+ AC_DEFUN([_AM_PROG_TAR],
1331
+ [# Always define AMTAR for backward compatibility. Yes, it's still used
1332
+ # in the wild :-( We should find a proper way to deprecate it ...
1333
+ AC_SUBST([AMTAR], ['$${TAR-tar}'])
1334
+
1335
+ # We'll loop over all known methods to create a tar archive until one works.
1336
+ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1337
+
1338
+ m4_if([$1], [v7],
1339
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1340
+
1341
+ [m4_case([$1],
1342
+ [ustar],
1343
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1344
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
1345
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1346
+ # and bug#13588).
1347
+ am_max_uid=2097151 # 2^21 - 1
1348
+ am_max_gid=$am_max_uid
1349
+ # The $UID and $GID variables are not portable, so we need to resort
1350
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1351
+ # below are definitely unexpected, so allow the users to see them
1352
+ # (that is, avoid stderr redirection).
1353
+ am_uid=`id -u || echo unknown`
1354
+ am_gid=`id -g || echo unknown`
1355
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1356
+ if test $am_uid -le $am_max_uid; then
1357
+ AC_MSG_RESULT([yes])
1358
+ else
1359
+ AC_MSG_RESULT([no])
1360
+ _am_tools=none
1361
+ fi
1362
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1363
+ if test $am_gid -le $am_max_gid; then
1364
+ AC_MSG_RESULT([yes])
1365
+ else
1366
+ AC_MSG_RESULT([no])
1367
+ _am_tools=none
1368
+ fi],
1369
+
1370
+ [pax],
1371
+ [],
1372
+
1373
+ [m4_fatal([Unknown tar format])])
1374
+
1375
+ AC_MSG_CHECKING([how to create a $1 tar archive])
1376
+
1377
+ # Go ahead even if we have the value already cached. We do so because we
1378
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
1379
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1380
+
1381
+ for _am_tool in $_am_tools; do
1382
+ case $_am_tool in
1383
+ gnutar)
1384
+ for _am_tar in tar gnutar gtar; do
1385
+ AM_RUN_LOG([$_am_tar --version]) && break
1386
+ done
1387
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1388
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1389
+ am__untar="$_am_tar -xf -"
1390
+ ;;
1391
+ plaintar)
1392
+ # Must skip GNU tar: if it does not support --format= it doesn't create
1393
+ # ustar tarball either.
1394
+ (tar --version) >/dev/null 2>&1 && continue
1395
+ am__tar='tar chf - "$$tardir"'
1396
+ am__tar_='tar chf - "$tardir"'
1397
+ am__untar='tar xf -'
1398
+ ;;
1399
+ pax)
1400
+ am__tar='pax -L -x $1 -w "$$tardir"'
1401
+ am__tar_='pax -L -x $1 -w "$tardir"'
1402
+ am__untar='pax -r'
1403
+ ;;
1404
+ cpio)
1405
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1406
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1407
+ am__untar='cpio -i -H $1 -d'
1408
+ ;;
1409
+ none)
1410
+ am__tar=false
1411
+ am__tar_=false
1412
+ am__untar=false
1413
+ ;;
1414
+ esac
1415
+
1416
+ # If the value was cached, stop now. We just wanted to have am__tar
1417
+ # and am__untar set.
1418
+ test -n "${am_cv_prog_tar_$1}" && break
1419
+
1420
+ # tar/untar a dummy directory, and stop if the command works.
1421
+ rm -rf conftest.dir
1422
+ mkdir conftest.dir
1423
+ echo GrepMe > conftest.dir/file
1424
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1425
+ rm -rf conftest.dir
1426
+ if test -s conftest.tar; then
1427
+ AM_RUN_LOG([$am__untar <conftest.tar])
1428
+ AM_RUN_LOG([cat conftest.dir/file])
1429
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1430
+ fi
1431
+ done
1432
+ rm -rf conftest.dir
1433
+
1434
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1435
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1436
+
1437
+ AC_SUBST([am__tar])
1438
+ AC_SUBST([am__untar])
1439
+ ]) # _AM_PROG_TAR
1440
+
1441
+ m4_include([m4/ax_openmp.m4])
1442
+ m4_include([m4/libtool.m4])
1443
+ m4_include([m4/ltoptions.m4])
1444
+ m4_include([m4/ltsugar.m4])
1445
+ m4_include([m4/ltversion.m4])
1446
+ m4_include([m4/lt~obsolete.m4])