external libs: update libjpeg to latest 9c release. default
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 09 Nov 2019 11:37:02 +0300
changeset 7401671405f6357
parent 738 efb5e9828ca3
external libs: update libjpeg to latest 9c release.
Android.mk
CMakeLists.txt
VisualC/external/include/jpeglib.h
VisualC/external/lib/x64/libjpeg-9.dll
VisualC/external/lib/x86/libjpeg-9.dll
external/jpeg-9b.patch
external/jpeg-9b/Android.mk
external/jpeg-9b/CMakeLists.txt
external/jpeg-9b/Makefile.am
external/jpeg-9b/Makefile.in
external/jpeg-9b/README
external/jpeg-9b/aclocal.m4
external/jpeg-9b/ar-lib
external/jpeg-9b/cderror.h
external/jpeg-9b/cdjpeg.c
external/jpeg-9b/cdjpeg.h
external/jpeg-9b/change.log
external/jpeg-9b/cjpeg.1
external/jpeg-9b/cjpeg.c
external/jpeg-9b/ckconfig.c
external/jpeg-9b/coderules.txt
external/jpeg-9b/compile
external/jpeg-9b/config.guess
external/jpeg-9b/config.sub
external/jpeg-9b/configure
external/jpeg-9b/configure.ac
external/jpeg-9b/depcomp
external/jpeg-9b/djpeg.1
external/jpeg-9b/djpeg.c
external/jpeg-9b/example.c
external/jpeg-9b/filelist.txt
external/jpeg-9b/install-sh
external/jpeg-9b/install.txt
external/jpeg-9b/jaricom.c
external/jpeg-9b/jcapimin.c
external/jpeg-9b/jcapistd.c
external/jpeg-9b/jcarith.c
external/jpeg-9b/jccoefct.c
external/jpeg-9b/jccolor.c
external/jpeg-9b/jcdctmgr.c
external/jpeg-9b/jchuff.c
external/jpeg-9b/jcinit.c
external/jpeg-9b/jcmainct.c
external/jpeg-9b/jcmarker.c
external/jpeg-9b/jcmaster.c
external/jpeg-9b/jcomapi.c
external/jpeg-9b/jconfig.bcc
external/jpeg-9b/jconfig.cfg
external/jpeg-9b/jconfig.dj
external/jpeg-9b/jconfig.h
external/jpeg-9b/jconfig.mac
external/jpeg-9b/jconfig.manx
external/jpeg-9b/jconfig.mc6
external/jpeg-9b/jconfig.sas
external/jpeg-9b/jconfig.st
external/jpeg-9b/jconfig.txt
external/jpeg-9b/jconfig.vc
external/jpeg-9b/jconfig.vms
external/jpeg-9b/jconfig.wat
external/jpeg-9b/jcparam.c
external/jpeg-9b/jcprepct.c
external/jpeg-9b/jcsample.c
external/jpeg-9b/jctrans.c
external/jpeg-9b/jdapimin.c
external/jpeg-9b/jdapistd.c
external/jpeg-9b/jdarith.c
external/jpeg-9b/jdatadst.c
external/jpeg-9b/jdatasrc.c
external/jpeg-9b/jdcoefct.c
external/jpeg-9b/jdcolor.c
external/jpeg-9b/jdct.h
external/jpeg-9b/jddctmgr.c
external/jpeg-9b/jdhuff.c
external/jpeg-9b/jdinput.c
external/jpeg-9b/jdmainct.c
external/jpeg-9b/jdmarker.c
external/jpeg-9b/jdmaster.c
external/jpeg-9b/jdmerge.c
external/jpeg-9b/jdpostct.c
external/jpeg-9b/jdsample.c
external/jpeg-9b/jdtrans.c
external/jpeg-9b/jerror.c
external/jpeg-9b/jerror.h
external/jpeg-9b/jfdctflt.c
external/jpeg-9b/jfdctfst.c
external/jpeg-9b/jfdctint.c
external/jpeg-9b/jidctflt.c
external/jpeg-9b/jidctfst.S
external/jpeg-9b/jidctfst.c
external/jpeg-9b/jidctint.c
external/jpeg-9b/jinclude.h
external/jpeg-9b/jmem-android.c
external/jpeg-9b/jmemansi.c
external/jpeg-9b/jmemdos.c
external/jpeg-9b/jmemdosa.asm
external/jpeg-9b/jmemmac.c
external/jpeg-9b/jmemmgr.c
external/jpeg-9b/jmemname.c
external/jpeg-9b/jmemnobs.c
external/jpeg-9b/jmemsys.h
external/jpeg-9b/jmorecfg.h
external/jpeg-9b/jpegint.h
external/jpeg-9b/jpeglib.h
external/jpeg-9b/jpegtran.1
external/jpeg-9b/jpegtran.c
external/jpeg-9b/jquant1.c
external/jpeg-9b/jquant2.c
external/jpeg-9b/jutils.c
external/jpeg-9b/jversion.h
external/jpeg-9b/libjpeg.map
external/jpeg-9b/libjpeg.txt
external/jpeg-9b/ltmain.sh
external/jpeg-9b/makcjpeg.st
external/jpeg-9b/makdjpeg.st
external/jpeg-9b/makeadsw.vc6
external/jpeg-9b/makeasln.v10
external/jpeg-9b/makecdep.vc6
external/jpeg-9b/makecdsp.vc6
external/jpeg-9b/makecfil.v10
external/jpeg-9b/makecmak.vc6
external/jpeg-9b/makecvcx.v10
external/jpeg-9b/makeddep.vc6
external/jpeg-9b/makeddsp.vc6
external/jpeg-9b/makedfil.v10
external/jpeg-9b/makedmak.vc6
external/jpeg-9b/makedvcx.v10
external/jpeg-9b/makefile.ansi
external/jpeg-9b/makefile.b32
external/jpeg-9b/makefile.bcc
external/jpeg-9b/makefile.dj
external/jpeg-9b/makefile.manx
external/jpeg-9b/makefile.mc6
external/jpeg-9b/makefile.mms
external/jpeg-9b/makefile.sas
external/jpeg-9b/makefile.unix
external/jpeg-9b/makefile.vc
external/jpeg-9b/makefile.vms
external/jpeg-9b/makefile.wat
external/jpeg-9b/makejdep.vc6
external/jpeg-9b/makejdsp.vc6
external/jpeg-9b/makejdsw.vc6
external/jpeg-9b/makejfil.v10
external/jpeg-9b/makejmak.vc6
external/jpeg-9b/makejsln.v10
external/jpeg-9b/makejvcx.v10
external/jpeg-9b/makeproj.mac
external/jpeg-9b/makerdep.vc6
external/jpeg-9b/makerdsp.vc6
external/jpeg-9b/makerfil.v10
external/jpeg-9b/makermak.vc6
external/jpeg-9b/makervcx.v10
external/jpeg-9b/maketdep.vc6
external/jpeg-9b/maketdsp.vc6
external/jpeg-9b/maketfil.v10
external/jpeg-9b/maketmak.vc6
external/jpeg-9b/maketvcx.v10
external/jpeg-9b/makewdep.vc6
external/jpeg-9b/makewdsp.vc6
external/jpeg-9b/makewfil.v10
external/jpeg-9b/makewmak.vc6
external/jpeg-9b/makewvcx.v10
external/jpeg-9b/makljpeg.st
external/jpeg-9b/maktjpeg.st
external/jpeg-9b/makvms.opt
external/jpeg-9b/missing
external/jpeg-9b/rdbmp.c
external/jpeg-9b/rdcolmap.c
external/jpeg-9b/rdgif.c
external/jpeg-9b/rdjpgcom.1
external/jpeg-9b/rdjpgcom.c
external/jpeg-9b/rdppm.c
external/jpeg-9b/rdrle.c
external/jpeg-9b/rdswitch.c
external/jpeg-9b/rdtarga.c
external/jpeg-9b/structure.txt
external/jpeg-9b/testimg.bmp
external/jpeg-9b/testimg.jpg
external/jpeg-9b/testimg.ppm
external/jpeg-9b/testimgp.jpg
external/jpeg-9b/testorig.jpg
external/jpeg-9b/testprog.jpg
external/jpeg-9b/transupp.c
external/jpeg-9b/transupp.h
external/jpeg-9b/usage.txt
external/jpeg-9b/wizard.txt
external/jpeg-9b/wrbmp.c
external/jpeg-9b/wrgif.c
external/jpeg-9b/wrjpgcom.1
external/jpeg-9b/wrjpgcom.c
external/jpeg-9b/wrppm.c
external/jpeg-9b/wrrle.c
external/jpeg-9b/wrtarga.c
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
     1.1 --- a/Android.mk	Fri Nov 08 23:00:56 2019 +0300
     1.2 +++ b/Android.mk	Sat Nov 09 11:37:02 2019 +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-9b
     1.8 +JPG_LIBRARY_PATH := external/jpeg-9c
     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	Fri Nov 08 23:00:56 2019 +0300
     2.2 +++ b/CMakeLists.txt	Sat Nov 09 11:37:02 2019 +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-9b)
     2.8 +	add_subdirectory(external/jpeg-9c)
     2.9  	target_link_libraries(SDL2_image PRIVATE jpeg)
    2.10  endif()
    2.11  
     3.1 --- a/VisualC/external/include/jpeglib.h	Fri Nov 08 23:00:56 2019 +0300
     3.2 +++ b/VisualC/external/include/jpeglib.h	Sat Nov 09 11:37:02 2019 +0300
     3.3 @@ -2,7 +2,7 @@
     3.4   * jpeglib.h
     3.5   *
     3.6   * Copyright (C) 1991-1998, Thomas G. Lane.
     3.7 - * Modified 2002-2015 by Guido Vollbeding.
     3.8 + * Modified 2002-2017 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 @@ -39,7 +39,7 @@
    3.13  
    3.14  #define JPEG_LIB_VERSION        90	/* Compatibility version 9.0 */
    3.15  #define JPEG_LIB_VERSION_MAJOR  9
    3.16 -#define JPEG_LIB_VERSION_MINOR  2
    3.17 +#define JPEG_LIB_VERSION_MINOR  3
    3.18  
    3.19  
    3.20  /* Various constants determining the sizes of things.
    3.21 @@ -137,9 +137,9 @@
    3.22    /* The decompressor output side may not use these variables. */
    3.23    int dc_tbl_no;		/* DC entropy table selector (0..3) */
    3.24    int ac_tbl_no;		/* AC entropy table selector (0..3) */
    3.25 -  
    3.26 +
    3.27    /* Remaining fields should be treated as private by applications. */
    3.28 -  
    3.29 +
    3.30    /* These values are computed during compression or decompression startup: */
    3.31    /* Component's size in DCT blocks.
    3.32     * Any dummy blocks added to complete an MCU are not counted; therefore
    3.33 @@ -411,10 +411,10 @@
    3.34    JDIMENSION total_iMCU_rows;	/* # of iMCU rows to be input to coef ctlr */
    3.35    /* The coefficient controller receives data in units of MCU rows as defined
    3.36     * for fully interleaved scans (whether the JPEG file is interleaved or not).
    3.37 -   * There are v_samp_factor * DCTSIZE sample rows of each component in an
    3.38 -   * "iMCU" (interleaved MCU) row.
    3.39 +   * There are v_samp_factor * DCT_v_scaled_size sample rows of each component
    3.40 +   * in an "iMCU" (interleaved MCU) row.
    3.41     */
    3.42 -  
    3.43 +
    3.44    /*
    3.45     * These fields are valid during any one scan.
    3.46     * They describe the components and MCUs actually appearing in the scan.
    3.47 @@ -422,10 +422,10 @@
    3.48    int comps_in_scan;		/* # of JPEG components in this scan */
    3.49    jpeg_component_info * cur_comp_info[MAX_COMPS_IN_SCAN];
    3.50    /* *cur_comp_info[i] describes component that appears i'th in SOS */
    3.51 -  
    3.52 +
    3.53    JDIMENSION MCUs_per_row;	/* # of MCUs across the image */
    3.54    JDIMENSION MCU_rows_in_scan;	/* # of MCU rows in the image */
    3.55 -  
    3.56 +
    3.57    int blocks_in_MCU;		/* # of DCT blocks per MCU */
    3.58    int MCU_membership[C_MAX_BLOCKS_IN_MCU];
    3.59    /* MCU_membership[i] is index in cur_comp_info of component owning */
    3.60 @@ -636,7 +636,7 @@
    3.61     * in fully interleaved JPEG scans, but are used whether the scan is
    3.62     * interleaved or not.  We define an iMCU row as v_samp_factor DCT block
    3.63     * rows of each component.  Therefore, the IDCT output contains
    3.64 -   * v_samp_factor*DCT_v_scaled_size sample rows of a component per iMCU row.
    3.65 +   * v_samp_factor * DCT_v_scaled_size sample rows of a component per iMCU row.
    3.66     */
    3.67  
    3.68    JSAMPLE * sample_range_limit; /* table for fast range-limiting */
    3.69 @@ -711,7 +711,7 @@
    3.70  #define JMSG_LENGTH_MAX  200	/* recommended size of format_message buffer */
    3.71    /* Reset error state variables at start of a new image */
    3.72    JMETHOD(void, reset_error_mgr, (j_common_ptr cinfo));
    3.73 -  
    3.74 +
    3.75    /* The message ID code and any parameters are saved here.
    3.76     * A message can have one string parameter or up to 8 int parameters.
    3.77     */
    3.78 @@ -721,11 +721,11 @@
    3.79      int i[8];
    3.80      char s[JMSG_STR_PARM_MAX];
    3.81    } msg_parm;
    3.82 -  
    3.83 +
    3.84    /* Standard state variables for error facility */
    3.85 -  
    3.86 +
    3.87    int trace_level;		/* max msg_level that will be displayed */
    3.88 -  
    3.89 +
    3.90    /* For recoverable corrupt-data errors, we emit a warning message,
    3.91     * but keep going unless emit_message chooses to abort.  emit_message
    3.92     * should count warnings in num_warnings.  The surrounding application
     4.1 Binary file VisualC/external/lib/x64/libjpeg-9.dll has changed
     5.1 Binary file VisualC/external/lib/x86/libjpeg-9.dll has changed
     6.1 --- a/external/jpeg-9b.patch	Fri Nov 08 23:00:56 2019 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,872 +0,0 @@
     6.4 -diff -ruN jpeg-9b.orig/Android.mk jpeg-9b/Android.mk
     6.5 ---- jpeg-9b.orig/Android.mk	1969-12-31 16:00:00.000000000 -0800
     6.6 -+++ jpeg-9b/Android.mk	2017-10-23 07:33:24.698623073 -0700
     6.7 -@@ -0,0 +1,37 @@
     6.8 -+LOCAL_PATH:= $(call my-dir)
     6.9 -+include $(CLEAR_VARS)
    6.10 -+
    6.11 -+LOCAL_ARM_MODE := arm
    6.12 -+
    6.13 -+LOCAL_SRC_FILES := \
    6.14 -+    jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
    6.15 -+    jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
    6.16 -+    jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
    6.17 -+    jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
    6.18 -+    jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
    6.19 -+    jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
    6.20 -+    jfdctfst.c jfdctint.c jidctflt.c jquant1.c \
    6.21 -+    jquant2.c jutils.c jmemmgr.c \
    6.22 -+	jmem-android.c
    6.23 -+
    6.24 -+# the assembler is only for the ARM version, don't break the Linux sim
    6.25 -+ifneq ($(TARGET_ARCH),arm)
    6.26 -+ANDROID_JPEG_NO_ASSEMBLER := true
    6.27 -+endif
    6.28 -+
    6.29 -+# temp fix until we understand why this broke cnn.com
    6.30 -+ANDROID_JPEG_NO_ASSEMBLER := true
    6.31 -+
    6.32 -+ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true)
    6.33 -+LOCAL_SRC_FILES += jidctint.c jidctfst.c
    6.34 -+else
    6.35 -+LOCAL_SRC_FILES += jidctint.c jidctfst.S
    6.36 -+endif
    6.37 -+
    6.38 -+LOCAL_CFLAGS += -DAVOID_TABLES 
    6.39 -+LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
    6.40 -+#LOCAL_CFLAGS += -march=armv6j
    6.41 -+
    6.42 -+LOCAL_MODULE:= jpeg
    6.43 -+
    6.44 -+include $(BUILD_STATIC_LIBRARY)
    6.45 -diff -ruN jpeg-9b.orig/jconfig.h jpeg-9b/jconfig.h
    6.46 ---- jpeg-9b.orig/jconfig.h	1969-12-31 16:00:00.000000000 -0800
    6.47 -+++ jpeg-9b/jconfig.h	2017-10-22 10:55:55.745170265 -0700
    6.48 -@@ -0,0 +1,156 @@
    6.49 -+/* android jconfig.h */
    6.50 -+/*
    6.51 -+ * jconfig.doc
    6.52 -+ *
    6.53 -+ * Copyright (C) 1991-1994, Thomas G. Lane.
    6.54 -+ * This file is part of the Independent JPEG Group's software.
    6.55 -+ * For conditions of distribution and use, see the accompanying README file.
    6.56 -+ *
    6.57 -+ * This file documents the configuration options that are required to
    6.58 -+ * customize the JPEG software for a particular system.
    6.59 -+ *
    6.60 -+ * The actual configuration options for a particular installation are stored
    6.61 -+ * in jconfig.h.  On many machines, jconfig.h can be generated automatically
    6.62 -+ * or copied from one of the "canned" jconfig files that we supply.  But if
    6.63 -+ * you need to generate a jconfig.h file by hand, this file tells you how.
    6.64 -+ *
    6.65 -+ * DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING.
    6.66 -+ * EDIT A COPY NAMED JCONFIG.H.
    6.67 -+ */
    6.68 -+
    6.69 -+
    6.70 -+/*
    6.71 -+ * These symbols indicate the properties of your machine or compiler.
    6.72 -+ * #define the symbol if yes, #undef it if no.
    6.73 -+ */
    6.74 -+
    6.75 -+/* Does your compiler support function prototypes?
    6.76 -+ * (If not, you also need to use ansi2knr, see install.doc)
    6.77 -+ */
    6.78 -+#define HAVE_PROTOTYPES
    6.79 -+
    6.80 -+/* Does your compiler support the declaration "unsigned char" ?
    6.81 -+ * How about "unsigned short" ?
    6.82 -+ */
    6.83 -+#define HAVE_UNSIGNED_CHAR
    6.84 -+#define HAVE_UNSIGNED_SHORT
    6.85 -+
    6.86 -+/* Define "void" as "char" if your compiler doesn't know about type void.
    6.87 -+ * NOTE: be sure to define void such that "void *" represents the most general
    6.88 -+ * pointer type, e.g., that returned by malloc().
    6.89 -+ */
    6.90 -+/* #define void char */
    6.91 -+
    6.92 -+/* Define "const" as empty if your compiler doesn't know the "const" keyword.
    6.93 -+ */
    6.94 -+/* #define const */
    6.95 -+
    6.96 -+/* Define this if an ordinary "char" type is unsigned.
    6.97 -+ * If you're not sure, leaving it undefined will work at some cost in speed.
    6.98 -+ * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
    6.99 -+ */
   6.100 -+#undef CHAR_IS_UNSIGNED
   6.101 -+
   6.102 -+/* Define this if your system has an ANSI-conforming <stddef.h> file.
   6.103 -+ */
   6.104 -+#define HAVE_STDDEF_H
   6.105 -+
   6.106 -+/* Define this if your system has an ANSI-conforming <stdlib.h> file.
   6.107 -+ */
   6.108 -+#define HAVE_STDLIB_H
   6.109 -+
   6.110 -+/* Define this if your system does not have an ANSI/SysV <string.h>,
   6.111 -+ * but does have a BSD-style <strings.h>.
   6.112 -+ */
   6.113 -+#undef NEED_BSD_STRINGS
   6.114 -+
   6.115 -+/* Define this if your system does not provide typedef size_t in any of the
   6.116 -+ * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
   6.117 -+ * <sys/types.h> instead.
   6.118 -+ */
   6.119 -+#undef NEED_SYS_TYPES_H
   6.120 -+
   6.121 -+/* For 80x86 machines, you need to define NEED_FAR_POINTERS,
   6.122 -+ * unless you are using a large-data memory model or 80386 flat-memory mode.
   6.123 -+ * On less brain-damaged CPUs this symbol must not be defined.
   6.124 -+ * (Defining this symbol causes large data structures to be referenced through
   6.125 -+ * "far" pointers and to be allocated with a special version of malloc.)
   6.126 -+ */
   6.127 -+#undef NEED_FAR_POINTERS
   6.128 -+
   6.129 -+/* Define this if your linker needs global names to be unique in less
   6.130 -+ * than the first 15 characters.
   6.131 -+ */
   6.132 -+#undef NEED_SHORT_EXTERNAL_NAMES
   6.133 -+
   6.134 -+/* Although a real ANSI C compiler can deal perfectly well with pointers to
   6.135 -+ * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
   6.136 -+ * and pseudo-ANSI compilers get confused.  To keep one of these bozos happy,
   6.137 -+ * define INCOMPLETE_TYPES_BROKEN.  This is not recommended unless you
   6.138 -+ * actually get "missing structure definition" warnings or errors while
   6.139 -+ * compiling the JPEG code.
   6.140 -+ */
   6.141 -+#undef INCOMPLETE_TYPES_BROKEN
   6.142 -+
   6.143 -+
   6.144 -+/*
   6.145 -+ * The following options affect code selection within the JPEG library,
   6.146 -+ * but they don't need to be visible to applications using the library.
   6.147 -+ * To minimize application namespace pollution, the symbols won't be
   6.148 -+ * defined unless JPEG_INTERNALS has been defined.
   6.149 -+ */
   6.150 -+
   6.151 -+#ifdef JPEG_INTERNALS
   6.152 -+
   6.153 -+/* Define this if your compiler implements ">>" on signed values as a logical
   6.154 -+ * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
   6.155 -+ * which is the normal and rational definition.
   6.156 -+ */
   6.157 -+#undef RIGHT_SHIFT_IS_UNSIGNED
   6.158 -+
   6.159 -+
   6.160 -+#endif /* JPEG_INTERNALS */
   6.161 -+
   6.162 -+
   6.163 -+/*
   6.164 -+ * The remaining options do not affect the JPEG library proper,
   6.165 -+ * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
   6.166 -+ * Other applications can ignore these.
   6.167 -+ */
   6.168 -+
   6.169 -+#ifdef JPEG_CJPEG_DJPEG
   6.170 -+
   6.171 -+/* These defines indicate which image (non-JPEG) file formats are allowed. */
   6.172 -+
   6.173 -+#define BMP_SUPPORTED		/* BMP image file format */
   6.174 -+#define GIF_SUPPORTED		/* GIF image file format */
   6.175 -+#define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
   6.176 -+#undef RLE_SUPPORTED		/* Utah RLE image file format */
   6.177 -+#define TARGA_SUPPORTED		/* Targa image file format */
   6.178 -+
   6.179 -+/* Define this if you want to name both input and output files on the command
   6.180 -+ * line, rather than using stdout and optionally stdin.  You MUST do this if
   6.181 -+ * your system can't cope with binary I/O to stdin/stdout.  See comments at
   6.182 -+ * head of cjpeg.c or djpeg.c.
   6.183 -+ */
   6.184 -+#undef TWO_FILE_COMMANDLINE
   6.185 -+
   6.186 -+/* Define this if your system needs explicit cleanup of temporary files.
   6.187 -+ * This is crucial under MS-DOS, where the temporary "files" may be areas
   6.188 -+ * of extended memory; on most other systems it's not as important.
   6.189 -+ */
   6.190 -+#undef NEED_SIGNAL_CATCHER
   6.191 -+
   6.192 -+/* By default, we open image files with fopen(...,"rb") or fopen(...,"wb").
   6.193 -+ * This is necessary on systems that distinguish text files from binary files,
   6.194 -+ * and is harmless on most systems that don't.  If you have one of the rare
   6.195 -+ * systems that complains about the "b" spec, define this symbol.
   6.196 -+ */
   6.197 -+#undef DONT_USE_B_MODE
   6.198 -+
   6.199 -+/* Define this if you want percent-done progress reports from cjpeg/djpeg.
   6.200 -+ */
   6.201 -+#undef PROGRESS_REPORT
   6.202 -+
   6.203 -+
   6.204 -+#endif /* JPEG_CJPEG_DJPEG */
   6.205 -diff -ruN jpeg-9b.orig/jidctfst.S jpeg-9b/jidctfst.S
   6.206 ---- jpeg-9b.orig/jidctfst.S	1969-12-31 16:00:00.000000000 -0800
   6.207 -+++ jpeg-9b/jidctfst.S	2017-10-22 10:55:55.829170262 -0700
   6.208 -@@ -0,0 +1,476 @@
   6.209 -+/*
   6.210 -+ * Copyright (C) 2008 The Android Open Source Project
   6.211 -+ *
   6.212 -+ * Licensed under the Apache License, Version 2.0 (the "License");
   6.213 -+ * you may not use this file except in compliance with the License.
   6.214 -+ * You may obtain a copy of the License at
   6.215 -+ *
   6.216 -+ *      http://www.apache.org/licenses/LICENSE-2.0
   6.217 -+ *
   6.218 -+ * Unless required by applicable law or agreed to in writing, software
   6.219 -+ * distributed under the License is distributed on an "AS IS" BASIS,
   6.220 -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   6.221 -+ * See the License for the specific language governing permissions and
   6.222 -+ * limitations under the License.
   6.223 -+ */
   6.224 -+
   6.225 -+#include <machine/cpu-features.h>
   6.226 -+
   6.227 -+    .text
   6.228 -+    .align
   6.229 -+
   6.230 -+    .global jpeg_idct_ifast
   6.231 -+    .func   jpeg_idct_ifast
   6.232 -+
   6.233 -+// NOTE: sb=r9, fp=r11 ip=r12, sp=r13, lr=r14, pc=r15
   6.234 -+
   6.235 -+// jpeg_idct_ifast (j_decompress_ptr       cinfo,
   6.236 -+//                 jpeg_component_info *   compptr,
   6.237 -+//                 short*                  coef_block,
   6.238 -+//                 unsigned char*          output_buf,
   6.239 -+//                 int                     output_col)
   6.240 -+
   6.241 -+#define  local_TMP0123       sp
   6.242 -+#define  local_TMP0          [sp, #0]
   6.243 -+#define  local_TMP1          [sp, #4]
   6.244 -+#define  local_TMP2          [sp, #8]
   6.245 -+#define  local_TMP3          [sp, #12]
   6.246 -+#define  local_RANGE_TABLE   [sp, #16]
   6.247 -+#define  local_OUTPUT_COL    [sp, #20]
   6.248 -+#define  local_OUTPUT_BUF    [sp, #24]
   6.249 -+#define  local_UNUSED        [sp, #28]
   6.250 -+#define  off_WORKSPACE       32
   6.251 -+#define  local_WORKSPACE     [sp, #offWORKSPACE]
   6.252 -+#define  local_SIZE          (off_WORKSPACE + 8*8*4)
   6.253 -+
   6.254 -+#define  off_DECOMPRESS_range_limit_base  324
   6.255 -+#define  off_COMPINFO_quanttable          80
   6.256 -+
   6.257 -+#define  DCTSIZE   8
   6.258 -+#define  VY(x)   ((x)*DCTSIZE*2)
   6.259 -+#define  QY(x)   ((x)*DCTSIZE*4)
   6.260 -+
   6.261 -+#define  VX(x)   ((x)*2)
   6.262 -+#define  QX(x)   ((x)*4)
   6.263 -+
   6.264 -+#define  FIX_1_414213562    #362
   6.265 -+#define  FIX_1_082392200    #277
   6.266 -+#define  FIX_1_847759065    #473
   6.267 -+#define  FIX_2_613125930    #669
   6.268 -+
   6.269 -+#define  RANGE_MASK   1023
   6.270 -+
   6.271 -+
   6.272 -+
   6.273 -+jpeg_idct_ifast:
   6.274 -+    PLD     [r2, #0]
   6.275 -+    stmdb   sp!, {r4,r5, r6,r7, r8,r9, r10,r11, r12,lr}
   6.276 -+    ldr     r4, [sp, #4*10]
   6.277 -+    sub     sp, #local_SIZE
   6.278 -+
   6.279 -+    ldr     r10,[r1, #off_COMPINFO_quanttable]         // r10 = quanttable
   6.280 -+    str     r4, local_OUTPUT_COL
   6.281 -+    str     r3, local_OUTPUT_BUF
   6.282 -+    ldr     r5, [r0, #off_DECOMPRESS_range_limit_base]
   6.283 -+    add     r5, r5, #128
   6.284 -+    str     r5, local_RANGE_TABLE
   6.285 -+    mov     fp, r2                                      // fp = coef_block
   6.286 -+    add     ip, sp, #off_WORKSPACE
   6.287 -+
   6.288 -+VLoopTail:
   6.289 -+    ldrsh    r0, [fp, #VY(0)]
   6.290 -+    ldrsh    r1, [fp, #VY(1)]
   6.291 -+    ldrsh    r2, [fp, #VY(2)]
   6.292 -+    ldrsh    r3, [fp, #VY(3)]
   6.293 -+    ldrsh    r4, [fp, #VY(4)]
   6.294 -+    ldrsh    r5, [fp, #VY(5)]
   6.295 -+    ldrsh    r6, [fp, #VY(6)]
   6.296 -+    ldrsh    r7, [fp, #VY(7)]
   6.297 -+
   6.298 -+    cmp      r1, #0
   6.299 -+    orreqs   r8, r2, r3
   6.300 -+    orreqs   r8, r4, r5
   6.301 -+    orreqs   r8, r6, r7
   6.302 -+    beq      VLoopHeadZero
   6.303 -+
   6.304 -+VLoopHead:
   6.305 -+    // tmp0 = DEQUANTIZE(in[DCTSIZE*0], quant[DCTSIZE*0]   (r0)
   6.306 -+    // tmp2 = DEQUANTIZE(in[DCTSIZE*4], quant[DCTSIZE*4]   (r4)
   6.307 -+    // tmp1 = DEQUANTIZE(in[DCTSIZE*2], quant[DCTSIZE*2]   (r2)
   6.308 -+    // tmp3 = DEQUANTIZE(in[DCTSIZE*6], quant[DCTSIZE*6]   (r6)
   6.309 -+    // tmp10 = tmp0 + tmp2   (r0)
   6.310 -+    // tmp11 = tmp0 - tmp2   (r4)
   6.311 -+
   6.312 -+    ldr      r9, [r10, #QY(4)]
   6.313 -+    ldr      r8, [r10, #QY(0)]
   6.314 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   6.315 -+    smulbb   r4, r9, r4
   6.316 -+    smlabb   r0, r8, r0, r4
   6.317 -+#else
   6.318 -+    mul      r4, r9, r4
   6.319 -+    mul      r0, r8, r0
   6.320 -+    add      r0, r4
   6.321 -+#endif
   6.322 -+    ldr      r9, [r10, #QY(6)]
   6.323 -+    ldr      r8, [r10, #QY(2)]
   6.324 -+    sub      r4, r0, r4, lsl #1
   6.325 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   6.326 -+    smulbb   r6, r9, r6
   6.327 -+    smlabb   r2, r8, r2, r6
   6.328 -+#else
   6.329 -+    mul      r6, r9, r6
   6.330 -+    mul      r2, r8, r2
   6.331 -+    add      r2, r6
   6.332 -+#endif
   6.333 -+
   6.334 -+    // tmp13 = tmp1 + tmp3                                       (r2)
   6.335 -+    // tmp12 = MULTIPLY(tmp1 - tmp3, FIX_1_414213562) - tmp13    (r6)
   6.336 -+    // FIX_1_4142... = 362 = 45*8 + 2
   6.337 -+    sub      r6, r2, r6, lsl #1
   6.338 -+    mov      r8, #360
   6.339 -+    add      r8, r8, #2
   6.340 -+    mul      r9, r6, r8
   6.341 -+
   6.342 -+    // tmp0 = tmp10 + tmp13;   (r0)
   6.343 -+    // tmp3 = tmp10 - tmp13;   (r8)
   6.344 -+    // tmp1 = tmp11 + tmp12;   (r4)
   6.345 -+    // tmp2 = tmp11 - tmp12;   (r6)
   6.346 -+    add     r0, r0, r2
   6.347 -+    rsb     r6, r2, r9, asr #8
   6.348 -+    sub     r8, r0, r2, lsl #1
   6.349 -+    add     r4, r4, r6
   6.350 -+    sub     r6, r4, r6, lsl #1
   6.351 -+
   6.352 -+    stmia   local_TMP0123, {r0, r4, r6, r8}
   6.353 -+
   6.354 -+    // NOTE: be sure to not user r0,r4,r6,r8 soon after stm above
   6.355 -+
   6.356 -+    // odd part
   6.357 -+    // tmp4 = DEQUANTIZE( in[DCTSIZE*1], quant[DCTSIZE*1] )   (r1)
   6.358 -+    // tmp6 = DEQUANTIZE( in[DCTSIZE*5], quant[DCTSIZE*5] )   (r5)
   6.359 -+    // tmp5 = DEQUANTIZE( in[DCTSIZE*3], quant[DCTSIZE*3] )   (r3)
   6.360 -+    // tmp7 = DEQUANTIZE( in[DCTSIZE*7], quant[DCTSIZE*7] )   (r7)
   6.361 -+    // z13 = tmp6 + tmp5;  (r0)
   6.362 -+    // z10 = tmp6 - tmp5;  (r2)
   6.363 -+    // z11 = tmp4 + tmp7;  (r4)
   6.364 -+    // z12 = tmp4 - tmp7;  (r6)
   6.365 -+
   6.366 -+    ldr     r2, [r10, #QY(1)]
   6.367 -+    ldr     r9, [r10, #QY(5)]
   6.368 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   6.369 -+    smulbb  r1, r2, r1
   6.370 -+#else
   6.371 -+    mul     r1, r2, r1
   6.372 -+#endif
   6.373 -+    ldr     r2, [r10, #QY(3)]
   6.374 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   6.375 -+    smulbb  r5, r9, r5
   6.376 -+#else
   6.377 -+    mul     r5, r9, r5
   6.378 -+#endif
   6.379 -+    ldr     r9, [r10, #QY(7)]
   6.380 -+#if __ARM_HAVE_HALFWORD_MULTIPLY
   6.381 -+    smlabb  r0, r2, r3, r5
   6.382 -+    smlabb  r4, r9, r7, r1
   6.383 -+#else
   6.384 -+    mul     r0, r2, r3
   6.385 -+    add     r0, r5
   6.386 -+    mul     r4, r9, r7
   6.387 -+    add     r4, r1
   6.388 -+#endif
   6.389 -+    rsb  r2, r0, r5, lsl #1
   6.390 -+    rsb  r6, r4, r1, lsl #1
   6.391 -+
   6.392 -+    // tmp7 = z11 + z13;                             (r7)
   6.393 -+    // tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); (r1)
   6.394 -+    // FIX_... = 360 + 2
   6.395 -+    add   r7, r4, r0
   6.396 -+    sub   r1, r4, r0
   6.397 -+    mov   r8, #360
   6.398 -+    add   r8, r8, #2
   6.399 -+    mul   r1, r8, r1
   6.400 -+
   6.401 -+    // z5 = MULTIPLY(z10 + z12, FIX_1_847759065);        (r8)
   6.402 -+    // tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5;      (r0)
   6.403 -+    // tmp12 = MULTIPLY(z10, - FIX_2_613125930) + z5;    (r2)
   6.404 -+    // FIX_1_8477... = 473 = 472 + 1
   6.405 -+    // FIX_1_082...  = 277 = 276 + 1
   6.406 -+    // FIX_2_...     = 669 = 668 + 1
   6.407 -+    add     r8, r2, r6
   6.408 -+    mov     r9, #472
   6.409 -+    mla     r8, r9, r8, r8
   6.410 -+    mov     r9, #276
   6.411 -+    mla     r0, r6, r9, r6
   6.412 -+    mov     r9, #668
   6.413 -+    mla     r2, r9, r2, r2
   6.414 -+    sub     r0, r0, r8
   6.415 -+    rsb     r2, r2, r8
   6.416 -+
   6.417 -+    // tmp6 = tmp12 - tmp7;  (r6)
   6.418 -+    // tmp5 = tmp11 - tmp6;  (r5)
   6.419 -+    // tmp4 = tmp10 + tmp5;  (r4)
   6.420 -+    rsb  r6, r7, r2, asr #8
   6.421 -+    rsb  r5, r6, r1, asr #8
   6.422 -+    add  r4, r5, r0, asr #8
   6.423 -+
   6.424 -+    ldmia local_TMP0123, {r0, r1, r2, r3}
   6.425 -+
   6.426 -+    // wsptr[DCTSIZE*0] = (int) (tmp0 + tmp7);
   6.427 -+    // wsptr[DCTSIZE*7] = (int) (tmp0 - tmp7);
   6.428 -+    // wsptr[DCTSIZE*1] = (int) (tmp1 + tmp6);
   6.429 -+    // wsptr[DCTSIZE*6] = (int) (tmp1 - tmp6);
   6.430 -+    // wsptr[DCTSIZE*2] = (int) (tmp2 + tmp5);
   6.431 -+    // wsptr[DCTSIZE*5] = (int) (tmp2 - tmp5);
   6.432 -+    // wsptr[DCTSIZE*4] = (int) (tmp3 + tmp4);
   6.433 -+    // wsptr[DCTSIZE*3] = (int) (tmp3 - tmp4);
   6.434 -+
   6.435 -+    add   r0, r0, r7
   6.436 -+    sub   r7, r0, r7, lsl #1
   6.437 -+    add   r1, r1, r6
   6.438 -+    sub   r6, r1, r6, lsl #1
   6.439 -+    add   r2, r2, r5
   6.440 -+    sub   r5, r2, r5, lsl #1
   6.441 -+    sub   r3, r3, r4
   6.442 -+    add   r4, r3, r4, lsl #1
   6.443 -+
   6.444 -+    str   r0, [ip, #QY(0)]
   6.445 -+    str   r1, [ip, #QY(1)]
   6.446 -+    str   r2, [ip, #QY(2)]
   6.447 -+    str   r3, [ip, #QY(3)]
   6.448 -+    str   r4, [ip, #QY(4)]
   6.449 -+    str   r5, [ip, #QY(5)]
   6.450 -+    str   r6, [ip, #QY(6)]
   6.451 -+    str   r7, [ip, #QY(7)]
   6.452 -+
   6.453 -+    // inptr++;                    /* advance pointers to next column */
   6.454 -+    // quantptr++;
   6.455 -+    // wsptr++;
   6.456 -+    add  fp, fp, #2
   6.457 -+    add  r10, r10, #4
   6.458 -+    add  ip, ip, #4
   6.459 -+    add  r0, sp, #(off_WORKSPACE + 4*8)
   6.460 -+    cmp  ip, r0
   6.461 -+    bne  VLoopTail
   6.462 -+
   6.463 -+
   6.464 -+
   6.465 -+HLoopStart:
   6.466 -+    // reset pointers
   6.467 -+    PLD     [sp, #off_WORKSPACE]
   6.468 -+    add     ip, sp, #off_WORKSPACE
   6.469 -+    ldr     r10, local_RANGE_TABLE
   6.470 -+
   6.471 -+HLoopTail:
   6.472 -+    // output = *output_buf++ + output_col
   6.473 -+    ldr      r0, local_OUTPUT_BUF
   6.474 -+    ldr      r1, local_OUTPUT_COL
   6.475 -+    ldr      r2, [r0], #4
   6.476 -+    str      r0, local_OUTPUT_BUF
   6.477 -+    add      fp, r2, r1
   6.478 -+
   6.479 -+    PLD      [ip, #32]
   6.480 -+    ldmia    ip!, {r0-r7}
   6.481 -+
   6.482 -+    cmp      r1, #0
   6.483 -+    orreqs   r8, r2, r3
   6.484 -+    orreqs   r8, r4, r5
   6.485 -+    orreqs   r8, r6, r7
   6.486 -+    beq      HLoopTailZero
   6.487 -+
   6.488 -+HLoopHead:
   6.489 -+    // tmp10 = ((DCTELEM) wsptr[0] + (DCTELEM) wsptr[4]);    (r0)
   6.490 -+    // tmp11 = ((DCTELEM) wsptr[0] - (DCTELEM) wsptr[4]);    (r4)
   6.491 -+    add     r0, r0, r4
   6.492 -+    sub     r4, r0, r4, lsl #1
   6.493 -+
   6.494 -+    // tmp13 = ((DCTELEM) wsptr[2] + (DCTELEM) wsptr[6]);                                   (r2)
   6.495 -+    // tmp12 = MULTIPLY((DCTELEM) wsptr[2] - (DCTELEM) wsptr[6], FIX_1_414213562) - tmp13;  (r6)
   6.496 -+    // FIX_... = 360 + 2
   6.497 -+    add     r2, r2, r6
   6.498 -+    sub     r6, r2, r6, lsl #1
   6.499 -+    mov     r8, #360
   6.500 -+    add     r8, r8, #2
   6.501 -+    mul     r6, r8, r6
   6.502 -+
   6.503 -+    // tmp0 = tmp10 + tmp13;   (r0)
   6.504 -+    // tmp3 = tmp10 - tmp13;   (r8)
   6.505 -+    // tmp1 = tmp11 + tmp12;   (r4)
   6.506 -+    // tmp2 = tmp11 - tmp12;   (r6)
   6.507 -+    add     r0, r0, r2
   6.508 -+    rsb     r6, r2, r6, asr #8
   6.509 -+    sub     r8, r0, r2, lsl #1
   6.510 -+    add     r4, r4, r6
   6.511 -+    sub     r6, r4, r6, lsl #1
   6.512 -+
   6.513 -+    stmia   local_TMP0123, {r0, r4, r6, r8}
   6.514 -+
   6.515 -+    // Odd part
   6.516 -+
   6.517 -+    // z13 = (DCTELEM) wsptr[5] + (DCTELEM) wsptr[3];  (r0)
   6.518 -+    // z10 = (DCTELEM) wsptr[5] - (DCTELEM) wsptr[3];  (r2)
   6.519 -+    // z11 = (DCTELEM) wsptr[1] + (DCTELEM) wsptr[7];  (r4)
   6.520 -+    // z12 = (DCTELEM) wsptr[1] - (DCTELEM) wsptr[7];  (r6)
   6.521 -+    add  r0, r5, r3
   6.522 -+    sub  r2, r5, r3
   6.523 -+    add  r4, r1, r7
   6.524 -+    sub  r6, r1, r7
   6.525 -+
   6.526 -+    // tmp7 = z11 + z13;                             (r7)
   6.527 -+    // tmp11 = MULTIPLY(z11 - z13, FIX_1_414213562); (r1)
   6.528 -+    // FIX_... = 360 + 2
   6.529 -+    add   r7, r4, r0
   6.530 -+    sub   r1, r4, r0
   6.531 -+    mov   r8, #360
   6.532 -+    add   r8, r8, #2
   6.533 -+    mul   r1, r8, r1
   6.534 -+
   6.535 -+    // z5 = MULTIPLY(z10 + z12, FIX_1_847759065);        (r8)
   6.536 -+    // tmp10 = MULTIPLY(z12, FIX_1_082392200) - z5;      (r0)
   6.537 -+    // tmp12 = MULTIPLY(z10, - FIX_2_613125930) + z5;    (r2)
   6.538 -+    // FIX_1_8477... = 473 = 472 + 1
   6.539 -+    // FIX_1_082...  = 277 = 276 + 1
   6.540 -+    // FIX_2_...     = 669 = 668 + 1
   6.541 -+    add  r8, r2, r6
   6.542 -+    mov  r9, #472
   6.543 -+    mla  r8, r9, r8, r8
   6.544 -+    mov  r9, #276
   6.545 -+    mla  r0, r6, r9, r6
   6.546 -+    mov  r9, #668
   6.547 -+    mla  r2, r9, r2, r2
   6.548 -+    sub  r0, r0, r8
   6.549 -+    sub  r2, r8, r2
   6.550 -+
   6.551 -+    // tmp6 = tmp12 - tmp7;  (r6)
   6.552 -+    // tmp5 = tmp11 - tmp6;  (r5)
   6.553 -+    // tmp4 = tmp10 + tmp5;  (r4)
   6.554 -+    rsb  r6, r7, r2, asr #8
   6.555 -+    rsb  r5, r6, r1, asr #8
   6.556 -+    add  r4, r5, r0, asr #8
   6.557 -+
   6.558 -+    ldmia local_TMP0123, {r0, r1, r2, r3}
   6.559 -+
   6.560 -+    // outptr[0] = range_limit[IDESCALE(tmp0 + tmp7, PASS1_BITS+3) & RANGE_MASK];
   6.561 -+    // outptr[7] = range_limit[IDESCALE(tmp0 - tmp7, PASS1_BITS+3) & RANGE_MASK];
   6.562 -+    // outptr[1] = range_limit[IDESCALE(tmp1 + tmp6, PASS1_BITS+3) & RANGE_MASK];
   6.563 -+    // outptr[6] = range_limit[IDESCALE(tmp1 - tmp6, PASS1_BITS+3) & RANGE_MASK];
   6.564 -+    // outptr[2] = range_limit[IDESCALE(tmp2 + tmp5, PASS1_BITS+3) & RANGE_MASK];
   6.565 -+    // outptr[5] = range_limit[IDESCALE(tmp2 - tmp5, PASS1_BITS+3) & RANGE_MASK];
   6.566 -+    // outptr[4] = range_limit[IDESCALE(tmp3 + tmp4, PASS1_BITS+3) & RANGE_MASK];
   6.567 -+    // outptr[3] = range_limit[IDESCALE(tmp3 - tmp4, PASS1_BITS+3) & RANGE_MASK];
   6.568 -+
   6.569 -+    mov    r8, #128
   6.570 -+    add    r0, r0, r7
   6.571 -+    sub    r7, r0, r7, lsl #1
   6.572 -+    add    r0, r8, r0, asr #5
   6.573 -+    add    r7, r8, r7, asr #5
   6.574 -+    add    r1, r1, r6
   6.575 -+    sub    r6, r1, r6, lsl #1
   6.576 -+    add    r1, r8, r1, asr #5
   6.577 -+    add    r6, r8, r6, asr #5
   6.578 -+    add    r2, r2, r5
   6.579 -+    sub    r5, r2, r5, lsl #1
   6.580 -+    add    r2, r8, r2, asr #5
   6.581 -+    add    r5, r8, r5, asr #5
   6.582 -+    sub    r3, r3, r4
   6.583 -+    add    r4, r3, r4, lsl #1
   6.584 -+    add    r3, r8, r3, asr #5
   6.585 -+    add    r4, r8, r4, asr #5
   6.586 -+
   6.587 -+#if __ARM_ARCH__ >= 6
   6.588 -+    usat   r0, #8, r0
   6.589 -+    usat   r1, #8, r1
   6.590 -+    usat   r2, #8, r2
   6.591 -+    usat   r3, #8, r3
   6.592 -+    usat   r4, #8, r4
   6.593 -+    usat   r5, #8, r5
   6.594 -+    usat   r6, #8, r6
   6.595 -+    usat   r7, #8, r7
   6.596 -+#else
   6.597 -+    cmp    r0, #255
   6.598 -+    mvnhi  r0, r0, asr #31
   6.599 -+    andhi  r0, #255
   6.600 -+    cmp    r7, #255
   6.601 -+    mvnhi  r7, r7, asr #31
   6.602 -+    cmp    r1, #255
   6.603 -+    mvnhi  r1, r1, asr #31
   6.604 -+    andhi  r1, #255
   6.605 -+    cmp    r6, #255
   6.606 -+    mvnhi  r6, r6, asr #31
   6.607 -+    andhi  r6, #255
   6.608 -+    cmp    r2, #255
   6.609 -+    mvnhi  r2, r2, asr #31
   6.610 -+    andhi  r2, #255
   6.611 -+    cmp    r5, #255
   6.612 -+    mvnhi  r5, r5, asr #31
   6.613 -+    andhi  r5, #255
   6.614 -+    cmp    r3, #255
   6.615 -+    mvnhi  r3, r3, asr #31
   6.616 -+    cmp    r4, #255
   6.617 -+    mvnhi  r4, r4, asr #31
   6.618 -+    andhi  r4, #255
   6.619 -+#endif
   6.620 -+
   6.621 -+    // r3 r2 r1 r0
   6.622 -+    orr    r0, r0, r1, lsl #8
   6.623 -+    orr    r0, r0, r2, lsl #16
   6.624 -+    orr    r0, r0, r3, lsl #24
   6.625 -+
   6.626 -+    // r7 r6 r5 r4
   6.627 -+    orr    r1, r4, r5, lsl #8
   6.628 -+    orr    r1, r1, r6, lsl #16
   6.629 -+    orr    r1, r1, r7, lsl #24
   6.630 -+    stmia  fp, {r0, r1}
   6.631 -+
   6.632 -+    add    r0, sp, #(off_WORKSPACE + 8*8*4)
   6.633 -+    cmp    ip, r0
   6.634 -+    bne    HLoopTail
   6.635 -+
   6.636 -+Exit:
   6.637 -+    add    sp, sp, #local_SIZE
   6.638 -+    ldmia  sp!, {r4,r5, r6,r7, r8,r9, r10,r11, r12,lr}
   6.639 -+    bx     lr
   6.640 -+
   6.641 -+
   6.642 -+VLoopHeadZero:
   6.643 -+// ok, all AC coefficients are 0
   6.644 -+    ldr      r1, [r10, #QY(0)]
   6.645 -+    add      fp, fp, #2
   6.646 -+    add      r10, r10, #4
   6.647 -+    mul      r0, r1, r0
   6.648 -+    str      r0, [ip, #QY(0)]
   6.649 -+    str      r0, [ip, #QY(1)]
   6.650 -+    str      r0, [ip, #QY(2)]
   6.651 -+    str      r0, [ip, #QY(3)]
   6.652 -+    str      r0, [ip, #QY(4)]
   6.653 -+    str      r0, [ip, #QY(5)]
   6.654 -+    str      r0, [ip, #QY(6)]
   6.655 -+    str      r0, [ip, #QY(7)]
   6.656 -+    add      ip, ip, #4
   6.657 -+    add      r0, sp, #(off_WORKSPACE + 4*8)
   6.658 -+    cmp      ip, r0
   6.659 -+    beq      HLoopStart
   6.660 -+    b        VLoopTail
   6.661 -+
   6.662 -+HLoopTailZero:
   6.663 -+    mov      r0, r0, asr #5
   6.664 -+    add      r0, #128
   6.665 -+
   6.666 -+#if __ARM_ARCH__ >= 6
   6.667 -+    usat     r0, #8, r0
   6.668 -+#else
   6.669 -+    cmp      r0, #255
   6.670 -+    mvnhi    r0, r0, asr #31
   6.671 -+    andhi    r0, r0, #255
   6.672 -+#endif
   6.673 -+
   6.674 -+    orr      r0, r0, lsl #8
   6.675 -+    orr      r0, r0, lsl #16
   6.676 -+    mov      r1, r0
   6.677 -+    stmia    fp, {r0, r1}
   6.678 -+
   6.679 -+    add      r0, sp, #(off_WORKSPACE + 64*4)
   6.680 -+    cmp      ip, r0
   6.681 -+    beq      Exit
   6.682 -+    b        HLoopTail
   6.683 -+
   6.684 -+    .endfunc
   6.685 -diff -ruN jpeg-9b.orig/jmem-android.c jpeg-9b/jmem-android.c
   6.686 ---- jpeg-9b.orig/jmem-android.c	1969-12-31 16:00:00.000000000 -0800
   6.687 -+++ jpeg-9b/jmem-android.c	2017-10-22 10:55:55.833170261 -0700
   6.688 -@@ -0,0 +1,187 @@
   6.689 -+/*
   6.690 -+ * Copyright (C) 2007-2008 The Android Open Source Project
   6.691 -+ *
   6.692 -+ * Licensed under the Apache License, Version 2.0 (the "License");
   6.693 -+ * you may not use this file except in compliance with the License.
   6.694 -+ * You may obtain a copy of the License at
   6.695 -+ *
   6.696 -+ *      http://www.apache.org/licenses/LICENSE-2.0
   6.697 -+ *
   6.698 -+ * Unless required by applicable law or agreed to in writing, software
   6.699 -+ * distributed under the License is distributed on an "AS IS" BASIS,
   6.700 -+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   6.701 -+ * See the License for the specific language governing permissions and
   6.702 -+ * limitations under the License.
   6.703 -+ */
   6.704 -+
   6.705 -+#define JPEG_INTERNALS
   6.706 -+#include "jinclude.h"
   6.707 -+#include "jpeglib.h"
   6.708 -+#include "jmemsys.h"		/* import the system-dependent declarations */
   6.709 -+#include <unistd.h>         /* For unlink() and getpid() */
   6.710 -+
   6.711 -+#ifndef HAVE_STDLIB_H		/* <stdlib.h> should declare malloc(),free() */
   6.712 -+extern void * malloc JPP((size_t size));
   6.713 -+extern void free JPP((void *ptr));
   6.714 -+#endif
   6.715 -+
   6.716 -+#ifndef SEEK_SET		/* pre-ANSI systems may not define this; */
   6.717 -+#define SEEK_SET  0		/* if not, assume 0 is correct */
   6.718 -+#endif
   6.719 -+
   6.720 -+
   6.721 -+/*
   6.722 -+ * Memory allocation and freeing are controlled by the regular library
   6.723 -+ * routines malloc() and free().
   6.724 -+ */
   6.725 -+
   6.726 -+GLOBAL(void *)
   6.727 -+jpeg_get_small (j_common_ptr cinfo, size_t sizeofobject)
   6.728 -+{
   6.729 -+  return (void *) malloc(sizeofobject);
   6.730 -+}
   6.731 -+
   6.732 -+GLOBAL(void)
   6.733 -+jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject)
   6.734 -+{
   6.735 -+  free(object);
   6.736 -+}
   6.737 -+
   6.738 -+
   6.739 -+/*
   6.740 -+ * "Large" objects are treated the same as "small" ones.
   6.741 -+ * NB: although we include FAR keywords in the routine declarations,
   6.742 -+ * this file won't actually work in 80x86 small/medium model; at least,
   6.743 -+ * you probably won't be able to process useful-size images in only 64KB.
   6.744 -+ */
   6.745 -+
   6.746 -+GLOBAL(void FAR *)
   6.747 -+jpeg_get_large (j_common_ptr cinfo, size_t sizeofobject)
   6.748 -+{
   6.749 -+  return (void FAR *) malloc(sizeofobject);
   6.750 -+}
   6.751 -+
   6.752 -+GLOBAL(void)
   6.753 -+jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject)
   6.754 -+{
   6.755 -+  free(object);
   6.756 -+}
   6.757 -+
   6.758 -+
   6.759 -+/*
   6.760 -+ * This routine computes the total memory space available for allocation.
   6.761 -+ * It's impossible to do this in a portable way; our current solution is
   6.762 -+ * to make the user tell us (with a default value set at compile time).
   6.763 -+ * If you can actually get the available space, it's a good idea to subtract
   6.764 -+ * a slop factor of 5% or so.
   6.765 -+ */
   6.766 -+
   6.767 -+#ifndef DEFAULT_MAX_MEM		/* so can override from makefile */
   6.768 -+#define DEFAULT_MAX_MEM		10000000L /* default: ten megabyte */
   6.769 -+#endif
   6.770 -+
   6.771 -+GLOBAL(long)
   6.772 -+jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed,
   6.773 -+		    long max_bytes_needed, long already_allocated)
   6.774 -+{
   6.775 -+  return cinfo->mem->max_memory_to_use - already_allocated;
   6.776 -+}
   6.777 -+
   6.778 -+
   6.779 -+/*
   6.780 -+ * Backing store (temporary file) management.
   6.781 -+ * Backing store objects are only used when the value returned by
   6.782 -+ * jpeg_mem_available is less than the total space needed.  You can dispense
   6.783 -+ * with these routines if you have plenty of virtual memory; see jmemnobs.c.
   6.784 -+ */
   6.785 -+
   6.786 -+
   6.787 -+METHODDEF(void)
   6.788 -+read_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   6.789 -+		    void FAR * buffer_address,
   6.790 -+		    long file_offset, long byte_count)
   6.791 -+{
   6.792 -+  if (fseek(info->temp_file, file_offset, SEEK_SET))
   6.793 -+    ERREXIT(cinfo, JERR_TFILE_SEEK);
   6.794 -+  if (JFREAD(info->temp_file, buffer_address, byte_count)
   6.795 -+      != (size_t) byte_count)
   6.796 -+    ERREXIT(cinfo, JERR_TFILE_READ);
   6.797 -+}
   6.798 -+
   6.799 -+
   6.800 -+METHODDEF(void)
   6.801 -+write_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   6.802 -+		     void FAR * buffer_address,
   6.803 -+		     long file_offset, long byte_count)
   6.804 -+{
   6.805 -+  if (fseek(info->temp_file, file_offset, SEEK_SET))
   6.806 -+    ERREXIT(cinfo, JERR_TFILE_SEEK);
   6.807 -+  if (JFWRITE(info->temp_file, buffer_address, byte_count)
   6.808 -+      != (size_t) byte_count)
   6.809 -+    ERREXIT(cinfo, JERR_TFILE_WRITE);
   6.810 -+}
   6.811 -+
   6.812 -+
   6.813 -+METHODDEF(void)
   6.814 -+close_backing_store (j_common_ptr cinfo, backing_store_ptr info)
   6.815 -+{
   6.816 -+  fclose(info->temp_file);
   6.817 -+  /* Since this implementation uses tmpfile() to create the file,
   6.818 -+   * no explicit file deletion is needed.
   6.819 -+   */
   6.820 -+}
   6.821 -+
   6.822 -+static FILE* getTempFileFromPath(const char * path) {
   6.823 -+    FILE * fd = fopen(path, "w+");
   6.824 -+    unlink(path);
   6.825 -+    return fd;
   6.826 -+}
   6.827 -+
   6.828 -+static FILE* getTempFile() {
   6.829 -+    char path[1024];
   6.830 -+    snprintf(path, 1023, "/sdcard/.%d.tmp", getpid());
   6.831 -+    FILE * fd = getTempFileFromPath(path);
   6.832 -+    if (fd == NULL) {
   6.833 -+        // anywhere else we can create a temp file?
   6.834 -+		//	    snprintf(path, 1023, "/data/data/.%d.tmp", getpid());
   6.835 -+		//      fd = getTempFileFromPath(path);
   6.836 -+    }
   6.837 -+    return fd;
   6.838 -+}
   6.839 -+
   6.840 -+/*
   6.841 -+ * Initial opening of a backing-store object.
   6.842 -+ *
   6.843 -+ * This version uses tmpfile(), which constructs a suitable file name
   6.844 -+ * behind the scenes.  We don't have to use info->temp_name[] at all;
   6.845 -+ * indeed, we can't even find out the actual name of the temp file.
   6.846 -+ */
   6.847 -+
   6.848 -+GLOBAL(void)
   6.849 -+jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info,
   6.850 -+			 long total_bytes_needed)
   6.851 -+{
   6.852 -+  if ((info->temp_file = getTempFile()) == NULL)
   6.853 -+    ERREXITS(cinfo, JERR_TFILE_CREATE, "");
   6.854 -+  info->read_backing_store = read_backing_store;
   6.855 -+  info->write_backing_store = write_backing_store;
   6.856 -+  info->close_backing_store = close_backing_store;
   6.857 -+}
   6.858 -+
   6.859 -+
   6.860 -+/*
   6.861 -+ * These routines take care of any system-dependent initialization and
   6.862 -+ * cleanup required.
   6.863 -+ */
   6.864 -+
   6.865 -+GLOBAL(long)
   6.866 -+jpeg_mem_init (j_common_ptr cinfo)
   6.867 -+{
   6.868 -+  return DEFAULT_MAX_MEM;	/* default for max_memory_to_use */
   6.869 -+}
   6.870 -+
   6.871 -+GLOBAL(void)
   6.872 -+jpeg_mem_term (j_common_ptr cinfo)
   6.873 -+{
   6.874 -+  /* no work */
   6.875 -+}
     7.1 --- a/external/jpeg-9b/Android.mk	Fri Nov 08 23:00:56 2019 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,37 +0,0 @@
     7.4 -LOCAL_PATH:= $(call my-dir)
     7.5 -include $(CLEAR_VARS)
     7.6 -
     7.7 -LOCAL_ARM_MODE := arm
     7.8 -
     7.9 -LOCAL_SRC_FILES := \
    7.10 -    jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
    7.11 -    jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
    7.12 -    jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
    7.13 -    jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
    7.14 -    jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
    7.15 -    jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
    7.16 -    jfdctfst.c jfdctint.c jidctflt.c jquant1.c \
    7.17 -    jquant2.c jutils.c jmemmgr.c \
    7.18 -	jmem-android.c
    7.19 -
    7.20 -# the assembler is only for the ARM version, don't break the Linux sim
    7.21 -ifneq ($(TARGET_ARCH),arm)
    7.22 -ANDROID_JPEG_NO_ASSEMBLER := true
    7.23 -endif
    7.24 -
    7.25 -# temp fix until we understand why this broke cnn.com
    7.26 -ANDROID_JPEG_NO_ASSEMBLER := true
    7.27 -
    7.28 -ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true)
    7.29 -LOCAL_SRC_FILES += jidctint.c jidctfst.c
    7.30 -else
    7.31 -LOCAL_SRC_FILES += jidctint.c jidctfst.S
    7.32 -endif
    7.33 -
    7.34 -LOCAL_CFLAGS += -DAVOID_TABLES 
    7.35 -LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
    7.36 -#LOCAL_CFLAGS += -march=armv6j
    7.37 -
    7.38 -LOCAL_MODULE:= jpeg
    7.39 -
    7.40 -include $(BUILD_STATIC_LIBRARY)
     8.1 --- a/external/jpeg-9b/CMakeLists.txt	Fri Nov 08 23:00:56 2019 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,24 +0,0 @@
     8.4 -cmake_minimum_required(VERSION 3.3.2)
     8.5 -project(jpeg C)
     8.6 -
     8.7 -add_library(jpeg SHARED)
     8.8 -target_sources(jpeg PRIVATE
     8.9 -		jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c
    8.10 -		jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c
    8.11 -		jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c
    8.12 -		jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c
    8.13 -		jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c
    8.14 -		jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c
    8.15 -		jfdctfst.c jfdctint.c jidctflt.c jquant1.c
    8.16 -		jquant2.c jutils.c jmemmgr.c
    8.17 -		jmem-android.c)
    8.18 -
    8.19 -
    8.20 -target_sources(jpeg PRIVATE jidctint.c jidctfst.c)
    8.21 -
    8.22 -# FIXME : include asm for ARM
    8.23 -# target_sources(jpeg PRIVATE jidctint.c jidctfst.S)
    8.24 -
    8.25 -target_compile_definitions(jpeg PRIVATE -DAVOID_TABLES)
    8.26 -
    8.27 -target_include_directories(jpeg PUBLIC .)
     9.1 --- a/external/jpeg-9b/Makefile.am	Fri Nov 08 23:00:56 2019 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,134 +0,0 @@
     9.4 -## Process this file with automake to produce Makefile.in
     9.5 -#
     9.6 -#  Automake Makefile for the JPEG library
     9.7 -#
     9.8 -#  This file is written by Bob Friesenhahn, Guido Vollbeding
     9.9 -#
    9.10 -
    9.11 -# Sources to build library
    9.12 -LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
    9.13 -        jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
    9.14 -        jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
    9.15 -        jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
    9.16 -        jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
    9.17 -        jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
    9.18 -        jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
    9.19 -        jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c
    9.20 -
    9.21 -# System dependent sources
    9.22 -SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
    9.23 -
    9.24 -# Headers which are installed to support the library
    9.25 -INSTINCLUDES  = jerror.h jmorecfg.h jpeglib.h
    9.26 -
    9.27 -# Headers which are not installed
    9.28 -OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \
    9.29 -        jversion.h transupp.h
    9.30 -
    9.31 -# Manual pages (Automake uses 'MANS' for itself)
    9.32 -DISTMANS= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
    9.33 -
    9.34 -# Other documentation files
    9.35 -DOCS= README install.txt usage.txt wizard.txt example.c libjpeg.txt \
    9.36 -        structure.txt coderules.txt filelist.txt change.log
    9.37 -
    9.38 -# Makefiles for various systems
    9.39 -MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.b32 \
    9.40 -        makefile.bcc makefile.mc6 makefile.dj makefile.wat makefile.vc \
    9.41 -        makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 \
    9.42 -        makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 \
    9.43 -        makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 \
    9.44 -        makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 \
    9.45 -        makejsln.v10 makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 \
    9.46 -        makecfil.v10 makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 \
    9.47 -        makervcx.v10 makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac \
    9.48 -        makcjpeg.st makdjpeg.st makljpeg.st maktjpeg.st makefile.manx \
    9.49 -        makefile.sas makefile.mms makefile.vms makvms.opt
    9.50 -
    9.51 -# Configuration files
    9.52 -CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
    9.53 -        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
    9.54 -        jconfig.vms
    9.55 -
    9.56 -# Support scripts for configure
    9.57 -CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp \
    9.58 -        missing ar-lib
    9.59 -
    9.60 -# Miscellaneous support files
    9.61 -OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map
    9.62 -
    9.63 -# Test support files
    9.64 -TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
    9.65 -        testimgp.jpg
    9.66 -
    9.67 -# libtool libraries to build
    9.68 -lib_LTLIBRARIES = libjpeg.la
    9.69 -
    9.70 -# Library sources for libjpeg.la
    9.71 -libjpeg_la_SOURCES = $(LIBSOURCES)
    9.72 -
    9.73 -# LDFLAGS for libjpeg.la
    9.74 -libjpeg_la_LDFLAGS = -no-undefined \
    9.75 -        -version-info $(JPEG_LIB_VERSION)
    9.76 -
    9.77 -if HAVE_LD_VERSION_SCRIPT
    9.78 -  libjpeg_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libjpeg.map
    9.79 -endif
    9.80 -
    9.81 -# Executables to build
    9.82 -bin_PROGRAMS = cjpeg djpeg jpegtran rdjpgcom wrjpgcom
    9.83 -
    9.84 -# Executable sources & libs
    9.85 -cjpeg_SOURCES    = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \
    9.86 -        rdswitch.c cdjpeg.c
    9.87 -cjpeg_LDADD      = libjpeg.la
    9.88 -djpeg_SOURCES    = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \
    9.89 -        rdcolmap.c cdjpeg.c
    9.90 -djpeg_LDADD      = libjpeg.la
    9.91 -jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c
    9.92 -jpegtran_LDADD   = libjpeg.la
    9.93 -rdjpgcom_SOURCES = rdjpgcom.c
    9.94 -wrjpgcom_SOURCES = wrjpgcom.c
    9.95 -
    9.96 -# Manual pages to install
    9.97 -man_MANS = $(DISTMANS)
    9.98 -
    9.99 -# Headers to install
   9.100 -include_HEADERS = $(INSTINCLUDES)
   9.101 -
   9.102 -# Other distributed headers
   9.103 -noinst_HEADERS = $(OTHERINCLUDES)
   9.104 -
   9.105 -# Other distributed files
   9.106 -EXTRA_DIST =  $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \
   9.107 -        $(OTHERFILES) $(TESTFILES)
   9.108 -
   9.109 -# Files to be cleaned
   9.110 -CLEANFILES = testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg \
   9.111 -        testoutt.jpg
   9.112 -
   9.113 -# Install jconfig.h
   9.114 -install-data-local:
   9.115 -	$(mkinstalldirs) $(DESTDIR)$(includedir)
   9.116 -	$(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
   9.117 -
   9.118 -# Uninstall jconfig.h
   9.119 -uninstall-local:
   9.120 -	rm -f $(DESTDIR)$(includedir)/jconfig.h
   9.121 -
   9.122 -# Run tests
   9.123 -test: check-local
   9.124 -check-local:
   9.125 -	rm -f testout*
   9.126 -	./djpeg -dct int -ppm -outfile testout.ppm  $(srcdir)/testorig.jpg
   9.127 -	./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  $(srcdir)/testorig.jpg
   9.128 -	./cjpeg -dct int -outfile testout.jpg  $(srcdir)/testimg.ppm
   9.129 -	./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
   9.130 -	./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
   9.131 -	./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
   9.132 -	cmp $(srcdir)/testimg.ppm testout.ppm
   9.133 -	cmp $(srcdir)/testimg.bmp testout.bmp
   9.134 -	cmp $(srcdir)/testimg.jpg testout.jpg
   9.135 -	cmp $(srcdir)/testimg.ppm testoutp.ppm
   9.136 -	cmp $(srcdir)/testimgp.jpg testoutp.jpg
   9.137 -	cmp $(srcdir)/testorig.jpg testoutt.jpg
    10.1 --- a/external/jpeg-9b/Makefile.in	Fri Nov 08 23:00:56 2019 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,1039 +0,0 @@
    10.4 -# Makefile.in generated by automake 1.15 from Makefile.am.
    10.5 -# @configure_input@
    10.6 -
    10.7 -# Copyright (C) 1994-2014 Free Software Foundation, Inc.
    10.8 -
    10.9 -# This Makefile.in is free software; the Free Software Foundation
   10.10 -# gives unlimited permission to copy and/or distribute it,
   10.11 -# with or without modifications, as long as this notice is preserved.
   10.12 -
   10.13 -# This program is distributed in the hope that it will be useful,
   10.14 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   10.15 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   10.16 -# PARTICULAR PURPOSE.
   10.17 -
   10.18 -@SET_MAKE@
   10.19 -
   10.20 -#
   10.21 -#  Automake Makefile for the JPEG library
   10.22 -#
   10.23 -#  This file is written by Bob Friesenhahn, Guido Vollbeding
   10.24 -#
   10.25 -
   10.26 -
   10.27 -
   10.28 -VPATH = @srcdir@
   10.29 -am__is_gnu_make = { \
   10.30 -  if test -z '$(MAKELEVEL)'; then \
   10.31 -    false; \
   10.32 -  elif test -n '$(MAKE_HOST)'; then \
   10.33 -    true; \
   10.34 -  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
   10.35 -    true; \
   10.36 -  else \
   10.37 -    false; \
   10.38 -  fi; \
   10.39 -}
   10.40 -am__make_running_with_option = \
   10.41 -  case $${target_option-} in \
   10.42 -      ?) ;; \
   10.43 -      *) echo "am__make_running_with_option: internal error: invalid" \
   10.44 -              "target option '$${target_option-}' specified" >&2; \
   10.45 -         exit 1;; \
   10.46 -  esac; \
   10.47 -  has_opt=no; \
   10.48 -  sane_makeflags=$$MAKEFLAGS; \
   10.49 -  if $(am__is_gnu_make); then \
   10.50 -    sane_makeflags=$$MFLAGS; \
   10.51 -  else \
   10.52 -    case $$MAKEFLAGS in \
   10.53 -      *\\[\ \	]*) \
   10.54 -        bs=\\; \
   10.55 -        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
   10.56 -          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
   10.57 -    esac; \
   10.58 -  fi; \
   10.59 -  skip_next=no; \
   10.60 -  strip_trailopt () \
   10.61 -  { \
   10.62 -    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
   10.63 -  }; \
   10.64 -  for flg in $$sane_makeflags; do \
   10.65 -    test $$skip_next = yes && { skip_next=no; continue; }; \
   10.66 -    case $$flg in \
   10.67 -      *=*|--*) continue;; \
   10.68 -        -*I) strip_trailopt 'I'; skip_next=yes;; \
   10.69 -      -*I?*) strip_trailopt 'I';; \
   10.70 -        -*O) strip_trailopt 'O'; skip_next=yes;; \
   10.71 -      -*O?*) strip_trailopt 'O';; \
   10.72 -        -*l) strip_trailopt 'l'; skip_next=yes;; \
   10.73 -      -*l?*) strip_trailopt 'l';; \
   10.74 -      -[dEDm]) skip_next=yes;; \
   10.75 -      -[JT]) skip_next=yes;; \
   10.76 -    esac; \
   10.77 -    case $$flg in \
   10.78 -      *$$target_option*) has_opt=yes; break;; \
   10.79 -    esac; \
   10.80 -  done; \
   10.81 -  test $$has_opt = yes
   10.82 -am__make_dryrun = (target_option=n; $(am__make_running_with_option))
   10.83 -am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
   10.84 -pkgdatadir = $(datadir)/@PACKAGE@
   10.85 -pkgincludedir = $(includedir)/@PACKAGE@
   10.86 -pkglibdir = $(libdir)/@PACKAGE@
   10.87 -pkglibexecdir = $(libexecdir)/@PACKAGE@
   10.88 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
   10.89 -install_sh_DATA = $(install_sh) -c -m 644
   10.90 -install_sh_PROGRAM = $(install_sh) -c
   10.91 -install_sh_SCRIPT = $(install_sh) -c
   10.92 -INSTALL_HEADER = $(INSTALL_DATA)
   10.93 -transform = $(program_transform_name)
   10.94 -NORMAL_INSTALL = :
   10.95 -PRE_INSTALL = :
   10.96 -POST_INSTALL = :
   10.97 -NORMAL_UNINSTALL = :
   10.98 -PRE_UNINSTALL = :
   10.99 -POST_UNINSTALL = :
  10.100 -build_triplet = @build@
  10.101 -host_triplet = @host@
  10.102 -target_triplet = @target@
  10.103 -@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=$(srcdir)/libjpeg.map
  10.104 -bin_PROGRAMS = cjpeg$(EXEEXT) djpeg$(EXEEXT) jpegtran$(EXEEXT) \
  10.105 -	rdjpgcom$(EXEEXT) wrjpgcom$(EXEEXT)
  10.106 -subdir = .
  10.107 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  10.108 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  10.109 -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  10.110 -	$(ACLOCAL_M4)
  10.111 -DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
  10.112 -	$(am__configure_deps) $(include_HEADERS) $(noinst_HEADERS)
  10.113 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  10.114 - configure.lineno config.status.lineno
  10.115 -mkinstalldirs = $(install_sh) -d
  10.116 -CONFIG_HEADER = jconfig.h
  10.117 -CONFIG_CLEAN_FILES =
  10.118 -CONFIG_CLEAN_VPATH_FILES =
  10.119 -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  10.120 -am__vpath_adj = case $$p in \
  10.121 -    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  10.122 -    *) f=$$p;; \
  10.123 -  esac;
  10.124 -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
  10.125 -am__install_max = 40
  10.126 -am__nobase_strip_setup = \
  10.127 -  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
  10.128 -am__nobase_strip = \
  10.129 -  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
  10.130 -am__nobase_list = $(am__nobase_strip_setup); \
  10.131 -  for p in $$list; do echo "$$p $$p"; done | \
  10.132 -  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  10.133 -  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
  10.134 -    if (++n[$$2] == $(am__install_max)) \
  10.135 -      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
  10.136 -    END { for (dir in files) print dir, files[dir] }'
  10.137 -am__base_list = \
  10.138 -  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  10.139 -  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
  10.140 -am__uninstall_files_from_dir = { \
  10.141 -  test -z "$$files" \
  10.142 -    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
  10.143 -    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
  10.144 -         $(am__cd) "$$dir" && rm -f $$files; }; \
  10.145 -  }
  10.146 -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  10.147 -	"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)"
  10.148 -LTLIBRARIES = $(lib_LTLIBRARIES)
  10.149 -libjpeg_la_LIBADD =
  10.150 -am__objects_1 = jaricom.lo jcapimin.lo jcapistd.lo jcarith.lo \
  10.151 -	jccoefct.lo jccolor.lo jcdctmgr.lo jchuff.lo jcinit.lo \
  10.152 -	jcmainct.lo jcmarker.lo jcmaster.lo jcomapi.lo jcparam.lo \
  10.153 -	jcprepct.lo jcsample.lo jctrans.lo jdapimin.lo jdapistd.lo \
  10.154 -	jdarith.lo jdatadst.lo jdatasrc.lo jdcoefct.lo jdcolor.lo \
  10.155 -	jddctmgr.lo jdhuff.lo jdinput.lo jdmainct.lo jdmarker.lo \
  10.156 -	jdmaster.lo jdmerge.lo jdpostct.lo jdsample.lo jdtrans.lo \
  10.157 -	jerror.lo jfdctflt.lo jfdctfst.lo jfdctint.lo jidctflt.lo \
  10.158 -	jidctfst.lo jidctint.lo jquant1.lo jquant2.lo jutils.lo \
  10.159 -	jmemmgr.lo @MEMORYMGR@.lo
  10.160 -am_libjpeg_la_OBJECTS = $(am__objects_1)
  10.161 -libjpeg_la_OBJECTS = $(am_libjpeg_la_OBJECTS)
  10.162 -AM_V_lt = $(am__v_lt_@AM_V@)
  10.163 -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
  10.164 -am__v_lt_0 = --silent
  10.165 -am__v_lt_1 = 
  10.166 -libjpeg_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  10.167 -	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  10.168 -	$(libjpeg_la_LDFLAGS) $(LDFLAGS) -o $@
  10.169 -PROGRAMS = $(bin_PROGRAMS)
  10.170 -am_cjpeg_OBJECTS = cjpeg.$(OBJEXT) rdppm.$(OBJEXT) rdgif.$(OBJEXT) \
  10.171 -	rdtarga.$(OBJEXT) rdrle.$(OBJEXT) rdbmp.$(OBJEXT) \
  10.172 -	rdswitch.$(OBJEXT) cdjpeg.$(OBJEXT)
  10.173 -cjpeg_OBJECTS = $(am_cjpeg_OBJECTS)
  10.174 -cjpeg_DEPENDENCIES = libjpeg.la
  10.175 -am_djpeg_OBJECTS = djpeg.$(OBJEXT) wrppm.$(OBJEXT) wrgif.$(OBJEXT) \
  10.176 -	wrtarga.$(OBJEXT) wrrle.$(OBJEXT) wrbmp.$(OBJEXT) \
  10.177 -	rdcolmap.$(OBJEXT) cdjpeg.$(OBJEXT)
  10.178 -djpeg_OBJECTS = $(am_djpeg_OBJECTS)
  10.179 -djpeg_DEPENDENCIES = libjpeg.la
  10.180 -am_jpegtran_OBJECTS = jpegtran.$(OBJEXT) rdswitch.$(OBJEXT) \
  10.181 -	cdjpeg.$(OBJEXT) transupp.$(OBJEXT)
  10.182 -jpegtran_OBJECTS = $(am_jpegtran_OBJECTS)
  10.183 -jpegtran_DEPENDENCIES = libjpeg.la
  10.184 -am_rdjpgcom_OBJECTS = rdjpgcom.$(OBJEXT)
  10.185 -rdjpgcom_OBJECTS = $(am_rdjpgcom_OBJECTS)
  10.186 -rdjpgcom_LDADD = $(LDADD)
  10.187 -am_wrjpgcom_OBJECTS = wrjpgcom.$(OBJEXT)
  10.188 -wrjpgcom_OBJECTS = $(am_wrjpgcom_OBJECTS)
  10.189 -wrjpgcom_LDADD = $(LDADD)
  10.190 -AM_V_P = $(am__v_P_@AM_V@)
  10.191 -am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  10.192 -am__v_P_0 = false
  10.193 -am__v_P_1 = :
  10.194 -AM_V_GEN = $(am__v_GEN_@AM_V@)
  10.195 -am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  10.196 -am__v_GEN_0 = @echo "  GEN     " $@;
  10.197 -am__v_GEN_1 = 
  10.198 -AM_V_at = $(am__v_at_@AM_V@)
  10.199 -am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  10.200 -am__v_at_0 = @
  10.201 -am__v_at_1 = 
  10.202 -DEFAULT_INCLUDES = -I.@am__isrc@
  10.203 -depcomp = $(SHELL) $(top_srcdir)/depcomp
  10.204 -am__depfiles_maybe = depfiles
  10.205 -am__mv = mv -f
  10.206 -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  10.207 -	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  10.208 -LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  10.209 -	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
  10.210 -	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
  10.211 -	$(AM_CFLAGS) $(CFLAGS)
  10.212 -AM_V_CC = $(am__v_CC_@AM_V@)
  10.213 -am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
  10.214 -am__v_CC_0 = @echo "  CC      " $@;
  10.215 -am__v_CC_1 = 
  10.216 -CCLD = $(CC)
  10.217 -LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
  10.218 -	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  10.219 -	$(AM_LDFLAGS) $(LDFLAGS) -o $@
  10.220 -AM_V_CCLD = $(am__v_CCLD_@AM_V@)
  10.221 -am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
  10.222 -am__v_CCLD_0 = @echo "  CCLD    " $@;
  10.223 -am__v_CCLD_1 = 
  10.224 -SOURCES = $(libjpeg_la_SOURCES) $(cjpeg_SOURCES) $(djpeg_SOURCES) \
  10.225 -	$(jpegtran_SOURCES) $(rdjpgcom_SOURCES) $(wrjpgcom_SOURCES)
  10.226 -am__can_run_installinfo = \
  10.227 -  case $$AM_UPDATE_INFO_DIR in \
  10.228 -    n|no|NO) false;; \
  10.229 -    *) (install-info --version) >/dev/null 2>&1;; \
  10.230 -  esac
  10.231 -man1dir = $(mandir)/man1
  10.232 -NROFF = nroff
  10.233 -MANS = $(man_MANS)
  10.234 -HEADERS = $(include_HEADERS) $(noinst_HEADERS)
  10.235 -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
  10.236 -	$(LISP)jconfig.cfg
  10.237 -# Read a list of newline-separated strings from the standard input,
  10.238 -# and print each of them once, without duplicates.  Input order is
  10.239 -# *not* preserved.
  10.240 -am__uniquify_input = $(AWK) '\
  10.241 -  BEGIN { nonempty = 0; } \
  10.242 -  { items[$$0] = 1; nonempty = 1; } \
  10.243 -  END { if (nonempty) { for (i in items) print i; }; } \
  10.244 -'
  10.245 -# Make sure the list of sources is unique.  This is necessary because,
  10.246 -# e.g., the same source file might be shared among _SOURCES variables
  10.247 -# for different programs/libraries.
  10.248 -am__define_uniq_tagged_files = \
  10.249 -  list='$(am__tagged_files)'; \
  10.250 -  unique=`for i in $$list; do \
  10.251 -    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  10.252 -  done | $(am__uniquify_input)`
  10.253 -ETAGS = etags
  10.254 -CTAGS = ctags
  10.255 -CSCOPE = cscope
  10.256 -AM_RECURSIVE_TARGETS = cscope
  10.257 -ACLOCAL = @ACLOCAL@
  10.258 -AMTAR = @AMTAR@
  10.259 -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  10.260 -AR = @AR@
  10.261 -AS = @AS@
  10.262 -AUTOCONF = @AUTOCONF@
  10.263 -AUTOHEADER = @AUTOHEADER@
  10.264 -AUTOMAKE = @AUTOMAKE@
  10.265 -AWK = @AWK@
  10.266 -CC = @CC@
  10.267 -CCDEPMODE = @CCDEPMODE@
  10.268 -CFLAGS = @CFLAGS@
  10.269 -CPP = @CPP@
  10.270 -CPPFLAGS = @CPPFLAGS@
  10.271 -CYGPATH_W = @CYGPATH_W@
  10.272 -DEFS = @DEFS@
  10.273 -DEPDIR = @DEPDIR@
  10.274 -DLLTOOL = @DLLTOOL@
  10.275 -DSYMUTIL = @DSYMUTIL@
  10.276 -DUMPBIN = @DUMPBIN@
  10.277 -ECHO_C = @ECHO_C@
  10.278 -ECHO_N = @ECHO_N@
  10.279 -ECHO_T = @ECHO_T@
  10.280 -EGREP = @EGREP@
  10.281 -EXEEXT = @EXEEXT@
  10.282 -FGREP = @FGREP@
  10.283 -GREP = @GREP@
  10.284 -INSTALL = @INSTALL@
  10.285 -INSTALL_DATA = @INSTALL_DATA@
  10.286 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
  10.287 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
  10.288 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  10.289 -JPEG_LIB_VERSION = @JPEG_LIB_VERSION@
  10.290 -LD = @LD@
  10.291 -LDFLAGS = @LDFLAGS@
  10.292 -LIBOBJS = @LIBOBJS@
  10.293 -LIBS = @LIBS@
  10.294 -LIBTOOL = @LIBTOOL@
  10.295 -LIPO = @LIPO@
  10.296 -LN_S = @LN_S@
  10.297 -LTLIBOBJS = @LTLIBOBJS@
  10.298 -LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
  10.299 -MAINT = @MAINT@
  10.300 -MAKEINFO = @MAKEINFO@
  10.301 -MANIFEST_TOOL = @MANIFEST_TOOL@
  10.302 -MEMORYMGR = @MEMORYMGR@
  10.303 -MKDIR_P = @MKDIR_P@
  10.304 -NM = @NM@
  10.305 -NMEDIT = @NMEDIT@
  10.306 -OBJDUMP = @OBJDUMP@
  10.307 -OBJEXT = @OBJEXT@
  10.308 -OTOOL = @OTOOL@
  10.309 -OTOOL64 = @OTOOL64@
  10.310 -PACKAGE = @PACKAGE@
  10.311 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  10.312 -PACKAGE_NAME = @PACKAGE_NAME@
  10.313 -PACKAGE_STRING = @PACKAGE_STRING@
  10.314 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
  10.315 -PACKAGE_URL = @PACKAGE_URL@
  10.316 -PACKAGE_VERSION = @PACKAGE_VERSION@
  10.317 -PATH_SEPARATOR = @PATH_SEPARATOR@
  10.318 -RANLIB = @RANLIB@
  10.319 -SED = @SED@
  10.320 -SET_MAKE = @SET_MAKE@
  10.321 -SHELL = @SHELL@
  10.322 -STRIP = @STRIP@
  10.323 -VERSION = @VERSION@
  10.324 -abs_builddir = @abs_builddir@
  10.325 -abs_srcdir = @abs_srcdir@
  10.326 -abs_top_builddir = @abs_top_builddir@
  10.327 -abs_top_srcdir = @abs_top_srcdir@
  10.328 -ac_ct_AR = @ac_ct_AR@
  10.329 -ac_ct_CC = @ac_ct_CC@
  10.330 -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  10.331 -am__include = @am__include@
  10.332 -am__leading_dot = @am__leading_dot@
  10.333 -am__quote = @am__quote@
  10.334 -am__tar = @am__tar@
  10.335 -am__untar = @am__untar@
  10.336 -bindir = @bindir@
  10.337 -build = @build@
  10.338 -build_alias = @build_alias@
  10.339 -build_cpu = @build_cpu@
  10.340 -build_os = @build_os@
  10.341 -build_vendor = @build_vendor@
  10.342 -builddir = @builddir@
  10.343 -datadir = @datadir@
  10.344 -datarootdir = @datarootdir@
  10.345 -docdir = @docdir@
  10.346 -dvidir = @dvidir@
  10.347 -exec_prefix = @exec_prefix@
  10.348 -host = @host@
  10.349 -host_alias = @host_alias@
  10.350 -host_cpu = @host_cpu@
  10.351 -host_os = @host_os@
  10.352 -host_vendor = @host_vendor@
  10.353 -htmldir = @htmldir@
  10.354 -includedir = @includedir@
  10.355 -infodir = @infodir@
  10.356 -install_sh = @install_sh@
  10.357 -libdir = @libdir@
  10.358 -libexecdir = @libexecdir@
  10.359 -localedir = @localedir@
  10.360 -localstatedir = @localstatedir@
  10.361 -mandir = @mandir@
  10.362 -mkdir_p = @mkdir_p@
  10.363 -oldincludedir = @oldincludedir@
  10.364 -pdfdir = @pdfdir@
  10.365 -prefix = @prefix@
  10.366 -program_transform_name = @program_transform_name@
  10.367 -psdir = @psdir@
  10.368 -sbindir = @sbindir@
  10.369 -sharedstatedir = @sharedstatedir@
  10.370 -srcdir = @srcdir@
  10.371 -sysconfdir = @sysconfdir@
  10.372 -target = @target@
  10.373 -target_alias = @target_alias@
  10.374 -target_cpu = @target_cpu@
  10.375 -target_os = @target_os@
  10.376 -target_vendor = @target_vendor@
  10.377 -top_build_prefix = @top_build_prefix@
  10.378 -top_builddir = @top_builddir@
  10.379 -top_srcdir = @top_srcdir@
  10.380 -
  10.381 -# Sources to build library
  10.382 -LIBSOURCES = jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
  10.383 -        jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
  10.384 -        jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
  10.385 -        jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
  10.386 -        jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
  10.387 -        jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
  10.388 -        jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.c jquant1.c \
  10.389 -        jquant2.c jutils.c jmemmgr.c @MEMORYMGR@.c
  10.390 -
  10.391 -
  10.392 -# System dependent sources
  10.393 -SYSDEPSOURCES = jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
  10.394 -
  10.395 -# Headers which are installed to support the library
  10.396 -INSTINCLUDES = jerror.h jmorecfg.h jpeglib.h
  10.397 -
  10.398 -# Headers which are not installed
  10.399 -OTHERINCLUDES = cderror.h cdjpeg.h jdct.h jinclude.h jmemsys.h jpegint.h \
  10.400 -        jversion.h transupp.h
  10.401 -
  10.402 -
  10.403 -# Manual pages (Automake uses 'MANS' for itself)
  10.404 -DISTMANS = cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
  10.405 -
  10.406 -# Other documentation files
  10.407 -DOCS = README install.txt usage.txt wizard.txt example.c libjpeg.txt \
  10.408 -        structure.txt coderules.txt filelist.txt change.log
  10.409 -
  10.410 -
  10.411 -# Makefiles for various systems
  10.412 -MKFILES = configure Makefile.in makefile.ansi makefile.unix makefile.b32 \
  10.413 -        makefile.bcc makefile.mc6 makefile.dj makefile.wat makefile.vc \
  10.414 -        makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 \
  10.415 -        makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 \
  10.416 -        makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 \
  10.417 -        makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 \
  10.418 -        makejsln.v10 makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 \
  10.419 -        makecfil.v10 makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 \
  10.420 -        makervcx.v10 makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac \
  10.421 -        makcjpeg.st makdjpeg.st makljpeg.st maktjpeg.st makefile.manx \
  10.422 -        makefile.sas makefile.mms makefile.vms makvms.opt
  10.423 -
  10.424 -
  10.425 -# Configuration files
  10.426 -CONFIGFILES = jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
  10.427 -        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
  10.428 -        jconfig.vms
  10.429 -
  10.430 -
  10.431 -# Support scripts for configure
  10.432 -CONFIGUREFILES = config.guess config.sub install-sh ltmain.sh depcomp \
  10.433 -        missing ar-lib
  10.434 -
  10.435 -
  10.436 -# Miscellaneous support files
  10.437 -OTHERFILES = jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map
  10.438 -
  10.439 -# Test support files
  10.440 -TESTFILES = testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
  10.441 -        testimgp.jpg
  10.442 -
  10.443 -
  10.444 -# libtool libraries to build
  10.445 -lib_LTLIBRARIES = libjpeg.la
  10.446 -
  10.447 -# Library sources for libjpeg.la
  10.448 -libjpeg_la_SOURCES = $(LIBSOURCES)
  10.449 -
  10.450 -# LDFLAGS for libjpeg.la
  10.451 -libjpeg_la_LDFLAGS = -no-undefined -version-info $(JPEG_LIB_VERSION) \
  10.452 -	$(am__append_1)
  10.453 -
  10.454 -# Executable sources & libs
  10.455 -cjpeg_SOURCES = cjpeg.c rdppm.c rdgif.c rdtarga.c rdrle.c rdbmp.c \
  10.456 -        rdswitch.c cdjpeg.c
  10.457 -
  10.458 -cjpeg_LDADD = libjpeg.la
  10.459 -djpeg_SOURCES = djpeg.c wrppm.c wrgif.c wrtarga.c wrrle.c wrbmp.c \
  10.460 -        rdcolmap.c cdjpeg.c
  10.461 -
  10.462 -djpeg_LDADD = libjpeg.la
  10.463 -jpegtran_SOURCES = jpegtran.c rdswitch.c cdjpeg.c transupp.c
  10.464 -jpegtran_LDADD = libjpeg.la
  10.465 -rdjpgcom_SOURCES = rdjpgcom.c
  10.466 -wrjpgcom_SOURCES = wrjpgcom.c
  10.467 -
  10.468 -# Manual pages to install
  10.469 -man_MANS = $(DISTMANS)
  10.470 -
  10.471 -# Headers to install
  10.472 -include_HEADERS = $(INSTINCLUDES)
  10.473 -
  10.474 -# Other distributed headers
  10.475 -noinst_HEADERS = $(OTHERINCLUDES)
  10.476 -
  10.477 -# Other distributed files
  10.478 -EXTRA_DIST = $(DOCS) $(DISTMANS) $(MKFILES) $(CONFIGFILES) $(SYSDEPSOURCES) \
  10.479 -        $(OTHERFILES) $(TESTFILES)
  10.480 -
  10.481 -
  10.482 -# Files to be cleaned
  10.483 -CLEANFILES = testout.ppm testout.bmp testout.jpg testoutp.ppm testoutp.jpg \
  10.484 -        testoutt.jpg
  10.485 -
  10.486 -all: jconfig.h
  10.487 -	$(MAKE) $(AM_MAKEFLAGS) all-am
  10.488 -
  10.489 -.SUFFIXES:
  10.490 -.SUFFIXES: .c .lo .o .obj
  10.491 -am--refresh: Makefile
  10.492 -	@:
  10.493 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
  10.494 -	@for dep in $?; do \
  10.495 -	  case '$(am__configure_deps)' in \
  10.496 -	    *$$dep*) \
  10.497 -	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  10.498 -	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  10.499 -		&& exit 0; \
  10.500 -	      exit 1;; \
  10.501 -	  esac; \
  10.502 -	done; \
  10.503 -	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  10.504 -	$(am__cd) $(top_srcdir) && \
  10.505 -	  $(AUTOMAKE) --foreign Makefile
  10.506 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  10.507 -	@case '$?' in \
  10.508 -	  *config.status*) \
  10.509 -	    echo ' $(SHELL) ./config.status'; \
  10.510 -	    $(SHELL) ./config.status;; \
  10.511 -	  *) \
  10.512 -	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  10.513 -	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  10.514 -	esac;
  10.515 -
  10.516 -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  10.517 -	$(SHELL) ./config.status --recheck
  10.518 -
  10.519 -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  10.520 -	$(am__cd) $(srcdir) && $(AUTOCONF)
  10.521 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  10.522 -	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  10.523 -$(am__aclocal_m4_deps):
  10.524 -
  10.525 -jconfig.h: stamp-h1
  10.526 -	@test -f $@ || rm -f stamp-h1
  10.527 -	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
  10.528 -
  10.529 -stamp-h1: $(srcdir)/jconfig.cfg $(top_builddir)/config.status
  10.530 -	@rm -f stamp-h1
  10.531 -	cd $(top_builddir) && $(SHELL) ./config.status jconfig.h
  10.532 -$(srcdir)/jconfig.cfg: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
  10.533 -	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
  10.534 -	rm -f stamp-h1
  10.535 -	touch $@
  10.536 -
  10.537 -distclean-hdr:
  10.538 -	-rm -f jconfig.h stamp-h1
  10.539 -
  10.540 -install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  10.541 -	@$(NORMAL_INSTALL)
  10.542 -	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  10.543 -	list2=; for p in $$list; do \
  10.544 -	  if test -f $$p; then \
  10.545 -	    list2="$$list2 $$p"; \
  10.546 -	  else :; fi; \
  10.547 -	done; \
  10.548 -	test -z "$$list2" || { \
  10.549 -	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
  10.550 -	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
  10.551 -	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
  10.552 -	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
  10.553 -	}
  10.554 -
  10.555 -uninstall-libLTLIBRARIES:
  10.556 -	@$(NORMAL_UNINSTALL)
  10.557 -	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
  10.558 -	for p in $$list; do \
  10.559 -	  $(am__strip_dir) \
  10.560 -	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
  10.561 -	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
  10.562 -	done
  10.563 -
  10.564 -clean-libLTLIBRARIES:
  10.565 -	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  10.566 -	@list='$(lib_LTLIBRARIES)'; \
  10.567 -	locs=`for p in $$list; do echo $$p; done | \
  10.568 -	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
  10.569 -	      sort -u`; \
  10.570 -	test -z "$$locs" || { \
  10.571 -	  echo rm -f $${locs}; \
  10.572 -	  rm -f $${locs}; \
  10.573 -	}
  10.574 -
  10.575 -libjpeg.la: $(libjpeg_la_OBJECTS) $(libjpeg_la_DEPENDENCIES) $(EXTRA_libjpeg_la_DEPENDENCIES) 
  10.576 -	$(AM_V_CCLD)$(libjpeg_la_LINK) -rpath $(libdir) $(libjpeg_la_OBJECTS) $(libjpeg_la_LIBADD) $(LIBS)
  10.577 -install-binPROGRAMS: $(bin_PROGRAMS)
  10.578 -	@$(NORMAL_INSTALL)
  10.579 -	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  10.580 -	if test -n "$$list"; then \
  10.581 -	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
  10.582 -	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
  10.583 -	fi; \
  10.584 -	for p in $$list; do echo "$$p $$p"; done | \
  10.585 -	sed 's/$(EXEEXT)$$//' | \
  10.586 -	while read p p1; do if test -f $$p \
  10.587 -	 || test -f $$p1 \
  10.588 -	  ; then echo "$$p"; echo "$$p"; else :; fi; \
  10.589 -	done | \
  10.590 -	sed -e 'p;s,.*/,,;n;h' \
  10.591 -	    -e 's|.*|.|' \
  10.592 -	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
  10.593 -	sed 'N;N;N;s,\n, ,g' | \
  10.594 -	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
  10.595 -	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
  10.596 -	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
  10.597 -	    else { print "f", $$3 "/" $$4, $$1; } } \
  10.598 -	  END { for (d in files) print "f", d, files[d] }' | \
  10.599 -	while read type dir files; do \
  10.600 -	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
  10.601 -	    test -z "$$files" || { \
  10.602 -	    echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
  10.603 -	    $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
  10.604 -	    } \
  10.605 -	; done
  10.606 -
  10.607 -uninstall-binPROGRAMS:
  10.608 -	@$(NORMAL_UNINSTALL)
  10.609 -	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
  10.610 -	files=`for p in $$list; do echo "$$p"; done | \
  10.611 -	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
  10.612 -	      -e 's/$$/$(EXEEXT)/' \
  10.613 -	`; \
  10.614 -	test -n "$$list" || exit 0; \
  10.615 -	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
  10.616 -	cd "$(DESTDIR)$(bindir)" && rm -f $$files
  10.617 -
  10.618 -clean-binPROGRAMS:
  10.619 -	@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
  10.620 -	echo " rm -f" $$list; \
  10.621 -	rm -f $$list || exit $$?; \
  10.622 -	test -n "$(EXEEXT)" || exit 0; \
  10.623 -	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  10.624 -	echo " rm -f" $$list; \
  10.625 -	rm -f $$list
  10.626 -
  10.627 -cjpeg$(EXEEXT): $(cjpeg_OBJECTS) $(cjpeg_DEPENDENCIES) $(EXTRA_cjpeg_DEPENDENCIES) 
  10.628 -	@rm -f cjpeg$(EXEEXT)
  10.629 -	$(AM_V_CCLD)$(LINK) $(cjpeg_OBJECTS) $(cjpeg_LDADD) $(LIBS)
  10.630 -
  10.631 -djpeg$(EXEEXT): $(djpeg_OBJECTS) $(djpeg_DEPENDENCIES) $(EXTRA_djpeg_DEPENDENCIES) 
  10.632 -	@rm -f djpeg$(EXEEXT)
  10.633 -	$(AM_V_CCLD)$(LINK) $(djpeg_OBJECTS) $(djpeg_LDADD) $(LIBS)
  10.634 -
  10.635 -jpegtran$(EXEEXT): $(jpegtran_OBJECTS) $(jpegtran_DEPENDENCIES) $(EXTRA_jpegtran_DEPENDENCIES) 
  10.636 -	@rm -f jpegtran$(EXEEXT)
  10.637 -	$(AM_V_CCLD)$(LINK) $(jpegtran_OBJECTS) $(jpegtran_LDADD) $(LIBS)
  10.638 -
  10.639 -rdjpgcom$(EXEEXT): $(rdjpgcom_OBJECTS) $(rdjpgcom_DEPENDENCIES) $(EXTRA_rdjpgcom_DEPENDENCIES) 
  10.640 -	@rm -f rdjpgcom$(EXEEXT)
  10.641 -	$(AM_V_CCLD)$(LINK) $(rdjpgcom_OBJECTS) $(rdjpgcom_LDADD) $(LIBS)
  10.642 -
  10.643 -wrjpgcom$(EXEEXT): $(wrjpgcom_OBJECTS) $(wrjpgcom_DEPENDENCIES) $(EXTRA_wrjpgcom_DEPENDENCIES) 
  10.644 -	@rm -f wrjpgcom$(EXEEXT)
  10.645 -	$(AM_V_CCLD)$(LINK) $(wrjpgcom_OBJECTS) $(wrjpgcom_LDADD) $(LIBS)
  10.646 -
  10.647 -mostlyclean-compile:
  10.648 -	-rm -f *.$(OBJEXT)
  10.649 -
  10.650 -distclean-compile:
  10.651 -	-rm -f *.tab.c
  10.652 -
  10.653 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/@MEMORYMGR@.Plo@am__quote@
  10.654 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cdjpeg.Po@am__quote@
  10.655 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cjpeg.Po@am__quote@
  10.656 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/djpeg.Po@am__quote@
  10.657 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jaricom.Plo@am__quote@
  10.658 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcapimin.Plo@am__quote@
  10.659 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcapistd.Plo@am__quote@
  10.660 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcarith.Plo@am__quote@
  10.661 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jccoefct.Plo@am__quote@
  10.662 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jccolor.Plo@am__quote@
  10.663 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcdctmgr.Plo@am__quote@
  10.664 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jchuff.Plo@am__quote@
  10.665 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcinit.Plo@am__quote@
  10.666 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmainct.Plo@am__quote@
  10.667 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmarker.Plo@am__quote@
  10.668 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcmaster.Plo@am__quote@
  10.669 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcomapi.Plo@am__quote@
  10.670 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcparam.Plo@am__quote@
  10.671 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcprepct.Plo@am__quote@
  10.672 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jcsample.Plo@am__quote@
  10.673 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jctrans.Plo@am__quote@
  10.674 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdapimin.Plo@am__quote@
  10.675 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdapistd.Plo@am__quote@
  10.676 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdarith.Plo@am__quote@
  10.677 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdatadst.Plo@am__quote@
  10.678 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdatasrc.Plo@am__quote@
  10.679 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdcoefct.Plo@am__quote@
  10.680 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdcolor.Plo@am__quote@
  10.681 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jddctmgr.Plo@am__quote@
  10.682 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdhuff.Plo@am__quote@
  10.683 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdinput.Plo@am__quote@
  10.684 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmainct.Plo@am__quote@
  10.685 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmarker.Plo@am__quote@
  10.686 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmaster.Plo@am__quote@
  10.687 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdmerge.Plo@am__quote@
  10.688 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdpostct.Plo@am__quote@
  10.689 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdsample.Plo@am__quote@
  10.690 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jdtrans.Plo@am__quote@
  10.691 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jerror.Plo@am__quote@
  10.692 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctflt.Plo@am__quote@
  10.693 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctfst.Plo@am__quote@
  10.694 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jfdctint.Plo@am__quote@
  10.695 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctflt.Plo@am__quote@
  10.696 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctfst.Plo@am__quote@
  10.697 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jidctint.Plo@am__quote@
  10.698 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jmemmgr.Plo@am__quote@
  10.699 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jpegtran.Po@am__quote@
  10.700 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jquant1.Plo@am__quote@
  10.701 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jquant2.Plo@am__quote@
  10.702 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jutils.Plo@am__quote@
  10.703 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdbmp.Po@am__quote@
  10.704 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdcolmap.Po@am__quote@
  10.705 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdgif.Po@am__quote@
  10.706 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdjpgcom.Po@am__quote@
  10.707 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdppm.Po@am__quote@
  10.708 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdrle.Po@am__quote@
  10.709 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdswitch.Po@am__quote@
  10.710 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rdtarga.Po@am__quote@
  10.711 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transupp.Po@am__quote@
  10.712 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrbmp.Po@am__quote@
  10.713 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrgif.Po@am__quote@
  10.714 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrjpgcom.Po@am__quote@
  10.715 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrppm.Po@am__quote@
  10.716 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrrle.Po@am__quote@
  10.717 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wrtarga.Po@am__quote@
  10.718 -
  10.719 -.c.o:
  10.720 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  10.721 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  10.722 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  10.723 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  10.724 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
  10.725 -
  10.726 -.c.obj:
  10.727 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  10.728 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  10.729 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  10.730 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  10.731 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
  10.732 -
  10.733 -.c.lo:
  10.734 -@am__fastdepCC_TRUE@	$(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  10.735 -@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  10.736 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
  10.737 -@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  10.738 -@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
  10.739 -
  10.740 -mostlyclean-libtool:
  10.741 -	-rm -f *.lo
  10.742 -
  10.743 -clean-libtool:
  10.744 -	-rm -rf .libs _libs
  10.745 -
  10.746 -distclean-libtool:
  10.747 -	-rm -f libtool config.lt
  10.748 -install-man1: $(man_MANS)
  10.749 -	@$(NORMAL_INSTALL)
  10.750 -	@list1=''; \
  10.751 -	list2='$(man_MANS)'; \
  10.752 -	test -n "$(man1dir)" \
  10.753 -	  && test -n "`echo $$list1$$list2`" \
  10.754 -	  || exit 0; \
  10.755 -	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
  10.756 -	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
  10.757 -	{ for i in $$list1; do echo "$$i"; done;  \
  10.758 -	if test -n "$$list2"; then \
  10.759 -	  for i in $$list2; do echo "$$i"; done \
  10.760 -	    | sed -n '/\.1[a-z]*$$/p'; \
  10.761 -	fi; \
  10.762 -	} | while read p; do \
  10.763 -	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
  10.764 -	  echo "$$d$$p"; echo "$$p"; \
  10.765 -	done | \
  10.766 -	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  10.767 -	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
  10.768 -	sed 'N;N;s,\n, ,g' | { \
  10.769 -	list=; while read file base inst; do \
  10.770 -	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
  10.771 -	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
  10.772 -	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
  10.773 -	  fi; \
  10.774 -	done; \
  10.775 -	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
  10.776 -	while read files; do \
  10.777 -	  test -z "$$files" || { \
  10.778 -	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
  10.779 -	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
  10.780 -	done; }
  10.781 -
  10.782 -uninstall-man1:
  10.783 -	@$(NORMAL_UNINSTALL)
  10.784 -	@list=''; test -n "$(man1dir)" || exit 0; \
  10.785 -	files=`{ for i in $$list; do echo "$$i"; done; \
  10.786 -	l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
  10.787 -	  sed -n '/\.1[a-z]*$$/p'; \
  10.788 -	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
  10.789 -	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
  10.790 -	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
  10.791 -install-includeHEADERS: $(include_HEADERS)
  10.792 -	@$(NORMAL_INSTALL)
  10.793 -	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  10.794 -	if test -n "$$list"; then \
  10.795 -	  echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
  10.796 -	  $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
  10.797 -	fi; \
  10.798 -	for p in $$list; do \
  10.799 -	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  10.800 -	  echo "$$d$$p"; \
  10.801 -	done | $(am__base_list) | \
  10.802 -	while read files; do \
  10.803 -	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
  10.804 -	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
  10.805 -	done
  10.806 -
  10.807 -uninstall-includeHEADERS:
  10.808 -	@$(NORMAL_UNINSTALL)
  10.809 -	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
  10.810 -	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
  10.811 -	dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  10.812 -
  10.813 -ID: $(am__tagged_files)
  10.814 -	$(am__define_uniq_tagged_files); mkid -fID $$unique
  10.815 -tags: tags-am
  10.816 -TAGS: tags
  10.817 -
  10.818 -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  10.819 -	set x; \
  10.820 -	here=`pwd`; \
  10.821 -	$(am__define_uniq_tagged_files); \
  10.822 -	shift; \
  10.823 -	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  10.824 -	  test -n "$$unique" || unique=$$empty_fix; \
  10.825 -	  if test $$# -gt 0; then \
  10.826 -	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  10.827 -	      "$$@" $$unique; \
  10.828 -	  else \
  10.829 -	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  10.830 -	      $$unique; \
  10.831 -	  fi; \
  10.832 -	fi
  10.833 -ctags: ctags-am
  10.834 -
  10.835 -CTAGS: ctags
  10.836 -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  10.837 -	$(am__define_uniq_tagged_files); \
  10.838 -	test -z "$(CTAGS_ARGS)$$unique" \
  10.839 -	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  10.840 -	     $$unique
  10.841 -
  10.842 -GTAGS:
  10.843 -	here=`$(am__cd) $(top_builddir) && pwd` \
  10.844 -	  && $(am__cd) $(top_srcdir) \
  10.845 -	  && gtags -i $(GTAGS_ARGS) "$$here"
  10.846 -cscope: cscope.files
  10.847 -	test ! -s cscope.files \
  10.848 -	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  10.849 -clean-cscope:
  10.850 -	-rm -f cscope.files
  10.851 -cscope.files: clean-cscope cscopelist
  10.852 -cscopelist: cscopelist-am
  10.853 -
  10.854 -cscopelist-am: $(am__tagged_files)
  10.855 -	list='$(am__tagged_files)'; \
  10.856 -	case "$(srcdir)" in \
  10.857 -	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  10.858 -	  *) sdir=$(subdir)/$(srcdir) ;; \
  10.859 -	esac; \
  10.860 -	for i in $$list; do \
  10.861 -	  if test -f "$$i"; then \
  10.862 -	    echo "$(subdir)/$$i"; \
  10.863 -	  else \
  10.864 -	    echo "$$sdir/$$i"; \
  10.865 -	  fi; \
  10.866 -	done >> $(top_builddir)/cscope.files
  10.867 -
  10.868 -distclean-tags:
  10.869 -	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  10.870 -	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  10.871 -check-am: all-am
  10.872 -	$(MAKE) $(AM_MAKEFLAGS) check-local
  10.873 -check: check-am
  10.874 -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \
  10.875 -		jconfig.h
  10.876 -install-binPROGRAMS: install-libLTLIBRARIES
  10.877 -
  10.878 -installdirs:
  10.879 -	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(includedir)"; do \
  10.880 -	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
  10.881 -	done
  10.882 -install: install-am
  10.883 -install-exec: install-exec-am
  10.884 -install-data: install-data-am
  10.885 -uninstall: uninstall-am
  10.886 -
  10.887 -install-am: all-am
  10.888 -	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  10.889 -
  10.890 -installcheck: installcheck-am
  10.891 -install-strip:
  10.892 -	if test -z '$(STRIP)'; then \
  10.893 -	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  10.894 -	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  10.895 -	      install; \
  10.896 -	else \
  10.897 -	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  10.898 -	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  10.899 -	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  10.900 -	fi
  10.901 -mostlyclean-generic:
  10.902 -
  10.903 -clean-generic:
  10.904 -	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  10.905 -
  10.906 -distclean-generic:
  10.907 -	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  10.908 -	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  10.909 -
  10.910 -maintainer-clean-generic:
  10.911 -	@echo "This command is intended for maintainers to use"
  10.912 -	@echo "it deletes files that may require special tools to rebuild."
  10.913 -clean: clean-am
  10.914 -
  10.915 -clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
  10.916 -	clean-libtool mostlyclean-am
  10.917 -
  10.918 -distclean: distclean-am
  10.919 -	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
  10.920 -	-rm -rf ./$(DEPDIR)
  10.921 -	-rm -f Makefile
  10.922 -distclean-am: clean-am distclean-compile distclean-generic \
  10.923 -	distclean-hdr distclean-libtool distclean-tags
  10.924 -
  10.925 -dvi: dvi-am
  10.926 -
  10.927 -dvi-am:
  10.928 -
  10.929 -html: html-am
  10.930 -
  10.931 -html-am:
  10.932 -
  10.933 -info: info-am
  10.934 -
  10.935 -info-am:
  10.936 -
  10.937 -install-data-am: install-data-local install-includeHEADERS install-man
  10.938 -
  10.939 -install-dvi: install-dvi-am
  10.940 -
  10.941 -install-dvi-am:
  10.942 -
  10.943 -install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
  10.944 -
  10.945 -install-html: install-html-am
  10.946 -
  10.947 -install-html-am:
  10.948 -
  10.949 -install-info: install-info-am
  10.950 -
  10.951 -install-info-am:
  10.952 -
  10.953 -install-man: install-man1
  10.954 -
  10.955 -install-pdf: install-pdf-am
  10.956 -
  10.957 -install-pdf-am:
  10.958 -
  10.959 -install-ps: install-ps-am
  10.960 -
  10.961 -install-ps-am:
  10.962 -
  10.963 -installcheck-am:
  10.964 -
  10.965 -maintainer-clean: maintainer-clean-am
  10.966 -	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
  10.967 -	-rm -rf $(top_srcdir)/autom4te.cache
  10.968 -	-rm -rf ./$(DEPDIR)
  10.969 -	-rm -f Makefile
  10.970 -maintainer-clean-am: distclean-am maintainer-clean-generic
  10.971 -
  10.972 -mostlyclean: mostlyclean-am
  10.973 -
  10.974 -mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  10.975 -	mostlyclean-libtool
  10.976 -
  10.977 -pdf: pdf-am
  10.978 -
  10.979 -pdf-am:
  10.980 -
  10.981 -ps: ps-am
  10.982 -
  10.983 -ps-am:
  10.984 -
  10.985 -uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
  10.986 -	uninstall-libLTLIBRARIES uninstall-local uninstall-man
  10.987 -
  10.988 -uninstall-man: uninstall-man1
  10.989 -
  10.990 -.MAKE: all check-am install-am install-strip
  10.991 -
  10.992 -.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am \
  10.993 -	check-local clean clean-binPROGRAMS clean-cscope clean-generic \
  10.994 -	clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
  10.995 -	ctags-am distclean distclean-compile distclean-generic \
  10.996 -	distclean-hdr distclean-libtool distclean-tags dvi dvi-am html \
  10.997 -	html-am info info-am install install-am install-binPROGRAMS \
  10.998 -	install-data install-data-am install-data-local install-dvi \
  10.999 -	install-dvi-am install-exec install-exec-am install-html \
 10.1000 -	install-html-am install-includeHEADERS install-info \
 10.1001 -	install-info-am install-libLTLIBRARIES install-man \
 10.1002 -	install-man1 install-pdf install-pdf-am install-ps \
 10.1003 -	install-ps-am install-strip installcheck installcheck-am \
 10.1004 -	installdirs maintainer-clean maintainer-clean-generic \
 10.1005 -	mostlyclean mostlyclean-compile mostlyclean-generic \
 10.1006 -	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
 10.1007 -	uninstall-am uninstall-binPROGRAMS uninstall-includeHEADERS \
 10.1008 -	uninstall-libLTLIBRARIES uninstall-local uninstall-man \
 10.1009 -	uninstall-man1
 10.1010 -
 10.1011 -.PRECIOUS: Makefile
 10.1012 -
 10.1013 -
 10.1014 -# Install jconfig.h
 10.1015 -install-data-local:
 10.1016 -	$(mkinstalldirs) $(DESTDIR)$(includedir)
 10.1017 -	$(INSTALL_HEADER) jconfig.h $(DESTDIR)$(includedir)/jconfig.h
 10.1018 -
 10.1019 -# Uninstall jconfig.h
 10.1020 -uninstall-local:
 10.1021 -	rm -f $(DESTDIR)$(includedir)/jconfig.h
 10.1022 -
 10.1023 -# Run tests
 10.1024 -test: check-local
 10.1025 -check-local:
 10.1026 -	rm -f testout*
 10.1027 -	./djpeg -dct int -ppm -outfile testout.ppm  $(srcdir)/testorig.jpg
 10.1028 -	./djpeg -dct int -bmp -colors 256 -outfile testout.bmp  $(srcdir)/testorig.jpg
 10.1029 -	./cjpeg -dct int -outfile testout.jpg  $(srcdir)/testimg.ppm
 10.1030 -	./djpeg -dct int -ppm -outfile testoutp.ppm $(srcdir)/testprog.jpg
 10.1031 -	./cjpeg -dct int -progressive -opt -outfile testoutp.jpg $(srcdir)/testimg.ppm
 10.1032 -	./jpegtran -outfile testoutt.jpg $(srcdir)/testprog.jpg
 10.1033 -	cmp $(srcdir)/testimg.ppm testout.ppm
 10.1034 -	cmp $(srcdir)/testimg.bmp testout.bmp
 10.1035 -	cmp $(srcdir)/testimg.jpg testout.jpg
 10.1036 -	cmp $(srcdir)/testimg.ppm testoutp.ppm
 10.1037 -	cmp $(srcdir)/testimgp.jpg testoutp.jpg
 10.1038 -	cmp $(srcdir)/testorig.jpg testoutt.jpg
 10.1039 -
 10.1040 -# Tell versions [3.59,3.63) of GNU make to not export all variables.
 10.1041 -# Otherwise a system limit (for SysV at least) may be exceeded.
 10.1042 -.NOEXPORT:
    11.1 --- a/external/jpeg-9b/README	Fri Nov 08 23:00:56 2019 +0300
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,375 +0,0 @@
    11.4 -The Independent JPEG Group's JPEG software
    11.5 -==========================================
    11.6 -
    11.7 -README for release 9b of 17-Jan-2016
    11.8 -====================================
    11.9 -
   11.10 -This distribution contains the ninth public release of the Independent JPEG
   11.11 -Group's free JPEG software.  You are welcome to redistribute this software and
   11.12 -to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
   11.13 -
   11.14 -This software is the work of Tom Lane, Guido Vollbeding, Philip Gladstone,
   11.15 -Bill Allombert, Jim Boucher, Lee Crocker, Bob Friesenhahn, Ben Jackson,
   11.16 -Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi, Ge' Weijers,
   11.17 -and other members of the Independent JPEG Group.
   11.18 -
   11.19 -IJG is not affiliated with the ISO/IEC JTC1/SC29/WG1 standards committee
   11.20 -(previously known as JPEG, together with ITU-T SG16).
   11.21 -
   11.22 -
   11.23 -DOCUMENTATION ROADMAP
   11.24 -=====================
   11.25 -
   11.26 -This file contains the following sections:
   11.27 -
   11.28 -OVERVIEW            General description of JPEG and the IJG software.
   11.29 -LEGAL ISSUES        Copyright, lack of warranty, terms of distribution.
   11.30 -REFERENCES          Where to learn more about JPEG.
   11.31 -ARCHIVE LOCATIONS   Where to find newer versions of this software.
   11.32 -ACKNOWLEDGMENTS     Special thanks.
   11.33 -FILE FORMAT WARS    Software *not* to get.
   11.34 -TO DO               Plans for future IJG releases.
   11.35 -
   11.36 -Other documentation files in the distribution are:
   11.37 -
   11.38 -User documentation:
   11.39 -  install.txt       How to configure and install the IJG software.
   11.40 -  usage.txt         Usage instructions for cjpeg, djpeg, jpegtran,
   11.41 -                    rdjpgcom, and wrjpgcom.
   11.42 -  *.1               Unix-style man pages for programs (same info as usage.txt).
   11.43 -  wizard.txt        Advanced usage instructions for JPEG wizards only.
   11.44 -  change.log        Version-to-version change highlights.
   11.45 -Programmer and internal documentation:
   11.46 -  libjpeg.txt       How to use the JPEG library in your own programs.
   11.47 -  example.c         Sample code for calling the JPEG library.
   11.48 -  structure.txt     Overview of the JPEG library's internal structure.
   11.49 -  filelist.txt      Road map of IJG files.
   11.50 -  coderules.txt     Coding style rules --- please read if you contribute code.
   11.51 -
   11.52 -Please read at least the files install.txt and usage.txt.  Some information
   11.53 -can also be found in the JPEG FAQ (Frequently Asked Questions) article.  See
   11.54 -ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
   11.55 -
   11.56 -If you want to understand how the JPEG code works, we suggest reading one or
   11.57 -more of the REFERENCES, then looking at the documentation files (in roughly
   11.58 -the order listed) before diving into the code.
   11.59 -
   11.60 -
   11.61 -OVERVIEW
   11.62 -========
   11.63 -
   11.64 -This package contains C software to implement JPEG image encoding, decoding,
   11.65 -and transcoding.  JPEG (pronounced "jay-peg") is a standardized compression
   11.66 -method for full-color and grayscale images.
   11.67 -
   11.68 -This software implements JPEG baseline, extended-sequential, and progressive
   11.69 -compression processes.  Provision is made for supporting all variants of these
   11.70 -processes, although some uncommon parameter settings aren't implemented yet.
   11.71 -We have made no provision for supporting the hierarchical or lossless
   11.72 -processes defined in the standard.
   11.73 -
   11.74 -We provide a set of library routines for reading and writing JPEG image files,
   11.75 -plus two sample applications "cjpeg" and "djpeg", which use the library to
   11.76 -perform conversion between JPEG and some other popular image file formats.
   11.77 -The library is intended to be reused in other applications.
   11.78 -
   11.79 -In order to support file conversion and viewing software, we have included
   11.80 -considerable functionality beyond the bare JPEG coding/decoding capability;
   11.81 -for example, the color quantization modules are not strictly part of JPEG
   11.82 -decoding, but they are essential for output to colormapped file formats or
   11.83 -colormapped displays.  These extra functions can be compiled out of the
   11.84 -library if not required for a particular application.
   11.85 -
   11.86 -We have also included "jpegtran", a utility for lossless transcoding between
   11.87 -different JPEG processes, and "rdjpgcom" and "wrjpgcom", two simple
   11.88 -applications for inserting and extracting textual comments in JFIF files.
   11.89 -
   11.90 -The emphasis in designing this software has been on achieving portability and
   11.91 -flexibility, while also making it fast enough to be useful.  In particular,
   11.92 -the software is not intended to be read as a tutorial on JPEG.  (See the
   11.93 -REFERENCES section for introductory material.)  Rather, it is intended to
   11.94 -be reliable, portable, industrial-strength code.  We do not claim to have
   11.95 -achieved that goal in every aspect of the software, but we strive for it.
   11.96 -
   11.97 -We welcome the use of this software as a component of commercial products.
   11.98 -No royalty is required, but we do ask for an acknowledgement in product
   11.99 -documentation, as described under LEGAL ISSUES.
  11.100 -
  11.101 -
  11.102 -LEGAL ISSUES
  11.103 -============
  11.104 -
  11.105 -In plain English:
  11.106 -
  11.107 -1. We don't promise that this software works.  (But if you find any bugs,
  11.108 -   please let us know!)
  11.109 -2. You can use this software for whatever you want.  You don't have to pay us.
  11.110 -3. You may not pretend that you wrote this software.  If you use it in a
  11.111 -   program, you must acknowledge somewhere in your documentation that
  11.112 -   you've used the IJG code.
  11.113 -
  11.114 -In legalese:
  11.115 -
  11.116 -The authors make NO WARRANTY or representation, either express or implied,
  11.117 -with respect to this software, its quality, accuracy, merchantability, or
  11.118 -fitness for a particular purpose.  This software is provided "AS IS", and you,
  11.119 -its user, assume the entire risk as to its quality and accuracy.
  11.120 -
  11.121 -This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding.
  11.122 -All Rights Reserved except as specified below.
  11.123 -
  11.124 -Permission is hereby granted to use, copy, modify, and distribute this
  11.125 -software (or portions thereof) for any purpose, without fee, subject to these
  11.126 -conditions:
  11.127 -(1) If any part of the source code for this software is distributed, then this
  11.128 -README file must be included, with this copyright and no-warranty notice
  11.129 -unaltered; and any additions, deletions, or changes to the original files
  11.130 -must be clearly indicated in accompanying documentation.
  11.131 -(2) If only executable code is distributed, then the accompanying
  11.132 -documentation must state that "this software is based in part on the work of
  11.133 -the Independent JPEG Group".
  11.134 -(3) Permission for use of this software is granted only if the user accepts
  11.135 -full responsibility for any undesirable consequences; the authors accept
  11.136 -NO LIABILITY for damages of any kind.
  11.137 -
  11.138 -These conditions apply to any software derived from or based on the IJG code,
  11.139 -not just to the unmodified library.  If you use our work, you ought to
  11.140 -acknowledge us.
  11.141 -
  11.142 -Permission is NOT granted for the use of any IJG author's name or company name
  11.143 -in advertising or publicity relating to this software or products derived from
  11.144 -it.  This software may be referred to only as "the Independent JPEG Group's
  11.145 -software".
  11.146 -
  11.147 -We specifically permit and encourage the use of this software as the basis of
  11.148 -commercial products, provided that all warranty or liability claims are
  11.149 -assumed by the product vendor.
  11.150 -
  11.151 -
  11.152 -The Unix configuration script "configure" was produced with GNU Autoconf.
  11.153 -It is copyright by the Free Software Foundation but is freely distributable.
  11.154 -The same holds for its supporting scripts (config.guess, config.sub,
  11.155 -ltmain.sh).  Another support script, install-sh, is copyright by X Consortium
  11.156 -but is also freely distributable.
  11.157 -
  11.158 -The IJG distribution formerly included code to read and write GIF files.
  11.159 -To avoid entanglement with the Unisys LZW patent (now expired), GIF reading
  11.160 -support has been removed altogether, and the GIF writer has been simplified
  11.161 -to produce "uncompressed GIFs".  This technique does not use the LZW
  11.162 -algorithm; the resulting GIF files are larger than usual, but are readable
  11.163 -by all standard GIF decoders.
  11.164 -
  11.165 -
  11.166 -REFERENCES
  11.167 -==========
  11.168 -
  11.169 -We recommend reading one or more of these references before trying to
  11.170 -understand the innards of the JPEG software.
  11.171 -
  11.172 -The best short technical introduction to the JPEG compression algorithm is
  11.173 -	Wallace, Gregory K.  "The JPEG Still Picture Compression Standard",
  11.174 -	Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
  11.175 -(Adjacent articles in that issue discuss MPEG motion picture compression,
  11.176 -applications of JPEG, and related topics.)  If you don't have the CACM issue
  11.177 -handy, a PDF file containing a revised version of Wallace's article is
  11.178 -available at http://www.ijg.org/files/Wallace.JPEG.pdf.  The file (actually
  11.179 -a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
  11.180 -omits the sample images that appeared in CACM, but it includes corrections
  11.181 -and some added material.  Note: the Wallace article is copyright ACM and IEEE,
  11.182 -and it may not be used for commercial purposes.
  11.183 -
  11.184 -A somewhat less technical, more leisurely introduction to JPEG can be found in
  11.185 -"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
  11.186 -M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1.  This book provides
  11.187 -good explanations and example C code for a multitude of compression methods
  11.188 -including JPEG.  It is an excellent source if you are comfortable reading C
  11.189 -code but don't know much about data compression in general.  The book's JPEG
  11.190 -sample code is far from industrial-strength, but when you are ready to look
  11.191 -at a full implementation, you've got one here...
  11.192 -
  11.193 -The best currently available description of JPEG is the textbook "JPEG Still
  11.194 -Image Data Compression Standard" by William B. Pennebaker and Joan L.
  11.195 -Mitchell, published by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1.
  11.196 -Price US$59.95, 638 pp.  The book includes the complete text of the ISO JPEG
  11.197 -standards (DIS 10918-1 and draft DIS 10918-2).
  11.198 -Although this is by far the most detailed and comprehensive exposition of
  11.199 -JPEG publicly available, we point out that it is still missing an explanation
  11.200 -of the most essential properties and algorithms of the underlying DCT
  11.201 -technology.
  11.202 -If you think that you know about DCT-based JPEG after reading this book,
  11.203 -then you are in delusion.  The real fundamentals and corresponding potential
  11.204 -of DCT-based JPEG are not publicly known so far, and that is the reason for
  11.205 -all the mistaken developments taking place in the image coding domain.
  11.206 -
  11.207 -The original JPEG standard is divided into two parts, Part 1 being the actual
  11.208 -specification, while Part 2 covers compliance testing methods.  Part 1 is
  11.209 -titled "Digital Compression and Coding of Continuous-tone Still Images,
  11.210 -Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
  11.211 -10918-1, ITU-T T.81.  Part 2 is titled "Digital Compression and Coding of
  11.212 -Continuous-tone Still Images, Part 2: Compliance testing" and has document
  11.213 -numbers ISO/IEC IS 10918-2, ITU-T T.83.
  11.214 -IJG JPEG 8 introduced an implementation of the JPEG SmartScale extension
  11.215 -which is specified in two documents:  A contributed document at ITU and ISO
  11.216 -with title "ITU-T JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced
  11.217 -Image Coding", April 2006, Geneva, Switzerland.  The latest version of this
  11.218 -document is Revision 3.  And a contributed document ISO/IEC JTC1/SC29/WG1 N
  11.219 -5799 with title "Evolution of JPEG", June/July 2011, Berlin, Germany.
  11.220 -IJG JPEG 9 introduces a reversible color transform for improved lossless
  11.221 -compression which is described in a contributed document ISO/IEC JTC1/SC29/
  11.222 -WG1 N 6080 with title "JPEG 9 Lossless Coding", June/July 2012, Paris,
  11.223 -France.
  11.224 -
  11.225 -The JPEG standard does not specify all details of an interchangeable file
  11.226 -format.  For the omitted details we follow the "JFIF" conventions, version 2.
  11.227 -JFIF version 1 has been adopted as Recommendation ITU-T T.871 (05/2011) :
  11.228 -Information technology - Digital compression and coding of continuous-tone
  11.229 -still images: JPEG File Interchange Format (JFIF).  It is available as a
  11.230 -free download in PDF file format from http://www.itu.int/rec/T-REC-T.871.
  11.231 -A PDF file of the older JFIF document is available at
  11.232 -http://www.w3.org/Graphics/JPEG/jfif3.pdf.
  11.233 -
  11.234 -The TIFF 6.0 file format specification can be obtained by FTP from
  11.235 -ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz.  The JPEG incorporation scheme
  11.236 -found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
  11.237 -IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
  11.238 -Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
  11.239 -(Compression tag 7).  Copies of this Note can be obtained from
  11.240 -http://www.ijg.org/files/.  It is expected that the next revision
  11.241 -of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
  11.242 -Although IJG's own code does not support TIFF/JPEG, the free libtiff library
  11.243 -uses our library to implement TIFF/JPEG per the Note.
  11.244 -
  11.245 -
  11.246 -ARCHIVE LOCATIONS
  11.247 -=================
  11.248 -
  11.249 -The "official" archive site for this software is www.ijg.org.
  11.250 -The most recent released version can always be found there in
  11.251 -directory "files".  This particular version will be archived as
  11.252 -http://www.ijg.org/files/jpegsrc.v9b.tar.gz, and in Windows-compatible
  11.253 -"zip" archive format as http://www.ijg.org/files/jpegsr9b.zip.
  11.254 -
  11.255 -The JPEG FAQ (Frequently Asked Questions) article is a source of some
  11.256 -general information about JPEG.
  11.257 -It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
  11.258 -and other news.answers archive sites, including the official news.answers
  11.259 -archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
  11.260 -If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
  11.261 -with body
  11.262 -	send usenet/news.answers/jpeg-faq/part1
  11.263 -	send usenet/news.answers/jpeg-faq/part2
  11.264 -
  11.265 -
  11.266 -ACKNOWLEDGMENTS
  11.267 -===============
  11.268 -
  11.269 -Thank to Juergen Bruder for providing me with a copy of the common DCT
  11.270 -algorithm article, only to find out that I had come to the same result
  11.271 -in a more direct and comprehensible way with a more generative approach.
  11.272 -
  11.273 -Thank to Istvan Sebestyen and Joan L. Mitchell for inviting me to the
  11.274 -ITU JPEG (Study Group 16) meeting in Geneva, Switzerland.
  11.275 -
  11.276 -Thank to Thomas Wiegand and Gary Sullivan for inviting me to the
  11.277 -Joint Video Team (MPEG & ITU) meeting in Geneva, Switzerland.
  11.278 -
  11.279 -Thank to Thomas Richter and Daniel Lee for inviting me to the
  11.280 -ISO/IEC JTC1/SC29/WG1 (previously known as JPEG, together with ITU-T SG16)
  11.281 -meeting in Berlin, Germany.
  11.282 -
  11.283 -Thank to John Korejwa and Massimo Ballerini for inviting me to
  11.284 -fruitful consultations in Boston, MA and Milan, Italy.
  11.285 -
  11.286 -Thank to Hendrik Elstner, Roland Fassauer, Simone Zuck, Guenther
  11.287 -Maier-Gerber, Walter Stoeber, Fred Schmitz, and Norbert Braunagel
  11.288 -for corresponding business development.
  11.289 -
  11.290 -Thank to Nico Zschach and Dirk Stelling of the technical support team
  11.291 -at the Digital Images company in Halle for providing me with extra
  11.292 -equipment for configuration tests.
  11.293 -
  11.294 -Thank to Richard F. Lyon (then of Foveon Inc.) for fruitful
  11.295 -communication about JPEG configuration in Sigma Photo Pro software.
  11.296 -
  11.297 -Thank to Andrew Finkenstadt for hosting the ijg.org site.
  11.298 -
  11.299 -Last but not least special thank to Thomas G. Lane for the original
  11.300 -design and development of this singular software package.
  11.301 -
  11.302 -
  11.303 -FILE FORMAT WARS
  11.304 -================
  11.305 -
  11.306 -The ISO/IEC JTC1/SC29/WG1 standards committee (previously known as JPEG,
  11.307 -together with ITU-T SG16) currently promotes different formats containing
  11.308 -the name "JPEG" which is misleading because these formats are incompatible
  11.309 -with original DCT-based JPEG and are based on faulty technologies.
  11.310 -IJG therefore does not and will not support such momentary mistakes
  11.311 -(see REFERENCES).
  11.312 -There exist also distributions under the name "OpenJPEG" promoting such
  11.313 -kind of formats which is misleading because they don't support original
  11.314 -JPEG images.
  11.315 -We have no sympathy for the promotion of inferior formats.  Indeed, one of
  11.316 -the original reasons for developing this free software was to help force
  11.317 -convergence on common, interoperable format standards for JPEG files.
  11.318 -Don't use an incompatible file format!
  11.319 -(In any case, our decoder will remain capable of reading existing JPEG
  11.320 -image files indefinitely.)
  11.321 -
  11.322 -The ISO committee pretends to be "responsible for the popular JPEG" in their
  11.323 -public reports which is not true because they don't respond to actual
  11.324 -requirements for the maintenance of the original JPEG specification.
  11.325 -Furthermore, the ISO committee pretends to "ensure interoperability" with
  11.326 -their standards which is not true because their "standards" support only
  11.327 -application-specific and proprietary use cases and contain mathematically
  11.328 -incorrect code.
  11.329 -
  11.330 -There are currently different distributions in circulation containing the
  11.331 -name "libjpeg" which is misleading because they don't have the features and
  11.332 -are incompatible with formats supported by actual IJG libjpeg distributions.
  11.333 -One of those fakes is released by members of the ISO committee and just uses
  11.334 -the name of libjpeg for misdirection of people, similar to the abuse of the
  11.335 -name JPEG as described above, while having nothing in common with actual IJG
  11.336 -libjpeg distributions and containing mathematically incorrect code.
  11.337 -The other one claims to be a "derivative" or "fork" of the original libjpeg,
  11.338 -but violates the license conditions as described under LEGAL ISSUES above
  11.339 -and violates basic C programming properties.
  11.340 -We have no sympathy for the release of misleading, incorrect and illegal
  11.341 -distributions derived from obsolete code bases.
  11.342 -Don't use an obsolete code base!
  11.343 -
  11.344 -According to the UCC (Uniform Commercial Code) law, IJG has the lawful and
  11.345 -legal right to foreclose on certain standardization bodies and other
  11.346 -institutions or corporations that knowingly perform substantial and
  11.347 -systematic deceptive acts and practices, fraud, theft, and damaging of the
  11.348 -value of the people of this planet without their knowing, willing and
  11.349 -intentional consent.
  11.350 -The titles, ownership, and rights of these institutions and all their assets
  11.351 -are now duly secured and held in trust for the free people of this planet.
  11.352 -People of the planet, on every country, may have a financial interest in
  11.353 -the assets of these former principals, agents, and beneficiaries of the
  11.354 -foreclosed institutions and corporations.
  11.355 -IJG asserts what is: that each man, woman, and child has unalienable value
  11.356 -and rights granted and deposited in them by the Creator and not any one of
  11.357 -the people is subordinate to any artificial principality, corporate fiction
  11.358 -or the special interest of another without their appropriate knowing,
  11.359 -willing and intentional consent made by contract or accommodation agreement.
  11.360 -IJG expresses that which already was.
  11.361 -The people have already determined and demanded that public administration
  11.362 -entities, national governments, and their supporting judicial systems must
  11.363 -be fully transparent, accountable, and liable.
  11.364 -IJG has secured the value for all concerned free people of the planet.
  11.365 -
  11.366 -A partial list of foreclosed institutions and corporations ("Hall of Shame")
  11.367 -is currently prepared and will be published later.
  11.368 -
  11.369 -
  11.370 -TO DO
  11.371 -=====
  11.372 -
  11.373 -Version 9 is the second release of a new generation JPEG standard
  11.374 -to overcome the limitations of the original JPEG specification,
  11.375 -and is the first true source reference JPEG codec.
  11.376 -More features are being prepared for coming releases...
  11.377 -
  11.378 -Please send bug reports, offers of help, etc. to jpeg-info@jpegclub.org.
    12.1 --- a/external/jpeg-9b/aclocal.m4	Fri Nov 08 23:00:56 2019 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,10277 +0,0 @@
    12.4 -# generated automatically by aclocal 1.15 -*- Autoconf -*-
    12.5 -
    12.6 -# Copyright (C) 1996-2014 Free Software Foundation, Inc.
    12.7 -
    12.8 -# This file is free software; the Free Software Foundation
    12.9 -# gives unlimited permission to copy and/or distribute it,
   12.10 -# with or without modifications, as long as this notice is preserved.
   12.11 -
   12.12 -# This program is distributed in the hope that it will be useful,
   12.13 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
   12.14 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   12.15 -# PARTICULAR PURPOSE.
   12.16 -
   12.17 -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
   12.18 -m4_ifndef([AC_AUTOCONF_VERSION],
   12.19 -  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   12.20 -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
   12.21 -[m4_warning([this file was generated for autoconf 2.69.
   12.22 -You have another version of autoconf.  It may work, but is not guaranteed to.
   12.23 -If you have problems, you may need to regenerate the build system entirely.
   12.24 -To do so, use the procedure documented by the package, typically 'autoreconf'.])])
   12.25 -
   12.26 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
   12.27 -#
   12.28 -#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
   12.29 -#   Written by Gordon Matzigkeit, 1996
   12.30 -#
   12.31 -# This file is free software; the Free Software Foundation gives
   12.32 -# unlimited permission to copy and/or distribute it, with or without
   12.33 -# modifications, as long as this notice is preserved.
   12.34 -
   12.35 -m4_define([_LT_COPYING], [dnl
   12.36 -# Copyright (C) 2014 Free Software Foundation, Inc.
   12.37 -# This is free software; see the source for copying conditions.  There is NO
   12.38 -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   12.39 -
   12.40 -# GNU Libtool is free software; you can redistribute it and/or modify
   12.41 -# it under the terms of the GNU General Public License as published by
   12.42 -# the Free Software Foundation; either version 2 of of the License, or
   12.43 -# (at your option) any later version.
   12.44 -#
   12.45 -# As a special exception to the GNU General Public License, if you
   12.46 -# distribute this file as part of a program or library that is built
   12.47 -# using GNU Libtool, you may include this file under the  same
   12.48 -# distribution terms that you use for the rest of that program.
   12.49 -#
   12.50 -# GNU Libtool is distributed in the hope that it will be useful, but
   12.51 -# WITHOUT ANY WARRANTY; without even the implied warranty of
   12.52 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12.53 -# GNU General Public License for more details.
   12.54 -#
   12.55 -# You should have received a copy of the GNU General Public License
   12.56 -# along with this program.  If not, see <http://www.gnu.org/licenses/>.
   12.57 -])
   12.58 -
   12.59 -# serial 58 LT_INIT
   12.60 -
   12.61 -
   12.62 -# LT_PREREQ(VERSION)
   12.63 -# ------------------
   12.64 -# Complain and exit if this libtool version is less that VERSION.
   12.65 -m4_defun([LT_PREREQ],
   12.66 -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
   12.67 -       [m4_default([$3],
   12.68 -		   [m4_fatal([Libtool version $1 or higher is required],
   12.69 -		             63)])],
   12.70 -       [$2])])
   12.71 -
   12.72 -
   12.73 -# _LT_CHECK_BUILDDIR
   12.74 -# ------------------
   12.75 -# Complain if the absolute build directory name contains unusual characters
   12.76 -m4_defun([_LT_CHECK_BUILDDIR],
   12.77 -[case `pwd` in
   12.78 -  *\ * | *\	*)
   12.79 -    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
   12.80 -esac
   12.81 -])
   12.82 -
   12.83 -
   12.84 -# LT_INIT([OPTIONS])
   12.85 -# ------------------
   12.86 -AC_DEFUN([LT_INIT],
   12.87 -[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
   12.88 -AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
   12.89 -AC_BEFORE([$0], [LT_LANG])dnl
   12.90 -AC_BEFORE([$0], [LT_OUTPUT])dnl
   12.91 -AC_BEFORE([$0], [LTDL_INIT])dnl
   12.92 -m4_require([_LT_CHECK_BUILDDIR])dnl
   12.93 -
   12.94 -dnl Autoconf doesn't catch unexpanded LT_ macros by default:
   12.95 -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
   12.96 -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
   12.97 -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
   12.98 -dnl unless we require an AC_DEFUNed macro:
   12.99 -AC_REQUIRE([LTOPTIONS_VERSION])dnl
  12.100 -AC_REQUIRE([LTSUGAR_VERSION])dnl
  12.101 -AC_REQUIRE([LTVERSION_VERSION])dnl
  12.102 -AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  12.103 -m4_require([_LT_PROG_LTMAIN])dnl
  12.104 -
  12.105 -_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
  12.106 -
  12.107 -dnl Parse OPTIONS
  12.108 -_LT_SET_OPTIONS([$0], [$1])
  12.109 -
  12.110 -# This can be used to rebuild libtool when needed
  12.111 -LIBTOOL_DEPS=$ltmain
  12.112 -
  12.113 -# Always use our own libtool.
  12.114 -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  12.115 -AC_SUBST(LIBTOOL)dnl
  12.116 -
  12.117 -_LT_SETUP
  12.118 -
  12.119 -# Only expand once:
  12.120 -m4_define([LT_INIT])
  12.121 -])# LT_INIT
  12.122 -
  12.123 -# Old names:
  12.124 -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  12.125 -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  12.126 -dnl aclocal-1.4 backwards compatibility:
  12.127 -dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  12.128 -dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  12.129 -
  12.130 -
  12.131 -# _LT_PREPARE_CC_BASENAME
  12.132 -# -----------------------
  12.133 -m4_defun([_LT_PREPARE_CC_BASENAME], [
  12.134 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  12.135 -func_cc_basename ()
  12.136 -{
  12.137 -    for cc_temp in @S|@*""; do
  12.138 -      case $cc_temp in
  12.139 -        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  12.140 -        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  12.141 -        \-*) ;;
  12.142 -        *) break;;
  12.143 -      esac
  12.144 -    done
  12.145 -    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  12.146 -}
  12.147 -])# _LT_PREPARE_CC_BASENAME
  12.148 -
  12.149 -
  12.150 -# _LT_CC_BASENAME(CC)
  12.151 -# -------------------
  12.152 -# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
  12.153 -# but that macro is also expanded into generated libtool script, which
  12.154 -# arranges for $SED and $ECHO to be set by different means.
  12.155 -m4_defun([_LT_CC_BASENAME],
  12.156 -[m4_require([_LT_PREPARE_CC_BASENAME])dnl
  12.157 -AC_REQUIRE([_LT_DECL_SED])dnl
  12.158 -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  12.159 -func_cc_basename $1
  12.160 -cc_basename=$func_cc_basename_result
  12.161 -])
  12.162 -
  12.163 -
  12.164 -# _LT_FILEUTILS_DEFAULTS
  12.165 -# ----------------------
  12.166 -# It is okay to use these file commands and assume they have been set
  12.167 -# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
  12.168 -m4_defun([_LT_FILEUTILS_DEFAULTS],
  12.169 -[: ${CP="cp -f"}
  12.170 -: ${MV="mv -f"}
  12.171 -: ${RM="rm -f"}
  12.172 -])# _LT_FILEUTILS_DEFAULTS
  12.173 -
  12.174 -
  12.175 -# _LT_SETUP
  12.176 -# ---------
  12.177 -m4_defun([_LT_SETUP],
  12.178 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  12.179 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  12.180 -AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
  12.181 -AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
  12.182 -
  12.183 -_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
  12.184 -dnl
  12.185 -_LT_DECL([], [host_alias], [0], [The host system])dnl
  12.186 -_LT_DECL([], [host], [0])dnl
  12.187 -_LT_DECL([], [host_os], [0])dnl
  12.188 -dnl
  12.189 -_LT_DECL([], [build_alias], [0], [The build system])dnl
  12.190 -_LT_DECL([], [build], [0])dnl
  12.191 -_LT_DECL([], [build_os], [0])dnl
  12.192 -dnl
  12.193 -AC_REQUIRE([AC_PROG_CC])dnl
  12.194 -AC_REQUIRE([LT_PATH_LD])dnl
  12.195 -AC_REQUIRE([LT_PATH_NM])dnl
  12.196 -dnl
  12.197 -AC_REQUIRE([AC_PROG_LN_S])dnl
  12.198 -test -z "$LN_S" && LN_S="ln -s"
  12.199 -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  12.200 -dnl
  12.201 -AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  12.202 -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  12.203 -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  12.204 -dnl
  12.205 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  12.206 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  12.207 -m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
  12.208 -m4_require([_LT_CMD_RELOAD])dnl
  12.209 -m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  12.210 -m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
  12.211 -m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  12.212 -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  12.213 -m4_require([_LT_WITH_SYSROOT])dnl
  12.214 -m4_require([_LT_CMD_TRUNCATE])dnl
  12.215 -
  12.216 -_LT_CONFIG_LIBTOOL_INIT([
  12.217 -# See if we are running on zsh, and set the options that allow our
  12.218 -# commands through without removal of \ escapes INIT.
  12.219 -if test -n "\${ZSH_VERSION+set}"; then
  12.220 -   setopt NO_GLOB_SUBST
  12.221 -fi
  12.222 -])
  12.223 -if test -n "${ZSH_VERSION+set}"; then
  12.224 -   setopt NO_GLOB_SUBST
  12.225 -fi
  12.226 -
  12.227 -_LT_CHECK_OBJDIR
  12.228 -
  12.229 -m4_require([_LT_TAG_COMPILER])dnl
  12.230 -
  12.231 -case $host_os in
  12.232 -aix3*)
  12.233 -  # AIX sometimes has problems with the GCC collect2 program.  For some
  12.234 -  # reason, if we set the COLLECT_NAMES environment variable, the problems
  12.235 -  # vanish in a puff of smoke.
  12.236 -  if test set != "${COLLECT_NAMES+set}"; then
  12.237 -    COLLECT_NAMES=
  12.238 -    export COLLECT_NAMES
  12.239 -  fi
  12.240 -  ;;
  12.241 -esac
  12.242 -
  12.243 -# Global variables:
  12.244 -ofile=libtool
  12.245 -can_build_shared=yes
  12.246 -
  12.247 -# All known linkers require a '.a' archive for static linking (except MSVC,
  12.248 -# which needs '.lib').
  12.249 -libext=a
  12.250 -
  12.251 -with_gnu_ld=$lt_cv_prog_gnu_ld
  12.252 -
  12.253 -old_CC=$CC
  12.254 -old_CFLAGS=$CFLAGS
  12.255 -
  12.256 -# Set sane defaults for various variables
  12.257 -test -z "$CC" && CC=cc
  12.258 -test -z "$LTCC" && LTCC=$CC
  12.259 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  12.260 -test -z "$LD" && LD=ld
  12.261 -test -z "$ac_objext" && ac_objext=o
  12.262 -
  12.263 -_LT_CC_BASENAME([$compiler])
  12.264 -
  12.265 -# Only perform the check for file, if the check method requires it
  12.266 -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  12.267 -case $deplibs_check_method in
  12.268 -file_magic*)
  12.269 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  12.270 -    _LT_PATH_MAGIC
  12.271 -  fi
  12.272 -  ;;
  12.273 -esac
  12.274 -
  12.275 -# Use C for the default configuration in the libtool script
  12.276 -LT_SUPPORTED_TAG([CC])
  12.277 -_LT_LANG_C_CONFIG
  12.278 -_LT_LANG_DEFAULT_CONFIG
  12.279 -_LT_CONFIG_COMMANDS
  12.280 -])# _LT_SETUP
  12.281 -
  12.282 -
  12.283 -# _LT_PREPARE_SED_QUOTE_VARS
  12.284 -# --------------------------
  12.285 -# Define a few sed substitution that help us do robust quoting.
  12.286 -m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
  12.287 -[# Backslashify metacharacters that are still active within
  12.288 -# double-quoted strings.
  12.289 -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  12.290 -
  12.291 -# Same as above, but do not quote variable references.
  12.292 -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  12.293 -
  12.294 -# Sed substitution to delay expansion of an escaped shell variable in a
  12.295 -# double_quote_subst'ed string.
  12.296 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  12.297 -
  12.298 -# Sed substitution to delay expansion of an escaped single quote.
  12.299 -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  12.300 -
  12.301 -# Sed substitution to avoid accidental globbing in evaled expressions
  12.302 -no_glob_subst='s/\*/\\\*/g'
  12.303 -])
  12.304 -
  12.305 -# _LT_PROG_LTMAIN
  12.306 -# ---------------
  12.307 -# Note that this code is called both from 'configure', and 'config.status'
  12.308 -# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
  12.309 -# 'config.status' has no value for ac_aux_dir unless we are using Automake,
  12.310 -# so we pass a copy along to make sure it has a sensible value anyway.
  12.311 -m4_defun([_LT_PROG_LTMAIN],
  12.312 -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  12.313 -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  12.314 -ltmain=$ac_aux_dir/ltmain.sh
  12.315 -])# _LT_PROG_LTMAIN
  12.316 -
  12.317 -
  12.318 -
  12.319 -# So that we can recreate a full libtool script including additional
  12.320 -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  12.321 -# in macros and then make a single call at the end using the 'libtool'
  12.322 -# label.
  12.323 -
  12.324 -
  12.325 -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  12.326 -# ----------------------------------------
  12.327 -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  12.328 -m4_define([_LT_CONFIG_LIBTOOL_INIT],
  12.329 -[m4_ifval([$1],
  12.330 -          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  12.331 -                     [$1
  12.332 -])])])
  12.333 -
  12.334 -# Initialize.
  12.335 -m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  12.336 -
  12.337 -
  12.338 -# _LT_CONFIG_LIBTOOL([COMMANDS])
  12.339 -# ------------------------------
  12.340 -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  12.341 -m4_define([_LT_CONFIG_LIBTOOL],
  12.342 -[m4_ifval([$1],
  12.343 -          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  12.344 -                     [$1
  12.345 -])])])
  12.346 -
  12.347 -# Initialize.
  12.348 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  12.349 -
  12.350 -
  12.351 -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  12.352 -# -----------------------------------------------------
  12.353 -m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  12.354 -[_LT_CONFIG_LIBTOOL([$1])
  12.355 -_LT_CONFIG_LIBTOOL_INIT([$2])
  12.356 -])
  12.357 -
  12.358 -
  12.359 -# _LT_FORMAT_COMMENT([COMMENT])
  12.360 -# -----------------------------
  12.361 -# Add leading comment marks to the start of each line, and a trailing
  12.362 -# full-stop to the whole comment if one is not present already.
  12.363 -m4_define([_LT_FORMAT_COMMENT],
  12.364 -[m4_ifval([$1], [
  12.365 -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  12.366 -              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  12.367 -)])
  12.368 -
  12.369 -
  12.370 -
  12.371 -
  12.372 -
  12.373 -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  12.374 -# -------------------------------------------------------------------
  12.375 -# CONFIGNAME is the name given to the value in the libtool script.
  12.376 -# VARNAME is the (base) name used in the configure script.
  12.377 -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  12.378 -# VARNAME.  Any other value will be used directly.
  12.379 -m4_define([_LT_DECL],
  12.380 -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  12.381 -    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  12.382 -	[m4_ifval([$1], [$1], [$2])])
  12.383 -    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  12.384 -    m4_ifval([$4],
  12.385 -	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  12.386 -    lt_dict_add_subkey([lt_decl_dict], [$2],
  12.387 -	[tagged?], [m4_ifval([$5], [yes], [no])])])
  12.388 -])
  12.389 -
  12.390 -
  12.391 -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  12.392 -# --------------------------------------------------------
  12.393 -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  12.394 -
  12.395 -
  12.396 -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  12.397 -# ------------------------------------------------
  12.398 -m4_define([lt_decl_tag_varnames],
  12.399 -[_lt_decl_filter([tagged?], [yes], $@)])
  12.400 -
  12.401 -
  12.402 -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  12.403 -# ---------------------------------------------------------
  12.404 -m4_define([_lt_decl_filter],
  12.405 -[m4_case([$#],
  12.406 -  [0], [m4_fatal([$0: too few arguments: $#])],
  12.407 -  [1], [m4_fatal([$0: too few arguments: $#: $1])],
  12.408 -  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  12.409 -  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  12.410 -  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  12.411 -])
  12.412 -
  12.413 -
  12.414 -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  12.415 -# --------------------------------------------------
  12.416 -m4_define([lt_decl_quote_varnames],
  12.417 -[_lt_decl_filter([value], [1], $@)])
  12.418 -
  12.419 -
  12.420 -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  12.421 -# ---------------------------------------------------
  12.422 -m4_define([lt_decl_dquote_varnames],
  12.423 -[_lt_decl_filter([value], [2], $@)])
  12.424 -
  12.425 -
  12.426 -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  12.427 -# ---------------------------------------------------
  12.428 -m4_define([lt_decl_varnames_tagged],
  12.429 -[m4_assert([$# <= 2])dnl
  12.430 -_$0(m4_quote(m4_default([$1], [[, ]])),
  12.431 -    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  12.432 -    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  12.433 -m4_define([_lt_decl_varnames_tagged],
  12.434 -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  12.435 -
  12.436 -
  12.437 -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  12.438 -# ------------------------------------------------
  12.439 -m4_define([lt_decl_all_varnames],
  12.440 -[_$0(m4_quote(m4_default([$1], [[, ]])),
  12.441 -     m4_if([$2], [],
  12.442 -	   m4_quote(lt_decl_varnames),
  12.443 -	m4_quote(m4_shift($@))))[]dnl
  12.444 -])
  12.445 -m4_define([_lt_decl_all_varnames],
  12.446 -[lt_join($@, lt_decl_varnames_tagged([$1],
  12.447 -			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  12.448 -])
  12.449 -
  12.450 -
  12.451 -# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  12.452 -# ------------------------------------
  12.453 -# Quote a variable value, and forward it to 'config.status' so that its
  12.454 -# declaration there will have the same value as in 'configure'.  VARNAME
  12.455 -# must have a single quote delimited value for this to work.
  12.456 -m4_define([_LT_CONFIG_STATUS_DECLARE],
  12.457 -[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
  12.458 -
  12.459 -
  12.460 -# _LT_CONFIG_STATUS_DECLARATIONS
  12.461 -# ------------------------------
  12.462 -# We delimit libtool config variables with single quotes, so when
  12.463 -# we write them to config.status, we have to be sure to quote all
  12.464 -# embedded single quotes properly.  In configure, this macro expands
  12.465 -# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  12.466 -#
  12.467 -#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
  12.468 -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  12.469 -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  12.470 -    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  12.471 -
  12.472 -
  12.473 -# _LT_LIBTOOL_TAGS
  12.474 -# ----------------
  12.475 -# Output comment and list of tags supported by the script
  12.476 -m4_defun([_LT_LIBTOOL_TAGS],
  12.477 -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  12.478 -available_tags='_LT_TAGS'dnl
  12.479 -])
  12.480 -
  12.481 -
  12.482 -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  12.483 -# -----------------------------------
  12.484 -# Extract the dictionary values for VARNAME (optionally with TAG) and
  12.485 -# expand to a commented shell variable setting:
  12.486 -#
  12.487 -#    # Some comment about what VAR is for.
  12.488 -#    visible_name=$lt_internal_name
  12.489 -m4_define([_LT_LIBTOOL_DECLARE],
  12.490 -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  12.491 -					   [description])))[]dnl
  12.492 -m4_pushdef([_libtool_name],
  12.493 -    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  12.494 -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  12.495 -    [0], [_libtool_name=[$]$1],
  12.496 -    [1], [_libtool_name=$lt_[]$1],
  12.497 -    [2], [_libtool_name=$lt_[]$1],
  12.498 -    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  12.499 -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  12.500 -])
  12.501 -
  12.502 -
  12.503 -# _LT_LIBTOOL_CONFIG_VARS
  12.504 -# -----------------------
  12.505 -# Produce commented declarations of non-tagged libtool config variables
  12.506 -# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
  12.507 -# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
  12.508 -# section) are produced by _LT_LIBTOOL_TAG_VARS.
  12.509 -m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  12.510 -[m4_foreach([_lt_var],
  12.511 -    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  12.512 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  12.513 -
  12.514 -
  12.515 -# _LT_LIBTOOL_TAG_VARS(TAG)
  12.516 -# -------------------------
  12.517 -m4_define([_LT_LIBTOOL_TAG_VARS],
  12.518 -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  12.519 -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  12.520 -
  12.521 -
  12.522 -# _LT_TAGVAR(VARNAME, [TAGNAME])
  12.523 -# ------------------------------
  12.524 -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  12.525 -
  12.526 -
  12.527 -# _LT_CONFIG_COMMANDS
  12.528 -# -------------------
  12.529 -# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
  12.530 -# variables for single and double quote escaping we saved from calls
  12.531 -# to _LT_DECL, we can put quote escaped variables declarations
  12.532 -# into 'config.status', and then the shell code to quote escape them in
  12.533 -# for loops in 'config.status'.  Finally, any additional code accumulated
  12.534 -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  12.535 -m4_defun([_LT_CONFIG_COMMANDS],
  12.536 -[AC_PROVIDE_IFELSE([LT_OUTPUT],
  12.537 -	dnl If the libtool generation code has been placed in $CONFIG_LT,
  12.538 -	dnl instead of duplicating it all over again into config.status,
  12.539 -	dnl then we will have config.status run $CONFIG_LT later, so it
  12.540 -	dnl needs to know what name is stored there:
  12.541 -        [AC_CONFIG_COMMANDS([libtool],
  12.542 -            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  12.543 -    dnl If the libtool generation code is destined for config.status,
  12.544 -    dnl expand the accumulated commands and init code now:
  12.545 -    [AC_CONFIG_COMMANDS([libtool],
  12.546 -        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  12.547 -])#_LT_CONFIG_COMMANDS
  12.548 -
  12.549 -
  12.550 -# Initialize.
  12.551 -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  12.552 -[
  12.553 -
  12.554 -# The HP-UX ksh and POSIX shell print the target directory to stdout
  12.555 -# if CDPATH is set.
  12.556 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  12.557 -
  12.558 -sed_quote_subst='$sed_quote_subst'
  12.559 -double_quote_subst='$double_quote_subst'
  12.560 -delay_variable_subst='$delay_variable_subst'
  12.561 -_LT_CONFIG_STATUS_DECLARATIONS
  12.562 -LTCC='$LTCC'
  12.563 -LTCFLAGS='$LTCFLAGS'
  12.564 -compiler='$compiler_DEFAULT'
  12.565 -
  12.566 -# A function that is used when there is no print builtin or printf.
  12.567 -func_fallback_echo ()
  12.568 -{
  12.569 -  eval 'cat <<_LTECHO_EOF
  12.570 -\$[]1
  12.571 -_LTECHO_EOF'
  12.572 -}
  12.573 -
  12.574 -# Quote evaled strings.
  12.575 -for var in lt_decl_all_varnames([[ \
  12.576 -]], lt_decl_quote_varnames); do
  12.577 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12.578 -    *[[\\\\\\\`\\"\\\$]]*)
  12.579 -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  12.580 -      ;;
  12.581 -    *)
  12.582 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12.583 -      ;;
  12.584 -    esac
  12.585 -done
  12.586 -
  12.587 -# Double-quote double-evaled strings.
  12.588 -for var in lt_decl_all_varnames([[ \
  12.589 -]], lt_decl_dquote_varnames); do
  12.590 -    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  12.591 -    *[[\\\\\\\`\\"\\\$]]*)
  12.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
  12.593 -      ;;
  12.594 -    *)
  12.595 -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  12.596 -      ;;
  12.597 -    esac
  12.598 -done
  12.599 -
  12.600 -_LT_OUTPUT_LIBTOOL_INIT
  12.601 -])
  12.602 -
  12.603 -# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
  12.604 -# ------------------------------------
  12.605 -# Generate a child script FILE with all initialization necessary to
  12.606 -# reuse the environment learned by the parent script, and make the
  12.607 -# file executable.  If COMMENT is supplied, it is inserted after the
  12.608 -# '#!' sequence but before initialization text begins.  After this
  12.609 -# macro, additional text can be appended to FILE to form the body of
  12.610 -# the child script.  The macro ends with non-zero status if the
  12.611 -# file could not be fully written (such as if the disk is full).
  12.612 -m4_ifdef([AS_INIT_GENERATED],
  12.613 -[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
  12.614 -[m4_defun([_LT_GENERATED_FILE_INIT],
  12.615 -[m4_require([AS_PREPARE])]dnl
  12.616 -[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
  12.617 -[lt_write_fail=0
  12.618 -cat >$1 <<_ASEOF || lt_write_fail=1
  12.619 -#! $SHELL
  12.620 -# Generated by $as_me.
  12.621 -$2
  12.622 -SHELL=\${CONFIG_SHELL-$SHELL}
  12.623 -export SHELL
  12.624 -_ASEOF
  12.625 -cat >>$1 <<\_ASEOF || lt_write_fail=1
  12.626 -AS_SHELL_SANITIZE
  12.627 -_AS_PREPARE
  12.628 -exec AS_MESSAGE_FD>&1
  12.629 -_ASEOF
  12.630 -test 0 = "$lt_write_fail" && chmod +x $1[]dnl
  12.631 -m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
  12.632 -
  12.633 -# LT_OUTPUT
  12.634 -# ---------
  12.635 -# This macro allows early generation of the libtool script (before
  12.636 -# AC_OUTPUT is called), incase it is used in configure for compilation
  12.637 -# tests.
  12.638 -AC_DEFUN([LT_OUTPUT],
  12.639 -[: ${CONFIG_LT=./config.lt}
  12.640 -AC_MSG_NOTICE([creating $CONFIG_LT])
  12.641 -_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
  12.642 -[# Run this file to recreate a libtool stub with the current configuration.])
  12.643 -
  12.644 -cat >>"$CONFIG_LT" <<\_LTEOF
  12.645 -lt_cl_silent=false
  12.646 -exec AS_MESSAGE_LOG_FD>>config.log
  12.647 -{
  12.648 -  echo
  12.649 -  AS_BOX([Running $as_me.])
  12.650 -} >&AS_MESSAGE_LOG_FD
  12.651 -
  12.652 -lt_cl_help="\
  12.653 -'$as_me' creates a local libtool stub from the current configuration,
  12.654 -for use in further configure time tests before the real libtool is
  12.655 -generated.
  12.656 -
  12.657 -Usage: $[0] [[OPTIONS]]
  12.658 -
  12.659 -  -h, --help      print this help, then exit
  12.660 -  -V, --version   print version number, then exit
  12.661 -  -q, --quiet     do not print progress messages
  12.662 -  -d, --debug     don't remove temporary files
  12.663 -
  12.664 -Report bugs to <bug-libtool@gnu.org>."
  12.665 -
  12.666 -lt_cl_version="\
  12.667 -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  12.668 -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  12.669 -configured by $[0], generated by m4_PACKAGE_STRING.
  12.670 -
  12.671 -Copyright (C) 2011 Free Software Foundation, Inc.
  12.672 -This config.lt script is free software; the Free Software Foundation
  12.673 -gives unlimited permision to copy, distribute and modify it."
  12.674 -
  12.675 -while test 0 != $[#]
  12.676 -do
  12.677 -  case $[1] in
  12.678 -    --version | --v* | -V )
  12.679 -      echo "$lt_cl_version"; exit 0 ;;
  12.680 -    --help | --h* | -h )
  12.681 -      echo "$lt_cl_help"; exit 0 ;;
  12.682 -    --debug | --d* | -d )
  12.683 -      debug=: ;;
  12.684 -    --quiet | --q* | --silent | --s* | -q )
  12.685 -      lt_cl_silent=: ;;
  12.686 -
  12.687 -    -*) AC_MSG_ERROR([unrecognized option: $[1]
  12.688 -Try '$[0] --help' for more information.]) ;;
  12.689 -
  12.690 -    *) AC_MSG_ERROR([unrecognized argument: $[1]
  12.691 -Try '$[0] --help' for more information.]) ;;
  12.692 -  esac
  12.693 -  shift
  12.694 -done
  12.695 -
  12.696 -if $lt_cl_silent; then
  12.697 -  exec AS_MESSAGE_FD>/dev/null
  12.698 -fi
  12.699 -_LTEOF
  12.700 -
  12.701 -cat >>"$CONFIG_LT" <<_LTEOF
  12.702 -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  12.703 -_LTEOF
  12.704 -
  12.705 -cat >>"$CONFIG_LT" <<\_LTEOF
  12.706 -AC_MSG_NOTICE([creating $ofile])
  12.707 -_LT_OUTPUT_LIBTOOL_COMMANDS
  12.708 -AS_EXIT(0)
  12.709 -_LTEOF
  12.710 -chmod +x "$CONFIG_LT"
  12.711 -
  12.712 -# configure is writing to config.log, but config.lt does its own redirection,
  12.713 -# appending to config.log, which fails on DOS, as config.log is still kept
  12.714 -# open by configure.  Here we exec the FD to /dev/null, effectively closing
  12.715 -# config.log, so it can be properly (re)opened and appended to by config.lt.
  12.716 -lt_cl_success=:
  12.717 -test yes = "$silent" &&
  12.718 -  lt_config_lt_args="$lt_config_lt_args --quiet"
  12.719 -exec AS_MESSAGE_LOG_FD>/dev/null
  12.720 -$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  12.721 -exec AS_MESSAGE_LOG_FD>>config.log
  12.722 -$lt_cl_success || AS_EXIT(1)
  12.723 -])# LT_OUTPUT
  12.724 -
  12.725 -
  12.726 -# _LT_CONFIG(TAG)
  12.727 -# ---------------
  12.728 -# If TAG is the built-in tag, create an initial libtool script with a
  12.729 -# default configuration from the untagged config vars.  Otherwise add code
  12.730 -# to config.status for appending the configuration named by TAG from the
  12.731 -# matching tagged config vars.
  12.732 -m4_defun([_LT_CONFIG],
  12.733 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  12.734 -_LT_CONFIG_SAVE_COMMANDS([
  12.735 -  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  12.736 -  m4_if(_LT_TAG, [C], [
  12.737 -    # See if we are running on zsh, and set the options that allow our
  12.738 -    # commands through without removal of \ escapes.
  12.739 -    if test -n "${ZSH_VERSION+set}"; then
  12.740 -      setopt NO_GLOB_SUBST
  12.741 -    fi
  12.742 -
  12.743 -    cfgfile=${ofile}T
  12.744 -    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  12.745 -    $RM "$cfgfile"
  12.746 -
  12.747 -    cat <<_LT_EOF >> "$cfgfile"
  12.748 -#! $SHELL
  12.749 -# Generated automatically by $as_me ($PACKAGE) $VERSION
  12.750 -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  12.751 -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  12.752 -
  12.753 -# Provide generalized library-building support services.
  12.754 -# Written by Gordon Matzigkeit, 1996
  12.755 -
  12.756 -_LT_COPYING
  12.757 -_LT_LIBTOOL_TAGS
  12.758 -
  12.759 -# Configured defaults for sys_lib_dlsearch_path munging.
  12.760 -: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  12.761 -
  12.762 -# ### BEGIN LIBTOOL CONFIG
  12.763 -_LT_LIBTOOL_CONFIG_VARS
  12.764 -_LT_LIBTOOL_TAG_VARS
  12.765 -# ### END LIBTOOL CONFIG
  12.766 -
  12.767 -_LT_EOF
  12.768 -
  12.769 -    cat <<'_LT_EOF' >> "$cfgfile"
  12.770 -
  12.771 -# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  12.772 -
  12.773 -_LT_PREPARE_MUNGE_PATH_LIST
  12.774 -_LT_PREPARE_CC_BASENAME
  12.775 -
  12.776 -# ### END FUNCTIONS SHARED WITH CONFIGURE
  12.777 -
  12.778 -_LT_EOF
  12.779 -
  12.780 -  case $host_os in
  12.781 -  aix3*)
  12.782 -    cat <<\_LT_EOF >> "$cfgfile"
  12.783 -# AIX sometimes has problems with the GCC collect2 program.  For some
  12.784 -# reason, if we set the COLLECT_NAMES environment variable, the problems
  12.785 -# vanish in a puff of smoke.
  12.786 -if test set != "${COLLECT_NAMES+set}"; then
  12.787 -  COLLECT_NAMES=
  12.788 -  export COLLECT_NAMES
  12.789 -fi
  12.790 -_LT_EOF
  12.791 -    ;;
  12.792 -  esac
  12.793 -
  12.794 -  _LT_PROG_LTMAIN
  12.795 -
  12.796 -  # We use sed instead of cat because bash on DJGPP gets confused if
  12.797 -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  12.798 -  # text mode, it properly converts lines to CR/LF.  This bash problem
  12.799 -  # is reportedly fixed, but why not run on old versions too?
  12.800 -  sed '$q' "$ltmain" >> "$cfgfile" \
  12.801 -     || (rm -f "$cfgfile"; exit 1)
  12.802 -
  12.803 -   mv -f "$cfgfile" "$ofile" ||
  12.804 -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  12.805 -  chmod +x "$ofile"
  12.806 -],
  12.807 -[cat <<_LT_EOF >> "$ofile"
  12.808 -
  12.809 -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  12.810 -dnl in a comment (ie after a #).
  12.811 -# ### BEGIN LIBTOOL TAG CONFIG: $1
  12.812 -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  12.813 -# ### END LIBTOOL TAG CONFIG: $1
  12.814 -_LT_EOF
  12.815 -])dnl /m4_if
  12.816 -],
  12.817 -[m4_if([$1], [], [
  12.818 -    PACKAGE='$PACKAGE'
  12.819 -    VERSION='$VERSION'
  12.820 -    RM='$RM'
  12.821 -    ofile='$ofile'], [])
  12.822 -])dnl /_LT_CONFIG_SAVE_COMMANDS
  12.823 -])# _LT_CONFIG
  12.824 -
  12.825 -
  12.826 -# LT_SUPPORTED_TAG(TAG)
  12.827 -# ---------------------
  12.828 -# Trace this macro to discover what tags are supported by the libtool
  12.829 -# --tag option, using:
  12.830 -#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
  12.831 -AC_DEFUN([LT_SUPPORTED_TAG], [])
  12.832 -
  12.833 -
  12.834 -# C support is built-in for now
  12.835 -m4_define([_LT_LANG_C_enabled], [])
  12.836 -m4_define([_LT_TAGS], [])
  12.837 -
  12.838 -
  12.839 -# LT_LANG(LANG)
  12.840 -# -------------
  12.841 -# Enable libtool support for the given language if not already enabled.
  12.842 -AC_DEFUN([LT_LANG],
  12.843 -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  12.844 -m4_case([$1],
  12.845 -  [C],			[_LT_LANG(C)],
  12.846 -  [C++],		[_LT_LANG(CXX)],
  12.847 -  [Go],			[_LT_LANG(GO)],
  12.848 -  [Java],		[_LT_LANG(GCJ)],
  12.849 -  [Fortran 77],		[_LT_LANG(F77)],
  12.850 -  [Fortran],		[_LT_LANG(FC)],
  12.851 -  [Windows Resource],	[_LT_LANG(RC)],
  12.852 -  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  12.853 -    [_LT_LANG($1)],
  12.854 -    [m4_fatal([$0: unsupported language: "$1"])])])dnl
  12.855 -])# LT_LANG
  12.856 -
  12.857 -
  12.858 -# _LT_LANG(LANGNAME)
  12.859 -# ------------------
  12.860 -m4_defun([_LT_LANG],
  12.861 -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  12.862 -  [LT_SUPPORTED_TAG([$1])dnl
  12.863 -  m4_append([_LT_TAGS], [$1 ])dnl
  12.864 -  m4_define([_LT_LANG_]$1[_enabled], [])dnl
  12.865 -  _LT_LANG_$1_CONFIG($1)])dnl
  12.866 -])# _LT_LANG
  12.867 -
  12.868 -
  12.869 -m4_ifndef([AC_PROG_GO], [
  12.870 -# NOTE: This macro has been submitted for inclusion into   #
  12.871 -#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
  12.872 -#  a released version of Autoconf we should remove this    #
  12.873 -#  macro and use it instead.                               #
  12.874 -m4_defun([AC_PROG_GO],
  12.875 -[AC_LANG_PUSH(Go)dnl
  12.876 -AC_ARG_VAR([GOC],     [Go compiler command])dnl
  12.877 -AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
  12.878 -_AC_ARG_VAR_LDFLAGS()dnl
  12.879 -AC_CHECK_TOOL(GOC, gccgo)
  12.880 -if test -z "$GOC"; then
  12.881 -  if test -n "$ac_tool_prefix"; then
  12.882 -    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
  12.883 -  fi
  12.884 -fi
  12.885 -if test -z "$GOC"; then
  12.886 -  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
  12.887 -fi
  12.888 -])#m4_defun
  12.889 -])#m4_ifndef
  12.890 -
  12.891 -
  12.892 -# _LT_LANG_DEFAULT_CONFIG
  12.893 -# -----------------------
  12.894 -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  12.895 -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  12.896 -  [LT_LANG(CXX)],
  12.897 -  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  12.898 -
  12.899 -AC_PROVIDE_IFELSE([AC_PROG_F77],
  12.900 -  [LT_LANG(F77)],
  12.901 -  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  12.902 -
  12.903 -AC_PROVIDE_IFELSE([AC_PROG_FC],
  12.904 -  [LT_LANG(FC)],
  12.905 -  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  12.906 -
  12.907 -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  12.908 -dnl pulling things in needlessly.
  12.909 -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  12.910 -  [LT_LANG(GCJ)],
  12.911 -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  12.912 -    [LT_LANG(GCJ)],
  12.913 -    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  12.914 -      [LT_LANG(GCJ)],
  12.915 -      [m4_ifdef([AC_PROG_GCJ],
  12.916 -	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  12.917 -       m4_ifdef([A][M_PROG_GCJ],
  12.918 -	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  12.919 -       m4_ifdef([LT_PROG_GCJ],
  12.920 -	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  12.921 -
  12.922 -AC_PROVIDE_IFELSE([AC_PROG_GO],
  12.923 -  [LT_LANG(GO)],
  12.924 -  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
  12.925 -
  12.926 -AC_PROVIDE_IFELSE([LT_PROG_RC],
  12.927 -  [LT_LANG(RC)],
  12.928 -  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  12.929 -])# _LT_LANG_DEFAULT_CONFIG
  12.930 -
  12.931 -# Obsolete macros:
  12.932 -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  12.933 -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  12.934 -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  12.935 -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  12.936 -AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
  12.937 -dnl aclocal-1.4 backwards compatibility:
  12.938 -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  12.939 -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  12.940 -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  12.941 -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  12.942 -dnl AC_DEFUN([AC_LIBTOOL_RC], [])
  12.943 -
  12.944 -
  12.945 -# _LT_TAG_COMPILER
  12.946 -# ----------------
  12.947 -m4_defun([_LT_TAG_COMPILER],
  12.948 -[AC_REQUIRE([AC_PROG_CC])dnl
  12.949 -
  12.950 -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  12.951 -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  12.952 -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  12.953 -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  12.954 -
  12.955 -# If no C compiler was specified, use CC.
  12.956 -LTCC=${LTCC-"$CC"}
  12.957 -
  12.958 -# If no C compiler flags were specified, use CFLAGS.
  12.959 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  12.960 -
  12.961 -# Allow CC to be a program name with arguments.
  12.962 -compiler=$CC
  12.963 -])# _LT_TAG_COMPILER
  12.964 -
  12.965 -
  12.966 -# _LT_COMPILER_BOILERPLATE
  12.967 -# ------------------------
  12.968 -# Check for compiler boilerplate output or warnings with
  12.969 -# the simple compiler test code.
  12.970 -m4_defun([_LT_COMPILER_BOILERPLATE],
  12.971 -[m4_require([_LT_DECL_SED])dnl
  12.972 -ac_outfile=conftest.$ac_objext
  12.973 -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  12.974 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  12.975 -_lt_compiler_boilerplate=`cat conftest.err`
  12.976 -$RM conftest*
  12.977 -])# _LT_COMPILER_BOILERPLATE
  12.978 -
  12.979 -
  12.980 -# _LT_LINKER_BOILERPLATE
  12.981 -# ----------------------
  12.982 -# Check for linker boilerplate output or warnings with
  12.983 -# the simple link test code.
  12.984 -m4_defun([_LT_LINKER_BOILERPLATE],
  12.985 -[m4_require([_LT_DECL_SED])dnl
  12.986 -ac_outfile=conftest.$ac_objext
  12.987 -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  12.988 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  12.989 -_lt_linker_boilerplate=`cat conftest.err`
  12.990 -$RM -r conftest*
  12.991 -])# _LT_LINKER_BOILERPLATE
  12.992 -
  12.993 -# _LT_REQUIRED_DARWIN_CHECKS
  12.994 -# -------------------------
  12.995 -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  12.996 -  case $host_os in
  12.997 -    rhapsody* | darwin*)
  12.998 -    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  12.999 -    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 12.1000 -    AC_CHECK_TOOL([LIPO], [lipo], [:])
 12.1001 -    AC_CHECK_TOOL([OTOOL], [otool], [:])
 12.1002 -    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 12.1003 -    _LT_DECL([], [DSYMUTIL], [1],
 12.1004 -      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 12.1005 -    _LT_DECL([], [NMEDIT], [1],
 12.1006 -      [Tool to change global to local symbols on Mac OS X])
 12.1007 -    _LT_DECL([], [LIPO], [1],
 12.1008 -      [Tool to manipulate fat objects and archives on Mac OS X])
 12.1009 -    _LT_DECL([], [OTOOL], [1],
 12.1010 -      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 12.1011 -    _LT_DECL([], [OTOOL64], [1],
 12.1012 -      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 12.1013 -
 12.1014 -    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 12.1015 -      [lt_cv_apple_cc_single_mod=no
 12.1016 -      if test -z "$LT_MULTI_MODULE"; then
 12.1017 -	# By default we will add the -single_module flag. You can override
 12.1018 -	# by either setting the environment variable LT_MULTI_MODULE
 12.1019 -	# non-empty at configure time, or by adding -multi_module to the
 12.1020 -	# link flags.
 12.1021 -	rm -rf libconftest.dylib*
 12.1022 -	echo "int foo(void){return 1;}" > conftest.c
 12.1023 -	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 12.1024 --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 12.1025 -	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 12.1026 -	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 12.1027 -        _lt_result=$?
 12.1028 -	# If there is a non-empty error log, and "single_module"
 12.1029 -	# appears in it, assume the flag caused a linker warning
 12.1030 -        if test -s conftest.err && $GREP single_module conftest.err; then
 12.1031 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
 12.1032 -	# Otherwise, if the output was created with a 0 exit code from
 12.1033 -	# the compiler, it worked.
 12.1034 -	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
 12.1035 -	  lt_cv_apple_cc_single_mod=yes
 12.1036 -	else
 12.1037 -	  cat conftest.err >&AS_MESSAGE_LOG_FD
 12.1038 -	fi
 12.1039 -	rm -rf libconftest.dylib*
 12.1040 -	rm -f conftest.*
 12.1041 -      fi])
 12.1042 -
 12.1043 -    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 12.1044 -      [lt_cv_ld_exported_symbols_list],
 12.1045 -      [lt_cv_ld_exported_symbols_list=no
 12.1046 -      save_LDFLAGS=$LDFLAGS
 12.1047 -      echo "_main" > conftest.sym
 12.1048 -      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 12.1049 -      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 12.1050 -	[lt_cv_ld_exported_symbols_list=yes],
 12.1051 -	[lt_cv_ld_exported_symbols_list=no])
 12.1052 -	LDFLAGS=$save_LDFLAGS
 12.1053 -    ])
 12.1054 -
 12.1055 -    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
 12.1056 -      [lt_cv_ld_force_load=no
 12.1057 -      cat > conftest.c << _LT_EOF
 12.1058 -int forced_loaded() { return 2;}
 12.1059 -_LT_EOF
 12.1060 -      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
 12.1061 -      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
 12.1062 -      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
 12.1063 -      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
 12.1064 -      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
 12.1065 -      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
 12.1066 -      cat > conftest.c << _LT_EOF
 12.1067 -int main() { return 0;}
 12.1068 -_LT_EOF
 12.1069 -      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
 12.1070 -      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 12.1071 -      _lt_result=$?
 12.1072 -      if test -s conftest.err && $GREP force_load conftest.err; then
 12.1073 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 12.1074 -      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
 12.1075 -	lt_cv_ld_force_load=yes
 12.1076 -      else
 12.1077 -	cat conftest.err >&AS_MESSAGE_LOG_FD
 12.1078 -      fi
 12.1079 -        rm -f conftest.err libconftest.a conftest conftest.c
 12.1080 -        rm -rf conftest.dSYM
 12.1081 -    ])
 12.1082 -    case $host_os in
 12.1083 -    rhapsody* | darwin1.[[012]])
 12.1084 -      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
 12.1085 -    darwin1.*)
 12.1086 -      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 12.1087 -    darwin*) # darwin 5.x on
 12.1088 -      # if running on 10.5 or later, the deployment target defaults
 12.1089 -      # to the OS version, if on x86, and 10.4, the deployment
 12.1090 -      # target defaults to 10.4. Don't you love it?
 12.1091 -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 12.1092 -	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 12.1093 -	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 12.1094 -	10.[[012]][[,.]]*)
 12.1095 -	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
 12.1096 -	10.*)
 12.1097 -	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 12.1098 -      esac
 12.1099 -    ;;
 12.1100 -  esac
 12.1101 -    if test yes = "$lt_cv_apple_cc_single_mod"; then
 12.1102 -      _lt_dar_single_mod='$single_module'
 12.1103 -    fi
 12.1104 -    if test yes = "$lt_cv_ld_exported_symbols_list"; then
 12.1105 -      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
 12.1106 -    else
 12.1107 -      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
 12.1108 -    fi
 12.1109 -    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
 12.1110 -      _lt_dsymutil='~$DSYMUTIL $lib || :'
 12.1111 -    else
 12.1112 -      _lt_dsymutil=
 12.1113 -    fi
 12.1114 -    ;;
 12.1115 -  esac
 12.1116 -])
 12.1117 -
 12.1118 -
 12.1119 -# _LT_DARWIN_LINKER_FEATURES([TAG])
 12.1120 -# ---------------------------------
 12.1121 -# Checks for linker and compiler features on darwin
 12.1122 -m4_defun([_LT_DARWIN_LINKER_FEATURES],
 12.1123 -[
 12.1124 -  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
 12.1125 -  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
 12.1126 -  _LT_TAGVAR(hardcode_direct, $1)=no
 12.1127 -  _LT_TAGVAR(hardcode_automatic, $1)=yes
 12.1128 -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
 12.1129 -  if test yes = "$lt_cv_ld_force_load"; then
 12.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\"`'
 12.1131 -    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
 12.1132 -                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
 12.1133 -  else
 12.1134 -    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 12.1135 -  fi
 12.1136 -  _LT_TAGVAR(link_all_deplibs, $1)=yes
 12.1137 -  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
 12.1138 -  case $cc_basename in
 12.1139 -     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
 12.1140 -     *) _lt_dar_can_shared=$GCC ;;
 12.1141 -  esac
 12.1142 -  if test yes = "$_lt_dar_can_shared"; then
 12.1143 -    output_verbose_link_cmd=func_echo_all
 12.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"
 12.1145 -    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
 12.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"
 12.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"
 12.1148 -    m4_if([$1], [CXX],
 12.1149 -[   if test yes != "$lt_cv_apple_cc_single_mod"; then
 12.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"
 12.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"
 12.1152 -    fi
 12.1153 -],[])
 12.1154 -  else
 12.1155 -  _LT_TAGVAR(ld_shlibs, $1)=no
 12.1156 -  fi
 12.1157 -])
 12.1158 -
 12.1159 -# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
 12.1160 -# ----------------------------------
 12.1161 -# Links a minimal program and checks the executable
 12.1162 -# for the system default hardcoded library path. In most cases,
 12.1163 -# this is /usr/lib:/lib, but when the MPI compilers are used
 12.1164 -# the location of the communication and MPI libs are included too.
 12.1165 -# If we don't find anything, use the default library path according
 12.1166 -# to the aix ld manual.
 12.1167 -# Store the results from the different compilers for each TAGNAME.
 12.1168 -# Allow to override them for all tags through lt_cv_aix_libpath.
 12.1169 -m4_defun([_LT_SYS_MODULE_PATH_AIX],
 12.1170 -[m4_require([_LT_DECL_SED])dnl
 12.1171 -if test set = "${lt_cv_aix_libpath+set}"; then
 12.1172 -  aix_libpath=$lt_cv_aix_libpath
 12.1173 -else
 12.1174 -  AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
 12.1175 -  [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
 12.1176 -  lt_aix_libpath_sed='[
 12.1177 -      /Import File Strings/,/^$/ {
 12.1178 -	  /^0/ {
 12.1179 -	      s/^0  *\([^ ]*\) *$/\1/
 12.1180 -	      p
 12.1181 -	  }
 12.1182 -      }]'
 12.1183 -  _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12.1184 -  # Check for a 64-bit object if we didn't find anything.
 12.1185 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 12.1186 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12.1187 -  fi],[])
 12.1188 -  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
 12.1189 -    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
 12.1190 -  fi
 12.1191 -  ])
 12.1192 -  aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
 12.1193 -fi
 12.1194 -])# _LT_SYS_MODULE_PATH_AIX
 12.1195 -
 12.1196 -
 12.1197 -# _LT_SHELL_INIT(ARG)
 12.1198 -# -------------------
 12.1199 -m4_define([_LT_SHELL_INIT],
 12.1200 -[m4_divert_text([M4SH-INIT], [$1
 12.1201 -])])# _LT_SHELL_INIT
 12.1202 -
 12.1203 -
 12.1204 -
 12.1205 -# _LT_PROG_ECHO_BACKSLASH
 12.1206 -# -----------------------
 12.1207 -# Find how we can fake an echo command that does not interpret backslash.
 12.1208 -# In particular, with Autoconf 2.60 or later we add some code to the start
 12.1209 -# of the generated configure script that will find a shell with a builtin
 12.1210 -# printf (that we can use as an echo command).
 12.1211 -m4_defun([_LT_PROG_ECHO_BACKSLASH],
 12.1212 -[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 12.1213 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 12.1214 -ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 12.1215 -
 12.1216 -AC_MSG_CHECKING([how to print strings])
 12.1217 -# Test print first, because it will be a builtin if present.
 12.1218 -if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 12.1219 -   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 12.1220 -  ECHO='print -r --'
 12.1221 -elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 12.1222 -  ECHO='printf %s\n'
 12.1223 -else
 12.1224 -  # Use this function as a fallback that always works.
 12.1225 -  func_fallback_echo ()
 12.1226 -  {
 12.1227 -    eval 'cat <<_LTECHO_EOF
 12.1228 -$[]1
 12.1229 -_LTECHO_EOF'
 12.1230 -  }
 12.1231 -  ECHO='func_fallback_echo'
 12.1232 -fi
 12.1233 -
 12.1234 -# func_echo_all arg...
 12.1235 -# Invoke $ECHO with all args, space-separated.
 12.1236 -func_echo_all ()
 12.1237 -{
 12.1238 -    $ECHO "$*"
 12.1239 -}
 12.1240 -
 12.1241 -case $ECHO in
 12.1242 -  printf*) AC_MSG_RESULT([printf]) ;;
 12.1243 -  print*) AC_MSG_RESULT([print -r]) ;;
 12.1244 -  *) AC_MSG_RESULT([cat]) ;;
 12.1245 -esac
 12.1246 -
 12.1247 -m4_ifdef([_AS_DETECT_SUGGESTED],
 12.1248 -[_AS_DETECT_SUGGESTED([
 12.1249 -  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
 12.1250 -    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 12.1251 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 12.1252 -    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 12.1253 -    PATH=/empty FPATH=/empty; export PATH FPATH
 12.1254 -    test "X`printf %s $ECHO`" = "X$ECHO" \
 12.1255 -      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 12.1256 -
 12.1257 -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
 12.1258 -_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 12.1259 -])# _LT_PROG_ECHO_BACKSLASH
 12.1260 -
 12.1261 -
 12.1262 -# _LT_WITH_SYSROOT
 12.1263 -# ----------------
 12.1264 -AC_DEFUN([_LT_WITH_SYSROOT],
 12.1265 -[AC_MSG_CHECKING([for sysroot])
 12.1266 -AC_ARG_WITH([sysroot],
 12.1267 -[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
 12.1268 -  [Search for dependent libraries within DIR (or the compiler's sysroot
 12.1269 -   if not specified).])],
 12.1270 -[], [with_sysroot=no])
 12.1271 -
 12.1272 -dnl lt_sysroot will always be passed unquoted.  We quote it here
 12.1273 -dnl in case the user passed a directory name.
 12.1274 -lt_sysroot=
 12.1275 -case $with_sysroot in #(
 12.1276 - yes)
 12.1277 -   if test yes = "$GCC"; then
 12.1278 -     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 12.1279 -   fi
 12.1280 -   ;; #(
 12.1281 - /*)
 12.1282 -   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 12.1283 -   ;; #(
 12.1284 - no|'')
 12.1285 -   ;; #(
 12.1286 - *)
 12.1287 -   AC_MSG_RESULT([$with_sysroot])
 12.1288 -   AC_MSG_ERROR([The sysroot must be an absolute path.])
 12.1289 -   ;;
 12.1290 -esac
 12.1291 -
 12.1292 - AC_MSG_RESULT([${lt_sysroot:-no}])
 12.1293 -_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
 12.1294 -[dependent libraries, and where our libraries should be installed.])])
 12.1295 -
 12.1296 -# _LT_ENABLE_LOCK
 12.1297 -# ---------------
 12.1298 -m4_defun([_LT_ENABLE_LOCK],
 12.1299 -[AC_ARG_ENABLE([libtool-lock],
 12.1300 -  [AS_HELP_STRING([--disable-libtool-lock],
 12.1301 -    [avoid locking (might break parallel builds)])])
 12.1302 -test no = "$enable_libtool_lock" || enable_libtool_lock=yes
 12.1303 -
 12.1304 -# Some flags need to be propagated to the compiler or linker for good
 12.1305 -# libtool support.
 12.1306 -case $host in
 12.1307 -ia64-*-hpux*)
 12.1308 -  # Find out what ABI is being produced by ac_compile, and set mode
 12.1309 -  # options accordingly.
 12.1310 -  echo 'int i;' > conftest.$ac_ext
 12.1311 -  if AC_TRY_EVAL(ac_compile); then
 12.1312 -    case `/usr/bin/file conftest.$ac_objext` in
 12.1313 -      *ELF-32*)
 12.1314 -	HPUX_IA64_MODE=32
 12.1315 -	;;
 12.1316 -      *ELF-64*)
 12.1317 -	HPUX_IA64_MODE=64
 12.1318 -	;;
 12.1319 -    esac
 12.1320 -  fi
 12.1321 -  rm -rf conftest*
 12.1322 -  ;;
 12.1323 -*-*-irix6*)
 12.1324 -  # Find out what ABI is being produced by ac_compile, and set linker
 12.1325 -  # options accordingly.
 12.1326 -  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
 12.1327 -  if AC_TRY_EVAL(ac_compile); then
 12.1328 -    if test yes = "$lt_cv_prog_gnu_ld"; then
 12.1329 -      case `/usr/bin/file conftest.$ac_objext` in
 12.1330 -	*32-bit*)
 12.1331 -	  LD="${LD-ld} -melf32bsmip"
 12.1332 -	  ;;
 12.1333 -	*N32*)
 12.1334 -	  LD="${LD-ld} -melf32bmipn32"
 12.1335 -	  ;;
 12.1336 -	*64-bit*)
 12.1337 -	  LD="${LD-ld} -melf64bmip"
 12.1338 -	;;
 12.1339 -      esac
 12.1340 -    else
 12.1341 -      case `/usr/bin/file conftest.$ac_objext` in
 12.1342 -	*32-bit*)
 12.1343 -	  LD="${LD-ld} -32"
 12.1344 -	  ;;
 12.1345 -	*N32*)
 12.1346 -	  LD="${LD-ld} -n32"
 12.1347 -	  ;;
 12.1348 -	*64-bit*)
 12.1349 -	  LD="${LD-ld} -64"
 12.1350 -	  ;;
 12.1351 -      esac
 12.1352 -    fi
 12.1353 -  fi
 12.1354 -  rm -rf conftest*
 12.1355 -  ;;
 12.1356 -
 12.1357 -mips64*-*linux*)
 12.1358 -  # Find out what ABI is being produced by ac_compile, and set linker
 12.1359 -  # options accordingly.
 12.1360 -  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
 12.1361 -  if AC_TRY_EVAL(ac_compile); then
 12.1362 -    emul=elf
 12.1363 -    case `/usr/bin/file conftest.$ac_objext` in
 12.1364 -      *32-bit*)
 12.1365 -	emul="${emul}32"
 12.1366 -	;;
 12.1367 -      *64-bit*)
 12.1368 -	emul="${emul}64"
 12.1369 -	;;
 12.1370 -    esac
 12.1371 -    case `/usr/bin/file conftest.$ac_objext` in
 12.1372 -      *MSB*)
 12.1373 -	emul="${emul}btsmip"
 12.1374 -	;;
 12.1375 -      *LSB*)
 12.1376 -	emul="${emul}ltsmip"
 12.1377 -	;;
 12.1378 -    esac
 12.1379 -    case `/usr/bin/file conftest.$ac_objext` in
 12.1380 -      *N32*)
 12.1381 -	emul="${emul}n32"
 12.1382 -	;;
 12.1383 -    esac
 12.1384 -    LD="${LD-ld} -m $emul"
 12.1385 -  fi
 12.1386 -  rm -rf conftest*
 12.1387 -  ;;
 12.1388 -
 12.1389 -x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 12.1390 -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 12.1391 -  # Find out what ABI is being produced by ac_compile, and set linker
 12.1392 -  # options accordingly.  Note that the listed cases only cover the
 12.1393 -  # situations where additional linker options are needed (such as when
 12.1394 -  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 12.1395 -  # vice versa); the common cases where no linker options are needed do
 12.1396 -  # not appear in the list.
 12.1397 -  echo 'int i;' > conftest.$ac_ext
 12.1398 -  if AC_TRY_EVAL(ac_compile); then
 12.1399 -    case `/usr/bin/file conftest.o` in
 12.1400 -      *32-bit*)
 12.1401 -	case $host in
 12.1402 -	  x86_64-*kfreebsd*-gnu)
 12.1403 -	    LD="${LD-ld} -m elf_i386_fbsd"
 12.1404 -	    ;;
 12.1405 -	  x86_64-*linux*)
 12.1406 -	    case `/usr/bin/file conftest.o` in
 12.1407 -	      *x86-64*)
 12.1408 -		LD="${LD-ld} -m elf32_x86_64"
 12.1409 -		;;
 12.1410 -	      *)
 12.1411 -		LD="${LD-ld} -m elf_i386"
 12.1412 -		;;
 12.1413 -	    esac
 12.1414 -	    ;;
 12.1415 -	  powerpc64le-*linux*)
 12.1416 -	    LD="${LD-ld} -m elf32lppclinux"
 12.1417 -	    ;;
 12.1418 -	  powerpc64-*linux*)
 12.1419 -	    LD="${LD-ld} -m elf32ppclinux"
 12.1420 -	    ;;
 12.1421 -	  s390x-*linux*)
 12.1422 -	    LD="${LD-ld} -m elf_s390"
 12.1423 -	    ;;
 12.1424 -	  sparc64-*linux*)
 12.1425 -	    LD="${LD-ld} -m elf32_sparc"
 12.1426 -	    ;;
 12.1427 -	esac
 12.1428 -	;;
 12.1429 -      *64-bit*)
 12.1430 -	case $host in
 12.1431 -	  x86_64-*kfreebsd*-gnu)
 12.1432 -	    LD="${LD-ld} -m elf_x86_64_fbsd"
 12.1433 -	    ;;
 12.1434 -	  x86_64-*linux*)
 12.1435 -	    LD="${LD-ld} -m elf_x86_64"
 12.1436 -	    ;;
 12.1437 -	  powerpcle-*linux*)
 12.1438 -	    LD="${LD-ld} -m elf64lppc"
 12.1439 -	    ;;
 12.1440 -	  powerpc-*linux*)
 12.1441 -	    LD="${LD-ld} -m elf64ppc"
 12.1442 -	    ;;
 12.1443 -	  s390*-*linux*|s390*-*tpf*)
 12.1444 -	    LD="${LD-ld} -m elf64_s390"
 12.1445 -	    ;;
 12.1446 -	  sparc*-*linux*)
 12.1447 -	    LD="${LD-ld} -m elf64_sparc"
 12.1448 -	    ;;
 12.1449 -	esac
 12.1450 -	;;
 12.1451 -    esac
 12.1452 -  fi
 12.1453 -  rm -rf conftest*
 12.1454 -  ;;
 12.1455 -
 12.1456 -*-*-sco3.2v5*)
 12.1457 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 12.1458 -  SAVE_CFLAGS=$CFLAGS
 12.1459 -  CFLAGS="$CFLAGS -belf"
 12.1460 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
 12.1461 -    [AC_LANG_PUSH(C)
 12.1462 -     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
 12.1463 -     AC_LANG_POP])
 12.1464 -  if test yes != "$lt_cv_cc_needs_belf"; then
 12.1465 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 12.1466 -    CFLAGS=$SAVE_CFLAGS
 12.1467 -  fi
 12.1468 -  ;;
 12.1469 -*-*solaris*)
 12.1470 -  # Find out what ABI is being produced by ac_compile, and set linker
 12.1471 -  # options accordingly.
 12.1472 -  echo 'int i;' > conftest.$ac_ext
 12.1473 -  if AC_TRY_EVAL(ac_compile); then
 12.1474 -    case `/usr/bin/file conftest.o` in
 12.1475 -    *64-bit*)
 12.1476 -      case $lt_cv_prog_gnu_ld in
 12.1477 -      yes*)
 12.1478 -        case $host in
 12.1479 -        i?86-*-solaris*|x86_64-*-solaris*)
 12.1480 -          LD="${LD-ld} -m elf_x86_64"
 12.1481 -          ;;
 12.1482 -        sparc*-*-solaris*)
 12.1483 -          LD="${LD-ld} -m elf64_sparc"
 12.1484 -          ;;
 12.1485 -        esac
 12.1486 -        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 12.1487 -        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 12.1488 -          LD=${LD-ld}_sol2
 12.1489 -        fi
 12.1490 -        ;;
 12.1491 -      *)
 12.1492 -	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 12.1493 -	  LD="${LD-ld} -64"
 12.1494 -	fi
 12.1495 -	;;
 12.1496 -      esac
 12.1497 -      ;;
 12.1498 -    esac
 12.1499 -  fi
 12.1500 -  rm -rf conftest*
 12.1501 -  ;;
 12.1502 -esac
 12.1503 -
 12.1504 -need_locks=$enable_libtool_lock
 12.1505 -])# _LT_ENABLE_LOCK
 12.1506 -
 12.1507 -
 12.1508 -# _LT_PROG_AR
 12.1509 -# -----------
 12.1510 -m4_defun([_LT_PROG_AR],
 12.1511 -[AC_CHECK_TOOLS(AR, [ar], false)
 12.1512 -: ${AR=ar}
 12.1513 -: ${AR_FLAGS=cru}
 12.1514 -_LT_DECL([], [AR], [1], [The archiver])
 12.1515 -_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
 12.1516 -
 12.1517 -AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
 12.1518 -  [lt_cv_ar_at_file=no
 12.1519 -   AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
 12.1520 -     [echo conftest.$ac_objext > conftest.lst
 12.1521 -      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
 12.1522 -      AC_TRY_EVAL([lt_ar_try])
 12.1523 -      if test 0 -eq "$ac_status"; then
 12.1524 -	# Ensure the archiver fails upon bogus file names.
 12.1525 -	rm -f conftest.$ac_objext libconftest.a
 12.1526 -	AC_TRY_EVAL([lt_ar_try])
 12.1527 -	if test 0 -ne "$ac_status"; then
 12.1528 -          lt_cv_ar_at_file=@
 12.1529 -        fi
 12.1530 -      fi
 12.1531 -      rm -f conftest.* libconftest.a
 12.1532 -     ])
 12.1533 -  ])
 12.1534 -
 12.1535 -if test no = "$lt_cv_ar_at_file"; then
 12.1536 -  archiver_list_spec=
 12.1537 -else
 12.1538 -  archiver_list_spec=$lt_cv_ar_at_file
 12.1539 -fi
 12.1540 -_LT_DECL([], [archiver_list_spec], [1],
 12.1541 -  [How to feed a file listing to the archiver])
 12.1542 -])# _LT_PROG_AR
 12.1543 -
 12.1544 -
 12.1545 -# _LT_CMD_OLD_ARCHIVE
 12.1546 -# -------------------
 12.1547 -m4_defun([_LT_CMD_OLD_ARCHIVE],
 12.1548 -[_LT_PROG_AR
 12.1549 -
 12.1550 -AC_CHECK_TOOL(STRIP, strip, :)
 12.1551 -test -z "$STRIP" && STRIP=:
 12.1552 -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
 12.1553 -
 12.1554 -AC_CHECK_TOOL(RANLIB, ranlib, :)
 12.1555 -test -z "$RANLIB" && RANLIB=:
 12.1556 -_LT_DECL([], [RANLIB], [1],
 12.1557 -    [Commands used to install an old-style archive])
 12.1558 -
 12.1559 -# Determine commands to create old-style static archives.
 12.1560 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 12.1561 -old_postinstall_cmds='chmod 644 $oldlib'
 12.1562 -old_postuninstall_cmds=
 12.1563 -
 12.1564 -if test -n "$RANLIB"; then
 12.1565 -  case $host_os in
 12.1566 -  bitrig* | openbsd*)
 12.1567 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 12.1568 -    ;;
 12.1569 -  *)
 12.1570 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 12.1571 -    ;;
 12.1572 -  esac
 12.1573 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 12.1574 -fi
 12.1575 -
 12.1576 -case $host_os in
 12.1577 -  darwin*)
 12.1578 -    lock_old_archive_extraction=yes ;;
 12.1579 -  *)
 12.1580 -    lock_old_archive_extraction=no ;;
 12.1581 -esac
 12.1582 -_LT_DECL([], [old_postinstall_cmds], [2])
 12.1583 -_LT_DECL([], [old_postuninstall_cmds], [2])
 12.1584 -_LT_TAGDECL([], [old_archive_cmds], [2],
 12.1585 -    [Commands used to build an old-style archive])
 12.1586 -_LT_DECL([], [lock_old_archive_extraction], [0],
 12.1587 -    [Whether to use a lock for old archive extraction])
 12.1588 -])# _LT_CMD_OLD_ARCHIVE
 12.1589 -
 12.1590 -
 12.1591 -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 12.1592 -#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
 12.1593 -# ----------------------------------------------------------------
 12.1594 -# Check whether the given compiler option works
 12.1595 -AC_DEFUN([_LT_COMPILER_OPTION],
 12.1596 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 12.1597 -m4_require([_LT_DECL_SED])dnl
 12.1598 -AC_CACHE_CHECK([$1], [$2],
 12.1599 -  [$2=no
 12.1600 -   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
 12.1601 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12.1602 -   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
 12.1603 -   # Insert the option either (1) after the last *FLAGS variable, or
 12.1604 -   # (2) before a word containing "conftest.", or (3) at the end.
 12.1605 -   # Note that $ac_compile itself does not contain backslashes and begins
 12.1606 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 12.1607 -   # The option is referenced via a variable to avoid confusing sed.
 12.1608 -   lt_compile=`echo "$ac_compile" | $SED \
 12.1609 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12.1610 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 12.1611 -   -e 's:$: $lt_compiler_flag:'`
 12.1612 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 12.1613 -   (eval "$lt_compile" 2>conftest.err)
 12.1614 -   ac_status=$?
 12.1615 -   cat conftest.err >&AS_MESSAGE_LOG_FD
 12.1616 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 12.1617 -   if (exit $ac_status) && test -s "$ac_outfile"; then
 12.1618 -     # The compiler can only warn and ignore the option if not recognized
 12.1619 -     # So say no if there are warnings other than the usual output.
 12.1620 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 12.1621 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12.1622 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 12.1623 -       $2=yes
 12.1624 -     fi
 12.1625 -   fi
 12.1626 -   $RM conftest*
 12.1627 -])
 12.1628 -
 12.1629 -if test yes = "[$]$2"; then
 12.1630 -    m4_if([$5], , :, [$5])
 12.1631 -else
 12.1632 -    m4_if([$6], , :, [$6])
 12.1633 -fi
 12.1634 -])# _LT_COMPILER_OPTION
 12.1635 -
 12.1636 -# Old name:
 12.1637 -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
 12.1638 -dnl aclocal-1.4 backwards compatibility:
 12.1639 -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
 12.1640 -
 12.1641 -
 12.1642 -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
 12.1643 -#                  [ACTION-SUCCESS], [ACTION-FAILURE])
 12.1644 -# ----------------------------------------------------
 12.1645 -# Check whether the given linker option works
 12.1646 -AC_DEFUN([_LT_LINKER_OPTION],
 12.1647 -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 12.1648 -m4_require([_LT_DECL_SED])dnl
 12.1649 -AC_CACHE_CHECK([$1], [$2],
 12.1650 -  [$2=no
 12.1651 -   save_LDFLAGS=$LDFLAGS
 12.1652 -   LDFLAGS="$LDFLAGS $3"
 12.1653 -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 12.1654 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 12.1655 -     # The linker can only warn and ignore the option if not recognized
 12.1656 -     # So say no if there are warnings
 12.1657 -     if test -s conftest.err; then
 12.1658 -       # Append any errors to the config.log.
 12.1659 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
 12.1660 -       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 12.1661 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 12.1662 -       if diff conftest.exp conftest.er2 >/dev/null; then
 12.1663 -         $2=yes
 12.1664 -       fi
 12.1665 -     else
 12.1666 -       $2=yes
 12.1667 -     fi
 12.1668 -   fi
 12.1669 -   $RM -r conftest*
 12.1670 -   LDFLAGS=$save_LDFLAGS
 12.1671 -])
 12.1672 -
 12.1673 -if test yes = "[$]$2"; then
 12.1674 -    m4_if([$4], , :, [$4])
 12.1675 -else
 12.1676 -    m4_if([$5], , :, [$5])
 12.1677 -fi
 12.1678 -])# _LT_LINKER_OPTION
 12.1679 -
 12.1680 -# Old name:
 12.1681 -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
 12.1682 -dnl aclocal-1.4 backwards compatibility:
 12.1683 -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
 12.1684 -
 12.1685 -
 12.1686 -# LT_CMD_MAX_LEN
 12.1687 -#---------------
 12.1688 -AC_DEFUN([LT_CMD_MAX_LEN],
 12.1689 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 12.1690 -# find the maximum length of command line arguments
 12.1691 -AC_MSG_CHECKING([the maximum length of command line arguments])
 12.1692 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
 12.1693 -  i=0
 12.1694 -  teststring=ABCD
 12.1695 -
 12.1696 -  case $build_os in
 12.1697 -  msdosdjgpp*)
 12.1698 -    # On DJGPP, this test can blow up pretty badly due to problems in libc
 12.1699 -    # (any single argument exceeding 2000 bytes causes a buffer overrun
 12.1700 -    # during glob expansion).  Even if it were fixed, the result of this
 12.1701 -    # check would be larger than it should be.
 12.1702 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 12.1703 -    ;;
 12.1704 -
 12.1705 -  gnu*)
 12.1706 -    # Under GNU Hurd, this test is not required because there is
 12.1707 -    # no limit to the length of command line arguments.
 12.1708 -    # Libtool will interpret -1 as no limit whatsoever
 12.1709 -    lt_cv_sys_max_cmd_len=-1;
 12.1710 -    ;;
 12.1711 -
 12.1712 -  cygwin* | mingw* | cegcc*)
 12.1713 -    # On Win9x/ME, this test blows up -- it succeeds, but takes
 12.1714 -    # about 5 minutes as the teststring grows exponentially.
 12.1715 -    # Worse, since 9x/ME are not pre-emptively multitasking,
 12.1716 -    # you end up with a "frozen" computer, even though with patience
 12.1717 -    # the test eventually succeeds (with a max line length of 256k).
 12.1718 -    # Instead, let's just punt: use the minimum linelength reported by
 12.1719 -    # all of the supported platforms: 8192 (on NT/2K/XP).
 12.1720 -    lt_cv_sys_max_cmd_len=8192;
 12.1721 -    ;;
 12.1722 -
 12.1723 -  mint*)
 12.1724 -    # On MiNT this can take a long time and run out of memory.
 12.1725 -    lt_cv_sys_max_cmd_len=8192;
 12.1726 -    ;;
 12.1727 -
 12.1728 -  amigaos*)
 12.1729 -    # On AmigaOS with pdksh, this test takes hours, literally.
 12.1730 -    # So we just punt and use a minimum line length of 8192.
 12.1731 -    lt_cv_sys_max_cmd_len=8192;
 12.1732 -    ;;
 12.1733 -
 12.1734 -  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
 12.1735 -    # This has been around since 386BSD, at least.  Likely further.
 12.1736 -    if test -x /sbin/sysctl; then
 12.1737 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 12.1738 -    elif test -x /usr/sbin/sysctl; then
 12.1739 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 12.1740 -    else
 12.1741 -      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
 12.1742 -    fi
 12.1743 -    # And add a safety zone
 12.1744 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 12.1745 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 12.1746 -    ;;
 12.1747 -
 12.1748 -  interix*)
 12.1749 -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 12.1750 -    lt_cv_sys_max_cmd_len=196608
 12.1751 -    ;;
 12.1752 -
 12.1753 -  os2*)
 12.1754 -    # The test takes a long time on OS/2.
 12.1755 -    lt_cv_sys_max_cmd_len=8192
 12.1756 -    ;;
 12.1757 -
 12.1758 -  osf*)
 12.1759 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 12.1760 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 12.1761 -    # nice to cause kernel panics so lets avoid the loop below.
 12.1762 -    # First set a reasonable default.
 12.1763 -    lt_cv_sys_max_cmd_len=16384
 12.1764 -    #
 12.1765 -    if test -x /sbin/sysconfig; then
 12.1766 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 12.1767 -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 12.1768 -      esac
 12.1769 -    fi
 12.1770 -    ;;
 12.1771 -  sco3.2v5*)
 12.1772 -    lt_cv_sys_max_cmd_len=102400
 12.1773 -    ;;
 12.1774 -  sysv5* | sco5v6* | sysv4.2uw2*)
 12.1775 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 12.1776 -    if test -n "$kargmax"; then
 12.1777 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
 12.1778 -    else
 12.1779 -      lt_cv_sys_max_cmd_len=32768
 12.1780 -    fi
 12.1781 -    ;;
 12.1782 -  *)
 12.1783 -    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 12.1784 -    if test -n "$lt_cv_sys_max_cmd_len" && \
 12.1785 -       test undefined != "$lt_cv_sys_max_cmd_len"; then
 12.1786 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 12.1787 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 12.1788 -    else
 12.1789 -      # Make teststring a little bigger before we do anything with it.
 12.1790 -      # a 1K string should be a reasonable start.
 12.1791 -      for i in 1 2 3 4 5 6 7 8; do
 12.1792 -        teststring=$teststring$teststring
 12.1793 -      done
 12.1794 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 12.1795 -      # If test is not a shell built-in, we'll probably end up computing a
 12.1796 -      # maximum length that is only half of the actual maximum length, but
 12.1797 -      # we can't tell.
 12.1798 -      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
 12.1799 -	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 12.1800 -	      test 17 != "$i" # 1/2 MB should be enough
 12.1801 -      do
 12.1802 -        i=`expr $i + 1`
 12.1803 -        teststring=$teststring$teststring
 12.1804 -      done
 12.1805 -      # Only check the string length outside the loop.
 12.1806 -      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 12.1807 -      teststring=
 12.1808 -      # Add a significant safety factor because C++ compilers can tack on
 12.1809 -      # massive amounts of additional arguments before passing them to the
 12.1810 -      # linker.  It appears as though 1/2 is a usable value.
 12.1811 -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 12.1812 -    fi
 12.1813 -    ;;
 12.1814 -  esac
 12.1815 -])
 12.1816 -if test -n "$lt_cv_sys_max_cmd_len"; then
 12.1817 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
 12.1818 -else
 12.1819 -  AC_MSG_RESULT(none)
 12.1820 -fi
 12.1821 -max_cmd_len=$lt_cv_sys_max_cmd_len
 12.1822 -_LT_DECL([], [max_cmd_len], [0],
 12.1823 -    [What is the maximum length of a command?])
 12.1824 -])# LT_CMD_MAX_LEN
 12.1825 -
 12.1826 -# Old name:
 12.1827 -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
 12.1828 -dnl aclocal-1.4 backwards compatibility:
 12.1829 -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
 12.1830 -
 12.1831 -
 12.1832 -# _LT_HEADER_DLFCN
 12.1833 -# ----------------
 12.1834 -m4_defun([_LT_HEADER_DLFCN],
 12.1835 -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
 12.1836 -])# _LT_HEADER_DLFCN
 12.1837 -
 12.1838 -
 12.1839 -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
 12.1840 -#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
 12.1841 -# ----------------------------------------------------------------
 12.1842 -m4_defun([_LT_TRY_DLOPEN_SELF],
 12.1843 -[m4_require([_LT_HEADER_DLFCN])dnl
 12.1844 -if test yes = "$cross_compiling"; then :
 12.1845 -  [$4]
 12.1846 -else
 12.1847 -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12.1848 -  lt_status=$lt_dlunknown
 12.1849 -  cat > conftest.$ac_ext <<_LT_EOF
 12.1850 -[#line $LINENO "configure"
 12.1851 -#include "confdefs.h"
 12.1852 -
 12.1853 -#if HAVE_DLFCN_H
 12.1854 -#include <dlfcn.h>
 12.1855 -#endif
 12.1856 -
 12.1857 -#include <stdio.h>
 12.1858 -
 12.1859 -#ifdef RTLD_GLOBAL
 12.1860 -#  define LT_DLGLOBAL		RTLD_GLOBAL
 12.1861 -#else
 12.1862 -#  ifdef DL_GLOBAL
 12.1863 -#    define LT_DLGLOBAL		DL_GLOBAL
 12.1864 -#  else
 12.1865 -#    define LT_DLGLOBAL		0
 12.1866 -#  endif
 12.1867 -#endif
 12.1868 -
 12.1869 -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12.1870 -   find out it does not work in some platform. */
 12.1871 -#ifndef LT_DLLAZY_OR_NOW
 12.1872 -#  ifdef RTLD_LAZY
 12.1873 -#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12.1874 -#  else
 12.1875 -#    ifdef DL_LAZY
 12.1876 -#      define LT_DLLAZY_OR_NOW		DL_LAZY
 12.1877 -#    else
 12.1878 -#      ifdef RTLD_NOW
 12.1879 -#        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12.1880 -#      else
 12.1881 -#        ifdef DL_NOW
 12.1882 -#          define LT_DLLAZY_OR_NOW	DL_NOW
 12.1883 -#        else
 12.1884 -#          define LT_DLLAZY_OR_NOW	0
 12.1885 -#        endif
 12.1886 -#      endif
 12.1887 -#    endif
 12.1888 -#  endif
 12.1889 -#endif
 12.1890 -
 12.1891 -/* When -fvisibility=hidden is used, assume the code has been annotated
 12.1892 -   correspondingly for the symbols needed.  */
 12.1893 -#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 12.1894 -int fnord () __attribute__((visibility("default")));
 12.1895 -#endif
 12.1896 -
 12.1897 -int fnord () { return 42; }
 12.1898 -int main ()
 12.1899 -{
 12.1900 -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12.1901 -  int status = $lt_dlunknown;
 12.1902 -
 12.1903 -  if (self)
 12.1904 -    {
 12.1905 -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12.1906 -      else
 12.1907 -        {
 12.1908 -	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 12.1909 -          else puts (dlerror ());
 12.1910 -	}
 12.1911 -      /* dlclose (self); */
 12.1912 -    }
 12.1913 -  else
 12.1914 -    puts (dlerror ());
 12.1915 -
 12.1916 -  return status;
 12.1917 -}]
 12.1918 -_LT_EOF
 12.1919 -  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
 12.1920 -    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
 12.1921 -    lt_status=$?
 12.1922 -    case x$lt_status in
 12.1923 -      x$lt_dlno_uscore) $1 ;;
 12.1924 -      x$lt_dlneed_uscore) $2 ;;
 12.1925 -      x$lt_dlunknown|x*) $3 ;;
 12.1926 -    esac
 12.1927 -  else :
 12.1928 -    # compilation failed
 12.1929 -    $3
 12.1930 -  fi
 12.1931 -fi
 12.1932 -rm -fr conftest*
 12.1933 -])# _LT_TRY_DLOPEN_SELF
 12.1934 -
 12.1935 -
 12.1936 -# LT_SYS_DLOPEN_SELF
 12.1937 -# ------------------
 12.1938 -AC_DEFUN([LT_SYS_DLOPEN_SELF],
 12.1939 -[m4_require([_LT_HEADER_DLFCN])dnl
 12.1940 -if test yes != "$enable_dlopen"; then
 12.1941 -  enable_dlopen=unknown
 12.1942 -  enable_dlopen_self=unknown
 12.1943 -  enable_dlopen_self_static=unknown
 12.1944 -else
 12.1945 -  lt_cv_dlopen=no
 12.1946 -  lt_cv_dlopen_libs=
 12.1947 -
 12.1948 -  case $host_os in
 12.1949 -  beos*)
 12.1950 -    lt_cv_dlopen=load_add_on
 12.1951 -    lt_cv_dlopen_libs=
 12.1952 -    lt_cv_dlopen_self=yes
 12.1953 -    ;;
 12.1954 -
 12.1955 -  mingw* | pw32* | cegcc*)
 12.1956 -    lt_cv_dlopen=LoadLibrary
 12.1957 -    lt_cv_dlopen_libs=
 12.1958 -    ;;
 12.1959 -
 12.1960 -  cygwin*)
 12.1961 -    lt_cv_dlopen=dlopen
 12.1962 -    lt_cv_dlopen_libs=
 12.1963 -    ;;
 12.1964 -
 12.1965 -  darwin*)
 12.1966 -    # if libdl is installed we need to link against it
 12.1967 -    AC_CHECK_LIB([dl], [dlopen],
 12.1968 -		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
 12.1969 -    lt_cv_dlopen=dyld
 12.1970 -    lt_cv_dlopen_libs=
 12.1971 -    lt_cv_dlopen_self=yes
 12.1972 -    ])
 12.1973 -    ;;
 12.1974 -
 12.1975 -  tpf*)
 12.1976 -    # Don't try to run any link tests for TPF.  We know it's impossible
 12.1977 -    # because TPF is a cross-compiler, and we know how we open DSOs.
 12.1978 -    lt_cv_dlopen=dlopen
 12.1979 -    lt_cv_dlopen_libs=
 12.1980 -    lt_cv_dlopen_self=no
 12.1981 -    ;;
 12.1982 -
 12.1983 -  *)
 12.1984 -    AC_CHECK_FUNC([shl_load],
 12.1985 -	  [lt_cv_dlopen=shl_load],
 12.1986 -      [AC_CHECK_LIB([dld], [shl_load],
 12.1987 -	    [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
 12.1988 -	[AC_CHECK_FUNC([dlopen],
 12.1989 -	      [lt_cv_dlopen=dlopen],
 12.1990 -	  [AC_CHECK_LIB([dl], [dlopen],
 12.1991 -		[lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
 12.1992 -	    [AC_CHECK_LIB([svld], [dlopen],
 12.1993 -		  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
 12.1994 -	      [AC_CHECK_LIB([dld], [dld_link],
 12.1995 -		    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
 12.1996 -	      ])
 12.1997 -	    ])
 12.1998 -	  ])
 12.1999 -	])
 12.2000 -      ])
 12.2001 -    ;;
 12.2002 -  esac
 12.2003 -
 12.2004 -  if test no = "$lt_cv_dlopen"; then
 12.2005 -    enable_dlopen=no
 12.2006 -  else
 12.2007 -    enable_dlopen=yes
 12.2008 -  fi
 12.2009 -
 12.2010 -  case $lt_cv_dlopen in
 12.2011 -  dlopen)
 12.2012 -    save_CPPFLAGS=$CPPFLAGS
 12.2013 -    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 12.2014 -
 12.2015 -    save_LDFLAGS=$LDFLAGS
 12.2016 -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 12.2017 -
 12.2018 -    save_LIBS=$LIBS
 12.2019 -    LIBS="$lt_cv_dlopen_libs $LIBS"
 12.2020 -
 12.2021 -    AC_CACHE_CHECK([whether a program can dlopen itself],
 12.2022 -	  lt_cv_dlopen_self, [dnl
 12.2023 -	  _LT_TRY_DLOPEN_SELF(
 12.2024 -	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
 12.2025 -	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
 12.2026 -    ])
 12.2027 -
 12.2028 -    if test yes = "$lt_cv_dlopen_self"; then
 12.2029 -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 12.2030 -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
 12.2031 -	  lt_cv_dlopen_self_static, [dnl
 12.2032 -	  _LT_TRY_DLOPEN_SELF(
 12.2033 -	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
 12.2034 -	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
 12.2035 -      ])
 12.2036 -    fi
 12.2037 -
 12.2038 -    CPPFLAGS=$save_CPPFLAGS
 12.2039 -    LDFLAGS=$save_LDFLAGS
 12.2040 -    LIBS=$save_LIBS
 12.2041 -    ;;
 12.2042 -  esac
 12.2043 -
 12.2044 -  case $lt_cv_dlopen_self in
 12.2045 -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 12.2046 -  *) enable_dlopen_self=unknown ;;
 12.2047 -  esac
 12.2048 -
 12.2049 -  case $lt_cv_dlopen_self_static in
 12.2050 -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 12.2051 -  *) enable_dlopen_self_static=unknown ;;
 12.2052 -  esac
 12.2053 -fi
 12.2054 -_LT_DECL([dlopen_support], [enable_dlopen], [0],
 12.2055 -	 [Whether dlopen is supported])
 12.2056 -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
 12.2057 -	 [Whether dlopen of programs is supported])
 12.2058 -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
 12.2059 -	 [Whether dlopen of statically linked programs is supported])
 12.2060 -])# LT_SYS_DLOPEN_SELF
 12.2061 -
 12.2062 -# Old name:
 12.2063 -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
 12.2064 -dnl aclocal-1.4 backwards compatibility:
 12.2065 -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
 12.2066 -
 12.2067 -
 12.2068 -# _LT_COMPILER_C_O([TAGNAME])
 12.2069 -# ---------------------------
 12.2070 -# Check to see if options -c and -o are simultaneously supported by compiler.
 12.2071 -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
 12.2072 -m4_defun([_LT_COMPILER_C_O],
 12.2073 -[m4_require([_LT_DECL_SED])dnl
 12.2074 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 12.2075 -m4_require([_LT_TAG_COMPILER])dnl
 12.2076 -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
 12.2077 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
 12.2078 -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
 12.2079 -   $RM -r conftest 2>/dev/null
 12.2080 -   mkdir conftest
 12.2081 -   cd conftest
 12.2082 -   mkdir out
 12.2083 -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 12.2084 -
 12.2085 -   lt_compiler_flag="-o out/conftest2.$ac_objext"
 12.2086 -   # Insert the option either (1) after the last *FLAGS variable, or
 12.2087 -   # (2) before a word containing "conftest.", or (3) at the end.
 12.2088 -   # Note that $ac_compile itself does not contain backslashes and begins
 12.2089 -   # with a dollar sign (not a hyphen), so the echo should work correctly.
 12.2090 -   lt_compile=`echo "$ac_compile" | $SED \
 12.2091 -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 12.2092 -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
 12.2093 -   -e 's:$: $lt_compiler_flag:'`
 12.2094 -   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 12.2095 -   (eval "$lt_compile" 2>out/conftest.err)
 12.2096 -   ac_status=$?
 12.2097 -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
 12.2098 -   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 12.2099 -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 12.2100 -   then
 12.2101 -     # The compiler can only warn and ignore the option if not recognized
 12.2102 -     # So say no if there are warnings
 12.2103 -     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 12.2104 -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 12.2105 -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 12.2106 -       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
 12.2107 -     fi
 12.2108 -   fi
 12.2109 -   chmod u+w . 2>&AS_MESSAGE_LOG_FD
 12.2110 -   $RM conftest*
 12.2111 -   # SGI C++ compiler will create directory out/ii_files/ for
 12.2112 -   # template instantiation
 12.2113 -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 12.2114 -   $RM out/* && rmdir out
 12.2115 -   cd ..
 12.2116 -   $RM -r conftest
 12.2117 -   $RM conftest*
 12.2118 -])
 12.2119 -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
 12.2120 -	[Does compiler simultaneously support -c and -o options?])
 12.2121 -])# _LT_COMPILER_C_O
 12.2122 -
 12.2123 -
 12.2124 -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
 12.2125 -# ----------------------------------
 12.2126 -# Check to see if we can do hard links to lock some files if needed
 12.2127 -m4_defun([_LT_COMPILER_FILE_LOCKS],
 12.2128 -[m4_require([_LT_ENABLE_LOCK])dnl
 12.2129 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 12.2130 -_LT_COMPILER_C_O([$1])
 12.2131 -
 12.2132 -hard_links=nottested
 12.2133 -if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
 12.2134 -  # do not overwrite the value of need_locks provided by the user
 12.2135 -  AC_MSG_CHECKING([if we can lock with hard links])
 12.2136 -  hard_links=yes
 12.2137 -  $RM conftest*
 12.2138 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12.2139 -  touch conftest.a
 12.2140 -  ln conftest.a conftest.b 2>&5 || hard_links=no
 12.2141 -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 12.2142 -  AC_MSG_RESULT([$hard_links])
 12.2143 -  if test no = "$hard_links"; then
 12.2144 -    AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
 12.2145 -    need_locks=warn
 12.2146 -  fi
 12.2147 -else
 12.2148 -  need_locks=no
 12.2149 -fi
 12.2150 -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
 12.2151 -])# _LT_COMPILER_FILE_LOCKS
 12.2152 -
 12.2153 -
 12.2154 -# _LT_CHECK_OBJDIR
 12.2155 -# ----------------
 12.2156 -m4_defun([_LT_CHECK_OBJDIR],
 12.2157 -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
 12.2158 -[rm -f .libs 2>/dev/null
 12.2159 -mkdir .libs 2>/dev/null
 12.2160 -if test -d .libs; then
 12.2161 -  lt_cv_objdir=.libs
 12.2162 -else
 12.2163 -  # MS-DOS does not allow filenames that begin with a dot.
 12.2164 -  lt_cv_objdir=_libs
 12.2165 -fi
 12.2166 -rmdir .libs 2>/dev/null])
 12.2167 -objdir=$lt_cv_objdir
 12.2168 -_LT_DECL([], [objdir], [0],
 12.2169 -         [The name of the directory that contains temporary libtool files])dnl
 12.2170 -m4_pattern_allow([LT_OBJDIR])dnl
 12.2171 -AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
 12.2172 -  [Define to the sub-directory where libtool stores uninstalled libraries.])
 12.2173 -])# _LT_CHECK_OBJDIR
 12.2174 -
 12.2175 -
 12.2176 -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
 12.2177 -# --------------------------------------
 12.2178 -# Check hardcoding attributes.
 12.2179 -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
 12.2180 -[AC_MSG_CHECKING([how to hardcode library paths into programs])
 12.2181 -_LT_TAGVAR(hardcode_action, $1)=
 12.2182 -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
 12.2183 -   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
 12.2184 -   test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
 12.2185 -
 12.2186 -  # We can hardcode non-existent directories.
 12.2187 -  if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
 12.2188 -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 12.2189 -     # have to relink, otherwise we might link with an installed library
 12.2190 -     # when we should be linking with a yet-to-be-installed one
 12.2191 -     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
 12.2192 -     test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
 12.2193 -    # Linking always hardcodes the temporary library directory.
 12.2194 -    _LT_TAGVAR(hardcode_action, $1)=relink
 12.2195 -  else
 12.2196 -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 12.2197 -    _LT_TAGVAR(hardcode_action, $1)=immediate
 12.2198 -  fi
 12.2199 -else
 12.2200 -  # We cannot hardcode anything, or else we can only hardcode existing
 12.2201 -  # directories.
 12.2202 -  _LT_TAGVAR(hardcode_action, $1)=unsupported
 12.2203 -fi
 12.2204 -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
 12.2205 -
 12.2206 -if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
 12.2207 -   test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
 12.2208 -  # Fast installation is not supported
 12.2209 -  enable_fast_install=no
 12.2210 -elif test yes = "$shlibpath_overrides_runpath" ||
 12.2211 -     test no = "$enable_shared"; then
 12.2212 -  # Fast installation is not necessary
 12.2213 -  enable_fast_install=needless
 12.2214 -fi
 12.2215 -_LT_TAGDECL([], [hardcode_action], [0],
 12.2216 -    [How to hardcode a shared library path into an executable])
 12.2217 -])# _LT_LINKER_HARDCODE_LIBPATH
 12.2218 -
 12.2219 -
 12.2220 -# _LT_CMD_STRIPLIB
 12.2221 -# ----------------
 12.2222 -m4_defun([_LT_CMD_STRIPLIB],
 12.2223 -[m4_require([_LT_DECL_EGREP])
 12.2224 -striplib=
 12.2225 -old_striplib=
 12.2226 -AC_MSG_CHECKING([whether stripping libraries is possible])
 12.2227 -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 12.2228 -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 12.2229 -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 12.2230 -  AC_MSG_RESULT([yes])
 12.2231 -else
 12.2232 -# FIXME - insert some real tests, host_os isn't really good enough
 12.2233 -  case $host_os in
 12.2234 -  darwin*)
 12.2235 -    if test -n "$STRIP"; then
 12.2236 -      striplib="$STRIP -x"
 12.2237 -      old_striplib="$STRIP -S"
 12.2238 -      AC_MSG_RESULT([yes])
 12.2239 -    else
 12.2240 -      AC_MSG_RESULT([no])
 12.2241 -    fi
 12.2242 -    ;;
 12.2243 -  *)
 12.2244 -    AC_MSG_RESULT([no])
 12.2245 -    ;;
 12.2246 -  esac
 12.2247 -fi
 12.2248 -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
 12.2249 -_LT_DECL([], [striplib], [1])
 12.2250 -])# _LT_CMD_STRIPLIB
 12.2251 -
 12.2252 -
 12.2253 -# _LT_PREPARE_MUNGE_PATH_LIST
 12.2254 -# ---------------------------
 12.2255 -# Make sure func_munge_path_list() is defined correctly.
 12.2256 -m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
 12.2257 -[[# func_munge_path_list VARIABLE PATH
 12.2258 -# -----------------------------------
 12.2259 -# VARIABLE is name of variable containing _space_ separated list of
 12.2260 -# directories to be munged by the contents of PATH, which is string
 12.2261 -# having a format:
 12.2262 -# "DIR[:DIR]:"
 12.2263 -#       string "DIR[ DIR]" will be prepended to VARIABLE
 12.2264 -# ":DIR[:DIR]"
 12.2265 -#       string "DIR[ DIR]" will be appended to VARIABLE
 12.2266 -# "DIRP[:DIRP]::[DIRA:]DIRA"
 12.2267 -#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 12.2268 -#       "DIRA[ DIRA]" will be appended to VARIABLE
 12.2269 -# "DIR[:DIR]"
 12.2270 -#       VARIABLE will be replaced by "DIR[ DIR]"
 12.2271 -func_munge_path_list ()
 12.2272 -{
 12.2273 -    case x@S|@2 in
 12.2274 -    x)
 12.2275 -        ;;
 12.2276 -    *:)
 12.2277 -        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
 12.2278 -        ;;
 12.2279 -    x:*)
 12.2280 -        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
 12.2281 -        ;;
 12.2282 -    *::*)
 12.2283 -        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 12.2284 -        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
 12.2285 -        ;;
 12.2286 -    *)
 12.2287 -        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
 12.2288 -        ;;
 12.2289 -    esac
 12.2290 -}
 12.2291 -]])# _LT_PREPARE_PATH_LIST
 12.2292 -
 12.2293 -
 12.2294 -# _LT_SYS_DYNAMIC_LINKER([TAG])
 12.2295 -# -----------------------------
 12.2296 -# PORTME Fill in your ld.so characteristics
 12.2297 -m4_defun([_LT_SYS_DYNAMIC_LINKER],
 12.2298 -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 12.2299 -m4_require([_LT_DECL_EGREP])dnl
 12.2300 -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 12.2301 -m4_require([_LT_DECL_OBJDUMP])dnl
 12.2302 -m4_require([_LT_DECL_SED])dnl
 12.2303 -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 12.2304 -m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
 12.2305 -AC_MSG_CHECKING([dynamic linker characteristics])
 12.2306 -m4_if([$1],
 12.2307 -	[], [
 12.2308 -if test yes = "$GCC"; then
 12.2309 -  case $host_os in
 12.2310 -    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
 12.2311 -    *) lt_awk_arg='/^libraries:/' ;;
 12.2312 -  esac
 12.2313 -  case $host_os in
 12.2314 -    mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
 12.2315 -    *) lt_sed_strip_eq='s|=/|/|g' ;;
 12.2316 -  esac
 12.2317 -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 12.2318 -  case $lt_search_path_spec in
 12.2319 -  *\;*)
 12.2320 -    # if the path contains ";" then we assume it to be the separator
 12.2321 -    # otherwise default to the standard path separator (i.e. ":") - it is
 12.2322 -    # assumed that no part of a normal pathname contains ";" but that should
 12.2323 -    # okay in the real world where ";" in dirpaths is itself problematic.
 12.2324 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 12.2325 -    ;;
 12.2326 -  *)
 12.2327 -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 12.2328 -    ;;
 12.2329 -  esac
 12.2330 -  # Ok, now we have the path, separated by spaces, we can step through it
 12.2331 -  # and add multilib dir if necessary...
 12.2332 -  lt_tmp_lt_search_path_spec=
 12.2333 -  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 12.2334 -  # ...but if some path component already ends with the multilib dir we assume
 12.2335 -  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
 12.2336 -  case "$lt_multi_os_dir; $lt_search_path_spec " in
 12.2337 -  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
 12.2338 -    lt_multi_os_dir=
 12.2339 -    ;;
 12.2340 -  esac
 12.2341 -  for lt_sys_path in $lt_search_path_spec; do
 12.2342 -    if test -d "$lt_sys_path$lt_multi_os_dir"; then
 12.2343 -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
 12.2344 -    elif test -n "$lt_multi_os_dir"; then
 12.2345 -      test -d "$lt_sys_path" && \
 12.2346 -	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 12.2347 -    fi
 12.2348 -  done
 12.2349 -  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 12.2350 -BEGIN {RS = " "; FS = "/|\n";} {
 12.2351 -  lt_foo = "";
 12.2352 -  lt_count = 0;
 12.2353 -  for (lt_i = NF; lt_i > 0; lt_i--) {
 12.2354 -    if ($lt_i != "" && $lt_i != ".") {
 12.2355 -      if ($lt_i == "..") {
 12.2356 -        lt_count++;
 12.2357 -      } else {
 12.2358 -        if (lt_count == 0) {
 12.2359 -          lt_foo = "/" $lt_i lt_foo;
 12.2360 -        } else {
 12.2361 -          lt_count--;
 12.2362 -        }
 12.2363 -      }
 12.2364 -    }
 12.2365 -  }
 12.2366 -  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 12.2367 -  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 12.2368 -}'`
 12.2369 -  # AWK program above erroneously prepends '/' to C:/dos/paths
 12.2370 -  # for these hosts.
 12.2371 -  case $host_os in
 12.2372 -    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 12.2373 -      $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
 12.2374 -  esac
 12.2375 -  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 12.2376 -else
 12.2377 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 12.2378 -fi])
 12.2379 -library_names_spec=
 12.2380 -libname_spec='lib$name'
 12.2381 -soname_spec=
 12.2382 -shrext_cmds=.so
 12.2383 -postinstall_cmds=
 12.2384 -postuninstall_cmds=
 12.2385 -finish_cmds=
 12.2386 -finish_eval=
 12.2387 -shlibpath_var=
 12.2388 -shlibpath_overrides_runpath=unknown
 12.2389 -version_type=none
 12.2390 -dynamic_linker="$host_os ld.so"
 12.2391 -sys_lib_dlsearch_path_spec="/lib /usr/lib"
 12.2392 -need_lib_prefix=unknown
 12.2393 -hardcode_into_libs=no
 12.2394 -
 12.2395 -# when you set need_version to no, make sure it does not cause -set_version
 12.2396 -# flags to be left without arguments
 12.2397 -need_version=unknown
 12.2398 -
 12.2399 -AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
 12.2400 -[User-defined run-time library search path.])
 12.2401 -
 12.2402 -case $host_os in
 12.2403 -aix3*)
 12.2404 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2405 -  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
 12.2406 -  shlibpath_var=LIBPATH
 12.2407 -
 12.2408 -  # AIX 3 has no versioning support, so we append a major version to the name.
 12.2409 -  soname_spec='$libname$release$shared_ext$major'
 12.2410 -  ;;
 12.2411 -
 12.2412 -aix[[4-9]]*)
 12.2413 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2414 -  need_lib_prefix=no
 12.2415 -  need_version=no
 12.2416 -  hardcode_into_libs=yes
 12.2417 -  if test ia64 = "$host_cpu"; then
 12.2418 -    # AIX 5 supports IA64
 12.2419 -    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
 12.2420 -    shlibpath_var=LD_LIBRARY_PATH
 12.2421 -  else
 12.2422 -    # With GCC up to 2.95.x, collect2 would create an import file
 12.2423 -    # for dependence libraries.  The import file would start with
 12.2424 -    # the line '#! .'.  This would cause the generated library to
 12.2425 -    # depend on '.', always an invalid library.  This was fixed in
 12.2426 -    # development snapshots of GCC prior to 3.0.
 12.2427 -    case $host_os in
 12.2428 -      aix4 | aix4.[[01]] | aix4.[[01]].*)
 12.2429 -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 12.2430 -	   echo ' yes '
 12.2431 -	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
 12.2432 -	:
 12.2433 -      else
 12.2434 -	can_build_shared=no
 12.2435 -      fi
 12.2436 -      ;;
 12.2437 -    esac
 12.2438 -    # Using Import Files as archive members, it is possible to support
 12.2439 -    # filename-based versioning of shared library archives on AIX. While
 12.2440 -    # this would work for both with and without runtime linking, it will
 12.2441 -    # prevent static linking of such archives. So we do filename-based
 12.2442 -    # shared library versioning with .so extension only, which is used
 12.2443 -    # when both runtime linking and shared linking is enabled.
 12.2444 -    # Unfortunately, runtime linking may impact performance, so we do
 12.2445 -    # not want this to be the default eventually. Also, we use the
 12.2446 -    # versioned .so libs for executables only if there is the -brtl
 12.2447 -    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 12.2448 -    # To allow for filename-based versioning support, we need to create
 12.2449 -    # libNAME.so.V as an archive file, containing:
 12.2450 -    # *) an Import File, referring to the versioned filename of the
 12.2451 -    #    archive as well as the shared archive member, telling the
 12.2452 -    #    bitwidth (32 or 64) of that shared object, and providing the
 12.2453 -    #    list of exported symbols of that shared object, eventually
 12.2454 -    #    decorated with the 'weak' keyword
 12.2455 -    # *) the shared object with the F_LOADONLY flag set, to really avoid
 12.2456 -    #    it being seen by the linker.
 12.2457 -    # At run time we better use the real file rather than another symlink,
 12.2458 -    # but for link time we create the symlink libNAME.so -> libNAME.so.V
 12.2459 -
 12.2460 -    case $with_aix_soname,$aix_use_runtimelinking in
 12.2461 -    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
 12.2462 -    # soname into executable. Probably we can add versioning support to
 12.2463 -    # collect2, so additional links can be useful in future.
 12.2464 -    aix,yes) # traditional libtool
 12.2465 -      dynamic_linker='AIX unversionable lib.so'
 12.2466 -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 12.2467 -      # instead of lib<name>.a to let people know that these are not
 12.2468 -      # typical AIX shared libraries.
 12.2469 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2470 -      ;;
 12.2471 -    aix,no) # traditional AIX only
 12.2472 -      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
 12.2473 -      # We preserve .a as extension for shared libraries through AIX4.2
 12.2474 -      # and later when we are not doing run time linking.
 12.2475 -      library_names_spec='$libname$release.a $libname.a'
 12.2476 -      soname_spec='$libname$release$shared_ext$major'
 12.2477 -      ;;
 12.2478 -    svr4,*) # full svr4 only
 12.2479 -      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
 12.2480 -      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 12.2481 -      # We do not specify a path in Import Files, so LIBPATH fires.
 12.2482 -      shlibpath_overrides_runpath=yes
 12.2483 -      ;;
 12.2484 -    *,yes) # both, prefer svr4
 12.2485 -      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
 12.2486 -      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 12.2487 -      # unpreferred sharedlib libNAME.a needs extra handling
 12.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"'
 12.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"'
 12.2490 -      # We do not specify a path in Import Files, so LIBPATH fires.
 12.2491 -      shlibpath_overrides_runpath=yes
 12.2492 -      ;;
 12.2493 -    *,no) # both, prefer aix
 12.2494 -      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
 12.2495 -      library_names_spec='$libname$release.a $libname.a'
 12.2496 -      soname_spec='$libname$release$shared_ext$major'
 12.2497 -      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 12.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)'
 12.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"'
 12.2500 -      ;;
 12.2501 -    esac
 12.2502 -    shlibpath_var=LIBPATH
 12.2503 -  fi
 12.2504 -  ;;
 12.2505 -
 12.2506 -amigaos*)
 12.2507 -  case $host_cpu in
 12.2508 -  powerpc)
 12.2509 -    # Since July 2007 AmigaOS4 officially supports .so libraries.
 12.2510 -    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 12.2511 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2512 -    ;;
 12.2513 -  m68k)
 12.2514 -    library_names_spec='$libname.ixlibrary $libname.a'
 12.2515 -    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 12.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'
 12.2517 -    ;;
 12.2518 -  esac
 12.2519 -  ;;
 12.2520 -
 12.2521 -beos*)
 12.2522 -  library_names_spec='$libname$shared_ext'
 12.2523 -  dynamic_linker="$host_os ld.so"
 12.2524 -  shlibpath_var=LIBRARY_PATH
 12.2525 -  ;;
 12.2526 -
 12.2527 -bsdi[[45]]*)
 12.2528 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2529 -  need_version=no
 12.2530 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2531 -  soname_spec='$libname$release$shared_ext$major'
 12.2532 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 12.2533 -  shlibpath_var=LD_LIBRARY_PATH
 12.2534 -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 12.2535 -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 12.2536 -  # the default ld.so.conf also contains /usr/contrib/lib and
 12.2537 -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 12.2538 -  # libtool to hard-code these into programs
 12.2539 -  ;;
 12.2540 -
 12.2541 -cygwin* | mingw* | pw32* | cegcc*)
 12.2542 -  version_type=windows
 12.2543 -  shrext_cmds=.dll
 12.2544 -  need_version=no
 12.2545 -  need_lib_prefix=no
 12.2546 -
 12.2547 -  case $GCC,$cc_basename in
 12.2548 -  yes,*)
 12.2549 -    # gcc
 12.2550 -    library_names_spec='$libname.dll.a'
 12.2551 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 12.2552 -    postinstall_cmds='base_file=`basename \$file`~
 12.2553 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 12.2554 -      dldir=$destdir/`dirname \$dlpath`~
 12.2555 -      test -d \$dldir || mkdir -p \$dldir~
 12.2556 -      $install_prog $dir/$dlname \$dldir/$dlname~
 12.2557 -      chmod a+x \$dldir/$dlname~
 12.2558 -      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 12.2559 -        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 12.2560 -      fi'
 12.2561 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 12.2562 -      dlpath=$dir/\$dldll~
 12.2563 -       $RM \$dlpath'
 12.2564 -    shlibpath_overrides_runpath=yes
 12.2565 -
 12.2566 -    case $host_os in
 12.2567 -    cygwin*)
 12.2568 -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 12.2569 -      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 12.2570 -m4_if([$1], [],[
 12.2571 -      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
 12.2572 -      ;;
 12.2573 -    mingw* | cegcc*)
 12.2574 -      # MinGW DLLs use traditional 'lib' prefix
 12.2575 -      soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 12.2576 -      ;;
 12.2577 -    pw32*)
 12.2578 -      # pw32 DLLs use 'pw' prefix rather than 'lib'
 12.2579 -      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 12.2580 -      ;;
 12.2581 -    esac
 12.2582 -    dynamic_linker='Win32 ld.exe'
 12.2583 -    ;;
 12.2584 -
 12.2585 -  *,cl*)
 12.2586 -    # Native MSVC
 12.2587 -    libname_spec='$name'
 12.2588 -    soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
 12.2589 -    library_names_spec='$libname.dll.lib'
 12.2590 -
 12.2591 -    case $build_os in
 12.2592 -    mingw*)
 12.2593 -      sys_lib_search_path_spec=
 12.2594 -      lt_save_ifs=$IFS
 12.2595 -      IFS=';'
 12.2596 -      for lt_path in $LIB
 12.2597 -      do
 12.2598 -        IFS=$lt_save_ifs
 12.2599 -        # Let DOS variable expansion print the short 8.3 style file name.
 12.2600 -        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 12.2601 -        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 12.2602 -      done
 12.2603 -      IFS=$lt_save_ifs
 12.2604 -      # Convert to MSYS style.
 12.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|^ ||'`
 12.2606 -      ;;
 12.2607 -    cygwin*)
 12.2608 -      # Convert to unix form, then to dos form, then back to unix form
 12.2609 -      # but this time dos style (no spaces!) so that the unix form looks
 12.2610 -      # like /cygdrive/c/PROGRA~1:/cygdr...
 12.2611 -      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 12.2612 -      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 12.2613 -      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 12.2614 -      ;;
 12.2615 -    *)
 12.2616 -      sys_lib_search_path_spec=$LIB
 12.2617 -      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
 12.2618 -        # It is most probably a Windows format PATH.
 12.2619 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 12.2620 -      else
 12.2621 -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 12.2622 -      fi
 12.2623 -      # FIXME: find the short name or the path components, as spaces are
 12.2624 -      # common. (e.g. "Program Files" -> "PROGRA~1")
 12.2625 -      ;;
 12.2626 -    esac
 12.2627 -
 12.2628 -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 12.2629 -    postinstall_cmds='base_file=`basename \$file`~
 12.2630 -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
 12.2631 -      dldir=$destdir/`dirname \$dlpath`~
 12.2632 -      test -d \$dldir || mkdir -p \$dldir~
 12.2633 -      $install_prog $dir/$dlname \$dldir/$dlname'
 12.2634 -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 12.2635 -      dlpath=$dir/\$dldll~
 12.2636 -       $RM \$dlpath'
 12.2637 -    shlibpath_overrides_runpath=yes
 12.2638 -    dynamic_linker='Win32 link.exe'
 12.2639 -    ;;
 12.2640 -
 12.2641 -  *)
 12.2642 -    # Assume MSVC wrapper
 12.2643 -    library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
 12.2644 -    dynamic_linker='Win32 ld.exe'
 12.2645 -    ;;
 12.2646 -  esac
 12.2647 -  # FIXME: first we should search . and the directory the executable is in
 12.2648 -  shlibpath_var=PATH
 12.2649 -  ;;
 12.2650 -
 12.2651 -darwin* | rhapsody*)
 12.2652 -  dynamic_linker="$host_os dyld"
 12.2653 -  version_type=darwin
 12.2654 -  need_lib_prefix=no
 12.2655 -  need_version=no
 12.2656 -  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
 12.2657 -  soname_spec='$libname$release$major$shared_ext'
 12.2658 -  shlibpath_overrides_runpath=yes
 12.2659 -  shlibpath_var=DYLD_LIBRARY_PATH
 12.2660 -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 12.2661 -m4_if([$1], [],[
 12.2662 -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
 12.2663 -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 12.2664 -  ;;
 12.2665 -
 12.2666 -dgux*)
 12.2667 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2668 -  need_lib_prefix=no
 12.2669 -  need_version=no
 12.2670 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2671 -  soname_spec='$libname$release$shared_ext$major'
 12.2672 -  shlibpath_var=LD_LIBRARY_PATH
 12.2673 -  ;;
 12.2674 -
 12.2675 -freebsd* | dragonfly*)
 12.2676 -  # DragonFly does not have aout.  When/if they implement a new
 12.2677 -  # versioning mechanism, adjust this.
 12.2678 -  if test -x /usr/bin/objformat; then
 12.2679 -    objformat=`/usr/bin/objformat`
 12.2680 -  else
 12.2681 -    case $host_os in
 12.2682 -    freebsd[[23]].*) objformat=aout ;;
 12.2683 -    *) objformat=elf ;;
 12.2684 -    esac
 12.2685 -  fi
 12.2686 -  version_type=freebsd-$objformat
 12.2687 -  case $version_type in
 12.2688 -    freebsd-elf*)
 12.2689 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2690 -      soname_spec='$libname$release$shared_ext$major'
 12.2691 -      need_version=no
 12.2692 -      need_lib_prefix=no
 12.2693 -      ;;
 12.2694 -    freebsd-*)
 12.2695 -      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 12.2696 -      need_version=yes
 12.2697 -      ;;
 12.2698 -  esac
 12.2699 -  shlibpath_var=LD_LIBRARY_PATH
 12.2700 -  case $host_os in
 12.2701 -  freebsd2.*)
 12.2702 -    shlibpath_overrides_runpath=yes
 12.2703 -    ;;
 12.2704 -  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
 12.2705 -    shlibpath_overrides_runpath=yes
 12.2706 -    hardcode_into_libs=yes
 12.2707 -    ;;
 12.2708 -  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
 12.2709 -  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
 12.2710 -    shlibpath_overrides_runpath=no
 12.2711 -    hardcode_into_libs=yes
 12.2712 -    ;;
 12.2713 -  *) # from 4.6 on, and DragonFly
 12.2714 -    shlibpath_overrides_runpath=yes
 12.2715 -    hardcode_into_libs=yes
 12.2716 -    ;;
 12.2717 -  esac
 12.2718 -  ;;
 12.2719 -
 12.2720 -haiku*)
 12.2721 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2722 -  need_lib_prefix=no
 12.2723 -  need_version=no
 12.2724 -  dynamic_linker="$host_os runtime_loader"
 12.2725 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2726 -  soname_spec='$libname$release$shared_ext$major'
 12.2727 -  shlibpath_var=LIBRARY_PATH
 12.2728 -  shlibpath_overrides_runpath=no
 12.2729 -  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 12.2730 -  hardcode_into_libs=yes
 12.2731 -  ;;
 12.2732 -
 12.2733 -hpux9* | hpux10* | hpux11*)
 12.2734 -  # Give a soname corresponding to the major version so that dld.sl refuses to
 12.2735 -  # link against other versions.
 12.2736 -  version_type=sunos
 12.2737 -  need_lib_prefix=no
 12.2738 -  need_version=no
 12.2739 -  case $host_cpu in
 12.2740 -  ia64*)
 12.2741 -    shrext_cmds='.so'
 12.2742 -    hardcode_into_libs=yes
 12.2743 -    dynamic_linker="$host_os dld.so"
 12.2744 -    shlibpath_var=LD_LIBRARY_PATH
 12.2745 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 12.2746 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2747 -    soname_spec='$libname$release$shared_ext$major'
 12.2748 -    if test 32 = "$HPUX_IA64_MODE"; then
 12.2749 -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 12.2750 -      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
 12.2751 -    else
 12.2752 -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 12.2753 -      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
 12.2754 -    fi
 12.2755 -    ;;
 12.2756 -  hppa*64*)
 12.2757 -    shrext_cmds='.sl'
 12.2758 -    hardcode_into_libs=yes
 12.2759 -    dynamic_linker="$host_os dld.sl"
 12.2760 -    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 12.2761 -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 12.2762 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2763 -    soname_spec='$libname$release$shared_ext$major'
 12.2764 -    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 12.2765 -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 12.2766 -    ;;
 12.2767 -  *)
 12.2768 -    shrext_cmds='.sl'
 12.2769 -    dynamic_linker="$host_os dld.sl"
 12.2770 -    shlibpath_var=SHLIB_PATH
 12.2771 -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 12.2772 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2773 -    soname_spec='$libname$release$shared_ext$major'
 12.2774 -    ;;
 12.2775 -  esac
 12.2776 -  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 12.2777 -  postinstall_cmds='chmod 555 $lib'
 12.2778 -  # or fails outright, so override atomically:
 12.2779 -  install_override_mode=555
 12.2780 -  ;;
 12.2781 -
 12.2782 -interix[[3-9]]*)
 12.2783 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2784 -  need_lib_prefix=no
 12.2785 -  need_version=no
 12.2786 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2787 -  soname_spec='$libname$release$shared_ext$major'
 12.2788 -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 12.2789 -  shlibpath_var=LD_LIBRARY_PATH
 12.2790 -  shlibpath_overrides_runpath=no
 12.2791 -  hardcode_into_libs=yes
 12.2792 -  ;;
 12.2793 -
 12.2794 -irix5* | irix6* | nonstopux*)
 12.2795 -  case $host_os in
 12.2796 -    nonstopux*) version_type=nonstopux ;;
 12.2797 -    *)
 12.2798 -	if test yes = "$lt_cv_prog_gnu_ld"; then
 12.2799 -		version_type=linux # correct to gnu/linux during the next big refactor
 12.2800 -	else
 12.2801 -		version_type=irix
 12.2802 -	fi ;;
 12.2803 -  esac
 12.2804 -  need_lib_prefix=no
 12.2805 -  need_version=no
 12.2806 -  soname_spec='$libname$release$shared_ext$major'
 12.2807 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
 12.2808 -  case $host_os in
 12.2809 -  irix5* | nonstopux*)
 12.2810 -    libsuff= shlibsuff=
 12.2811 -    ;;
 12.2812 -  *)
 12.2813 -    case $LD in # libtool.m4 will add one of these switches to LD
 12.2814 -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 12.2815 -      libsuff= shlibsuff= libmagic=32-bit;;
 12.2816 -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 12.2817 -      libsuff=32 shlibsuff=N32 libmagic=N32;;
 12.2818 -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 12.2819 -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 12.2820 -    *) libsuff= shlibsuff= libmagic=never-match;;
 12.2821 -    esac
 12.2822 -    ;;
 12.2823 -  esac
 12.2824 -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 12.2825 -  shlibpath_overrides_runpath=no
 12.2826 -  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
 12.2827 -  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
 12.2828 -  hardcode_into_libs=yes
 12.2829 -  ;;
 12.2830 -
 12.2831 -# No shared lib support for Linux oldld, aout, or coff.
 12.2832 -linux*oldld* | linux*aout* | linux*coff*)
 12.2833 -  dynamic_linker=no
 12.2834 -  ;;
 12.2835 -
 12.2836 -linux*android*)
 12.2837 -  version_type=none # Android doesn't support versioned libraries.
 12.2838 -  need_lib_prefix=no
 12.2839 -  need_version=no
 12.2840 -  library_names_spec='$libname$release$shared_ext'
 12.2841 -  soname_spec='$libname$release$shared_ext'
 12.2842 -  finish_cmds=
 12.2843 -  shlibpath_var=LD_LIBRARY_PATH
 12.2844 -  shlibpath_overrides_runpath=yes
 12.2845 -
 12.2846 -  # This implies no fast_install, which is unacceptable.
 12.2847 -  # Some rework will be needed to allow for fast_install
 12.2848 -  # before this can be enabled.
 12.2849 -  hardcode_into_libs=yes
 12.2850 -
 12.2851 -  dynamic_linker='Android linker'
 12.2852 -  # Don't embed -rpath directories since the linker doesn't support them.
 12.2853 -  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 12.2854 -  ;;
 12.2855 -
 12.2856 -# This must be glibc/ELF.
 12.2857 -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 12.2858 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2859 -  need_lib_prefix=no
 12.2860 -  need_version=no
 12.2861 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2862 -  soname_spec='$libname$release$shared_ext$major'
 12.2863 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 12.2864 -  shlibpath_var=LD_LIBRARY_PATH
 12.2865 -  shlibpath_overrides_runpath=no
 12.2866 -
 12.2867 -  # Some binutils ld are patched to set DT_RUNPATH
 12.2868 -  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
 12.2869 -    [lt_cv_shlibpath_overrides_runpath=no
 12.2870 -    save_LDFLAGS=$LDFLAGS
 12.2871 -    save_libdir=$libdir
 12.2872 -    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 12.2873 -	 LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 12.2874 -    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 12.2875 -      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 12.2876 -	 [lt_cv_shlibpath_overrides_runpath=yes])])
 12.2877 -    LDFLAGS=$save_LDFLAGS
 12.2878 -    libdir=$save_libdir
 12.2879 -    ])
 12.2880 -  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 12.2881 -
 12.2882 -  # This implies no fast_install, which is unacceptable.
 12.2883 -  # Some rework will be needed to allow for fast_install
 12.2884 -  # before this can be enabled.
 12.2885 -  hardcode_into_libs=yes
 12.2886 -
 12.2887 -  # Ideally, we could use ldconfig to report *all* directores which are
 12.2888 -  # searched for libraries, however this is still not possible.  Aside from not
 12.2889 -  # being certain /sbin/ldconfig is available, command
 12.2890 -  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 12.2891 -  # even though it is searched at run-time.  Try to do the best guess by
 12.2892 -  # appending ld.so.conf contents (and includes) to the search path.
 12.2893 -  if test -f /etc/ld.so.conf; then
 12.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' ' '`
 12.2895 -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 12.2896 -  fi
 12.2897 -
 12.2898 -  # We used to test for /lib/ld.so.1 and disable shared libraries on
 12.2899 -  # powerpc, because MkLinux only supported shared libraries with the
 12.2900 -  # GNU dynamic linker.  Since this was broken with cross compilers,
 12.2901 -  # most powerpc-linux boxes support dynamic linking these days and
 12.2902 -  # people can always --disable-shared, the test was removed, and we
 12.2903 -  # assume the GNU/Linux dynamic linker is in use.
 12.2904 -  dynamic_linker='GNU/Linux ld.so'
 12.2905 -  ;;
 12.2906 -
 12.2907 -netbsd*)
 12.2908 -  version_type=sunos
 12.2909 -  need_lib_prefix=no
 12.2910 -  need_version=no
 12.2911 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 12.2912 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 12.2913 -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 12.2914 -    dynamic_linker='NetBSD (a.out) ld.so'
 12.2915 -  else
 12.2916 -    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2917 -    soname_spec='$libname$release$shared_ext$major'
 12.2918 -    dynamic_linker='NetBSD ld.elf_so'
 12.2919 -  fi
 12.2920 -  shlibpath_var=LD_LIBRARY_PATH
 12.2921 -  shlibpath_overrides_runpath=yes
 12.2922 -  hardcode_into_libs=yes
 12.2923 -  ;;
 12.2924 -
 12.2925 -newsos6)
 12.2926 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.2927 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2928 -  shlibpath_var=LD_LIBRARY_PATH
 12.2929 -  shlibpath_overrides_runpath=yes
 12.2930 -  ;;
 12.2931 -
 12.2932 -*nto* | *qnx*)
 12.2933 -  version_type=qnx
 12.2934 -  need_lib_prefix=no
 12.2935 -  need_version=no
 12.2936 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2937 -  soname_spec='$libname$release$shared_ext$major'
 12.2938 -  shlibpath_var=LD_LIBRARY_PATH
 12.2939 -  shlibpath_overrides_runpath=no
 12.2940 -  hardcode_into_libs=yes
 12.2941 -  dynamic_linker='ldqnx.so'
 12.2942 -  ;;
 12.2943 -
 12.2944 -openbsd* | bitrig*)
 12.2945 -  version_type=sunos
 12.2946 -  sys_lib_dlsearch_path_spec=/usr/lib
 12.2947 -  need_lib_prefix=no
 12.2948 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 12.2949 -    need_version=no
 12.2950 -  else
 12.2951 -    need_version=yes
 12.2952 -  fi
 12.2953 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 12.2954 -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 12.2955 -  shlibpath_var=LD_LIBRARY_PATH
 12.2956 -  shlibpath_overrides_runpath=yes
 12.2957 -  ;;
 12.2958 -
 12.2959 -os2*)
 12.2960 -  libname_spec='$name'
 12.2961 -  version_type=windows
 12.2962 -  shrext_cmds=.dll
 12.2963 -  need_version=no
 12.2964 -  need_lib_prefix=no
 12.2965 -  # OS/2 can only load a DLL with a base name of 8 characters or less.
 12.2966 -  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 12.2967 -    v=$($ECHO $release$versuffix | tr -d .-);
 12.2968 -    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 12.2969 -    $ECHO $n$v`$shared_ext'
 12.2970 -  library_names_spec='${libname}_dll.$libext'
 12.2971 -  dynamic_linker='OS/2 ld.exe'
 12.2972 -  shlibpath_var=BEGINLIBPATH
 12.2973 -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 12.2974 -  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 12.2975 -  postinstall_cmds='base_file=`basename \$file`~
 12.2976 -    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 12.2977 -    dldir=$destdir/`dirname \$dlpath`~
 12.2978 -    test -d \$dldir || mkdir -p \$dldir~
 12.2979 -    $install_prog $dir/$dlname \$dldir/$dlname~
 12.2980 -    chmod a+x \$dldir/$dlname~
 12.2981 -    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 12.2982 -      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 12.2983 -    fi'
 12.2984 -  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 12.2985 -    dlpath=$dir/\$dldll~
 12.2986 -    $RM \$dlpath'
 12.2987 -  ;;
 12.2988 -
 12.2989 -osf3* | osf4* | osf5*)
 12.2990 -  version_type=osf
 12.2991 -  need_lib_prefix=no
 12.2992 -  need_version=no
 12.2993 -  soname_spec='$libname$release$shared_ext$major'
 12.2994 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.2995 -  shlibpath_var=LD_LIBRARY_PATH
 12.2996 -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 12.2997 -  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 12.2998 -  ;;
 12.2999 -
 12.3000 -rdos*)
 12.3001 -  dynamic_linker=no
 12.3002 -  ;;
 12.3003 -
 12.3004 -solaris*)
 12.3005 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.3006 -  need_lib_prefix=no
 12.3007 -  need_version=no
 12.3008 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.3009 -  soname_spec='$libname$release$shared_ext$major'
 12.3010 -  shlibpath_var=LD_LIBRARY_PATH
 12.3011 -  shlibpath_overrides_runpath=yes
 12.3012 -  hardcode_into_libs=yes
 12.3013 -  # ldd complains unless libraries are executable
 12.3014 -  postinstall_cmds='chmod +x $lib'
 12.3015 -  ;;
 12.3016 -
 12.3017 -sunos4*)
 12.3018 -  version_type=sunos
 12.3019 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
 12.3020 -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 12.3021 -  shlibpath_var=LD_LIBRARY_PATH
 12.3022 -  shlibpath_overrides_runpath=yes
 12.3023 -  if test yes = "$with_gnu_ld"; then
 12.3024 -    need_lib_prefix=no
 12.3025 -  fi
 12.3026 -  need_version=yes
 12.3027 -  ;;
 12.3028 -
 12.3029 -sysv4 | sysv4.3*)
 12.3030 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.3031 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.3032 -  soname_spec='$libname$release$shared_ext$major'
 12.3033 -  shlibpath_var=LD_LIBRARY_PATH
 12.3034 -  case $host_vendor in
 12.3035 -    sni)
 12.3036 -      shlibpath_overrides_runpath=no
 12.3037 -      need_lib_prefix=no
 12.3038 -      runpath_var=LD_RUN_PATH
 12.3039 -      ;;
 12.3040 -    siemens)
 12.3041 -      need_lib_prefix=no
 12.3042 -      ;;
 12.3043 -    motorola)
 12.3044 -      need_lib_prefix=no
 12.3045 -      need_version=no
 12.3046 -      shlibpath_overrides_runpath=no
 12.3047 -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 12.3048 -      ;;
 12.3049 -  esac
 12.3050 -  ;;
 12.3051 -
 12.3052 -sysv4*MP*)
 12.3053 -  if test -d /usr/nec; then
 12.3054 -    version_type=linux # correct to gnu/linux during the next big refactor
 12.3055 -    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
 12.3056 -    soname_spec='$libname$shared_ext.$major'
 12.3057 -    shlibpath_var=LD_LIBRARY_PATH
 12.3058 -  fi
 12.3059 -  ;;
 12.3060 -
 12.3061 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 12.3062 -  version_type=sco
 12.3063 -  need_lib_prefix=no
 12.3064 -  need_version=no
 12.3065 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 12.3066 -  soname_spec='$libname$release$shared_ext$major'
 12.3067 -  shlibpath_var=LD_LIBRARY_PATH
 12.3068 -  shlibpath_overrides_runpath=yes
 12.3069 -  hardcode_into_libs=yes
 12.3070 -  if test yes = "$with_gnu_ld"; then
 12.3071 -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 12.3072 -  else
 12.3073 -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 12.3074 -    case $host_os in
 12.3075 -      sco3.2v5*)
 12.3076 -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 12.3077 -	;;
 12.3078 -    esac
 12.3079 -  fi
 12.3080 -  sys_lib_dlsearch_path_spec='/usr/lib'
 12.3081 -  ;;
 12.3082 -
 12.3083 -tpf*)
 12.3084 -  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 12.3085 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.3086 -  need_lib_prefix=no
 12.3087 -  need_version=no
 12.3088 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.3089 -  shlibpath_var=LD_LIBRARY_PATH
 12.3090 -  shlibpath_overrides_runpath=no
 12.3091 -  hardcode_into_libs=yes
 12.3092 -  ;;
 12.3093 -
 12.3094 -uts4*)
 12.3095 -  version_type=linux # correct to gnu/linux during the next big refactor
 12.3096 -  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 12.3097 -  soname_spec='$libname$release$shared_ext$major'
 12.3098 -  shlibpath_var=LD_LIBRARY_PATH
 12.3099 -  ;;
 12.3100 -
 12.3101 -*)
 12.3102 -  dynamic_linker=no
 12.3103 -  ;;
 12.3104 -esac
 12.3105 -AC_MSG_RESULT([$dynamic_linker])
 12.3106 -test no = "$dynamic_linker" && can_build_shared=no
 12.3107 -
 12.3108 -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 12.3109 -if test yes = "$GCC"; then
 12.3110 -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 12.3111 -fi
 12.3112 -
 12.3113 -if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
 12.3114 -  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 12.3115 -fi
 12.3116 -
 12.3117 -if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
 12.3118 -  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 12.3119 -fi
 12.3120 -
 12.3121 -# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
 12.3122 -configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
 12.3123 -
 12.3124 -# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
 12.3125 -func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
 12.3126 -
 12.3127 -# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
 12.3128 -configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
 12.3129 -
 12.3130 -_LT_DECL([], [variables_saved_for_relink], [1],
 12.3131 -    [Variables whose values should be saved in libtool wrapper scripts and
 12.3132 -    restored at link time])
 12.3133 -_LT_DECL([], [need_lib_prefix], [0],
 12.3134 -    [Do we need the "lib" prefix for modules?])
 12.3135 -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
 12.3136 -_LT_DECL([], [version_type], [0], [Library versioning type])
 12.3137 -_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
 12.3138 -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
 12.3139 -_LT_DECL([], [shlibpath_overrides_runpath], [0],
 12.3140 -    [Is shlibpath searched before the hard-coded library search path?])
 12.3141 -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
 12.3142 -_LT_DECL([], [library_names_spec], [1],
 12.3143 -    [[List of archive names.  First name is the real one, the rest are links.
 12.3144 -    The last name is the one that the linker finds with -lNAME]])
 12.3145 -_LT_DECL([], [soname_spec], [1],
 12.3146 -    [[The coded name of the library, if different from the real name]])
 12.3147 -_LT_DECL([], [install_override_mode], [1],
 12.3148 -    [Permission mode override for installation of shared libraries])
 12.3149 -_LT_DECL([], [postinstall_cmds], [2],
 12.3150 -    [Command to use after installation of a shared archive])
 12.3151 -_LT_DECL([], [postuninstall_cmds], [2],
 12.3152 -    [Command to use after uninstallation of a shared archive])
 12.3153 -_LT_DECL([], [finish_cmds], [2],
 12.3154 -    [Commands used to finish a libtool library installation in a directory])
 12.3155 -_LT_DECL([], [finish_eval], [1],
 12.3156 -    [[As "finish_cmds", except a single script fragment to be evaled but
 12.3157 -    not shown]])
 12.3158 -_LT_DECL([], [hardcode_into_libs], [0],
 12.3159 -    [Whether we should hardcode library paths into libraries])
 12.3160 -_LT_DECL([], [sys_lib_search_path_spec], [2],
 12.3161 -    [Compile-time system search path for libraries])
 12.3162 -_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
 12.3163 -    [Detected run-time system search path for libraries])
 12.3164 -_LT_DECL([], [configure_time_lt_sys_library_path], [2],
 12.3165 -    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
 12.3166 -])# _LT_SYS_DYNAMIC_LINKER
 12.3167 -
 12.3168 -
 12.3169 -# _LT_PATH_TOOL_PREFIX(TOOL)
 12.3170 -# --------------------------
 12.3171 -# find a file program that can recognize shared library
 12.3172 -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
 12.3173 -[m4_require([_LT_DECL_EGREP])dnl
 12.3174 -AC_MSG_CHECKING([for $1])
 12.3175 -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
 12.3176 -[case $MAGIC_CMD in
 12.3177 -[[\\/*] |  ?:[\\/]*])
 12.3178 -  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
 12.3179 -  ;;
 12.3180 -*)
 12.3181 -  lt_save_MAGIC_CMD=$MAGIC_CMD
 12.3182 -  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 12.3183 -dnl $ac_dummy forces splitting on constant user-supplied paths.
 12.3184 -dnl POSIX.2 word splitting is done only on the output of word expansions,
 12.3185 -dnl not every word.  This closes a longstanding sh security hole.
 12.3186 -  ac_dummy="m4_if([$2], , $PATH, [$2])"
 12.3187 -  for ac_dir in $ac_dummy; do
 12.3188 -    IFS=$lt_save_ifs
 12.3189 -    test -z "$ac_dir" && ac_dir=.
 12.3190 -    if test -f "$ac_dir/$1"; then
 12.3191 -      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
 12.3192 -      if test -n "$file_magic_test_file"; then
 12.3193 -	case $deplibs_check_method in
 12.3194 -	"file_magic "*)
 12.3195 -	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 12.3196 -	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 12.3197 -	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 12.3198 -	    $EGREP "$file_magic_regex" > /dev/null; then
 12.3199 -	    :
 12.3200 -	  else
 12.3201 -	    cat <<_LT_EOF 1>&2
 12.3202 -
 12.3203 -*** Warning: the command libtool uses to detect shared libraries,
 12.3204 -*** $file_magic_cmd, produces output that libtool cannot recognize.
 12.3205 -*** The result is that libtool may fail to recognize shared libraries
 12.3206 -*** as such.  This will affect the creation of libtool libraries that
 12.3207 -*** depend on shared libraries, but programs linked with such libtool
 12.3208 -*** libraries will work regardless of this problem.  Nevertheless, you
 12.3209 -*** may want to report the problem to your system manager and/or to
 12.3210 -*** bug-libtool@gnu.org
 12.3211 -
 12.3212 -_LT_EOF
 12.3213 -	  fi ;;
 12.3214 -	esac
 12.3215 -      fi
 12.3216 -      break
 12.3217 -    fi
 12.3218 -  done
 12.3219 -  IFS=$lt_save_ifs
 12.3220 -  MAGIC_CMD=$lt_save_MAGIC_CMD
 12.3221 -  ;;
 12.3222 -esac])
 12.3223 -MAGIC_CMD=$lt_cv_path_MAGIC_CMD
 12.3224 -if test -n "$MAGIC_CMD"; then
 12.3225 -  AC_MSG_RESULT($MAGIC_CMD)
 12.3226 -else
 12.3227 -  AC_MSG_RESULT(no)
 12.3228 -fi
 12.3229 -_LT_DECL([], [MAGIC_CMD], [0],
 12.3230 -	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
 12.3231 -])# _LT_PATH_TOOL_PREFIX
 12.3232 -
 12.3233 -# Old name:
 12.3234 -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
 12.3235 -dnl aclocal-1.4 backwards compatibility:
 12.3236 -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
 12.3237 -
 12.3238 -
 12.3239 -# _LT_PATH_MAGIC
 12.3240 -# --------------
 12.3241 -# find a file program that can recognize a shared library
 12.3242 -m4_defun([_LT_PATH_MAGIC],
 12.3243 -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
 12.3244 -if test -z "$lt_cv_path_MAGIC_CMD"; then
 12.3245 -  if test -n "$ac_tool_prefix"; then
 12.3246 -    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
 12.3247 -  else
 12.3248 -    MAGIC_CMD=:
 12.3249 -  fi
 12.3250 -fi
 12.3251 -])# _LT_PATH_MAGIC
 12.3252 -
 12.3253 -
 12.3254 -# LT_PATH_LD
 12.3255 -# ----------
 12.3256 -# find the pathname to the GNU or non-GNU linker
 12.3257 -AC_DEFUN([LT_PATH_LD],
 12.3258 -[AC_REQUIRE([AC_PROG_CC])dnl
 12.3259 -AC_REQUIRE([AC_CANONICAL_HOST])dnl
 12.3260 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 12.3261 -m4_require([_LT_DECL_SED])dnl
 12.3262 -m4_require([_LT_DECL_EGREP])dnl
 12.3263 -m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
 12.3264 -
 12.3265 -AC_ARG_WITH([gnu-ld],
 12.3266 -    [AS_HELP_STRING([--with-gnu-ld],
 12.3267 -	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
 12.3268 -    [test no = "$withval" || with_gnu_ld=yes],
 12.3269 -    [with_gnu_ld=no])dnl
 12.3270 -
 12.3271 -ac_prog=ld
 12.3272 -if test yes = "$GCC"; then
 12.3273 -  # Check if gcc -print-prog-name=ld gives a path.
 12.3274 -  AC_MSG_CHECKING([for ld used by $CC])
 12.3275 -  case $host in
 12.3276 -  *-*-mingw*)
 12.3277 -    # gcc leaves a trailing carriage return, which upsets mingw
 12.3278 -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 12.3279 -  *)
 12.3280 -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 12.3281 -  esac
 12.3282 -  case $ac_prog in
 12.3283 -    # Accept absolute paths.
 12.3284 -    [[\\/]]* | ?:[[\\/]]*)
 12.3285 -      re_direlt='/[[^/]][[^/]]*/\.\./'
 12.3286 -      # Canonicalize the pathname of ld
 12.3287 -      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 12.3288 -      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 12.3289 -	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 12.3290 -      done
 12.3291 -      test -z "$LD" && LD=$ac_prog
 12.3292 -      ;;
 12.3293 -  "")
 12.3294 -    # If it fails, then pretend we aren't using GCC.
 12.3295 -    ac_prog=ld
 12.3296 -    ;;
 12.3297 -  *)
 12.3298 -    # If it is relative, then search for the first ld in PATH.
 12.3299 -    with_gnu_ld=unknown
 12.3300 -    ;;
 12.3301 -  esac
 12.3302 -elif test yes = "$with_gnu_ld"; then
 12.3303 -  AC_MSG_CHECKING([for GNU ld])
 12.3304 -else
 12.3305 -  AC_MSG_CHECKING([for non-GNU ld])
 12.3306 -fi
 12.3307 -AC_CACHE_VAL(lt_cv_path_LD,
 12.3308 -[if test -z "$LD"; then
 12.3309 -  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 12.3310 -  for ac_dir in $PATH; do
 12.3311 -    IFS=$lt_save_ifs
 12.3312 -    test -z "$ac_dir" && ac_dir=.
 12.3313 -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 12.3314 -      lt_cv_path_LD=$ac_dir/$ac_prog
 12.3315 -      # Check to see if the program is GNU ld.  I'd rather use --version,
 12.3316 -      # but apparently some variants of GNU ld only accept -v.
 12.3317 -      # Break only if it was the GNU/non-GNU ld that we prefer.
 12.3318 -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 12.3319 -      *GNU* | *'with BFD'*)
 12.3320 -	test no != "$with_gnu_ld" && break
 12.3321 -	;;
 12.3322 -      *)
 12.3323 -	test yes != "$with_gnu_ld" && break
 12.3324 -	;;
 12.3325 -      esac
 12.3326 -    fi
 12.3327 -  done
 12.3328 -  IFS=$lt_save_ifs
 12.3329 -else
 12.3330 -  lt_cv_path_LD=$LD # Let the user override the test with a path.
 12.3331 -fi])
 12.3332 -LD=$lt_cv_path_LD
 12.3333 -if test -n "$LD"; then
 12.3334 -  AC_MSG_RESULT($LD)
 12.3335 -else
 12.3336 -  AC_MSG_RESULT(no)
 12.3337 -fi
 12.3338 -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 12.3339 -_LT_PATH_LD_GNU
 12.3340 -AC_SUBST([LD])
 12.3341 -
 12.3342 -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
 12.3343 -])# LT_PATH_LD
 12.3344 -
 12.3345 -# Old names:
 12.3346 -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
 12.3347 -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
 12.3348 -dnl aclocal-1.4 backwards compatibility:
 12.3349 -dnl AC_DEFUN([AM_PROG_LD], [])
 12.3350 -dnl AC_DEFUN([AC_PROG_LD], [])
 12.3351 -
 12.3352 -
 12.3353 -# _LT_PATH_LD_GNU
 12.3354 -#- --------------
 12.3355 -m4_defun([_LT_PATH_LD_GNU],
 12.3356 -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
 12.3357 -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
 12.3358 -case `$LD -v 2>&1 </dev/null` in
 12.3359 -*GNU* | *'with BFD'*)
 12.3360 -  lt_cv_prog_gnu_ld=yes
 12.3361 -  ;;
 12.3362 -*)
 12.3363 -  lt_cv_prog_gnu_ld=no
 12.3364 -  ;;
 12.3365 -esac])
 12.3366 -with_gnu_ld=$lt_cv_prog_gnu_ld
 12.3367 -])# _LT_PATH_LD_GNU
 12.3368 -
 12.3369 -
 12.3370 -# _LT_CMD_RELOAD
 12.3371 -# --------------
 12.3372 -# find reload flag for linker
 12.3373 -#   -- PORTME Some linkers may need a different reload flag.
 12.3374 -m4_defun([_LT_CMD_RELOAD],
 12.3375 -[AC_CACHE_CHECK([for $LD option to reload object files],
 12.3376 -  lt_cv_ld_reload_flag,
 12.3377 -  [lt_cv_ld_reload_flag='-r'])
 12.3378 -reload_flag=$lt_cv_ld_reload_flag
 12.3379 -case $reload_flag in
 12.3380 -"" | " "*) ;;
 12.3381 -*) reload_flag=" $reload_flag" ;;
 12.3382 -esac
 12.3383 -reload_cmds='$LD$reload_flag -o $output$reload_objs'
 12.3384 -case $host_os in
 12.3385 -  cygwin* | mingw* | pw32* | cegcc*)
 12.3386 -    if test yes != "$GCC"; then
 12.3387 -      reload_cmds=false
 12.3388 -    fi
 12.3389 -    ;;
 12.3390 -  darwin*)
 12.3391 -    if test yes = "$GCC"; then
 12.3392 -      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
 12.3393 -    else
 12.3394 -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 12.3395 -    fi
 12.3396 -    ;;
 12.3397 -esac
 12.3398 -_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 12.3399 -_LT_TAGDECL([], [reload_cmds], [2])dnl
 12.3400 -])# _LT_CMD_RELOAD
 12.3401 -
 12.3402 -
 12.3403 -# _LT_PATH_DD
 12.3404 -# -----------
 12.3405 -# find a working dd
 12.3406 -m4_defun([_LT_PATH_DD],
 12.3407 -[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
 12.3408 -[printf 0123456789abcdef0123456789abcdef >conftest.i
 12.3409 -cat conftest.i conftest.i >conftest2.i
 12.3410 -: ${lt_DD:=$DD}
 12.3411 -AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
 12.3412 -[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 12.3413 -  cmp -s conftest.i conftest.out \
 12.3414 -  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 12.3415 -fi])
 12.3416 -rm -f conftest.i conftest2.i conftest.out])
 12.3417 -])# _LT_PATH_DD
 12.3418 -
 12.3419 -
 12.3420 -# _LT_CMD_TRUNCATE
 12.3421 -# ----------------
 12.3422 -# find command to truncate a binary pipe
 12.3423 -m4_defun([_LT_CMD_TRUNCATE],
 12.3424 -[m4_require([_LT_PATH_DD])
 12.3425 -AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
 12.3426 -[printf 0123456789abcdef0123456789abcdef >conftest.i
 12.3427 -cat conftest.i conftest.i >conftest2.i
 12.3428 -lt_cv_truncate_bin=
 12.3429 -if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 12.3430 -  cmp -s conftest.i conftest.out \
 12.3431 -  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 12.3432 -fi
 12.3433 -rm -f conftest.i conftest2.i conftest.out
 12.3434 -test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
 12.3435 -_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
 12.3436 -  [Command to truncate a binary pipe])
 12.3437 -])# _LT_CMD_TRUNCATE
 12.3438 -
 12.3439 -
 12.3440 -# _LT_CHECK_MAGIC_METHOD
 12.3441 -# ----------------------
 12.3442 -# how to check for library dependencies
 12.3443 -#  -- PORTME fill in with the dynamic library characteristics
 12.3444 -m4_defun([_LT_CHECK_MAGIC_METHOD],
 12.3445 -[m4_require([_LT_DECL_EGREP])
 12.3446 -m4_require([_LT_DECL_OBJDUMP])
 12.3447 -AC_CACHE_CHECK([how to recognize dependent libraries],
 12.3448 -lt_cv_deplibs_check_method,
 12.3449 -[lt_cv_file_magic_cmd='$MAGIC_CMD'
 12.3450 -lt_cv_file_magic_test_file=
 12.3451 -lt_cv_deplibs_check_method='unknown'
 12.3452 -# Need to set the preceding variable on all platforms that support
 12.3453 -# interlibrary dependencies.
 12.3454 -# 'none' -- dependencies not supported.
 12.3455 -# 'unknown' -- same as none, but documents that we really don't know.
 12.3456 -# 'pass_all' -- all dependencies passed with no checks.
 12.3457 -# 'test_compile' -- check by making test program.
 12.3458 -# 'file_magic [[regex]]' -- check by looking for files in library path
 12.3459 -# that responds to the $file_magic_cmd with a given extended regex.
 12.3460 -# If you have 'file' or equivalent on your system and you're not sure
 12.3461 -# whether 'pass_all' will *always* work, you probably want this one.
 12.3462 -
 12.3463 -case $host_os in
 12.3464 -aix[[4-9]]*)
 12.3465 -  lt_cv_deplibs_check_method=pass_all
 12.3466 -  ;;
 12.3467 -
 12.3468 -beos*)
 12.3469 -  lt_cv_deplibs_check_method=pass_all
 12.3470 -  ;;
 12.3471 -
 12.3472 -bsdi[[45]]*)
 12.3473 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
 12.3474 -  lt_cv_file_magic_cmd='/usr/bin/file -L'
 12.3475 -  lt_cv_file_magic_test_file=/shlib/libc.so
 12.3476 -  ;;
 12.3477 -
 12.3478 -cygwin*)
 12.3479 -  # func_win32_libid is a shell function defined in ltmain.sh
 12.3480 -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 12.3481 -  lt_cv_file_magic_cmd='func_win32_libid'
 12.3482 -  ;;
 12.3483 -
 12.3484 -mingw* | pw32*)
 12.3485 -  # Base MSYS/MinGW do not provide the 'file' command needed by
 12.3486 -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 12.3487 -  # unless we find 'file', for example because we are cross-compiling.
 12.3488 -  if ( file / ) >/dev/null 2>&1; then
 12.3489 -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 12.3490 -    lt_cv_file_magic_cmd='func_win32_libid'
 12.3491 -  else
 12.3492 -    # Keep this pattern in sync with the one in func_win32_libid.
 12.3493 -    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 12.3494 -    lt_cv_file_magic_cmd='$OBJDUMP -f'
 12.3495 -  fi
 12.3496 -  ;;
 12.3497 -
 12.3498 -cegcc*)
 12.3499 -  # use the weaker test based on 'objdump'. See mingw*.
 12.3500 -  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 12.3501 -  lt_cv_file_magic_cmd='$OBJDUMP -f'
 12.3502 -  ;;
 12.3503 -
 12.3504 -darwin* | rhapsody*)
 12.3505 -  lt_cv_deplibs_check_method=pass_all
 12.3506 -  ;;
 12.3507 -
 12.3508 -freebsd* | dragonfly*)
 12.3509 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 12.3510 -    case $host_cpu in
 12.3511 -    i*86 )
 12.3512 -      # Not sure whether the presence of OpenBSD here was a mistake.
 12.3513 -      # Let's accept both of them until this is cleared up.
 12.3514 -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
 12.3515 -      lt_cv_file_magic_cmd=/usr/bin/file
 12.3516 -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 12.3517 -      ;;
 12.3518 -    esac
 12.3519 -  else
 12.3520 -    lt_cv_deplibs_check_method=pass_all
 12.3521 -  fi
 12.3522 -  ;;
 12.3523 -
 12.3524 -haiku*)
 12.3525 -  lt_cv_deplibs_check_method=pass_all
 12.3526 -  ;;
 12.3527 -
 12.3528 -hpux10.20* | hpux11*)
 12.3529 -  lt_cv_file_magic_cmd=/usr/bin/file
 12.3530 -  case $host_cpu in
 12.3531 -  ia64*)
 12.3532 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
 12.3533 -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 12.3534 -    ;;
 12.3535 -  hppa*64*)
 12.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]']
 12.3537 -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 12.3538 -    ;;
 12.3539 -  *)
 12.3540 -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
 12.3541 -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 12.3542 -    ;;
 12.3543 -  esac
 12.3544 -  ;;
 12.3545 -
 12.3546 -interix[[3-9]]*)
 12.3547 -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 12.3548 -  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
 12.3549 -  ;;
 12.3550 -
 12.3551 -irix5* | irix6* | nonstopux*)
 12.3552 -  case $LD in
 12.3553 -  *-32|*"-32 ") libmagic=32-bit;;
 12.3554 -  *-n32|*"-n32 ") libmagic=N32;;
 12.3555 -  *-64|*"-64 ") libmagic=64-bit;;
 12.3556 -  *) libmagic=never-match;;
 12.3557 -  esac
 12.3558 -  lt_cv_deplibs_check_method=pass_all
 12.3559 -  ;;
 12.3560 -
 12.3561 -# This must be glibc/ELF.
 12.3562 -linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 12.3563 -  lt_cv_deplibs_check_method=pass_all
 12.3564 -  ;;
 12.3565 -
 12.3566 -netbsd*)
 12.3567 -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 12.3568 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 12.3569 -  else
 12.3570 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
 12.3571 -  fi
 12.3572 -  ;;
 12.3573 -
 12.3574 -newos6*)
 12.3575 -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
 12.3576 -  lt_cv_file_magic_cmd=/usr/bin/file
 12.3577 -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 12.3578 -  ;;
 12.3579 -
 12.3580 -*nto* | *qnx*)
 12.3581 -  lt_cv_deplibs_check_method=pass_all
 12.3582 -  ;;
 12.3583 -
 12.3584 -openbsd* | bitrig*)
 12.3585 -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 12.3586 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
 12.3587 -  else
 12.3588 -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
 12.3589 -  fi
 12.3590 -  ;;
 12.3591 -
 12.3592 -osf3* | osf4* | osf5*)
 12.3593 -  lt_cv_deplibs_check_method=pass_all
 12.3594 -  ;;
 12.3595 -
 12.3596 -rdos*)
 12.3597 -  lt_cv_deplibs_check_method=pass_all
 12.3598 -  ;;
 12.3599 -
 12.3600 -solaris*)
 12.3601 -  lt_cv_deplibs_check_method=pass_all
 12.3602 -  ;;
 12.3603 -
 12.3604 -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 12.3605 -  lt_cv_deplibs_check_method=pass_all
 12.3606 -  ;;
 12.3607 -
 12.3608 -sysv4 | sysv4.3*)
 12.3609 -  case $host_vendor in
 12.3610 -  motorola)
 12.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]]'
 12.3612 -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 12.3613 -    ;;
 12.3614 -  ncr)
 12.3615 -    lt_cv_deplibs_check_method=pass_all
 12.3616 -    ;;
 12.3617 -  sequent)
 12.3618 -    lt_cv_file_magic_cmd='/bin/file'
 12.3619 -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
 12.3620 -    ;;
 12.3621 -  sni)
 12.3622 -    lt_cv_file_magic_cmd='/bin/file'
 12.3623 -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
 12.3624 -    lt_cv_file_magic_test_file=/lib/libc.so
 12.3625 -    ;;
 12.3626 -  siemens)
 12.3627 -    lt_cv_deplibs_check_method=pass_all
 12.3628 -    ;;
 12.3629 -  pc)
 12.3630 -    lt_cv_deplibs_check_method=pass_all
 12.3631 -    ;;
 12.3632 -  esac
 12.3633 -  ;;
 12.3634 -
 12.3635 -tpf*)
 12.3636 -  lt_cv_deplibs_check_method=pass_all
 12.3637 -  ;;
 12.3638 -os2*)
 12.3639 -  lt_cv_deplibs_check_method=pass_all
 12.3640 -  ;;
 12.3641 -esac
 12.3642 -])
 12.3643 -
 12.3644 -file_magic_glob=
 12.3645 -want_nocaseglob=no
 12.3646 -if test "$build" = "$host"; then
 12.3647 -  case $host_os in
 12.3648 -  mingw* | pw32*)
 12.3649 -    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 12.3650 -      want_nocaseglob=yes
 12.3651 -    else
 12.3652 -      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
 12.3653 -    fi
 12.3654 -    ;;
 12.3655 -  esac
 12.3656 -fi
 12.3657 -
 12.3658 -file_magic_cmd=$lt_cv_file_magic_cmd
 12.3659 -deplibs_check_method=$lt_cv_deplibs_check_method
 12.3660 -test -z "$deplibs_check_method" && deplibs_check_method=unknown
 12.3661 -
 12.3662 -_LT_DECL([], [deplibs_check_method], [1],
 12.3663 -    [Method to check whether dependent libraries are shared objects])
 12.3664 -_LT_DECL([], [file_magic_cmd], [1],
 12.3665 -    [Command to use when deplibs_check_method = "file_magic"])
 12.3666 -_LT_DECL([], [file_magic_glob], [1],
 12.3667 -    [How to find potential files when deplibs_check_method = "file_magic"])
 12.3668 -_LT_DECL([], [want_nocaseglob], [1],
 12.3669 -    [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
 12.3670 -])# _LT_CHECK_MAGIC_METHOD
 12.3671 -
 12.3672 -
 12.3673 -# LT_PATH_NM
 12.3674 -# ----------
 12.3675 -# find the pathname to a BSD- or MS-compatible name lister
 12.3676 -AC_DEFUN([LT_PATH_NM],
 12.3677 -[AC_REQUIRE([AC_PROG_CC])dnl
 12.3678 -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
 12.3679 -[if test -n "$NM"; then
 12.3680 -  # Let the user override the test.
 12.3681 -  lt_cv_path_NM=$NM
 12.3682 -else
 12.3683 -  lt_nm_to_check=${ac_tool_prefix}nm
 12.3684 -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 12.3685 -    lt_nm_to_check="$lt_nm_to_check nm"
 12.3686 -  fi
 12.3687 -  for lt_tmp_nm in $lt_nm_to_check; do
 12.3688 -    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
 12.3689 -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 12.3690 -      IFS=$lt_save_ifs
 12.3691 -      test -z "$ac_dir" && ac_dir=.
 12.3692 -      tmp_nm=$ac_dir/$lt_tmp_nm
 12.3693 -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
 12.3694 -	# Check to see if the nm accepts a BSD-compat flag.
 12.3695 -	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
 12.3696 -	#   nm: unknown option "B" ignored
 12.3697 -	# Tru64's nm complains that /dev/null is an invalid object file
 12.3698 -	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 12.3699 -	case $build_os in
 12.3700 -	mingw*) lt_bad_file=conftest.nm/nofile ;;
 12.3701 -	*) lt_bad_file=/dev/null ;;
 12.3702 -	esac
 12.3703 -	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 12.3704 -	*$lt_bad_file* | *'Invalid file or object type'*)
 12.3705 -	  lt_cv_path_NM="$tmp_nm -B"
 12.3706 -	  break 2
 12.3707 -	  ;;
 12.3708 -	*)
 12.3709 -	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 12.3710 -	  */dev/null*)
 12.3711 -	    lt_cv_path_NM="$tmp_nm -p"
 12.3712 -	    break 2
 12.3713 -	    ;;
 12.3714 -	  *)
 12.3715 -	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 12.3716 -	    continue # so that we can try to find one that supports BSD flags
 12.3717 -	    ;;
 12.3718 -	  esac
 12.3719 -	  ;;
 12.3720 -	esac
 12.3721 -      fi
 12.3722 -    done
 12.3723 -    IFS=$lt_save_ifs
 12.3724 -  done
 12.3725 -  : ${lt_cv_path_NM=no}
 12.3726 -fi])
 12.3727 -if test no != "$lt_cv_path_NM"; then
 12.3728 -  NM=$lt_cv_path_NM
 12.3729 -else
 12.3730 -  # Didn't find any BSD compatible name lister, look for dumpbin.
 12.3731 -  if test -n "$DUMPBIN"; then :
 12.3732 -    # Let the user override the test.
 12.3733 -  else
 12.3734 -    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
 12.3735 -    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
 12.3736 -    *COFF*)
 12.3737 -      DUMPBIN="$DUMPBIN -symbols -headers"
 12.3738 -      ;;
 12.3739 -    *)
 12.3740 -      DUMPBIN=:
 12.3741 -      ;;
 12.3742 -    esac
 12.3743 -  fi
 12.3744 -  AC_SUBST([DUMPBIN])
 12.3745 -  if test : != "$DUMPBIN"; then
 12.3746 -    NM=$DUMPBIN
 12.3747 -  fi
 12.3748 -fi
 12.3749 -test -z "$NM" && NM=nm
 12.3750 -AC_SUBST([NM])
 12.3751 -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
 12.3752 -
 12.3753</