laag-libtiff 4.0.9.0
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.
- checksums.yaml +7 -0
- data/.gitignore +57 -0
- data/LICENSE.txt +21 -0
- data/README.org +34 -0
- data/ext/laag/libtiff/extconf.rb +13 -0
- data/laag-libtiff.gemspec +20 -0
- data/lib/laag/libtiff.rb +29 -0
- data/vendor/gitlab.com/libtiff/libtiff/.appveyor.yml +109 -0
- data/vendor/gitlab.com/libtiff/libtiff/.cvsignore +4 -0
- data/vendor/gitlab.com/libtiff/libtiff/.travis.yml +34 -0
- data/vendor/gitlab.com/libtiff/libtiff/CMakeLists.txt +764 -0
- data/vendor/gitlab.com/libtiff/libtiff/COMMITTERS +19 -0
- data/vendor/gitlab.com/libtiff/libtiff/COPYRIGHT +21 -0
- data/vendor/gitlab.com/libtiff/libtiff/ChangeLog +8073 -0
- data/vendor/gitlab.com/libtiff/libtiff/HOWTO-RELEASE +119 -0
- data/vendor/gitlab.com/libtiff/libtiff/HOWTO-SECURITY-RELEASE +19 -0
- data/vendor/gitlab.com/libtiff/libtiff/Makefile.am +91 -0
- data/vendor/gitlab.com/libtiff/libtiff/Makefile.in +995 -0
- data/vendor/gitlab.com/libtiff/libtiff/Makefile.vc +58 -0
- data/vendor/gitlab.com/libtiff/libtiff/README +61 -0
- data/vendor/gitlab.com/libtiff/libtiff/README.vms +12 -0
- data/vendor/gitlab.com/libtiff/libtiff/RELEASE-DATE +1 -0
- data/vendor/gitlab.com/libtiff/libtiff/SConstruct +171 -0
- data/vendor/gitlab.com/libtiff/libtiff/TODO +12 -0
- data/vendor/gitlab.com/libtiff/libtiff/VERSION +1 -0
- data/vendor/gitlab.com/libtiff/libtiff/aclocal.m4 +1194 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/bmp2tiff.1.html +121 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/gif2tiff.1.html +141 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/ras2tiff.1.html +139 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/sgi2tiff.1.html +147 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/html/man/tiffsv.1.html +207 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/man/bmp2tiff.1 +85 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/man/gif2tiff.1 +81 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/man/ras2tiff.1 +96 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/man/sgi2tiff.1 +93 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/man/tiffsv.1 +142 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/bmp2tiff.c +937 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/gif2tiff.c +591 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/ras2tiff.c +338 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/rasterfile.h +44 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/sgi2tiff.c +337 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/sgisv.c +318 -0
- data/vendor/gitlab.com/libtiff/libtiff/archive/tools/ycbcr.c +168 -0
- data/vendor/gitlab.com/libtiff/libtiff/autogen.sh +8 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/.cvsignore +1 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/CMakeLists.txt +25 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/Makefile.am +32 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/Makefile.in +680 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/README +3 -0
- data/vendor/gitlab.com/libtiff/libtiff/build/travis-ci +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/commit +233 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/compile +347 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/config.guess +1526 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/config.sub +1658 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/depcomp +791 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/install-sh +507 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/ltmain.sh +11156 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/missing +215 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/mkinstalldirs +161 -0
- data/vendor/gitlab.com/libtiff/libtiff/config/test-driver +127 -0
- data/vendor/gitlab.com/libtiff/libtiff/configure +23612 -0
- data/vendor/gitlab.com/libtiff/libtiff/configure.ac +1112 -0
- data/vendor/gitlab.com/libtiff/libtiff/configure.com +1357 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/CMakeLists.txt +35 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/Makefile.am +31 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/Makefile.in +679 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/README +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/.cvsignore +5 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/CMakeLists.txt +34 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.am +39 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.in +652 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/Makefile.vc +28 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/README +142 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/addtiffo.c +181 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_overview.c +916 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_ovrcache.c +344 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/addtiffo/tif_ovrcache.h +103 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/.cvsignore +8 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/CMakeLists.txt +43 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/Makefile.am +46 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/Makefile.in +798 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/README +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-bi.c +91 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-grayscale.c +147 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-palette.c +284 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/tiff-rgb.c +201 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/CMakeLists.txt +29 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/Makefile.am +47 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/Makefile.in +516 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/README +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/patchlevel.h +8 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/xtiff.c +1290 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/dbs/xtiff/xtifficon.h +21 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/.cvsignore +5 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/CMakeLists.txt +35 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/Makefile.am +40 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/Makefile.in +650 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/README +25 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/iptcutil.c +954 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/test.iptc +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/iptcutil/test.txt +32 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/CMakeLists.txt +27 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/Makefile.am +29 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/Makefile.in +499 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/README +37 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/mfs/mfs_file.c +586 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/CMakeLists.txt +30 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/Makefile.am +32 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/Makefile.in +502 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/README +90 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_imageiter.c +525 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_imageiter.h +64 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_pdsdirread.c +1131 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/pds/tif_pdsdirwrite.c +971 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/CMakeLists.txt +28 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/Makefile.am +30 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/Makefile.in +500 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/README +10 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/ras2tif.c +254 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/ras/tif2ras.c +344 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/CMakeLists.txt +28 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/Makefile.am +30 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/Makefile.in +500 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/README +30 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/tiffstream.cpp +238 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/stream/tiffstream.h +70 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/CMakeLists.txt +32 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/Makefile.am +33 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/Makefile.in +503 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/README +132 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/listtif.c +39 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/maketif.c +77 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtif_dir.c +350 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtiffio.h +59 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/tags/xtiffiop.h +72 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/CMakeLists.txt +30 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.am +32 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.in +502 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Makefile.w95 +134 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/README.Tiffile +31 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/README.tiff2dib +51 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/Tiffile.cpp +449 -0
- data/vendor/gitlab.com/libtiff/libtiff/contrib/win_dib/tiff2dib.c +379 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/.cvsignore +5 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/BigTIFFProposal.html +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/CMakeLists.txt +87 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/Makefile.am +96 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/Makefile.in +798 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/TIFFTechNote2.html +707 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/addingtags.html +292 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffdesign.html +80 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr.html +77 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/esri.png +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/leica.png +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/safe.png +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bigtiffpr_images/weogeo.png +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/bugs.html +61 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/build.html +737 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/contrib.html +209 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/document.html +52 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images.html +41 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/CMakeLists.txt +46 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/Makefile.am +49 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/Makefile.in +572 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/back.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/bali.jpg +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/cat.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/cover.jpg +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/cramps.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/dave.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/info.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/jello.jpg +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/jim.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/note.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/oxford.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/quad.jpg +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/ring.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/smallliz.jpg +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/strike.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/images/warning.gif +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/index.html +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/internals.html +572 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/intro.html +68 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/libtiff.html +747 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/.cvsignore +2 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/CMakeLists.txt +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/HtmlDoc.cmake +50 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/Makefile.am +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/Makefile.in +642 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFClose.3tiff.html +87 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFDataWidth.3tiff.html +98 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFError.3tiff.html +106 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldDataType.3tiff.html +89 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldName.3tiff.html +86 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldPassCount.3tiff.html +98 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldReadCount.3tiff.html +101 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldTag.3tiff.html +88 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFieldWriteCount.3tiff.html +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFFlush.3tiff.html +113 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFGetField.3tiff.html +1969 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFOpen.3tiff.html +421 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFPrintDirectory.3tiff.html +225 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFRGBAImage.3tiff.html +319 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadDirectory.3tiff.html +218 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadEncodedStrip.3tiff.html +133 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadEncodedTile.3tiff.html +130 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBAImage.3tiff.html +301 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBAStrip.3tiff.html +208 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRGBATile.3tiff.html +261 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRawStrip.3tiff.html +109 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadRawTile.3tiff.html +111 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadScanline.3tiff.html +157 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFReadTile.3tiff.html +133 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFSetDirectory.3tiff.html +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFSetField.3tiff.html +1865 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWarning.3tiff.html +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteDirectory.3tiff.html +176 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteEncodedStrip.3tiff.html +153 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteEncodedTile.3tiff.html +147 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteRawStrip.3tiff.html +144 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteRawTile.3tiff.html +128 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteScanline.3tiff.html +206 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFWriteTile.3tiff.html +115 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFbuffer.3tiff.html +116 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFcodec.3tiff.html +116 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFcolor.3tiff.html +975 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFmemory.3tiff.html +110 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFquery.3tiff.html +148 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFsize.3tiff.html +95 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFstrip.3tiff.html +129 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFswab.3tiff.html +110 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/TIFFtile.3tiff.html +141 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/fax2ps.1.html +252 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/fax2tiff.1.html +607 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/index.html +64 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/libtiff.3tiff.html +1150 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/pal2rgb.1.html +189 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/ppm2tiff.1.html +141 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/raw2tiff.1.html +510 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/rgb2ycbcr.1.html +155 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/thumbnail.1.html +148 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2bw.1.html +161 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2pdf.1.html +609 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2ps.1.html +639 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiff2rgba.1.html +162 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcmp.1.html +156 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcp.1.html +569 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffcrop.1.html +684 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffdither.1.html +196 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffdump.1.html +145 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffgt.1.html +551 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffinfo.1.html +196 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffmedian.1.html +183 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffset.1.html +176 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/man/tiffsplit.1.html +102 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/misc.html +117 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/support.html +655 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/tools.html +137 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta007.html +112 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta016.html +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta018.html +84 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta024.html +139 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta028.html +146 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta029.html +86 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta031.html +94 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta032.html +90 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta033.html +82 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta034.html +68 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta035.html +63 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.4beta036.html +117 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.1.html +75 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.2.html +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.3.html +132 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.4.html +88 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.5.html +155 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.6-beta.html +185 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.5.7.html +259 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.6.0.html +434 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.6.1.html +199 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0.html +144 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0alpha.html +249 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0beta.html +162 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.0beta2.html +131 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.1.html +233 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.2.html +222 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.3.html +230 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.7.4.html +133 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.0.html +199 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.1.html +217 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.8.2.html +137 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.0.html +261 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.0beta.html +304 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.1.html +115 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.2.html +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.3.html +160 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.4.html +125 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v3.9.5.html +270 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.0.html +269 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.1.html +113 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.2.html +118 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.3.html +125 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.4.html +274 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.4beta.html +291 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.5.html +148 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.6.html +139 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.7.html +411 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.8.html +445 -0
- data/vendor/gitlab.com/libtiff/libtiff/html/v4.0.9.html +373 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff-4.pc.in +11 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/.cvsignore +22 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/CMakeLists.txt +165 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.am +154 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.in +966 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.lcc +129 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/Makefile.vc +102 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/SConstruct +73 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiff.def +168 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiff.map +4 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/libtiffxx.map +4 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/mkg3states.c +454 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/mkspans.c +82 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/t4.h +292 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_aux.c +376 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_close.c +140 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_codec.c +165 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_color.c +309 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_compress.c +304 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h-vms +46 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h.cmake.in +261 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.h.in +410 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.vc.h +137 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_config.wince.h +71 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dir.c +1767 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dir.h +309 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirinfo.c +1070 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirread.c +5803 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dirwrite.c +3024 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_dumpmode.c +143 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_error.c +88 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_extension.c +118 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3.c +1648 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3.h +540 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_fax3sm.c +1260 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_flush.c +118 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_getimage.c +3048 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jbig.c +214 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jpeg.c +2601 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_jpeg_12.c +69 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_luv.c +1765 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_lzma.c +495 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_lzw.c +1218 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_next.c +189 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_ojpeg.c +2563 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_open.c +725 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_packbits.c +311 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_pixarlog.c +1485 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_predict.c +881 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_predict.h +79 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_print.c +722 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_read.c +1572 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_stream.cxx +430 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_strip.c +389 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_swab.c +312 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_thunder.c +208 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_tile.c +322 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_unix.c +386 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_version.c +40 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_vms.c +611 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_warning.c +89 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_win32.c +476 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_wince.c +293 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_write.c +834 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tif_zip.c +476 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiff.h +681 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h-vms +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h.cmake.in +130 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.h.in +127 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.vc.h +161 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffconf.wince.h +121 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffio.h +560 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffio.hxx +49 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffiop.h +445 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffvers.h +9 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/tiffvers.h.in +9 -0
- data/vendor/gitlab.com/libtiff/libtiff/libtiff/uvcode.h +180 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/acinclude.m4 +851 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/ice_find_athena.m4 +187 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/libtool.m4 +8388 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/ltoptions.m4 +437 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/ltsugar.m4 +124 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/ltversion.m4 +23 -0
- data/vendor/gitlab.com/libtiff/libtiff/m4/lt~obsolete.m4 +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/.cvsignore +3 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/CMakeLists.txt +97 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/Makefile.am +94 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/Makefile.in +684 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFClose.3tiff +53 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFDataWidth.3tiff +74 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFError.3tiff +69 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldDataType.3tiff +53 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldName.3tiff +52 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldPassCount.3tiff +73 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldReadCount.3tiff +77 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldTag.3tiff +56 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFieldWriteCount.3tiff +88 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFFlush.3tiff +64 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFGetField.3tiff +229 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFOpen.3tiff +279 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFPrintDirectory.3tiff +70 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFRGBAImage.3tiff +286 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadDirectory.3tiff +164 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadEncodedStrip.3tiff +78 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadEncodedTile.3tiff +76 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBAImage.3tiff +218 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBAStrip.3tiff +170 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRGBATile.3tiff +171 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRawStrip.3tiff +64 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadRawTile.3tiff +65 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadScanline.3tiff +94 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFReadTile.3tiff +84 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFSetDirectory.3tiff +79 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFSetField.3tiff +217 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWarning.3tiff +70 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteDirectory.3tiff +138 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteEncodedStrip.3tiff +102 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteEncodedTile.3tiff +96 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteRawStrip.3tiff +96 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteRawTile.3tiff +84 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteScanline.3tiff +154 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFWriteTile.3tiff +77 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFbuffer.3tiff +77 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFcodec.3tiff +82 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFcolor.3tiff +268 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFmemory.3tiff +90 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFquery.3tiff +142 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFsize.3tiff +59 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFstrip.3tiff +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFswab.3tiff +80 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/TIFFtile.3tiff +131 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/fax2ps.1 +159 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/fax2tiff.1 +286 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/libtiff.3tiff +545 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/pal2rgb.1 +111 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/ppm2tiff.1 +105 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/raw2tiff.1 +196 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/rgb2ycbcr.1 +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/thumbnail.1 +90 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiff2bw.1 +94 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiff2pdf.1 +254 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiff2ps.1 +294 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiff2rgba.1 +97 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffcmp.1 +87 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffcp.1 +317 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffcrop.1 +571 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffdither.1 +135 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffdump.1 +81 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffgt.1 +245 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffinfo.1 +88 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffmedian.1 +112 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffset.1 +99 -0
- data/vendor/gitlab.com/libtiff/libtiff/man/tiffsplit.1 +69 -0
- data/vendor/gitlab.com/libtiff/libtiff/nmake.opt +229 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/.cvsignore +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/CMakeLists.txt +60 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.am +35 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.in +656 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/Makefile.vc +44 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/dummy.c +12 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/getopt.c +125 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/lfind.c +62 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/libport.h +60 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/snprintf.c +38 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/strcasecmp.c +51 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/strtoul.c +109 -0
- data/vendor/gitlab.com/libtiff/libtiff/port/strtoull.c +116 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/.cvsignore +12 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/CMakeLists.txt +382 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/Makefile.am +334 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/Makefile.in +1987 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/TiffSplitTest.cmake +34 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/TiffTest.cmake +63 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/TiffTestCommon.cmake +108 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/ascii_tag.c +177 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/check_tag.c +91 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/common.sh +122 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/custom_dir.c +247 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/README.txt +29 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/logluv-3c-16b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-16b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-8b.pgm +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-1c-8b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/minisblack-2c-8b-alpha.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/miniswhite-1c-1b.pbm +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/miniswhite-1c-1b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-1b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-4b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/palette-1c-8b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/quad-lzw-compat.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/quad-tile.jpg.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-16b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-8b.ppm +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/images/rgb-3c-8b.tiff +0 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/long_tag.c +156 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_pbm.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_pgm.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/ppm2tiff_ppm.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/raw_decode.c +304 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/rewrite_tag.c +344 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/short_tag.c +205 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/strip.c +290 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/strip_rw.c +157 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/test_arrays.c +829 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/test_arrays.h +63 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-quad-lzw-compat.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2bw-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2pdf.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-EPS1.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS1.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS2.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2ps-PS3.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-logluv-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-1c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-minisblack-2c-8b-alpha.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-miniswhite-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-4b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-quad-tile.jpg.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-rgb-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiff2rgba-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-1d-fill.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-1d.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-2d-fill.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3-2d.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g3.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-g4.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-logluv.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-lzw-compat.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-split-join.sh +16 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-split.sh +13 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcp-thumbnail.sh +10 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-logluv-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-1c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-minisblack-2c-8b-alpha.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-miniswhite-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-4b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-quad-tile.jpg.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-rgb-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-R90-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-logluv-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-1c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-miniswhite-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-4b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-quad-tile.jpg.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-rgb-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-doubleflip-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-logluv-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-1c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-minisblack-2c-8b-alpha.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-miniswhite-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-4b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-quad-tile.jpg.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-rgb-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extract-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-logluv-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-1c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-minisblack-2c-8b-alpha.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-miniswhite-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-1b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-4b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-palette-1c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-quad-tile.jpg.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-rgb-3c-16b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffcrop-extractz14-rgb-3c-8b.sh +7 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffdump.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tiffinfo.sh +6 -0
- data/vendor/gitlab.com/libtiff/libtiff/test/tifftest.h +42 -0
- data/vendor/gitlab.com/libtiff/libtiff/tiff.spec +68 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/.cvsignore +27 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/CMakeLists.txt +125 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.am +138 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.in +955 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.lcc +133 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/Makefile.vc +52 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/fax2ps.c +463 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/fax2tiff.c +491 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/pal2rgb.c +438 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/ppm2tiff.c +397 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/raw2tiff.c +690 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/rgb2ycbcr.c +397 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/thumbnail.c +691 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2bw.c +501 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2pdf.c +5594 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2ps.c +3106 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiff2rgba.c +569 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcmp.c +659 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcp.c +1913 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffcrop.c +9231 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffdither.c +347 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffdump.c +889 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffgt.c +486 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffinfo.c +488 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffinfoce.c +472 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffmedian.c +918 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffset.c +356 -0
- data/vendor/gitlab.com/libtiff/libtiff/tools/tiffsplit.c +305 -0
- metadata +692 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.0.9\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
2
|
+
/*
|
|
3
|
+
* This define can be used in code that requires
|
|
4
|
+
* compilation-related definitions specific to a
|
|
5
|
+
* version or versions of the library. Runtime
|
|
6
|
+
* version checking should be done based on the
|
|
7
|
+
* string returned by TIFFGetVersion.
|
|
8
|
+
*/
|
|
9
|
+
#define TIFFLIB_VERSION 20171118
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#define TIFFLIB_VERSION_STR "LIBTIFF, Version LIBTIFF_VERSION\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
|
2
|
+
/*
|
|
3
|
+
* This define can be used in code that requires
|
|
4
|
+
* compilation-related definitions specific to a
|
|
5
|
+
* version or versions of the library. Runtime
|
|
6
|
+
* version checking should be done based on the
|
|
7
|
+
* string returned by TIFFGetVersion.
|
|
8
|
+
*/
|
|
9
|
+
#define TIFFLIB_VERSION LIBTIFF_RELEASE_DATE
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/* Version 1.0 generated April 7, 1997 by Greg Ward Larson, SGI */
|
|
2
|
+
#define UV_SQSIZ (float)0.003500
|
|
3
|
+
#define UV_NDIVS 16289
|
|
4
|
+
#define UV_VSTART (float)0.016940
|
|
5
|
+
#define UV_NVS 163
|
|
6
|
+
static const struct {
|
|
7
|
+
float ustart;
|
|
8
|
+
short nus, ncum;
|
|
9
|
+
} uv_row[UV_NVS] = {
|
|
10
|
+
{ (float)0.247663, 4, 0 },
|
|
11
|
+
{ (float)0.243779, 6, 4 },
|
|
12
|
+
{ (float)0.241684, 7, 10 },
|
|
13
|
+
{ (float)0.237874, 9, 17 },
|
|
14
|
+
{ (float)0.235906, 10, 26 },
|
|
15
|
+
{ (float)0.232153, 12, 36 },
|
|
16
|
+
{ (float)0.228352, 14, 48 },
|
|
17
|
+
{ (float)0.226259, 15, 62 },
|
|
18
|
+
{ (float)0.222371, 17, 77 },
|
|
19
|
+
{ (float)0.220410, 18, 94 },
|
|
20
|
+
{ (float)0.214710, 21, 112 },
|
|
21
|
+
{ (float)0.212714, 22, 133 },
|
|
22
|
+
{ (float)0.210721, 23, 155 },
|
|
23
|
+
{ (float)0.204976, 26, 178 },
|
|
24
|
+
{ (float)0.202986, 27, 204 },
|
|
25
|
+
{ (float)0.199245, 29, 231 },
|
|
26
|
+
{ (float)0.195525, 31, 260 },
|
|
27
|
+
{ (float)0.193560, 32, 291 },
|
|
28
|
+
{ (float)0.189878, 34, 323 },
|
|
29
|
+
{ (float)0.186216, 36, 357 },
|
|
30
|
+
{ (float)0.186216, 36, 393 },
|
|
31
|
+
{ (float)0.182592, 38, 429 },
|
|
32
|
+
{ (float)0.179003, 40, 467 },
|
|
33
|
+
{ (float)0.175466, 42, 507 },
|
|
34
|
+
{ (float)0.172001, 44, 549 },
|
|
35
|
+
{ (float)0.172001, 44, 593 },
|
|
36
|
+
{ (float)0.168612, 46, 637 },
|
|
37
|
+
{ (float)0.168612, 46, 683 },
|
|
38
|
+
{ (float)0.163575, 49, 729 },
|
|
39
|
+
{ (float)0.158642, 52, 778 },
|
|
40
|
+
{ (float)0.158642, 52, 830 },
|
|
41
|
+
{ (float)0.158642, 52, 882 },
|
|
42
|
+
{ (float)0.153815, 55, 934 },
|
|
43
|
+
{ (float)0.153815, 55, 989 },
|
|
44
|
+
{ (float)0.149097, 58, 1044 },
|
|
45
|
+
{ (float)0.149097, 58, 1102 },
|
|
46
|
+
{ (float)0.142746, 62, 1160 },
|
|
47
|
+
{ (float)0.142746, 62, 1222 },
|
|
48
|
+
{ (float)0.142746, 62, 1284 },
|
|
49
|
+
{ (float)0.138270, 65, 1346 },
|
|
50
|
+
{ (float)0.138270, 65, 1411 },
|
|
51
|
+
{ (float)0.138270, 65, 1476 },
|
|
52
|
+
{ (float)0.132166, 69, 1541 },
|
|
53
|
+
{ (float)0.132166, 69, 1610 },
|
|
54
|
+
{ (float)0.126204, 73, 1679 },
|
|
55
|
+
{ (float)0.126204, 73, 1752 },
|
|
56
|
+
{ (float)0.126204, 73, 1825 },
|
|
57
|
+
{ (float)0.120381, 77, 1898 },
|
|
58
|
+
{ (float)0.120381, 77, 1975 },
|
|
59
|
+
{ (float)0.120381, 77, 2052 },
|
|
60
|
+
{ (float)0.120381, 77, 2129 },
|
|
61
|
+
{ (float)0.112962, 82, 2206 },
|
|
62
|
+
{ (float)0.112962, 82, 2288 },
|
|
63
|
+
{ (float)0.112962, 82, 2370 },
|
|
64
|
+
{ (float)0.107450, 86, 2452 },
|
|
65
|
+
{ (float)0.107450, 86, 2538 },
|
|
66
|
+
{ (float)0.107450, 86, 2624 },
|
|
67
|
+
{ (float)0.107450, 86, 2710 },
|
|
68
|
+
{ (float)0.100343, 91, 2796 },
|
|
69
|
+
{ (float)0.100343, 91, 2887 },
|
|
70
|
+
{ (float)0.100343, 91, 2978 },
|
|
71
|
+
{ (float)0.095126, 95, 3069 },
|
|
72
|
+
{ (float)0.095126, 95, 3164 },
|
|
73
|
+
{ (float)0.095126, 95, 3259 },
|
|
74
|
+
{ (float)0.095126, 95, 3354 },
|
|
75
|
+
{ (float)0.088276, 100, 3449 },
|
|
76
|
+
{ (float)0.088276, 100, 3549 },
|
|
77
|
+
{ (float)0.088276, 100, 3649 },
|
|
78
|
+
{ (float)0.088276, 100, 3749 },
|
|
79
|
+
{ (float)0.081523, 105, 3849 },
|
|
80
|
+
{ (float)0.081523, 105, 3954 },
|
|
81
|
+
{ (float)0.081523, 105, 4059 },
|
|
82
|
+
{ (float)0.081523, 105, 4164 },
|
|
83
|
+
{ (float)0.074861, 110, 4269 },
|
|
84
|
+
{ (float)0.074861, 110, 4379 },
|
|
85
|
+
{ (float)0.074861, 110, 4489 },
|
|
86
|
+
{ (float)0.074861, 110, 4599 },
|
|
87
|
+
{ (float)0.068290, 115, 4709 },
|
|
88
|
+
{ (float)0.068290, 115, 4824 },
|
|
89
|
+
{ (float)0.068290, 115, 4939 },
|
|
90
|
+
{ (float)0.068290, 115, 5054 },
|
|
91
|
+
{ (float)0.063573, 119, 5169 },
|
|
92
|
+
{ (float)0.063573, 119, 5288 },
|
|
93
|
+
{ (float)0.063573, 119, 5407 },
|
|
94
|
+
{ (float)0.063573, 119, 5526 },
|
|
95
|
+
{ (float)0.057219, 124, 5645 },
|
|
96
|
+
{ (float)0.057219, 124, 5769 },
|
|
97
|
+
{ (float)0.057219, 124, 5893 },
|
|
98
|
+
{ (float)0.057219, 124, 6017 },
|
|
99
|
+
{ (float)0.050985, 129, 6141 },
|
|
100
|
+
{ (float)0.050985, 129, 6270 },
|
|
101
|
+
{ (float)0.050985, 129, 6399 },
|
|
102
|
+
{ (float)0.050985, 129, 6528 },
|
|
103
|
+
{ (float)0.050985, 129, 6657 },
|
|
104
|
+
{ (float)0.044859, 134, 6786 },
|
|
105
|
+
{ (float)0.044859, 134, 6920 },
|
|
106
|
+
{ (float)0.044859, 134, 7054 },
|
|
107
|
+
{ (float)0.044859, 134, 7188 },
|
|
108
|
+
{ (float)0.040571, 138, 7322 },
|
|
109
|
+
{ (float)0.040571, 138, 7460 },
|
|
110
|
+
{ (float)0.040571, 138, 7598 },
|
|
111
|
+
{ (float)0.040571, 138, 7736 },
|
|
112
|
+
{ (float)0.036339, 142, 7874 },
|
|
113
|
+
{ (float)0.036339, 142, 8016 },
|
|
114
|
+
{ (float)0.036339, 142, 8158 },
|
|
115
|
+
{ (float)0.036339, 142, 8300 },
|
|
116
|
+
{ (float)0.032139, 146, 8442 },
|
|
117
|
+
{ (float)0.032139, 146, 8588 },
|
|
118
|
+
{ (float)0.032139, 146, 8734 },
|
|
119
|
+
{ (float)0.032139, 146, 8880 },
|
|
120
|
+
{ (float)0.027947, 150, 9026 },
|
|
121
|
+
{ (float)0.027947, 150, 9176 },
|
|
122
|
+
{ (float)0.027947, 150, 9326 },
|
|
123
|
+
{ (float)0.023739, 154, 9476 },
|
|
124
|
+
{ (float)0.023739, 154, 9630 },
|
|
125
|
+
{ (float)0.023739, 154, 9784 },
|
|
126
|
+
{ (float)0.023739, 154, 9938 },
|
|
127
|
+
{ (float)0.019504, 158, 10092 },
|
|
128
|
+
{ (float)0.019504, 158, 10250 },
|
|
129
|
+
{ (float)0.019504, 158, 10408 },
|
|
130
|
+
{ (float)0.016976, 161, 10566 },
|
|
131
|
+
{ (float)0.016976, 161, 10727 },
|
|
132
|
+
{ (float)0.016976, 161, 10888 },
|
|
133
|
+
{ (float)0.016976, 161, 11049 },
|
|
134
|
+
{ (float)0.012639, 165, 11210 },
|
|
135
|
+
{ (float)0.012639, 165, 11375 },
|
|
136
|
+
{ (float)0.012639, 165, 11540 },
|
|
137
|
+
{ (float)0.009991, 168, 11705 },
|
|
138
|
+
{ (float)0.009991, 168, 11873 },
|
|
139
|
+
{ (float)0.009991, 168, 12041 },
|
|
140
|
+
{ (float)0.009016, 170, 12209 },
|
|
141
|
+
{ (float)0.009016, 170, 12379 },
|
|
142
|
+
{ (float)0.009016, 170, 12549 },
|
|
143
|
+
{ (float)0.006217, 173, 12719 },
|
|
144
|
+
{ (float)0.006217, 173, 12892 },
|
|
145
|
+
{ (float)0.005097, 175, 13065 },
|
|
146
|
+
{ (float)0.005097, 175, 13240 },
|
|
147
|
+
{ (float)0.005097, 175, 13415 },
|
|
148
|
+
{ (float)0.003909, 177, 13590 },
|
|
149
|
+
{ (float)0.003909, 177, 13767 },
|
|
150
|
+
{ (float)0.002340, 177, 13944 },
|
|
151
|
+
{ (float)0.002389, 170, 14121 },
|
|
152
|
+
{ (float)0.001068, 164, 14291 },
|
|
153
|
+
{ (float)0.001653, 157, 14455 },
|
|
154
|
+
{ (float)0.000717, 150, 14612 },
|
|
155
|
+
{ (float)0.001614, 143, 14762 },
|
|
156
|
+
{ (float)0.000270, 136, 14905 },
|
|
157
|
+
{ (float)0.000484, 129, 15041 },
|
|
158
|
+
{ (float)0.001103, 123, 15170 },
|
|
159
|
+
{ (float)0.001242, 115, 15293 },
|
|
160
|
+
{ (float)0.001188, 109, 15408 },
|
|
161
|
+
{ (float)0.001011, 103, 15517 },
|
|
162
|
+
{ (float)0.000709, 97, 15620 },
|
|
163
|
+
{ (float)0.000301, 89, 15717 },
|
|
164
|
+
{ (float)0.002416, 82, 15806 },
|
|
165
|
+
{ (float)0.003251, 76, 15888 },
|
|
166
|
+
{ (float)0.003246, 69, 15964 },
|
|
167
|
+
{ (float)0.004141, 62, 16033 },
|
|
168
|
+
{ (float)0.005963, 55, 16095 },
|
|
169
|
+
{ (float)0.008839, 47, 16150 },
|
|
170
|
+
{ (float)0.010490, 40, 16197 },
|
|
171
|
+
{ (float)0.016994, 31, 16237 },
|
|
172
|
+
{ (float)0.023659, 21, 16268 },
|
|
173
|
+
};
|
|
174
|
+
/*
|
|
175
|
+
* Local Variables:
|
|
176
|
+
* mode: c
|
|
177
|
+
* c-basic-offset: 8
|
|
178
|
+
* fill-column: 78
|
|
179
|
+
* End:
|
|
180
|
+
*/
|
|
@@ -0,0 +1,851 @@
|
|
|
1
|
+
dnl ---------------------------------------------------------------------------
|
|
2
|
+
dnl Message output
|
|
3
|
+
dnl ---------------------------------------------------------------------------
|
|
4
|
+
AC_DEFUN([LOC_MSG],[echo "$1"])
|
|
5
|
+
|
|
6
|
+
dnl ---------------------------------------------------------------------------
|
|
7
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
8
|
+
dnl http://www.gnu.org/software/ac-archive/vl_prog_cc_warnings.html
|
|
9
|
+
dnl ---------------------------------------------------------------------------
|
|
10
|
+
|
|
11
|
+
dnl @synopsis VL_PROG_CC_WARNINGS([ANSI])
|
|
12
|
+
dnl
|
|
13
|
+
dnl Enables a reasonable set of warnings for the C compiler.
|
|
14
|
+
dnl Optionally, if the first argument is nonempty, turns on flags which
|
|
15
|
+
dnl enforce and/or enable proper ANSI C if such are known with the
|
|
16
|
+
dnl compiler used.
|
|
17
|
+
dnl
|
|
18
|
+
dnl Currently this macro knows about GCC, Solaris C compiler, Digital
|
|
19
|
+
dnl Unix C compiler, C for AIX Compiler, HP-UX C compiler, IRIX C
|
|
20
|
+
dnl compiler, NEC SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos
|
|
21
|
+
dnl 10.0.0.8) C compiler.
|
|
22
|
+
dnl
|
|
23
|
+
dnl @category C
|
|
24
|
+
dnl @author Ville Laurikari <vl@iki.fi>
|
|
25
|
+
dnl @version 2002-04-04
|
|
26
|
+
dnl @license AllPermissive
|
|
27
|
+
|
|
28
|
+
AC_DEFUN([VL_PROG_CC_WARNINGS], [
|
|
29
|
+
ansi=$1
|
|
30
|
+
if test -z "$ansi"; then
|
|
31
|
+
msg="for C compiler warning flags"
|
|
32
|
+
else
|
|
33
|
+
msg="for C compiler warning and ANSI conformance flags"
|
|
34
|
+
fi
|
|
35
|
+
AC_CACHE_CHECK($msg, vl_cv_prog_cc_warnings, [
|
|
36
|
+
if test -n "$CC"; then
|
|
37
|
+
cat > conftest.c <<EOF
|
|
38
|
+
int main(int argc, char **argv) { return 0; }
|
|
39
|
+
EOF
|
|
40
|
+
|
|
41
|
+
dnl GCC. -W option has been renamed in -wextra in latest gcc versions.
|
|
42
|
+
if test "$GCC" = "yes"; then
|
|
43
|
+
if test -z "$ansi"; then
|
|
44
|
+
vl_cv_prog_cc_warnings="-Wall -W"
|
|
45
|
+
else
|
|
46
|
+
vl_cv_prog_cc_warnings="-Wall -W -ansi -pedantic"
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
dnl Most compilers print some kind of a version string with some command
|
|
50
|
+
dnl line options (often "-V"). The version string should be checked
|
|
51
|
+
dnl before doing a test compilation run with compiler-specific flags.
|
|
52
|
+
dnl This is because some compilers (like the Cray compiler) only
|
|
53
|
+
dnl produce a warning message for unknown flags instead of returning
|
|
54
|
+
dnl an error, resulting in a false positive. Also, compilers may do
|
|
55
|
+
dnl erratic things when invoked with flags meant for a different
|
|
56
|
+
dnl compiler.
|
|
57
|
+
|
|
58
|
+
dnl Solaris C compiler
|
|
59
|
+
elif $CC -V 2>&1 | grep -i "WorkShop" > /dev/null 2>&1 &&
|
|
60
|
+
$CC -c -v -Xc conftest.c > /dev/null 2>&1 &&
|
|
61
|
+
test -f conftest.o; then
|
|
62
|
+
if test -z "$ansi"; then
|
|
63
|
+
vl_cv_prog_cc_warnings="-v"
|
|
64
|
+
else
|
|
65
|
+
vl_cv_prog_cc_warnings="-v -Xc"
|
|
66
|
+
fi
|
|
67
|
+
|
|
68
|
+
dnl Digital Unix C compiler
|
|
69
|
+
elif $CC -V 2>&1 | grep -i "Digital UNIX Compiler" > /dev/null 2>&1 &&
|
|
70
|
+
$CC -c -verbose -w0 -warnprotos -std1 conftest.c > /dev/null 2>&1 &&
|
|
71
|
+
test -f conftest.o; then
|
|
72
|
+
if test -z "$ansi"; then
|
|
73
|
+
vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos"
|
|
74
|
+
else
|
|
75
|
+
vl_cv_prog_cc_warnings="-verbose -w0 -warnprotos -std1"
|
|
76
|
+
fi
|
|
77
|
+
|
|
78
|
+
dnl C for AIX Compiler
|
|
79
|
+
elif $CC 2>&1 | grep -i "C for AIX Compiler" > /dev/null 2>&1 &&
|
|
80
|
+
$CC -c -qlanglvl=ansi -qinfo=all conftest.c > /dev/null 2>&1 &&
|
|
81
|
+
test -f conftest.o; then
|
|
82
|
+
if test -z "$ansi"; then
|
|
83
|
+
vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"
|
|
84
|
+
else
|
|
85
|
+
vl_cv_prog_cc_warnings="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd -qlanglvl=ansi"
|
|
86
|
+
fi
|
|
87
|
+
|
|
88
|
+
dnl IRIX C compiler
|
|
89
|
+
elif $CC -version 2>&1 | grep -i "MIPSpro Compilers" > /dev/null 2>&1 &&
|
|
90
|
+
$CC -c -fullwarn -ansi -ansiE conftest.c > /dev/null 2>&1 &&
|
|
91
|
+
test -f conftest.o; then
|
|
92
|
+
if test -z "$ansi"; then
|
|
93
|
+
vl_cv_prog_cc_warnings="-fullwarn"
|
|
94
|
+
else
|
|
95
|
+
vl_cv_prog_cc_warnings="-fullwarn -ansi -ansiE"
|
|
96
|
+
fi
|
|
97
|
+
|
|
98
|
+
dnl HP-UX C compiler
|
|
99
|
+
elif what $CC 2>&1 | grep -i "HP C Compiler" > /dev/null 2>&1 &&
|
|
100
|
+
$CC -c -Aa +w1 conftest.c > /dev/null 2>&1 &&
|
|
101
|
+
test -f conftest.o; then
|
|
102
|
+
if test -z "$ansi"; then
|
|
103
|
+
vl_cv_prog_cc_warnings="+w1"
|
|
104
|
+
else
|
|
105
|
+
vl_cv_prog_cc_warnings="+w1 -Aa"
|
|
106
|
+
fi
|
|
107
|
+
|
|
108
|
+
dnl The NEC SX-5 (Super-UX 10) C compiler
|
|
109
|
+
elif $CC -V 2>&1 | grep "/SX" > /dev/null 2>&1 &&
|
|
110
|
+
$CC -c -pvctl[,]fullmsg -Xc conftest.c > /dev/null 2>&1 &&
|
|
111
|
+
test -f conftest.o; then
|
|
112
|
+
if test -z "$ansi"; then
|
|
113
|
+
vl_cv_prog_cc_warnings="-pvctl[,]fullmsg"
|
|
114
|
+
else
|
|
115
|
+
vl_cv_prog_cc_warnings="-pvctl[,]fullmsg -Xc"
|
|
116
|
+
fi
|
|
117
|
+
|
|
118
|
+
dnl The Cray C compiler (Unicos)
|
|
119
|
+
elif $CC -V 2>&1 | grep -i "Cray" > /dev/null 2>&1 &&
|
|
120
|
+
$CC -c -h msglevel 2 conftest.c > /dev/null 2>&1 &&
|
|
121
|
+
test -f conftest.o; then
|
|
122
|
+
if test -z "$ansi"; then
|
|
123
|
+
vl_cv_prog_cc_warnings="-h msglevel 2"
|
|
124
|
+
else
|
|
125
|
+
vl_cv_prog_cc_warnings="-h msglevel 2 -h conform"
|
|
126
|
+
fi
|
|
127
|
+
|
|
128
|
+
fi
|
|
129
|
+
rm -f conftest.*
|
|
130
|
+
fi
|
|
131
|
+
if test -n "$vl_cv_prog_cc_warnings"; then
|
|
132
|
+
CFLAGS="$CFLAGS $vl_cv_prog_cc_warnings"
|
|
133
|
+
else
|
|
134
|
+
vl_cv_prog_cc_warnings="unknown"
|
|
135
|
+
fi
|
|
136
|
+
])
|
|
137
|
+
])dnl
|
|
138
|
+
|
|
139
|
+
dnl ---------------------------------------------------------------------------
|
|
140
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
141
|
+
dnl http://autoconf-archive.cryp.to/ax_lang_compiler_ms.html
|
|
142
|
+
dnl ---------------------------------------------------------------------------
|
|
143
|
+
|
|
144
|
+
dnl @synopsis AX_LANG_COMPILER_MS
|
|
145
|
+
dnl
|
|
146
|
+
dnl Check whether the compiler for the current language is Microsoft.
|
|
147
|
+
dnl
|
|
148
|
+
dnl This macro is modeled after _AC_LANG_COMPILER_GNU in the GNU
|
|
149
|
+
dnl Autoconf implementation.
|
|
150
|
+
dnl
|
|
151
|
+
dnl @category InstalledPackages
|
|
152
|
+
dnl @author Braden McDaniel <braden@endoframe.com>
|
|
153
|
+
dnl @version 2004-11-15
|
|
154
|
+
dnl @license AllPermissive
|
|
155
|
+
|
|
156
|
+
AC_DEFUN([AX_LANG_COMPILER_MS],
|
|
157
|
+
[AC_CACHE_CHECK([whether we are using the Microsoft _AC_LANG compiler],
|
|
158
|
+
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms],
|
|
159
|
+
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef _MSC_VER
|
|
160
|
+
choke me
|
|
161
|
+
#endif
|
|
162
|
+
]])],
|
|
163
|
+
[ax_compiler_ms=yes],
|
|
164
|
+
[ax_compiler_ms=no])
|
|
165
|
+
ax_cv_[]_AC_LANG_ABBREV[]_compiler_ms=$ax_compiler_ms
|
|
166
|
+
])])
|
|
167
|
+
|
|
168
|
+
dnl ---------------------------------------------------------------------------
|
|
169
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
170
|
+
dnl http://www.gnu.org/software/ac-archive/ax_check_gl.html
|
|
171
|
+
dnl ---------------------------------------------------------------------------
|
|
172
|
+
|
|
173
|
+
dnl SYNOPSIS
|
|
174
|
+
dnl
|
|
175
|
+
dnl AX_CHECK_GL
|
|
176
|
+
dnl
|
|
177
|
+
dnl DESCRIPTION
|
|
178
|
+
dnl
|
|
179
|
+
dnl Check for an OpenGL implementation. If GL is found, the required
|
|
180
|
+
dnl compiler and linker flags are included in the output variables
|
|
181
|
+
dnl "GL_CFLAGS" and "GL_LIBS", respectively. If no usable GL implementation
|
|
182
|
+
dnl is found, "no_gl" is set to "yes".
|
|
183
|
+
dnl
|
|
184
|
+
dnl If the header "GL/gl.h" is found, "HAVE_GL_GL_H" is defined. If the
|
|
185
|
+
dnl header "OpenGL/gl.h" is found, HAVE_OPENGL_GL_H is defined. These
|
|
186
|
+
dnl preprocessor definitions may not be mutually exclusive.
|
|
187
|
+
dnl
|
|
188
|
+
dnl LICENSE
|
|
189
|
+
dnl
|
|
190
|
+
dnl Copyright (c) 2009 Braden McDaniel <braden@endoframe.com>
|
|
191
|
+
dnl
|
|
192
|
+
dnl This program is free software; you can redistribute it and/or modify it
|
|
193
|
+
dnl under the terms of the GNU General Public License as published by the
|
|
194
|
+
dnl Free Software Foundation; either version 2 of the License, or (at your
|
|
195
|
+
dnl option) any later version.
|
|
196
|
+
dnl
|
|
197
|
+
dnl This program is distributed in the hope that it will be useful, but
|
|
198
|
+
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
199
|
+
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
200
|
+
dnl Public License for more details.
|
|
201
|
+
dnl
|
|
202
|
+
dnl You should have received a copy of the GNU General Public License along
|
|
203
|
+
dnl with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
204
|
+
dnl
|
|
205
|
+
dnl As a special exception, the respective Autoconf Macro's copyright owner
|
|
206
|
+
dnl gives unlimited permission to copy, distribute and modify the configure
|
|
207
|
+
dnl scripts that are the output of Autoconf when processing the Macro. You
|
|
208
|
+
dnl need not follow the terms of the GNU General Public License when using
|
|
209
|
+
dnl or distributing such scripts, even though portions of the text of the
|
|
210
|
+
dnl Macro appear in them. The GNU General Public License (GPL) does govern
|
|
211
|
+
dnl all other use of the material that constitutes the Autoconf Macro.
|
|
212
|
+
dnl
|
|
213
|
+
dnl This special exception to the GPL applies to versions of the Autoconf
|
|
214
|
+
dnl Macro released by the Autoconf Archive. When you make and distribute a
|
|
215
|
+
dnl modified version of the Autoconf Macro, you may extend this special
|
|
216
|
+
dnl exception to the GPL to apply to your modified version as well.
|
|
217
|
+
|
|
218
|
+
AC_DEFUN([AX_CHECK_GL],
|
|
219
|
+
[AC_REQUIRE([AC_CANONICAL_HOST])
|
|
220
|
+
AC_REQUIRE([AC_PATH_X])dnl
|
|
221
|
+
AC_REQUIRE([AX_PTHREAD])dnl
|
|
222
|
+
|
|
223
|
+
AC_LANG_PUSH([C])
|
|
224
|
+
AX_LANG_COMPILER_MS
|
|
225
|
+
AS_IF([test X$ax_compiler_ms = Xno],
|
|
226
|
+
[GL_CFLAGS="${PTHREAD_CFLAGS}"; GL_LIBS="${PTHREAD_LIBS} -lm"])
|
|
227
|
+
|
|
228
|
+
dnl
|
|
229
|
+
dnl Use x_includes and x_libraries if they have been set (presumably by
|
|
230
|
+
dnl AC_PATH_X).
|
|
231
|
+
dnl
|
|
232
|
+
AS_IF([test "X$no_x" != "Xyes"],
|
|
233
|
+
[AS_IF([test -n "$x_includes"],
|
|
234
|
+
[GL_CFLAGS="-I${x_includes} ${GL_CFLAGS}"])]
|
|
235
|
+
AS_IF([test -n "$x_libraries"],
|
|
236
|
+
[GL_LIBS="-L${x_libraries} -lX11 ${GL_LIBS}"]))
|
|
237
|
+
|
|
238
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
239
|
+
CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
|
|
240
|
+
AC_CHECK_HEADERS([GL/gl.h OpenGL/gl.h])
|
|
241
|
+
CPPFLAGS="${ax_save_CPPFLAGS}"
|
|
242
|
+
|
|
243
|
+
AC_CHECK_HEADERS([windows.h])
|
|
244
|
+
|
|
245
|
+
m4_define([AX_CHECK_GL_PROGRAM],
|
|
246
|
+
[AC_LANG_PROGRAM([[
|
|
247
|
+
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
|
|
248
|
+
# include <windows.h>
|
|
249
|
+
# endif
|
|
250
|
+
# ifdef HAVE_GL_GL_H
|
|
251
|
+
# include <GL/gl.h>
|
|
252
|
+
# elif defined(HAVE_OPENGL_GL_H)
|
|
253
|
+
# include <OpenGL/gl.h>
|
|
254
|
+
# else
|
|
255
|
+
# error no gl.h
|
|
256
|
+
# endif]],
|
|
257
|
+
[[glBegin(0)]])])
|
|
258
|
+
|
|
259
|
+
AC_CACHE_CHECK([for OpenGL library], [ax_cv_check_gl_libgl],
|
|
260
|
+
[ax_cv_check_gl_libgl="no"
|
|
261
|
+
case $host_cpu in
|
|
262
|
+
x86_64) ax_check_gl_libdir=lib64 ;;
|
|
263
|
+
*) ax_check_gl_libdir=lib ;;
|
|
264
|
+
esac
|
|
265
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
266
|
+
CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
|
|
267
|
+
ax_save_LIBS="${LIBS}"
|
|
268
|
+
LIBS=""
|
|
269
|
+
ax_check_libs="-lopengl32 -lGL"
|
|
270
|
+
for ax_lib in ${ax_check_libs}; do
|
|
271
|
+
AS_IF([test X$ax_compiler_ms = Xyes],
|
|
272
|
+
[ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
|
|
273
|
+
[ax_try_lib="${ax_lib}"])
|
|
274
|
+
LIBS="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
|
|
275
|
+
AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
|
|
276
|
+
[ax_cv_check_gl_libgl="${ax_try_lib}"; break],
|
|
277
|
+
[ax_check_gl_nvidia_flags="-L/usr/${ax_check_gl_libdir}/nvidia" LIBS="${ax_try_lib} ${ax_check_gl_nvidia_flags} ${GL_LIBS} ${ax_save_LIBS}"
|
|
278
|
+
AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
|
|
279
|
+
[ax_cv_check_gl_libgl="${ax_try_lib} ${ax_check_gl_nvidia_flags}"; break],
|
|
280
|
+
[ax_check_gl_dylib_flag='-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib' LIBS="${ax_try_lib} ${ax_check_gl_dylib_flag} ${GL_LIBS} ${ax_save_LIBS}"
|
|
281
|
+
AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
|
|
282
|
+
[ax_cv_check_gl_libgl="${ax_try_lib} ${ax_check_gl_dylib_flag}"; break])])])
|
|
283
|
+
done
|
|
284
|
+
|
|
285
|
+
AS_IF([test "X$ax_cv_check_gl_libgl" = Xno -a "X$no_x" = Xyes],
|
|
286
|
+
[LIBS='-framework OpenGL'
|
|
287
|
+
AC_LINK_IFELSE([AX_CHECK_GL_PROGRAM],
|
|
288
|
+
[ax_cv_check_gl_libgl="$LIBS"])])
|
|
289
|
+
|
|
290
|
+
LIBS=${ax_save_LIBS}
|
|
291
|
+
CPPFLAGS=${ax_save_CPPFLAGS}])
|
|
292
|
+
|
|
293
|
+
AS_IF([test "X$ax_cv_check_gl_libgl" = Xno],
|
|
294
|
+
[no_gl=yes; GL_CFLAGS=""; GL_LIBS=""],
|
|
295
|
+
[GL_LIBS="${ax_cv_check_gl_libgl} ${GL_LIBS}"])
|
|
296
|
+
AC_LANG_POP([C])
|
|
297
|
+
|
|
298
|
+
AC_SUBST([GL_CFLAGS])
|
|
299
|
+
AC_SUBST([GL_LIBS])
|
|
300
|
+
])dnl
|
|
301
|
+
|
|
302
|
+
dnl ---------------------------------------------------------------------------
|
|
303
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
304
|
+
dnl http://www.gnu.org/software/ac-archive/ax_check_glu.html
|
|
305
|
+
dnl ---------------------------------------------------------------------------
|
|
306
|
+
|
|
307
|
+
dnl SYNOPSIS
|
|
308
|
+
dnl
|
|
309
|
+
dnl AX_CHECK_GLU
|
|
310
|
+
dnl
|
|
311
|
+
dnl DESCRIPTION
|
|
312
|
+
dnl
|
|
313
|
+
dnl Check for GLU. If GLU is found, the required preprocessor and linker
|
|
314
|
+
dnl flags are included in the output variables "GLU_CFLAGS" and "GLU_LIBS",
|
|
315
|
+
dnl respectively. If no GLU implementation is found, "no_glu" is set to
|
|
316
|
+
dnl "yes".
|
|
317
|
+
dnl
|
|
318
|
+
dnl If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
|
|
319
|
+
dnl header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined. These
|
|
320
|
+
dnl preprocessor definitions may not be mutually exclusive.
|
|
321
|
+
dnl
|
|
322
|
+
dnl Some implementations (in particular, some versions of Mac OS X) are
|
|
323
|
+
dnl known to treat the GLU tesselator callback function type as "GLvoid
|
|
324
|
+
dnl (*)(...)" rather than the standard "GLvoid (*)()". If the former
|
|
325
|
+
dnl condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
|
|
326
|
+
dnl
|
|
327
|
+
dnl LICENSE
|
|
328
|
+
dnl
|
|
329
|
+
dnl Copyright (c) 2009 Braden McDaniel <braden@endoframe.com>
|
|
330
|
+
dnl
|
|
331
|
+
dnl This program is free software; you can redistribute it and/or modify it
|
|
332
|
+
dnl under the terms of the GNU General Public License as published by the
|
|
333
|
+
dnl Free Software Foundation; either version 2 of the License, or (at your
|
|
334
|
+
dnl option) any later version.
|
|
335
|
+
dnl
|
|
336
|
+
dnl This program is distributed in the hope that it will be useful, but
|
|
337
|
+
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
338
|
+
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
339
|
+
dnl Public License for more details.
|
|
340
|
+
dnl
|
|
341
|
+
dnl You should have received a copy of the GNU General Public License along
|
|
342
|
+
dnl with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
343
|
+
dnl
|
|
344
|
+
dnl As a special exception, the respective Autoconf Macro's copyright owner
|
|
345
|
+
dnl gives unlimited permission to copy, distribute and modify the configure
|
|
346
|
+
dnl scripts that are the output of Autoconf when processing the Macro. You
|
|
347
|
+
dnl need not follow the terms of the GNU General Public License when using
|
|
348
|
+
dnl or distributing such scripts, even though portions of the text of the
|
|
349
|
+
dnl Macro appear in them. The GNU General Public License (GPL) does govern
|
|
350
|
+
dnl all other use of the material that constitutes the Autoconf Macro.
|
|
351
|
+
dnl
|
|
352
|
+
dnl This special exception to the GPL applies to versions of the Autoconf
|
|
353
|
+
dnl Macro released by the Autoconf Archive. When you make and distribute a
|
|
354
|
+
dnl modified version of the Autoconf Macro, you may extend this special
|
|
355
|
+
dnl exception to the GPL to apply to your modified version as well.
|
|
356
|
+
|
|
357
|
+
AC_DEFUN([AX_CHECK_GLU],
|
|
358
|
+
[AC_REQUIRE([AX_CHECK_GL])dnl
|
|
359
|
+
AC_REQUIRE([AC_PROG_CXX])dnl
|
|
360
|
+
GLU_CFLAGS="${GL_CFLAGS}"
|
|
361
|
+
|
|
362
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
363
|
+
CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
|
|
364
|
+
AC_CHECK_HEADERS([GL/glu.h OpenGL/glu.h])
|
|
365
|
+
CPPFLAGS="${ax_save_CPPFLAGS}"
|
|
366
|
+
|
|
367
|
+
m4_define([AX_CHECK_GLU_PROGRAM],
|
|
368
|
+
[AC_LANG_PROGRAM([[
|
|
369
|
+
# if defined(HAVE_WINDOWS_H) && defined(_WIN32)
|
|
370
|
+
# include <windows.h>
|
|
371
|
+
# endif
|
|
372
|
+
# ifdef HAVE_GL_GLU_H
|
|
373
|
+
# include <GL/glu.h>
|
|
374
|
+
# elif defined(HAVE_OPENGL_GLU_H)
|
|
375
|
+
# include <OpenGL/glu.h>
|
|
376
|
+
# else
|
|
377
|
+
# error no glu.h
|
|
378
|
+
# endif]],
|
|
379
|
+
[[gluBeginCurve(0)]])])
|
|
380
|
+
|
|
381
|
+
AC_CACHE_CHECK([for OpenGL Utility library], [ax_cv_check_glu_libglu],
|
|
382
|
+
[ax_cv_check_glu_libglu="no"
|
|
383
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
384
|
+
CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}"
|
|
385
|
+
ax_save_LIBS="${LIBS}"
|
|
386
|
+
|
|
387
|
+
dnl
|
|
388
|
+
dnl First, check for the possibility that everything we need is already in
|
|
389
|
+
dnl GL_LIBS.
|
|
390
|
+
dnl
|
|
391
|
+
LIBS="${GL_LIBS} ${ax_save_LIBS}"
|
|
392
|
+
dnl
|
|
393
|
+
dnl libGLU typically links with libstdc++ on POSIX platforms.
|
|
394
|
+
dnl However, setting the language to C++ means that test program
|
|
395
|
+
dnl source is named "conftest.cc"; and Microsoft cl doesn't know what
|
|
396
|
+
dnl to do with such a file.
|
|
397
|
+
dnl
|
|
398
|
+
AC_LANG_PUSH([C++])
|
|
399
|
+
AS_IF([test X$ax_compiler_ms = Xyes],
|
|
400
|
+
[AC_LANG_PUSH([C])])
|
|
401
|
+
AC_LINK_IFELSE(
|
|
402
|
+
[AX_CHECK_GLU_PROGRAM],
|
|
403
|
+
[ax_cv_check_glu_libglu=yes],
|
|
404
|
+
[LIBS=""
|
|
405
|
+
ax_check_libs="-lglu32 -lGLU"
|
|
406
|
+
for ax_lib in ${ax_check_libs}; do
|
|
407
|
+
AS_IF([test X$ax_compiler_ms = Xyes],
|
|
408
|
+
[ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
|
|
409
|
+
[ax_try_lib="${ax_lib}"])
|
|
410
|
+
LIBS="${ax_try_lib} ${GL_LIBS} ${ax_save_LIBS}"
|
|
411
|
+
AC_LINK_IFELSE([AX_CHECK_GLU_PROGRAM],
|
|
412
|
+
[ax_cv_check_glu_libglu="${ax_try_lib}"; break])
|
|
413
|
+
done
|
|
414
|
+
])
|
|
415
|
+
AS_IF([test X$ax_compiler_ms = Xyes],
|
|
416
|
+
[AC_LANG_POP([C])])
|
|
417
|
+
AC_LANG_POP([C++])
|
|
418
|
+
|
|
419
|
+
LIBS=${ax_save_LIBS}
|
|
420
|
+
CPPFLAGS=${ax_save_CPPFLAGS}])
|
|
421
|
+
AS_IF([test "X$ax_cv_check_glu_libglu" = Xno],
|
|
422
|
+
[no_glu=yes; GLU_CFLAGS=""; GLU_LIBS=""],
|
|
423
|
+
[AS_IF([test "X$ax_cv_check_glu_libglu" = Xyes],
|
|
424
|
+
[GLU_LIBS="$GL_LIBS"],
|
|
425
|
+
[GLU_LIBS="${ax_cv_check_glu_libglu} ${GL_LIBS}"])])
|
|
426
|
+
AC_SUBST([GLU_CFLAGS])
|
|
427
|
+
AC_SUBST([GLU_LIBS])
|
|
428
|
+
|
|
429
|
+
dnl
|
|
430
|
+
dnl Some versions of Mac OS X include a broken interpretation of the GLU
|
|
431
|
+
dnl tesselation callback function signature.
|
|
432
|
+
dnl
|
|
433
|
+
AS_IF([test "X$ax_cv_check_glu_libglu" != Xno],
|
|
434
|
+
[AC_CACHE_CHECK([for varargs GLU tesselator callback function type],
|
|
435
|
+
[ax_cv_varargs_glu_tesscb],
|
|
436
|
+
[ax_cv_varargs_glu_tesscb=no
|
|
437
|
+
ax_save_CFLAGS="$CFLAGS"
|
|
438
|
+
CFLAGS="$GL_CFLAGS $CFLAGS"
|
|
439
|
+
AC_COMPILE_IFELSE(
|
|
440
|
+
[AC_LANG_PROGRAM([[
|
|
441
|
+
# ifdef HAVE_GL_GLU_H
|
|
442
|
+
# include <GL/glu.h>
|
|
443
|
+
# else
|
|
444
|
+
# include <OpenGL/glu.h>
|
|
445
|
+
# endif]],
|
|
446
|
+
[[GLvoid (*func)(...); gluTessCallback(0, 0, func)]])],
|
|
447
|
+
[ax_cv_varargs_glu_tesscb=yes])
|
|
448
|
+
CFLAGS="$ax_save_CFLAGS"])
|
|
449
|
+
AS_IF([test X$ax_cv_varargs_glu_tesscb = Xyes],
|
|
450
|
+
[AC_DEFINE([HAVE_VARARGS_GLU_TESSCB], [1],
|
|
451
|
+
[Use nonstandard varargs form for the GLU tesselator callback])])])
|
|
452
|
+
])
|
|
453
|
+
|
|
454
|
+
dnl ---------------------------------------------------------------------------
|
|
455
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
456
|
+
dnl http://www.gnu.org/software/ac-archive/ax_check_glut.html
|
|
457
|
+
dnl ---------------------------------------------------------------------------
|
|
458
|
+
|
|
459
|
+
dnl
|
|
460
|
+
dnl SYNOPSIS
|
|
461
|
+
dnl
|
|
462
|
+
dnl AX_CHECK_GLUT
|
|
463
|
+
dnl
|
|
464
|
+
dnl DESCRIPTION
|
|
465
|
+
dnl
|
|
466
|
+
dnl Check for GLUT. If GLUT is found, the required compiler and linker flags
|
|
467
|
+
dnl are included in the output variables "GLUT_CFLAGS" and "GLUT_LIBS",
|
|
468
|
+
dnl respectively. If GLUT is not found, "no_glut" is set to "yes".
|
|
469
|
+
dnl
|
|
470
|
+
dnl If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined. If the
|
|
471
|
+
dnl header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined. These
|
|
472
|
+
dnl preprocessor definitions may not be mutually exclusive.
|
|
473
|
+
dnl
|
|
474
|
+
dnl LICENSE
|
|
475
|
+
dnl
|
|
476
|
+
dnl Copyright (c) 2009 Braden McDaniel <braden@endoframe.com>
|
|
477
|
+
dnl
|
|
478
|
+
dnl This program is free software; you can redistribute it and/or modify it
|
|
479
|
+
dnl under the terms of the GNU General Public License as published by the
|
|
480
|
+
dnl Free Software Foundation; either version 2 of the License, or (at your
|
|
481
|
+
dnl option) any later version.
|
|
482
|
+
dnl
|
|
483
|
+
dnl This program is distributed in the hope that it will be useful, but
|
|
484
|
+
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
485
|
+
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
486
|
+
dnl Public License for more details.
|
|
487
|
+
dnl
|
|
488
|
+
dnl You should have received a copy of the GNU General Public License along
|
|
489
|
+
dnl with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
490
|
+
dnl
|
|
491
|
+
dnl As a special exception, the respective Autoconf Macro's copyright owner
|
|
492
|
+
dnl gives unlimited permission to copy, distribute and modify the configure
|
|
493
|
+
dnl scripts that are the output of Autoconf when processing the Macro. You
|
|
494
|
+
dnl need not follow the terms of the GNU General Public License when using
|
|
495
|
+
dnl or distributing such scripts, even though portions of the text of the
|
|
496
|
+
dnl Macro appear in them. The GNU General Public License (GPL) does govern
|
|
497
|
+
dnl all other use of the material that constitutes the Autoconf Macro.
|
|
498
|
+
dnl
|
|
499
|
+
dnl This special exception to the GPL applies to versions of the Autoconf
|
|
500
|
+
dnl Macro released by the Autoconf Archive. When you make and distribute a
|
|
501
|
+
dnl modified version of the Autoconf Macro, you may extend this special
|
|
502
|
+
dnl exception to the GPL to apply to your modified version as well.
|
|
503
|
+
|
|
504
|
+
AC_DEFUN([AX_CHECK_GLUT],
|
|
505
|
+
[AC_REQUIRE([AX_CHECK_GLU])dnl
|
|
506
|
+
AC_REQUIRE([AC_PATH_XTRA])dnl
|
|
507
|
+
|
|
508
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
509
|
+
CPPFLAGS="${GLU_CFLAGS} ${CPPFLAGS}"
|
|
510
|
+
AC_CHECK_HEADERS([GL/glut.h GLUT/glut.h])
|
|
511
|
+
CPPFLAGS="${ax_save_CPPFLAGS}"
|
|
512
|
+
|
|
513
|
+
GLUT_CFLAGS=${GLU_CFLAGS}
|
|
514
|
+
GLUT_LIBS=${GLU_LIBS}
|
|
515
|
+
|
|
516
|
+
m4_define([AX_CHECK_GLUT_PROGRAM],
|
|
517
|
+
[AC_LANG_PROGRAM([[
|
|
518
|
+
# if HAVE_WINDOWS_H && defined(_WIN32)
|
|
519
|
+
# include <windows.h>
|
|
520
|
+
# endif
|
|
521
|
+
# ifdef HAVE_GL_GLUT_H
|
|
522
|
+
# include <GL/glut.h>
|
|
523
|
+
# elif defined(HAVE_GLUT_GLUT_H)
|
|
524
|
+
# include <GLUT/glut.h>
|
|
525
|
+
# else
|
|
526
|
+
# error no glut.h
|
|
527
|
+
# endif]],
|
|
528
|
+
[[glutMainLoop()]])])
|
|
529
|
+
|
|
530
|
+
dnl
|
|
531
|
+
dnl If X is present, assume GLUT depends on it.
|
|
532
|
+
dnl
|
|
533
|
+
AS_IF([test X$no_x != Xyes],
|
|
534
|
+
[GLUT_LIBS="${X_PRE_LIBS} -lXi ${X_EXTRA_LIBS} ${GLUT_LIBS}"])
|
|
535
|
+
|
|
536
|
+
AC_CACHE_CHECK([for GLUT library], [ax_cv_check_glut_libglut],
|
|
537
|
+
[ax_cv_check_glut_libglut="no"
|
|
538
|
+
AC_LANG_PUSH(C)
|
|
539
|
+
ax_save_CPPFLAGS="${CPPFLAGS}"
|
|
540
|
+
CPPFLAGS="${GLUT_CFLAGS} ${CPPFLAGS}"
|
|
541
|
+
ax_save_LIBS="${LIBS}"
|
|
542
|
+
LIBS=""
|
|
543
|
+
ax_check_libs="-lglut32 -lglut"
|
|
544
|
+
for ax_lib in ${ax_check_libs}; do
|
|
545
|
+
AS_IF([test X$ax_compiler_ms = Xyes],
|
|
546
|
+
[ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'`],
|
|
547
|
+
[ax_try_lib="${ax_lib}"])
|
|
548
|
+
LIBS="${ax_try_lib} ${GLUT_LIBS} ${ax_save_LIBS}"
|
|
549
|
+
AC_LINK_IFELSE([AX_CHECK_GLUT_PROGRAM],
|
|
550
|
+
[ax_cv_check_glut_libglut="${ax_try_lib}"; break])
|
|
551
|
+
done
|
|
552
|
+
|
|
553
|
+
AS_IF([test "X$ax_cv_check_glut_libglut" = Xno -a "X$no_x" = Xyes],
|
|
554
|
+
[LIBS='-framework GLUT'
|
|
555
|
+
AC_LINK_IFELSE([AX_CHECK_GLUT_PROGRAM],
|
|
556
|
+
[ax_cv_check_glut_libglut="$LIBS"])])
|
|
557
|
+
|
|
558
|
+
CPPFLAGS="${ax_save_CPPFLAGS}"
|
|
559
|
+
LIBS="${ax_save_LIBS}"
|
|
560
|
+
AC_LANG_POP(C)])
|
|
561
|
+
|
|
562
|
+
AS_IF([test "X$ax_cv_check_glut_libglut" = Xno],
|
|
563
|
+
[no_glut="yes"; GLUT_CFLAGS=""; GLUT_LIBS=""],
|
|
564
|
+
[GLUT_LIBS="${ax_cv_check_glut_libglut} ${GLUT_LIBS}"])
|
|
565
|
+
|
|
566
|
+
AC_SUBST([GLUT_CFLAGS])
|
|
567
|
+
AC_SUBST([GLUT_LIBS])
|
|
568
|
+
])dnl
|
|
569
|
+
|
|
570
|
+
dnl ---------------------------------------------------------------------------
|
|
571
|
+
dnl Available from the GNU Autoconf Macro Archive at:
|
|
572
|
+
dnl http://www.gnu.org/software/autoconf-archive/ax_pthread.html
|
|
573
|
+
dnl ---------------------------------------------------------------------------
|
|
574
|
+
|
|
575
|
+
dnl SYNOPSIS
|
|
576
|
+
dnl
|
|
577
|
+
dnl AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
|
578
|
+
dnl
|
|
579
|
+
dnl DESCRIPTION
|
|
580
|
+
dnl
|
|
581
|
+
dnl This macro figures out how to build C programs using POSIX threads. It
|
|
582
|
+
dnl sets the PTHREAD_LIBS output variable to the threads library and linker
|
|
583
|
+
dnl flags, and the PTHREAD_CFLAGS output variable to any special C compiler
|
|
584
|
+
dnl flags that are needed. (The user can also force certain compiler
|
|
585
|
+
dnl flags/libs to be tested by setting these environment variables.)
|
|
586
|
+
dnl
|
|
587
|
+
dnl Also sets PTHREAD_CC to any special C compiler that is needed for
|
|
588
|
+
dnl multi-threaded programs (defaults to the value of CC otherwise). (This
|
|
589
|
+
dnl is necessary on AIX to use the special cc_r compiler alias.)
|
|
590
|
+
dnl
|
|
591
|
+
dnl NOTE: You are assumed to not only compile your program with these flags,
|
|
592
|
+
dnl but also link it with them as well. e.g. you should link with
|
|
593
|
+
dnl $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
|
|
594
|
+
dnl
|
|
595
|
+
dnl If you are only building threads programs, you may wish to use these
|
|
596
|
+
dnl variables in your default LIBS, CFLAGS, and CC:
|
|
597
|
+
dnl
|
|
598
|
+
dnl LIBS="$PTHREAD_LIBS $LIBS"
|
|
599
|
+
dnl CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
600
|
+
dnl CC="$PTHREAD_CC"
|
|
601
|
+
dnl
|
|
602
|
+
dnl In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
|
|
603
|
+
dnl has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
|
|
604
|
+
dnl (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
|
|
605
|
+
dnl
|
|
606
|
+
dnl ACTION-IF-FOUND is a list of shell commands to run if a threads library
|
|
607
|
+
dnl is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
|
|
608
|
+
dnl is not found. If ACTION-IF-FOUND is not specified, the default action
|
|
609
|
+
dnl will define HAVE_PTHREAD.
|
|
610
|
+
dnl
|
|
611
|
+
dnl Please let the authors know if this macro fails on any platform, or if
|
|
612
|
+
dnl you have any other suggestions or comments. This macro was based on work
|
|
613
|
+
dnl by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
|
|
614
|
+
dnl from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
|
|
615
|
+
dnl Alejandro Forero Cuervo to the autoconf macro repository. We are also
|
|
616
|
+
dnl grateful for the helpful feedback of numerous users.
|
|
617
|
+
dnl
|
|
618
|
+
dnl LICENSE
|
|
619
|
+
dnl
|
|
620
|
+
dnl Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
|
|
621
|
+
dnl
|
|
622
|
+
dnl This program is free software: you can redistribute it and/or modify it
|
|
623
|
+
dnl under the terms of the GNU General Public License as published by the
|
|
624
|
+
dnl Free Software Foundation, either version 3 of the License, or (at your
|
|
625
|
+
dnl option) any later version.
|
|
626
|
+
dnl
|
|
627
|
+
dnl This program is distributed in the hope that it will be useful, but
|
|
628
|
+
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
629
|
+
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
630
|
+
dnl Public License for more details.
|
|
631
|
+
dnl
|
|
632
|
+
dnl You should have received a copy of the GNU General Public License along
|
|
633
|
+
dnl with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
634
|
+
dnl
|
|
635
|
+
dnl As a special exception, the respective Autoconf Macro's copyright owner
|
|
636
|
+
dnl gives unlimited permission to copy, distribute and modify the configure
|
|
637
|
+
dnl scripts that are the output of Autoconf when processing the Macro. You
|
|
638
|
+
dnl need not follow the terms of the GNU General Public License when using
|
|
639
|
+
dnl or distributing such scripts, even though portions of the text of the
|
|
640
|
+
dnl Macro appear in them. The GNU General Public License (GPL) does govern
|
|
641
|
+
dnl all other use of the material that constitutes the Autoconf Macro.
|
|
642
|
+
dnl
|
|
643
|
+
dnl This special exception to the GPL applies to versions of the Autoconf
|
|
644
|
+
dnl Macro released by the Autoconf Archive. When you make and distribute a
|
|
645
|
+
dnl modified version of the Autoconf Macro, you may extend this special
|
|
646
|
+
dnl exception to the GPL to apply to your modified version as well.
|
|
647
|
+
|
|
648
|
+
AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
|
|
649
|
+
AC_DEFUN([AX_PTHREAD], [
|
|
650
|
+
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
651
|
+
AC_LANG_SAVE
|
|
652
|
+
AC_LANG_C
|
|
653
|
+
ax_pthread_ok=no
|
|
654
|
+
|
|
655
|
+
dnl We used to check for pthread.h first, but this fails if pthread.h
|
|
656
|
+
dnl requires special compiler flags (e.g. on True64 or Sequent).
|
|
657
|
+
dnl It gets checked for in the link test anyway.
|
|
658
|
+
|
|
659
|
+
dnl First of all, check if the user has set any of the PTHREAD_LIBS,
|
|
660
|
+
dnl etcetera environment variables, and if threads linking works using
|
|
661
|
+
dnl them:
|
|
662
|
+
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
|
|
663
|
+
save_CFLAGS="$CFLAGS"
|
|
664
|
+
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
665
|
+
save_LIBS="$LIBS"
|
|
666
|
+
LIBS="$PTHREAD_LIBS $LIBS"
|
|
667
|
+
AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
|
|
668
|
+
AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
|
|
669
|
+
AC_MSG_RESULT($ax_pthread_ok)
|
|
670
|
+
if test x"$ax_pthread_ok" = xno; then
|
|
671
|
+
PTHREAD_LIBS=""
|
|
672
|
+
PTHREAD_CFLAGS=""
|
|
673
|
+
fi
|
|
674
|
+
LIBS="$save_LIBS"
|
|
675
|
+
CFLAGS="$save_CFLAGS"
|
|
676
|
+
fi
|
|
677
|
+
|
|
678
|
+
dnl We must check for the threads library under a number of different
|
|
679
|
+
dnl names; the ordering is very important because some systems
|
|
680
|
+
dnl (e.g. DEC) have both -lpthread and -lpthreads, where one of the
|
|
681
|
+
dnl libraries is broken (non-POSIX).
|
|
682
|
+
|
|
683
|
+
dnl Create a list of thread flags to try. Items starting with a "-" are
|
|
684
|
+
dnl C compiler flags, and other items are library names, except for "none"
|
|
685
|
+
dnl which indicates that we try without any flags at all, and "pthread-config"
|
|
686
|
+
dnl which is a program returning the flags for the Pth emulation library.
|
|
687
|
+
|
|
688
|
+
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
|
|
689
|
+
|
|
690
|
+
dnl The ordering *is* (sometimes) important. Some notes on the
|
|
691
|
+
dnl individual items follow:
|
|
692
|
+
|
|
693
|
+
dnl pthreads: AIX (must check this before -lpthread)
|
|
694
|
+
dnl none: in case threads are in libc; should be tried before -Kthread and
|
|
695
|
+
dnl other compiler flags to prevent continual compiler warnings
|
|
696
|
+
dnl -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
|
|
697
|
+
dnl -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
|
|
698
|
+
dnl lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
|
|
699
|
+
dnl -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
|
|
700
|
+
dnl -pthreads: Solaris/gcc
|
|
701
|
+
dnl -mthreads: Mingw32/gcc, Lynx/gcc
|
|
702
|
+
dnl -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
|
|
703
|
+
dnl doesn't hurt to check since this sometimes defines pthreads too;
|
|
704
|
+
dnl also defines -D_REENTRANT)
|
|
705
|
+
dnl ... -mt is also the pthreads flag for HP/aCC
|
|
706
|
+
dnl pthread: Linux, etcetera
|
|
707
|
+
dnl --thread-safe: KAI C++
|
|
708
|
+
dnl pthread-config: use pthread-config program (for GNU Pth library)
|
|
709
|
+
|
|
710
|
+
case "${host_cpu}-${host_os}" in
|
|
711
|
+
*solaris*)
|
|
712
|
+
|
|
713
|
+
dnl On Solaris (at least, for some versions), libc contains stubbed
|
|
714
|
+
dnl (non-functional) versions of the pthreads routines, so link-based
|
|
715
|
+
dnl tests will erroneously succeed. (We need to link with -pthreads/-mt/
|
|
716
|
+
dnl -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
|
|
717
|
+
dnl a function called by this macro, so we could check for that, but
|
|
718
|
+
dnl who knows whether they'll stub that too in a future libc.) So,
|
|
719
|
+
dnl we'll just look for -pthreads and -lpthread first:
|
|
720
|
+
|
|
721
|
+
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
|
|
722
|
+
;;
|
|
723
|
+
|
|
724
|
+
*-darwin*)
|
|
725
|
+
ax_pthread_flags="-pthread $ax_pthread_flags"
|
|
726
|
+
;;
|
|
727
|
+
esac
|
|
728
|
+
|
|
729
|
+
if test x"$ax_pthread_ok" = xno; then
|
|
730
|
+
for flag in $ax_pthread_flags; do
|
|
731
|
+
|
|
732
|
+
case $flag in
|
|
733
|
+
none)
|
|
734
|
+
AC_MSG_CHECKING([whether pthreads work without any flags])
|
|
735
|
+
;;
|
|
736
|
+
|
|
737
|
+
-*)
|
|
738
|
+
AC_MSG_CHECKING([whether pthreads work with $flag])
|
|
739
|
+
PTHREAD_CFLAGS="$flag"
|
|
740
|
+
;;
|
|
741
|
+
|
|
742
|
+
pthread-config)
|
|
743
|
+
AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
|
|
744
|
+
if test x"$ax_pthread_config" = xno; then continue; fi
|
|
745
|
+
PTHREAD_CFLAGS="`pthread-config --cflags`"
|
|
746
|
+
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
|
|
747
|
+
;;
|
|
748
|
+
|
|
749
|
+
*)
|
|
750
|
+
AC_MSG_CHECKING([for the pthreads library -l$flag])
|
|
751
|
+
PTHREAD_LIBS="-l$flag"
|
|
752
|
+
;;
|
|
753
|
+
esac
|
|
754
|
+
|
|
755
|
+
save_LIBS="$LIBS"
|
|
756
|
+
save_CFLAGS="$CFLAGS"
|
|
757
|
+
LIBS="$PTHREAD_LIBS $LIBS"
|
|
758
|
+
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
759
|
+
|
|
760
|
+
dnl Check for various functions. We must include pthread.h,
|
|
761
|
+
dnl since some functions may be macros. (On the Sequent, we
|
|
762
|
+
dnl need a special flag -Kthread to make this header compile.)
|
|
763
|
+
dnl We check for pthread_join because it is in -lpthread on IRIX
|
|
764
|
+
dnl while pthread_create is in libc. We check for pthread_attr_init
|
|
765
|
+
dnl due to DEC craziness with -lpthreads. We check for
|
|
766
|
+
dnl pthread_cleanup_push because it is one of the few pthread
|
|
767
|
+
dnl functions on Solaris that doesn't have a non-functional libc stub.
|
|
768
|
+
dnl We try pthread_create on general principles.
|
|
769
|
+
AC_TRY_LINK([#include <pthread.h>
|
|
770
|
+
static void routine(void* a) {a=0;}
|
|
771
|
+
static void* start_routine(void* a) {return a;}],
|
|
772
|
+
[pthread_t th; pthread_attr_t attr;
|
|
773
|
+
pthread_create(&th,0,start_routine,0);
|
|
774
|
+
pthread_join(th, 0);
|
|
775
|
+
pthread_attr_init(&attr);
|
|
776
|
+
pthread_cleanup_push(routine, 0);
|
|
777
|
+
pthread_cleanup_pop(0); ],
|
|
778
|
+
[ax_pthread_ok=yes])
|
|
779
|
+
|
|
780
|
+
LIBS="$save_LIBS"
|
|
781
|
+
CFLAGS="$save_CFLAGS"
|
|
782
|
+
|
|
783
|
+
AC_MSG_RESULT($ax_pthread_ok)
|
|
784
|
+
if test "x$ax_pthread_ok" = xyes; then
|
|
785
|
+
break;
|
|
786
|
+
fi
|
|
787
|
+
|
|
788
|
+
PTHREAD_LIBS=""
|
|
789
|
+
PTHREAD_CFLAGS=""
|
|
790
|
+
done
|
|
791
|
+
fi
|
|
792
|
+
|
|
793
|
+
dnl Various other checks:
|
|
794
|
+
if test "x$ax_pthread_ok" = xyes; then
|
|
795
|
+
save_LIBS="$LIBS"
|
|
796
|
+
LIBS="$PTHREAD_LIBS $LIBS"
|
|
797
|
+
save_CFLAGS="$CFLAGS"
|
|
798
|
+
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
799
|
+
|
|
800
|
+
dnl Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
|
|
801
|
+
AC_MSG_CHECKING([for joinable pthread attribute])
|
|
802
|
+
attr_name=unknown
|
|
803
|
+
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
|
|
804
|
+
AC_TRY_LINK([#include <pthread.h>], [int attr=$attr; return attr;],
|
|
805
|
+
[attr_name=$attr; break])
|
|
806
|
+
done
|
|
807
|
+
AC_MSG_RESULT($attr_name)
|
|
808
|
+
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
|
|
809
|
+
AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
|
|
810
|
+
[Define to necessary symbol if this constant
|
|
811
|
+
uses a non-standard name on your system.])
|
|
812
|
+
fi
|
|
813
|
+
|
|
814
|
+
AC_MSG_CHECKING([if more special flags are required for pthreads])
|
|
815
|
+
flag=no
|
|
816
|
+
case "${host_cpu}-${host_os}" in
|
|
817
|
+
*-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
|
|
818
|
+
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
|
|
819
|
+
esac
|
|
820
|
+
AC_MSG_RESULT(${flag})
|
|
821
|
+
if test "x$flag" != xno; then
|
|
822
|
+
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
|
|
823
|
+
fi
|
|
824
|
+
|
|
825
|
+
LIBS="$save_LIBS"
|
|
826
|
+
CFLAGS="$save_CFLAGS"
|
|
827
|
+
|
|
828
|
+
dnl More AIX lossage: must compile with xlc_r or cc_r
|
|
829
|
+
if test x"$GCC" != xyes; then
|
|
830
|
+
AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC})
|
|
831
|
+
else
|
|
832
|
+
PTHREAD_CC=$CC
|
|
833
|
+
fi
|
|
834
|
+
else
|
|
835
|
+
PTHREAD_CC="$CC"
|
|
836
|
+
fi
|
|
837
|
+
|
|
838
|
+
AC_SUBST(PTHREAD_LIBS)
|
|
839
|
+
AC_SUBST(PTHREAD_CFLAGS)
|
|
840
|
+
AC_SUBST(PTHREAD_CC)
|
|
841
|
+
|
|
842
|
+
dnl Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
|
|
843
|
+
if test x"$ax_pthread_ok" = xyes; then
|
|
844
|
+
ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
|
|
845
|
+
:
|
|
846
|
+
else
|
|
847
|
+
ax_pthread_ok=no
|
|
848
|
+
$2
|
|
849
|
+
fi
|
|
850
|
+
AC_LANG_RESTORE
|
|
851
|
+
])dnl AX_PTHREAD
|