external libs: update libjpeg to latest 9d release.
authorOzkan Sezer
Fri, 18 Sep 2020 20:39:03 +0300
changeset 75215197772b7a5
parent 751 59a4c1ea96f3
child 753 6e16d89758a7
external libs: update libjpeg to latest 9d release.
Android.mk
CMakeLists.txt
VisualC/external/include/jerror.h
VisualC/external/include/jpeglib.h
VisualC/external/lib/x64/libjpeg-9.dll
VisualC/external/lib/x86/libjpeg-9.dll
external/jpeg-9c.patch
external/jpeg-9c/Android.mk
external/jpeg-9c/CMakeLists.txt
external/jpeg-9c/Makefile.am
external/jpeg-9c/Makefile.in
external/jpeg-9c/README
external/jpeg-9c/aclocal.m4
external/jpeg-9c/ar-lib
external/jpeg-9c/cderror.h
external/jpeg-9c/cdjpeg.c
external/jpeg-9c/cdjpeg.h
external/jpeg-9c/change.log
external/jpeg-9c/cjpeg.1
external/jpeg-9c/cjpeg.c
external/jpeg-9c/ckconfig.c
external/jpeg-9c/coderules.txt
external/jpeg-9c/compile
external/jpeg-9c/config.guess
external/jpeg-9c/config.sub
external/jpeg-9c/configure
external/jpeg-9c/configure.ac
external/jpeg-9c/depcomp
external/jpeg-9c/djpeg.1
external/jpeg-9c/djpeg.c
external/jpeg-9c/example.c
external/jpeg-9c/filelist.txt
external/jpeg-9c/install-sh
external/jpeg-9c/install.txt
external/jpeg-9c/jaricom.c
external/jpeg-9c/jcapimin.c
external/jpeg-9c/jcapistd.c
external/jpeg-9c/jcarith.c
external/jpeg-9c/jccoefct.c
external/jpeg-9c/jccolor.c
external/jpeg-9c/jcdctmgr.c
external/jpeg-9c/jchuff.c
external/jpeg-9c/jcinit.c
external/jpeg-9c/jcmainct.c
external/jpeg-9c/jcmarker.c
external/jpeg-9c/jcmaster.c
external/jpeg-9c/jcomapi.c
external/jpeg-9c/jconfig.bcc
external/jpeg-9c/jconfig.cfg
external/jpeg-9c/jconfig.dj
external/jpeg-9c/jconfig.h
external/jpeg-9c/jconfig.mac
external/jpeg-9c/jconfig.manx
external/jpeg-9c/jconfig.mc6
external/jpeg-9c/jconfig.sas
external/jpeg-9c/jconfig.st
external/jpeg-9c/jconfig.txt
external/jpeg-9c/jconfig.vc
external/jpeg-9c/jconfig.vms
external/jpeg-9c/jconfig.wat
external/jpeg-9c/jcparam.c
external/jpeg-9c/jcprepct.c
external/jpeg-9c/jcsample.c
external/jpeg-9c/jctrans.c
external/jpeg-9c/jdapimin.c
external/jpeg-9c/jdapistd.c
external/jpeg-9c/jdarith.c
external/jpeg-9c/jdatadst.c
external/jpeg-9c/jdatasrc.c
external/jpeg-9c/jdcoefct.c
external/jpeg-9c/jdcolor.c
external/jpeg-9c/jdct.h
external/jpeg-9c/jddctmgr.c
external/jpeg-9c/jdhuff.c
external/jpeg-9c/jdinput.c
external/jpeg-9c/jdmainct.c
external/jpeg-9c/jdmarker.c
external/jpeg-9c/jdmaster.c
external/jpeg-9c/jdmerge.c
external/jpeg-9c/jdpostct.c
external/jpeg-9c/jdsample.c
external/jpeg-9c/jdtrans.c
external/jpeg-9c/jerror.c
external/jpeg-9c/jerror.h
external/jpeg-9c/jfdctflt.c
external/jpeg-9c/jfdctfst.c
external/jpeg-9c/jfdctint.c
external/jpeg-9c/jidctflt.c
external/jpeg-9c/jidctfst.S
external/jpeg-9c/jidctfst.c
external/jpeg-9c/jidctint.c
external/jpeg-9c/jinclude.h
external/jpeg-9c/jmem-android.c
external/jpeg-9c/jmemansi.c
external/jpeg-9c/jmemdos.c
external/jpeg-9c/jmemdosa.asm
external/jpeg-9c/jmemmac.c
external/jpeg-9c/jmemmgr.c
external/jpeg-9c/jmemname.c
external/jpeg-9c/jmemnobs.c
external/jpeg-9c/jmemsys.h
external/jpeg-9c/jmorecfg.h
external/jpeg-9c/jmorecfg.h~
external/jpeg-9c/jpegint.h
external/jpeg-9c/jpeglib.h
external/jpeg-9c/jpegtran.1
external/jpeg-9c/jpegtran.c
external/jpeg-9c/jquant1.c
external/jpeg-9c/jquant2.c
external/jpeg-9c/jutils.c
external/jpeg-9c/jversion.h
external/jpeg-9c/libjpeg.map
external/jpeg-9c/libjpeg.pc.in
external/jpeg-9c/libjpeg.txt
external/jpeg-9c/ltmain.sh
external/jpeg-9c/makcjpeg.st
external/jpeg-9c/makdjpeg.st
external/jpeg-9c/makeadsw.vc6
external/jpeg-9c/makeasln.v15
external/jpeg-9c/makecdep.vc6
external/jpeg-9c/makecdsp.vc6
external/jpeg-9c/makecfil.v15
external/jpeg-9c/makecmak.vc6
external/jpeg-9c/makecvcx.v15
external/jpeg-9c/makeddep.vc6
external/jpeg-9c/makeddsp.vc6
external/jpeg-9c/makedfil.v15
external/jpeg-9c/makedmak.vc6
external/jpeg-9c/makedvcx.v15
external/jpeg-9c/makefile.ansi
external/jpeg-9c/makefile.b32
external/jpeg-9c/makefile.bcc
external/jpeg-9c/makefile.dj
external/jpeg-9c/makefile.manx
external/jpeg-9c/makefile.mc6
external/jpeg-9c/makefile.mms
external/jpeg-9c/makefile.sas
external/jpeg-9c/makefile.unix
external/jpeg-9c/makefile.vc
external/jpeg-9c/makefile.vms
external/jpeg-9c/makefile.vs
external/jpeg-9c/makefile.wat
external/jpeg-9c/makejdep.vc6
external/jpeg-9c/makejdsp.vc6
external/jpeg-9c/makejdsw.vc6
external/jpeg-9c/makejfil.v15
external/jpeg-9c/makejmak.vc6
external/jpeg-9c/makejsln.v15
external/jpeg-9c/makejvcx.v15
external/jpeg-9c/makeproj.mac
external/jpeg-9c/makerdep.vc6
external/jpeg-9c/makerdsp.vc6
external/jpeg-9c/makerfil.v15
external/jpeg-9c/makermak.vc6
external/jpeg-9c/makervcx.v15
external/jpeg-9c/maketdep.vc6
external/jpeg-9c/maketdsp.vc6
external/jpeg-9c/maketfil.v15
external/jpeg-9c/maketmak.vc6
external/jpeg-9c/maketvcx.v15
external/jpeg-9c/makewdep.vc6
external/jpeg-9c/makewdsp.vc6
external/jpeg-9c/makewfil.v15
external/jpeg-9c/makewmak.vc6
external/jpeg-9c/makewvcx.v15
external/jpeg-9c/makljpeg.st
external/jpeg-9c/maktjpeg.st
external/jpeg-9c/makvms.opt
external/jpeg-9c/missing
external/jpeg-9c/rdbmp.c
external/jpeg-9c/rdcolmap.c
external/jpeg-9c/rdgif.c
external/jpeg-9c/rdjpgcom.1
external/jpeg-9c/rdjpgcom.c
external/jpeg-9c/rdppm.c
external/jpeg-9c/rdrle.c
external/jpeg-9c/rdswitch.c
external/jpeg-9c/rdtarga.c
external/jpeg-9c/structure.txt
external/jpeg-9c/testimg.bmp
external/jpeg-9c/testimg.jpg
external/jpeg-9c/testimg.ppm
external/jpeg-9c/testimgp.jpg
external/jpeg-9c/testorig.jpg
external/jpeg-9c/testprog.jpg
external/jpeg-9c/transupp.c
external/jpeg-9c/transupp.h
external/jpeg-9c/usage.txt
external/jpeg-9c/wizard.txt
external/jpeg-9c/wrbmp.c
external/jpeg-9c/wrgif.c
external/jpeg-9c/wrjpgcom.1
external/jpeg-9c/wrjpgcom.c
external/jpeg-9c/wrppm.c
external/jpeg-9c/wrrle.c
external/jpeg-9c/wrtarga.c
external/jpeg-9d.patch
external/jpeg-9d/Android.mk
external/jpeg-9d/Makefile.am
external/jpeg-9d/Makefile.in
external/jpeg-9d/README
external/jpeg-9d/aclocal.m4
external/jpeg-9d/ar-lib
external/jpeg-9d/cderror.h
external/jpeg-9d/cdjpeg.c
external/jpeg-9d/cdjpeg.h
external/jpeg-9d/change.log
external/jpeg-9d/cjpeg.1
external/jpeg-9d/cjpeg.c
external/jpeg-9d/ckconfig.c
external/jpeg-9d/coderules.txt
external/jpeg-9d/compile
external/jpeg-9d/config.guess
external/jpeg-9d/config.sub
external/jpeg-9d/configure
external/jpeg-9d/configure.ac
external/jpeg-9d/depcomp
external/jpeg-9d/djpeg.1
external/jpeg-9d/djpeg.c
external/jpeg-9d/example.c
external/jpeg-9d/filelist.txt
external/jpeg-9d/install-sh
external/jpeg-9d/install.txt
external/jpeg-9d/jaricom.c
external/jpeg-9d/jcapimin.c
external/jpeg-9d/jcapistd.c
external/jpeg-9d/jcarith.c
external/jpeg-9d/jccoefct.c
external/jpeg-9d/jccolor.c
external/jpeg-9d/jcdctmgr.c
external/jpeg-9d/jchuff.c
external/jpeg-9d/jcinit.c
external/jpeg-9d/jcmainct.c
external/jpeg-9d/jcmarker.c
external/jpeg-9d/jcmaster.c
external/jpeg-9d/jcomapi.c
external/jpeg-9d/jconfig.bcc
external/jpeg-9d/jconfig.cfg
external/jpeg-9d/jconfig.dj
external/jpeg-9d/jconfig.h
external/jpeg-9d/jconfig.mac
external/jpeg-9d/jconfig.manx
external/jpeg-9d/jconfig.mc6
external/jpeg-9d/jconfig.sas
external/jpeg-9d/jconfig.st
external/jpeg-9d/jconfig.txt
external/jpeg-9d/jconfig.vc
external/jpeg-9d/jconfig.vms
external/jpeg-9d/jconfig.wat
external/jpeg-9d/jcparam.c
external/jpeg-9d/jcprepct.c
external/jpeg-9d/jcsample.c
external/jpeg-9d/jctrans.c
external/jpeg-9d/jdapimin.c
external/jpeg-9d/jdapistd.c
external/jpeg-9d/jdarith.c
external/jpeg-9d/jdatadst.c
external/jpeg-9d/jdatasrc.c
external/jpeg-9d/jdcoefct.c
external/jpeg-9d/jdcolor.c
external/jpeg-9d/jdct.h
external/jpeg-9d/jddctmgr.c
external/jpeg-9d/jdhuff.c
external/jpeg-9d/jdinput.c
external/jpeg-9d/jdmainct.c
external/jpeg-9d/jdmarker.c
external/jpeg-9d/jdmaster.c
external/jpeg-9d/jdmerge.c
external/jpeg-9d/jdpostct.c
external/jpeg-9d/jdsample.c
external/jpeg-9d/jdtrans.c
external/jpeg-9d/jerror.c
external/jpeg-9d/jerror.h
external/jpeg-9d/jfdctflt.c
external/jpeg-9d/jfdctfst.c
external/jpeg-9d/jfdctint.c
external/jpeg-9d/jidctflt.c
external/jpeg-9d/jidctfst.S
external/jpeg-9d/jidctfst.c
external/jpeg-9d/jidctint.c
external/jpeg-9d/jinclude.h
external/jpeg-9d/jmem-android.c
external/jpeg-9d/jmemansi.c
external/jpeg-9d/jmemdos.c
external/jpeg-9d/jmemdosa.asm
external/jpeg-9d/jmemmac.c
external/jpeg-9d/jmemmgr.c
external/jpeg-9d/jmemname.c
external/jpeg-9d/jmemnobs.c
external/jpeg-9d/jmemsys.h
external/jpeg-9d/jmorecfg.h
external/jpeg-9d/jpegint.h
external/jpeg-9d/jpeglib.h
external/jpeg-9d/jpegtran.1
external/jpeg-9d/jpegtran.c
external/jpeg-9d/jquant1.c
external/jpeg-9d/jquant2.c
external/jpeg-9d/jutils.c
external/jpeg-9d/jversion.h
external/jpeg-9d/libjpeg.map
external/jpeg-9d/libjpeg.pc.in
external/jpeg-9d/libjpeg.txt
external/jpeg-9d/ltmain.sh
external/jpeg-9d/makcjpeg.st
external/jpeg-9d/makdjpeg.st
external/jpeg-9d/makeadsw.vc6
external/jpeg-9d/makeasln.v16
external/jpeg-9d/makecdep.vc6
external/jpeg-9d/makecdsp.vc6
external/jpeg-9d/makecfil.v16
external/jpeg-9d/makecmak.vc6
external/jpeg-9d/makecvcx.v16
external/jpeg-9d/makeddep.vc6
external/jpeg-9d/makeddsp.vc6
external/jpeg-9d/makedfil.v16
external/jpeg-9d/makedmak.vc6
external/jpeg-9d/makedvcx.v16
external/jpeg-9d/makefile.ansi
external/jpeg-9d/makefile.b32
external/jpeg-9d/makefile.bcc
external/jpeg-9d/makefile.dj
external/jpeg-9d/makefile.manx
external/jpeg-9d/makefile.mc6
external/jpeg-9d/makefile.mms
external/jpeg-9d/makefile.sas
external/jpeg-9d/makefile.unix
external/jpeg-9d/makefile.vc
external/jpeg-9d/makefile.vms
external/jpeg-9d/makefile.vs
external/jpeg-9d/makefile.wat
external/jpeg-9d/makejdep.vc6
external/jpeg-9d/makejdsp.vc6
external/jpeg-9d/makejdsw.vc6
external/jpeg-9d/makejfil.v16
external/jpeg-9d/makejmak.vc6
external/jpeg-9d/makejsln.v16
external/jpeg-9d/makejvcx.v16
external/jpeg-9d/makeproj.mac
external/jpeg-9d/makerdep.vc6
external/jpeg-9d/makerdsp.vc6
external/jpeg-9d/makerfil.v16
external/jpeg-9d/makermak.vc6
external/jpeg-9d/makervcx.v16
external/jpeg-9d/maketdep.vc6
external/jpeg-9d/maketdsp.vc6
external/jpeg-9d/maketfil.v16
external/jpeg-9d/maketmak.vc6
external/jpeg-9d/maketvcx.v16
external/jpeg-9d/makewdep.vc6
external/jpeg-9d/makewdsp.vc6
external/jpeg-9d/makewfil.v16
external/jpeg-9d/makewmak.vc6
external/jpeg-9d/makewvcx.v16
external/jpeg-9d/makljpeg.st
external/jpeg-9d/maktjpeg.st
external/jpeg-9d/makvms.opt
external/jpeg-9d/missing
external/jpeg-9d/rdbmp.c
external/jpeg-9d/rdcolmap.c
external/jpeg-9d/rdgif.c
external/jpeg-9d/rdjpgcom.1
external/jpeg-9d/rdjpgcom.c
external/jpeg-9d/rdppm.c
external/jpeg-9d/rdrle.c
external/jpeg-9d/rdswitch.c
external/jpeg-9d/rdtarga.c
external/jpeg-9d/structure.txt
external/jpeg-9d/testimg.bmp
external/jpeg-9d/testimg.gif
external/jpeg-9d/testimg.jpg
external/jpeg-9d/testimg.ppm
external/jpeg-9d/testimgp.jpg
external/jpeg-9d/testorig.jpg
external/jpeg-9d/testprog.jpg
external/jpeg-9d/transupp.c
external/jpeg-9d/transupp.h
external/jpeg-9d/usage.txt
external/jpeg-9d/wizard.txt
external/jpeg-9d/wrbmp.c
external/jpeg-9d/wrgif.c
external/jpeg-9d/wrjpgcom.1
external/jpeg-9d/wrjpgcom.c
external/jpeg-9d/wrppm.c
external/jpeg-9d/wrrle.c
external/jpeg-9d/wrtarga.c
     1.1 --- a/Android.mk	Wed Mar 04 16:07:27 2020 -0800
     1.2 +++ b/Android.mk	Fri Sep 18 20:39:03 2020 +0300
     1.3 @@ -4,7 +4,7 @@
     1.4  # Enable this if you want to support loading JPEG images
     1.5  # The library path should be a relative path to this directory.
     1.6  SUPPORT_JPG ?= true
     1.7 -JPG_LIBRARY_PATH := external/jpeg-9c
     1.8 +JPG_LIBRARY_PATH := external/jpeg-9d
     1.9  
    1.10  # Enable this if you want to support loading PNG images
    1.11  # The library path should be a relative path to this directory.
     2.1 --- a/CMakeLists.txt	Wed Mar 04 16:07:27 2020 -0800
     2.2 +++ b/CMakeLists.txt	Fri Sep 18 20:39:03 2020 +0300
     2.3 @@ -24,7 +24,7 @@
     2.4  
     2.5  if (SUPPORT_JPG)
     2.6  	target_compile_definitions(SDL2_image PRIVATE -DLOAD_JPG)
     2.7 -	add_subdirectory(external/jpeg-9c)
     2.8 +	add_subdirectory(external/jpeg-9d)
     2.9  	target_link_libraries(SDL2_image PRIVATE jpeg)
    2.10  endif()
    2.11  
     3.1 --- a/VisualC/external/include/jerror.h	Wed Mar 04 16:07:27 2020 -0800
     3.2 +++ b/VisualC/external/include/jerror.h	Fri Sep 18 20:39:03 2020 +0300
     3.3 @@ -2,7 +2,7 @@
     3.4   * jerror.h
     3.5   *
     3.6   * Copyright (C) 1994-1997, Thomas G. Lane.
     3.7 - * Modified 1997-2012 by Guido Vollbeding.
     3.8 + * Modified 1997-2018 by Guido Vollbeding.
     3.9   * This file is part of the Independent JPEG Group's software.
    3.10   * For conditions of distribution and use, see the accompanying README file.
    3.11   *
    3.12 @@ -84,7 +84,7 @@
    3.13  JMESSAGE(JERR_FILE_READ, "Input file read error")
    3.14  JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?")
    3.15  JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet")
    3.16 -JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow")
    3.17 +JMESSAGE(JERR_HUFF_CLEN_OUTOFBOUNDS, "Huffman code size table out of bounds")
    3.18  JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry")
    3.19  JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
    3.20  JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
     4.1 --- a/VisualC/external/include/jpeglib.h	Wed Mar 04 16:07:27 2020 -0800
     4.2 +++ b/VisualC/external/include/jpeglib.h	Fri Sep 18 20:39:03 2020 +0300
     4.3 @@ -2,7 +2,7 @@
     4.4   * jpeglib.h
     4.5   *
     4.6   * Copyright (C) 1991-1998, Thomas G. Lane.
     4.7 - * Modified 2002-2017 by Guido Vollbeding.
     4.8 + * Modified 2002-2019 by Guido Vollbeding.
     4.9   * This file is part of the Independent JPEG Group's software.
    4.10   * For conditions of distribution and use, see the accompanying README file.
    4.11   *
    4.12 @@ -39,7 +39,7 @@
    4.13  
    4.14  #define JPEG_LIB_VERSION        90	/* Compatibility version 9.0 */
    4.15  #define JPEG_LIB_VERSION_MAJOR  9
    4.16 -#define JPEG_LIB_VERSION_MINOR  3
    4.17 +#define JPEG_LIB_VERSION_MINOR  4
    4.18  
    4.19  
    4.20  /* Various constants determining the sizes of things.
    4.21 @@ -909,6 +909,7 @@
    4.22  #define jpeg_suppress_tables	jSuppressTables
    4.23  #define jpeg_alloc_quant_table	jAlcQTable
    4.24  #define jpeg_alloc_huff_table	jAlcHTable
    4.25 +#define jpeg_std_huff_table	jStdHTable
    4.26  #define jpeg_start_compress	jStrtCompress
    4.27  #define jpeg_write_scanlines	jWrtScanlines
    4.28  #define jpeg_finish_compress	jFinCompress
    4.29 @@ -977,10 +978,10 @@
    4.30  /* Data source and destination managers: memory buffers. */
    4.31  EXTERN(void) jpeg_mem_dest JPP((j_compress_ptr cinfo,
    4.32  			       unsigned char ** outbuffer,
    4.33 -			       unsigned long * outsize));
    4.34 +			       size_t * outsize));
    4.35  EXTERN(void) jpeg_mem_src JPP((j_decompress_ptr cinfo,
    4.36  			      const unsigned char * inbuffer,
    4.37 -			      unsigned long insize));
    4.38 +			      size_t insize));
    4.39  
    4.40  /* Default parameter setup for compression */
    4.41  EXTERN(void) jpeg_set_defaults JPP((j_compress_ptr cinfo));
    4.42 @@ -1005,6 +1006,8 @@
    4.43  				       boolean suppress));
    4.44  EXTERN(JQUANT_TBL *) jpeg_alloc_quant_table JPP((j_common_ptr cinfo));
    4.45  EXTERN(JHUFF_TBL *) jpeg_alloc_huff_table JPP((j_common_ptr cinfo));
    4.46 +EXTERN(JHUFF_TBL *) jpeg_std_huff_table JPP((j_common_ptr cinfo,
    4.47 +					     boolean isDC, int tblno));
    4.48  
    4.49  /* Main entry points for compression */
    4.50  EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
     5.1 Binary file VisualC/external/lib/x64/libjpeg-9.dll has changed
     6.1 Binary file VisualC/external/lib/x86/libjpeg-9.dll has changed
     7.1 --- a/external/jpeg-9c.patch	Wed Mar 04 16:07:27 2020 -0800
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,872 +0,0 @@
     7.4 -diff -u /dev/null jpeg-9c/Android.mk
     7.5 ---- /dev/null
     7.6 -+++ jpeg-9c/Android.mk
     7.7 -@@ -0,0 +1,37 @@
     7.8 -+LOCAL_PATH:= $(call my-dir)
     7.9 -+include $(CLEAR_VARS)
    7.10 -+
    7.11 -+LOCAL_ARM_MODE := arm
    7.12 -+
    7.13 -+LOCAL_SRC_FILES := \
    7.14 -+    jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
    7.15 -+    jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
    7.16 -+    jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
    7.17 -+    jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
    7.18 -+    jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
    7.19 -+    jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
    7.20 -+    jfdctfst.c jfdctint.c jidctflt.c jquant1.c \
    7.21 -+    jquant2.c jutils.c jmemmgr.c \
    7.22 -+	jmem-android.c
    7.23 -+
    7.24 -+# the assembler is only for the ARM version, don't break the Linux sim
    7.25 -+ifneq ($(TARGET_ARCH),arm)
    7.26 -+ANDROID_JPEG_NO_ASSEMBLER := true
    7.27 -+endif
    7.28 -+
    7.29 -+# temp fix until we understand why this broke cnn.com
    7.30 -+ANDROID_JPEG_NO_ASSEMBLER := true
    7.31 -+
    7.32 -+ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true)
    7.33 -+LOCAL_SRC_FILES += jidctint.c jidctfst.c
    7.34 -+else
    7.35 -+LOCAL_SRC_FILES += jidctint.c jidctfst.S
    7.36 -+endif
    7.37 -+
    7.38 -+LOCAL_CFLAGS += -DAVOID_TABLES 
    7.39 -+LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
    7.40 -+#LOCAL_CFLAGS += -march=armv6j
    7.41 -+
    7.42 -+LOCAL_MODULE:= jpeg
    7.43 -+
    7.44 -+include $(BUILD_STATIC_LIBRARY)
    7.45 -diff -u /dev/null jpeg-9c/jconfig.h
    7.46 ---- /dev/null
    7.47 -+++ jpeg-9c/jconfig.h
    7.48 -@@ -0,0 +1,156 @@
    7.49 -+/* android jconfig.h */
    7.50 -+/*
    7.51 -+ * jconfig.doc
    7.52 -+ *
    7.53 -+ * Copyright (C) 1991-1994, Thomas G. Lane.
    7.54 -+ * This file is part of the Independent JPEG Group's software.
    7.55 -+ * For conditions of distribution and use, see the accompanying README file.
    7.56 -+ *
    7.57 -+ * This file documents the configuration options that are required to
    7.58 -+ * customize the JPEG software for a particular system.
    7.59 -+ *
    7.60 -+ * The actual configuration options for a particular installation are stored
    7.61 -+ * in jconfig.h.  On many machines, jconfig.h can be generated automatically
    7.62 -+ * or copied from one of the "canned" jconfig files that we supply.  But if
    7.63 -+ * you need to generate a jconfig.h file by hand, this file tells you how.
    7.64 -+ *
    7.65 -+ * DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING.
    7.66 -+ * EDIT A COPY NAMED JCONFIG.H.
    7.67 -+ */
    7.68 -+
    7.69 -+
    7.70 -+/*
    7.71 -+ * These symbols indicate the properties of your machine or compiler.
    7.72 -+ * #define the symbol if yes, #undef it if no.
    7.73 -+ */
    7.74 -+
    7.75 -+/* Does your compiler support function prototypes?
    7.76 -+ * (If not, you also need to use ansi2knr, see install.doc)
    7.77 -+ */
    7.78 -+#define HAVE_PROTOTYPES
    7.79 -+
    7.80 -+/* Does your compiler support the declaration "unsigned char" ?
    7.81 -+ * How about "unsigned short" ?
    7.82 -+ */
    7.83 -+#define HAVE_UNSIGNED_CHAR
    7.84 -+#define HAVE_UNSIGNED_SHORT
    7.85 -+
    7.86 -+/* Define "void" as "char" if your compiler doesn't know about type void.
    7.87 -+ * NOTE: be sure to define void such that "void *" represents the most general
    7.88 -+ * pointer type, e.g., that returned by malloc().
    7.89 -+ */
    7.90 -+/* #define void char */
    7.91 -+
    7.92 -+/* Define "const" as empty if your compiler doesn't know the "const" keyword.
    7.93 -+ */
    7.94 -+/* #define const */
    7.95 -+
    7.96 -+/* Define this if an ordinary "char" type is unsigned.
    7.97 -+ * If you're not sure, leaving it undefined will work at some cost in speed.
    7.98 -+ * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
    7.99 -+ */
   7.100 -+#undef CHAR_IS_UNSIGNED
   7.101 -+
   7.102 -+/* Define this if your system has an ANSI-conforming <stddef.h> file.
   7.103 -+ */
   7.104 -+#define HAVE_STDDEF_H
   7.105 -+
   7.106 -+/* Define this if your system has an ANSI-conforming <stdlib.h> file.
   7.107 -+ */
   7.108 -+#define HAVE_STDLIB_H
   7.109 -+
   7.110 -+/* Define this if your system does not have an ANSI/SysV <string.h>,
   7.111 -+ * but does have a BSD-style <strings.h>.
   7.112 -+ */
   7.113 -+#undef NEED_BSD_STRINGS
   7.114 -+
   7.115 -+/* Define this if your system does not provide typedef size_t in any of the
   7.116 -+ * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
   7.117 -+ * <sys/types.h> instead.
   7.118 -+ */
   7.119 -+#undef NEED_SYS_TYPES_H
   7.120 -+
   7.121 -+/* For 80x86 machines, you need to define NEED_FAR_POINTERS,
   7.122 -+ * unless you are using a large-data memory model or 80386 flat-memory mode.
   7.123 -+ * On less brain-damaged CPUs this symbol must not be defined.
   7.124 -+ * (Defining this symbol causes large data structures to be referenced through
   7.125 -+ * "far" pointers and to be allocated with a special version of malloc.)
   7.126 -+ */
   7.127 -+#undef NEED_FAR_POINTERS
   7.128 -+
   7.129 -+/* Define this if your linker needs global names to be unique in less
   7.130 -+ * than the first 15 characters.
   7.131 -+ */
   7.132 -+#undef NEED_SHORT_EXTERNAL_NAMES
   7.133 -+
   7.134 -+/* Although a real ANSI C compiler can deal perfectly well with pointers to
   7.135 -+ * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
   7.136 -+ * and pseudo-ANSI compilers get confused.  To keep one of these bozos happy,
   7.137 -+ * define INCOMPLETE_TYPES_BROKEN.  This is not recommended unless you
   7.138 -+ * actually get "missing structure definition" warnings or errors while
   7.139 -+ * compiling the JPEG code.
   7.140 -+ */
   7.141 -+#undef INCOMPLETE_TYPES_BROKEN
   7.142 -+
   7.143 -+
   7.144 -+/*
   7.145 -+ * The following options affect code selection within the JPEG library,
   7.146 -+ * but they don't need to be visible to applications using the library.
   7.147 -+ * To minimize application namespace pollution, the symbols won't be
   7.148 -+ * defined unless JPEG_INTERNALS has been defined.
   7.149 -+ */
   7.150 -+
   7.151 -+#ifdef JPEG_INTERNALS
   7.152 -+
   7.153 -+/* Define this if your compiler implements ">>" on signed values as a logical
   7.154 -+ * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
   7.155 -+ * which is the normal and rational definition.
   7.156 -+ */
   7.157 -+#undef RIGHT_SHIFT_IS_UNSIGNED
   7.158 -+
   7.159 -+
   7.160 -+#endif /* JPEG_INTERNALS */
   7.161 -+
   7.162 -+
   7.163 -+/*
   7.164 -+ * The remaining options do not affect the JPEG library proper,
   7.165 -+ * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
   7.166 -+ * Other applications can ignore these.
   7.167 -+ */
   7.168 -+
   7.169 -+#ifdef JPEG_CJPEG_DJPEG
   7.170 -+
   7.171 -+/* These defines indicate which image (non-JPEG) file formats are allowed. */
   7.172 -+
   7.173 -+#define BMP_SUPPORTED		/* BMP image file format */
   7.174 -+#define GIF_SUPPORTED		/* GIF image file format */
   7.175 -+#define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
   7.176 -+#undef RLE_SUPPORTED		/* Utah RLE image file format */
   7.177 -+#define TARGA_SUPPORTED		/* Targa image file format */
   7.178 -+
   7.179 -+/* Define this if you want to name both input and output files on the command
   7.180 -+ * line, rather than using stdout and optionally stdin.  You MUST do this if
   7.181 -+ * your system can't cope with binary I/O to stdin/stdout.  See comments at
   7.182 -+ * head of cjpeg.c or djpeg.c.
   7.183 -+ */
   7.184 -+#undef TWO_FILE_COMMANDLINE
   7.185 -+
   7.186 -+/* Define this if your system needs explicit cleanup of temporary files.
   7.187 -+ * This is crucial under MS-DOS, where the temporary "files" may be areas
   7.188 -+ * of extended memory; on most other systems it's not as important.
   7.189 -+ */
   7.190 -+#undef NEED_SIGNAL_CATCHER
   7.191 -+
   7.192 -+/* By default, we open image files with fopen(...,"rb") or fopen(...,"wb").
   7.193 -+ * This is necessary on systems that distinguish text files from binary files,
   7.194 -+ * and is harmless on most systems that don't.  If you have one of the rare
   7.195 -+ * systems that complains about the "b" spec, define this symbol.
   7.196 -+ */
   7.197 -+#undef DONT_USE_B_MODE
   7.198 -+
   7.199 -+/* Define this if you want percent-done progress reports from cjpeg/djpeg.
   7.200 -+ */
   7.201 -+#undef PROGRESS_REPORT
   7.202 -+
   7.203 -+
   7.204 -+#endif /* JPEG_CJPEG_DJPEG */
   7.205 -diff -u /dev/null jpeg-9c/jidctfst.S
   7.206 ---- /dev/null
   7.207 -+++ jpeg-9c/jidctfst.S
   7.208 -@@ -0,0 +1,476 @@
   7.209 -+/*
   7.210 -+ * Copyright (C) 2008 The Android Open Source Project
   7.211 -+ *
   7.212 -+ * Licensed under the Apache License, Version 2.0 (the "License");
   7.213 -+ * you may not use this file except in compliance with the License.
   7.214 -+ * You may obtain a copy of the License at
   7.215 -+ *
   7.216 -+ *      http://www.apache.org/licenses/LICENSE-2.0
   7.217 -+ *
   7.218 -+ * Unless required by applicable law or agreed to in writing, software
   7.219 -+ * distributed under the License is distributed on an "AS IS" BASIS,
   7.220 -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   7.221 -+ * See the License for the specific language governing permissions and
   7.222 -+ * limitations under the License.
   7.223 -+ */
   7.224 -+
   7.225 -+#include <machine/cpu-features.h>
   7.226 -+
   7.227 -+    .text
   7.228 -+    .align
   7.229 -+
   7.230 -+    .global jpeg_idct_ifast
   7.231 -+    .func   jpeg_idct_ifast
   7.232 -+
   7.233 -+// NOTE: sb=r9, fp=r11 ip=r12, sp=r13, lr=r14, pc=r15
   7.234 -+
   7.235 -+// jpeg_idct_ifast (j_decompress_ptr       cinfo,
   7.236 -+//                 jpeg_component_info *   compptr,
   7.237 -+//                 short*                  coef_block,
   7.238 -+//                 unsigned char*          output_buf,
   7.239 -+//                 int                     output_col)
   7.240 -+
   7.241 -+#define  local_TMP0123       sp
   7.242 -+#define  local_TMP0          [sp, #0]
   7.243 -+#define  local_TMP1          [sp, #4]
   7.244 -+#define  local_TMP2          [sp, #8]
   7.245 -+#define  local_TMP3          [sp, #12]
   7.246 -+#define  local_RANGE_TABLE   [sp, #16]
   7.247 -+#define  local_OUTPUT_COL    [sp, #20]
   7.248 -+#define  local_OUTPUT_BUF    [sp, #24]
   7.249 -+#define  local_UNUSED        [sp, #28]
   7.250 -+#define  off_WORKSPACE       32
   7.251 -+#define  local_WORKSPACE     [sp, #offWORKSPACE]
   7.252 -+#define  local_SIZE          (off_WORKSPACE + 8*8*4)
   7.253 -+
   7.254 -+#define  off_DECOMPRESS_range_limit_base  324
   7.255 -+#define  off_COMPINFO_quanttable          80
   7.256 -+
   7.257 -+#define  DCTSIZE   8
   7.258 -+#define  VY(x)   ((x)*DCTSIZE*2)
   7.259 -+#define  QY(x)   ((x)*DCTSIZE*4)
   7.260 -+
   7.261 -+#define  VX(x)   ((x)*2)
   7.262 -+#define  QX(x)   ((x)*4)
   7.263 -+
   7.264 -+#define  FIX_1_414213562    #362
   7.265 -+#define  FIX_1_082392200    #277
   7.266 -+#define  FIX_1_847759065    #473
   7.267 -+#define  FIX_2_613125930    #669
   7.268 -+
   7.269 -+#define  RANGE_MASK   1023
   7.270 -+
   7.271 -+
   7.272 -+
   7.273 -+jpeg_idct_ifast:
   7.274 -+    PLD     [r2, #0]
   7.275 -+    stmdb   sp!, {r4,r5, r6,r7, r8,r9, r10,r11, r12,lr}
   7.276 -+    ldr     r4, [sp, #4*10]
   7.277 -+    sub     sp, #local_SIZE
   7.278 -+
   7.279 -+    ldr     r10,[r1, #off_COMPINFO_quanttable]         // r10 = quanttable
   7.280 -+    str     r4, local_OUTPUT_COL
   7.281 -+    str     r3, local_OUTPUT_BUF
   7.282 -+    ldr     r5, [r0, #off_DECOMPRESS_range_limit_base]
   7.283 -+    add     r5, r5, #128
   7.284 -+    str     r5, local_RANGE_TABLE
   7.285 -+    mov     fp, r2                                      // fp = coef_block
   7.286 -+    add     ip, sp, #off_WORKSPACE
   7.287 -+
   7.288 -+VLoopTail:
   7.289 -+    ldrsh    r0, [fp, #VY(0)]
   7.290 -+    ldrsh    r1, [fp, #VY(1)]
   7.291 -+    ldrsh    r2, [fp, #VY(2)]
   7.292 -+    ldrsh    r3, [fp, #VY(3)]
   7.293 -+    ldrsh    r4, [fp, #VY(4)]
   7.294 -+    ldrsh    r5, [fp, #VY(5)]
   7.295 -+    ldrsh    r6, [fp, #VY(6)]
   7.296 -+    ldrsh    r7, [fp, #VY(7)]
   7.297 -+
   7.298 -+    cmp      r1, #0
   7.299 -+    orreqs   r8, r2, r3
   7.300 -+    orreqs   r8, r4, r5
   7.301 -+    orreqs   r8, r6, r7
   7.302 -+    beq      VLoopHeadZero
   7.303 -+
   7.304 -+VLoopHead:
   7.305 -+    // tmp0 = DEQUANTIZE(in[DCTSIZE*0], quant[DCTSIZE*0]   (r0)
   7.306 -+    // tmp2 = DEQUANTIZE(in[DCTSIZE*4], quant[DCTSIZE*4]   (r4)
   7.307 -+    // tmp1 = DEQUANTIZE(in[DCTSIZE*2], quant[DCTSIZE*2]   (r2)
   7.308 -+    // tmp3 = DEQUANTIZE(in[DCTSIZE*6], quant[DCTSIZE*6]   (r6)
   7.309 -+    // tmp10 = tmp0 + tmp2   (r0)
   7.310 -+    // tmp11 = tmp0 - tmp2   (r4)
   7.311 -+
   7.312 -+    ldr      r9, [r10, #QY(4)]
   7.313 -+    ldr      r8, [r10, #QY(0)]
   7.314 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   7.315 -+    smulbb   r4, r9, r4
   7.316 -+    smlabb   r0, r8, r0, r4
   7.317 -+#else
   7.318 -+    mul      r4, r9, r4
   7.319 -+    mul      r0, r8, r0
   7.320 -+    add      r0, r4
   7.321 -+#endif
   7.322 -+    ldr      r9, [r10, #QY(6)]
   7.323 -+    ldr      r8, [r10, #QY(2)]
   7.324 -+    sub      r4, r0, r4, lsl #1
   7.325 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   7.326 -+    smulbb   r6, r9, r6
   7.327 -+    smlabb   r2, r8, r2, r6
   7.328 -+#else
   7.329 -+    mul      r6, r9, r6
   7.330 -+    mul      r2, r8, r2
   7.331 -+    add      r2, r6
   7.332 -+#endif
   7.333 -+
   7.334 -+    // tmp13 = tmp1 + tmp3                                       (r2)
   7.335 -+    // tmp12 = MULTIPLY(tmp1 - tmp3, FIX_1_414213562) - tmp13    (r6)
   7.336 -+    // FIX_1_4142... = 362 = 45*8 + 2
   7.337 -+    sub      r6, r2, r6, lsl #1
   7.338 -+    mov      r8, #360
   7.339 -+    add      r8, r8, #2
   7.340 -+    mul      r9, r6, r8
   7.341 -+
   7.342 -+    // tmp0 = tmp10 + tmp13;   (r0)
   7.343 -+    // tmp3 = tmp10 - tmp13;   (r8)
   7.344 -+    // tmp1 = tmp11 + tmp12;   (r4)
   7.345 -+    // tmp2 = tmp11 - tmp12;   (r6)
   7.346 -+    add     r0, r0, r2
   7.347 -+    rsb     r6, r2, r9, asr #8
   7.348 -+    sub     r8, r0, r2, lsl #1
   7.349 -+    add     r4, r4, r6
   7.350 -+    sub     r6, r4, r6, lsl #1
   7.351 -+
   7.352 -+    stmia   local_TMP0123, {r0, r4, r6, r8}
   7.353 -+
   7.354 -+    // NOTE: be sure to not user r0,r4,r6,r8 soon after stm above
   7.355 -+
   7.356 -+    // odd part
   7.357 -+    // tmp4 = DEQUANTIZE( in[DCTSIZE*1], quant[DCTSIZE*1] )   (r1)
   7.358 -+    // tmp6 = DEQUANTIZE( in[DCTSIZE*5], quant[DCTSIZE*5] )   (r5)
   7.359 -+    // tmp5 = DEQUANTIZE( in[DCTSIZE*3], quant[DCTSIZE*3] )   (r3)
   7.360 -+    // tmp7 = DEQUANTIZE( in[DCTSIZE*7], quant[DCTSIZE*7] )   (r7)
   7.361 -+    // z13 = tmp6 + tmp5;  (r0)
   7.362 -+    // z10 = tmp6 - tmp5;  (r2)
   7.363 -+    // z11 = tmp4 + tmp7;  (r4)
   7.364 -+    // z12 = tmp4 - tmp7;  (r6)
   7.365 -+
   7.366 -+    ldr     r2, [r10, #QY(1)]
   7.367 -+    ldr     r9, [r10, #QY(5)]
   7.368 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   7.369 -+    smulbb  r1, r2, r1
   7.370 -+#else
   7.371 -+    mul     r1, r2, r1
   7.372 -+#endif
   7.373 -+    ldr     r2, [r10, #QY(3)]
   7.374 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   7.375 -+    smulbb  r5, r9, r5
   7.376 -+#else
   7.377 -+    mul     r5, r9, r5
   7.378 -+#endif
   7.379 -+    ldr     r9, [r10, #QY(7)]
   7.380 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   7.381 -+    smlabb  r0, r2, r3, r5
   7.382 -+    smlabb  r4, r9, r7, r1
   7.383 -+#else
   7.384 -+    mul     r0, r2, r3
   7.385 -+    add     r0, r5
   7.386 -+    mul     r4, r9, r7
   7.387 -+    add     r4, r1
   7.388 -+#endif
   7.389 -+    rsb  r2, r0, r5, lsl #1
   7.390 -+    rsb  r6, r4, r1, lsl #1
   7.391 -+
   7.392 -+    // tmp7 = z11 + z13;                             (r7)
   7.393 -+    // tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); (r1)
   7.394 -+    // FIX_... = 360 + 2
   7.395 -+    add   r7, r4, r0
   7.396 -+    sub   r1, r4, r0
   7.397 -+    mov   r8, #360
   7.398 -+    add   r8, r8, #2
   7.399 -+    mul   r1, r8, r1
   7.400 -+
   7.401 -+    // z5 = MULTIPLY(z10 + z12, FIX_1_847759065);        (r8)
   7.402 -+    // tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5;      (r0)
   7.403 -+    // tmp12 = MULTIPLY(z10, - FIX_2_613125930) + z5;    (r2)
   7.404 -+    // FIX_1_8477... = 473 = 472 + 1
   7.405 -+    // FIX_1_082...  = 277 = 276 + 1
   7.406 -+    // FIX_2_...     = 669 = 668 + 1
   7.407 -+    add     r8, r2, r6
   7.408 -+    mov     r9, #472
   7.409 -+    mla     r8, r9, r8, r8
   7.410 -+    mov     r9, #276
   7.411 -+    mla     r0, r6, r9, r6
   7.412 -+    mov     r9, #668
   7.413 -+    mla     r2, r9, r2, r2
   7.414 -+    sub     r0, r0, r8
   7.415 -+    rsb     r2, r2, r8
   7.416 -+
   7.417 -+    // tmp6 = tmp12 - tmp7;  (r6)
   7.418 -+    // tmp5 = tmp11 - tmp6;  (r5)
   7.419 -+    // tmp4 = tmp10 + tmp5;  (r4)
   7.420 -+    rsb  r6, r7, r2, asr #8
   7.421 -+    rsb  r5, r6, r1, asr #8
   7.422 -+    add  r4, r5, r0, asr #8
   7.423 -+
   7.424 -+    ldmia local_TMP0123, {r0, r1, r2, r3}
   7.425 -+
   7.426 -+    // wsptr[DCTSIZE*0] = (int) (tmp0 + tmp7);
   7.427 -+    // wsptr[DCTSIZE*7] = (int) (tmp0 - tmp7);
   7.428 -+    // wsptr[DCTSIZE*1] = (int) (tmp1 + tmp6);
   7.429 -+    // wsptr[DCTSIZE*6] = (int) (tmp1 - tmp6);
   7.430 -+    // wsptr[DCTSIZE*2] = (int) (tmp2 + tmp5);
   7.431 -+    // wsptr[DCTSIZE*5] = (int) (tmp2 - tmp5);
   7.432 -+    // wsptr[DCTSIZE*4] = (int) (tmp3 + tmp4);
   7.433 -+    // wsptr[DCTSIZE*3] = (int) (tmp3 - tmp4);
   7.434 -+
   7.435 -+    add   r0, r0, r7
   7.436 -+    sub   r7, r0, r7, lsl #1
   7.437 -+    add   r1, r1, r6
   7.438 -+    sub   r6, r1, r6, lsl #1
   7.439 -+    add   r2, r2, r5
   7.440 -+    sub   r5, r2, r5, lsl #1
   7.441 -+    sub   r3, r3, r4
   7.442 -+    add   r4, r3, r4, lsl #1
   7.443 -+
   7.444 -+    str   r0, [ip, #QY(0)]
   7.445 -+    str   r1, [ip, #QY(1)]
   7.446 -+    str   r2, [ip, #QY(2)]
   7.447 -+    str   r3, [ip, #QY(3)]
   7.448 -+    str   r4, [ip, #QY(4)]
   7.449 -+    str   r5, [ip, #QY(5)]
   7.450 -+    str   r6, [ip, #QY(6)]
   7.451 -+    str   r7, [ip, #QY(7)]
   7.452 -+
   7.453 -+    // inptr++;                    /* advance pointers to next column */
   7.454 -+    // quantptr++;
   7.455 -+    // wsptr++;
   7.456 -+    add  fp, fp, #2
   7.457 -+    add  r10, r10, #4
   7.458 -+    add  ip, ip, #4
   7.459 -+    add  r0, sp, #(off_WORKSPACE + 4*8)
   7.460 -+    cmp  ip, r0
   7.461 -+    bne  VLoopTail
   7.462 -+
   7.463 -+
   7.464 -+
   7.465 -+HLoopStart:
   7.466 -+    // reset pointers
   7.467 -+    PLD     [sp, #off_WORKSPACE]
   7.468 -+    add     ip, sp, #off_WORKSPACE
   7.469 -+    ldr     r10, local_RANGE_TABLE
   7.470 -+
   7.471 -+HLoopTail:
   7.472 -+    // output = *output_buf++ + output_col
   7.473 -+    ldr      r0, local_OUTPUT_BUF
   7.474 -+    ldr      r1, local_OUTPUT_COL
   7.475 -+    ldr      r2, [r0], #4
   7.476 -+    str      r0, local_OUTPUT_BUF
   7.477 -+    add      fp, r2, r1
   7.478 -+
   7.479 -+    PLD      [ip, #32]
   7.480 -+    ldmia    ip!, {r0-r7}
   7.481 -+
   7.482 -+    cmp      r1, #0
   7.483 -+    orreqs   r8, r2, r3
   7.484 -+    orreqs   r8, r4, r5
   7.485 -+    orreqs   r8, r6, r7
   7.486 -+    beq      HLoopTailZero
   7.487 -+
   7.488 -+HLoopHead:
   7.489 -+    // tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]);    (r0)
   7.490 -+    // tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]);    (r4)
   7.491 -+    add     r0, r0, r4
   7.492 -+    sub     r4, r0, r4, lsl #1
   7.493 -+
   7.494 -+    // tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]);                                   (r2)
   7.495 -+    // tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) - tmp13;  (r6)
   7.496 -+    // FIX_... = 360 + 2
   7.497 -+    add     r2, r2, r6
   7.498 -+    sub     r6, r2, r6, lsl #1
   7.499 -+    mov     r8, #360
   7.500 -+    add     r8, r8, #2
   7.501 -+    mul     r6, r8, r6
   7.502 -+
   7.503 -+    // tmp0 = tmp10 + tmp13;   (r0)
   7.504 -+    // tmp3 = tmp10 - tmp13;   (r8)
   7.505 -+    // tmp1 = tmp11 + tmp12;   (r4)
   7.506 -+    // tmp2 = tmp11 - tmp12;   (r6)
   7.507 -+    add     r0, r0, r2
   7.508 -+    rsb     r6, r2, r6, asr #8
   7.509 -+    sub     r8, r0, r2, lsl #1
   7.510 -+    add     r4, r4, r6
   7.511 -+    sub     r6, r4, r6, lsl #1
   7.512 -+
   7.513 -+    stmia   local_TMP0123, {r0, r4, r6, r8}
   7.514 -+
   7.515 -+    // Odd part
   7.516 -+
   7.517 -+    // z13 = (DCTELEM) wsptr[5] + (DCTELEM) wsptr[3];  (r0)
   7.518 -+    // z10 = (DCTELEM) wsptr[5] - (DCTELEM) wsptr[3];  (r2)
   7.519 -+    // z11 = (DCTELEM) wsptr[1] + (DCTELEM) wsptr[7];  (r4)
   7.520 -+    // z12 = (DCTELEM) wsptr[1] - (DCTELEM) wsptr[7];  (r6)
   7.521 -+    add  r0, r5, r3
   7.522 -+    sub  r2, r5, r3
   7.523 -+    add  r4, r1, r7
   7.524 -+    sub  r6, r1, r7
   7.525 -+
   7.526 -+    // tmp7 = z11 + z13;                             (r7)
   7.527 -+    // tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); (r1)
   7.528 -+    // FIX_... = 360 + 2
   7.529 -+    add   r7, r4, r0
   7.530 -+    sub   r1, r4, r0
   7.531 -+    mov   r8, #360
   7.532 -+    add   r8, r8, #2
   7.533 -+    mul   r1, r8, r1
   7.534 -+
   7.535 -+    // z5 = MULTIPLY(z10 + z12, FIX_1_847759065);        (r8)
   7.536 -+    // tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5;      (r0)
   7.537 -+    // tmp12 = MULTIPLY(z10, - FIX_2_613125930) + z5;    (r2)
   7.538 -+    // FIX_1_8477... = 473 = 472 + 1
   7.539 -+    // FIX_1_082...  = 277 = 276 + 1
   7.540 -+    // FIX_2_...     = 669 = 668 + 1
   7.541 -+    add  r8, r2, r6
   7.542 -+    mov  r9, #472
   7.543 -+    mla  r8, r9, r8, r8
   7.544 -+    mov  r9, #276
   7.545 -+    mla  r0, r6, r9, r6
   7.546 -+    mov  r9, #668
   7.547 -+    mla  r2, r9, r2, r2
   7.548 -+    sub  r0, r0, r8
   7.549 -+    sub  r2, r8, r2
   7.550 -+
   7.551 -+    // tmp6 = tmp12 - tmp7;  (r6)
   7.552 -+    // tmp5 = tmp11 - tmp6;  (r5)
   7.553 -+    // tmp4 = tmp10 + tmp5;  (r4)
   7.554 -+    rsb  r6, r7, r2, asr #8
   7.555 -+    rsb  r5, r6, r1, asr #8
   7.556 -+    add  r4, r5, r0, asr #8
   7.557 -+
   7.558 -+    ldmia local_TMP0123, {r0, r1, r2, r3}
   7.559 -+
   7.560 -+    // outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) & RANGE_MASK];
   7.561 -+    // outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) & RANGE_MASK];
   7.562 -+    // outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) & RANGE_MASK];
   7.563 -+    // outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) & RANGE_MASK];
   7.564 -+    // outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) & RANGE_MASK];
   7.565 -+    // outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) & RANGE_MASK];
   7.566 -+    // outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) & RANGE_MASK];
   7.567 -+    // outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3) & RANGE_MASK];
   7.568 -+
   7.569 -+    mov    r8, #128
   7.570 -+    add    r0, r0, r7
   7.571 -+    sub    r7, r0, r7, lsl #1
   7.572 -+    add    r0, r8, r0, asr #5
   7.573 -+    add    r7, r8, r7, asr #5
   7.574 -+    add    r1, r1, r6
   7.575 -+    sub    r6, r1, r6, lsl #1
   7.576 -+    add    r1, r8, r1, asr #5
   7.577 -+    add    r6, r8, r6, asr #5
   7.578 -+    add    r2, r2, r5
   7.579 -+    sub    r5, r2, r5, lsl #1
   7.580 -+    add    r2, r8, r2, asr #5
   7.581 -+    add    r5, r8, r5, asr #5
   7.582 -+    sub    r3, r3, r4
   7.583 -+    add    r4, r3, r4, lsl #1
   7.584 -+    add    r3, r8, r3, asr #5
   7.585 -+    add    r4, r8, r4, asr #5
   7.586 -+
   7.587 -+#if __ARM_ARCH__ >= 6
   7.588 -+    usat   r0, #8, r0
   7.589 -+    usat   r1, #8, r1
   7.590 -+    usat   r2, #8, r2
   7.591 -+    usat   r3, #8, r3
   7.592 -+    usat   r4, #8, r4
   7.593 -+    usat   r5, #8, r5
   7.594 -+    usat   r6, #8, r6
   7.595 -+    usat   r7, #8, r7
   7.596 -+#else
   7.597 -+    cmp    r0, #255
   7.598 -+    mvnhi  r0, r0, asr #31
   7.599 -+    andhi  r0, #255
   7.600 -+    cmp    r7, #255
   7.601 -+    mvnhi  r7, r7, asr #31
   7.602 -+    cmp    r1, #255
   7.603 -+    mvnhi  r1, r1, asr #31
   7.604 -+    andhi  r1, #255
   7.605 -+    cmp    r6, #255
   7.606 -+    mvnhi  r6, r6, asr #31
   7.607 -+    andhi  r6, #255
   7.608 -+    cmp    r2, #255
   7.609 -+    mvnhi  r2, r2, asr #31
   7.610 -+    andhi  r2, #255
   7.611 -+    cmp    r5, #255
   7.612 -+    mvnhi  r5, r5, asr #31
   7.613 -+    andhi  r5, #255
   7.614 -+    cmp    r3, #255
   7.615 -+    mvnhi  r3, r3, asr #31
   7.616 -+    cmp    r4, #255
   7.617 -+    mvnhi  r4, r4, asr #31
   7.618 -+    andhi  r4, #255
   7.619 -+#endif
   7.620 -+
   7.621 -+    // r3 r2 r1 r0
   7.622 -+    orr    r0, r0, r1, lsl #8
   7.623 -+    orr    r0, r0, r2, lsl #16
   7.624 -+    orr    r0, r0, r3, lsl #24
   7.625 -+
   7.626 -+    // r7 r6 r5 r4
   7.627 -+    orr    r1, r4, r5, lsl #8
   7.628 -+    orr    r1, r1, r6, lsl #16
   7.629 -+    orr    r1, r1, r7, lsl #24
   7.630 -+    stmia  fp, {r0, r1}
   7.631 -+
   7.632 -+    add    r0, sp, #(off_WORKSPACE + 8*8*4)
   7.633 -+    cmp    ip, r0
   7.634 -+    bne    HLoopTail
   7.635 -+
   7.636 -+Exit:
   7.637 -+    add    sp, sp, #local_SIZE
   7.638 -+    ldmia  sp!, {r4,r5, r6,r7, r8,r9, r10,r11, r12,lr}
   7.639 -+    bx     lr
   7.640 -+
   7.641 -+
   7.642 -+VLoopHeadZero:
   7.643 -+// ok, all AC coefficients are 0
   7.644 -+    ldr      r1, [r10, #QY(0)]
   7.645 -+    add      fp, fp, #2
   7.646 -+    add      r10, r10, #4
   7.647 -+    mul      r0, r1, r0
   7.648 -+    str      r0, [ip, #QY(0)]
   7.649 -+    str      r0, [ip, #QY(1)]
   7.650 -+    str      r0, [ip, #QY(2)]
   7.651 -+    str      r0, [ip, #QY(3)]
   7.652 -+    str      r0, [ip, #QY(4)]
   7.653 -+    str      r0, [ip, #QY(5)]
   7.654 -+    str      r0, [ip, #QY(6)]
   7.655 -+    str      r0, [ip, #QY(7)]
   7.656 -+    add      ip, ip, #4
   7.657 -+    add      r0, sp, #(off_WORKSPACE + 4*8)
   7.658 -+    cmp      ip, r0
   7.659 -+    beq      HLoopStart
   7.660 -+    b        VLoopTail
   7.661 -+
   7.662 -+HLoopTailZero:
   7.663 -+    mov      r0, r0, asr #5
   7.664 -+    add      r0, #128
   7.665 -+
   7.666 -+#if __ARM_ARCH__ >= 6
   7.667 -+    usat     r0, #8, r0
   7.668 -+#else
   7.669 -+    cmp      r0, #255
   7.670 -+    mvnhi    r0, r0, asr #31
   7.671 -+    andhi    r0, r0, #255
   7.672 -+#endif
   7.673 -+
   7.674 -+    orr      r0, r0, lsl #8
   7.675 -+    orr      r0, r0, lsl #16
   7.676 -+    mov      r1, r0
   7.677 -+    stmia    fp, {r0, r1}
   7.678 -+
   7.679 -+    add      r0, sp, #(off_WORKSPACE + 64*4)
   7.680 -+    cmp      ip, r0
   7.681 -+    beq      Exit
   7.682 -+    b        HLoopTail
   7.683 -+
   7.684 -+    .endfunc
   7.685 -diff -u /dev/null jpeg-9c/jmem-android.c
   7.686 ---- /dev/null
   7.687 -+++ jpeg-9c/jmem-android.c
   7.688 -@@ -0,0 +1,187 @@
   7.689 -+/*
   7.690 -+ * Copyright (C) 2007-2008 The Android Open Source Project
   7.691 -+ *
   7.692 -+ * Licensed under the Apache License, Version 2.0 (the "License");
   7.693 -+ * you may not use this file except in compliance with the License.
   7.694 -+ * You may obtain a copy of the License at
   7.695 -+ *
   7.696 -+ *      http://www.apache.org/licenses/LICENSE-2.0
   7.697 -+ *
   7.698 -+ * Unless required by applicable law or agreed to in writing, software
   7.699 -+ * distributed under the License is distributed on an "AS IS" BASIS,
   7.700 -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   7.701 -+ * See the License for the specific language governing permissions and
   7.702 -+ * limitations under the License.
   7.703 -+ */
   7.704 -+
   7.705 -+#define JPEG_INTERNALS
   7.706 -+#include "jinclude.h"
   7.707 -+#include "jpeglib.h"
   7.708 -+#include "jmemsys.h"		/* import the system-dependent declarations */
   7.709 -+#include <unistd.h>         /* For unlink() and getpid() */
   7.710 -+
   7.711 -+#ifndef HAVE_STDLIB_H		/* <stdlib.h> should declare malloc(),free() */
   7.712 -+extern void * malloc JPP((size_t size));
   7.713 -+extern void free JPP((void *ptr));
   7.714 -+#endif
   7.715 -+
   7.716 -+#ifndef SEEK_SET		/* pre-ANSI systems may not define this; */
   7.717 -+#define SEEK_SET  0		/* if not, assume 0 is correct */
   7.718 -+#endif
   7.719 -+
   7.720 -+
   7.721 -+/*
   7.722 -+ * Memory allocation and freeing are controlled by the regular library
   7.723 -+ * routines malloc() and free().
   7.724 -+ */
   7.725 -+
   7.726 -+GLOBAL(void *)
   7.727 -+jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject)
   7.728 -+{
   7.729 -+  return (void *) malloc(sizeofobject);
   7.730 -+}
   7.731 -+
   7.732 -+GLOBAL(void)
   7.733 -+jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject)
   7.734 -+{
   7.735 -+  free(object);
   7.736 -+}
   7.737 -+
   7.738 -+
   7.739 -+/*
   7.740 -+ * "Large" objects are treated the same as "small" ones.
   7.741 -+ * NB: although we include FAR keywords in the routine declarations,
   7.742 -+ * this file won't actually work in 80x86 small/medium model; at least,
   7.743 -+ * you probably won't be able to process useful-size images in only 64KB.
   7.744 -+ */
   7.745 -+
   7.746 -+GLOBAL(void FAR *)
   7.747 -+jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject)
   7.748 -+{
   7.749 -+  return (void FAR *) malloc(sizeofobject);
   7.750 -+}
   7.751 -+
   7.752 -+GLOBAL(void)
   7.753 -+jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject)
   7.754 -+{
   7.755 -+  free(object);
   7.756 -+}
   7.757 -+
   7.758 -+
   7.759 -+/*
   7.760 -+ * This routine computes the total memory space available for allocation.
   7.761 -+ * It's impossible to do this in a portable way; our current solution is
   7.762 -+ * to make the user tell us (with a default value set at compile time).
   7.763 -+ * If you can actually get the available space, it's a good idea to subtract
   7.764 -+ * a slop factor of 5% or so.
   7.765 -+ */
   7.766 -+
   7.767 -+#ifndef DEFAULT_MAX_MEM		/* so can override from makefile */
   7.768 -+#define DEFAULT_MAX_MEM		10000000L /* default: ten megabyte */
   7.769 -+#endif
   7.770 -+
   7.771 -+GLOBAL(long)
   7.772 -+jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed,
   7.773 -+		    long max_bytes_needed, long already_allocated)
   7.774 -+{
   7.775 -+  return cinfo->mem->max_memory_to_use - already_allocated;
   7.776 -+}
   7.777 -+
   7.778 -+
   7.779 -+/*
   7.780 -+ * Backing store (temporary file) management.
   7.781 -+ * Backing store objects are only used when the value returned by
   7.782 -+ * jpeg_mem_available is less than the total space needed.  You can dispense
   7.783 -+ * with these routines if you have plenty of virtual memory; see jmemnobs.c.
   7.784 -+ */
   7.785 -+
   7.786 -+
   7.787 -+METHODDEF(void)
   7.788 -+read_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   7.789 -+		    void FAR * buffer_address,
   7.790 -+		    long file_offset, long byte_count)
   7.791 -+{
   7.792 -+  if (fseek(info->temp_file, file_offset, SEEK_SET))
   7.793 -+    ERREXIT(cinfo, JERR_TFILE_SEEK);
   7.794 -+  if (JFREAD(info->temp_file, buffer_address, byte_count)
   7.795 -+      != (size_t) byte_count)
   7.796 -+    ERREXIT(cinfo, JERR_TFILE_READ);
   7.797 -+}
   7.798 -+
   7.799 -+
   7.800 -+METHODDEF(void)
   7.801 -+write_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   7.802 -+		     void FAR * buffer_address,
   7.803 -+		     long file_offset, long byte_count)
   7.804 -+{
   7.805 -+  if (fseek(info->temp_file, file_offset, SEEK_SET))
   7.806 -+    ERREXIT(cinfo, JERR_TFILE_SEEK);
   7.807 -+  if (JFWRITE(info->temp_file, buffer_address, byte_count)
   7.808 -+      != (size_t) byte_count)
   7.809 -+    ERREXIT(cinfo, JERR_TFILE_WRITE);
   7.810 -+}
   7.811 -+
   7.812 -+
   7.813 -+METHODDEF(void)
   7.814 -+close_backing_store (j_common_ptr cinfo, backing_store_ptr info)
   7.815 -+{
   7.816 -+  fclose(info->temp_file);
   7.817 -+  /* Since this implementation uses tmpfile() to create the file,
   7.818 -+   * no explicit file deletion is needed.
   7.819 -+   */
   7.820 -+}
   7.821 -+
   7.822 -+static FILE* getTempFileFromPath(const char * path) {
   7.823 -+    FILE * fd = fopen(path, "w+");
   7.824 -+    unlink(path);
   7.825 -+    return fd;
   7.826 -+}
   7.827 -+
   7.828 -+static FILE* getTempFile() {
   7.829 -+    char path[1024];
   7.830 -+    snprintf(path, 1023, "/sdcard/.%d.tmp", getpid());
   7.831 -+    FILE * fd = getTempFileFromPath(path);
   7.832 -+    if (fd == NULL) {
   7.833 -+        // anywhere else we can create a temp file?
   7.834 -+		//	    snprintf(path, 1023, "/data/data/.%d.tmp", getpid());
   7.835 -+		//      fd = getTempFileFromPath(path);
   7.836 -+    }
   7.837 -+    return fd;
   7.838 -+}
   7.839 -+
   7.840 -+/*
   7.841 -+ * Initial opening of a backing-store object.
   7.842 -+ *
   7.843 -+ * This version uses tmpfile(), which constructs a suitable file name
   7.844 -+ * behind the scenes.  We don't have to use info->temp_name[] at all;
   7.845 -+ * indeed, we can't even find out the actual name of the temp file.
   7.846 -+ */
   7.847 -+
   7.848 -+GLOBAL(void)
   7.849 -+jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   7.850 -+			 long total_bytes_needed)
   7.851 -+{
   7.852 -+  if ((info->temp_file = getTempFile()) == NULL)
   7.853 -+    ERREXITS(cinfo, JERR_TFILE_CREATE, "");
   7.854 -+  info->read_backing_store = read_backing_store;
   7.855 -+  info->write_backing_store = write_backing_store;
   7.856 -+  info->close_backing_store = close_backing_store;
   7.857 -+}
   7.858 -+
   7.859 -+
   7.860 -+/*
   7.861 -+ * These routines take care of any system-dependent initialization and
   7.862 -+ * cleanup required.
   7.863 -+ */
   7.864 -+
   7.865 -+GLOBAL(long)
   7.866 -+jpeg_mem_init (j_common_ptr cinfo)
   7.867 -+{
   7.868 -+  return DEFAULT_MAX_MEM;	/* default for max_memory_to_use */
   7.869 -+}
   7.870 -+
   7.871 -+GLOBAL(void)
   7.872 -+jpeg_mem_term (j_common_ptr cinfo)
   7.873 -+{
   7.874 -+  /* no work */
   7.875 -+}
     8.1 --- a/external/jpeg-9c/Android.mk	Wed Mar 04 16:07:27 2020 -0800
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,37 +0,0 @@
     8.4 -LOCAL_PATH:= $(call my-dir)
     8.5 -include $(CLEAR_VARS)
     8.6 -
     8.7 -LOCAL_ARM_MODE := arm
     8.8 -
     8.9 -LOCAL_SRC_FILES := \
    8.10 -    jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
    8.11 -    jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
    8.12 -    jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
    8.13 -    jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
    8.14 -    jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
    8.15 -    jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
    8.16 -    jfdctfst.c jfdctint.c jidctflt.c jquant1.c \
    8.17 -    jquant2.c jutils.c jmemmgr.c \
    8.18 -	jmem-android.c
    8.19 -
    8.20 -# the assembler is only for the ARM version, don't break the Linux sim
    8.21 -ifneq ($(TARGET_ARCH),arm)
    8.22 -ANDROID_JPEG_NO_ASSEMBLER := true
    8.23 -endif
    8.24 -
    8.25 -# temp fix until we understand why this broke cnn.com
    8.26 -ANDROID_JPEG_NO_ASSEMBLER := true
    8.27 -
    8.28 -ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true)
    8.29 -LOCAL_SRC_FILES += jidctint.c jidctfst.c
    8.30 -else
    8.31 -LOCAL_SRC_FILES += jidctint.c jidctfst.S
    8.32 -endif
    8.33 -
    8.34 -LOCAL_CFLAGS += -DAVOID_TABLES 
    8.35 -LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
    8.36 -#LOCAL_CFLAGS += -march=armv6j
    8.37 -
    8.38 -LOCAL_MODULE:= jpeg
    8.39 -
    8.40 -include $(BUILD_STATIC_LIBRARY)
     9.1 --- a/external/jpeg-9c/CMakeLists.txt	Wed Mar 04 16:07:27 2020 -0800
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,24 +0,0 @@
     9.4 -cmake_minimum_required(VERSION 3.3.2)
     9.5 -project(jpeg C)
     9.6 -
     9.7 -add_library(jpeg SHARED)
     9.8 -target_sources(jpeg PRIVATE
     9.9 -		jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c
    9.10 -		jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c
    9.11 -		jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c
    9.12 -		jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c
    9.13 -		jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c
    9.14 -		jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c
    9.15 -		jfdctfst.c jfdctint.c jidctflt.c jquant1.c
    9.16 -		jquant2.c jutils.c jmemmgr.c
    9.17 -		jmem-android.c)
    9.18 -
    9.19 -
    9.20 -target_sources(jpeg PRIVATE jidctint.c jidctfst.c)
    9.21 -
    9.22 -# FIXME : include asm for ARM
    9.23 -# target_sources(jpeg PRIVATE jidctint.c jidctfst.S)
    9.24 -
    9.25 -target_compile_definitions(jpeg PRIVATE -DAVOID_TABLES)
    9.26 -
    9.27 -target_include_directories(jpeg PUBLIC .)
    10.1 --- a/external/jpeg-9c/Makefile.am	Wed Mar 04 16:07:27 2020 -0800
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,138 +0,0 @@
    10.4 -## Process this file with automake to produce Makefile.in
    10.5 -#
    10.6 -#  Automake Makefile for the JPEG library
    10.7 -#
    10.8 -#  This file is written by Bob Friesenhahn, Guido Vollbeding
    10.9 -#
   10.10 -
   10.11 -# Sources to build library
   10.12 -LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
   10.13 -        jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
   10.14 -        jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
   10.15 -        jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
   10.16 -        jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
   10.17 -        jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
   10.18 -        jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
   10.19 -        jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c
   10.20 -
   10.21 -# System dependent sources
   10.22 -SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
   10.23 -
   10.24 -# Headers which are installed to support the library
   10.25 -INSTINCLUDES  = jerror.h jmorecfg.h jpeglib.h
   10.26 -
   10.27 -# Headers which are not installed
   10.28 -OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \
   10.29 -        jversion.h transupp.h
   10.30 -
   10.31 -# Manual pages (Automake uses 'MANS' for itself)
   10.32 -DISTMANS= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
   10.33 -
   10.34 -# Other documentation files
   10.35 -DOCS= README install.txt usage.txt wizard.txt example.c libjpeg.txt \
   10.36 -        structure.txt coderules.txt filelist.txt change.log
   10.37 -
   10.38 -# Makefiles for various systems
   10.39 -MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.b32 \
   10.40 -        makefile.bcc makefile.mc6 makefile.dj makefile.wat makefile.vc \
   10.41 -        makefile.vs makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 \
   10.42 -        makejmak.vc6 makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 \
   10.43 -        makeddsp.vc6 makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 \
   10.44 -        makerdep.vc6 makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 \
   10.45 -        makewmak.vc6 makejsln.v15 makeasln.v15 makejvcx.v15 makejfil.v15 \
   10.46 -        makecvcx.v15 makecfil.v15 makedvcx.v15 makedfil.v15 maketvcx.v15 \
   10.47 -        maketfil.v15 makervcx.v15 makerfil.v15 makewvcx.v15 makewfil.v15 \
   10.48 -        makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st maktjpeg.st \
   10.49 -        makefile.manx makefile.sas makefile.mms makefile.vms makvms.opt
   10.50 -
   10.51 -# Configuration files
   10.52 -CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
   10.53 -        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
   10.54 -        jconfig.vms
   10.55 -
   10.56 -# Support scripts for configure
   10.57 -CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp \
   10.58 -        missing ar-lib
   10.59 -
   10.60 -# Miscellaneous support files
   10.61 -OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map libjpeg.pc.in
   10.62 -
   10.63 -# Test support files
   10.64 -TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
   10.65 -        testimgp.jpg
   10.66 -
   10.67 -# libtool libraries to build
   10.68 -lib_LTLIBRARIES = libjpeg.la
   10.69 -
   10.70 -# Library sources for libjpeg.la
   10.71 -libjpeg_la_SOURCES = $(LIBSOURCES)
   10.72 -
   10.73 -# LDFLAGS for libjpeg.la
   10.74 -libjpeg_la_LDFLAGS = -no-undefined \
   10.75 -        -version-info $(JPEG_LIB_VERSION)
   10.76 -
   10.77 -if HAVE_LD_VERSION_SCRIPT
   10.78 -  libjpeg_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libjpeg.map
   10.79 -endif
   10.80 -
   10.81 -# Executables to build
   10.82 -bin_PROGRAMS = cjpeg djpeg jpegtran rdjpgcom wrjpgcom
   10.83 -
   10.84 -# Executable sources & libs
   10.85 -cjpeg_SOURCES    = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \
   10.86 -        rdswitch.c cdjpeg.c
   10.87 -cjpeg_LDADD      = libjpeg.la
   10.88 -djpeg_SOURCES    = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \
   10.89 -        rdcolmap.c cdjpeg.c
   10.90 -djpeg_LDADD      = libjpeg.la
   10.91 -jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c
   10.92 -jpegtran_LDADD   = libjpeg.la
   10.93 -rdjpgcom_SOURCES = rdjpgcom.c
   10.94 -wrjpgcom_SOURCES = wrjpgcom.c
   10.95 -
   10.96 -# Manual pages to install
   10.97 -man_MANS = $(DISTMANS)
   10.98 -
   10.99 -# Headers to install
  10.100 -include_HEADERS = $(INSTINCLUDES)
  10.101 -
  10.102 -# Other distributed headers
  10.103 -noinst_HEADERS = $(OTHERINCLUDES)
  10.104 -
  10.105 -# Other distributed files
  10.106 -EXTRA_DIST =  $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \
  10.107 -        $(OTHERFILES) $(TESTFILES)
  10.108 -
  10.109 -# pkg-config file
  10.110 -pkgconfigdir = $(libdir)/pkgconfig
  10.111 -nodist_pkgconfig_DATA = libjpeg.pc
  10.112 -
  10.113 -# Files to be cleaned
  10.114 -CLEANFILES = testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg \
  10.115 -        testoutt.jpg
  10.116 -
  10.117 -# Install jconfig.h
  10.118 -install-data-local:
  10.119 -	$(mkinstalldirs) $(DESTDIR)$(includedir)
  10.120 -	$(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
  10.121 -
  10.122 -# Uninstall jconfig.h
  10.123 -uninstall-local:
  10.124 -	rm -f $(DESTDIR)$(includedir)/jconfig.h
  10.125 -
  10.126 -# Run tests
  10.127 -test: check-local
  10.128 -check-local:
  10.129 -	rm -f testout*
  10.130 -	./djpeg -dct int -ppm -outfile testout.ppm  $(srcdir)/testorig.jpg
  10.131 -	./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  $(srcdir)/testorig.jpg
  10.132 -	./cjpeg -dct int -outfile testout.jpg  $(srcdir)/testimg.ppm
  10.133 -	./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
  10.134 -	./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
  10.135 -	./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
  10.136 -	cmp $(srcdir)/testimg.ppm testout.ppm
  10.137 -	cmp $(srcdir)/testimg.bmp testout.bmp
  10.138 -	cmp $(srcdir)/testimg.jpg testout.jpg
  10.139 -	cmp $(srcdir)/testimg.ppm testoutp.ppm
  10.140 -	cmp $(srcdir)/testimgp.jpg testoutp.jpg
  10.141 -	cmp $(srcdir)/testorig.jpg testoutt.jpg
    11.1 --- a/external/jpeg-9c/Makefile.in	Wed Mar 04 16:07:27 2020 -0800
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,1072 +0,0 @@
    11.4 -# Makefile.in generated by automake 1.15.1 from Makefile.am.
    11.5 -# @configure_input@
    11.6 -
    11.7 -# Copyright (C) 1994-2017 Free Software Foundation, Inc.
    11.8 -
    11.9 -# This Makefile.in is free software; the Free Software Foundation
   11.10 -# gives unlimited permission to copy and/or distribute it,
   11.11 -# with or without modifications, as long as this notice is preserved.
   11.12 -
   11.13 -# This program is distributed in the hope that it will be useful,
   11.14 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   11.15 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   11.16 -# PARTICULAR PURPOSE.
   11.17 -
   11.18 -@SET_MAKE@
   11.19 -
   11.20 -#
   11.21 -#  Automake Makefile for the JPEG library
   11.22 -#
   11.23 -#  This file is written by Bob Friesenhahn, Guido Vollbeding
   11.24 -#
   11.25 -
   11.26 -
   11.27 -
   11.28 -
   11.29 -VPATH = @srcdir@
   11.30 -am__is_gnu_make = { \
   11.31 -  if test -z '$(MAKELEVEL)'; then \
   11.32 -    false; \
   11.33 -  elif test -n '$(MAKE_HOST)'; then \
   11.34 -    true; \
   11.35 -  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
   11.36 -    true; \
   11.37 -  else \
   11.38 -    false; \
   11.39 -  fi; \
   11.40 -}
   11.41 -am__make_running_with_option = \
   11.42 -  case $${target_option-} in \
   11.43 -      ?) ;; \
   11.44 -      *) echo "am__make_running_with_option: internal error: invalid" \
   11.45 -              "target option '$${target_option-}' specified" >&2; \
   11.46 -         exit 1;; \
   11.47 -  esac; \
   11.48 -  has_opt=no; \
   11.49 -  sane_makeflags=$$MAKEFLAGS; \
   11.50 -  if $(am__is_gnu_make); then \
   11.51 -    sane_makeflags=$$MFLAGS; \
   11.52 -  else \
   11.53 -    case $$MAKEFLAGS in \
   11.54 -      *\\[\ \	]*) \
   11.55 -        bs=\\; \
   11.56 -        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
   11.57 -          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
   11.58 -    esac; \
   11.59 -  fi; \
   11.60 -  skip_next=no; \
   11.61 -  strip_trailopt () \
   11.62 -  { \
   11.63 -    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
   11.64 -  }; \
   11.65 -  for flg in $$sane_makeflags; do \
   11.66 -    test $$skip_next = yes && { skip_next=no; continue; }; \
   11.67 -    case $$flg in \
   11.68 -      *=*|--*) continue;; \
   11.69 -        -*I) strip_trailopt 'I'; skip_next=yes;; \
   11.70 -      -*I?*) strip_trailopt 'I';; \
   11.71 -        -*O) strip_trailopt 'O'; skip_next=yes;; \
   11.72 -      -*O?*) strip_trailopt 'O';; \
   11.73 -        -*l) strip_trailopt 'l'; skip_next=yes;; \
   11.74 -      -*l?*) strip_trailopt 'l';; \
   11.75 -      -[dEDm]) skip_next=yes;; \
   11.76 -      -[JT]) skip_next=yes;; \
   11.77 -    esac; \
   11.78 -    case $$flg in \
   11.79 -      *$$target_option*) has_opt=yes; break;; \
   11.80 -    esac; \
   11.81 -  done; \
   11.82 -  test $$has_opt = yes
   11.83 -am__make_dryrun = (target_option=n; $(am__make_running_with_option))
   11.84 -am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
   11.85 -pkgdatadir = $(datadir)/@PACKAGE@
   11.86 -pkgincludedir = $(includedir)/@PACKAGE@
   11.87 -pkglibdir = $(libdir)/@PACKAGE@
   11.88 -pkglibexecdir = $(libexecdir)/@PACKAGE@
   11.89 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
   11.90 -install_sh_DATA = $(install_sh) -c -m 644
   11.91 -install_sh_PROGRAM = $(install_sh) -c
   11.92 -install_sh_SCRIPT = $(install_sh) -c
   11.93 -INSTALL_HEADER = $(INSTALL_DATA)
   11.94 -transform = $(program_transform_name)
   11.95 -NORMAL_INSTALL = :
   11.96 -PRE_INSTALL = :
   11.97 -POST_INSTALL = :
   11.98 -NORMAL_UNINSTALL = :
   11.99 -PRE_UNINSTALL = :
  11.100 -POST_UNINSTALL = :
  11.101 -build_triplet = @build@
  11.102 -host_triplet = @host@
  11.103 -target_triplet = @target@
  11.104 -@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/libjpeg.map
  11.105 -bin_PROGRAMS = cjpeg$(EXEEXT) djpeg$(EXEEXT) jpegtran$(EXEEXT) \
  11.106 -	rdjpgcom$(EXEEXT) wrjpgcom$(EXEEXT)
  11.107 -subdir = .
  11.108 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  11.109 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  11.110 -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  11.111 -	$(ACLOCAL_M4)
  11.112 -DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  11.113 -	$(am__configure_deps) $(include_HEADERS) $(noinst_HEADERS)
  11.114 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  11.115 - configure.lineno config.status.lineno
  11.116 -mkinstalldirs = $(install_sh) -d
  11.117 -CONFIG_HEADER = jconfig.h
  11.118 -CONFIG_CLEAN_FILES = libjpeg.pc
  11.119 -CONFIG_CLEAN_VPATH_FILES =
  11.120 -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  11.121 -am__vpath_adj = case $$p in \
  11.122 -    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  11.123 -    *) f=$$p;; \
  11.124 -  esac;
  11.125 -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  11.126 -am__install_max = 40
  11.127 -am__nobase_strip_setup = \
  11.128 -  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  11.129 -am__nobase_strip = \
  11.130 -  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  11.131 -am__nobase_list = $(am__nobase_strip_setup); \
  11.132 -  for p in $$list; do echo "$$p $$p"; done | \
  11.133 -  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  11.134 -  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  11.135 -    if (++n[$$2] == $(am__install_max)) \
  11.136 -      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  11.137 -    END { for (dir in files) print dir, files[dir] }'
  11.138 -am__base_list = \
  11.139 -  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  11.140 -  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  11.141 -am__uninstall_files_from_dir = { \
  11.142 -  test -z "$$files" \
  11.143 -    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  11.144 -    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  11.145 -         $(am__cd) "$$dir" && rm -f $$files; }; \
  11.146 -  }
  11.147 -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  11.148 -	"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)" \
  11.149 -	"$(DESTDIR)$(includedir)"
  11.150 -LTLIBRARIES = $(lib_LTLIBRARIES)
  11.151 -libjpeg_la_LIBADD =
  11.152 -am__objects_1 = jaricom.lo jcapimin.lo jcapistd.lo jcarith.lo \
  11.153 -	jccoefct.lo jccolor.lo jcdctmgr.lo jchuff.lo jcinit.lo \
  11.154 -	jcmainct.lo jcmarker.lo jcmaster.lo jcomapi.lo jcparam.lo \
  11.155 -	jcprepct.lo jcsample.lo jctrans.lo jdapimin.lo jdapistd.lo \
  11.156 -	jdarith.lo jdatadst.lo jdatasrc.lo jdcoefct.lo jdcolor.lo \
  11.157 -	jddctmgr.lo jdhuff.lo jdinput.lo jdmainct.lo jdmarker.lo \
  11.158 -	jdmaster.lo jdmerge.lo jdpostct.lo jdsample.lo jdtrans.lo \
  11.159 -	jerror.lo jfdctflt.lo jfdctfst.lo jfdctint.lo jidctflt.lo \
  11.160 -	jidctfst.lo jidctint.lo jquant1.lo jquant2.lo jutils.lo \
  11.161 -	jmemmgr.lo @MEMORYMGR@.lo
  11.162 -am_libjpeg_la_OBJECTS = $(am__objects_1)
  11.163 -libjpeg_la_OBJECTS = $(am_libjpeg_la_OBJECTS)
  11.164 -AM_V_lt = $(am__v_lt_@AM_V@)
  11.165 -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  11.166 -am__v_lt_0 = --silent
  11.167 -am__v_lt_1 = 
  11.168 -libjpeg_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  11.169 -	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  11.170 -	$(libjpeg_la_LDFLAGS) $(LDFLAGS) -o $@
  11.171 -PROGRAMS = $(bin_PROGRAMS)
  11.172 -am_cjpeg_OBJECTS = cjpeg.$(OBJEXT) rdppm.$(OBJEXT) rdgif.$(OBJEXT) \
  11.173 -	rdtarga.$(OBJEXT) rdrle.$(OBJEXT) rdbmp.$(OBJEXT) \
  11.174 -	rdswitch.$(OBJEXT) cdjpeg.$(OBJEXT)
  11.175 -cjpeg_OBJECTS = $(am_cjpeg_OBJECTS)
  11.176 -cjpeg_DEPENDENCIES = libjpeg.la
  11.177 -am_djpeg_OBJECTS = djpeg.$(OBJEXT) wrppm.$(OBJEXT) wrgif.$(OBJEXT) \
  11.178 -	wrtarga.$(OBJEXT) wrrle.$(OBJEXT) wrbmp.$(OBJEXT) \
  11.179 -	rdcolmap.$(OBJEXT) cdjpeg.$(OBJEXT)
  11.180 -djpeg_OBJECTS = $(am_djpeg_OBJECTS)
  11.181 -djpeg_DEPENDENCIES = libjpeg.la
  11.182 -am_jpegtran_OBJECTS = jpegtran.$(OBJEXT) rdswitch.$(OBJEXT) \
  11.183 -	cdjpeg.$(OBJEXT) transupp.$(OBJEXT)
  11.184 -jpegtran_OBJECTS = $(am_jpegtran_OBJECTS)
  11.185 -jpegtran_DEPENDENCIES = libjpeg.la
  11.186 -am_rdjpgcom_OBJECTS = rdjpgcom.$(OBJEXT)
  11.187 -rdjpgcom_OBJECTS = $(am_rdjpgcom_OBJECTS)
  11.188 -rdjpgcom_LDADD = $(LDADD)
  11.189 -am_wrjpgcom_OBJECTS = wrjpgcom.$(OBJEXT)
  11.190 -wrjpgcom_OBJECTS = $(am_wrjpgcom_OBJECTS)
  11.191 -wrjpgcom_LDADD = $(LDADD)
  11.192 -AM_V_P = $(am__v_P_@AM_V@)
  11.193 -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  11.194 -am__v_P_0 = false
  11.195 -am__v_P_1 = :
  11.196 -AM_V_GEN = $(am__v_GEN_@AM_V@)
  11.197 -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  11.198 -am__v_GEN_0 = @echo "  GEN     " $@;
  11.199 -am__v_GEN_1 = 
  11.200 -AM_V_at = $(am__v_at_@AM_V@)
  11.201 -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  11.202 -am__v_at_0 = @
  11.203 -am__v_at_1 = 
  11.204 -DEFAULT_INCLUDES = -I.@am__isrc@
  11.205 -depcomp = $(SHELL) $(top_srcdir)/depcomp
  11.206 -am__depfiles_maybe = depfiles
  11.207 -am__mv = mv -f
  11.208 -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  11.209 -	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  11.210 -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  11.211 -	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  11.212 -	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  11.213 -	$(AM_CFLAGS) $(CFLAGS)
  11.214 -AM_V_CC = $(am__v_CC_@AM_V@)
  11.215 -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  11.216 -am__v_CC_0 = @echo "  CC      " $@;
  11.217 -am__v_CC_1 = 
  11.218 -CCLD = $(CC)
  11.219 -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  11.220 -	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  11.221 -	$(AM_LDFLAGS) $(LDFLAGS) -o $@
  11.222 -AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  11.223 -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  11.224 -am__v_CCLD_0 = @echo "  CCLD    " $@;
  11.225 -am__v_CCLD_1 = 
  11.226 -SOURCES = $(libjpeg_la_SOURCES) $(cjpeg_SOURCES) $(djpeg_SOURCES) \
  11.227 -	$(jpegtran_SOURCES) $(rdjpgcom_SOURCES) $(wrjpgcom_SOURCES)
  11.228 -am__can_run_installinfo = \
  11.229 -  case $$AM_UPDATE_INFO_DIR in \
  11.230 -    n|no|NO) false;; \
  11.231 -    *) (install-info --version) >/dev/null 2>&1;; \
  11.232 -  esac
  11.233 -man1dir = $(mandir)/man1
  11.234 -NROFF = nroff
  11.235 -MANS = $(man_MANS)
  11.236 -DATA = $(nodist_pkgconfig_DATA)
  11.237 -HEADERS = $(include_HEADERS) $(noinst_HEADERS)
  11.238 -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
  11.239 -	$(LISP)jconfig.cfg
  11.240 -# Read a list of newline-separated strings from the standard input,
  11.241 -# and print each of them once, without duplicates.  Input order is
  11.242 -# *not* preserved.
  11.243 -am__uniquify_input = $(AWK) '\
  11.244 -  BEGIN { nonempty = 0; } \
  11.245 -  { items[$$0] = 1; nonempty = 1; } \
  11.246 -  END { if (nonempty) { for (i in items) print i; }; } \
  11.247 -'
  11.248 -# Make sure the list of sources is unique.  This is necessary because,
  11.249 -# e.g., the same source file might be shared among _SOURCES variables
  11.250 -# for different programs/libraries.
  11.251 -am__define_uniq_tagged_files = \
  11.252 -  list='$(am__tagged_files)'; \
  11.253 -  unique=`for i in $$list; do \
  11.254 -    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  11.255 -  done | $(am__uniquify_input)`
  11.256 -ETAGS = etags
  11.257 -CTAGS = ctags
  11.258 -CSCOPE = cscope
  11.259 -AM_RECURSIVE_TARGETS = cscope
  11.260 -ACLOCAL = @ACLOCAL@
  11.261 -AMTAR = @AMTAR@
  11.262 -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  11.263 -AR = @AR@
  11.264 -AS = @AS@
  11.265 -AUTOCONF = @AUTOCONF@
  11.266 -AUTOHEADER = @AUTOHEADER@
  11.267 -AUTOMAKE = @AUTOMAKE@
  11.268 -AWK = @AWK@
  11.269 -CC = @CC@
  11.270 -CCDEPMODE = @CCDEPMODE@
  11.271 -CFLAGS = @CFLAGS@
  11.272 -CPP = @CPP@
  11.273 -CPPFLAGS = @CPPFLAGS@
  11.274 -CYGPATH_W = @CYGPATH_W@
  11.275 -DEFS = @DEFS@
  11.276 -DEPDIR = @DEPDIR@
  11.277 -DLLTOOL = @DLLTOOL@
  11.278 -DSYMUTIL = @DSYMUTIL@
  11.279 -DUMPBIN = @DUMPBIN@
  11.280 -ECHO_C = @ECHO_C@
  11.281 -ECHO_N = @ECHO_N@
  11.282 -ECHO_T = @ECHO_T@
  11.283 -EGREP = @EGREP@
  11.284 -EXEEXT = @EXEEXT@
  11.285 -FGREP = @FGREP@
  11.286 -GREP = @GREP@
  11.287 -INSTALL = @INSTALL@
  11.288 -INSTALL_DATA = @INSTALL_DATA@
  11.289 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
  11.290 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
  11.291 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  11.292 -JPEG_LIB_VERSION = @JPEG_LIB_VERSION@
  11.293 -LD = @LD@
  11.294 -LDFLAGS = @LDFLAGS@
  11.295 -LIBOBJS = @LIBOBJS@
  11.296 -LIBS = @LIBS@
  11.297 -LIBTOOL = @LIBTOOL@
  11.298 -LIPO = @LIPO@
  11.299 -LN_S = @LN_S@
  11.300 -LTLIBOBJS = @LTLIBOBJS@
  11.301 -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  11.302 -MAINT = @MAINT@
  11.303 -MAKEINFO = @MAKEINFO@
  11.304 -MANIFEST_TOOL = @MANIFEST_TOOL@
  11.305 -MEMORYMGR = @MEMORYMGR@
  11.306 -MKDIR_P = @MKDIR_P@
  11.307 -NM = @NM@
  11.308 -NMEDIT = @NMEDIT@
  11.309 -OBJDUMP = @OBJDUMP@
  11.310 -OBJEXT = @OBJEXT@
  11.311 -OTOOL = @OTOOL@
  11.312 -OTOOL64 = @OTOOL64@
  11.313 -PACKAGE = @PACKAGE@
  11.314 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  11.315 -PACKAGE_NAME = @PACKAGE_NAME@
  11.316 -PACKAGE_STRING = @PACKAGE_STRING@
  11.317 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
  11.318 -PACKAGE_URL = @PACKAGE_URL@
  11.319 -PACKAGE_VERSION = @PACKAGE_VERSION@
  11.320 -PATH_SEPARATOR = @PATH_SEPARATOR@
  11.321 -RANLIB = @RANLIB@
  11.322 -SED = @SED@
  11.323 -SET_MAKE = @SET_MAKE@
  11.324 -SHELL = @SHELL@
  11.325 -STRIP = @STRIP@
  11.326 -VERSION = @VERSION@
  11.327 -abs_builddir = @abs_builddir@
  11.328 -abs_srcdir = @abs_srcdir@
  11.329 -abs_top_builddir = @abs_top_builddir@
  11.330 -abs_top_srcdir = @abs_top_srcdir@
  11.331 -ac_ct_AR = @ac_ct_AR@
  11.332 -ac_ct_CC = @ac_ct_CC@
  11.333 -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  11.334 -am__include = @am__include@
  11.335 -am__leading_dot = @am__leading_dot@
  11.336 -am__quote = @am__quote@
  11.337 -am__tar = @am__tar@
  11.338 -am__untar = @am__untar@
  11.339 -bindir = @bindir@
  11.340 -build = @build@
  11.341 -build_alias = @build_alias@
  11.342 -build_cpu = @build_cpu@
  11.343 -build_os = @build_os@
  11.344 -build_vendor = @build_vendor@
  11.345 -builddir = @builddir@
  11.346 -datadir = @datadir@
  11.347 -datarootdir = @datarootdir@
  11.348 -docdir = @docdir@
  11.349 -dvidir = @dvidir@
  11.350 -exec_prefix = @exec_prefix@
  11.351 -host = @host@
  11.352 -host_alias = @host_alias@
  11.353 -host_cpu = @host_cpu@
  11.354 -host_os = @host_os@
  11.355 -host_vendor = @host_vendor@
  11.356 -htmldir = @htmldir@
  11.357 -includedir = @includedir@
  11.358 -infodir = @infodir@
  11.359 -install_sh = @install_sh@
  11.360 -libdir = @libdir@
  11.361 -libexecdir = @libexecdir@
  11.362 -localedir = @localedir@
  11.363 -localstatedir = @localstatedir@
  11.364 -mandir = @mandir@
  11.365 -mkdir_p = @mkdir_p@
  11.366 -oldincludedir = @oldincludedir@
  11.367 -pdfdir = @pdfdir@
  11.368 -prefix = @prefix@
  11.369 -program_transform_name = @program_transform_name@
  11.370 -psdir = @psdir@
  11.371 -sbindir = @sbindir@
  11.372 -sharedstatedir = @sharedstatedir@
  11.373 -srcdir = @srcdir@
  11.374 -sysconfdir = @sysconfdir@
  11.375 -target = @target@
  11.376 -target_alias = @target_alias@
  11.377 -target_cpu = @target_cpu@
  11.378 -target_os = @target_os@
  11.379 -target_vendor = @target_vendor@
  11.380 -top_build_prefix = @top_build_prefix@
  11.381 -top_builddir = @top_builddir@
  11.382 -top_srcdir = @top_srcdir@
  11.383 -
  11.384 -# Sources to build library
  11.385 -LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
  11.386 -        jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
  11.387 -        jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
  11.388 -        jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
  11.389 -        jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
  11.390 -        jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
  11.391 -        jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
  11.392 -        jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c
  11.393 -
  11.394 -
  11.395 -# System dependent sources
  11.396 -SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
  11.397 -
  11.398 -# Headers which are installed to support the library
  11.399 -INSTINCLUDES = jerror.h jmorecfg.h jpeglib.h
  11.400 -
  11.401 -# Headers which are not installed
  11.402 -OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \
  11.403 -        jversion.h transupp.h
  11.404 -
  11.405 -
  11.406 -# Manual pages (Automake uses 'MANS' for itself)
  11.407 -DISTMANS = cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
  11.408 -
  11.409 -# Other documentation files
  11.410 -DOCS = README install.txt usage.txt wizard.txt example.c libjpeg.txt \
  11.411 -        structure.txt coderules.txt filelist.txt change.log
  11.412 -
  11.413 -
  11.414 -# Makefiles for various systems
  11.415 -MKFILES = configure Makefile.in makefile.ansi makefile.unix makefile.b32 \
  11.416 -        makefile.bcc makefile.mc6 makefile.dj makefile.wat makefile.vc \
  11.417 -        makefile.vs makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 \
  11.418 -        makejmak.vc6 makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 \
  11.419 -        makeddsp.vc6 makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 \
  11.420 -        makerdep.vc6 makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 \
  11.421 -        makewmak.vc6 makejsln.v15 makeasln.v15 makejvcx.v15 makejfil.v15 \
  11.422 -        makecvcx.v15 makecfil.v15 makedvcx.v15 makedfil.v15 maketvcx.v15 \
  11.423 -        maketfil.v15 makervcx.v15 makerfil.v15 makewvcx.v15 makewfil.v15 \
  11.424 -        makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st maktjpeg.st \
  11.425 -        makefile.manx makefile.sas makefile.mms makefile.vms makvms.opt
  11.426 -
  11.427 -
  11.428 -# Configuration files
  11.429 -CONFIGFILES = jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
  11.430 -        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
  11.431 -        jconfig.vms
  11.432 -
  11.433 -
  11.434 -# Support scripts for configure
  11.435 -CONFIGUREFILES = config.guess config.sub install-sh ltmain.sh depcomp \
  11.436 -        missing ar-lib
  11.437 -
  11.438 -
  11.439 -# Miscellaneous support files
  11.440 -OTHERFILES = jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map libjpeg.pc.in
  11.441 -
  11.442 -# Test support files
  11.443 -TESTFILES = testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
  11.444 -        testimgp.jpg
  11.445 -
  11.446 -
  11.447 -# libtool libraries to build
  11.448 -lib_LTLIBRARIES = libjpeg.la
  11.449 -
  11.450 -# Library sources for libjpeg.la
  11.451 -libjpeg_la_SOURCES = $(LIBSOURCES)
  11.452 -
  11.453 -# LDFLAGS for libjpeg.la
  11.454 -libjpeg_la_LDFLAGS = -no-undefined -version-info $(JPEG_LIB_VERSION) \
  11.455 -	$(am__append_1)
  11.456 -
  11.457 -# Executable sources & libs
  11.458 -cjpeg_SOURCES = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \
  11.459 -        rdswitch.c cdjpeg.c
  11.460 -
  11.461 -cjpeg_LDADD = libjpeg.la
  11.462 -djpeg_SOURCES = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \
  11.463 -        rdcolmap.c cdjpeg.c
  11.464 -
  11.465 -djpeg_LDADD = libjpeg.la
  11.466 -jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c
  11.467 -jpegtran_LDADD = libjpeg.la
  11.468 -rdjpgcom_SOURCES = rdjpgcom.c
  11.469 -wrjpgcom_SOURCES = wrjpgcom.c
  11.470 -
  11.471 -# Manual pages to install
  11.472 -man_MANS = $(DISTMANS)
  11.473 -
  11.474 -# Headers to install
  11.475 -include_HEADERS = $(INSTINCLUDES)
  11.476 -
  11.477 -# Other distributed headers
  11.478 -noinst_HEADERS = $(OTHERINCLUDES)
  11.479 -
  11.480 -# Other distributed files
  11.481 -EXTRA_DIST = $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \
  11.482 -        $(OTHERFILES) $(TESTFILES)
  11.483 -
  11.484 -
  11.485 -# pkg-config file
  11.486 -pkgconfigdir = $(libdir)/pkgconfig
  11.487 -nodist_pkgconfig_DATA = libjpeg.pc
  11.488 -
  11.489 -# Files to be cleaned
  11.490 -CLEANFILES = testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg \
  11.491 -        testoutt.jpg
  11.492 -
  11.493 -all: jconfig.h
  11.494 -	$(MAKE) $(AM_MAKEFLAGS) all-am
  11.495 -
  11.496 -.SUFFIXES:
  11.497 -.SUFFIXES: .c .lo .o .obj
  11.498 -am--refresh: Makefile
  11.499 -	@:
  11.500 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
  11.501 -	@for dep in $?; do \
  11.502 -	  case '$(am__configure_deps)' in \
  11.503 -	    *$$dep*) \
  11.504 -	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  11.505 -	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  11.506 -		&& exit 0; \
  11.507 -	      exit 1;; \
  11.508 -	  esac; \
  11.509 -	done; \
  11.510 -	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  11.511 -	$(am__cd) $(top_srcdir) && \
  11.512 -	  $(AUTOMAKE) --foreign Makefile
  11.513 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  11.514 -	@case '$?' in \
  11.515 -	  *config.status*) \
  11.516 -	    echo ' $(SHELL) ./config.status'; \
  11.517 -	    $(SHELL) ./config.status;; \
  11.518 -	  *) \
  11.519 -	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  11.520 -	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  11.521 -	esac;
  11.522 -
  11.523 -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  11.524 -	$(SHELL) ./config.status --recheck
  11.525 -
  11.526 -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  11.527 -	$(am__cd) $(srcdir) && $(AUTOCONF)
  11.528 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  11.529 -	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  11.530 -$(am__aclocal_m4_deps):
  11.531 -
  11.532 -jconfig.h: stamp-h1
  11.533 -	@test -f $@ || rm -f stamp-h1
  11.534 -	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
  11.535 -
  11.536 -stamp-h1: $(srcdir)/jconfig.cfg $(top_builddir)/config.status
  11.537 -	@rm -f stamp-h1
  11.538 -	cd $(top_builddir) && $(SHELL) ./config.status jconfig.h
  11.539 -$(srcdir)/jconfig.cfg: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
  11.540 -	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  11.541 -	rm -f stamp-h1
  11.542 -	touch $@
  11.543 -
  11.544 -distclean-hdr:
  11.545 -	-rm -f jconfig.h stamp-h1
  11.546 -libjpeg.pc: $(top_builddir)/config.status $(srcdir)/libjpeg.pc.in
  11.547 -	cd $(top_builddir) && $(SHELL) ./config.status $@
  11.548 -
  11.549 -install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  11.550 -	@$(NORMAL_INSTALL)
  11.551 -	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  11.552 -	list2=; for p in $$list; do \
  11.553 -	  if test -f $$p; then \
  11.554 -	    list2="$$list2 $$p"; \
  11.555 -	  else :; fi; \
  11.556 -	done; \
  11.557 -	test -z "$$list2" || { \
  11.558 -	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
  11.559 -	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
  11.560 -	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  11.561 -	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  11.562 -	}
  11.563 -
  11.564 -uninstall-libLTLIBRARIES:
  11.565 -	@$(NORMAL_UNINSTALL)
  11.566 -	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  11.567 -	for p in $$list; do \
  11.568 -	  $(am__strip_dir) \
  11.569 -	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  11.570 -	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  11.571 -	done
  11.572 -
  11.573 -clean-libLTLIBRARIES:
  11.574 -	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  11.575 -	@list='$(lib_LTLIBRARIES)'; \
  11.576 -	locs=`for p in $$list; do echo $$p; done | \
  11.577 -	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  11.578 -	      sort -u`; \
  11.579 -	test -z "$$locs" || { \
  11.580 -	  echo rm -f $${locs}; \
  11.581 -	  rm -f $${locs}; \
  11.582 -	}
  11.583 -
  11.584 -libjpeg.la: $(libjpeg_la_OBJECTS) $(libjpeg_la_DEPENDENCIES) $(EXTRA_libjpeg_la_DEPENDENCIES) 
  11.585 -	$(AM_V_CCLD)$(libjpeg_la_LINK) -rpath $(libdir) $(libjpeg_la_OBJECTS) $(libjpeg_la_LIBADD) $(LIBS)
  11.586 -install-binPROGRAMS: $(bin_PROGRAMS)
  11.587 -	@$(NORMAL_INSTALL)
  11.588 -	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  11.589 -	if test -n "$$list"; then \
  11.590 -	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  11.591 -	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  11.592 -	fi; \
  11.593 -	for p in $$list; do echo "$$p $$p"; done | \
  11.594 -	sed 's/$(EXEEXT)$$//' | \
  11.595 -	while read p p1; do if test -f $$p \
  11.596 -	 || test -f $$p1 \
  11.597 -	  ; then echo "$$p"; echo "$$p"; else :; fi; \
  11.598 -	done | \
  11.599 -	sed -e 'p;s,.*/,,;n;h' \
  11.600 -	    -e 's|.*|.|' \
  11.601 -	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  11.602 -	sed 'N;N;N;s,\n, ,g' | \
  11.603 -	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  11.604 -	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  11.605 -	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
  11.606 -	    else { print "f", $$3 "/" $$4, $$1; } } \
  11.607 -	  END { for (d in files) print "f", d, files[d] }' | \
  11.608 -	while read type dir files; do \
  11.609 -	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  11.610 -	    test -z "$$files" || { \
  11.611 -	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  11.612 -	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  11.613 -	    } \
  11.614 -	; done
  11.615 -
  11.616 -uninstall-binPROGRAMS:
  11.617 -	@$(NORMAL_UNINSTALL)
  11.618 -	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  11.619 -	files=`for p in $$list; do echo "$$p"; done | \
  11.620 -	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  11.621 -	      -e 's/$$/$(EXEEXT)/' \
  11.622 -	`; \
  11.623 -	test -n "$$list" || exit 0; \
  11.624 -	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  11.625 -	cd "$(DESTDIR)$(bindir)" && rm -f $$files
  11.626 -
  11.627 -clean-binPROGRAMS:
  11.628 -	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  11.629 -	echo " rm -f" $$list; \
  11.630 -	rm -f $$list || exit $$?; \
  11.631 -	test -n "$(EXEEXT)" || exit 0; \
  11.632 -	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  11.633 -	echo " rm -f" $$list; \
  11.634 -	rm -f $$list
  11.635 -
  11.636 -cjpeg$(EXEEXT): $(cjpeg_OBJECTS) $(cjpeg_DEPENDENCIES) $(EXTRA_cjpeg_DEPENDENCIES) 
  11.637 -	@rm -f cjpeg$(EXEEXT)
  11.638 -	$(AM_V_CCLD)$(LINK) $(cjpeg_OBJECTS) $(cjpeg_LDADD) $(LIBS)
  11.639 -
  11.640 -djpeg$(EXEEXT): $(djpeg_OBJECTS) $(djpeg_DEPENDENCIES) $(EXTRA_djpeg_DEPENDENCIES) 
  11.641 -	@rm -f djpeg$(EXEEXT)
  11.642 -	$(AM_V_CCLD)$(LINK) $(djpeg_OBJECTS) $(djpeg_LDADD) $(LIBS)
  11.643 -
  11.644 -jpegtran$(EXEEXT): $(jpegtran_OBJECTS) $(jpegtran_DEPENDENCIES) $(EXTRA_jpegtran_DEPENDENCIES) 
  11.645 -	@rm -f jpegtran$(EXEEXT)
  11.646 -	$(AM_V_CCLD)$(LINK) $(jpegtran_OBJECTS) $(jpegtran_LDADD) $(LIBS)
  11.647 -
  11.648 -rdjpgcom$(EXEEXT): $(rdjpgcom_OBJECTS) $(rdjpgcom_DEPENDENCIES) $(EXTRA_rdjpgcom_DEPENDENCIES) 
  11.649 -	@rm -f rdjpgcom$(EXEEXT)
  11.650 -	$(AM_V_CCLD)$(LINK) $(rdjpgcom_OBJECTS) $(rdjpgcom_LDADD) $(LIBS)
  11.651 -
  11.652 -wrjpgcom$(EXEEXT): $(wrjpgcom_OBJECTS) $(wrjpgcom_DEPENDENCIES) $(EXTRA_wrjpgcom_DEPENDENCIES) 
  11.653 -	@rm -f wrjpgcom$(EXEEXT)
  11.654 -	$(AM_V_CCLD)$(LINK) $(wrjpgcom_OBJECTS) $(wrjpgcom_LDADD) $(LIBS)
  11.655 -
  11.656 -mostlyclean-compile:
  11.657 -	-rm -f *.$(OBJEXT)
  11.658 -
  11.659 -distclean-compile:
  11.660 -	-rm -f *.tab.c
  11.661 -
  11.662 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/@MEMORYMGR@.Plo@am__quote@
  11.663 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdjpeg.Po@am__quote@
  11.664 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cjpeg.Po@am__quote@
  11.665 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/djpeg.Po@am__quote@
  11.666 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jaricom.Plo@am__quote@
  11.667 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcapimin.Plo@am__quote@
  11.668 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcapistd.Plo@am__quote@
  11.669 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcarith.Plo@am__quote@
  11.670 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jccoefct.Plo@am__quote@
  11.671 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jccolor.Plo@am__quote@
  11.672 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcdctmgr.Plo@am__quote@
  11.673 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jchuff.Plo@am__quote@
  11.674 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcinit.Plo@am__quote@
  11.675 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmainct.Plo@am__quote@
  11.676 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmarker.Plo@am__quote@
  11.677 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmaster.Plo@am__quote@
  11.678 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcomapi.Plo@am__quote@
  11.679 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcparam.Plo@am__quote@
  11.680 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcprepct.Plo@am__quote@
  11.681 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcsample.Plo@am__quote@
  11.682 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jctrans.Plo@am__quote@
  11.683 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdapimin.Plo@am__quote@
  11.684 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdapistd.Plo@am__quote@
  11.685 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdarith.Plo@am__quote@
  11.686 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdatadst.Plo@am__quote@
  11.687 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdatasrc.Plo@am__quote@
  11.688 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdcoefct.Plo@am__quote@
  11.689 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdcolor.Plo@am__quote@
  11.690 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jddctmgr.Plo@am__quote@
  11.691 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdhuff.Plo@am__quote@
  11.692 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdinput.Plo@am__quote@
  11.693 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmainct.Plo@am__quote@
  11.694 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmarker.Plo@am__quote@
  11.695 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmaster.Plo@am__quote@
  11.696 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmerge.Plo@am__quote@
  11.697 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdpostct.Plo@am__quote@
  11.698 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdsample.Plo@am__quote@
  11.699 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdtrans.Plo@am__quote@
  11.700 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jerror.Plo@am__quote@
  11.701 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctflt.Plo@am__quote@
  11.702 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctfst.Plo@am__quote@
  11.703 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctint.Plo@am__quote@
  11.704 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctflt.Plo@am__quote@
  11.705 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctfst.Plo@am__quote@
  11.706 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctint.Plo@am__quote@
  11.707 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jmemmgr.Plo@am__quote@
  11.708 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jpegtran.Po@am__quote@
  11.709 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jquant1.Plo@am__quote@
  11.710 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jquant2.Plo@am__quote@
  11.711 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jutils.Plo@am__quote@
  11.712 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdbmp.Po@am__quote@
  11.713 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdcolmap.Po@am__quote@
  11.714 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdgif.Po@am__quote@
  11.715 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdjpgcom.Po@am__quote@
  11.716 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdppm.Po@am__quote@
  11.717 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdrle.Po@am__quote@
  11.718 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdswitch.Po@am__quote@
  11.719 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdtarga.Po@am__quote@
  11.720 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transupp.Po@am__quote@
  11.721 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrbmp.Po@am__quote@
  11.722 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrgif.Po@am__quote@
  11.723 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrjpgcom.Po@am__quote@
  11.724 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrppm.Po@am__quote@
  11.725 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrrle.Po@am__quote@
  11.726 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrtarga.Po@am__quote@
  11.727 -
  11.728 -.c.o:
  11.729 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  11.730 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  11.731 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  11.732 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  11.733 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  11.734 -
  11.735 -.c.obj:
  11.736 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  11.737 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  11.738 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  11.739 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  11.740 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  11.741 -
  11.742 -.c.lo:
  11.743 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  11.744 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  11.745 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  11.746 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  11.747 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  11.748 -
  11.749 -mostlyclean-libtool:
  11.750 -	-rm -f *.lo
  11.751 -
  11.752 -clean-libtool:
  11.753 -	-rm -rf .libs _libs
  11.754 -
  11.755 -distclean-libtool:
  11.756 -	-rm -f libtool config.lt
  11.757 -install-man1: $(man_MANS)
  11.758 -	@$(NORMAL_INSTALL)
  11.759 -	@list1=''; \
  11.760 -	list2='$(man_MANS)'; \
  11.761 -	test -n "$(man1dir)" \
  11.762 -	  && test -n "`echo $$list1$$list2`" \
  11.763 -	  || exit 0; \
  11.764 -	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  11.765 -	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  11.766 -	{ for i in $$list1; do echo "$$i"; done;  \
  11.767 -	if test -n "$$list2"; then \
  11.768 -	  for i in $$list2; do echo "$$i"; done \
  11.769 -	    | sed -n '/\.1[a-z]*$$/p'; \
  11.770 -	fi; \
  11.771 -	} | while read p; do \
  11.772 -	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  11.773 -	  echo "$$d$$p"; echo "$$p"; \
  11.774 -	done | \
  11.775 -	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  11.776 -	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  11.777 -	sed 'N;N;s,\n, ,g' | { \
  11.778 -	list=; while read file base inst; do \
  11.779 -	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  11.780 -	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  11.781 -	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  11.782 -	  fi; \
  11.783 -	done; \
  11.784 -	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  11.785 -	while read files; do \
  11.786 -	  test -z "$$files" || { \
  11.787 -	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  11.788 -	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  11.789 -	done; }
  11.790 -
  11.791 -uninstall-man1:
  11.792 -	@$(NORMAL_UNINSTALL)
  11.793 -	@list=''; test -n "$(man1dir)" || exit 0; \
  11.794 -	files=`{ for i in $$list; do echo "$$i"; done; \
  11.795 -	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  11.796 -	  sed -n '/\.1[a-z]*$$/p'; \
  11.797 -	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  11.798 -	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  11.799 -	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  11.800 -install-nodist_pkgconfigDATA: $(nodist_pkgconfig_DATA)
  11.801 -	@$(NORMAL_INSTALL)
  11.802 -	@list='$(nodist_pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  11.803 -	if test -n "$$list"; then \
  11.804 -	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
  11.805 -	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
  11.806 -	fi; \
  11.807 -	for p in $$list; do \
  11.808 -	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  11.809 -	  echo "$$d$$p"; \
  11.810 -	done | $(am__base_list) | \
  11.811 -	while read files; do \
  11.812 -	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
  11.813 -	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
  11.814 -	done
  11.815 -
  11.816 -uninstall-nodist_pkgconfigDATA:
  11.817 -	@$(NORMAL_UNINSTALL)
  11.818 -	@list='$(nodist_pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
  11.819 -	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  11.820 -	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
  11.821 -install-includeHEADERS: $(include_HEADERS)
  11.822 -	@$(NORMAL_INSTALL)
  11.823 -	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  11.824 -	if test -n "$$list"; then \
  11.825 -	  echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  11.826 -	  $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  11.827 -	fi; \
  11.828 -	for p in $$list; do \
  11.829 -	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  11.830 -	  echo "$$d$$p"; \
  11.831 -	done | $(am__base_list) | \
  11.832 -	while read files; do \
  11.833 -	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  11.834 -	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  11.835 -	done
  11.836 -
  11.837 -uninstall-includeHEADERS:
  11.838 -	@$(NORMAL_UNINSTALL)
  11.839 -	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  11.840 -	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  11.841 -	dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  11.842 -
  11.843 -ID: $(am__tagged_files)
  11.844 -	$(am__define_uniq_tagged_files); mkid -fID $$unique
  11.845 -tags: tags-am
  11.846 -TAGS: tags
  11.847 -
  11.848 -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  11.849 -	set x; \
  11.850 -	here=`pwd`; \
  11.851 -	$(am__define_uniq_tagged_files); \
  11.852 -	shift; \
  11.853 -	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  11.854 -	  test -n "$$unique" || unique=$$empty_fix; \
  11.855 -	  if test $$# -gt 0; then \
  11.856 -	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  11.857 -	      "$$@" $$unique; \
  11.858 -	  else \
  11.859 -	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  11.860 -	      $$unique; \
  11.861 -	  fi; \
  11.862 -	fi
  11.863 -ctags: ctags-am
  11.864 -
  11.865 -CTAGS: ctags
  11.866 -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  11.867 -	$(am__define_uniq_tagged_files); \
  11.868 -	test -z "$(CTAGS_ARGS)$$unique" \
  11.869 -	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  11.870 -	     $$unique
  11.871 -
  11.872 -GTAGS:
  11.873 -	here=`$(am__cd) $(top_builddir) && pwd` \
  11.874 -	  && $(am__cd) $(top_srcdir) \
  11.875 -	  && gtags -i $(GTAGS_ARGS) "$$here"
  11.876 -cscope: cscope.files
  11.877 -	test ! -s cscope.files \
  11.878 -	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  11.879 -clean-cscope:
  11.880 -	-rm -f cscope.files
  11.881 -cscope.files: clean-cscope cscopelist
  11.882 -cscopelist: cscopelist-am
  11.883 -
  11.884 -cscopelist-am: $(am__tagged_files)
  11.885 -	list='$(am__tagged_files)'; \
  11.886 -	case "$(srcdir)" in \
  11.887 -	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  11.888 -	  *) sdir=$(subdir)/$(srcdir) ;; \
  11.889 -	esac; \
  11.890 -	for i in $$list; do \
  11.891 -	  if test -f "$$i"; then \
  11.892 -	    echo "$(subdir)/$$i"; \
  11.893 -	  else \
  11.894 -	    echo "$$sdir/$$i"; \
  11.895 -	  fi; \
  11.896 -	done >> $(top_builddir)/cscope.files
  11.897 -
  11.898 -distclean-tags:
  11.899 -	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  11.900 -	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  11.901 -check-am: all-am
  11.902 -	$(MAKE) $(AM_MAKEFLAGS) check-local
  11.903 -check: check-am
  11.904 -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \
  11.905 -		jconfig.h
  11.906 -install-binPROGRAMS: install-libLTLIBRARIES
  11.907 -
  11.908 -installdirs:
  11.909 -	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
  11.910 -	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  11.911 -	done
  11.912 -install: install-am
  11.913 -install-exec: install-exec-am
  11.914 -install-data: install-data-am
  11.915 -uninstall: uninstall-am
  11.916 -
  11.917 -install-am: all-am
  11.918 -	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  11.919 -
  11.920 -installcheck: installcheck-am
  11.921 -install-strip:
  11.922 -	if test -z '$(STRIP)'; then \
  11.923 -	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  11.924 -	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  11.925 -	      install; \
  11.926 -	else \
  11.927 -	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  11.928 -	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  11.929 -	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  11.930 -	fi
  11.931 -mostlyclean-generic:
  11.932 -
  11.933 -clean-generic:
  11.934 -	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  11.935 -
  11.936 -distclean-generic:
  11.937 -	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  11.938 -	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  11.939 -
  11.940 -maintainer-clean-generic:
  11.941 -	@echo "This command is intended for maintainers to use"
  11.942 -	@echo "it deletes files that may require special tools to rebuild."
  11.943 -clean: clean-am
  11.944 -
  11.945 -clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
  11.946 -	clean-libtool mostlyclean-am
  11.947 -
  11.948 -distclean: distclean-am
  11.949 -	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
  11.950 -	-rm -rf ./$(DEPDIR)
  11.951 -	-rm -f Makefile
  11.952 -distclean-am: clean-am distclean-compile distclean-generic \
  11.953 -	distclean-hdr distclean-libtool distclean-tags
  11.954 -
  11.955 -dvi: dvi-am
  11.956 -
  11.957 -dvi-am:
  11.958 -
  11.959 -html: html-am
  11.960 -
  11.961 -html-am:
  11.962 -
  11.963 -info: info-am
  11.964 -
  11.965 -info-am:
  11.966 -
  11.967 -install-data-am: install-data-local install-includeHEADERS install-man \
  11.968 -	install-nodist_pkgconfigDATA
  11.969 -
  11.970 -install-dvi: install-dvi-am
  11.971 -
  11.972 -install-dvi-am:
  11.973 -
  11.974 -install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
  11.975 -
  11.976 -install-html: install-html-am
  11.977 -
  11.978 -install-html-am:
  11.979 -
  11.980 -install-info: install-info-am
  11.981 -
  11.982 -install-info-am:
  11.983 -
  11.984 -install-man: install-man1
  11.985 -
  11.986 -install-pdf: install-pdf-am
  11.987 -
  11.988 -install-pdf-am:
  11.989 -
  11.990 -install-ps: install-ps-am
  11.991 -
  11.992 -install-ps-am:
  11.993 -
  11.994 -installcheck-am:
  11.995 -
  11.996 -maintainer-clean: maintainer-clean-am
  11.997 -	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
  11.998 -	-rm -rf $(top_srcdir)/autom4te.cache
  11.999 -	-rm -rf ./$(DEPDIR)
 11.1000 -	-rm -f Makefile
 11.1001 -maintainer-clean-am: distclean-am maintainer-clean-generic
 11.1002 -
 11.1003 -mostlyclean: mostlyclean-am
 11.1004 -
 11.1005 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
 11.1006 -	mostlyclean-libtool
 11.1007 -
 11.1008 -pdf: pdf-am
 11.1009 -
 11.1010 -pdf-am:
 11.1011 -
 11.1012 -ps: ps-am
 11.1013 -
 11.1014 -ps-am:
 11.1015 -
 11.1016 -uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
 11.1017 -	uninstall-libLTLIBRARIES uninstall-local uninstall-man \
 11.1018 -	uninstall-nodist_pkgconfigDATA
 11.1019 -
 11.1020 -uninstall-man: uninstall-man1
 11.1021 -
 11.1022 -.MAKE: all check-am install-am install-strip
 11.1023 -
 11.1024 -.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am \
 11.1025 -	check-local clean clean-binPROGRAMS clean-cscope clean-generic \
 11.1026 -	clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
 11.1027 -	ctags-am distclean distclean-compile distclean-generic \
 11.1028 -	distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
 11.1029 -	html-am info info-am install install-am install-binPROGRAMS \
 11.1030 -	install-data install-data-am install-data-local install-dvi \
 11.1031 -	install-dvi-am install-exec install-exec-am install-html \
 11.1032 -	install-html-am install-includeHEADERS install-info \
 11.1033 -	install-info-am install-libLTLIBRARIES install-man \
 11.1034 -	install-man1 install-nodist_pkgconfigDATA install-pdf \
 11.1035 -	install-pdf-am install-ps install-ps-am install-strip \
 11.1036 -	installcheck installcheck-am installdirs maintainer-clean \
 11.1037 -	maintainer-clean-generic mostlyclean mostlyclean-compile \
 11.1038 -	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 11.1039 -	tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
 11.1040 -	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
 11.1041 -	uninstall-local uninstall-man uninstall-man1 \
 11.1042 -	uninstall-nodist_pkgconfigDATA
 11.1043 -
 11.1044 -.PRECIOUS: Makefile
 11.1045 -
 11.1046 -
 11.1047 -# Install jconfig.h
 11.1048 -install-data-local:
 11.1049 -	$(mkinstalldirs) $(DESTDIR)$(includedir)
 11.1050 -	$(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
 11.1051 -
 11.1052 -# Uninstall jconfig.h
 11.1053 -uninstall-local:
 11.1054 -	rm -f $(DESTDIR)$(includedir)/jconfig.h
 11.1055 -
 11.1056 -# Run tests
 11.1057 -test: check-local
 11.1058 -check-local:
 11.1059 -	rm -f testout*
 11.1060 -	./djpeg -dct int -ppm -outfile testout.ppm  $(srcdir)/testorig.jpg
 11.1061 -	./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  $(srcdir)/testorig.jpg
 11.1062 -	./cjpeg -dct int -outfile testout.jpg  $(srcdir)/testimg.ppm
 11.1063 -	./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
 11.1064 -	./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
 11.1065 -	./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
 11.1066 -	cmp $(srcdir)/testimg.ppm testout.ppm
 11.1067 -	cmp $(srcdir)/testimg.bmp testout.bmp
 11.1068 -	cmp $(srcdir)/testimg.jpg testout.jpg
 11.1069 -	cmp $(srcdir)/testimg.ppm testoutp.ppm
 11.1070 -	cmp $(srcdir)/testimgp.jpg testoutp.jpg
 11.1071 -	cmp $(srcdir)/testorig.jpg testoutt.jpg
 11.1072 -
 11.1073 -# Tell versions [3.59,3.63) of GNU make to not export all variables.
 11.1074 -# Otherwise a system limit (for SysV at least) may be exceeded.
 11.1075 -.NOEXPORT:
    12.1 --- a/external/jpeg-9c/README	Wed Mar 04 16:07:27 2020 -0800
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,378 +0,0 @@
    12.4 -The Independent JPEG Group's JPEG software
    12.5 -==========================================
    12.6 -
    12.7 -README for release 9c of 14-Jan-2018
    12.8 -====================================
    12.9 -
   12.10 -This distribution contains the ninth public release of the Independent JPEG
   12.11 -Group's free JPEG software.  You are welcome to redistribute this software and
   12.12 -to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
   12.13 -
   12.14 -This software is the work of Tom Lane, Guido Vollbeding, Philip Gladstone,
   12.15 -Bill Allombert, Jim Boucher, Lee Crocker, Bob Friesenhahn, Ben Jackson,
   12.16 -Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi, Ge' Weijers,
   12.17 -and other members of the Independent JPEG Group.
   12.18 -
   12.19 -IJG is not affiliated with the ISO/IEC JTC1/SC29/WG1 standards committee
   12.20 -(previously known as JPEG, together with ITU-T SG16).
   12.21 -
   12.22 -
   12.23 -DOCUMENTATION ROADMAP
   12.24 -=====================
   12.25 -
   12.26 -This file contains the following sections:
   12.27 -
   12.28 -OVERVIEW            General description of JPEG and the IJG software.
   12.29 -LEGAL ISSUES        Copyright, lack of warranty, terms of distribution.
   12.30 -REFERENCES          Where to learn more about JPEG.
   12.31 -ARCHIVE LOCATIONS   Where to find newer versions of this software.
   12.32 -ACKNOWLEDGMENTS     Special thanks.
   12.33 -FILE FORMAT WARS    Software *not* to get.
   12.34 -TO DO               Plans for future IJG releases.
   12.35 -
   12.36 -Other documentation files in the distribution are:
   12.37 -
   12.38 -User documentation:
   12.39 -  install.txt       How to configure and install the IJG software.
   12.40 -  usage.txt         Usage instructions for cjpeg, djpeg, jpegtran,
   12.41 -                    rdjpgcom, and wrjpgcom.
   12.42 -  *.1               Unix-style man pages for programs (same info as usage.txt).
   12.43 -  wizard.txt        Advanced usage instructions for JPEG wizards only.
   12.44 -  change.log        Version-to-version change highlights.
   12.45 -Programmer and internal documentation:
   12.46 -  libjpeg.txt       How to use the JPEG library in your own programs.
   12.47 -  example.c         Sample code for calling the JPEG library.
   12.48 -  structure.txt     Overview of the JPEG library's internal structure.
   12.49 -  filelist.txt      Road map of IJG files.
   12.50 -  coderules.txt     Coding style rules --- please read if you contribute code.
   12.51 -
   12.52 -Please read at least the files install.txt and usage.txt.  Some information
   12.53 -can also be found in the JPEG FAQ (Frequently Asked Questions) article.  See
   12.54 -ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
   12.55 -
   12.56 -If you want to understand how the JPEG code works, we suggest reading one or
   12.57 -more of the REFERENCES, then looking at the documentation files (in roughly
   12.58 -the order listed) before diving into the code.
   12.59 -
   12.60 -
   12.61 -OVERVIEW
   12.62 -========
   12.63 -
   12.64 -This package contains C software to implement JPEG image encoding, decoding,
   12.65 -and transcoding.  JPEG (pronounced "jay-peg") is a standardized compression
   12.66 -method for full-color and grayscale images.
   12.67 -
   12.68 -This software implements JPEG baseline, extended-sequential, and progressive
   12.69 -compression processes.  Provision is made for supporting all variants of these
   12.70 -processes, although some uncommon parameter settings aren't implemented yet.
   12.71 -We have made no provision for supporting the hierarchical or lossless
   12.72 -processes defined in the standard.
   12.73 -
   12.74 -We provide a set of library routines for reading and writing JPEG image files,
   12.75 -plus two sample applications "cjpeg" and "djpeg", which use the library to
   12.76 -perform conversion between JPEG and some other popular image file formats.
   12.77 -The library is intended to be reused in other applications.
   12.78 -
   12.79 -In order to support file conversion and viewing software, we have included
   12.80 -considerable functionality beyond the bare JPEG coding/decoding capability;
   12.81 -for example, the color quantization modules are not strictly part of JPEG
   12.82 -decoding, but they are essential for output to colormapped file formats or
   12.83 -colormapped displays.  These extra functions can be compiled out of the
   12.84 -library if not required for a particular application.
   12.85 -
   12.86 -We have also included "jpegtran", a utility for lossless transcoding between
   12.87 -different JPEG processes, and "rdjpgcom" and "wrjpgcom", two simple
   12.88 -applications for inserting and extracting textual comments in JFIF files.
   12.89 -
   12.90 -The emphasis in designing this software has been on achieving portability and
   12.91 -flexibility, while also making it fast enough to be useful.  In particular,
   12.92 -the software is not intended to be read as a tutorial on JPEG.  (See the
   12.93 -REFERENCES section for introductory material.)  Rather, it is intended to
   12.94 -be reliable, portable, industrial-strength code.  We do not claim to have
   12.95 -achieved that goal in every aspect of the software, but we strive for it.
   12.96 -
   12.97 -We welcome the use of this software as a component of commercial products.
   12.98 -No royalty is required, but we do ask for an acknowledgement in product
   12.99 -documentation, as described under LEGAL ISSUES.
  12.100 -
  12.101 -
  12.102 -LEGAL ISSUES
  12.103 -============
  12.104 -
  12.105 -In plain English:
  12.106 -
  12.107 -1. We don't promise that this software works.  (But if you find any bugs,
  12.108 -   please let us know!)
  12.109 -2. You can use this software for whatever you want.  You don't have to pay us.
  12.110 -3. You may not pretend that you wrote this software.  If you use it in a
  12.111 -   program, you must acknowledge somewhere in your documentation that
  12.112 -   you've used the IJG code.
  12.113 -
  12.114 -In legalese:
  12.115 -
  12.116 -The authors make NO WARRANTY or representation, either express or implied,
  12.117 -with respect to this software, its quality, accuracy, merchantability, or
  12.118 -fitness for a particular purpose.  This software is provided "AS IS", and you,
  12.119 -its user, assume the entire risk as to its quality and accuracy.
  12.120 -
  12.121 -This software is copyright (C) 1991-2018, Thomas G. Lane, Guido Vollbeding.
  12.122 -All Rights Reserved except as specified below.
  12.123 -
  12.124 -Permission is hereby granted to use, copy, modify, and distribute this
  12.125 -software (or portions thereof) for any purpose, without fee, subject to these
  12.126 -conditions:
  12.127 -(1) If any part of the source code for this software is distributed, then this
  12.128 -README file must be included, with this copyright and no-warranty notice
  12.129 -unaltered; and any additions, deletions, or changes to the original files
  12.130 -must be clearly indicated in accompanying documentation.
  12.131 -(2) If only executable code is distributed, then the accompanying
  12.132 -documentation must state that "this software is based in part on the work of
  12.133 -the Independent JPEG Group".
  12.134 -(3) Permission for use of this software is granted only if the user accepts
  12.135 -full responsibility for any undesirable consequences; the authors accept
  12.136 -NO LIABILITY for damages of any kind.
  12.137 -
  12.138 -These conditions apply to any software derived from or based on the IJG code,
  12.139 -not just to the unmodified library.  If you use our work, you ought to
  12.140 -acknowledge us.
  12.141 -
  12.142 -Permission is NOT granted for the use of any IJG author's name or company name
  12.143 -in advertising or publicity relating to this software or products derived from
  12.144 -it.  This software may be referred to only as "the Independent JPEG Group's
  12.145 -software".
  12.146 -
  12.147 -We specifically permit and encourage the use of this software as the basis of
  12.148 -commercial products, provided that all warranty or liability claims are
  12.149 -assumed by the product vendor.
  12.150 -
  12.151 -
  12.152 -The Unix configuration script "configure" was produced with GNU Autoconf.
  12.153 -It is copyright by the Free Software Foundation but is freely distributable.
  12.154 -The same holds for its supporting scripts (config.guess, config.sub,
  12.155 -ltmain.sh).  Another support script, install-sh, is copyright by X Consortium
  12.156 -but is also freely distributable.
  12.157 -
  12.158 -The IJG distribution formerly included code to read and write GIF files.
  12.159 -To avoid entanglement with the Unisys LZW patent (now expired), GIF reading
  12.160 -support has been removed altogether, and the GIF writer has been simplified
  12.161 -to produce "uncompressed GIFs".  This technique does not use the LZW
  12.162 -algorithm; the resulting GIF files are larger than usual, but are readable
  12.163 -by all standard GIF decoders.
  12.164 -
  12.165 -
  12.166 -REFERENCES
  12.167 -==========
  12.168 -
  12.169 -We recommend reading one or more of these references before trying to
  12.170 -understand the innards of the JPEG software.
  12.171 -
  12.172 -The best short technical introduction to the JPEG compression algorithm is
  12.173 -	Wallace, Gregory K.  "The JPEG Still Picture Compression Standard",
  12.174 -	Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
  12.175 -(Adjacent articles in that issue discuss MPEG motion picture compression,
  12.176 -applications of JPEG, and related topics.)  If you don't have the CACM issue
  12.177 -handy, a PDF file containing a revised version of Wallace's article is
  12.178 -available at http://www.ijg.org/files/Wallace.JPEG.pdf.  The file (actually
  12.179 -a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
  12.180 -omits the sample images that appeared in CACM, but it includes corrections
  12.181 -and some added material.  Note: the Wallace article is copyright ACM and IEEE,
  12.182 -and it may not be used for commercial purposes.
  12.183 -
  12.184 -A somewhat less technical, more leisurely introduction to JPEG can be found in
  12.185 -"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
  12.186 -M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1.  This book provides
  12.187 -good explanations and example C code for a multitude of compression methods
  12.188 -including JPEG.  It is an excellent source if you are comfortable reading C
  12.189 -code but don't know much about data compression in general.  The book's JPEG
  12.190 -sample code is far from industrial-strength, but when you are ready to look
  12.191 -at a full implementation, you've got one here...
  12.192 -
  12.193 -The best currently available description of JPEG is the textbook "JPEG Still
  12.194 -Image Data Compression Standard" by William B. Pennebaker and Joan L.
  12.195 -Mitchell, published by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1.
  12.196 -Price US$59.95, 638 pp.  The book includes the complete text of the ISO JPEG
  12.197 -standards (DIS 10918-1 and draft DIS 10918-2).
  12.198 -Although this is by far the most detailed and comprehensive exposition of
  12.199 -JPEG publicly available, we point out that it is still missing an explanation
  12.200 -of the most essential properties and algorithms of the underlying DCT
  12.201 -technology.
  12.202 -If you think that you know about DCT-based JPEG after reading this book,
  12.203 -then you are in delusion.  The real fundamentals and corresponding potential
  12.204 -of DCT-based JPEG are not publicly known so far, and that is the reason for
  12.205 -all the mistaken developments taking place in the image coding domain.
  12.206 -
  12.207 -The original JPEG standard is divided into two parts, Part 1 being the actual
  12.208 -specification, while Part 2 covers compliance testing methods.  Part 1 is
  12.209 -titled "Digital Compression and Coding of Continuous-tone Still Images,
  12.210 -Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
  12.211 -10918-1, ITU-T T.81.  Part 2 is titled "Digital Compression and Coding of
  12.212 -Continuous-tone Still Images, Part 2: Compliance testing" and has document
  12.213 -numbers ISO/IEC IS 10918-2, ITU-T T.83.
  12.214 -IJG JPEG 8 introduced an implementation of the JPEG SmartScale extension
  12.215 -which is specified in two documents:  A contributed document at ITU and ISO
  12.216 -with title "ITU-T JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced
  12.217 -Image Coding", April 2006, Geneva, Switzerland.  The latest version of this
  12.218 -document is Revision 3.  And a contributed document ISO/IEC JTC1/SC29/WG1 N
  12.219 -5799 with title "Evolution of JPEG", June/July 2011, Berlin, Germany.
  12.220 -IJG JPEG 9 introduces a reversible color transform for improved lossless
  12.221 -compression which is described in a contributed document ISO/IEC JTC1/SC29/
  12.222 -WG1 N 6080 with title "JPEG 9 Lossless Coding", June/July 2012, Paris,
  12.223 -France.
  12.224 -
  12.225 -The JPEG standard does not specify all details of an interchangeable file
  12.226 -format.  For the omitted details we follow the "JFIF" conventions, version 2.
  12.227 -JFIF version 1 has been adopted as Recommendation ITU-T T.871 (05/2011) :
  12.228 -Information technology - Digital compression and coding of continuous-tone
  12.229 -still images: JPEG File Interchange Format (JFIF).  It is available as a
  12.230 -free download in PDF file format from http://www.itu.int/rec/T-REC-T.871.
  12.231 -A PDF file of the older JFIF document is available at
  12.232 -http://www.w3.org/Graphics/JPEG/jfif3.pdf.
  12.233 -
  12.234 -The TIFF 6.0 file format specification can be obtained by FTP from
  12.235 -ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz.  The JPEG incorporation scheme
  12.236 -found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
  12.237 -IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
  12.238 -Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
  12.239 -(Compression tag 7).  Copies of this Note can be obtained from
  12.240 -http://www.ijg.org/files/.  It is expected that the next revision
  12.241 -of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
  12.242 -Although IJG's own code does not support TIFF/JPEG, the free libtiff library
  12.243 -uses our library to implement TIFF/JPEG per the Note.
  12.244 -
  12.245 -
  12.246 -ARCHIVE LOCATIONS
  12.247 -=================
  12.248 -
  12.249 -The "official" archive site for this software is www.ijg.org.
  12.250 -The most recent released version can always be found there in
  12.251 -directory "files".  This particular version will be archived as
  12.252 -http://www.ijg.org/files/jpegsrc.v9c.tar.gz, and in Windows-compatible
  12.253 -"zip" archive format as http://www.ijg.org/files/jpegsr9c.zip.
  12.254 -
  12.255 -The JPEG FAQ (Frequently Asked Questions) article is a source of some
  12.256 -general information about JPEG.
  12.257 -It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
  12.258 -and other news.answers archive sites, including the official news.answers
  12.259 -archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
  12.260 -If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
  12.261 -with body
  12.262 -	send usenet/news.answers/jpeg-faq/part1
  12.263 -	send usenet/news.answers/jpeg-faq/part2
  12.264 -
  12.265 -
  12.266 -ACKNOWLEDGMENTS
  12.267 -===============
  12.268 -
  12.269 -Thank to Juergen Bruder for providing me with a copy of the common DCT
  12.270 -algorithm article, only to find out that I had come to the same result
  12.271 -in a more direct and comprehensible way with a more generative approach.
  12.272 -
  12.273 -Thank to Istvan Sebestyen and Joan L. Mitchell for inviting me to the
  12.274 -ITU JPEG (Study Group 16) meeting in Geneva, Switzerland.
  12.275 -
  12.276 -Thank to Thomas Wiegand and Gary Sullivan for inviting me to the
  12.277 -Joint Video Team (MPEG & ITU) meeting in Geneva, Switzerland.
  12.278 -
  12.279 -Thank to Thomas Richter and Daniel Lee for inviting me to the
  12.280 -ISO/IEC JTC1/SC29/WG1 (previously known as JPEG, together with ITU-T SG16)
  12.281 -meeting in Berlin, Germany.
  12.282 -
  12.283 -Thank to John Korejwa and Massimo Ballerini for inviting me to
  12.284 -fruitful consultations in Boston, MA and Milan, Italy.
  12.285 -
  12.286 -Thank to Hendrik Elstner, Roland Fassauer, Simone Zuck, Guenther
  12.287 -Maier-Gerber, Walter Stoeber, Fred Schmitz, and Norbert Braunagel
  12.288 -for corresponding business development.
  12.289 -
  12.290 -Thank to Nico Zschach and Dirk Stelling of the technical support team
  12.291 -at the Digital Images company in Halle for providing me with extra
  12.292 -equipment for configuration tests.
  12.293 -
  12.294 -Thank to Richard F. Lyon (then of Foveon Inc.) for fruitful
  12.295 -communication about JPEG configuration in Sigma Photo Pro software.
  12.296 -
  12.297 -Thank to Andrew Finkenstadt for hosting the ijg.org site.
  12.298 -
  12.299 -Thank to Thomas G. Lane for the original design and development of
  12.300 -this singular software package.
  12.301 -
  12.302 -Thank to Lars Goehler, Andreas Heinecke, Sebastian Fuss, Yvonne Roebert,
  12.303 -Andrej Werner, and Ulf-Dietrich Braumann for support and public relations.
  12.304 -
  12.305 -
  12.306 -FILE FORMAT WARS
  12.307 -================
  12.308 -
  12.309 -The ISO/IEC JTC1/SC29/WG1 standards committee (previously known as JPEG,
  12.310 -together with ITU-T SG16) currently promotes different formats containing
  12.311 -the name "JPEG" which is misleading because these formats are incompatible
  12.312 -with original DCT-based JPEG and are based on faulty technologies.
  12.313 -IJG therefore does not and will not support such momentary mistakes
  12.314 -(see REFERENCES).
  12.315 -There exist also distributions under the name "OpenJPEG" promoting such
  12.316 -kind of formats which is misleading because they don't support original
  12.317 -JPEG images.
  12.318 -We have no sympathy for the promotion of inferior formats.  Indeed, one of
  12.319 -the original reasons for developing this free software was to help force
  12.320 -convergence on common, interoperable format standards for JPEG files.
  12.321 -Don't use an incompatible file format!
  12.322 -(In any case, our decoder will remain capable of reading existing JPEG
  12.323 -image files indefinitely.)
  12.324 -
  12.325 -The ISO committee pretends to be "responsible for the popular JPEG" in their
  12.326 -public reports which is not true because they don't respond to actual
  12.327 -requirements for the maintenance of the original JPEG specification.
  12.328 -Furthermore, the ISO committee pretends to "ensure interoperability" with
  12.329 -their standards which is not true because their "standards" support only
  12.330 -application-specific and proprietary use cases and contain mathematically
  12.331 -incorrect code.
  12.332 -
  12.333 -There are currently different distributions in circulation containing the
  12.334 -name "libjpeg" which is misleading because they don't have the features and
  12.335 -are incompatible with formats supported by actual IJG libjpeg distributions.
  12.336 -One of those fakes is released by members of the ISO committee and just uses
  12.337 -the name of libjpeg for misdirection of people, similar to the abuse of the
  12.338 -name JPEG as described above, while having nothing in common with actual IJG
  12.339 -libjpeg distributions and containing mathematically incorrect code.
  12.340 -The other one claims to be a "derivative" or "fork" of the original libjpeg,
  12.341 -but violates the license conditions as described under LEGAL ISSUES above
  12.342 -and violates basic C programming properties.
  12.343 -We have no sympathy for the release of misleading, incorrect and illegal
  12.344 -distributions derived from obsolete code bases.
  12.345 -Don't use an obsolete code base!
  12.346 -
  12.347 -According to the UCC (Uniform Commercial Code) law, IJG has the lawful and
  12.348 -legal right to foreclose on certain standardization bodies and other
  12.349 -institutions or corporations that knowingly perform substantial and
  12.350 -systematic deceptive acts and practices, fraud, theft, and damaging of the
  12.351 -value of the people of this planet without their knowing, willing and
  12.352 -intentional consent.
  12.353 -The titles, ownership, and rights of these institutions and all their assets
  12.354 -are now duly secured and held in trust for the free people of this planet.
  12.355 -People of the planet, on every country, may have a financial interest in
  12.356 -the assets of these former principals, agents, and beneficiaries of the
  12.357 -foreclosed institutions and corporations.
  12.358 -IJG asserts what is: that each man, woman, and child has unalienable value
  12.359 -and rights granted and deposited in them by the Creator and not any one of
  12.360 -the people is subordinate to any artificial principality, corporate fiction
  12.361 -or the special interest of another without their appropriate knowing,
  12.362 -willing and intentional consent made by contract or accommodation agreement.
  12.363 -IJG expresses that which already was.
  12.364 -The people have already determined and demanded that public administration
  12.365 -entities, national governments, and their supporting judicial systems must
  12.366 -be fully transparent, accountable, and liable.
  12.367 -IJG has secured the value for all concerned free people of the planet.
  12.368 -
  12.369 -A partial list of foreclosed institutions and corporations ("Hall of Shame")
  12.370 -is currently prepared and will be published later.
  12.371 -
  12.372 -
  12.373 -TO DO
  12.374 -=====
  12.375 -
  12.376 -Version 9 is the second release of a new generation JPEG standard
  12.377 -to overcome the limitations of the original JPEG specification,
  12.378 -and is the first true source reference JPEG codec.
  12.379 -More features are being prepared for coming releases...
  12.380 -
  12.381 -Please send bug reports, offers of help, etc. to jpeg-info@jpegclub.org.
    13.1 --- a/external/jpeg-9c/aclocal.m4	Wed Mar 04 16:07:27 2020 -0800
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,10277 +0,0 @@
    13.4 -# generated automatically by aclocal 1.15.1 -*- Autoconf -*-
    13.5 -
    13.6 -# Copyright (C) 1996-2017 Free Software Foundation, Inc.
    13.7 -
    13.8 -# This file is free software; the Free Software Foundation
    13.9 -# gives unlimited permission to copy and/or distribute it,
   13.10 -# with or without modifications, as long as this notice is preserved.
   13.11 -
   13.12 -# This program is distributed in the hope that it will be useful,
   13.13 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   13.14 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   13.15 -# PARTICULAR PURPOSE.
   13.16 -
   13.17 -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
   13.18 -m4_ifndef([AC_AUTOCONF_VERSION],
   13.19 -  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   13.20 -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
   13.21 -[m4_warning([this file was generated for autoconf 2.69.
   13.22 -You have another version of autoconf.  It may work, but is not guaranteed to.
   13.23 -If you have problems, you may need to regenerate the build system entirely.
   13.24 -To do so, use the procedure documented by the package, typically 'autoreconf'.])])
   13.25 -
   13.26 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
   13.27 -#
   13.28 -#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
   13.29 -#   Written by Gordon Matzigkeit, 1996
   13.30 -#
   13.31 -# This file is free software; the Free Software Foundation gives
   13.32 -# unlimited permission to copy and/or distribute it, with or without
   13.33 -# modifications, as long as this notice is preserved.
   13.34 -
   13.35 -m4_define([_LT_COPYING], [dnl
   13.36 -# Copyright (C) 2014 Free Software Foundation, Inc.
   13.37 -# This is free software; see the source for copying conditions.  There is NO
   13.38 -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   13.39 -
   13.40 -# GNU Libtool is free software; you can redistribute it and/or modify
   13.41 -# it under the terms of the GNU General Public License as published by
   13.42 -# the Free Software Foundation; either version 2 of of the License, or
   13.43 -# (at your option) any later version.
   13.44 -#
   13.45 -# As a special exception to the GNU General Public License, if you
   13.46 -# distribute this file as part of a program or library that is built
   13.47 -# using GNU Libtool, you may include this file under the  same
   13.48 -# distribution terms that you use for the rest of that program.
   13.49 -#
   13.50 -# GNU Libtool is distributed in the hope that it will be useful, but
   13.51 -# WITHOUT ANY WARRANTY; without even the implied warranty of
   13.52 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13.53 -# GNU General Public License for more details.
   13.54 -#
   13.55 -# You should have received a copy of the GNU General Public License
   13.56 -# along with this program.  If not, see <http://www.gnu.org/licenses/>.
   13.57 -])
   13.58 -
   13.59 -# serial 58 LT_INIT
   13.60 -
   13.61 -
   13.62 -# LT_PREREQ(VERSION)
   13.63 -# ------------------
   13.64 -# Complain and exit if this libtool version is less that VERSION.
   13.65 -m4_defun([LT_PREREQ],
   13.66 -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
   13.67 -       [m4_default([$3],
   13.68 -		   [m4_fatal([Libtool version $1 or higher is required],
   13.69 -		             63)])],
   13.70 -       [$2])])
   13.71 -
   13.72 -
   13.73 -# _LT_CHECK_BUILDDIR
   13.74 -# ------------------
   13.75 -# Complain if the absolute build directory name contains unusual characters
   13.76 -m4_defun([_LT_CHECK_BUILDDIR],
   13.77 -[case `pwd` in
   13.78 -  *\ * | *\	*)
   13.79 -    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
   13.80 -esac
   13.81 -])
   13.82 -
   13.83 -
   13.84 -# LT_INIT([OPTIONS])
   13.85 -# ------------------
   13.86 -AC_DEFUN([LT_INIT],
   13.87 -[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
   13.88 -AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
   13.89 -AC_BEFORE([$0], [LT_LANG])dnl
   13.90 -AC_BEFORE([$0], [LT_OUTPUT])dnl
   13.91 -AC_BEFORE([$0], [LTDL_INIT])dnl
   13.92 -m4_require([_LT_CHECK_BUILDDIR])dnl
   13.93 -
   13.94 -dnl Autoconf doesn't catch unexpanded LT_ macros by default:
   13.95 -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
   13.96 -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
   13.97 -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
   13.98 -dnl unless we require an AC_DEFUNed macro:
   13.99 -AC_REQUIRE([LTOPTIONS_VERSION])dnl
  13.100 -AC_REQUIRE([LTSUGAR_VERSION])dnl
  13.101 -AC_REQUIRE([LTVERSION_VERSION])dnl
  13.102 -AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  13.103 -m4_require([_LT_PROG_LTMAIN])dnl
  13.104 -
  13.105 -_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  13.106 -
  13.107 -dnl Parse OPTIONS
  13.108 -_LT_SET_OPTIONS([$0], [$1])
  13.109 -
  13.110 -# This can be used to rebuild libtool when needed
  13.111 -LIBTOOL_DEPS=$ltmain
  13.112 -
  13.113 -# Always use our own libtool.
  13.114 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  13.115 -AC_SUBST(LIBTOOL)dnl
  13.116 -
  13.117 -_LT_SETUP
  13.118 -
  13.119 -# Only expand once:
  13.120 -m4_define([LT_INIT])
  13.121 -])# LT_INIT
  13.122 -
  13.123 -# Old names:
  13.124 -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  13.125 -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  13.126 -dnl aclocal-1.4 backwards compatibility:
  13.127 -dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  13.128 -dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  13.129 -
  13.130 -
  13.131 -# _LT_PREPARE_CC_BASENAME
  13.132 -# -----------------------
  13.133 -m4_defun([_LT_PREPARE_CC_BASENAME], [
  13.134 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  13.135 -func_cc_basename ()
  13.136 -{
  13.137 -    for cc_temp in @S|@*""; do
  13.138 -      case $cc_temp in
  13.139 -        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  13.140 -        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  13.141 -        \-*) ;;
  13.142 -        *) break;;
  13.143 -      esac
  13.144 -    done
  13.145 -    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  13.146 -}
  13.147 -])# _LT_PREPARE_CC_BASENAME
  13.148 -
  13.149 -
  13.150 -# _LT_CC_BASENAME(CC)
  13.151 -# -------------------
  13.152 -# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
  13.153 -# but that macro is also expanded into generated libtool script, which
  13.154 -# arranges for $SED and $ECHO to be set by different means.
  13.155 -m4_defun([_LT_CC_BASENAME],
  13.156 -[m4_require([_LT_PREPARE_CC_BASENAME])dnl
  13.157 -AC_REQUIRE([_LT_DECL_SED])dnl
  13.158 -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  13.159 -func_cc_basename $1
  13.160 -cc_basename=$func_cc_basename_result
  13.161 -])
  13.162 -
  13.163 -
  13.164 -# _LT_FILEUTILS_DEFAULTS
  13.165 -# ----------------------
  13.166 -# It is okay to use these file commands and assume they have been set
  13.167 -# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
  13.168 -m4_defun([_LT_FILEUTILS_DEFAULTS],
  13.169 -[: ${CP="cp -f"}
  13.170 -: ${MV="mv -f"}
  13.171 -: ${RM="rm -f"}
  13.172 -])# _LT_FILEUTILS_DEFAULTS
  13.173 -
  13.174 -
  13.175 -# _LT_SETUP
  13.176 -# ---------
  13.177 -m4_defun([_LT_SETUP],
  13.178 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  13.179 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  13.180 -AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  13.181 -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  13.182 -
  13.183 -_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
  13.184 -dnl
  13.185 -_LT_DECL([], [host_alias], [0], [The host system])dnl
  13.186 -_LT_DECL([], [host], [0])dnl
  13.187 -_LT_DECL([], [host_os], [0])dnl
  13.188 -dnl
  13.189 -_LT_DECL([], [build_alias], [0], [The build system])dnl
  13.190 -_LT_DECL([], [build], [0])dnl
  13.191 -_LT_DECL([], [build_os], [0])dnl
  13.192 -dnl
  13.193 -AC_REQUIRE([AC_PROG_CC])dnl
  13.194 -AC_REQUIRE([LT_PATH_LD])dnl
  13.195 -AC_REQUIRE([LT_PATH_NM])dnl
  13.196 -dnl
  13.197 -AC_REQUIRE([AC_PROG_LN_S])dnl
  13.198 -test -z "$LN_S" && LN_S="ln -s"
  13.199 -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  13.200 -dnl
  13.201 -AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  13.202 -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  13.203 -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  13.204 -dnl
  13.205 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  13.206 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  13.207 -m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
  13.208 -m4_require([_LT_CMD_RELOAD])dnl
  13.209 -m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  13.210 -m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  13.211 -m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  13.212 -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  13.213 -m4_require([_LT_WITH_SYSROOT])dnl
  13.214 -m4_require([_LT_CMD_TRUNCATE])dnl
  13.215 -
  13.216 -_LT_CONFIG_LIBTOOL_INIT([
  13.217 -# See if we are running on zsh, and set the options that allow our
  13.218 -# commands through without removal of \ escapes INIT.
  13.219 -if test -n "\${ZSH_VERSION+set}"; then
  13.220 -   setopt NO_GLOB_SUBST
  13.221 -fi
  13.222 -])
  13.223 -if test -n "${ZSH_VERSION+set}"; then
  13.224 -   setopt NO_GLOB_SUBST
  13.225 -fi
  13.226 -
  13.227 -_LT_CHECK_OBJDIR
  13.228 -
  13.229 -m4_require([_LT_TAG_COMPILER])dnl
  13.230 -
  13.231 -case $host_os in
  13.232 -aix3*)
  13.233 -  # AIX sometimes has problems with the GCC collect2 program.  For some
  13.234 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
  13.235 -  # vanish in a puff of smoke.
  13.236 -  if test set != "${COLLECT_NAMES+set}"; then
  13.237 -    COLLECT_NAMES=
  13.238 -    export COLLECT_NAMES
  13.239 -  fi
  13.240 -  ;;
  13.241 -esac
  13.242 -
  13.243 -# Global variables:
  13.244 -ofile=libtool
  13.245 -can_build_shared=yes
  13.246 -
  13.247 -# All known linkers require a '.a' archive for static linking (except MSVC,
  13.248 -# which needs '.lib').
  13.249 -libext=a
  13.250 -
  13.251 -with_gnu_ld=$lt_cv_prog_gnu_ld
  13.252 -
  13.253 -old_CC=$CC
  13.254 -old_CFLAGS=$CFLAGS
  13.255 -
  13.256 -# Set sane defaults for various variables
  13.257 -test -z "$CC" && CC=cc
  13.258 -test -z "$LTCC" && LTCC=$CC
  13.259 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  13.260 -test -z "$LD" && LD=ld
  13.261 -test -z "$ac_objext" && ac_objext=o
  13.262 -
  13.263 -_LT_CC_BASENAME([$compiler])
  13.264 -
  13.265 -# Only perform the check for file, if the check method requires it
  13.266 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  13.267 -case $deplibs_check_method in
  13.268 -file_magic*)
  13.269 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  13.270 -    _LT_PATH_MAGIC
  13.271 -  fi
  13.272 -  ;;
  13.273 -esac
  13.274 -
  13.275 -# Use C for the default configuration in the libtool script
  13.276 -LT_SUPPORTED_TAG([CC])
  13.277 -_LT_LANG_C_CONFIG
  13.278 -_LT_LANG_DEFAULT_CONFIG
  13.279 -_LT_CONFIG_COMMANDS
  13.280 -])# _LT_SETUP
  13.281 -
  13.282 -
  13.283 -# _LT_PREPARE_SED_QUOTE_VARS
  13.284 -# --------------------------
  13.285 -# Define a few sed substitution that help us do robust quoting.
  13.286 -m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  13.287 -[# Backslashify metacharacters that are still active within
  13.288 -# double-quoted strings.
  13.289 -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  13.290 -
  13.291 -# Same as above, but do not quote variable references.
  13.292 -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  13.293 -
  13.294 -# Sed substitution to delay expansion of an escaped shell variable in a
  13.295 -# double_quote_subst'ed string.
  13.296 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  13.297 -
  13.298 -# Sed substitution to delay expansion of an escaped single quote.
  13.299 -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  13.300 -
  13.301 -# Sed substitution to avoid accidental globbing in evaled expressions
  13.302 -no_glob_subst='s/\*/\\\*/g'
  13.303 -])
  13.304 -
  13.305 -# _LT_PROG_LTMAIN
  13.306 -# ---------------
  13.307 -# Note that this code is called both from 'configure', and 'config.status'
  13.308 -# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
  13.309 -# 'config.status' has no value for ac_aux_dir unless we are using Automake,
  13.310 -# so we pass a copy along to make sure it has a sensible value anyway.
  13.311 -m4_defun([_LT_PROG_LTMAIN],
  13.312 -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  13.313 -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  13.314 -ltmain=$ac_aux_dir/ltmain.sh
  13.315 -])# _LT_PROG_LTMAIN
  13.316 -
  13.317 -
  13.318 -
  13.319 -# So that we can recreate a full libtool script including additional
  13.320 -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  13.321 -# in macros and then make a single call at the end using the 'libtool'
  13.322 -# label.
  13.323 -
  13.324 -
  13.325 -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  13.326 -# ----------------------------------------
  13.327 -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  13.328 -m4_define([_LT_CONFIG_LIBTOOL_INIT],
  13.329 -[m4_ifval([$1],
  13.330 -          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  13.331 -                     [$1
  13.332 -])])])
  13.333 -
  13.334 -# Initialize.
  13.335 -m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  13.336 -
  13.337 -
  13.338 -# _LT_CONFIG_LIBTOOL([COMMANDS])
  13.339 -# ------------------------------
  13.340 -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  13.341 -m4_define([_LT_CONFIG_LIBTOOL],
  13.342 -[m4_ifval([$1],
  13.343 -          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  13.344 -                     [$1
  13.345 -])])])
  13.346 -
  13.347 -# Initialize.
  13.348 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  13.349 -
  13.350 -
  13.351 -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  13.352 -# -----------------------------------------------------
  13.353 -m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  13.354 -[_LT_CONFIG_LIBTOOL([$1])
  13.355 -_LT_CONFIG_LIBTOOL_INIT([$2])
  13.356 -])
  13.357 -
  13.358 -
  13.359 -# _LT_FORMAT_COMMENT([COMMENT])
  13.360 -# -----------------------------
  13.361 -# Add leading comment marks to the start of each line, and a trailing
  13.362 -# full-stop to the whole comment if one is not present already.
  13.363 -m4_define([_LT_FORMAT_COMMENT],
  13.364 -[m4_ifval([$1], [
  13.365 -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  13.366 -              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  13.367 -)])
  13.368 -
  13.369 -
  13.370 -
  13.371 -
  13.372 -
  13.373 -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  13.374 -# -------------------------------------------------------------------
  13.375 -# CONFIGNAME is the name given to the value in the libtool script.
  13.376 -# VARNAME is the (base) name used in the configure script.
  13.377 -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  13.378 -# VARNAME.  Any other value will be used directly.
  13.379 -m4_define([_LT_DECL],
  13.380 -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  13.381 -    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  13.382 -	[m4_ifval([$1], [$1], [$2])])
  13.383 -    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  13.384 -    m4_ifval([$4],
  13.385 -	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  13.386 -    lt_dict_add_subkey([lt_decl_dict], [$2],
  13.387 -	[tagged?], [m4_ifval([$5], [yes], [no])])])
  13.388 -])
  13.389 -
  13.390 -
  13.391 -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  13.392 -# --------------------------------------------------------
  13.393 -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  13.394 -
  13.395 -
  13.396 -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  13.397 -# ------------------------------------------------
  13.398 -m4_define([lt_decl_tag_varnames],
  13.399 -[_lt_decl_filter([tagged?], [yes], $@)])
  13.400 -
  13.401 -
  13.402 -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  13.403 -# ---------------------------------------------------------
  13.404 -m4_define([_lt_decl_filter],
  13.405 -[m4_case([$#],
  13.406 -  [0], [m4_fatal([$0: too few arguments: $#])],
  13.407 -  [1], [m4_fatal([$0: too few arguments: $#: $1])],
  13.408 -  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  13.409 -  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  13.410 -  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  13.411 -])
  13.412 -
  13.413 -
  13.414 -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  13.415 -# --------------------------------------------------
  13.416 -m4_define([lt_decl_quote_varnames],
  13.417 -[_lt_decl_filter([value], [1], $@)])
  13.418 -
  13.419 -
  13.420 -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  13.421 -# ---------------------------------------------------
  13.422 -m4_define([lt_decl_dquote_varnames],
  13.423 -[_lt_decl_filter([value], [2], $@)])
  13.424 -
  13.425 -
  13.426 -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  13.427 -# ---------------------------------------------------
  13.428 -m4_define([lt_decl_varnames_tagged],
  13.429 -[m4_assert([$# <= 2])dnl
  13.430 -_$0(m4_quote(m4_default([$1], [[, ]])),
  13.431 -    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  13.432 -    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  13.433 -m4_define([_lt_decl_varnames_tagged],
  13.434 -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  13.435 -
  13.436 -
  13.437 -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  13.438 -# ------------------------------------------------
  13.439 -m4_define([lt_decl_all_varnames],
  13.440 -[_$0(m4_quote(m4_default([$1], [[, ]])),
  13.441 -     m4_if([$2], [],
  13.442 -	   m4_quote(lt_decl_varnames),
  13.443 -	m4_quote(m4_shift($@))))[]dnl
  13.444 -])
  13.445 -m4_define([_lt_decl_all_varnames],
  13.446 -[lt_join($@, lt_decl_varnames_tagged([$1],
  13.447 -			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  13.448 -])
  13.449 -
  13.450 -
  13.451 -# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  13.452 -# ------------------------------------
  13.453 -# Quote a variable value, and forward it to 'config.status' so that its
  13.454 -# declaration there will have the same value as in 'configure'.  VARNAME
  13.455 -# must have a single quote delimited value for this to work.
  13.456 -m4_define([_LT_CONFIG_STATUS_DECLARE],
  13.457 -[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  13.458 -
  13.459 -
  13.460 -# _LT_CONFIG_STATUS_DECLARATIONS
  13.461 -# ------------------------------
  13.462 -# We delimit libtool config variables with single quotes, so when
  13.463 -# we write them to config.status, we have to be sure to quote all
  13.464 -# embedded single quotes properly.  In configure, this macro expands
  13.465 -# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  13.466 -#
  13.467 -#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  13.468 -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  13.469 -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  13.470 -    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  13.471 -
  13.472 -
  13.473 -# _LT_LIBTOOL_TAGS
  13.474 -# ----------------
  13.475 -# Output comment and list of tags supported by the script
  13.476 -m4_defun([_LT_LIBTOOL_TAGS],
  13.477 -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  13.478 -available_tags='_LT_TAGS'dnl
  13.479 -])
  13.480 -
  13.481 -
  13.482 -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  13.483 -# -----------------------------------
  13.484 -# Extract the dictionary values for VARNAME (optionally with TAG) and
  13.485 -# expand to a commented shell variable setting:
  13.486 -#
  13.487 -#    # Some comment about what VAR is for.
  13.488 -#    visible_name=$lt_internal_name
  13.489 -m4_define([_LT_LIBTOOL_DECLARE],
  13.490 -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  13.491 -					   [description])))[]dnl
  13.492 -m4_pushdef([_libtool_name],
  13.493 -    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  13.494 -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  13.495 -    [0], [_libtool_name=[$]$1],
  13.496 -    [1], [_libtool_name=$lt_[]$1],
  13.497 -    [2], [_libtool_name=$lt_[]$1],
  13.498 -    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  13.499 -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  13.500 -])
  13.501 -
  13.502 -
  13.503 -# _LT_LIBTOOL_CONFIG_VARS
  13.504 -# -----------------------
  13.505 -# Produce commented declarations of non-tagged libtool config variables
  13.506 -# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
  13.507 -# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
  13.508 -# section) are produced by _LT_LIBTOOL_TAG_VARS.
  13.509 -m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  13.510 -[m4_foreach([_lt_var],
  13.511 -    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  13.512 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  13.513 -
  13.514 -
  13.515 -# _LT_LIBTOOL_TAG_VARS(TAG)
  13.516 -# -------------------------
  13.517 -m4_define([_LT_LIBTOOL_TAG_VARS],
  13.518 -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  13.519 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  13.520 -
  13.521 -
  13.522 -# _LT_TAGVAR(VARNAME, [TAGNAME])
  13.523 -# ------------------------------
  13.524 -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  13.525 -
  13.526 -
  13.527 -# _LT_CONFIG_COMMANDS
  13.528 -# -------------------
  13.529 -# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
  13.530 -# variables for single and double quote escaping we saved from calls
  13.531 -# to _LT_DECL, we can put quote escaped variables declarations
  13.532 -# into 'config.status', and then the shell code to quote escape them in
  13.533 -# for loops in 'config.status'.  Finally, any additional code accumulated
  13.534 -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  13.535 -m4_defun([_LT_CONFIG_COMMANDS],
  13.536 -[AC_PROVIDE_IFELSE([LT_OUTPUT],
  13.537 -	dnl If the libtool generation code has been placed in $CONFIG_LT,
  13.538 -	dnl instead of duplicating it all over again into config.status,
  13.539 -	dnl then we will have config.status run $CONFIG_LT later, so it
  13.540 -	dnl needs to know what name is stored there:
  13.541 -        [AC_CONFIG_COMMANDS([libtool],
  13.542 -            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  13.543 -    dnl If the libtool generation code is destined for config.status,
  13.544 -    dnl expand the accumulated commands and init code now:
  13.545 -    [AC_CONFIG_COMMANDS([libtool],
  13.546 -        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  13.547 -])#_LT_CONFIG_COMMANDS
  13.548 -
  13.549 -
  13.550 -# Initialize.
  13.551 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  13.552 -[
  13.553 -
  13.554 -# The HP-UX ksh and POSIX shell print the target directory to stdout
  13.555 -# if CDPATH is set.
  13.556 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  13.557 -
  13.558 -sed_quote_subst='$sed_quote_subst'
  13.559 -double_quote_subst='$double_quote_subst'
  13.560 -delay_variable_subst='$delay_variable_subst'
  13.561 -_LT_CONFIG_STATUS_DECLARATIONS
  13.562 -LTCC='$LTCC'
  13.563 -LTCFLAGS='$LTCFLAGS'
  13.564 -compiler='$compiler_DEFAULT'
  13.565 -
  13.566 -# A function that is used when there is no print builtin or printf.
  13.567 -func_fallback_echo ()
  13.568 -{
  13.569 -  eval 'cat <<_LTECHO_EOF
  13.570 -\$[]1
  13.571 -_LTECHO_EOF'
  13.572 -}
  13.573 -
  13.574 -# Quote evaled strings.
  13.575 -for var in lt_decl_all_varnames([[ \
  13.576 -]], lt_decl_quote_varnames); do
  13.577 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  13.578 -    *[[\\\\\\\`\\"\\\$]]*)
  13.579 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  13.580 -      ;;
  13.581 -    *)
  13.582 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  13.583 -      ;;
  13.584 -    esac
  13.585 -done
  13.586 -
  13.587 -# Double-quote double-evaled strings.
  13.588 -for var in lt_decl_all_varnames([[ \
  13.589 -]], lt_decl_dquote_varnames); do
  13.590 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  13.591 -    *[[\\\\\\\`\\"\\\$]]*)
  13.592 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  13.593 -      ;;
  13.594 -    *)
  13.595 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  13.596 -      ;;
  13.597 -    esac
  13.598 -done
  13.599 -
  13.600 -_LT_OUTPUT_LIBTOOL_INIT
  13.601 -])
  13.602 -
  13.603 -# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  13.604 -# ------------------------------------
  13.605 -# Generate a child script FILE with all initialization necessary to
  13.606 -# reuse the environment learned by the parent script, and make the
  13.607 -# file executable.  If COMMENT is supplied, it is inserted after the
  13.608 -# '#!' sequence but before initialization text begins.  After this
  13.609 -# macro, additional text can be appended to FILE to form the body of
  13.610 -# the child script.  The macro ends with non-zero status if the
  13.611 -# file could not be fully written (such as if the disk is full).
  13.612 -m4_ifdef([AS_INIT_GENERATED],
  13.613 -[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  13.614 -[m4_defun([_LT_GENERATED_FILE_INIT],
  13.615 -[m4_require([AS_PREPARE])]dnl
  13.616 -[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  13.617 -[lt_write_fail=0
  13.618 -cat >$1 <<_ASEOF || lt_write_fail=1
  13.619 -#! $SHELL
  13.620 -# Generated by $as_me.
  13.621 -$2
  13.622 -SHELL=\${CONFIG_SHELL-$SHELL}
  13.623 -export SHELL
  13.624 -_ASEOF
  13.625 -cat >>$1 <<\_ASEOF || lt_write_fail=1
  13.626 -AS_SHELL_SANITIZE
  13.627 -_AS_PREPARE
  13.628 -exec AS_MESSAGE_FD>&1
  13.629 -_ASEOF
  13.630 -test 0 = "$lt_write_fail" && chmod +x $1[]dnl
  13.631 -m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  13.632 -
  13.633 -# LT_OUTPUT
  13.634 -# ---------
  13.635 -# This macro allows early generation of the libtool script (before
  13.636 -# AC_OUTPUT is called), incase it is used in configure for compilation
  13.637 -# tests.
  13.638 -AC_DEFUN([LT_OUTPUT],
  13.639 -[: ${CONFIG_LT=./config.lt}
  13.640 -AC_MSG_NOTICE([creating $CONFIG_LT])
  13.641 -_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  13.642 -[# Run this file to recreate a libtool stub with the current configuration.])
  13.643 -
  13.644 -cat >>"$CONFIG_LT" <<\_LTEOF
  13.645 -lt_cl_silent=false
  13.646 -exec AS_MESSAGE_LOG_FD>>config.log
  13.647 -{
  13.648 -  echo
  13.649 -  AS_BOX([Running $as_me.])
  13.650 -} >&AS_MESSAGE_LOG_FD
  13.651 -
  13.652 -lt_cl_help="\
  13.653 -'$as_me' creates a local libtool stub from the current configuration,
  13.654 -for use in further configure time tests before the real libtool is
  13.655 -generated.
  13.656 -
  13.657 -Usage: $[0] [[OPTIONS]]
  13.658 -
  13.659 -  -h, --help      print this help, then exit
  13.660 -  -V, --version   print version number, then exit
  13.661 -  -q, --quiet     do not print progress messages
  13.662 -  -d, --debug     don't remove temporary files
  13.663 -
  13.664 -Report bugs to <bug-libtool@gnu.org>."
  13.665 -
  13.666 -lt_cl_version="\
  13.667 -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  13.668 -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  13.669 -configured by $[0], generated by m4_PACKAGE_STRING.
  13.670 -
  13.671 -Copyright (C) 2011 Free Software Foundation, Inc.
  13.672 -This config.lt script is free software; the Free Software Foundation
  13.673 -gives unlimited permision to copy, distribute and modify it."
  13.674 -
  13.675 -while test 0 != $[#]
  13.676 -do
  13.677 -  case $[1] in
  13.678 -    --version | --v* | -V )
  13.679 -      echo "$lt_cl_version"; exit 0 ;;
  13.680 -    --help | --h* | -h )
  13.681 -      echo "$lt_cl_help"; exit 0 ;;
  13.682 -    --debug | --d* | -d )
  13.683 -      debug=: ;;
  13.684 -    --quiet | --q* | --silent | --s* | -q )
  13.685 -      lt_cl_silent=: ;;
  13.686 -
  13.687 -    -*) AC_MSG_ERROR([unrecognized option: $[1]
  13.688 -Try '$[0] --help' for more information.]) ;;
  13.689 -
  13.690 -    *) AC_MSG_ERROR([unrecognized argument: $[1]
  13.691 -Try '$[0] --help' for more information.]) ;;
  13.692 -  esac
  13.693 -  shift
  13.694 -done
  13.695 -
  13.696 -if $lt_cl_silent; then
  13.697 -  exec AS_MESSAGE_FD>/dev/null
  13.698 -fi
  13.699 -_LTEOF
  13.700 -
  13.701 -cat >>"$CONFIG_LT" <<_LTEOF
  13.702 -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  13.703 -_LTEOF
  13.704 -
  13.705 -cat >>"$CONFIG_LT" <<\_LTEOF
  13.706 -AC_MSG_NOTICE([creating $ofile])
  13.707 -_LT_OUTPUT_LIBTOOL_COMMANDS
  13.708 -AS_EXIT(0)
  13.709 -_LTEOF
  13.710 -chmod +x "$CONFIG_LT"
  13.711 -
  13.712 -# configure is writing to config.log, but config.lt does its own redirection,
  13.713 -# appending to config.log, which fails on DOS, as config.log is still kept
  13.714 -# open by configure.  Here we exec the FD to /dev/null, effectively closing
  13.715 -# config.log, so it can be properly (re)opened and appended to by config.lt.
  13.716 -lt_cl_success=:
  13.717 -test yes = "$silent" &&
  13.718 -  lt_config_lt_args="$lt_config_lt_args --quiet"
  13.719 -exec AS_MESSAGE_LOG_FD>/dev/null
  13.720 -$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  13.721 -exec AS_MESSAGE_LOG_FD>>config.log
  13.722 -$lt_cl_success || AS_EXIT(1)
  13.723 -])# LT_OUTPUT
  13.724 -
  13.725 -
  13.726 -# _LT_CONFIG(TAG)
  13.727 -# ---------------
  13.728 -# If TAG is the built-in tag, create an initial libtool script with a
  13.729 -# default configuration from the untagged config vars.  Otherwise add code
  13.730 -# to config.status for appending the configuration named by TAG from the
  13.731 -# matching tagged config vars.
  13.732 -m4_defun([_LT_CONFIG],
  13.733 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  13.734 -_LT_CONFIG_SAVE_COMMANDS([
  13.735 -  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  13.736 -  m4_if(_LT_TAG, [C], [
  13.737 -    # See if we are running on zsh, and set the options that allow our
  13.738 -    # commands through without removal of \ escapes.
  13.739 -    if test -n "${ZSH_VERSION+set}"; then
  13.740 -      setopt NO_GLOB_SUBST
  13.741 -    fi
  13.742 -
  13.743 -    cfgfile=${ofile}T
  13.744 -    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  13.745 -    $RM "$cfgfile"
  13.746 -
  13.747 -    cat <<_LT_EOF >> "$cfgfile"
  13.748 -#! $SHELL
  13.749 -# Generated automatically by $as_me ($PACKAGE) $VERSION
  13.750 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  13.751 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  13.752 -
  13.753 -# Provide generalized library-building support services.
  13.754 -# Written by Gordon Matzigkeit, 1996
  13.755 -
  13.756 -_LT_COPYING
  13.757 -_LT_LIBTOOL_TAGS
  13.758 -
  13.759 -# Configured defaults for sys_lib_dlsearch_path munging.
  13.760 -: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  13.761 -
  13.762 -# ### BEGIN LIBTOOL CONFIG
  13.763 -_LT_LIBTOOL_CONFIG_VARS
  13.764 -_LT_LIBTOOL_TAG_VARS
  13.765 -# ### END LIBTOOL CONFIG
  13.766 -
  13.767 -_LT_EOF
  13.768 -
  13.769 -    cat <<'_LT_EOF' >> "$cfgfile"
  13.770 -
  13.771 -# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  13.772 -
  13.773 -_LT_PREPARE_MUNGE_PATH_LIST
  13.774 -_LT_PREPARE_CC_BASENAME
  13.775 -
  13.776 -# ### END FUNCTIONS SHARED WITH CONFIGURE
  13.777 -
  13.778 -_LT_EOF
  13.779 -
  13.780 -  case $host_os in
  13.781 -  aix3*)
  13.782 -    cat <<\_LT_EOF >> "$cfgfile"
  13.783 -# AIX sometimes has problems with the GCC collect2 program.  For some
  13.784 -# reason, if we set the COLLECT_NAMES environment variable, the problems
  13.785 -# vanish in a puff of smoke.
  13.786 -if test set != "${COLLECT_NAMES+set}"; then
  13.787 -  COLLECT_NAMES=
  13.788 -  export COLLECT_NAMES
  13.789 -fi
  13.790 -_LT_EOF
  13.791 -    ;;
  13.792 -  esac
  13.793 -
  13.794 -  _LT_PROG_LTMAIN
  13.795 -
  13.796 -  # We use sed instead of cat because bash on DJGPP gets confused if
  13.797 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  13.798 -  # text mode, it properly converts lines to CR/LF.  This bash problem
  13.799 -  # is reportedly fixed, but why not run on old versions too?
  13.800 -  sed '$q' "$ltmain" >> "$cfgfile" \
  13.801 -     || (rm -f "$cfgfile"; exit 1)
  13.802 -
  13.803 -   mv -f "$cfgfile" "$ofile" ||
  13.804 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  13.805 -  chmod +x "$ofile"
  13.806 -],
  13.807 -[cat <<_LT_EOF >> "$ofile"
  13.808 -
  13.809 -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  13.810 -dnl in a comment (ie after a #).
  13.811 -# ### BEGIN LIBTOOL TAG CONFIG: $1
  13.812 -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  13.813 -# ### END LIBTOOL TAG CONFIG: $1
  13.814 -_LT_EOF
  13.815 -])dnl /m4_if
  13.816 -],
  13.817 -[m4_if([$1], [], [
  13.818 -    PACKAGE='$PACKAGE'
  13.819 -    VERSION='$VERSION'
  13.820 -    RM='$RM'
  13.821 -    ofile='$ofile'], [])
  13.822 -])dnl /_LT_CONFIG_SAVE_COMMANDS
  13.823 -])# _LT_CONFIG
  13.824 -
  13.825 -
  13.826 -# LT_SUPPORTED_TAG(TAG)
  13.827 -# ---------------------
  13.828 -# Trace this macro to discover what tags are supported by the libtool
  13.829 -# --tag option, using:
  13.830 -#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
  13.831 -AC_DEFUN([LT_SUPPORTED_TAG], [])
  13.832 -
  13.833 -
  13.834 -# C support is built-in for now
  13.835 -m4_define([_LT_LANG_C_enabled], [])
  13.836 -m4_define([_LT_TAGS], [])
  13.837 -
  13.838 -
  13.839 -# LT_LANG(LANG)
  13.840 -# -------------
  13.841 -# Enable libtool support for the given language if not already enabled.
  13.842 -AC_DEFUN([LT_LANG],
  13.843 -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  13.844 -m4_case([$1],
  13.845 -  [C],			[_LT_LANG(C)],
  13.846 -  [C++],		[_LT_LANG(CXX)],
  13.847 -  [Go],			[_LT_LANG(GO)],
  13.848 -  [Java],		[_LT_LANG(GCJ)],
  13.849 -  [Fortran 77],		[_LT_LANG(F77)],
  13.850 -  [Fortran],		[_LT_LANG(FC)],
  13.851 -  [Windows Resource],	[_LT_LANG(RC)],
  13.852 -  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  13.853 -    [_LT_LANG($1)],
  13.854 -    [m4_fatal([$0: unsupported language: "$1"])])])dnl
  13.855 -])# LT_LANG
  13.856 -
  13.857 -
  13.858 -# _LT_LANG(LANGNAME)
  13.859 -# ------------------
  13.860 -m4_defun([_LT_LANG],
  13.861 -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  13.862 -  [LT_SUPPORTED_TAG([$1])dnl
  13.863 -  m4_append([_LT_TAGS], [$1 ])dnl
  13.864 -  m4_define([_LT_LANG_]$1[_enabled], [])dnl
  13.865 -  _LT_LANG_$1_CONFIG($1)])dnl
  13.866 -])# _LT_LANG
  13.867 -
  13.868 -
  13.869 -m4_ifndef([AC_PROG_GO], [
  13.870 -# NOTE: This macro has been submitted for inclusion into   #
  13.871 -#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
  13.872 -#  a released version of Autoconf we should remove this    #
  13.873 -#  macro and use it instead.                               #
  13.874 -m4_defun([AC_PROG_GO],
  13.875 -[AC_LANG_PUSH(Go)dnl
  13.876 -AC_ARG_VAR([GOC],     [Go compiler command])dnl
  13.877 -AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
  13.878 -_AC_ARG_VAR_LDFLAGS()dnl
  13.879 -AC_CHECK_TOOL(GOC, gccgo)
  13.880 -if test -z "$GOC"; then
  13.881 -  if test -n "$ac_tool_prefix"; then
  13.882 -    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
  13.883 -  fi
  13.884 -fi
  13.885 -if test -z "$GOC"; then
  13.886 -  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
  13.887 -fi
  13.888 -])#m4_defun
  13.889 -])#m4_ifndef
  13.890 -
  13.891 -
  13.892 -# _LT_LANG_DEFAULT_CONFIG
  13.893 -# -----------------------
  13.894 -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  13.895 -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  13.896 -  [LT_LANG(CXX)],
  13.897 -  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  13.898 -
  13.899 -AC_PROVIDE_IFELSE([AC_PROG_F77],
  13.900 -  [LT_LANG(F77)],
  13.901 -  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  13.902 -
  13.903 -AC_PROVIDE_IFELSE([AC_PROG_FC],
  13.904 -  [LT_LANG(FC)],
  13.905 -  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  13.906 -
  13.907 -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  13.908 -dnl pulling things in needlessly.
  13.909 -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  13.910 -  [LT_LANG(GCJ)],
  13.911 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  13.912 -    [LT_LANG(GCJ)],
  13.913 -    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  13.914 -      [LT_LANG(GCJ)],
  13.915 -      [m4_ifdef([AC_PROG_GCJ],
  13.916 -	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  13.917 -       m4_ifdef([A][M_PROG_GCJ],
  13.918 -	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  13.919 -       m4_ifdef([LT_PROG_GCJ],
  13.920 -	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  13.921 -
  13.922 -AC_PROVIDE_IFELSE([AC_PROG_GO],
  13.923 -  [LT_LANG(GO)],
  13.924 -  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
  13.925 -
  13.926 -AC_PROVIDE_IFELSE([LT_PROG_RC],
  13.927 -  [LT_LANG(RC)],
  13.928 -  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  13.929 -])# _LT_LANG_DEFAULT_CONFIG
  13.930 -
  13.931 -# Obsolete macros:
  13.932 -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  13.933 -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  13.934 -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  13.935 -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  13.936 -AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  13.937 -dnl aclocal-1.4 backwards compatibility:
  13.938 -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  13.939 -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  13.940 -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  13.941 -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  13.942 -dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  13.943 -
  13.944 -
  13.945 -# _LT_TAG_COMPILER
  13.946 -# ----------------
  13.947 -m4_defun([_LT_TAG_COMPILER],
  13.948 -[AC_REQUIRE([AC_PROG_CC])dnl
  13.949 -
  13.950 -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  13.951 -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  13.952 -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  13.953 -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  13.954 -
  13.955 -# If no C compiler was specified, use CC.
  13.956 -LTCC=${LTCC-"$CC"}
  13.957 -
  13.958 -# If no C compiler flags were specified, use CFLAGS.
  13.959 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  13.960 -
  13.961 -# Allow CC to be a program name with arguments.
  13.962 -compiler=$CC
  13.963 -])# _LT_TAG_COMPILER
  13.964 -
  13.965 -
  13.966 -# _LT_COMPILER_BOILERPLATE
  13.967 -# ------------------------
  13.968 -# Check for compiler boilerplate output or warnings with
  13.969 -# the simple compiler test code.
  13.970 -m4_defun([_LT_COMPILER_BOILERPLATE],
  13.971 -[m4_require([_LT_DECL_SED])dnl
  13.972 -ac_outfile=conftest.$ac_objext
  13.973 -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  13.974 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  13.975 -_lt_compiler_boilerplate=`cat conftest.err`
  13.976 -$RM conftest*
  13.977 -])# _LT_COMPILER_BOILERPLATE
  13.978 -
  13.979 -
  13.980 -# _LT_LINKER_BOILERPLATE
  13.981 -# ----------------------
  13.982 -# Check for linker boilerplate output or warnings with
  13.983 -# the simple link test code.
  13.984 -m4_defun([_LT_LINKER_BOILERPLATE],
  13.985 -[m4_require([_LT_DECL_SED])dnl
  13.986 -ac_outfile=conftest.$ac_objext
  13.987 -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  13.988 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  13.989 -_lt_linker_boilerplate=`cat conftest.err`
  13.990 -$RM -r conftest*
  13.991 -])# _LT_LINKER_BOILERPLATE
  13.992 -
  13.993 -# _LT_REQUIRED_DARWIN_CHECKS
  13.994 -# -------------------------
  13.995 -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  13.996 -  case $host_os in
  13.997 -    rhapsody* | darwin*)
  13.998 -    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  13.999 -    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 13.1000 -    AC_CHECK_TOOL([LIPO], [lipo], [:])
 13.1001 -    AC_CHECK_TOOL([OTOOL], [otool], [:])
 13.1002 -    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 13.1003 -    _LT_DECL([], [DSYMUTIL], [1],
 13.1004 -      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 13.1005 -    _LT_DECL([], [NMEDIT], [1],
 13.1006 -      [Tool to change global to local symbols on Mac OS X])
 13.1007 -    _LT_DECL([], [LIPO], [1],
 13.1008 -      [Tool to manipulate fat objects and archives on Mac OS X])
 13.1009 -    _LT_DECL([], [OTOOL], [1],
 13.1010 -      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 13.1011 -    _LT_DECL([], [OTOOL64], [1],
 13.1012 -      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 13.1013 -
 13.1014 -    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 13.1015 -      [lt_cv_apple_cc_single_mod=no
 13.1016 -      if test -z "$LT_MULTI_MODULE"; then
 13.1017 -	# By default we will add the -single_module flag. You can override
 13.1018 -	# by either setting the environment variable LT_MULTI_MODULE
 13.1019 -	# non-empty at configure time, or by adding -multi_module to the
 13.1020 -	# link flags.
 13.1021 -	rm -rf libconftest.dylib*
 13.1022 -	echo "int foo(void){return 1;}" > conftest.c
 13.1023 -	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 13.1024 --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 13.1025 -	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 13.1026 -	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 13.1027 -        _lt_result=$?
 13.1028 -	# If there is a non-empty error log, and "single_module"
 13.1029 -	# appears in it, assume the flag caused a linker warning
 13.1030 -        if test -s conftest.err && $GREP single_module conftest.err; then
 13.1031 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
 13.1032 -	# Otherwise, if the output was created with a 0 exit code from
 13.1033 -	# the compiler, it worked.
 13.1034 -	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 13.1035 -	  lt_cv_apple_cc_single_mod=yes
 13.1036 -	else
 13.1037 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
 13.1038 -	fi
 13.1039 -	rm -rf libconftest.dylib*
 13.1040 -	rm -f conftest.*
 13.1041 -      fi])
 13.1042 -
 13.1043 -    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 13.1044 -      [lt_cv_ld_exported_symbols_list],
 13.1045 -      [lt_cv_ld_exported_symbols_list=no
 13.1046 -      save_LDFLAGS=$LDFLAGS
 13.1047 -      echo "_main" > conftest.sym
 13.1048 -      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 13.1049 -      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 13.1050 -	[lt_cv_ld_exported_symbols_list=yes],
 13.1051 -	[lt_cv_ld_exported_symbols_list=no])
 13.1052 -	LDFLAGS=$save_LDFLAGS
 13.1053 -    ])
 13.1054 -
 13.1055 -    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
 13.1056 -      [lt_cv_ld_force_load=no
 13.1057 -      cat > conftest.c << _LT_EOF
 13.1058 -int forced_loaded() { return 2;}
 13.1059 -_LT_EOF
 13.1060 -      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
 13.1061 -      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
 13.1062 -      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
 13.1063 -      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
 13.1064 -      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
 13.1065 -      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
 13.1066 -      cat > conftest.c << _LT_EOF
 13.1067 -int main() { return 0;}
 13.1068 -_LT_EOF
 13.1069 -      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
 13.1070 -      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 13.1071 -      _lt_result=$?
 13.1072 -      if test -s conftest.err && $GREP force_load conftest.err; then
 13.1073 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 13.1074 -      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 13.1075 -	lt_cv_ld_force_load=yes
 13.1076 -      else
 13.1077 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 13.1078 -      fi
 13.1079 -        rm -f conftest.err libconftest.a conftest conftest.c
 13.1080 -        rm -rf conftest.dSYM
 13.1081 -    ])
 13.1082 -    case $host_os in
 13.1083 -    rhapsody* | darwin1.[[012]])
 13.1084 -      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 13.1085 -    darwin1.*)
 13.1086 -      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 13.1087 -    darwin*) # darwin 5.x on
 13.1088 -      # if running on 10.5 or later, the deployment target defaults
 13.1089 -      # to the OS version, if on x86, and 10.4, the deployment
 13.1090 -      # target defaults to 10.4. Don't you love it?
 13.1091 -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 13.1092 -	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 13.1093 -	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 13.1094 -	10.[[012]][[,.]]*)
 13.1095 -	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 13.1096 -	10.*)
 13.1097 -	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 13.1098 -      esac
 13.1099 -    ;;
 13.1100 -  esac
 13.1101 -    if test yes = "$lt_cv_apple_cc_single_mod"; then
 13.1102 -      _lt_dar_single_mod='$single_module'
 13.1103 -    fi
 13.1104 -    if test yes = "$lt_cv_ld_exported_symbols_list"; then
 13.1105 -      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 13.1106 -    else
 13.1107 -      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 13.1108 -    fi
 13.1109 -    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 13.1110 -      _lt_dsymutil='~$DSYMUTIL $lib || :'
 13.1111 -    else
 13.1112 -      _lt_dsymutil=
 13.1113 -    fi
 13.1114 -    ;;
 13.1115 -  esac
 13.1116 -])
 13.1117 -
 13.1118 -
 13.1119 -# _LT_DARWIN_LINKER_FEATURES([TAG])
 13.1120 -# ---------------------------------
 13.1121 -# Checks for linker and compiler features on darwin
 13.1122 -m4_defun([_LT_DARWIN_LINKER_FEATURES],
 13.1123 -[
 13.1124 -  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 13.1125 -  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 13.1126 -  _LT_TAGVAR(hardcode_direct, $1)=no
 13.1127 -  _LT_TAGVAR(hardcode_automatic, $1)=yes
 13.1128 -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 13.1129 -  if test yes = "$lt_cv_ld_force_load"; then
 13.1130 -    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 13.1131 -    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
 13.1132 -                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
 13.1133 -  else
 13.1134 -    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 13.1135 -  fi
 13.1136 -  _LT_TAGVAR(link_all_deplibs, $1)=yes
 13.1137 -  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
 13.1138 -  case $cc_basename in
 13.1139 -     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
 13.1140 -     *) _lt_dar_can_shared=$GCC ;;
 13.1141 -  esac
 13.1142 -  if test yes = "$_lt_dar_can_shared"; then
 13.1143 -    output_verbose_link_cmd=func_echo_all
 13.1144 -    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
 13.1145 -    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
 13.1146 -    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
 13.1147 -    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
 13.1148 -    m4_if([$1], [CXX],
 13.1149 -[   if test yes != "$lt_cv_apple_cc_single_mod"; then
 13.1150 -      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
 13.1151 -      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
 13.1152 -    fi
 13.1153 -],[])
 13.1154 -  else
 13.1155 -  _LT_TAGVAR(ld_shlibs, $1)=no
 13.1156 -  fi
 13.1157 -])
 13.1158 -
 13.1159 -# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
 13.1160 -# ----------------------------------
 13.1161 -# Links a minimal program and checks the executable
 13.1162 -# for the system default hardcoded library path. In most cases,
 13.1163 -# this is /usr/lib:/lib, but when the MPI compilers are used
 13.1164 -# the location of the communication and MPI libs are included too.
 13.1165 -# If we don't find anything, use the default library path according
 13.1166 -# to the aix ld manual.
 13.1167 -# Store the results from the different compilers for each TAGNAME.
 13.1168 -# Allow to override them for all tags through lt_cv_aix_libpath.
 13.1169 -m4_defun([_LT_SYS_MODULE_PATH_AIX],
 13.1170 -[m4_require([_LT_DECL_SED])dnl
 13.1171 -if test set = "${lt_cv_aix_libpath+set}"; then
 13.1172 -  aix_libpath=$lt_cv_aix_libpath
 13.1173 -else
 13.1174 -  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
 13.1175 -  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
 13.1176 -  lt_aix_libpath_sed='[
 13.1177 -      /Import File Strings/,/^$/ {
 13.1178 -	  /^0/ {
 13.1179 -	      s/^0  *\([^ ]*\) *$/\1/
 13.1180 -	      p
 13.1181 -	  }
 13.1182 -      }]'
 13.1183 -  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13.1184 -  # Check for a 64-bit object if we didn't find anything.
 13.1185 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 13.1186 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 13.1187 -  fi],[])
 13.1188 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 13.1189 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
 13.1190 -  fi
 13.1191 -  ])
 13.1192 -  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
 13.1193 -fi
 13.1194 -])# _LT_SYS_MODULE_PATH_AIX
 13.1195 -
 13.1196 -
 13.1197 -# _LT_SHELL_INIT(ARG)
 13.1198 -# -------------------
 13.1199 -m4_define([_LT_SHELL_INIT],
 13.1200 -[m4_divert_text([M4SH-INIT], [$1
 13.1201 -])])# _LT_SHELL_INIT
 13.1202 -
 13.1203 -
 13.1204 -
 13.1205 -# _LT_PROG_ECHO_BACKSLASH
 13.1206 -# -----------------------
 13.1207 -# Find how we can fake an echo command that does not interpret backslash.
 13.1208 -# In particular, with Autoconf 2.60 or later we add some code to the start
 13.1209 -# of the generated configure script that will find a shell with a builtin
 13.1210 -# printf (that we can use as an echo command).
 13.1211 -m4_defun([_LT_PROG_ECHO_BACKSLASH],
 13.1212 -[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 13.1213 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 13.1214 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 13.1215 -
 13.1216 -AC_MSG_CHECKING([how to print strings])
 13.1217 -# Test print first, because it will be a builtin if present.
 13.1218 -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 13.1219 -   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 13.1220 -  ECHO='print -r --'
 13.1221 -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 13.1222 -  ECHO='printf %s\n'
 13.1223 -else
 13.1224 -  # Use this function as a fallback that always works.
 13.1225 -  func_fallback_echo ()
 13.1226 -  {
 13.1227 -    eval 'cat <<_LTECHO_EOF
 13.1228 -$[]1
 13.1229 -_LTECHO_EOF'
 13.1230 -  }
 13.1231 -  ECHO='func_fallback_echo'
 13.1232 -fi
 13.1233 -
 13.1234 -# func_echo_all arg...
 13.1235 -# Invoke $ECHO with all args, space-separated.
 13.1236 -func_echo_all ()
 13.1237 -{
 13.1238 -    $ECHO "$*"
 13.1239 -}
 13.1240 -
 13.1241 -case $ECHO in
 13.1242 -  printf*) AC_MSG_RESULT([printf]) ;;
 13.1243 -  print*) AC_MSG_RESULT([print -r]) ;;
 13.1244 -  *) AC_MSG_RESULT([cat]) ;;
 13.1245 -esac
 13.1246 -
 13.1247 -m4_ifdef([_AS_DETECT_SUGGESTED],
 13.1248 -[_AS_DETECT_SUGGESTED([
 13.1249 -  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
 13.1250 -    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 13.1251 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 13.1252 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 13.1253 -    PATH=/empty FPATH=/empty; export PATH FPATH
 13.1254 -    test "X`printf %s $ECHO`" = "X$ECHO" \
 13.1255 -      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 13.1256 -
 13.1257 -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 13.1258 -_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 13.1259 -])# _LT_PROG_ECHO_BACKSLASH
 13.1260 -
 13.1261 -
 13.1262 -# _LT_WITH_SYSROOT
 13.1263 -# ----------------
 13.1264 -AC_DEFUN([_LT_WITH_SYSROOT],
 13.1265 -[AC_MSG_CHECKING([for sysroot])
 13.1266 -AC_ARG_WITH([sysroot],
 13.1267 -[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
 13.1268 -  [Search for dependent libraries within DIR (or the compiler's sysroot
 13.1269 -   if not specified).])],
 13.1270 -[], [with_sysroot=no])
 13.1271 -
 13.1272 -dnl lt_sysroot will always be passed unquoted.  We quote it here
 13.1273 -dnl in case the user passed a directory name.
 13.1274 -lt_sysroot=
 13.1275 -case $with_sysroot in #(
 13.1276 - yes)
 13.1277 -   if test yes = "$GCC"; then
 13.1278 -     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 13.1279 -   fi
 13.1280 -   ;; #(
 13.1281 - /*)
 13.1282 -   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 13.1283 -   ;; #(
 13.1284 - no|'')
 13.1285 -   ;; #(
 13.1286 - *)
 13.1287 -   AC_MSG_RESULT([$with_sysroot])
 13.1288 -   AC_MSG_ERROR([The sysroot must be an absolute path.])
 13.1289 -   ;;
 13.1290 -esac
 13.1291 -
 13.1292 - AC_MSG_RESULT([${lt_sysroot:-no}])
 13.1293 -_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
 13.1294 -[dependent libraries, and where our libraries should be installed.])])
 13.1295 -
 13.1296 -# _LT_ENABLE_LOCK
 13.1297 -# ---------------
 13.1298 -m4_defun([_LT_ENABLE_LOCK],
 13.1299 -[AC_ARG_ENABLE([libtool-lock],
 13.1300 -  [AS_HELP_STRING([--disable-libtool-lock],
 13.1301 -    [avoid locking (might break parallel builds)])])
 13.1302 -test no = "$enable_libtool_lock" || enable_libtool_lock=yes
 13.1303 -
 13.1304 -# Some flags need to be propagated to the compiler or linker for good
 13.1305 -# libtool support.
 13.1306 -case $host in
 13.1307 -ia64-*-hpux*)
 13.1308 -  # Find out what ABI is being produced by ac_compile, and set mode
 13.1309 -  # options accordingly.
 13.1310 -  echo 'int i;' > conftest.$ac_ext
 13.1311 -  if AC_TRY_EVAL(ac_compile); then
 13.1312 -    case `/usr/bin/file conftest.$ac_objext` in
 13.1313 -      *ELF-32*)
 13.1314 -	HPUX_IA64_MODE=32
 13.1315 -	;;
 13.1316 -      *ELF-64*)
 13.1317 -	HPUX_IA64_MODE=64
 13.1318 -	;;
 13.1319 -    esac
 13.1320 -  fi
 13.1321 -  rm -rf conftest*
 13.1322 -  ;;
 13.1323 -*-*-irix6*)
 13.1324 -  # Find out what ABI is being produced by ac_compile, and set linker
 13.1325 -  # options accordingly.
 13.1326 -  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
 13.1327 -  if AC_TRY_EVAL(ac_compile); then
 13.1328 -    if test yes = "$lt_cv_prog_gnu_ld"; then
 13.1329 -      case `/usr/bin/file conftest.$ac_objext` in
 13.1330 -	*32-bit*)
 13.1331 -	  LD="${LD-ld} -melf32bsmip"
 13.1332 -	  ;;
 13.1333 -	*N32*)
 13.1334 -	  LD="${LD-ld} -melf32bmipn32"
 13.1335 -	  ;;
 13.1336 -	*64-bit*)
 13.1337 -	  LD="${LD-ld} -melf64bmip"
 13.1338 -	;;
 13.1339 -      esac
 13.1340 -    else
 13.1341 -      case `/usr/bin/file conftest.$ac_objext` in
 13.1342 -	*32-bit*)
 13.1343 -	  LD="${LD-ld} -32"
 13.1344 -	  ;;
 13.1345 -	*N32*)
 13.1346 -	  LD="${LD-ld} -n32"
 13.1347 -	  ;;
 13.1348 -	*64-bit*)
 13.1349 -	  LD="${LD-ld} -64"
 13.1350 -	  ;;
 13.1351 -      esac
 13.1352 -    fi
 13.1353 -  fi
 13.1354 -  rm -rf conftest*
 13.1355 -  ;;
 13.1356 -
 13.1357 -mips64*-*linux*)
 13.1358 -  # Find out what ABI is being produced by ac_compile, and set linker
 13.1359 -  # options accordingly.
 13.1360 -  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
 13.1361 -  if AC_TRY_EVAL(ac_compile); then
 13.1362 -    emul=elf
 13.1363 -    case `/usr/bin/file conftest.$ac_objext` in
 13.1364 -      *32-bit*)
 13.1365 -	emul="${emul}32"
 13.1366 -	;;
 13.1367 -      *64-bit*)
 13.1368 -	emul="${emul}64"
 13.1369 -	;;
 13.1370 -    esac
 13.1371 -    case `/usr/bin/file conftest.$ac_objext` in
 13.1372 -      *MSB*)
 13.1373 -	emul="${emul}btsmip"
 13.1374 -	;;
 13.1375 -      *LSB*)
 13.1376 -	emul="${emul}ltsmip"
 13.1377 -	;;
 13.1378 -    esac
 13.1379 -    case `/usr/bin/file conftest.$ac_objext` in
 13.1380 -      *N32*)
 13.1381 -	emul="${emul}n32"
 13.1382 -	;;
 13.1383 -    esac
 13.1384 -    LD="${LD-ld} -m $emul"
 13.1385 -  fi
 13.1386 -  rm -rf conftest*
 13.1387 -  ;;
 13.1388 -
 13.1389 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 13.1390 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 13.1391 -  # Find out what ABI is being produced by ac_compile, and set linker
 13.1392 -  # options accordingly.  Note that the listed cases only cover the
 13.1393 -  # situations where additional linker options are needed (such as when
 13.1394 -  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 13.1395 -  # vice versa); the common cases where no linker options are needed do
 13.1396 -  # not appear in the list.
 13.1397 -  echo 'int i;' > conftest.$ac_ext
 13.1398 -  if AC_TRY_EVAL(ac_compile); then
 13.1399 -    case `/usr/bin/file conftest.o` in
 13.1400 -      *32-bit*)
 13.1401 -	case $host in
 13.1402 -	  x86_64-*kfreebsd*-gnu)
 13.1403 -	    LD="${LD-ld} -m elf_i386_fbsd"
 13.1404 -	    ;;
 13.1405 -	  x86_64-*linux*)
 13.1406 -	    case `/usr/bin/file conftest.o` in
 13.1407 -	      *x86-64*)
 13.1408 -		LD="${LD-ld} -m elf32_x86_64"
 13.1409 -		;;
 13.1410 -	      *)
 13.1411 -		LD="${LD-ld} -m elf_i386"
 13.1412 -		;;
 13.1413 -	    esac
 13.1414 -	    ;;
 13.1415 -	  powerpc64le-*linux*)
 13.1416 -	    LD="${LD-ld} -m elf32lppclinux"
 13.1417 -	    ;;
 13.1418 -	  powerpc64-*linux*)
 13.1419 -	    LD="${LD-ld} -m elf32ppclinux"
 13.1420 -	    ;;
 13.1421 -	  s390x-*linux*)
 13.1422 -	    LD="${LD-ld} -m elf_s390"
 13.1423 -	    ;;
 13.1424 -	  sparc64-*linux*)
 13.1425 -	    LD="${LD-ld} -m elf32_sparc"
 13.1426 -	    ;;
 13.1427 -	esac
 13.1428 -	;;
 13.1429 -      *64-bit*)
 13.1430 -	case $host in
 13.1431 -	  x86_64-*kfreebsd*-gnu)
 13.1432 -	    LD="${LD-ld} -m elf_x86_64_fbsd"
 13.1433 -	    ;;
 13.1434 -	  x86_64-*linux*)
 13.1435 -	    LD="${LD-ld} -m elf_x86_64"
 13.1436 -	    ;;
 13.1437 -	  powerpcle-*linux*)
 13.1438 -	    LD="${LD-ld} -m elf64lppc"
 13.1439 -	    ;;
 13.1440 -	  powerpc-*linux*)
 13.1441 -	    LD="${LD-ld} -m elf64ppc"
 13.1442 -	    ;;
 13.1443 -	  s390*-*linux*|s390*-*tpf*)
 13.1444 -	    LD="${LD-ld} -m elf64_s390"
 13.1445 -	    ;;
 13.1446 -	  sparc*-*linux*)
 13.1447 -	    LD="${LD-ld} -m elf64_sparc"
 13.1448 -	    ;;
 13.1449 -	esac
 13.1450 -	;;
 13.1451 -    esac
 13.1452 -  fi
 13.1453 -  rm -rf conftest*
 13.1454 -  ;;
 13.1455 -
 13.1456 -*-*-sco3.2v5*)
 13.1457 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 13.1458 -  SAVE_CFLAGS=$CFLAGS
 13.1459 -  CFLAGS="$CFLAGS -belf"
 13.1460 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 13.1461 -    [AC_LANG_PUSH(C)
 13.1462 -     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 13.1463 -     AC_LANG_POP])
 13.1464 -  if test yes != "$lt_cv_cc_needs_belf"; then
 13.1465 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 13.1466 -    CFLAGS=$SAVE_CFLAGS
 13.1467 -  fi
 13.1468 -  ;;
 13.1469 -*-*solaris*)
 13.1470 -  # Find out what ABI is being produced by ac_compile, and set linker
 13.1471 -  # options accordingly.
 13.1472 -  echo 'int i;' > conftest.$ac_ext
 13.1473 -  if AC_TRY_EVAL(ac_compile); then
 13.1474 -    case `/usr/bin/file conftest.o` in
 13.1475 -    *64-bit*)
 13.1476 -      case $lt_cv_prog_gnu_ld in
 13.1477 -      yes*)
 13.1478 -        case $host in
 13.1479 -        i?86-*-solaris*|x86_64-*-solaris*)
 13.1480 -          LD="${LD-ld} -m elf_x86_64"
 13.1481 -          ;;
 13.1482 -        sparc*-*-solaris*)
 13.1483 -          LD="${LD-ld} -m elf64_sparc"
 13.1484 -          ;;
 13.1485 -        esac
 13.1486 -        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 13.1487 -        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 13.1488 -          LD=${LD-ld}_sol2
 13.1489 -        fi
 13.1490 -        ;;
 13.1491 -      *)
 13.1492 -	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 13.1493 -	  LD="${LD-ld} -64"
 13.1494 -	fi
 13.1495 -	;;
 13.1496 -      esac
 13.1497 -      ;;
 13.1498 -    esac
 13.1499 -  fi
 13.1500 -  rm -rf conftest*
 13.1501 -  ;;
 13.1502 -esac
 13.1503 -
 13.1504 -need_locks=$enable_libtool_lock
 13.1505 -])# _LT_ENABLE_LOCK
 13.1506 -
 13.1507 -
 13.1508 -# _LT_PROG_AR
 13.1509 -# -----------
 13.1510 -m4_defun([_LT_PROG_AR],
 13.1511 -[AC_CHECK_TOOLS(AR, [ar], false)
 13.1512 -: ${AR=ar}
 13.1513 -: ${AR_FLAGS=cru}
 13.1514 -_LT_DECL([], [AR], [1], [The archiver])
 13.1515 -_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 13.1516 -
 13.1517 -AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
 13.1518 -  [lt_cv_ar_at_file=no
 13.1519 -   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
 13.1520 -     [echo conftest.$ac_objext > conftest.lst
 13.1521 -      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
 13.1522 -      AC_TRY_EVAL([lt_ar_try])
 13.1523 -      if test 0 -eq "$ac_status"; then
 13.1524 -	# Ensure the archiver fails upon bogus file names.
 13.1525 -	rm -f conftest.$ac_objext libconftest.a
 13.1526 -	AC_TRY_EVAL([lt_ar_try])
 13.1527 -	if test 0 -ne "$ac_status"; then
 13.1528 -          lt_cv_ar_at_file=@
 13.1529 -        fi
 13.1530 -      fi
 13.1531 -      rm -f conftest.* libconftest.a
 13.1532 -     ])
 13.1533 -  ])
 13.1534 -
 13.1535 -if test no = "$lt_cv_ar_at_file"; then
 13.1536 -  archiver_list_spec=
 13.1537 -else
 13.1538 -  archiver_list_spec=$lt_cv_ar_at_file
 13.1539 -fi
 13.1540 -_LT_DECL([], [archiver_list_spec], [1],
 13.1541 -  [How to feed a file listing to the archiver])
 13.1542 -])# _LT_PROG_AR
 13.1543 -
 13.1544 -
 13.1545 -# _LT_CMD_OLD_ARCHIVE
 13.1546 -# -------------------
 13.1547 -m4_defun([_LT_CMD_OLD_ARCHIVE],
 13.1548 -[_LT_PROG_AR
 13.1549 -
 13.1550 -AC_CHECK_TOOL(STRIP, strip, :)
 13.1551 -test -z "$STRIP" && STRIP=:
 13.1552 -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 13.1553 -
 13.1554 -AC_CHECK_TOOL(RANLIB, ranlib, :)
 13.1555 -test -z "$RANLIB" && RANLIB=:
 13.1556 -_LT_DECL([], [RANLIB], [1],
 13.1557 -    [Commands used to install an old-style archive])
 13.1558 -
 13.1559 -# Determine commands to create old-style static archives.
 13.1560 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 13.1561 -old_postinstall_cmds='chmod 644 $oldlib'
 13.1562 -old_postuninstall_cmds=
 13.1563 -
 13.1564 -if test -n "$RANLIB"; then
 13.1565 -  case $host_os in
 13.1566 -  bitrig* | openbsd*)
 13.1567 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 13.1568 -    ;;
 13.1569 -  *)
 13.1570 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 13.1571 -    ;;
 13.1572 -  esac
 13.1573 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 13.1574 -fi
 13.1575 -
 13.1576 -case $host_os in
 13.1577 -  darwin*)
 13.1578 -    lock_old_archive_extraction=yes ;;
 13.1579 -  *)
 13.1580 -    lock_old_archive_extraction=no ;;
 13.1581 -esac
 13.1582 -_LT_DECL([], [old_postinstall_cmds], [2])
 13.1583 -_LT_DECL([], [old_postuninstall_cmds], [2])
 13.1584 -_LT_TAGDECL([], [old_archive_cmds], [2],
 13.1585 -    [Commands used to build an old-style archive])
 13.1586 -_LT_DECL([], [lock_old_archive_extraction], [0],
 13.1587 -    [Whether to use a lock for old archive extraction])
 13.1588 -])# _LT_CMD_OLD_ARCHIVE
 13.1589 -
 13.1590 -
 13.1591 -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 13.1592 -#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 13.1593 -# ----------------------------------------------------------------
 13.1594 -# Check whether the given compiler option works
 13.1595 -AC_DEFUN([_LT_COMPILER_OPTION],
 13.1596 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 13.1597 -m4_require([_LT_DECL_SED])dnl
 13.1598 -AC_CACHE_CHECK([$1], [$2],
 13.1599 -  [$2=no
 13.1600 -   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 13.1601 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13.1602 -   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
 13.1603 -   # Insert the option either (1) after the last *FLAGS variable, or
 13.1604 -   # (2) before a word containing "conftest.", or (3) at the end.
 13.1605 -   # Note that $ac_compile itself does not contain backslashes and begins
 13.1606 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 13.1607 -   # The option is referenced via a variable to avoid confusing sed.
 13.1608 -   lt_compile=`echo "$ac_compile" | $SED \
 13.1609 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13.1610 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 13.1611 -   -e 's:$: $lt_compiler_flag:'`
 13.1612 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 13.1613 -   (eval "$lt_compile" 2>conftest.err)
 13.1614 -   ac_status=$?
 13.1615 -   cat conftest.err >&AS_MESSAGE_LOG_FD
 13.1616 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 13.1617 -   if (exit $ac_status) && test -s "$ac_outfile"; then
 13.1618 -     # The compiler can only warn and ignore the option if not recognized
 13.1619 -     # So say no if there are warnings other than the usual output.
 13.1620 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 13.1621 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 13.1622 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 13.1623 -       $2=yes
 13.1624 -     fi
 13.1625 -   fi
 13.1626 -   $RM conftest*
 13.1627 -])
 13.1628 -
 13.1629 -if test yes = "[$]$2"; then
 13.1630 -    m4_if([$5], , :, [$5])
 13.1631 -else
 13.1632 -    m4_if([$6], , :, [$6])
 13.1633 -fi
 13.1634 -])# _LT_COMPILER_OPTION
 13.1635 -
 13.1636 -# Old name:
 13.1637 -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 13.1638 -dnl aclocal-1.4 backwards compatibility:
 13.1639 -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 13.1640 -
 13.1641 -
 13.1642 -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 13.1643 -#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 13.1644 -# ----------------------------------------------------
 13.1645 -# Check whether the given linker option works
 13.1646 -AC_DEFUN([_LT_LINKER_OPTION],
 13.1647 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 13.1648 -m4_require([_LT_DECL_SED])dnl
 13.1649 -AC_CACHE_CHECK([$1], [$2],
 13.1650 -  [$2=no
 13.1651 -   save_LDFLAGS=$LDFLAGS
 13.1652 -   LDFLAGS="$LDFLAGS $3"
 13.1653 -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 13.1654 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 13.1655 -     # The linker can only warn and ignore the option if not recognized
 13.1656 -     # So say no if there are warnings
 13.1657 -     if test -s conftest.err; then
 13.1658 -       # Append any errors to the config.log.
 13.1659 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 13.1660 -       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 13.1661 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 13.1662 -       if diff conftest.exp conftest.er2 >/dev/null; then
 13.1663 -         $2=yes
 13.1664 -       fi
 13.1665 -     else
 13.1666 -       $2=yes
 13.1667 -     fi
 13.1668 -   fi
 13.1669 -   $RM -r conftest*
 13.1670 -   LDFLAGS=$save_LDFLAGS
 13.1671 -])
 13.1672 -
 13.1673 -if test yes = "[$]$2"; then
 13.1674 -    m4_if([$4], , :, [$4])
 13.1675 -else
 13.1676 -    m4_if([$5], , :, [$5])
 13.1677 -fi
 13.1678 -])# _LT_LINKER_OPTION
 13.1679 -
 13.1680 -# Old name:
 13.1681 -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 13.1682 -dnl aclocal-1.4 backwards compatibility:
 13.1683 -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 13.1684 -
 13.1685 -
 13.1686 -# LT_CMD_MAX_LEN
 13.1687 -#---------------
 13.1688 -AC_DEFUN([LT_CMD_MAX_LEN],
 13.1689 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 13.1690 -# find the maximum length of command line arguments
 13.1691 -AC_MSG_CHECKING([the maximum length of command line arguments])
 13.1692 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 13.1693 -  i=0
 13.1694 -  teststring=ABCD
 13.1695 -
 13.1696 -  case $build_os in
 13.1697 -  msdosdjgpp*)
 13.1698 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
 13.1699 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
 13.1700 -    # during glob expansion).  Even if it were fixed, the result of this
 13.1701 -    # check would be larger than it should be.
 13.1702 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 13.1703 -    ;;
 13.1704 -
 13.1705 -  gnu*)
 13.1706 -    # Under GNU Hurd, this test is not required because there is
 13.1707 -    # no limit to the length of command line arguments.
 13.1708 -    # Libtool will interpret -1 as no limit whatsoever
 13.1709 -    lt_cv_sys_max_cmd_len=-1;
 13.1710 -    ;;
 13.1711 -
 13.1712 -  cygwin* | mingw* | cegcc*)
 13.1713 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
 13.1714 -    # about 5 minutes as the teststring grows exponentially.
 13.1715 -    # Worse, since 9x/ME are not pre-emptively multitasking,
 13.1716 -    # you end up with a "frozen" computer, even though with patience
 13.1717 -    # the test eventually succeeds (with a max line length of 256k).
 13.1718 -    # Instead, let's just punt: use the minimum linelength reported by
 13.1719 -    # all of the supported platforms: 8192 (on NT/2K/XP).
 13.1720 -    lt_cv_sys_max_cmd_len=8192;
 13.1721 -    ;;
 13.1722 -
 13.1723 -  mint*)
 13.1724 -    # On MiNT this can take a long time and run out of memory.
 13.1725 -    lt_cv_sys_max_cmd_len=8192;
 13.1726 -    ;;
 13.1727 -
 13.1728 -  amigaos*)
 13.1729 -    # On AmigaOS with pdksh, this test takes hours, literally.
 13.1730 -    # So we just punt and use a minimum line length of 8192.
 13.1731 -    lt_cv_sys_max_cmd_len=8192;
 13.1732 -    ;;
 13.1733 -
 13.1734 -  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 13.1735 -    # This has been around since 386BSD, at least.  Likely further.
 13.1736 -    if test -x /sbin/sysctl; then
 13.1737 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 13.1738 -    elif test -x /usr/sbin/sysctl; then
 13.1739 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 13.1740 -    else
 13.1741 -      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 13.1742 -    fi
 13.1743 -    # And add a safety zone
 13.1744 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 13.1745 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 13.1746 -    ;;
 13.1747 -
 13.1748 -  interix*)
 13.1749 -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 13.1750 -    lt_cv_sys_max_cmd_len=196608
 13.1751 -    ;;
 13.1752 -
 13.1753 -  os2*)
 13.1754 -    # The test takes a long time on OS/2.
 13.1755 -    lt_cv_sys_max_cmd_len=8192
 13.1756 -    ;;
 13.1757 -
 13.1758 -  osf*)
 13.1759 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 13.1760 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 13.1761 -    # nice to cause kernel panics so lets avoid the loop below.
 13.1762 -    # First set a reasonable default.
 13.1763 -    lt_cv_sys_max_cmd_len=16384
 13.1764 -    #
 13.1765 -    if test -x /sbin/sysconfig; then
 13.1766 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 13.1767 -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 13.1768 -      esac
 13.1769 -    fi
 13.1770 -    ;;
 13.1771 -  sco3.2v5*)
 13.1772 -    lt_cv_sys_max_cmd_len=102400
 13.1773 -    ;;
 13.1774 -  sysv5* | sco5v6* | sysv4.2uw2*)
 13.1775 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 13.1776 -    if test -n "$kargmax"; then
 13.1777 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
 13.1778 -    else
 13.1779 -      lt_cv_sys_max_cmd_len=32768
 13.1780 -    fi
 13.1781 -    ;;
 13.1782 -  *)
 13.1783 -    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 13.1784 -    if test -n "$lt_cv_sys_max_cmd_len" && \
 13.1785 -       test undefined != "$lt_cv_sys_max_cmd_len"; then
 13.1786 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 13.1787 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 13.1788 -    else
 13.1789 -      # Make teststring a little bigger before we do anything with it.
 13.1790 -      # a 1K string should be a reasonable start.
 13.1791 -      for i in 1 2 3 4 5 6 7 8; do
 13.1792 -        teststring=$teststring$teststring
 13.1793 -      done
 13.1794 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 13.1795 -      # If test is not a shell built-in, we'll probably end up computing a
 13.1796 -      # maximum length that is only half of the actual maximum length, but
 13.1797 -      # we can't tell.
 13.1798 -      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 13.1799 -	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 13.1800 -	      test 17 != "$i" # 1/2 MB should be enough
 13.1801 -      do
 13.1802 -        i=`expr $i + 1`
 13.1803 -        teststring=$teststring$teststring
 13.1804 -      done
 13.1805 -      # Only check the string length outside the loop.
 13.1806 -      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 13.1807 -      teststring=
 13.1808 -      # Add a significant safety factor because C++ compilers can tack on
 13.1809 -      # massive amounts of additional arguments before passing them to the
 13.1810 -      # linker.  It appears as though 1/2 is a usable value.
 13.1811 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 13.1812 -    fi
 13.1813 -    ;;
 13.1814 -  esac
 13.1815 -])
 13.1816 -if test -n "$lt_cv_sys_max_cmd_len"; then
 13.1817 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 13.1818 -else
 13.1819 -  AC_MSG_RESULT(none)
 13.1820 -fi
 13.1821 -max_cmd_len=$lt_cv_sys_max_cmd_len
 13.1822 -_LT_DECL([], [max_cmd_len], [0],
 13.1823 -    [What is the maximum length of a command?])
 13.1824 -])# LT_CMD_MAX_LEN
 13.1825 -
 13.1826 -# Old name:
 13.1827 -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 13.1828 -dnl aclocal-1.4 backwards compatibility:
 13.1829 -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 13.1830 -
 13.1831 -
 13.1832 -# _LT_HEADER_DLFCN
 13.1833 -# ----------------
 13.1834 -m4_defun([_LT_HEADER_DLFCN],
 13.1835 -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 13.1836 -])# _LT_HEADER_DLFCN
 13.1837 -
 13.1838 -
 13.1839 -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 13.1840 -#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 13.1841 -# ----------------------------------------------------------------
 13.1842 -m4_defun([_LT_TRY_DLOPEN_SELF],
 13.1843 -[m4_require([_LT_HEADER_DLFCN])dnl
 13.1844 -if test yes = "$cross_compiling"; then :
 13.1845 -  [$4]
 13.1846 -else
 13.1847 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 13.1848 -  lt_status=$lt_dlunknown
 13.1849 -  cat > conftest.$ac_ext <<_LT_EOF
 13.1850 -[#line $LINENO "configure"
 13.1851 -#include "confdefs.h"
 13.1852 -
 13.1853 -#if HAVE_DLFCN_H
 13.1854 -#include <dlfcn.h>
 13.1855 -#endif
 13.1856 -
 13.1857 -#include <stdio.h>
 13.1858 -
 13.1859 -#ifdef RTLD_GLOBAL
 13.1860 -#  define LT_DLGLOBAL		RTLD_GLOBAL
 13.1861 -#else
 13.1862 -#  ifdef DL_GLOBAL
 13.1863 -#    define LT_DLGLOBAL		DL_GLOBAL
 13.1864 -#  else
 13.1865 -#    define LT_DLGLOBAL		0
 13.1866 -#  endif
 13.1867 -#endif
 13.1868 -
 13.1869 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 13.1870 -   find out it does not work in some platform. */
 13.1871 -#ifndef LT_DLLAZY_OR_NOW
 13.1872 -#  ifdef RTLD_LAZY
 13.1873 -#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 13.1874 -#  else
 13.1875 -#    ifdef DL_LAZY
 13.1876 -#      define LT_DLLAZY_OR_NOW		DL_LAZY
 13.1877 -#    else
 13.1878 -#      ifdef RTLD_NOW
 13.1879 -#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 13.1880 -#      else
 13.1881 -#        ifdef DL_NOW
 13.1882 -#          define LT_DLLAZY_OR_NOW	DL_NOW
 13.1883 -#        else
 13.1884 -#          define LT_DLLAZY_OR_NOW	0
 13.1885 -#        endif
 13.1886 -#      endif
 13.1887 -#    endif
 13.1888 -#  endif
 13.1889 -#endif
 13.1890 -
 13.1891 -/* When -fvisibility=hidden is used, assume the code has been annotated
 13.1892 -   correspondingly for the symbols needed.  */
 13.1893 -#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 13.1894 -int fnord () __attribute__((visibility("default")));
 13.1895 -#endif
 13.1896 -
 13.1897 -int fnord () { return 42; }
 13.1898 -int main ()
 13.1899 -{
 13.1900 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 13.1901 -  int status = $lt_dlunknown;
 13.1902 -
 13.1903 -  if (self)
 13.1904 -    {
 13.1905 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 13.1906 -      else
 13.1907 -        {
 13.1908 -	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 13.1909 -          else puts (dlerror ());
 13.1910 -	}
 13.1911 -      /* dlclose (self); */
 13.1912 -    }
 13.1913 -  else
 13.1914 -    puts (dlerror ());
 13.1915 -
 13.1916 -  return status;
 13.1917 -}]
 13.1918 -_LT_EOF
 13.1919 -  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
 13.1920 -    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 13.1921 -    lt_status=$?
 13.1922 -    case x$lt_status in
 13.1923 -      x$lt_dlno_uscore) $1 ;;
 13.1924 -      x$lt_dlneed_uscore) $2 ;;
 13.1925 -      x$lt_dlunknown|x*) $3 ;;
 13.1926 -    esac
 13.1927 -  else :
 13.1928 -    # compilation failed
 13.1929 -    $3
 13.1930 -  fi
 13.1931 -fi
 13.1932 -rm -fr conftest*
 13.1933 -])# _LT_TRY_DLOPEN_SELF
 13.1934 -
 13.1935 -
 13.1936 -# LT_SYS_DLOPEN_SELF
 13.1937 -# ------------------
 13.1938 -AC_DEFUN([LT_SYS_DLOPEN_SELF],
 13.1939 -[m4_require([_LT_HEADER_DLFCN])dnl
 13.1940 -if test yes != "$enable_dlopen"; then
 13.1941 -  enable_dlopen=unknown
 13.1942 -  enable_dlopen_self=unknown
 13.1943 -  enable_dlopen_self_static=unknown
 13.1944 -else
 13.1945 -  lt_cv_dlopen=no
 13.1946 -  lt_cv_dlopen_libs=
 13.1947 -
 13.1948 -  case $host_os in
 13.1949 -  beos*)
 13.1950 -    lt_cv_dlopen=load_add_on
 13.1951 -    lt_cv_dlopen_libs=
 13.1952 -    lt_cv_dlopen_self=yes
 13.1953 -    ;;
 13.1954 -
 13.1955 -  mingw* | pw32* | cegcc*)
 13.1956 -    lt_cv_dlopen=LoadLibrary
 13.1957 -    lt_cv_dlopen_libs=
 13.1958 -    ;;
 13.1959 -
 13.1960 -  cygwin*)
 13.1961 -    lt_cv_dlopen=dlopen
 13.1962 -    lt_cv_dlopen_libs=
 13.1963 -    ;;
 13.1964 -
 13.1965 -  darwin*)
 13.1966 -    # if libdl is installed we need to link against it
 13.1967 -    AC_CHECK_LIB([dl], [dlopen],
 13.1968 -		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
 13.1969 -    lt_cv_dlopen=dyld
 13.1970 -    lt_cv_dlopen_libs=
 13.1971 -    lt_cv_dlopen_self=yes
 13.1972 -    ])
 13.1973 -    ;;
 13.1974 -
 13.1975 -  tpf*)
 13.1976 -    # Don't try to run any link tests for TPF.  We know it's impossible
 13.1977 -    # because TPF is a cross-compiler, and we know how we open DSOs.
 13.1978 -    lt_cv_dlopen=dlopen
 13.1979 -    lt_cv_dlopen_libs=
 13.1980 -    lt_cv_dlopen_self=no
 13.1981 -    ;;
 13.1982 -
 13.1983 -  *)
 13.1984 -    AC_CHECK_FUNC([shl_load],
 13.1985 -	  [lt_cv_dlopen=shl_load],
 13.1986 -      [AC_CHECK_LIB([dld], [shl_load],
 13.1987 -	    [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
 13.1988 -	[AC_CHECK_FUNC([dlopen],
 13.1989 -	      [lt_cv_dlopen=dlopen],
 13.1990 -	  [AC_CHECK_LIB([dl], [dlopen],
 13.1991 -		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
 13.1992 -	    [AC_CHECK_LIB([svld], [dlopen],
 13.1993 -		  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
 13.1994 -	      [AC_CHECK_LIB([dld], [dld_link],
 13.1995 -		    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
 13.1996 -	      ])
 13.1997 -	    ])
 13.1998 -	  ])
 13.1999 -	])
 13.2000 -      ])
 13.2001 -    ;;
 13.2002 -  esac
 13.2003 -
 13.2004 -  if test no = "$lt_cv_dlopen"; then
 13.2005 -    enable_dlopen=no
 13.2006 -  else
 13.2007 -    enable_dlopen=yes
 13.2008 -  fi
 13.2009 -
 13.2010 -  case $lt_cv_dlopen in
 13.2011 -  dlopen)
 13.2012 -    save_CPPFLAGS=$CPPFLAGS
 13.2013 -    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 13.2014 -
 13.2015 -    save_LDFLAGS=$LDFLAGS
 13.2016 -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 13.2017 -
 13.2018 -    save_LIBS=$LIBS
 13.2019 -    LIBS="$lt_cv_dlopen_libs $LIBS"
 13.2020 -
 13.2021 -    AC_CACHE_CHECK([whether a program can dlopen itself],
 13.2022 -	  lt_cv_dlopen_self, [dnl
 13.2023 -	  _LT_TRY_DLOPEN_SELF(
 13.2024 -	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 13.2025 -	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 13.2026 -    ])
 13.2027 -
 13.2028 -    if test yes = "$lt_cv_dlopen_self"; then
 13.2029 -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 13.2030 -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 13.2031 -	  lt_cv_dlopen_self_static, [dnl
 13.2032 -	  _LT_TRY_DLOPEN_SELF(
 13.2033 -	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 13.2034 -	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 13.2035 -      ])
 13.2036 -    fi
 13.2037 -
 13.2038 -    CPPFLAGS=$save_CPPFLAGS
 13.2039 -    LDFLAGS=$save_LDFLAGS
 13.2040 -    LIBS=$save_LIBS
 13.2041 -    ;;
 13.2042 -  esac
 13.2043 -
 13.2044 -  case $lt_cv_dlopen_self in
 13.2045 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 13.2046 -  *) enable_dlopen_self=unknown ;;
 13.2047 -  esac
 13.2048 -
 13.2049 -  case $lt_cv_dlopen_self_static in
 13.2050 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 13.2051 -  *) enable_dlopen_self_static=unknown ;;
 13.2052 -  esac
 13.2053 -fi
 13.2054 -_LT_DECL([dlopen_support], [enable_dlopen], [0],
 13.2055 -	 [Whether dlopen is supported])
 13.2056 -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 13.2057 -	 [Whether dlopen of programs is supported])
 13.2058 -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 13.2059 -	 [Whether dlopen of statically linked programs is supported])
 13.2060 -])# LT_SYS_DLOPEN_SELF
 13.2061 -
 13.2062 -# Old name:
 13.2063 -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 13.2064 -dnl aclocal-1.4 backwards compatibility:
 13.2065 -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 13.2066 -
 13.2067 -
 13.2068 -# _LT_COMPILER_C_O([TAGNAME])
 13.2069 -# ---------------------------
 13.2070 -# Check to see if options -c and -o are simultaneously supported by compiler.
 13.2071 -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 13.2072 -m4_defun([_LT_COMPILER_C_O],
 13.2073 -[m4_require([_LT_DECL_SED])dnl
 13.2074 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 13.2075 -m4_require([_LT_TAG_COMPILER])dnl
 13.2076 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 13.2077 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 13.2078 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 13.2079 -   $RM -r conftest 2>/dev/null
 13.2080 -   mkdir conftest
 13.2081 -   cd conftest
 13.2082 -   mkdir out
 13.2083 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13.2084 -
 13.2085 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
 13.2086 -   # Insert the option either (1) after the last *FLAGS variable, or
 13.2087 -   # (2) before a word containing "conftest.", or (3) at the end.
 13.2088 -   # Note that $ac_compile itself does not contain backslashes and begins
 13.2089 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 13.2090 -   lt_compile=`echo "$ac_compile" | $SED \
 13.2091 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13.2092 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 13.2093 -   -e 's:$: $lt_compiler_flag:'`
 13.2094 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 13.2095 -   (eval "$lt_compile" 2>out/conftest.err)
 13.2096 -   ac_status=$?
 13.2097 -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 13.2098 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 13.2099 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 13.2100 -   then
 13.2101 -     # The compiler can only warn and ignore the option if not recognized
 13.2102 -     # So say no if there are warnings
 13.2103 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 13.2104 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 13.2105 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 13.2106 -       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 13.2107 -     fi
 13.2108 -   fi
 13.2109 -   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 13.2110 -   $RM conftest*
 13.2111 -   # SGI C++ compiler will create directory out/ii_files/ for
 13.2112 -   # template instantiation
 13.2113 -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 13.2114 -   $RM out/* && rmdir out
 13.2115 -   cd ..
 13.2116 -   $RM -r conftest
 13.2117 -   $RM conftest*
 13.2118 -])
 13.2119 -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 13.2120 -	[Does compiler simultaneously support -c and -o options?])
 13.2121 -])# _LT_COMPILER_C_O
 13.2122 -
 13.2123 -
 13.2124 -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 13.2125 -# ----------------------------------
 13.2126 -# Check to see if we can do hard links to lock some files if needed
 13.2127 -m4_defun([_LT_COMPILER_FILE_LOCKS],
 13.2128 -[m4_require([_LT_ENABLE_LOCK])dnl
 13.2129 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 13.2130 -_LT_COMPILER_C_O([$1])
 13.2131 -
 13.2132 -hard_links=nottested
 13.2133 -if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
 13.2134 -  # do not overwrite the value of need_locks provided by the user
 13.2135 -  AC_MSG_CHECKING([if we can lock with hard links])
 13.2136 -  hard_links=yes
 13.2137 -  $RM conftest*
 13.2138 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13.2139 -  touch conftest.a
 13.2140 -  ln conftest.a conftest.b 2>&5 || hard_links=no
 13.2141 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13.2142 -  AC_MSG_RESULT([$hard_links])
 13.2143 -  if test no = "$hard_links"; then
 13.2144 -    AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
 13.2145 -    need_locks=warn
 13.2146 -  fi
 13.2147 -else
 13.2148 -  need_locks=no
 13.2149 -fi
 13.2150 -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 13.2151 -])# _LT_COMPILER_FILE_LOCKS
 13.2152 -
 13.2153 -
 13.2154 -# _LT_CHECK_OBJDIR
 13.2155 -# ----------------
 13.2156 -m4_defun([_LT_CHECK_OBJDIR],
 13.2157 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 13.2158 -[rm -f .libs 2>/dev/null
 13.2159 -mkdir .libs 2>/dev/null
 13.2160 -if test -d .libs; then
 13.2161 -  lt_cv_objdir=.libs
 13.2162 -else
 13.2163 -  # MS-DOS does not allow filenames that begin with a dot.
 13.2164 -  lt_cv_objdir=_libs
 13.2165 -fi
 13.2166 -rmdir .libs 2>/dev/null])
 13.2167 -objdir=$lt_cv_objdir
 13.2168 -_LT_DECL([], [objdir], [0],
 13.2169 -         [The name of the directory that contains temporary libtool files])dnl
 13.2170 -m4_pattern_allow([LT_OBJDIR])dnl
 13.2171 -AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
 13.2172 -  [Define to the sub-directory where libtool stores uninstalled libraries.])
 13.2173 -])# _LT_CHECK_OBJDIR
 13.2174 -
 13.2175 -
 13.2176 -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 13.2177 -# --------------------------------------
 13.2178 -# Check hardcoding attributes.
 13.2179 -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 13.2180 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
 13.2181 -_LT_TAGVAR(hardcode_action, $1)=
 13.2182 -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 13.2183 -   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 13.2184 -   test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
 13.2185 -
 13.2186 -  # We can hardcode non-existent directories.
 13.2187 -  if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
 13.2188 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 13.2189 -     # have to relink, otherwise we might link with an installed library
 13.2190 -     # when we should be linking with a yet-to-be-installed one
 13.2191 -     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
 13.2192 -     test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
 13.2193 -    # Linking always hardcodes the temporary library directory.
 13.2194 -    _LT_TAGVAR(hardcode_action, $1)=relink
 13.2195 -  else
 13.2196 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 13.2197 -    _LT_TAGVAR(hardcode_action, $1)=immediate
 13.2198 -  fi
 13.2199 -else
 13.2200 -  # We cannot hardcode anything, or else we can only hardcode existing
 13.2201 -  # directories.
 13.2202 -  _LT_TAGVAR(hardcode_action, $1)=unsupported
 13.2203 -fi
 13.2204 -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 13.2205 -
 13.2206 -if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
 13.2207 -   test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
 13.2208 -  # Fast installation is not supported
 13.2209 -  enable_fast_install=no
 13.2210 -elif test yes = "$shlibpath_overrides_runpath" ||
 13.2211 -     test no = "$enable_shared"; then
 13.2212 -  # Fast installation is not necessary
 13.2213 -  enable_fast_install=needless
 13.2214 -fi
 13.2215 -_LT_TAGDECL([], [hardcode_action], [0],
 13.2216 -    [How to hardcode a shared library path into an executable])
 13.2217 -])# _LT_LINKER_HARDCODE_LIBPATH
 13.2218 -
 13.2219 -
 13.2220 -# _LT_CMD_STRIPLIB
 13.2221 -# ----------------
 13.2222 -m4_defun([_LT_CMD_STRIPLIB],
 13.2223 -[m4_require([_LT_DECL_EGREP])
 13.2224 -striplib=
 13.2225 -old_striplib=
 13.2226 -AC_MSG_CHECKING([whether stripping libraries is possible])
 13.2227 -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 13.2228 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 13.2229 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 13.2230 -  AC_MSG_RESULT([yes])
 13.2231 -else
 13.2232 -# FIXME - insert some real tests, host_os isn't really good enough
 13.2233 -  case $host_os in
 13.2234 -  darwin*)
 13.2235 -    if test -n "$STRIP"; then
 13.2236 -      striplib="$STRIP -x"
 13.2237 -      old_striplib="$STRIP -S"
 13.2238 -      AC_MSG_RESULT([yes])
 13.2239 -    else
 13.2240 -      AC_MSG_RESULT([no])
 13.2241 -    fi
 13.2242 -    ;;
 13.2243 -  *)
 13.2244 -    AC_MSG_RESULT([no])
 13.2245 -    ;;
 13.2246 -  esac
 13.2247 -fi
 13.2248 -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 13.2249 -_LT_DECL([], [striplib], [1])
 13.2250 -])# _LT_CMD_STRIPLIB
 13.2251 -
 13.2252 -
 13.2253 -# _LT_PREPARE_MUNGE_PATH_LIST
 13.2254 -# ---------------------------
 13.2255 -# Make sure func_munge_path_list() is defined correctly.
 13.2256 -m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
 13.2257 -[[# func_munge_path_list VARIABLE PATH
 13.2258 -# -----------------------------------
 13.2259 -# VARIABLE is name of variable containing _space_ separated list of
 13.2260 -# directories to be munged by the contents of PATH, which is string
 13.2261 -# having a format:
 13.2262 -# "DIR[:DIR]:"
 13.2263 -#       string "DIR[ DIR]" will be prepended to VARIABLE
 13.2264 -# ":DIR[:DIR]"
 13.2265 -#       string "DIR[ DIR]" will be appended to VARIABLE
 13.2266 -# "DIRP[:DIRP]::[DIRA:]DIRA"
 13.2267 -#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 13.2268 -#       "DIRA[ DIRA]" will be appended to VARIABLE
 13.2269 -# "DIR[:DIR]"
 13.2270 -#       VARIABLE will be replaced by "DIR[ DIR]"
 13.2271 -func_munge_path_list ()
 13.2272 -{
 13.2273 -    case x@S|@2 in
 13.2274 -    x)
 13.2275 -        ;;
 13.2276 -    *:)
 13.2277 -        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
 13.2278 -        ;;
 13.2279 -    x:*)
 13.2280 -        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
 13.2281 -        ;;
 13.2282 -    *::*)
 13.2283 -        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 13.2284 -        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
 13.2285 -        ;;
 13.2286 -    *)
 13.2287 -        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
 13.2288 -        ;;
 13.2289 -    esac
 13.2290 -}
 13.2291 -]])# _LT_PREPARE_PATH_LIST
 13.2292 -
 13.2293 -
 13.2294 -# _LT_SYS_DYNAMIC_LINKER([TAG])
 13.2295 -# -----------------------------
 13.2296 -# PORTME Fill in your ld.so characteristics
 13.2297 -m4_defun([_LT_SYS_DYNAMIC_LINKER],
 13.2298 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 13.2299 -m4_require([_LT_DECL_EGREP])dnl
 13.2300 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 13.2301 -m4_require([_LT_DECL_OBJDUMP])dnl
 13.2302 -m4_require([_LT_DECL_SED])dnl
 13.2303 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 13.2304 -m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
 13.2305 -AC_MSG_CHECKING([dynamic linker characteristics])
 13.2306 -m4_if([$1],
 13.2307 -	[], [
 13.2308 -if test yes = "$GCC"; then
 13.2309 -  case $host_os in
 13.2310 -    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
 13.2311 -    *) lt_awk_arg='/^libraries:/' ;;
 13.2312 -  esac
 13.2313 -  case $host_os in
 13.2314 -    mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
 13.2315 -    *) lt_sed_strip_eq='s|=/|/|g' ;;
 13.2316 -  esac
 13.2317 -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 13.2318 -  case $lt_search_path_spec in
 13.2319 -  *\;*)
 13.2320 -    # if the path contains ";" then we assume it to be the separator
 13.2321 -    # otherwise default to the standard path separator (i.e. ":") - it is
 13.2322 -    # assumed that no part of a normal pathname contains ";" but that should
 13.2323 -    # okay in the real world where ";" in dirpaths is itself problematic.
 13.2324 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 13.2325 -    ;;
 13.2326 -  *)
 13.2327 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 13.2328 -    ;;
 13.2329 -  esac
 13.2330 -  # Ok, now we have the path, separated by spaces, we can step through it
 13.2331 -  # and add multilib dir if necessary...
 13.2332 -  lt_tmp_lt_search_path_spec=
 13.2333 -  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 13.2334 -  # ...but if some path component already ends with the multilib dir we assume
 13.2335 -  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
 13.2336 -  case "$lt_multi_os_dir; $lt_search_path_spec " in
 13.2337 -  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
 13.2338 -    lt_multi_os_dir=
 13.2339 -    ;;
 13.2340 -  esac
 13.2341 -  for lt_sys_path in $lt_search_path_spec; do
 13.2342 -    if test -d "$lt_sys_path$lt_multi_os_dir"; then
 13.2343 -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
 13.2344 -    elif test -n "$lt_multi_os_dir"; then
 13.2345 -      test -d "$lt_sys_path" && \
 13.2346 -	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 13.2347 -    fi
 13.2348 -  done
 13.2349 -  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 13.2350 -BEGIN {RS = " "; FS = "/|\n";} {
 13.2351 -  lt_foo = "";
 13.2352 -  lt_count = 0;
 13.2353 -  for (lt_i = NF; lt_i > 0; lt_i--) {
 13.2354 -    if ($lt_i != "" && $lt_i != ".") {
 13.2355 -      if ($lt_i == "..") {
 13.2356 -        lt_count++;
 13.2357 -      } else {
 13.2358 -        if (lt_count == 0) {
 13.2359 -          lt_foo = "/" $lt_i lt_foo;
 13.2360 -        } else {
 13.2361 -          lt_count--;
 13.2362 -        }
 13.2363 -      }
 13.2364 -    }
 13.2365 -  }
 13.2366 -  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 13.2367 -  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 13.2368 -}'`
 13.2369 -  # AWK program above erroneously prepends '/' to C:/dos/paths
 13.2370 -  # for these hosts.
 13.2371 -  case $host_os in
 13.2372 -    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 13.2373 -      $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
 13.2374 -  esac
 13.2375 -  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 13.2376 -else
 13.2377 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 13.2378 -fi])
 13.2379 -library_names_spec=
 13.2380 -libname_spec='lib$name'
 13.2381 -soname_spec=
 13.2382 -shrext_cmds=.so
 13.2383 -postinstall_cmds=
 13.2384 -postuninstall_cmds=
 13.2385 -finish_cmds=
 13.2386 -finish_eval=
 13.2387 -shlibpath_var=
 13.2388 -shlibpath_overrides_runpath=unknown
 13.2389 -version_type=none
 13.2390 -dynamic_linker="$host_os ld.so"
 13.2391 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
 13.2392 -need_lib_prefix=unknown
 13.2393 -hardcode_into_libs=no
 13.2394 -
 13.2395 -# when you set need_version to no, make sure it does not cause -set_version
 13.2396 -# flags to be left without arguments
 13.2397 -need_version=unknown
 13.2398 -
 13.2399 -AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
 13.2400 -[User-defined run-time library search path.])
 13.2401 -
 13.2402 -case $host_os in
 13.2403 -aix3*)
 13.2404 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2405 -  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
 13.2406 -  shlibpath_var=LIBPATH
 13.2407 -
 13.2408 -  # AIX 3 has no versioning support, so we append a major version to the name.
 13.2409 -  soname_spec='$libname$release$shared_ext$major'
 13.2410 -  ;;
 13.2411 -
 13.2412 -aix[[4-9]]*)
 13.2413 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2414 -  need_lib_prefix=no
 13.2415 -  need_version=no
 13.2416 -  hardcode_into_libs=yes
 13.2417 -  if test ia64 = "$host_cpu"; then
 13.2418 -    # AIX 5 supports IA64
 13.2419 -    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
 13.2420 -    shlibpath_var=LD_LIBRARY_PATH
 13.2421 -  else
 13.2422 -    # With GCC up to 2.95.x, collect2 would create an import file
 13.2423 -    # for dependence libraries.  The import file would start with
 13.2424 -    # the line '#! .'.  This would cause the generated library to
 13.2425 -    # depend on '.', always an invalid library.  This was fixed in
 13.2426 -    # development snapshots of GCC prior to 3.0.
 13.2427 -    case $host_os in
 13.2428 -      aix4 | aix4.[[01]] | aix4.[[01]].*)
 13.2429 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 13.2430 -	   echo ' yes '
 13.2431 -	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
 13.2432 -	:
 13.2433 -      else
 13.2434 -	can_build_shared=no
 13.2435 -      fi
 13.2436 -      ;;
 13.2437 -    esac
 13.2438 -    # Using Import Files as archive members, it is possible to support
 13.2439 -    # filename-based versioning of shared library archives on AIX. While
 13.2440 -    # this would work for both with and without runtime linking, it will
 13.2441 -    # prevent static linking of such archives. So we do filename-based
 13.2442 -    # shared library versioning with .so extension only, which is used
 13.2443 -    # when both runtime linking and shared linking is enabled.
 13.2444 -    # Unfortunately, runtime linking may impact performance, so we do
 13.2445 -    # not want this to be the default eventually. Also, we use the
 13.2446 -    # versioned .so libs for executables only if there is the -brtl
 13.2447 -    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 13.2448 -    # To allow for filename-based versioning support, we need to create
 13.2449 -    # libNAME.so.V as an archive file, containing:
 13.2450 -    # *) an Import File, referring to the versioned filename of the
 13.2451 -    #    archive as well as the shared archive member, telling the
 13.2452 -    #    bitwidth (32 or 64) of that shared object, and providing the
 13.2453 -    #    list of exported symbols of that shared object, eventually
 13.2454 -    #    decorated with the 'weak' keyword
 13.2455 -    # *) the shared object with the F_LOADONLY flag set, to really avoid
 13.2456 -    #    it being seen by the linker.
 13.2457 -    # At run time we better use the real file rather than another symlink,
 13.2458 -    # but for link time we create the symlink libNAME.so -> libNAME.so.V
 13.2459 -
 13.2460 -    case $with_aix_soname,$aix_use_runtimelinking in
 13.2461 -    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
 13.2462 -    # soname into executable. Probably we can add versioning support to
 13.2463 -    # collect2, so additional links can be useful in future.
 13.2464 -    aix,yes) # traditional libtool
 13.2465 -      dynamic_linker='AIX unversionable lib.so'
 13.2466 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 13.2467 -      # instead of lib<name>.a to let people know that these are not
 13.2468 -      # typical AIX shared libraries.
 13.2469 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2470 -      ;;
 13.2471 -    aix,no) # traditional AIX only
 13.2472 -      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
 13.2473 -      # We preserve .a as extension for shared libraries through AIX4.2
 13.2474 -      # and later when we are not doing run time linking.
 13.2475 -      library_names_spec='$libname$release.a $libname.a'
 13.2476 -      soname_spec='$libname$release$shared_ext$major'
 13.2477 -      ;;
 13.2478 -    svr4,*) # full svr4 only
 13.2479 -      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
 13.2480 -      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 13.2481 -      # We do not specify a path in Import Files, so LIBPATH fires.
 13.2482 -      shlibpath_overrides_runpath=yes
 13.2483 -      ;;
 13.2484 -    *,yes) # both, prefer svr4
 13.2485 -      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
 13.2486 -      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 13.2487 -      # unpreferred sharedlib libNAME.a needs extra handling
 13.2488 -      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
 13.2489 -      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
 13.2490 -      # We do not specify a path in Import Files, so LIBPATH fires.
 13.2491 -      shlibpath_overrides_runpath=yes
 13.2492 -      ;;
 13.2493 -    *,no) # both, prefer aix
 13.2494 -      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
 13.2495 -      library_names_spec='$libname$release.a $libname.a'
 13.2496 -      soname_spec='$libname$release$shared_ext$major'
 13.2497 -      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 13.2498 -      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
 13.2499 -      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
 13.2500 -      ;;
 13.2501 -    esac
 13.2502 -    shlibpath_var=LIBPATH
 13.2503 -  fi
 13.2504 -  ;;
 13.2505 -
 13.2506 -amigaos*)
 13.2507 -  case $host_cpu in
 13.2508 -  powerpc)
 13.2509 -    # Since July 2007 AmigaOS4 officially supports .so libraries.
 13.2510 -    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 13.2511 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2512 -    ;;
 13.2513 -  m68k)
 13.2514 -    library_names_spec='$libname.ixlibrary $libname.a'
 13.2515 -    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 13.2516 -    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 13.2517 -    ;;
 13.2518 -  esac
 13.2519 -  ;;
 13.2520 -
 13.2521 -beos*)
 13.2522 -  library_names_spec='$libname$shared_ext'
 13.2523 -  dynamic_linker="$host_os ld.so"
 13.2524 -  shlibpath_var=LIBRARY_PATH
 13.2525 -  ;;
 13.2526 -
 13.2527 -bsdi[[45]]*)
 13.2528 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2529 -  need_version=no
 13.2530 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2531 -  soname_spec='$libname$release$shared_ext$major'
 13.2532 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 13.2533 -  shlibpath_var=LD_LIBRARY_PATH
 13.2534 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 13.2535 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 13.2536 -  # the default ld.so.conf also contains /usr/contrib/lib and
 13.2537 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 13.2538 -  # libtool to hard-code these into programs
 13.2539 -  ;;
 13.2540 -
 13.2541 -cygwin* | mingw* | pw32* | cegcc*)
 13.2542 -  version_type=windows
 13.2543 -  shrext_cmds=.dll
 13.2544 -  need_version=no
 13.2545 -  need_lib_prefix=no
 13.2546 -
 13.2547 -  case $GCC,$cc_basename in
 13.2548 -  yes,*)
 13.2549 -    # gcc
 13.2550 -    library_names_spec='$libname.dll.a'
 13.2551 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13.2552 -    postinstall_cmds='base_file=`basename \$file`~
 13.2553 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13.2554 -      dldir=$destdir/`dirname \$dlpath`~
 13.2555 -      test -d \$dldir || mkdir -p \$dldir~
 13.2556 -      $install_prog $dir/$dlname \$dldir/$dlname~
 13.2557 -      chmod a+x \$dldir/$dlname~
 13.2558 -      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13.2559 -        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13.2560 -      fi'
 13.2561 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13.2562 -      dlpath=$dir/\$dldll~
 13.2563 -       $RM \$dlpath'
 13.2564 -    shlibpath_overrides_runpath=yes
 13.2565 -
 13.2566 -    case $host_os in
 13.2567 -    cygwin*)
 13.2568 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 13.2569 -      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 13.2570 -m4_if([$1], [],[
 13.2571 -      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
 13.2572 -      ;;
 13.2573 -    mingw* | cegcc*)
 13.2574 -      # MinGW DLLs use traditional 'lib' prefix
 13.2575 -      soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 13.2576 -      ;;
 13.2577 -    pw32*)
 13.2578 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
 13.2579 -      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 13.2580 -      ;;
 13.2581 -    esac
 13.2582 -    dynamic_linker='Win32 ld.exe'
 13.2583 -    ;;
 13.2584 -
 13.2585 -  *,cl*)
 13.2586 -    # Native MSVC
 13.2587 -    libname_spec='$name'
 13.2588 -    soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 13.2589 -    library_names_spec='$libname.dll.lib'
 13.2590 -
 13.2591 -    case $build_os in
 13.2592 -    mingw*)
 13.2593 -      sys_lib_search_path_spec=
 13.2594 -      lt_save_ifs=$IFS
 13.2595 -      IFS=';'
 13.2596 -      for lt_path in $LIB
 13.2597 -      do
 13.2598 -        IFS=$lt_save_ifs
 13.2599 -        # Let DOS variable expansion print the short 8.3 style file name.
 13.2600 -        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 13.2601 -        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 13.2602 -      done
 13.2603 -      IFS=$lt_save_ifs
 13.2604 -      # Convert to MSYS style.
 13.2605 -      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
 13.2606 -      ;;
 13.2607 -    cygwin*)
 13.2608 -      # Convert to unix form, then to dos form, then back to unix form
 13.2609 -      # but this time dos style (no spaces!) so that the unix form looks
 13.2610 -      # like /cygdrive/c/PROGRA~1:/cygdr...
 13.2611 -      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 13.2612 -      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 13.2613 -      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13.2614 -      ;;
 13.2615 -    *)
 13.2616 -      sys_lib_search_path_spec=$LIB
 13.2617 -      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 13.2618 -        # It is most probably a Windows format PATH.
 13.2619 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 13.2620 -      else
 13.2621 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 13.2622 -      fi
 13.2623 -      # FIXME: find the short name or the path components, as spaces are
 13.2624 -      # common. (e.g. "Program Files" -> "PROGRA~1")
 13.2625 -      ;;
 13.2626 -    esac
 13.2627 -
 13.2628 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13.2629 -    postinstall_cmds='base_file=`basename \$file`~
 13.2630 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 13.2631 -      dldir=$destdir/`dirname \$dlpath`~
 13.2632 -      test -d \$dldir || mkdir -p \$dldir~
 13.2633 -      $install_prog $dir/$dlname \$dldir/$dlname'
 13.2634 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13.2635 -      dlpath=$dir/\$dldll~
 13.2636 -       $RM \$dlpath'
 13.2637 -    shlibpath_overrides_runpath=yes
 13.2638 -    dynamic_linker='Win32 link.exe'
 13.2639 -    ;;
 13.2640 -
 13.2641 -  *)
 13.2642 -    # Assume MSVC wrapper
 13.2643 -    library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
 13.2644 -    dynamic_linker='Win32 ld.exe'
 13.2645 -    ;;
 13.2646 -  esac
 13.2647 -  # FIXME: first we should search . and the directory the executable is in
 13.2648 -  shlibpath_var=PATH
 13.2649 -  ;;
 13.2650 -
 13.2651 -darwin* | rhapsody*)
 13.2652 -  dynamic_linker="$host_os dyld"
 13.2653 -  version_type=darwin
 13.2654 -  need_lib_prefix=no
 13.2655 -  need_version=no
 13.2656 -  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
 13.2657 -  soname_spec='$libname$release$major$shared_ext'
 13.2658 -  shlibpath_overrides_runpath=yes
 13.2659 -  shlibpath_var=DYLD_LIBRARY_PATH
 13.2660 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 13.2661 -m4_if([$1], [],[
 13.2662 -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 13.2663 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 13.2664 -  ;;
 13.2665 -
 13.2666 -dgux*)
 13.2667 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2668 -  need_lib_prefix=no
 13.2669 -  need_version=no
 13.2670 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2671 -  soname_spec='$libname$release$shared_ext$major'
 13.2672 -  shlibpath_var=LD_LIBRARY_PATH
 13.2673 -  ;;
 13.2674 -
 13.2675 -freebsd* | dragonfly*)
 13.2676 -  # DragonFly does not have aout.  When/if they implement a new
 13.2677 -  # versioning mechanism, adjust this.
 13.2678 -  if test -x /usr/bin/objformat; then
 13.2679 -    objformat=`/usr/bin/objformat`
 13.2680 -  else
 13.2681 -    case $host_os in
 13.2682 -    freebsd[[23]].*) objformat=aout ;;
 13.2683 -    *) objformat=elf ;;
 13.2684 -    esac
 13.2685 -  fi
 13.2686 -  version_type=freebsd-$objformat
 13.2687 -  case $version_type in
 13.2688 -    freebsd-elf*)
 13.2689 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2690 -      soname_spec='$libname$release$shared_ext$major'
 13.2691 -      need_version=no
 13.2692 -      need_lib_prefix=no
 13.2693 -      ;;
 13.2694 -    freebsd-*)
 13.2695 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13.2696 -      need_version=yes
 13.2697 -      ;;
 13.2698 -  esac
 13.2699 -  shlibpath_var=LD_LIBRARY_PATH
 13.2700 -  case $host_os in
 13.2701 -  freebsd2.*)
 13.2702 -    shlibpath_overrides_runpath=yes
 13.2703 -    ;;
 13.2704 -  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 13.2705 -    shlibpath_overrides_runpath=yes
 13.2706 -    hardcode_into_libs=yes
 13.2707 -    ;;
 13.2708 -  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 13.2709 -  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 13.2710 -    shlibpath_overrides_runpath=no
 13.2711 -    hardcode_into_libs=yes
 13.2712 -    ;;
 13.2713 -  *) # from 4.6 on, and DragonFly
 13.2714 -    shlibpath_overrides_runpath=yes
 13.2715 -    hardcode_into_libs=yes
 13.2716 -    ;;
 13.2717 -  esac
 13.2718 -  ;;
 13.2719 -
 13.2720 -haiku*)
 13.2721 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2722 -  need_lib_prefix=no
 13.2723 -  need_version=no
 13.2724 -  dynamic_linker="$host_os runtime_loader"
 13.2725 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2726 -  soname_spec='$libname$release$shared_ext$major'
 13.2727 -  shlibpath_var=LIBRARY_PATH
 13.2728 -  shlibpath_overrides_runpath=no
 13.2729 -  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 13.2730 -  hardcode_into_libs=yes
 13.2731 -  ;;
 13.2732 -
 13.2733 -hpux9* | hpux10* | hpux11*)
 13.2734 -  # Give a soname corresponding to the major version so that dld.sl refuses to
 13.2735 -  # link against other versions.
 13.2736 -  version_type=sunos
 13.2737 -  need_lib_prefix=no
 13.2738 -  need_version=no
 13.2739 -  case $host_cpu in
 13.2740 -  ia64*)
 13.2741 -    shrext_cmds='.so'
 13.2742 -    hardcode_into_libs=yes
 13.2743 -    dynamic_linker="$host_os dld.so"
 13.2744 -    shlibpath_var=LD_LIBRARY_PATH
 13.2745 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13.2746 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2747 -    soname_spec='$libname$release$shared_ext$major'
 13.2748 -    if test 32 = "$HPUX_IA64_MODE"; then
 13.2749 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 13.2750 -      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
 13.2751 -    else
 13.2752 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 13.2753 -      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
 13.2754 -    fi
 13.2755 -    ;;
 13.2756 -  hppa*64*)
 13.2757 -    shrext_cmds='.sl'
 13.2758 -    hardcode_into_libs=yes
 13.2759 -    dynamic_linker="$host_os dld.sl"
 13.2760 -    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 13.2761 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13.2762 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2763 -    soname_spec='$libname$release$shared_ext$major'
 13.2764 -    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 13.2765 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13.2766 -    ;;
 13.2767 -  *)
 13.2768 -    shrext_cmds='.sl'
 13.2769 -    dynamic_linker="$host_os dld.sl"
 13.2770 -    shlibpath_var=SHLIB_PATH
 13.2771 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 13.2772 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2773 -    soname_spec='$libname$release$shared_ext$major'
 13.2774 -    ;;
 13.2775 -  esac
 13.2776 -  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 13.2777 -  postinstall_cmds='chmod 555 $lib'
 13.2778 -  # or fails outright, so override atomically:
 13.2779 -  install_override_mode=555
 13.2780 -  ;;
 13.2781 -
 13.2782 -interix[[3-9]]*)
 13.2783 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2784 -  need_lib_prefix=no
 13.2785 -  need_version=no
 13.2786 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2787 -  soname_spec='$libname$release$shared_ext$major'
 13.2788 -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 13.2789 -  shlibpath_var=LD_LIBRARY_PATH
 13.2790 -  shlibpath_overrides_runpath=no
 13.2791 -  hardcode_into_libs=yes
 13.2792 -  ;;
 13.2793 -
 13.2794 -irix5* | irix6* | nonstopux*)
 13.2795 -  case $host_os in
 13.2796 -    nonstopux*) version_type=nonstopux ;;
 13.2797 -    *)
 13.2798 -	if test yes = "$lt_cv_prog_gnu_ld"; then
 13.2799 -		version_type=linux # correct to gnu/linux during the next big refactor
 13.2800 -	else
 13.2801 -		version_type=irix
 13.2802 -	fi ;;
 13.2803 -  esac
 13.2804 -  need_lib_prefix=no
 13.2805 -  need_version=no
 13.2806 -  soname_spec='$libname$release$shared_ext$major'
 13.2807 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
 13.2808 -  case $host_os in
 13.2809 -  irix5* | nonstopux*)
 13.2810 -    libsuff= shlibsuff=
 13.2811 -    ;;
 13.2812 -  *)
 13.2813 -    case $LD in # libtool.m4 will add one of these switches to LD
 13.2814 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 13.2815 -      libsuff= shlibsuff= libmagic=32-bit;;
 13.2816 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 13.2817 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
 13.2818 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 13.2819 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 13.2820 -    *) libsuff= shlibsuff= libmagic=never-match;;
 13.2821 -    esac
 13.2822 -    ;;
 13.2823 -  esac
 13.2824 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 13.2825 -  shlibpath_overrides_runpath=no
 13.2826 -  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
 13.2827 -  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
 13.2828 -  hardcode_into_libs=yes
 13.2829 -  ;;
 13.2830 -
 13.2831 -# No shared lib support for Linux oldld, aout, or coff.
 13.2832 -linux*oldld* | linux*aout* | linux*coff*)
 13.2833 -  dynamic_linker=no
 13.2834 -  ;;
 13.2835 -
 13.2836 -linux*android*)
 13.2837 -  version_type=none # Android doesn't support versioned libraries.
 13.2838 -  need_lib_prefix=no
 13.2839 -  need_version=no
 13.2840 -  library_names_spec='$libname$release$shared_ext'
 13.2841 -  soname_spec='$libname$release$shared_ext'
 13.2842 -  finish_cmds=
 13.2843 -  shlibpath_var=LD_LIBRARY_PATH
 13.2844 -  shlibpath_overrides_runpath=yes
 13.2845 -
 13.2846 -  # This implies no fast_install, which is unacceptable.
 13.2847 -  # Some rework will be needed to allow for fast_install
 13.2848 -  # before this can be enabled.
 13.2849 -  hardcode_into_libs=yes
 13.2850 -
 13.2851 -  dynamic_linker='Android linker'
 13.2852 -  # Don't embed -rpath directories since the linker doesn't support them.
 13.2853 -  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 13.2854 -  ;;
 13.2855 -
 13.2856 -# This must be glibc/ELF.
 13.2857 -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 13.2858 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2859 -  need_lib_prefix=no
 13.2860 -  need_version=no
 13.2861 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2862 -  soname_spec='$libname$release$shared_ext$major'
 13.2863 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 13.2864 -  shlibpath_var=LD_LIBRARY_PATH
 13.2865 -  shlibpath_overrides_runpath=no
 13.2866 -
 13.2867 -  # Some binutils ld are patched to set DT_RUNPATH
 13.2868 -  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
 13.2869 -    [lt_cv_shlibpath_overrides_runpath=no
 13.2870 -    save_LDFLAGS=$LDFLAGS
 13.2871 -    save_libdir=$libdir
 13.2872 -    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 13.2873 -	 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 13.2874 -    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 13.2875 -      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 13.2876 -	 [lt_cv_shlibpath_overrides_runpath=yes])])
 13.2877 -    LDFLAGS=$save_LDFLAGS
 13.2878 -    libdir=$save_libdir
 13.2879 -    ])
 13.2880 -  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 13.2881 -
 13.2882 -  # This implies no fast_install, which is unacceptable.
 13.2883 -  # Some rework will be needed to allow for fast_install
 13.2884 -  # before this can be enabled.
 13.2885 -  hardcode_into_libs=yes
 13.2886 -
 13.2887 -  # Ideally, we could use ldconfig to report *all* directores which are
 13.2888 -  # searched for libraries, however this is still not possible.  Aside from not
 13.2889 -  # being certain /sbin/ldconfig is available, command
 13.2890 -  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 13.2891 -  # even though it is searched at run-time.  Try to do the best guess by
 13.2892 -  # appending ld.so.conf contents (and includes) to the search path.
 13.2893 -  if test -f /etc/ld.so.conf; then
 13.2894 -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 13.2895 -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 13.2896 -  fi
 13.2897 -
 13.2898 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
 13.2899 -  # powerpc, because MkLinux only supported shared libraries with the
 13.2900 -  # GNU dynamic linker.  Since this was broken with cross compilers,
 13.2901 -  # most powerpc-linux boxes support dynamic linking these days and
 13.2902 -  # people can always --disable-shared, the test was removed, and we
 13.2903 -  # assume the GNU/Linux dynamic linker is in use.
 13.2904 -  dynamic_linker='GNU/Linux ld.so'
 13.2905 -  ;;
 13.2906 -
 13.2907 -netbsd*)
 13.2908 -  version_type=sunos
 13.2909 -  need_lib_prefix=no
 13.2910 -  need_version=no
 13.2911 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 13.2912 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13.2913 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13.2914 -    dynamic_linker='NetBSD (a.out) ld.so'
 13.2915 -  else
 13.2916 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2917 -    soname_spec='$libname$release$shared_ext$major'
 13.2918 -    dynamic_linker='NetBSD ld.elf_so'
 13.2919 -  fi
 13.2920 -  shlibpath_var=LD_LIBRARY_PATH
 13.2921 -  shlibpath_overrides_runpath=yes
 13.2922 -  hardcode_into_libs=yes
 13.2923 -  ;;
 13.2924 -
 13.2925 -newsos6)
 13.2926 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.2927 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2928 -  shlibpath_var=LD_LIBRARY_PATH
 13.2929 -  shlibpath_overrides_runpath=yes
 13.2930 -  ;;
 13.2931 -
 13.2932 -*nto* | *qnx*)
 13.2933 -  version_type=qnx
 13.2934 -  need_lib_prefix=no
 13.2935 -  need_version=no
 13.2936 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2937 -  soname_spec='$libname$release$shared_ext$major'
 13.2938 -  shlibpath_var=LD_LIBRARY_PATH
 13.2939 -  shlibpath_overrides_runpath=no
 13.2940 -  hardcode_into_libs=yes
 13.2941 -  dynamic_linker='ldqnx.so'
 13.2942 -  ;;
 13.2943 -
 13.2944 -openbsd* | bitrig*)
 13.2945 -  version_type=sunos
 13.2946 -  sys_lib_dlsearch_path_spec=/usr/lib
 13.2947 -  need_lib_prefix=no
 13.2948 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 13.2949 -    need_version=no
 13.2950 -  else
 13.2951 -    need_version=yes
 13.2952 -  fi
 13.2953 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13.2954 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 13.2955 -  shlibpath_var=LD_LIBRARY_PATH
 13.2956 -  shlibpath_overrides_runpath=yes
 13.2957 -  ;;
 13.2958 -
 13.2959 -os2*)
 13.2960 -  libname_spec='$name'
 13.2961 -  version_type=windows
 13.2962 -  shrext_cmds=.dll
 13.2963 -  need_version=no
 13.2964 -  need_lib_prefix=no
 13.2965 -  # OS/2 can only load a DLL with a base name of 8 characters or less.
 13.2966 -  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 13.2967 -    v=$($ECHO $release$versuffix | tr -d .-);
 13.2968 -    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 13.2969 -    $ECHO $n$v`$shared_ext'
 13.2970 -  library_names_spec='${libname}_dll.$libext'
 13.2971 -  dynamic_linker='OS/2 ld.exe'
 13.2972 -  shlibpath_var=BEGINLIBPATH
 13.2973 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 13.2974 -  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13.2975 -  postinstall_cmds='base_file=`basename \$file`~
 13.2976 -    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 13.2977 -    dldir=$destdir/`dirname \$dlpath`~
 13.2978 -    test -d \$dldir || mkdir -p \$dldir~
 13.2979 -    $install_prog $dir/$dlname \$dldir/$dlname~
 13.2980 -    chmod a+x \$dldir/$dlname~
 13.2981 -    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 13.2982 -      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 13.2983 -    fi'
 13.2984 -  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 13.2985 -    dlpath=$dir/\$dldll~
 13.2986 -    $RM \$dlpath'
 13.2987 -  ;;
 13.2988 -
 13.2989 -osf3* | osf4* | osf5*)
 13.2990 -  version_type=osf
 13.2991 -  need_lib_prefix=no
 13.2992 -  need_version=no
 13.2993 -  soname_spec='$libname$release$shared_ext$major'
 13.2994 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.2995 -  shlibpath_var=LD_LIBRARY_PATH
 13.2996 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 13.2997 -  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13.2998 -  ;;
 13.2999 -
 13.3000 -rdos*)
 13.3001 -  dynamic_linker=no
 13.3002 -  ;;
 13.3003 -
 13.3004 -solaris*)
 13.3005 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.3006 -  need_lib_prefix=no
 13.3007 -  need_version=no
 13.3008 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.3009 -  soname_spec='$libname$release$shared_ext$major'
 13.3010 -  shlibpath_var=LD_LIBRARY_PATH
 13.3011 -  shlibpath_overrides_runpath=yes
 13.3012 -  hardcode_into_libs=yes
 13.3013 -  # ldd complains unless libraries are executable
 13.3014 -  postinstall_cmds='chmod +x $lib'
 13.3015 -  ;;
 13.3016 -
 13.3017 -sunos4*)
 13.3018 -  version_type=sunos
 13.3019 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 13.3020 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 13.3021 -  shlibpath_var=LD_LIBRARY_PATH
 13.3022 -  shlibpath_overrides_runpath=yes
 13.3023 -  if test yes = "$with_gnu_ld"; then
 13.3024 -    need_lib_prefix=no
 13.3025 -  fi
 13.3026 -  need_version=yes
 13.3027 -  ;;
 13.3028 -
 13.3029 -sysv4 | sysv4.3*)
 13.3030 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.3031 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.3032 -  soname_spec='$libname$release$shared_ext$major'
 13.3033 -  shlibpath_var=LD_LIBRARY_PATH
 13.3034 -  case $host_vendor in
 13.3035 -    sni)
 13.3036 -      shlibpath_overrides_runpath=no
 13.3037 -      need_lib_prefix=no
 13.3038 -      runpath_var=LD_RUN_PATH
 13.3039 -      ;;
 13.3040 -    siemens)
 13.3041 -      need_lib_prefix=no
 13.3042 -      ;;
 13.3043 -    motorola)
 13.3044 -      need_lib_prefix=no
 13.3045 -      need_version=no
 13.3046 -      shlibpath_overrides_runpath=no
 13.3047 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 13.3048 -      ;;
 13.3049 -  esac
 13.3050 -  ;;
 13.3051 -
 13.3052 -sysv4*MP*)
 13.3053 -  if test -d /usr/nec; then
 13.3054 -    version_type=linux # correct to gnu/linux during the next big refactor
 13.3055 -    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
 13.3056 -    soname_spec='$libname$shared_ext.$major'
 13.3057 -    shlibpath_var=LD_LIBRARY_PATH
 13.3058 -  fi
 13.3059 -  ;;
 13.3060 -
 13.3061 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 13.3062 -  version_type=sco
 13.3063 -  need_lib_prefix=no
 13.3064 -  need_version=no
 13.3065 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 13.3066 -  soname_spec='$libname$release$shared_ext$major'
 13.3067 -  shlibpath_var=LD_LIBRARY_PATH
 13.3068 -  shlibpath_overrides_runpath=yes
 13.3069 -  hardcode_into_libs=yes
 13.3070 -  if test yes = "$with_gnu_ld"; then
 13.3071 -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 13.3072 -  else
 13.3073 -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 13.3074 -    case $host_os in
 13.3075 -      sco3.2v5*)
 13.3076 -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 13.3077 -	;;
 13.3078 -    esac
 13.3079 -  fi
 13.3080 -  sys_lib_dlsearch_path_spec='/usr/lib'
 13.3081 -  ;;
 13.3082 -
 13.3083 -tpf*)
 13.3084 -  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 13.3085 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.3086 -  need_lib_prefix=no
 13.3087 -  need_version=no
 13.3088 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.3089 -  shlibpath_var=LD_LIBRARY_PATH
 13.3090 -  shlibpath_overrides_runpath=no
 13.3091 -  hardcode_into_libs=yes
 13.3092 -  ;;
 13.3093 -
 13.3094 -uts4*)
 13.3095 -  version_type=linux # correct to gnu/linux during the next big refactor
 13.3096 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 13.3097 -  soname_spec='$libname$release$shared_ext$major'
 13.3098 -  shlibpath_var=LD_LIBRARY_PATH
 13.3099 -  ;;
 13.3100 -
 13.3101 -*)
 13.3102 -  dynamic_linker=no
 13.3103 -  ;;
 13.3104 -esac
 13.3105 -AC_MSG_RESULT([$dynamic_linker])
 13.3106 -test no = "$dynamic_linker" && can_build_shared=no
 13.3107 -
 13.3108 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 13.3109 -if test yes = "$GCC"; then
 13.3110 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 13.3111 -fi
 13.3112 -
 13.3113 -if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
 13.3114 -  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 13.3115 -fi
 13.3116 -
 13.3117 -if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
 13.3118 -  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 13.3119 -fi
 13.3120 -
 13.3121 -# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 13.3122 -configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 13.3123 -
 13.3124 -# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 13.3125 -func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 13.3126 -
 13.3127 -# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 13.3128 -configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 13.3129 -
 13.3130 -_LT_DECL([], [variables_saved_for_relink], [1],
 13.3131 -    [Variables whose values should be saved in libtool wrapper scripts and
 13.3132 -    restored at link time])
 13.3133 -_LT_DECL([], [need_lib_prefix], [0],
 13.3134 -    [Do we need the "lib" prefix for modules?])
 13.3135 -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 13.3136 -_LT_DECL([], [version_type], [0], [Library versioning type])
 13.3137 -_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 13.3138 -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 13.3139 -_LT_DECL([], [shlibpath_overrides_runpath], [0],
 13.3140 -    [Is shlibpath searched before the hard-coded library search path?])
 13.3141 -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 13.3142 -_LT_DECL([], [library_names_spec], [1],
 13.3143 -    [[List of archive names.  First name is the real one, the rest are links.
 13.3144 -    The last name is the one that the linker finds with -lNAME]])
 13.3145 -_LT_DECL([], [soname_spec], [1],
 13.3146 -    [[The coded name of the library, if different from the real name]])
 13.3147 -_LT_DECL([], [install_override_mode], [1],
 13.3148 -    [Permission mode override for installation of shared libraries])
 13.3149 -_LT_DECL([], [postinstall_cmds], [2],
 13.3150 -    [Command to use after installation of a shared archive])
 13.3151 -_LT_DECL([], [postuninstall_cmds], [2],
 13.3152 -    [Command to use after uninstallation of a shared archive])
 13.3153 -_LT_DECL([], [finish_cmds], [2],
 13.3154 -    [Commands used to finish a libtool library installation in a directory])
 13.3155 -_LT_DECL([], [finish_eval], [1],
 13.3156 -    [[As "finish_cmds", except a single script fragment to be evaled but
 13.3157 -    not shown]])
 13.3158 -_LT_DECL([], [hardcode_into_libs], [0],
 13.3159 -    [Whether we should hardcode library paths into libraries])
 13.3160 -_LT_DECL([], [sys_lib_search_path_spec], [2],
 13.3161 -    [Compile-time system search path for libraries])
 13.3162 -_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
 13.3163 -    [Detected run-time system search path for libraries])
 13.3164 -_LT_DECL([], [configure_time_lt_sys_library_path], [2],
 13.3165 -    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
 13.3166 -])# _LT_SYS_DYNAMIC_LINKER
 13.3167 -
 13.3168 -
 13.3169 -# _LT_PATH_TOOL_PREFIX(TOOL)
 13.3170 -# --------------------------
 13.3171 -# find a file program that can recognize shared library
 13.3172 -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 13.3173 -[m4_require([_LT_DECL_EGREP])dnl
 13.3174 -AC_MSG_CHECKING([for $1])
 13.3175 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 13.3176 -[case $MAGIC_CMD in
 13.3177 -[[\\/*] |  ?:[\\/]*])
 13.3178 -  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 13.3179 -  ;;
 13.3180 -*)
 13.3181 -  lt_save_MAGIC_CMD=$MAGIC_CMD
 13.3182 -  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 13.3183 -dnl $ac_dummy forces splitting on constant user-supplied paths.
 13.3184 -dnl POSIX.2 word splitting is done only on the output of word expansions,
 13.3185 -dnl not every word.  This closes a longstanding sh security hole.
 13.3186 -  ac_dummy="m4_if([$2], , $PATH, [$2])"
 13.3187 -  for ac_dir in $ac_dummy; do
 13.3188 -    IFS=$lt_save_ifs
 13.3189 -    test -z "$ac_dir" && ac_dir=.
 13.3190 -    if test -f "$ac_dir/$1"; then
 13.3191 -      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
 13.3192 -      if test -n "$file_magic_test_file"; then
 13.3193 -	case $deplibs_check_method in
 13.3194 -	"file_magic "*)
 13.3195 -	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 13.3196 -	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 13.3197 -	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 13.3198 -	    $EGREP "$file_magic_regex" > /dev/null; then
 13.3199 -	    :
 13.3200 -	  else
 13.3201 -	    cat <<_LT_EOF 1>&2
 13.3202 -
 13.3203 -*** Warning: the command libtool uses to detect shared libraries,
 13.3204 -*** $file_magic_cmd, produces output that libtool cannot recognize.
 13.3205 -*** The result is that libtool may fail to recognize shared libraries
 13.3206 -*** as such.  This will affect the creation of libtool libraries that
 13.3207 -*** depend on shared libraries, but programs linked with such libtool
 13.3208 -*** libraries will work regardless of this problem.  Nevertheless, you
 13.3209 -*** may want to report the problem to your system manager and/or to
 13.3210 -*** bug-libtool@gnu.org
 13.3211 -
 13.3212 -_LT_EOF
 13.3213 -	  fi ;;
 13.3214 -	esac
 13.3215 -      fi
 13.3216 -      break
 13.3217 -    fi
 13.3218 -  done
 13.3219 -  IFS=$lt_save_ifs
 13.3220 -  MAGIC_CMD=$lt_save_MAGIC_CMD
 13.3221 -  ;;
 13.3222 -esac])
 13.3223 -MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 13.3224 -if test -n "$MAGIC_CMD"; then
 13.3225 -  AC_MSG_RESULT($MAGIC_CMD)
 13.3226 -else
 13.3227 -  AC_MSG_RESULT(no)
 13.3228 -fi
 13.3229 -_LT_DECL([], [MAGIC_CMD], [0],
 13.3230 -	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 13.3231 -])# _LT_PATH_TOOL_PREFIX
 13.3232 -
 13.3233 -# Old name:
 13.3234 -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 13.3235 -dnl aclocal-1.4 backwards compatibility:
 13.3236 -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 13.3237 -
 13.3238 -
 13.3239 -# _LT_PATH_MAGIC
 13.3240 -# --------------
 13.3241 -# find a file program that can recognize a shared library
 13.3242 -m4_defun([_LT_PATH_MAGIC],
 13.3243 -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 13.3244 -if test -z "$lt_cv_path_MAGIC_CMD"; then
 13.3245 -  if test -n "$ac_tool_prefix"; then
 13.3246 -    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 13.3247 -  else
 13.3248 -    MAGIC_CMD=:
 13.3249 -  fi
 13.3250 -fi
 13.3251 -])# _LT_PATH_MAGIC
 13.3252 -
 13.3253 -
 13.3254 -# LT_PATH_LD
 13.3255 -# ----------
 13.3256 -# find the pathname to the GNU or non-GNU linker
 13.3257 -AC_DEFUN([LT_PATH_LD],
 13.3258 -[AC_REQUIRE([AC_PROG_CC])dnl
 13.3259 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
 13.3260 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 13.3261 -m4_require([_LT_DECL_SED])dnl
 13.3262 -m4_require([_LT_DECL_EGREP])dnl
 13.3263 -m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 13.3264 -
 13.3265 -AC_ARG_WITH([gnu-ld],
 13.3266 -    [AS_HELP_STRING([--with-gnu-ld],
 13.3267 -	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
 13.3268 -    [test no = "$withval" || with_gnu_ld=yes],
 13.3269 -    [with_gnu_ld=no])dnl
 13.3270 -
 13.3271 -ac_prog=ld
 13.3272 -if test yes = "$GCC"; then
 13.3273 -  # Check if gcc -print-prog-name=ld gives a path.
 13.3274 -  AC_MSG_CHECKING([for ld used by $CC])
 13.3275 -  case $host in
 13.3276 -  *-*-mingw*)
 13.3277 -    # gcc leaves a trailing carriage return, which upsets mingw
 13.3278 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 13.3279 -  *)
 13.3280 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 13.3281 -  esac
 13.3282 -  case $ac_prog in
 13.3283 -    # Accept absolute paths.
 13.3284 -    [[\\/]]* | ?:[[\\/]]*)
 13.3285 -      re_direlt='/[[^/]][[^/]]*/\.\./'
 13.3286 -      # Canonicalize the pathname of ld
 13.3287 -      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 13.3288 -      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 13.3289 -	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 13.3290 -      done
 13.3291 -      test -z "$LD" && LD=$ac_prog
 13.3292 -      ;;
 13.3293 -  "")
 13.3294 -    # If it fails, then pretend we aren't using GCC.
 13.3295 -    ac_prog=ld
 13.3296 -    ;;
 13.3297 -  *)
 13.3298 -    # If it is relative, then search for the first ld in PATH.
 13.3299 -    with_gnu_ld=unknown
 13.3300 -    ;;
 13.3301 -  esac
 13.3302 -elif test yes = "$with_gnu_ld"; then
 13.3303 -  AC_MSG_CHECKING([for GNU ld])
 13.3304 -else
 13.3305 -  AC_MSG_CHECKING([for non-GNU ld])
 13.3306 -fi
 13.3307 -AC_CACHE_VAL(lt_cv_path_LD,
 13.3308 -[if test -z "$LD"; then
 13.3309 -  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 13.3310 -  for ac_dir in $PATH; do
 13.3311 -    IFS=$lt_save_ifs
 13.3312 -    test -z "$ac_dir" && ac_dir=.
 13.3313 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 13.3314 -      lt_cv_path_LD=$ac_dir/$ac_prog
 13.3315 -      # Check to see if the program is GNU ld.  I'd rather use --version,
 13.3316 -      # but apparently some variants of GNU ld only accept -v.
 13.3317 -      # Break only if it was the GNU/non-GNU ld that we prefer.
 13.3318 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 13.3319 -      *GNU* | *'with BFD'*)
 13.3320 -	test no != "$with_gnu_ld" && break
 13.3321 -	;;
 13.3322 -      *)
 13.3323 -	test yes != "$with_gnu_ld" && break
 13.3324 -	;;
 13.3325 -      esac
 13.3326 -    fi
 13.3327 -  done
 13.3328 -  IFS=$lt_save_ifs
 13.3329 -else
 13.3330 -  lt_cv_path_LD=$LD # Let the user override the test with a path.
 13.3331 -fi])
 13.3332 -LD=$lt_cv_path_LD
 13.3333 -if test -n "$LD"; then
 13.3334 -  AC_MSG_RESULT($LD)
 13.3335 -else
 13.3336 -  AC_MSG_RESULT(no)
 13.3337 -fi
 13.3338 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 13.3339 -_LT_PATH_LD_GNU
 13.3340 -AC_SUBST([LD])
 13.3341 -
 13.3342 -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 13.3343 -])# LT_PATH_LD
 13.3344 -
 13.3345 -# Old names:
 13.3346 -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 13.3347 -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 13.3348 -dnl aclocal-1.4 backwards compatibility:
 13.3349 -dnl AC_DEFUN([AM_PROG_LD], [])
 13.3350 -dnl AC_DEFUN([AC_PROG_LD], [])
 13.3351 -
 13.3352 -
 13.3353 -# _LT_PATH_LD_GNU
 13.3354 -#- --------------
 13.3355 -m4_defun([_LT_PATH_LD_GNU],
 13.3356 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 13.3357 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 13.3358 -case `$LD -v 2>&1 </dev/null` in
 13.3359 -*GNU* | *'with BFD'*)
 13.3360 -  lt_cv_prog_gnu_ld=yes
 13.3361 -  ;;
 13.3362 -*)
 13.3363 -  lt_cv_prog_gnu_ld=no
 13.3364 -  ;;
 13.3365 -esac])
 13.3366 -with_gnu_ld=$lt_cv_prog_gnu_ld
 13.3367 -])# _LT_PATH_LD_GNU
 13.3368 -
 13.3369 -
 13.3370 -# _LT_CMD_RELOAD
 13.3371 -# --------------
 13.3372 -# find reload flag for linker
 13.3373 -#   -- PORTME Some linkers may need a different reload flag.
 13.3374 -m4_defun([_LT_CMD_RELOAD],
 13.3375 -[AC_CACHE_CHECK([for $LD option to reload object files],
 13.3376 -  lt_cv_ld_reload_flag,
 13.3377 -  [lt_cv_ld_reload_flag='-r'])
 13.3378 -reload_flag=$lt_cv_ld_reload_flag
 13.3379 -case $reload_flag in
 13.3380 -"" | " "*) ;;
 13.3381 -*) reload_flag=" $reload_flag" ;;
 13.3382 -esac
 13.3383 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
 13.3384 -case $host_os in
 13.3385 -  cygwin* | mingw* | pw32* | cegcc*)
 13.3386 -    if test yes != "$GCC"; then
 13.3387 -      reload_cmds=false
 13.3388 -    fi
 13.3389 -    ;;
 13.3390 -  darwin*)
 13.3391 -    if test yes = "$GCC"; then
 13.3392 -      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 13.3393 -    else
 13.3394 -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 13.3395 -    fi
 13.3396 -    ;;
 13.3397 -esac
 13.3398 -_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 13.3399 -_LT_TAGDECL([], [reload_cmds], [2])dnl
 13.3400 -])# _LT_CMD_RELOAD
 13.3401 -
 13.3402 -
 13.3403 -# _LT_PATH_DD
 13.3404 -# -----------
 13.3405 -# find a working dd
 13.3406 -m4_defun([_LT_PATH_DD],
 13.3407 -[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
 13.3408 -[printf 0123456789abcdef0123456789abcdef >conftest.i
 13.3409 -cat conftest.i conftest.i >conftest2.i
 13.3410 -: ${lt_DD:=$DD}
 13.3411 -AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
 13.3412 -[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 13.3413 -  cmp -s conftest.i conftest.out \
 13.3414 -  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 13.3415 -fi])
 13.3416 -rm -f conftest.i conftest2.i conftest.out])
 13.3417 -])# _LT_PATH_DD
 13.3418 -
 13.3419 -
 13.3420 -# _LT_CMD_TRUNCATE
 13.3421 -# ----------------
 13.3422 -# find command to truncate a binary pipe
 13.3423 -m4_defun([_LT_CMD_TRUNCATE],
 13.3424 -[m4_require([_LT_PATH_DD])
 13.3425 -AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
 13.3426 -[printf 0123456789abcdef0123456789abcdef >conftest.i
 13.3427 -cat conftest.i conftest.i >conftest2.i
 13.3428 -lt_cv_truncate_bin=
 13.3429 -if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 13.3430 -  cmp -s conftest.i conftest.out \
 13.3431 -  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 13.3432 -fi
 13.3433 -rm -f conftest.i conftest2.i conftest.out
 13.3434 -test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
 13.3435 -_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
 13.3436 -  [Command to truncate a binary pipe])
 13.3437 -])# _LT_CMD_TRUNCATE
 13.3438 -
 13.3439 -
 13.3440 -# _LT_CHECK_MAGIC_METHOD
 13.3441 -# ----------------------
 13.3442 -# how to check for library dependencies
 13.3443 -#  -- PORTME fill in with the dynamic library characteristics
 13.3444 -m4_defun([_LT_CHECK_MAGIC_METHOD],
 13.3445 -[m4_require([_LT_DECL_EGREP])
 13.3446 -m4_require([_LT_DECL_OBJDUMP])
 13.3447 -AC_CACHE_CHECK([how to recognize dependent libraries],
 13.3448 -lt_cv_deplibs_check_method,
 13.3449 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
 13.3450 -lt_cv_file_magic_test_file=
 13.3451 -lt_cv_deplibs_check_method='unknown'
 13.3452 -# Need to set the preceding variable on all platforms that support
 13.3453 -# interlibrary dependencies.
 13.3454 -# 'none' -- dependencies not supported.
 13.3455 -# 'unknown' -- same as none, but documents that we really don't know.
 13.3456 -# 'pass_all' -- all dependencies passed with no checks.
 13.3457 -# 'test_compile' -- check by making test program.
 13.3458 -# 'file_magic [[regex]]' -- check by looking for files in library path
 13.3459 -# that responds to the $file_magic_cmd with a given extended regex.
 13.3460 -# If you have 'file' or equivalent on your system and you're not sure
 13.3461 -# whether 'pass_all' will *always* work, you probably want this one.
 13.3462 -
 13.3463 -case $host_os in
 13.3464 -aix[[4-9]]*)
 13.3465 -  lt_cv_deplibs_check_method=pass_all
 13.3466 -  ;;
 13.3467 -
 13.3468 -beos*)
 13.3469 -  lt_cv_deplibs_check_method=pass_all
 13.3470 -  ;;
 13.3471 -
 13.3472 -bsdi[[45]]*)
 13.3473 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 13.3474 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
 13.3475 -  lt_cv_file_magic_test_file=/shlib/libc.so
 13.3476 -  ;;
 13.3477 -
 13.3478 -cygwin*)
 13.3479 -  # func_win32_libid is a shell function defined in ltmain.sh
 13.3480 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 13.3481 -  lt_cv_file_magic_cmd='func_win32_libid'
 13.3482 -  ;;
 13.3483 -
 13.3484 -mingw* | pw32*)
 13.3485 -  # Base MSYS/MinGW do not provide the 'file' command needed by
 13.3486 -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 13.3487 -  # unless we find 'file', for example because we are cross-compiling.
 13.3488 -  if ( file / ) >/dev/null 2>&1; then
 13.3489 -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 13.3490 -    lt_cv_file_magic_cmd='func_win32_libid'
 13.3491 -  else
 13.3492 -    # Keep this pattern in sync with the one in func_win32_libid.
 13.3493 -    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 13.3494 -    lt_cv_file_magic_cmd='$OBJDUMP -f'
 13.3495 -  fi
 13.3496 -  ;;
 13.3497 -
 13.3498 -cegcc*)
 13.3499 -  # use the weaker test based on 'objdump'. See mingw*.
 13.3500 -  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 13.3501 -  lt_cv_file_magic_cmd='$OBJDUMP -f'
 13.3502 -  ;;
 13.3503 -
 13.3504 -darwin* | rhapsody*)
 13.3505 -  lt_cv_deplibs_check_method=pass_all
 13.3506 -  ;;
 13.3507 -
 13.3508 -freebsd* | dragonfly*)
 13.3509 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 13.3510 -    case $host_cpu in
 13.3511 -    i*86 )
 13.3512 -      # Not sure whether the presence of OpenBSD here was a mistake.
 13.3513 -      # Let's accept both of them until this is cleared up.
 13.3514 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 13.3515 -      lt_cv_file_magic_cmd=/usr/bin/file
 13.3516 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 13.3517 -      ;;
 13.3518 -    esac
 13.3519 -  else
 13.3520 -    lt_cv_deplibs_check_method=pass_all
 13.3521 -  fi
 13.3522 -  ;;
 13.3523 -
 13.3524 -haiku*)
 13.3525 -  lt_cv_deplibs_check_method=pass_all
 13.3526 -  ;;
 13.3527 -
 13.3528 -hpux10.20* | hpux11*)
 13.3529 -  lt_cv_file_magic_cmd=/usr/bin/file
 13.3530 -  case $host_cpu in
 13.3531 -  ia64*)
 13.3532 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 13.3533 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 13.3534 -    ;;
 13.3535 -  hppa*64*)
 13.3536 -    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
 13.3537 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 13.3538 -    ;;
 13.3539 -  *)
 13.3540 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
 13.3541 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 13.3542 -    ;;
 13.3543 -  esac
 13.3544 -  ;;
 13.3545 -
 13.3546 -interix[[3-9]]*)
 13.3547 -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 13.3548 -  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 13.3549 -  ;;
 13.3550 -
 13.3551 -irix5* | irix6* | nonstopux*)
 13.3552 -  case $LD in
 13.3553 -  *-32|*"-32 ") libmagic=32-bit;;
 13.3554 -  *-n32|*"-n32 ") libmagic=N32;;
 13.3555 -  *-64|*"-64 ") libmagic=64-bit;;
 13.3556 -  *) libmagic=never-match;;
 13.3557 -  esac
 13.3558 -  lt_cv_deplibs_check_method=pass_all
 13.3559 -  ;;
 13.3560 -
 13.3561 -# This must be glibc/ELF.
 13.3562 -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 13.3563 -  lt_cv_deplibs_check_method=pass_all
 13.3564 -  ;;
 13.3565 -
 13.3566 -netbsd*)
 13.3567 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 13.3568 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 13.3569 -  else
 13.3570 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 13.3571 -  fi
 13.3572 -  ;;
 13.3573 -
 13.3574 -newos6*)
 13.3575 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 13.3576 -  lt_cv_file_magic_cmd=/usr/bin/file
 13.3577 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 13.3578 -  ;;
 13.3579 -
 13.3580 -*nto* | *qnx*)
 13.3581 -  lt_cv_deplibs_check_method=pass_all
 13.3582 -  ;;
 13.3583 -
 13.3584 -openbsd* | bitrig*)
 13.3585 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 13.3586 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 13.3587 -  else
 13.3588 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 13.3589 -  fi
 13.3590 -  ;;
 13.3591 -
 13.3592 -osf3* | osf4* | osf5*)
 13.3593 -  lt_cv_deplibs_check_method=pass_all
 13.3594 -  ;;
 13.3595 -
 13.3596 -rdos*)
 13.3597 -  lt_cv_deplibs_check_method=pass_all
 13.3598 -  ;;
 13.3599 -
 13.3600 -solaris*)
 13.3601 -  lt_cv_deplibs_check_method=pass_all
 13.3602 -  ;;
 13.3603 -
 13.3604 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 13.3605 -  lt_cv_deplibs_check_method=pass_all
 13.3606 -  ;;
 13.3607 -
 13.3608 -sysv4 | sysv4.3*)
 13.3609 -  case $host_vendor in
 13.3610 -  motorola)
 13.3611 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
 13.3612 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 13.3613 -    ;;
 13.3614 -  ncr)
 13.3615 -    lt_cv_deplibs_check_method=pass_all
 13.3616 -    ;;
 13.3617 -  sequent)
 13.3618 -    lt_cv_file_magic_cmd='/bin/file'
 13.3619 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 13.3620 -    ;;
 13.3621 -  sni)
 13.3622 -    lt_cv_file_magic_cmd='/bin/file'
 13.3623 -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 13.3624 -    lt_cv_file_magic_test_file=/lib/libc.so
 13.3625 -    ;;
 13.3626 -  siemens)
 13.3627 -    lt_cv_deplibs_check_method=pass_all
 13.3628 -    ;;
 13.3629 -  pc)
 13.3630 -    lt_cv_deplibs_check_method=pass_all
 13.3631 -    ;;
 13.3632 -  esac
 13.3633 -  ;;
 13.3634 -
 13.3635 -tpf*)
 13.3636 -  lt_cv_deplibs_check_method=pass_all
 13.3637 -  ;;
 13.3638 -os2*)
 13.3639 -  lt_cv_deplibs_check_method=pass_all
 13.3640 -  ;;
 13.3641 -esac
 13.3642 -])
 13.3643 -
 13.3644 -file_magic_glob=
 13.3645 -want_nocaseglob=no
 13.3646 -if test "$build" = "$host"; then
 13.3647 -  case $host_os in
 13.3648 -  mingw* | pw32*)
 13.3649 -    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 13.3650 -      want_nocaseglob=yes
 13.3651 -    else
 13.3652 -      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
 13.3653 -    fi
 13.3654 -    ;;
 13.3655 -  esac
 13.3656 -fi
 13.3657 -
 13.3658 -file_magic_cmd=$lt_cv_file_magic_cmd
 13.3659 -deplibs_check_method=$lt_cv_deplibs_check_method
 13.3660 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
 13.3661 -
 13.3662 -_LT_DECL([], [deplibs_check_method], [1],
 13.3663 -    [Method to check whether dependent libraries are shared objects])
 13.3664 -_LT_DECL([], [file_magic_cmd], [1],
 13.3665 -    [Command to use when deplibs_check_method = "file_magic"])
 13.3666 -_LT_DECL([], [file_magic_glob], [1],
 13.3667 -    [How to find potential files when deplibs_check_method = "file_magic"])
 13.3668 -_LT_DECL([], [want_nocaseglob], [1],
 13.3669 -    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
 13.3670 -])# _LT_CHECK_MAGIC_METHOD
 13.3671 -
 13.3672 -
 13.3673 -# LT_PATH_NM
 13.3674 -# ----------
 13.3675 -# find the pathname to a BSD- or MS-compatible name lister
 13.3676 -AC_DEFUN([LT_PATH_NM],
 13.3677 -[AC_REQUIRE([AC_PROG_CC])dnl
 13.3678 -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 13.3679 -[if test -n "$NM"; then
 13.3680 -  # Let the user override the test.
 13.3681 -  lt_cv_path_NM=$NM
 13.3682 -else
 13.3683 -  lt_nm_to_check=${ac_tool_prefix}nm
 13.3684 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 13.3685 -    lt_nm_to_check="$lt_nm_to_check nm"
 13.3686 -  fi
 13.3687 -  for lt_tmp_nm in $lt_nm_to_check; do
 13.3688 -    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 13.3689 -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 13.3690 -      IFS=$lt_save_ifs
 13.3691 -      test -z "$ac_dir" && ac_dir=.
 13.3692 -      tmp_nm=$ac_dir/$lt_tmp_nm
 13.3693 -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 13.3694 -	# Check to see if the nm accepts a BSD-compat flag.
 13.3695 -	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 13.3696 -	#   nm: unknown option "B" ignored
 13.3697 -	# Tru64's nm complains that /dev/null is an invalid object file
 13.3698 -	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 13.3699 -	case $build_os in
 13.3700 -	mingw*) lt_bad_file=conftest.nm/nofile ;;
 13.3701 -	*) lt_bad_file=/dev/null ;;
 13.3702 -	esac
 13.3703 -	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 13.3704 -	*$lt_bad_file* | *'Invalid file or object type'*)
 13.3705 -	  lt_cv_path_NM="$tmp_nm -B"
 13.3706 -	  break 2
 13.3707 -	  ;;
 13.3708 -	*)
 13.3709 -	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 13.3710 -	  */dev/null*)
 13.3711 -	    lt_cv_path_NM="$tmp_nm -p"
 13.3712 -	    break 2
 13.3713 -	    ;;
 13.3714 -	  *)
 13.3715 -	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 13.3716 -	    continue # so that we can try to find one that supports BSD flags