Changeset 470 for trunk/libjpeg


Ignore:
Timestamp:
Mar 6, 2011, 12:41:38 AM (10 years ago)
Author:
Silvan Scherrer
Message:

poppler, jpeg, freetype lib updates

Location:
trunk/libjpeg
Files:
19 deleted
39 edited

Legend:

Unmodified
Added
Removed
  • trunk/libjpeg/README

    r283 r470  
    22==========================================
    33
    4 README for release 7 of 27-Jun-2009
    5 ===================================
    6 
    7 This distribution contains the seventh public release of the Independent JPEG
     4README for release 8b of 16-May-2010
     5====================================
     6
     7This distribution contains the eighth public release of the Independent JPEG
    88Group's free JPEG software.  You are welcome to redistribute this software and
    99to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
     
    115115its user, assume the entire risk as to its quality and accuracy.
    116116
    117 This software is copyright (C) 1991-2009, Thomas G. Lane, Guido Vollbeding.
     117This software is copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding.
    118118All Rights Reserved except as specified below.
    119119
     
    222222Continuous-tone Still Images, Part 2: Compliance testing" and has document
    223223numbers ISO/IEC IS 10918-2, ITU-T T.83.
     224IJG JPEG 8 introduces an implementation of the JPEG SmartScale extension
     225which is specified in a contributed document at ITU and ISO with title "ITU-T
     226JPEG-Plus Proposal for Extending ITU-T T.81 for Advanced Image Coding", April
     2272006, Geneva, Switzerland.  The latest version of the document is Revision 3.
    224228
    225229The JPEG standard does not specify all details of an interchangeable file
    226230format.  For the omitted details we follow the "JFIF" conventions, revision
    227 1.02.  A copy of the JFIF spec is available from:
    228         Literature Department
    229         C-Cube Microsystems, Inc.
    230         1778 McCarthy Blvd.
    231         Milpitas, CA 95035
    232         phone (408) 944-6300,  fax (408) 944-6314
    233 A PostScript version of this document is available at
     2311.02.  JFIF 1.02 has been adopted as an Ecma International Technical Report
     232and thus received a formal publication status.  It is available as a free
     233download in PDF format from
     234http://www.ecma-international.org/publications/techreports/E-TR-098.htm.
     235A PostScript version of the JFIF document is available at
    234236http://www.ijg.org/files/jfif.ps.gz.  There is also a plain text version at
    235237http://www.ijg.org/files/jfif.txt.gz, but it is missing the figures.
     
    253255The most recent released version can always be found there in
    254256directory "files".  This particular version will be archived as
    255 http://www.ijg.org/files/jpegsrc.v7.tar.gz, and in Windows-compatible
    256 "zip" archive format as http://www.ijg.org/files/jpegsr7.zip.
     257http://www.ijg.org/files/jpegsrc.v8b.tar.gz, and in Windows-compatible
     258"zip" archive format as http://www.ijg.org/files/jpegsr8b.zip.
    257259
    258260The JPEG FAQ (Frequently Asked Questions) article is a source of some
     
    270272===============
    271273
    272 Thank to Juergen Bruder of the Georg-Cantor-Organization at the
    273 Martin-Luther-University Halle for providing me with a copy of the common
    274 DCT algorithm article, only to find out that I had come to the same result
     274Thank to Juergen Bruder for providing me with a copy of the common DCT
     275algorithm article, only to find out that I had come to the same result
    275276in a more direct and comprehensible way with a more generative approach.
    276277
     
    284285fruitful consultations in Boston, MA and Milan, Italy.
    285286
    286 Thank to Hendrik Elstner, Roland Fassauer, and Simone Zuck for
    287 corresponding business development.
     287Thank to Hendrik Elstner, Roland Fassauer, Simone Zuck, Guenther
     288Maier-Gerber, Walter Stoeber, and Fred Schmitz for corresponding
     289business development.
    288290
    289291Thank to Nico Zschach and Dirk Stelling of the technical support team
     
    294296communication about JPEG configuration in Sigma Photo Pro software.
    295297
     298Thank to Andrew Finkenstadt for hosting the ijg.org site.
     299
    296300Last but not least special thank to Thomas G. Lane for the original
    297301design and development of this singular software package.
     
    302306
    303307The ISO JPEG standards committee actually promotes different formats like
    304 JPEG-2000 or JPEG-XR which are incompatible with original DCT-based JPEG
    305 and which are based on faulty technologies.  IJG therefore does not and
    306 will not support such momentary mistakes (see REFERENCES).
     308"JPEG 2000" or "JPEG XR" which are incompatible with original DCT-based
     309JPEG and which are based on faulty technologies.  IJG therefore does not
     310and will not support such momentary mistakes (see REFERENCES).
    307311We have little or no sympathy for the promotion of these formats.  Indeed,
    308312one of the original reasons for developing this free software was to help
     
    316320=====
    317321
    318 v7 is basically just a necessary interim release, paving the way for a
    319 major breakthrough in image coding technology with the next v8 package
    320 which is scheduled for release in the year 2010.
    321 
    322 Please send bug reports, offers of help, etc. to jpeg-info@jpegclub.org.
     322Version 8 is the first release of a new generation JPEG standard
     323to overcome the limitations of the original JPEG specification.
     324More features are being prepared for coming releases...
     325
     326Please send bug reports, offers of help, etc. to jpeg-info@uc.ag.
  • trunk/libjpeg/cderror.h

    r15 r470  
    33 *
    44 * Copyright (C) 1994-1997, Thomas G. Lane.
     5 * Modified 2009 by Guido Vollbeding.
    56 * This file is part of the Independent JPEG Group's software.
    67 * For conditions of distribution and use, see the accompanying README file.
     
    4647JMESSAGE(JERR_BMP_COLORSPACE, "BMP output must be grayscale or RGB")
    4748JMESSAGE(JERR_BMP_COMPRESSED, "Sorry, compressed BMPs not yet supported")
     49JMESSAGE(JERR_BMP_EMPTY, "Empty BMP image")
    4850JMESSAGE(JERR_BMP_NOT, "Not a BMP file - does not start with BM")
    4951JMESSAGE(JTRC_BMP, "%ux%u 24-bit BMP image")
  • trunk/libjpeg/change.log

    r283 r470  
    11CHANGE LOG for Independent JPEG Group's JPEG software
     2
     3
     4Version 8b  16-May-2010
     5-----------------------
     6
     7Repair problem in new memory source manager with corrupt JPEG data.
     8Thank to Ted Campbell and Samuel Chun for the report.
     9
     10Repair problem in Makefile.am test target.
     11Thank to anonymous user for the report.
     12
     13Support MinGW installation with automatic configure.
     14Thank to Volker Grabsch for the suggestion.
     15
     16
     17Version 8a  28-Feb-2010
     18-----------------------
     19
     20Writing tables-only datastreams via jpeg_write_tables works again.
     21
     22Support 32-bit BMPs (RGB image with Alpha channel) for read in cjpeg.
     23Thank to Brett Blackham for the suggestion.
     24
     25Improve accuracy in floating point IDCT calculation.
     26Thank to Robert Hooke for the hint.
     27
     28
     29Version 8  10-Jan-2010
     30----------------------
     31
     32jpegtran now supports the same -scale option as djpeg for "lossless" resize.
     33An implementation of the JPEG SmartScale extension is required for this
     34feature.  A (draft) specification of the JPEG SmartScale extension is
     35available as a contributed document at ITU and ISO.  Revision 2 or later
     36of the document is required (latest document version is Revision 3).
     37The SmartScale extension will enable more features beside lossless resize
     38in future implementations, as described in the document (new compression
     39options).
     40
     41Add sanity check in BMP reader module to avoid cjpeg crash for empty input
     42image (thank to Isaev Ildar of ISP RAS, Moscow, RU for reporting this error).
     43
     44Add data source and destination managers for read from and write to
     45memory buffers.  New API functions jpeg_mem_src and jpeg_mem_dest.
     46Thank to Roberto Boni from Italy for the suggestion.
    247
    348
  • trunk/libjpeg/cjpeg.1

    r283 r470  
    1 .TH CJPEG 1 "10 June 2009"
     1.TH CJPEG 1 "30 December 2009"
    22.SH NAME
    33cjpeg \- compress an image file to a JPEG file
     
    136136parameter (see the "wizard" switches below).
    137137.B Caution:
    138 You must explicitely add
     138You must explicitly add
    139139.BI \-sample " 1x1"
    140140for efficient separate color
  • trunk/libjpeg/config.guess

    r283 r470  
    22# Attempt to guess a canonical system name.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
    55#   Free Software Foundation, Inc.
    66
    7 timestamp='2009-04-27'
     7timestamp='2009-11-20'
    88
    99# This file is free software; you can redistribute it and/or modify it
     
    2828
    2929
    30 # Originally written by Per Bothner <per@bothner.com>.
    31 # Please send patches to <config-patches@gnu.org>.  Submit a context
    32 # diff and a properly formatted ChangeLog entry.
     30# Originally written by Per Bothner.  Please send patches (context
     31# diff format) to <config-patches@gnu.org> and include a ChangeLog
     32# entry.
    3333#
    3434# This script attempts to guess a canonical system name similar to
     
    3636# exits with 0.  Otherwise, it exits with 1.
    3737#
    38 # The plan is that this can be called by configure scripts if you
    39 # don't specify an explicit build system type.
     38# You can get the latest version of this script from:
     39# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
    4040
    4141me=`echo "$0" | sed -e 's,.*/,,'`
     
    171171                eval $set_cc_for_build
    172172                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
    173                         | grep __ELF__ >/dev/null
     173                        | grep -q __ELF__
    174174                then
    175175                    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
     
    334334        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    335335        exit ;;
     336    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
     337        echo i386-pc-auroraux${UNAME_RELEASE}
     338        exit ;;
    336339    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
    337340        eval $set_cc_for_build
     
    657660
    658661            if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
    659                 grep __LP64__ >/dev/null
     662                grep -q __LP64__
    660663            then
    661664                HP_ARCH="hppa2.0w"
     
    808811        echo ${UNAME_MACHINE}-pc-pw32
    809812        exit ;;
    810     *:Interix*:[3456]*)
     813    *:Interix*:*)
    811814        case ${UNAME_MACHINE} in
    812815            x86)
    813816                echo i586-pc-interix${UNAME_RELEASE}
    814817                exit ;;
    815             EM64T | authenticamd | genuineintel)
     818            authenticamd | genuineintel | EM64T)
    816819                echo x86_64-unknown-interix${UNAME_RELEASE}
    817820                exit ;;
     
    823826        echo i${UNAME_MACHINE}-pc-mks
    824827        exit ;;
     828    8664:Windows_NT:*)
     829        echo x86_64-pc-mks
     830        exit ;;
    825831    i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
    826832        # How do we know it's Interix rather than the generic POSIX subsystem?
     
    851857    i*86:Minix:*:*)
    852858        echo ${UNAME_MACHINE}-pc-minix
    853         exit ;;
    854     arm*:Linux:*:*)
    855         eval $set_cc_for_build
    856         if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
    857             | grep -q __ARM_EABI__
    858         then
    859             echo ${UNAME_MACHINE}-unknown-linux-gnu
    860         else
    861             echo ${UNAME_MACHINE}-unknown-linux-gnueabi
    862         fi
    863         exit ;;
    864     avr32*:Linux:*:*)
    865         echo ${UNAME_MACHINE}-unknown-linux-gnu
    866         exit ;;
    867     cris:Linux:*:*)
    868         echo cris-axis-linux-gnu
    869         exit ;;
    870     crisv32:Linux:*:*)
    871         echo crisv32-axis-linux-gnu
    872         exit ;;
    873     frv:Linux:*:*)
    874         echo frv-unknown-linux-gnu
    875         exit ;;
    876     ia64:Linux:*:*)
    877         echo ${UNAME_MACHINE}-unknown-linux-gnu
    878         exit ;;
    879     m32r*:Linux:*:*)
    880         echo ${UNAME_MACHINE}-unknown-linux-gnu
    881         exit ;;
    882     m68*:Linux:*:*)
    883         echo ${UNAME_MACHINE}-unknown-linux-gnu
    884         exit ;;
    885     mips:Linux:*:*)
    886         eval $set_cc_for_build
    887         sed 's/^        //' << EOF >$dummy.c
    888         #undef CPU
    889         #undef mips
    890         #undef mipsel
    891         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    892         CPU=mipsel
    893         #else
    894         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    895         CPU=mips
    896         #else
    897         CPU=
    898         #endif
    899         #endif
    900 EOF
    901         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    902             /^CPU/{
    903                 s: ::g
    904                 p
    905             }'`"
    906         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    907         ;;
    908     mips64:Linux:*:*)
    909         eval $set_cc_for_build
    910         sed 's/^        //' << EOF >$dummy.c
    911         #undef CPU
    912         #undef mips64
    913         #undef mips64el
    914         #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
    915         CPU=mips64el
    916         #else
    917         #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
    918         CPU=mips64
    919         #else
    920         CPU=
    921         #endif
    922         #endif
    923 EOF
    924         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    925             /^CPU/{
    926                 s: ::g
    927                 p
    928             }'`"
    929         test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
    930         ;;
    931     or32:Linux:*:*)
    932         echo or32-unknown-linux-gnu
    933         exit ;;
    934     ppc:Linux:*:*)
    935         echo powerpc-unknown-linux-gnu
    936         exit ;;
    937     ppc64:Linux:*:*)
    938         echo powerpc64-unknown-linux-gnu
    939859        exit ;;
    940860    alpha:Linux:*:*)
     
    948868          EV68*) UNAME_MACHINE=alphaev68 ;;
    949869        esac
    950         objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
     870        objdump --private-headers /bin/sh | grep -q ld.so.1
    951871        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
    952872        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
    953873        exit ;;
     874    arm*:Linux:*:*)
     875        eval $set_cc_for_build
     876        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
     877            | grep -q __ARM_EABI__
     878        then
     879            echo ${UNAME_MACHINE}-unknown-linux-gnu
     880        else
     881            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
     882        fi
     883        exit ;;
     884    avr32*:Linux:*:*)
     885        echo ${UNAME_MACHINE}-unknown-linux-gnu
     886        exit ;;
     887    cris:Linux:*:*)
     888        echo cris-axis-linux-gnu
     889        exit ;;
     890    crisv32:Linux:*:*)
     891        echo crisv32-axis-linux-gnu
     892        exit ;;
     893    frv:Linux:*:*)
     894        echo frv-unknown-linux-gnu
     895        exit ;;
     896    i*86:Linux:*:*)
     897        LIBC=gnu
     898        eval $set_cc_for_build
     899        sed 's/^        //' << EOF >$dummy.c
     900        #ifdef __dietlibc__
     901        LIBC=dietlibc
     902        #endif
     903EOF
     904        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
     905        echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
     906        exit ;;
     907    ia64:Linux:*:*)
     908        echo ${UNAME_MACHINE}-unknown-linux-gnu
     909        exit ;;
     910    m32r*:Linux:*:*)
     911        echo ${UNAME_MACHINE}-unknown-linux-gnu
     912        exit ;;
     913    m68*:Linux:*:*)
     914        echo ${UNAME_MACHINE}-unknown-linux-gnu
     915        exit ;;
     916    mips:Linux:*:* | mips64:Linux:*:*)
     917        eval $set_cc_for_build
     918        sed 's/^        //' << EOF >$dummy.c
     919        #undef CPU
     920        #undef ${UNAME_MACHINE}
     921        #undef ${UNAME_MACHINE}el
     922        #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
     923        CPU=${UNAME_MACHINE}el
     924        #else
     925        #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
     926        CPU=${UNAME_MACHINE}
     927        #else
     928        CPU=
     929        #endif
     930        #endif
     931EOF
     932        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
     933        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
     934        ;;
     935    or32:Linux:*:*)
     936        echo or32-unknown-linux-gnu
     937        exit ;;
    954938    padre:Linux:*:*)
    955939        echo sparc-unknown-linux-gnu
     940        exit ;;
     941    parisc64:Linux:*:* | hppa64:Linux:*:*)
     942        echo hppa64-unknown-linux-gnu
    956943        exit ;;
    957944    parisc:Linux:*:* | hppa:Linux:*:*)
     
    963950        esac
    964951        exit ;;
    965     parisc64:Linux:*:* | hppa64:Linux:*:*)
    966         echo hppa64-unknown-linux-gnu
     952    ppc64:Linux:*:*)
     953        echo powerpc64-unknown-linux-gnu
     954        exit ;;
     955    ppc:Linux:*:*)
     956        echo powerpc-unknown-linux-gnu
    967957        exit ;;
    968958    s390:Linux:*:* | s390x:Linux:*:*)
     
    987977        echo ${UNAME_MACHINE}-unknown-linux-gnu
    988978        exit ;;
    989     i*86:Linux:*:*)
    990         # The BFD linker knows what the default object file format is, so
    991         # first see if it will tell us. cd to the root directory to prevent
    992         # problems with other programs or directories called `ld' in the path.
    993         # Set LC_ALL=C to ensure ld outputs messages in English.
    994         ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
    995                          | sed -ne '/supported targets:/!d
    996                                     s/[         ][      ]*/ /g
    997                                     s/.*supported targets: *//
    998                                     s/ .*//
    999                                     p'`
    1000         case "$ld_supported_targets" in
    1001           elf32-i386)
    1002                 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
    1003                 ;;
    1004           a.out-i386-linux)
    1005                 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
    1006                 exit ;;
    1007           "")
    1008                 # Either a pre-BFD a.out linker (linux-gnuoldld) or
    1009                 # one that does not give us useful --help.
    1010                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
    1011                 exit ;;
    1012         esac
    1013         # Determine whether the default compiler is a.out or elf
    1014         eval $set_cc_for_build
    1015         sed 's/^        //' << EOF >$dummy.c
    1016         #include <features.h>
    1017         #ifdef __ELF__
    1018         # ifdef __GLIBC__
    1019         #  if __GLIBC__ >= 2
    1020         LIBC=gnu
    1021         #  else
    1022         LIBC=gnulibc1
    1023         #  endif
    1024         # else
    1025         LIBC=gnulibc1
    1026         # endif
    1027         #else
    1028         #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
    1029         LIBC=gnu
    1030         #else
    1031         LIBC=gnuaout
    1032         #endif
    1033         #endif
    1034         #ifdef __dietlibc__
    1035         LIBC=dietlibc
    1036         #endif
    1037 EOF
    1038         eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
    1039             /^LIBC/{
    1040                 s: ::g
    1041                 p
    1042             }'`"
    1043         test x"${LIBC}" != x && {
    1044                 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
    1045                 exit
    1046         }
    1047         test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
    1048         ;;
    1049979    i*86:DYNIX/ptx:4*:*)
    1050980        # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
     
    10751005        echo ${UNAME_MACHINE}-pc-syllable
    10761006        exit ;;
    1077     i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
     1007    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
    10781008        echo i386-unknown-lynxos${UNAME_RELEASE}
    10791009        exit ;;
     
    11831113        echo rs6000-unknown-lynxos${UNAME_RELEASE}
    11841114        exit ;;
    1185     PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
     1115    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
    11861116        echo powerpc-unknown-lynxos${UNAME_RELEASE}
    11871117        exit ;;
     
    12761206        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
    12771207        case $UNAME_PROCESSOR in
     1208            i386)
     1209                eval $set_cc_for_build
     1210                if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
     1211                  if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
     1212                      (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     1213                      grep IS_64BIT_ARCH >/dev/null
     1214                  then
     1215                      UNAME_PROCESSOR="x86_64"
     1216                  fi
     1217                fi ;;
    12781218            unknown) UNAME_PROCESSOR=powerpc ;;
    12791219        esac
  • trunk/libjpeg/config.sub

    r283 r470  
    22# Configuration validation subroutine script.
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
    55#   Free Software Foundation, Inc.
    66
    7 timestamp='2009-04-17'
     7timestamp='2009-11-20'
    88
    99# This file is (in principle) common to ALL GNU software.
     
    3333
    3434# Please send patches to <config-patches@gnu.org>.  Submit a context
    35 # diff and a properly formatted ChangeLog entry.
     35# diff and a properly formatted GNU ChangeLog entry.
    3636#
    3737# Configuration subroutine to validate and canonicalize a configuration type.
     
    3939# If it is invalid, we print an error message on stderr and exit with code 1.
    4040# Otherwise, we print the canonical config type on stdout and succeed.
     41
     42# You can get the latest version of this script from:
     43# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
    4144
    4245# This file is supposed to be the same for all GNU packages
     
    150153        -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
    151154        -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
    152         -apple | -axis | -knuth | -cray)
     155        -apple | -axis | -knuth | -cray | -microblaze)
    153156                os=
    154157                basic_machine=$1
     158                ;;
     159        -bluegene*)
     160                os=-cnk
    155161                ;;
    156162        -sim | -cisco | -oki | -wec | -winbond)
     
    282288        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    283289        | pyramid \
     290        | rx \
    284291        | score \
    285292        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
     
    289296        | spu | strongarm \
    290297        | tahoe | thumb | tic4x | tic80 | tron \
     298        | ubicom32 \
    291299        | v850 | v850e \
    292300        | we32k \
     
    295303                basic_machine=$basic_machine-unknown
    296304                ;;
    297         m6811 | m68hc11 | m6812 | m68hc12)
     305        m6811 | m68hc11 | m6812 | m68hc12 | picochip)
    298306                # Motorola 68HC11/12.
    299307                basic_machine=$basic_machine-unknown
     
    338346        | m32c-* | m32r-* | m32rle-* \
    339347        | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
    340         | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
     348        | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
    341349        | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
    342350        | mips16-* \
     
    366374        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
    367375        | pyramid-* \
    368         | romp-* | rs6000-* \
     376        | romp-* | rs6000-* | rx-* \
    369377        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
    370378        | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
     
    375383        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
    376384        | tron-* \
     385        | ubicom32-* \
    377386        | v850-* | v850e-* | vax-* \
    378387        | we32k-* \
     
    467476                basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
    468477                os=-linux
     478                ;;
     479        bluegene*)
     480                basic_machine=powerpc-ibm
     481                os=-cnk
    469482                ;;
    470483        c90)
     
    719732                basic_machine=ns32k-utek
    720733                os=-sysv
     734                ;;
     735        microblaze)
     736                basic_machine=microblaze-xilinx
    721737                ;;
    722738        mingw32)
     
    12411257        # that might get confused with valid system types.
    12421258        # -solaris* is a basic system type, with this one exception.
     1259        -auroraux)
     1260                os=-auroraux
     1261                ;;
    12431262        -solaris1 | -solaris1.*)
    12441263                os=`echo $os | sed -e 's|solaris1|sunos4|'`
     
    12611280        # -sysv* is not here because it comes later, after sysvr4.
    12621281        -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
    1263               | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    1264               | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
    1265               | -kopensolaris* \
     1282              | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
     1283              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
     1284              | -sym* | -kopensolaris* \
    12661285              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    12671286              | -aos* | -aros* \
     
    12841303              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    12851304              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1286               | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
     1305              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
    12871306        # Remember, each alternative MUST END IN *, to match a version number.
    12881307                ;;
     
    16141633                                vendor=sun
    16151634                                ;;
    1616                         -aix*)
     1635                        -cnk*|-aix*)
    16171636                                vendor=ibm
    16181637                                ;;
  • trunk/libjpeg/configure

    r283 r470  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for libjpeg 7.0.
     3# Generated by GNU Autoconf 2.65 for libjpeg 8.0.2.
     4#
    45#
    56# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     8# Inc.
     9#
     10#
    711# This configure script is free software; the Free Software Foundation
    812# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1216
    1317# Be more Bourne compatible
    1418DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1620  emulate sh
    1721  NULLCMD=:
     
    2125  setopt NO_GLOB_SUBST
    2226else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2532esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    3935
    4036as_nl='
     
    4541as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4642as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    4850  as_echo='printf %s\n'
    4951  as_echo_n='printf %s'
     
    5658    as_echo_n_body='eval
    5759      arg=$1;
    58       case $arg in
     60      case $arg in #(
    5961      *"$as_nl"*)
    6062        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    7981fi
    8082
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    8883
    8984# IFS
     
    9590
    9691# Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
     92case $0 in #((
    9893  *[\\/]* ) as_myself=$0 ;;
    9994  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10297  IFS=$as_save_IFS
    10398  test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     100  done
    106101IFS=$as_save_IFS
    107102
     
    115110if test ! -f "$as_myself"; then
    116111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     112  exit 1
     113fi
     114
     115# Unset variables that we do not need and which cause bugs (e.g. in
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     117# suppresses any "Segmentation fault" message there.  '((' could
     118# trigger a bug in pdksh 5.2.14.
     119for as_var in BASH_ENV ENV MAIL MAILPATH
     120do eval test x\${$as_var+set} = xset \
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123122done
    124123PS1='$ '
     
    132131export LANGUAGE
    133132
    134 # Required to use basename.
     133# CDPATH.
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     135
     136if test "x$CONFIG_SHELL" = x; then
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     138  emulate sh
     139  NULLCMD=:
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     141  # is contrary to our usage.  Disable this feature.
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     143  setopt NO_GLOB_SUBST
     144else
     145  case \`(set -o) 2>/dev/null\` in #(
     146  *posix*) :
     147    set -o posix ;; #(
     148  *) :
     149     ;;
     150esac
     151fi
     152"
     153  as_required="as_fn_return () { (exit \$1); }
     154as_fn_success () { as_fn_return 0; }
     155as_fn_failure () { as_fn_return 1; }
     156as_fn_ret_success () { return 0; }
     157as_fn_ret_failure () { return 1; }
     158
     159exitcode=0
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     165
     166else
     167  exitcode=1; echo positional parameters were not saved.
     168fi
     169test x\$exitcode = x0 || exit 1"
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     174test \$(( 1 + 1 )) = 2 || exit 1"
     175  if (eval "$as_required") 2>/dev/null; then :
     176  as_have_required=yes
     177else
     178  as_have_required=no
     179fi
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     181
     182else
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     184as_found=false
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     186do
     187  IFS=$as_save_IFS
     188  test -z "$as_dir" && as_dir=.
     189  as_found=:
     190  case $as_dir in #(
     191         /*)
     192           for as_base in sh bash ksh sh5; do
     193             # Try only shells that exist, to save several forks.
     194             as_shell=$as_dir/$as_base
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     197  CONFIG_SHELL=$as_shell as_have_required=yes
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     199  break 2
     200fi
     201fi
     202           done;;
     203       esac
     204  as_found=false
     205done
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     208  CONFIG_SHELL=$SHELL as_have_required=yes
     209fi; }
     210IFS=$as_save_IFS
     211
     212
     213      if test "x$CONFIG_SHELL" != x; then :
     214  # We cannot yet assume a decent shell, so we have to provide a
     215        # neutralization value for shells without unset; and this also
     216        # works around shells that cannot unset nonexistent variables.
     217        BASH_ENV=/dev/null
     218        ENV=/dev/null
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     220        export CONFIG_SHELL
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     222fi
     223
     224    if test x$as_have_required = xno; then :
     225  $as_echo "$0: This script requires a shell more modern than all"
     226  $as_echo "$0: the shells that I found on your system."
     227  if test x${ZSH_VERSION+set} = xset ; then
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     230  else
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
     232$0: including any error possibly output before this
     233$0: message. Then install a modern shell, or manually run
     234$0: the script under such a shell if you do have one."
     235  fi
     236  exit 1
     237fi
     238fi
     239fi
     240SHELL=${CONFIG_SHELL-/bin/sh}
     241export SHELL
     242# Unset more variables known to interfere with behavior of common tools.
     243CLICOLOR_FORCE= GREP_OPTIONS=
     244unset CLICOLOR_FORCE GREP_OPTIONS
     245
     246## --------------------- ##
     247## M4sh Shell Functions. ##
     248## --------------------- ##
     249# as_fn_unset VAR
     250# ---------------
     251# Portably unset VAR.
     252as_fn_unset ()
     253{
     254  { eval $1=; unset $1;}
     255}
     256as_unset=as_fn_unset
     257
     258# as_fn_set_status STATUS
     259# -----------------------
     260# Set $? to STATUS, without forking.
     261as_fn_set_status ()
     262{
     263  return $1
     264} # as_fn_set_status
     265
     266# as_fn_exit STATUS
     267# -----------------
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     269as_fn_exit ()
     270{
     271  set +e
     272  as_fn_set_status $1
     273  exit $1
     274} # as_fn_exit
     275
     276# as_fn_mkdir_p
     277# -------------
     278# Create "$as_dir" as a directory, including parents if necessary.
     279as_fn_mkdir_p ()
     280{
     281
     282  case $as_dir in #(
     283  -*) as_dir=./$as_dir;;
     284  esac
     285  test -d "$as_dir" || eval $as_mkdir_p || {
     286    as_dirs=
     287    while :; do
     288      case $as_dir in #(
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     290      *) as_qdir=$as_dir;;
     291      esac
     292      as_dirs="'$as_qdir' $as_dirs"
     293      as_dir=`$as_dirname -- "$as_dir" ||
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     295         X"$as_dir" : 'X\(//\)[^/]' \| \
     296         X"$as_dir" : 'X\(//\)$' \| \
     297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     298$as_echo X"$as_dir" |
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     300            s//\1/
     301            q
     302          }
     303          /^X\(\/\/\)[^/].*/{
     304            s//\1/
     305            q
     306          }
     307          /^X\(\/\/\)$/{
     308            s//\1/
     309            q
     310          }
     311          /^X\(\/\).*/{
     312            s//\1/
     313            q
     314          }
     315          s/.*/./; q'`
     316      test -d "$as_dir" && break
     317    done
     318    test -z "$as_dirs" || eval "mkdir $as_dirs"
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     320
     321
     322} # as_fn_mkdir_p
     323# as_fn_append VAR VALUE
     324# ----------------------
     325# Append the text in VALUE to the end of the definition contained in VAR. Take
     326# advantage of any shell optimizations that allow amortized linear growth over
     327# repeated appends, instead of the typical quadratic growth present in naive
     328# implementations.
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     330  eval 'as_fn_append ()
     331  {
     332    eval $1+=\$2
     333  }'
     334else
     335  as_fn_append ()
     336  {
     337    eval $1=\$$1\$2
     338  }
     339fi # as_fn_append
     340
     341# as_fn_arith ARG...
     342# ------------------
     343# Perform arithmetic evaluation on the ARGs, and store the result in the
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments
     345# must be portable across $(()) and expr.
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     347  eval 'as_fn_arith ()
     348  {
     349    as_val=$(( $* ))
     350  }'
     351else
     352  as_fn_arith ()
     353  {
     354    as_val=`expr "$@" || test $? -eq 1`
     355  }
     356fi # as_fn_arith
     357
     358
     359# as_fn_error ERROR [LINENO LOG_FD]
     360# ---------------------------------
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     363# script with status $?, using 1 if that was 0.
     364as_fn_error ()
     365{
     366  as_status=$?; test $as_status -eq 0 && as_status=1
     367  if test "$3"; then
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     370  fi
     371  $as_echo "$as_me: error: $1" >&2
     372  as_fn_exit $as_status
     373} # as_fn_error
     374
    135375if expr a : '\(a\)' >/dev/null 2>&1 &&
    136376   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    146386fi
    147387
    148 
    149 # Name of the executable.
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     389  as_dirname=dirname
     390else
     391  as_dirname=false
     392fi
     393
    150394as_me=`$as_basename -- "$0" ||
    151395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    167411          s/.*/./; q'`
    168412
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&     (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$exitcode = 0) || { (exit 1); exit 1; }
    230 
    231 (
    232   as_lineno_1=\$LINENO
    233   as_lineno_2=\$LINENO
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    236 ") 2> /dev/null; then
    237   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246          /*)
    247            for as_base in sh bash ksh sh5; do
    248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    249            done;;
    250        esac
    251 done
    252 IFS=$as_save_IFS
    253 
    254 
    255       for as_shell in $as_candidate_shells $SHELL; do
    256          # Try only shells that exist, to save several forks.
    257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    272 
    273 
    274 :
    275 _ASEOF
    276 }; then
    277   CONFIG_SHELL=$as_shell
    278                as_have_required=yes
    279                if { "$as_shell" 2> /dev/null <<\_ASEOF
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    281   emulate sh
    282   NULLCMD=:
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    284   # is contrary to our usage.  Disable this feature.
    285   alias -g '${1+"$@"}'='"$@"'
    286   setopt NO_GLOB_SUBST
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    358 
    359       done
    360 
    361       if test "x$CONFIG_SHELL" != x; then
    362   for as_var in BASH_ENV ENV
    363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    364         done
    365         export CONFIG_SHELL
    366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    367 fi
    368 
    369 
    370     if test $as_have_required = no; then
    371   echo This script requires a shell more modern than all the
    372       echo shells that I found on your system.  Please install a
    373       echo modern shell, or manually run the script under such a
    374       echo shell if you do have one.
    375       { (exit 1); exit 1; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$exitcode = 0") || {
    434   echo No shell found that supports shell functions.
    435   echo Please tell bug-autoconf@gnu.org about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    450   # line-number line after each line using $LINENO; the second 'sed'
    451   # does the real work.  The second script uses 'N' to pair each
    452   # line-number line with the line containing $LINENO, and appends
    453   # trailing '-' during substitution so that $LINENO is not a special
    454   # case at line end.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # E. McMahon (1931-1989) for sed's syntax.  :-)
     413# Avoid depending upon Character Ranges.
     414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     417as_cr_digits='0123456789'
     418as_cr_alnum=$as_cr_Letters$as_cr_digits
     419
     420
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    458426  sed -n '
    459427    p
     
    472440    ' >$as_me.lineno &&
    473441  chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    476443
    477444  # Don't try to exec as it changes $[0], causing all sort of problems
     
    483450}
    484451
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492452ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
     453case `echo -n x` in #(((((
    494454-n*)
    495   case `echo 'x\c'` in
     455  case `echo 'xy\c'` in
    496456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
     457  xy)  ECHO_C='\c';;
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     459       ECHO_T=' ';;
    498460  esac;;
    499461*)
    500462  ECHO_N='-n';;
    501463esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508464
    509465rm -f conf$$ conf$$.exe conf$$.file
     
    535491
    536492if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
     493  as_mkdir_p='mkdir -p "$as_dir"'
    538494else
    539495  test -d ./-p && rmdir ./-p
     
    554510        test -d "$1/.";
    555511      else
    556         case $1 in
     512        case $1 in #(
    557513        -*)set "./$1";;
    558514        esac;
    559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    560516        ???[sx]*):;;*)false;;esac;fi
    561517    '\'' sh
     
    569525# Sed expression to map a string onto a valid variable name.
    570526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    571 
    572527
    573528
     
    721676
    722677
    723 exec 7<&0 </dev/null 6>&1
     678test -n "$DJDIR" || exec 7<&0 </dev/null
     679exec 6>&1
    724680
    725681# Name of the host.
     
    739695MFLAGS=
    740696MAKEFLAGS=
    741 SHELL=${CONFIG_SHELL-/bin/sh}
    742697
    743698# Identity of this package.
    744699PACKAGE_NAME='libjpeg'
    745700PACKAGE_TARNAME='libjpeg'
    746 PACKAGE_VERSION='7.0'
    747 PACKAGE_STRING='libjpeg 7.0'
     701PACKAGE_VERSION='8.0.2'
     702PACKAGE_STRING='libjpeg 8.0.2'
    748703PACKAGE_BUGREPORT=''
     704PACKAGE_URL=''
    749705
    750706# Factoring default headers for most tests.
     
    902858prefix
    903859exec_prefix
     860PACKAGE_URL
    904861PACKAGE_BUGREPORT
    905862PACKAGE_STRING
     
    1041998    # Reject names that are not valid shell variable names.
    1042999    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1043       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    1044    { (exit 1); exit 1; }; }
     1000      as_fn_error "invalid feature name: $ac_useropt"
    10451001    ac_useropt_orig=$ac_useropt
    10461002    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10681024    # Reject names that are not valid shell variable names.
    10691025    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1070       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    1071    { (exit 1); exit 1; }; }
     1026      as_fn_error "invalid feature name: $ac_useropt"
    10721027    ac_useropt_orig=$ac_useropt
    10731028    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12731228    # Reject names that are not valid shell variable names.
    12741229    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1275       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1276    { (exit 1); exit 1; }; }
     1230      as_fn_error "invalid package name: $ac_useropt"
    12771231    ac_useropt_orig=$ac_useropt
    12781232    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12901244    # Reject names that are not valid shell variable names.
    12911245    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1292       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1293    { (exit 1); exit 1; }; }
     1246      as_fn_error "invalid package name: $ac_useropt"
    12941247    ac_useropt_orig=$ac_useropt
    12951248    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    13211274    x_libraries=$ac_optarg ;;
    13221275
    1323   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1324 Try \`$0 --help' for more information." >&2
    1325    { (exit 1); exit 1; }; }
     1276  -*) as_fn_error "unrecognized option: \`$ac_option'
     1277Try \`$0 --help' for more information."
    13261278    ;;
    13271279
     
    13291281    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    13301282    # Reject names that are not valid shell variable names.
    1331     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1332       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1333    { (exit 1); exit 1; }; }
     1283    case $ac_envvar in #(
     1284      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1285      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1286    esac
    13341287    eval $ac_envvar=\$ac_optarg
    13351288    export $ac_envvar ;;
     
    13481301if test -n "$ac_prev"; then
    13491302  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1350   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1351    { (exit 1); exit 1; }; }
     1303  as_fn_error "missing argument to $ac_option"
    13521304fi
    13531305
     
    13551307  case $enable_option_checking in
    13561308    no) ;;
    1357     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1358    { (exit 1); exit 1; }; } ;;
     1309    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
    13591310    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    13601311  esac
     
    13791330    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    13801331  esac
    1381   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1382    { (exit 1); exit 1; }; }
     1332  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    13831333done
    13841334
     
    14101360ac_ls_di=`ls -di .` &&
    14111361ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1412   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1413    { (exit 1); exit 1; }; }
     1362  as_fn_error "working directory cannot be determined"
    14141363test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1415   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1416    { (exit 1); exit 1; }; }
     1364  as_fn_error "pwd does not report name of working directory"
    14171365
    14181366
     
    14531401if test ! -r "$srcdir/$ac_unique_file"; then
    14541402  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1455   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1456    { (exit 1); exit 1; }; }
     1403  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    14571404fi
    14581405ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    14591406ac_abs_confdir=`(
    1460         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1461    { (exit 1); exit 1; }; }
     1407        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    14621408        pwd)`
    14631409# When building in place, set srcdir=.
     
    14851431  # This message is too long to be a string in the A/UX 3.1 sh.
    14861432  cat <<_ACEOF
    1487 \`configure' configures libjpeg 7.0 to adapt to many kinds of systems.
     1433\`configure' configures libjpeg 8.0.2 to adapt to many kinds of systems.
    14881434
    14891435Usage: $0 [OPTION]... [VAR=VALUE]...
     
    15561502if test -n "$ac_init_help"; then
    15571503  case $ac_init_help in
    1558      short | recursive ) echo "Configuration of libjpeg 7.0:";;
     1504     short | recursive ) echo "Configuration of libjpeg 8.0.2:";;
    15591505   esac
    15601506  cat <<\_ACEOF
     
    15931539              nonstandard directory <lib dir>
    15941540  LIBS        libraries to pass to the linker, e.g. -l<library>
    1595   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1541  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15961542              you have headers in a nonstandard directory <include dir>
    15971543  CPP         C preprocessor
     
    16001546it to find libraries and programs with nonstandard names/locations.
    16011547
     1548Report bugs to the package provider.
    16021549_ACEOF
    16031550ac_status=$?
     
    16621609if $ac_init_version; then
    16631610  cat <<\_ACEOF
    1664 libjpeg configure 7.0
    1665 generated by GNU Autoconf 2.63
    1666 
    1667 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1668 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1611libjpeg configure 8.0.2
     1612generated by GNU Autoconf 2.65
     1613
     1614Copyright (C) 2009 Free Software Foundation, Inc.
    16691615This configure script is free software; the Free Software Foundation
    16701616gives unlimited permission to copy, distribute and modify it.
     
    16721618  exit
    16731619fi
     1620
     1621## ------------------------ ##
     1622## Autoconf initialization. ##
     1623## ------------------------ ##
     1624
     1625# ac_fn_c_try_compile LINENO
     1626# --------------------------
     1627# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1628ac_fn_c_try_compile ()
     1629{
     1630  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1631  rm -f conftest.$ac_objext
     1632  if { { ac_try="$ac_compile"
     1633case "(($ac_try" in
     1634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1635  *) ac_try_echo=$ac_try;;
     1636esac
     1637eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1638$as_echo "$ac_try_echo"; } >&5
     1639  (eval "$ac_compile") 2>conftest.err
     1640  ac_status=$?
     1641  if test -s conftest.err; then
     1642    grep -v '^ *+' conftest.err >conftest.er1
     1643    cat conftest.er1 >&5
     1644    mv -f conftest.er1 conftest.err
     1645  fi
     1646  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1647  test $ac_status = 0; } && {
     1648         test -z "$ac_c_werror_flag" ||
     1649         test ! -s conftest.err
     1650       } && test -s conftest.$ac_objext; then :
     1651  ac_retval=0
     1652else
     1653  $as_echo "$as_me: failed program was:" >&5
     1654sed 's/^/| /' conftest.$ac_ext >&5
     1655
     1656        ac_retval=1
     1657fi
     1658  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1659  as_fn_set_status $ac_retval
     1660
     1661} # ac_fn_c_try_compile
     1662
     1663# ac_fn_c_try_cpp LINENO
     1664# ----------------------
     1665# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1666ac_fn_c_try_cpp ()
     1667{
     1668  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1669  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1670case "(($ac_try" in
     1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1672  *) ac_try_echo=$ac_try;;
     1673esac
     1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1675$as_echo "$ac_try_echo"; } >&5
     1676  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1677  ac_status=$?
     1678  if test -s conftest.err; then
     1679    grep -v '^ *+' conftest.err >conftest.er1
     1680    cat conftest.er1 >&5
     1681    mv -f conftest.er1 conftest.err
     1682  fi
     1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1684  test $ac_status = 0; } >/dev/null && {
     1685         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1686         test ! -s conftest.err
     1687       }; then :
     1688  ac_retval=0
     1689else
     1690  $as_echo "$as_me: failed program was:" >&5
     1691sed 's/^/| /' conftest.$ac_ext >&5
     1692
     1693    ac_retval=1
     1694fi
     1695  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1696  as_fn_set_status $ac_retval
     1697
     1698} # ac_fn_c_try_cpp
     1699
     1700# ac_fn_c_try_run LINENO
     1701# ----------------------
     1702# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1703# that executables *can* be run.
     1704ac_fn_c_try_run ()
     1705{
     1706  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1707  if { { ac_try="$ac_link"
     1708case "(($ac_try" in
     1709  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1710  *) ac_try_echo=$ac_try;;
     1711esac
     1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1713$as_echo "$ac_try_echo"; } >&5
     1714  (eval "$ac_link") 2>&5
     1715  ac_status=$?
     1716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1717  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1718  { { case "(($ac_try" in
     1719  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1720  *) ac_try_echo=$ac_try;;
     1721esac
     1722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1723$as_echo "$ac_try_echo"; } >&5
     1724  (eval "$ac_try") 2>&5
     1725  ac_status=$?
     1726  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1727  test $ac_status = 0; }; }; then :
     1728  ac_retval=0
     1729else
     1730  $as_echo "$as_me: program exited with status $ac_status" >&5
     1731       $as_echo "$as_me: failed program was:" >&5
     1732sed 's/^/| /' conftest.$ac_ext >&5
     1733
     1734       ac_retval=$ac_status
     1735fi
     1736  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1737  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1738  as_fn_set_status $ac_retval
     1739
     1740} # ac_fn_c_try_run
     1741
     1742# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1743# -------------------------------------------------------
     1744# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1745# the include files in INCLUDES and setting the cache variable VAR
     1746# accordingly.
     1747ac_fn_c_check_header_mongrel ()
     1748{
     1749  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1750  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1751  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1752$as_echo_n "checking for $2... " >&6; }
     1753if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1754  $as_echo_n "(cached) " >&6
     1755fi
     1756eval ac_res=\$$3
     1757               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1758$as_echo "$ac_res" >&6; }
     1759else
     1760  # Is the header compilable?
     1761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1762$as_echo_n "checking $2 usability... " >&6; }
     1763cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1764/* end confdefs.h.  */
     1765$4
     1766#include <$2>
     1767_ACEOF
     1768if ac_fn_c_try_compile "$LINENO"; then :
     1769  ac_header_compiler=yes
     1770else
     1771  ac_header_compiler=no
     1772fi
     1773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1775$as_echo "$ac_header_compiler" >&6; }
     1776
     1777# Is the header present?
     1778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1779$as_echo_n "checking $2 presence... " >&6; }
     1780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1781/* end confdefs.h.  */
     1782#include <$2>
     1783_ACEOF
     1784if ac_fn_c_try_cpp "$LINENO"; then :
     1785  ac_header_preproc=yes
     1786else
     1787  ac_header_preproc=no
     1788fi
     1789rm -f conftest.err conftest.$ac_ext
     1790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1791$as_echo "$ac_header_preproc" >&6; }
     1792
     1793# So?  What about this header?
     1794case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1795  yes:no: )
     1796    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1797$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1798    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1799$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1800    ;;
     1801  no:yes:* )
     1802    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1803$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1804    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1805$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1806    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1807$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1808    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1809$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1810    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1811$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1812    ;;
     1813esac
     1814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1815$as_echo_n "checking for $2... " >&6; }
     1816if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1817  $as_echo_n "(cached) " >&6
     1818else
     1819  eval "$3=\$ac_header_compiler"
     1820fi
     1821eval ac_res=\$$3
     1822               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1823$as_echo "$ac_res" >&6; }
     1824fi
     1825  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1826
     1827} # ac_fn_c_check_header_mongrel
     1828
     1829# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1830# -------------------------------------------------------
     1831# Tests whether HEADER exists and can be compiled using the include files in
     1832# INCLUDES, setting the cache variable VAR accordingly.
     1833ac_fn_c_check_header_compile ()
     1834{
     1835  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1837$as_echo_n "checking for $2... " >&6; }
     1838if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1839  $as_echo_n "(cached) " >&6
     1840else
     1841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1842/* end confdefs.h.  */
     1843$4
     1844#include <$2>
     1845_ACEOF
     1846if ac_fn_c_try_compile "$LINENO"; then :
     1847  eval "$3=yes"
     1848else
     1849  eval "$3=no"
     1850fi
     1851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1852fi
     1853eval ac_res=\$$3
     1854               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1855$as_echo "$ac_res" >&6; }
     1856  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1857
     1858} # ac_fn_c_check_header_compile
     1859
     1860# ac_fn_c_try_link LINENO
     1861# -----------------------
     1862# Try to link conftest.$ac_ext, and return whether this succeeded.
     1863ac_fn_c_try_link ()
     1864{
     1865  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1866  rm -f conftest.$ac_objext conftest$ac_exeext
     1867  if { { ac_try="$ac_link"
     1868case "(($ac_try" in
     1869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1870  *) ac_try_echo=$ac_try;;
     1871esac
     1872eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1873$as_echo "$ac_try_echo"; } >&5
     1874  (eval "$ac_link") 2>conftest.err
     1875  ac_status=$?
     1876  if test -s conftest.err; then
     1877    grep -v '^ *+' conftest.err >conftest.er1
     1878    cat conftest.er1 >&5
     1879    mv -f conftest.er1 conftest.err
     1880  fi
     1881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1882  test $ac_status = 0; } && {
     1883         test -z "$ac_c_werror_flag" ||
     1884         test ! -s conftest.err
     1885       } && test -s conftest$ac_exeext && {
     1886         test "$cross_compiling" = yes ||
     1887         $as_test_x conftest$ac_exeext
     1888       }; then :
     1889  ac_retval=0
     1890else
     1891  $as_echo "$as_me: failed program was:" >&5
     1892sed 's/^/| /' conftest.$ac_ext >&5
     1893
     1894        ac_retval=1
     1895fi
     1896  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1897  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1898  # interfere with the next link command; also delete a directory that is
     1899  # left behind by Apple's compiler.  We do this before executing the actions.
     1900  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1901  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1902  as_fn_set_status $ac_retval
     1903
     1904} # ac_fn_c_try_link
     1905
     1906# ac_fn_c_check_func LINENO FUNC VAR
     1907# ----------------------------------
     1908# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1909ac_fn_c_check_func ()
     1910{
     1911  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1913$as_echo_n "checking for $2... " >&6; }
     1914if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1915  $as_echo_n "(cached) " >&6
     1916else
     1917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1918/* end confdefs.h.  */
     1919/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1920   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1921#define $2 innocuous_$2
     1922
     1923/* System header to define __stub macros and hopefully few prototypes,
     1924    which can conflict with char $2 (); below.
     1925    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1926    <limits.h> exists even on freestanding compilers.  */
     1927
     1928#ifdef __STDC__
     1929# include <limits.h>
     1930#else
     1931# include <assert.h>
     1932#endif
     1933
     1934#undef $2
     1935
     1936/* Override any GCC internal prototype to avoid an error.
     1937   Use char because int might match the return type of a GCC
     1938   builtin and then its argument prototype would still apply.  */
     1939#ifdef __cplusplus
     1940extern "C"
     1941#endif
     1942char $2 ();
     1943/* The GNU C library defines this for functions which it implements
     1944    to always fail with ENOSYS.  Some functions are actually named
     1945    something starting with __ and the normal name is an alias.  */
     1946#if defined __stub_$2 || defined __stub___$2
     1947choke me
     1948#endif
     1949
     1950int
     1951main ()
     1952{
     1953return $2 ();
     1954  ;
     1955  return 0;
     1956}
     1957_ACEOF
     1958if ac_fn_c_try_link "$LINENO"; then :
     1959  eval "$3=yes"
     1960else
     1961  eval "$3=no"
     1962fi
     1963rm -f core conftest.err conftest.$ac_objext \
     1964    conftest$ac_exeext conftest.$ac_ext
     1965fi
     1966eval ac_res=\$$3
     1967               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1968$as_echo "$ac_res" >&6; }
     1969  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1970
     1971} # ac_fn_c_check_func
    16741972cat >config.log <<_ACEOF
    16751973This file contains any messages produced by compilers while
    16761974running configure, to aid debugging if configure makes a mistake.
    16771975
    1678 It was created by libjpeg $as_me 7.0, which was
    1679 generated by GNU Autoconf 2.63.  Invocation command line was
     1976It was created by libjpeg $as_me 8.0.2, which was
     1977generated by GNU Autoconf 2.65.  Invocation command line was
    16801978
    16811979  $ $0 $@
     
    17132011  IFS=$as_save_IFS
    17142012  test -z "$as_dir" && as_dir=.
    1715   $as_echo "PATH: $as_dir"
    1716 done
     2013    $as_echo "PATH: $as_dir"
     2014  done
    17172015IFS=$as_save_IFS
    17182016
     
    17512049    esac
    17522050    case $ac_pass in
    1753     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2051    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    17542052    2)
    1755       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2053      as_fn_append ac_configure_args1 " '$ac_arg'"
    17562054      if test $ac_must_keep_next = true; then
    17572055        ac_must_keep_next=false # Got value, back to normal.
     
    17692067        esac
    17702068      fi
    1771       ac_configure_args="$ac_configure_args '$ac_arg'"
     2069      as_fn_append ac_configure_args " '$ac_arg'"
    17722070      ;;
    17732071    esac
    17742072  done
    17752073done
    1776 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1777 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2074{ ac_configure_args0=; unset ac_configure_args0;}
     2075{ ac_configure_args1=; unset ac_configure_args1;}
    17782076
    17792077# When interrupted or exit'd, cleanup temporary files, and complete
     
    18002098    *${as_nl}*)
    18012099      case $ac_var in #(
    1802       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2100      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    18032101$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    18042102      esac
     
    18062104      _ | IFS | as_nl) ;; #(
    18072105      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1808       *) $as_unset $ac_var ;;
     2106      *) { eval $ac_var=; unset $ac_var;} ;;
    18092107      esac ;;
    18102108    esac
     
    18782176' 0
    18792177for ac_signal in 1 2 13 15; do
    1880   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2178  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    18812179done
    18822180ac_signal=0
     
    18842182# confdefs.h avoids OS command line length limits that DEFS can exceed.
    18852183rm -f -r conftest* confdefs.h
     2184
     2185$as_echo "/* confdefs.h */" > confdefs.h
    18862186
    18872187# Predefined preprocessor variables.
     
    18912191_ACEOF
    18922192
    1893 
    18942193cat >>confdefs.h <<_ACEOF
    18952194#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18962195_ACEOF
    18972196
    1898 
    18992197cat >>confdefs.h <<_ACEOF
    19002198#define PACKAGE_VERSION "$PACKAGE_VERSION"
    19012199_ACEOF
    19022200
    1903 
    19042201cat >>confdefs.h <<_ACEOF
    19052202#define PACKAGE_STRING "$PACKAGE_STRING"
    19062203_ACEOF
    19072204
    1908 
    19092205cat >>confdefs.h <<_ACEOF
    19102206#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2207_ACEOF
     2208
     2209cat >>confdefs.h <<_ACEOF
     2210#define PACKAGE_URL "$PACKAGE_URL"
    19112211_ACEOF
    19122212
     
    19282228do
    19292229  test "x$ac_site_file" = xNONE && continue
    1930   if test -r "$ac_site_file"; then
    1931     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2230  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2231    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    19322232$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    19332233    sed 's/^/| /' "$ac_site_file" >&5
     
    19372237
    19382238if test -r "$cache_file"; then
    1939   # Some versions of bash will fail to source /dev/null (special
    1940   # files actually), so we avoid doing that.
    1941   if test -f "$cache_file"; then
    1942     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2239  # Some versions of bash will fail to source /dev/null (special files
     2240  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2241  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2242    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    19432243$as_echo "$as_me: loading cache $cache_file" >&6;}
    19442244    case $cache_file in
     
    19482248  fi
    19492249else
    1950   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2250  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    19512251$as_echo "$as_me: creating cache $cache_file" >&6;}
    19522252  >$cache_file
     
    19632263  case $ac_old_set,$ac_new_set in
    19642264    set,)
    1965       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2265      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    19662266$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    19672267      ac_cache_corrupted=: ;;
    19682268    ,set)
    1969       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2269      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    19702270$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    19712271      ac_cache_corrupted=: ;;
     
    19772277        ac_new_val_w=`echo x $ac_new_val`
    19782278        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1979           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2279          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    19802280$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    19812281          ac_cache_corrupted=:
    19822282        else
    1983           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2283          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    19842284$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19852285          eval $ac_var=\$ac_old_val
    19862286        fi
    1987         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2287        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    19882288$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1989         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2289        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    19902290$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19912291      fi;;
     
    19992299    case " $ac_configure_args " in
    20002300      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2001       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2301      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    20022302    esac
    20032303  fi
    20042304done
    20052305if $ac_cache_corrupted; then
    2006   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2306  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    20072307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2008   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2308  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    20092309$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2010   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    2011 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    2012    { (exit 1); exit 1; }; }
    2013 fi
    2014 
    2015 
    2016 
    2017 
    2018 
    2019 
    2020 
    2021 
    2022 
    2023 
    2024 
    2025 
    2026 
    2027 
    2028 
    2029 
    2030 
    2031 
    2032 
    2033 
    2034 
    2035 
    2036 
    2037 
     2310  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2311fi
     2312## -------------------- ##
     2313## Main body of script. ##
     2314## -------------------- ##
    20382315
    20392316ac_ext=c
     
    20482325ac_aux_dir=
    20492326for ac_dir in . "$srcdir"/.; do
    2050   if test -f "$ac_dir/install-sh"; then
    2051     ac_aux_dir=$ac_dir
    2052     ac_install_sh="$ac_aux_dir/install-sh -c"
    2053     break
    2054   elif test -f "$ac_dir/install.sh"; then
    2055     ac_aux_dir=$ac_dir
    2056     ac_install_sh="$ac_aux_dir/install.sh -c"
    2057     break
    2058   elif test -f "$ac_dir/shtool"; then
    2059     ac_aux_dir=$ac_dir
    2060     ac_install_sh="$ac_aux_dir/shtool install -c"
    2061     break
    2062   fi
     2327  for ac_t in install-sh install.sh shtool; do
     2328    if test -f "$ac_dir/$ac_t"; then
     2329      ac_aux_dir=$ac_dir
     2330      ac_install_sh="$ac_aux_dir/$ac_t -c"
     2331      break 2
     2332    fi
     2333  done
    20632334done
    20642335if test -z "$ac_aux_dir"; then
    2065   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
    2066 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
    2067    { (exit 1); exit 1; }; }
     2336  as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
    20682337fi
    20692338
     
    20882357# Make sure we can run config.sub.
    20892358$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    2090   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    2091 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    2092    { (exit 1); exit 1; }; }
    2093 
    2094 { $as_echo "$as_me:$LINENO: checking build system type" >&5
     2359  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     2360
     2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    20952362$as_echo_n "checking build system type... " >&6; }
    2096 if test "${ac_cv_build+set}" = set; then
     2363if test "${ac_cv_build+set}" = set; then :
    20972364  $as_echo_n "(cached) " >&6
    20982365else
     
    21012368  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    21022369test "x$ac_build_alias" = x &&
    2103   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    2104 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    2105    { (exit 1); exit 1; }; }
     2370  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
    21062371ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    2107   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    2108 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    2109    { (exit 1); exit 1; }; }
    2110 
    2111 fi
    2112 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     2372  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     2373
     2374fi
     2375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    21132376$as_echo "$ac_cv_build" >&6; }
    21142377case $ac_cv_build in
    21152378*-*-*) ;;
    2116 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    2117 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
    2118    { (exit 1); exit 1; }; };;
     2379*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
    21192380esac
    21202381build=$ac_cv_build
     
    21322393
    21332394
    2134 { $as_echo "$as_me:$LINENO: checking host system type" >&5
     2395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    21352396$as_echo_n "checking host system type... " >&6; }
    2136 if test "${ac_cv_host+set}" = set; then
     2397if test "${ac_cv_host+set}" = set; then :
    21372398  $as_echo_n "(cached) " >&6
    21382399else
     
    21412402else
    21422403  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    2143     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    2144 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    2145    { (exit 1); exit 1; }; }
    2146 fi
    2147 
    2148 fi
    2149 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     2404    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     2405fi
     2406
     2407fi
     2408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    21502409$as_echo "$ac_cv_host" >&6; }
    21512410case $ac_cv_host in
    21522411*-*-*) ;;
    2153 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    2154 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
    2155    { (exit 1); exit 1; }; };;
     2412*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
    21562413esac
    21572414host=$ac_cv_host
     
    21692426
    21702427
    2171 { $as_echo "$as_me:$LINENO: checking target system type" >&5
     2428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
    21722429$as_echo_n "checking target system type... " >&6; }
    2173 if test "${ac_cv_target+set}" = set; then
     2430if test "${ac_cv_target+set}" = set; then :
    21742431  $as_echo_n "(cached) " >&6
    21752432else
     
    21782435else
    21792436  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
    2180     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
    2181 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
    2182    { (exit 1); exit 1; }; }
    2183 fi
    2184 
    2185 fi
    2186 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     2437    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     2438fi
     2439
     2440fi
     2441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
    21872442$as_echo "$ac_cv_target" >&6; }
    21882443case $ac_cv_target in
    21892444*-*-*) ;;
    2190 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
    2191 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
    2192    { (exit 1); exit 1; }; };;
     2445*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
    21932446esac
    21942447target=$ac_cv_target
     
    22312484# ./install, which can be erroneously created by make from ./install.sh.
    22322485# Reject install programs that cannot install multiple files.
    2233 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    22342487$as_echo_n "checking for a BSD-compatible install... " >&6; }
    22352488if test -z "$INSTALL"; then
    2236 if test "${ac_cv_path_install+set}" = set; then
     2489if test "${ac_cv_path_install+set}" = set; then :
    22372490  $as_echo_n "(cached) " >&6
    22382491else
     
    22422495  IFS=$as_save_IFS
    22432496  test -z "$as_dir" && as_dir=.
    2244   # Account for people who put trailing slashes in PATH elements.
    2245 case $as_dir/ in
    2246   ./ | .// | /cC/* | \
     2497    # Account for people who put trailing slashes in PATH elements.
     2498case $as_dir/ in #((
     2499  ./ | .// | /[cC]/* | \
    22472500  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2248   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2501  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    22492502  /usr/ucb/* ) ;;
    22502503  *)
     
    22832536esac
    22842537
    2285 done
     2538  done
    22862539IFS=$as_save_IFS
    22872540
     
    22992552  fi
    23002553fi
    2301 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    23022555$as_echo "$INSTALL" >&6; }
    23032556
     
    23102563test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    23112564
    2312 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     2565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
    23132566$as_echo_n "checking whether build environment is sane... " >&6; }
    23142567# Just in case
     
    23212574case `pwd` in
    23222575  *[\\\"\#\$\&\'\`$am_lf]*)
    2323     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
    2324 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
    2325    { (exit 1); exit 1; }; };;
     2576    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
    23262577esac
    23272578case $srcdir in
    23282579  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
    2329     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
    2330 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
    2331    { (exit 1); exit 1; }; };;
     2580    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
    23322581esac
    23332582
     
    23512600      # broken ls alias from the environment.  This has actually
    23522601      # happened.  Such a system could not be considered "sane".
    2353       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
    2354 alias in your environment" >&5
    2355 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
    2356 alias in your environment" >&2;}
    2357    { (exit 1); exit 1; }; }
     2602      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
     2603alias in your environment" "$LINENO" 5
    23582604   fi
    23592605
     
    23642610   :
    23652611else
    2366    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
    2367 Check your system clock" >&5
    2368 $as_echo "$as_me: error: newly created file is older than distributed files!
    2369 Check your system clock" >&2;}
    2370    { (exit 1); exit 1; }; }
    2371 fi
    2372 { $as_echo "$as_me:$LINENO: result: yes" >&5
     2612   as_fn_error "newly created file is older than distributed files!
     2613Check your system clock" "$LINENO" 5
     2614fi
     2615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23732616$as_echo "yes" >&6; }
    23742617test "$program_prefix" != NONE &&
     
    23982641else
    23992642  am_missing_run=
    2400   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     2643  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
    24012644$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    24022645fi
     
    24192662  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    24202663set dummy ${ac_tool_prefix}strip; ac_word=$2
    2421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24222665$as_echo_n "checking for $ac_word... " >&6; }
    2423 if test "${ac_cv_prog_STRIP+set}" = set; then
     2666if test "${ac_cv_prog_STRIP+set}" = set; then :
    24242667  $as_echo_n "(cached) " >&6
    24252668else
     
    24322675  IFS=$as_save_IFS
    24332676  test -z "$as_dir" && as_dir=.
    2434   for ac_exec_ext in '' $ac_executable_extensions; do
     2677    for ac_exec_ext in '' $ac_executable_extensions; do
    24352678  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24362679    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    2437     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24382681    break 2
    24392682  fi
    24402683done
    2441 done
     2684  done
    24422685IFS=$as_save_IFS
    24432686
     
    24462689STRIP=$ac_cv_prog_STRIP
    24472690if test -n "$STRIP"; then
    2448   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
     2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
    24492692$as_echo "$STRIP" >&6; }
    24502693else
    2451   { $as_echo "$as_me:$LINENO: result: no" >&5
     2694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24522695$as_echo "no" >&6; }
    24532696fi
     
    24592702  # Extract the first word of "strip", so it can be a program name with args.
    24602703set dummy strip; ac_word=$2
    2461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24622705$as_echo_n "checking for $ac_word... " >&6; }
    2463 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
     2706if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
    24642707  $as_echo_n "(cached) " >&6
    24652708else
     
    24722715  IFS=$as_save_IFS
    24732716  test -z "$as_dir" && as_dir=.
    2474   for ac_exec_ext in '' $ac_executable_extensions; do
     2717    for ac_exec_ext in '' $ac_executable_extensions; do
    24752718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24762719    ac_cv_prog_ac_ct_STRIP="strip"
    2477     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24782721    break 2
    24792722  fi
    24802723done
    2481 done
     2724  done
    24822725IFS=$as_save_IFS
    24832726
     
    24862729ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    24872730if test -n "$ac_ct_STRIP"; then
    2488   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     2731  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
    24892732$as_echo "$ac_ct_STRIP" >&6; }
    24902733else
    2491   { $as_echo "$as_me:$LINENO: result: no" >&5
     2734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24922735$as_echo "no" >&6; }
    24932736fi
     
    24982741    case $cross_compiling:$ac_tool_warned in
    24992742yes:)
    2500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2743{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    25012744$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    25022745ac_tool_warned=yes ;;
     
    25112754INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
    25122755
    2513 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     2756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    25142757$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    25152758if test -z "$MKDIR_P"; then
    2516   if test "${ac_cv_path_mkdir+set}" = set; then
     2759  if test "${ac_cv_path_mkdir+set}" = set; then :
    25172760  $as_echo_n "(cached) " >&6
    25182761else
     
    25222765  IFS=$as_save_IFS
    25232766  test -z "$as_dir" && as_dir=.
    2524   for ac_prog in mkdir gmkdir; do
     2767    for ac_prog in mkdir gmkdir; do
    25252768         for ac_exec_ext in '' $ac_executable_extensions; do
    25262769           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    25342777         done
    25352778       done
    2536 done
     2779  done
    25372780IFS=$as_save_IFS
    25382781
    25392782fi
    25402783
     2784  test -d ./--version && rmdir ./--version
    25412785  if test "${ac_cv_path_mkdir+set}" = set; then
    25422786    MKDIR_P="$ac_cv_path_mkdir -p"
     
    25462790    # break other packages using the cache if that directory is
    25472791    # removed, or if the value is a relative name.
    2548     test -d ./--version && rmdir ./--version
    25492792    MKDIR_P="$ac_install_sh -d"
    25502793  fi
    25512794fi
    2552 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     2795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    25532796$as_echo "$MKDIR_P" >&6; }
    25542797
     
    25632806  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25642807set dummy $ac_prog; ac_word=$2
    2565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25662809$as_echo_n "checking for $ac_word... " >&6; }
    2567 if test "${ac_cv_prog_AWK+set}" = set; then
     2810if test "${ac_cv_prog_AWK+set}" = set; then :
    25682811  $as_echo_n "(cached) " >&6
    25692812else
     
    25762819  IFS=$as_save_IFS
    25772820  test -z "$as_dir" && as_dir=.
    2578   for ac_exec_ext in '' $ac_executable_extensions; do
     2821    for ac_exec_ext in '' $ac_executable_extensions; do
    25792822  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25802823    ac_cv_prog_AWK="$ac_prog"
    2581     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25822825    break 2
    25832826  fi
    25842827done
    2585 done
     2828  done
    25862829IFS=$as_save_IFS
    25872830
     
    25902833AWK=$ac_cv_prog_AWK
    25912834if test -n "$AWK"; then
    2592   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     2835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
    25932836$as_echo "$AWK" >&6; }
    25942837else
    2595   { $as_echo "$as_me:$LINENO: result: no" >&5
     2838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25962839$as_echo "no" >&6; }
    25972840fi
     
    26012844done
    26022845
    2603 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    26042847$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    26052848set x ${MAKE-make}
    26062849ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2607 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     2850if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
    26082851  $as_echo_n "(cached) " >&6
    26092852else
     
    26232866fi
    26242867if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2625   { $as_echo "$as_me:$LINENO: result: yes" >&5
     2868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    26262869$as_echo "yes" >&6; }
    26272870  SET_MAKE=
    26282871else
    2629   { $as_echo "$as_me:$LINENO: result: no" >&5
     2872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26302873$as_echo "no" >&6; }
    26312874  SET_MAKE="MAKE=${MAKE-make}"
     
    26472890  # test to see if srcdir already configured
    26482891  if test -f $srcdir/config.status; then
    2649     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
    2650 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
    2651    { (exit 1); exit 1; }; }
     2892    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
    26522893  fi
    26532894fi
     
    26652906# Define the identity of the package.
    26662907 PACKAGE='libjpeg'
    2667  VERSION='7.0'
     2908 VERSION='8.0.2'
    26682909
    26692910
     
    27102951# with --disable-silent-rules or use "make V=1".
    27112952# Check whether --enable-silent-rules was given.
    2712 if test "${enable_silent_rules+set}" = set; then
     2953if test "${enable_silent_rules+set}" = set; then :
    27132954  enableval=$enable_silent_rules;
    27142955fi
     
    27352976END
    27362977# If we don't find an include directive, just comment out the code.
    2737 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     2978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
    27382979$as_echo_n "checking for style of include used by $am_make... " >&6; }
    27392980am__include="#"
     
    27633004
    27643005
    2765 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
     3006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
    27663007$as_echo "$_am_result" >&6; }
    27673008rm -f confinc confmf
    27683009
    27693010# Check whether --enable-dependency-tracking was given.
    2770 if test "${enable_dependency_tracking+set}" = set; then
     3011if test "${enable_dependency_tracking+set}" = set; then :
    27713012  enableval=$enable_dependency_tracking;
    27723013fi
     
    27933034  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    27943035set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2795 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    27963037$as_echo_n "checking for $ac_word... " >&6; }
    2797 if test "${ac_cv_prog_CC+set}" = set; then
     3038if test "${ac_cv_prog_CC+set}" = set; then :
    27983039  $as_echo_n "(cached) " >&6
    27993040else
     
    28063047  IFS=$as_save_IFS
    28073048  test -z "$as_dir" && as_dir=.
    2808   for ac_exec_ext in '' $ac_executable_extensions; do
     3049    for ac_exec_ext in '' $ac_executable_extensions; do
    28093050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28103051    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2811     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28123053    break 2
    28133054  fi
    28143055done
    2815 done
     3056  done
    28163057IFS=$as_save_IFS
    28173058
     
    28203061CC=$ac_cv_prog_CC
    28213062if test -n "$CC"; then
    2822   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    28233064$as_echo "$CC" >&6; }
    28243065else
    2825   { $as_echo "$as_me:$LINENO: result: no" >&5
     3066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    28263067$as_echo "no" >&6; }
    28273068fi
     
    28333074  # Extract the first word of "gcc", so it can be a program name with args.
    28343075set dummy gcc; ac_word=$2
    2835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    28363077$as_echo_n "checking for $ac_word... " >&6; }
    2837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3078if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    28383079  $as_echo_n "(cached) " >&6
    28393080else
     
    28463087  IFS=$as_save_IFS
    28473088  test -z "$as_dir" && as_dir=.
    2848   for ac_exec_ext in '' $ac_executable_extensions; do
     3089    for ac_exec_ext in '' $ac_executable_extensions; do
    28493090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28503091    ac_cv_prog_ac_ct_CC="gcc"
    2851     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28523093    break 2
    28533094  fi
    28543095done
    2855 done
     3096  done
    28563097IFS=$as_save_IFS
    28573098
     
    28603101ac_ct_CC=$ac_cv_prog_ac_ct_CC
    28613102if test -n "$ac_ct_CC"; then
    2862   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    28633104$as_echo "$ac_ct_CC" >&6; }
    28643105else
    2865   { $as_echo "$as_me:$LINENO: result: no" >&5
     3106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    28663107$as_echo "no" >&6; }
    28673108fi
     
    28723113    case $cross_compiling:$ac_tool_warned in
    28733114yes:)
    2874 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    28753116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28763117ac_tool_warned=yes ;;
     
    28863127    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    28873128set dummy ${ac_tool_prefix}cc; ac_word=$2
    2888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    28893130$as_echo_n "checking for $ac_word... " >&6; }
    2890 if test "${ac_cv_prog_CC+set}" = set; then
     3131if test "${ac_cv_prog_CC+set}" = set; then :
    28913132  $as_echo_n "(cached) " >&6
    28923133else
     
    28993140  IFS=$as_save_IFS
    29003141  test -z "$as_dir" && as_dir=.
    2901   for ac_exec_ext in '' $ac_executable_extensions; do
     3142    for ac_exec_ext in '' $ac_executable_extensions; do
    29023143  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29033144    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3145    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29053146    break 2
    29063147  fi
    29073148done
    2908 done
     3149  done
    29093150IFS=$as_save_IFS
    29103151
     
    29133154CC=$ac_cv_prog_CC
    29143155if test -n "$CC"; then
    2915   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    29163157$as_echo "$CC" >&6; }
    29173158else
    2918   { $as_echo "$as_me:$LINENO: result: no" >&5
     3159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    29193160$as_echo "no" >&6; }
    29203161fi
     
    29263167  # Extract the first word of "cc", so it can be a program name with args.
    29273168set dummy cc; ac_word=$2
    2928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    29293170$as_echo_n "checking for $ac_word... " >&6; }
    2930 if test "${ac_cv_prog_CC+set}" = set; then
     3171if test "${ac_cv_prog_CC+set}" = set; then :
    29313172  $as_echo_n "(cached) " >&6
    29323173else
     
    29403181  IFS=$as_save_IFS
    29413182  test -z "$as_dir" && as_dir=.
    2942   for ac_exec_ext in '' $ac_executable_extensions; do
     3183    for ac_exec_ext in '' $ac_executable_extensions; do
    29433184  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29443185    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    29473188     fi
    29483189    ac_cv_prog_CC="cc"
    2949     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3190    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29503191    break 2
    29513192  fi
    29523193done
    2953 done
     3194  done
    29543195IFS=$as_save_IFS
    29553196
     
    29703211CC=$ac_cv_prog_CC
    29713212if test -n "$CC"; then
    2972   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    29733214$as_echo "$CC" >&6; }
    29743215else
    2975   { $as_echo "$as_me:$LINENO: result: no" >&5
     3216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    29763217$as_echo "no" >&6; }
    29773218fi
     
    29853226    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29863227set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    29883229$as_echo_n "checking for $ac_word... " >&6; }
    2989 if test "${ac_cv_prog_CC+set}" = set; then
     3230if test "${ac_cv_prog_CC+set}" = set; then :
    29903231  $as_echo_n "(cached) " >&6
    29913232else
     
    29983239  IFS=$as_save_IFS
    29993240  test -z "$as_dir" && as_dir=.
    3000   for ac_exec_ext in '' $ac_executable_extensions; do
     3241    for ac_exec_ext in '' $ac_executable_extensions; do
    30013242  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30023243    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3003     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30043245    break 2
    30053246  fi
    30063247done
    3007 done
     3248  done
    30083249IFS=$as_save_IFS
    30093250
     
    30123253CC=$ac_cv_prog_CC
    30133254if test -n "$CC"; then
    3014   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    30153256$as_echo "$CC" >&6; }
    30163257else
    3017   { $as_echo "$as_me:$LINENO: result: no" >&5
     3258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    30183259$as_echo "no" >&6; }
    30193260fi
     
    30293270  # Extract the first word of "$ac_prog", so it can be a program name with args.
    30303271set dummy $ac_prog; ac_word=$2
    3031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    30323273$as_echo_n "checking for $ac_word... " >&6; }
    3033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3274if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    30343275  $as_echo_n "(cached) " >&6
    30353276else
     
    30423283  IFS=$as_save_IFS
    30433284  test -z "$as_dir" && as_dir=.
    3044   for ac_exec_ext in '' $ac_executable_extensions; do
     3285    for ac_exec_ext in '' $ac_executable_extensions; do
    30453286  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30463287    ac_cv_prog_ac_ct_CC="$ac_prog"
    3047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30483289    break 2
    30493290  fi
    30503291done
    3051 done
     3292  done
    30523293IFS=$as_save_IFS
    30533294
     
    30563297ac_ct_CC=$ac_cv_prog_ac_ct_CC
    30573298if test -n "$ac_ct_CC"; then
    3058   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    30593300$as_echo "$ac_ct_CC" >&6; }
    30603301else
    3061   { $as_echo "$as_me:$LINENO: result: no" >&5
     3302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    30623303$as_echo "no" >&6; }
    30633304fi
     
    30723313    case $cross_compiling:$ac_tool_warned in
    30733314yes:)
    3074 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    30753316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30763317ac_tool_warned=yes ;;
     
    30833324
    30843325
    3085 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3326test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    30863327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3087 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    3088 See \`config.log' for more details." >&5
    3089 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    3090 See \`config.log' for more details." >&2;}
    3091    { (exit 1); exit 1; }; }; }
     3328as_fn_error "no acceptable C compiler found in \$PATH
     3329See \`config.log' for more details." "$LINENO" 5; }
    30923330
    30933331# Provide some information about the compiler.
    3094 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3332$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    30953333set X $ac_compile
    30963334ac_compiler=$2
    3097 { (ac_try="$ac_compiler --version >&5"
     3335for ac_option in --version -v -V -qversion; do
     3336  { { ac_try="$ac_compiler $ac_option >&5"
    30983337case "(($ac_try" in
    30993338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31003339  *) ac_try_echo=$ac_try;;
    31013340esac
    3102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3103 $as_echo "$ac_try_echo") >&5
    3104   (eval "$ac_compiler --version >&5") 2>&5
     3341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3342$as_echo "$ac_try_echo"; } >&5
     3343  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    31053344  ac_status=$?
    3106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3107   (exit $ac_status); }
    3108 { (ac_try="$ac_compiler -v >&5"
    3109 case "(($ac_try" in
    3110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3111   *) ac_try_echo=$ac_try;;
    3112 esac
    3113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3114 $as_echo "$ac_try_echo") >&5
    3115   (eval "$ac_compiler -v >&5") 2>&5
    3116   ac_status=$?
    3117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3118   (exit $ac_status); }
    3119 { (ac_try="$ac_compiler -V >&5"
    3120 case "(($ac_try" in
    3121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3122   *) ac_try_echo=$ac_try;;
    3123 esac
    3124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3125 $as_echo "$ac_try_echo") >&5
    3126   (eval "$ac_compiler -V >&5") 2>&5
    3127   ac_status=$?
    3128   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3129   (exit $ac_status); }
    3130 
    3131 cat >conftest.$ac_ext <<_ACEOF
    3132 /* confdefs.h.  */
    3133 _ACEOF
    3134 cat confdefs.h >>conftest.$ac_ext
    3135 cat >>conftest.$ac_ext <<_ACEOF
     3345  if test -s conftest.err; then
     3346    sed '10a\
     3347... rest of stderr output deleted ...
     3348         10q' conftest.err >conftest.er1
     3349    cat conftest.er1 >&5
     3350  fi
     3351  rm -f conftest.er1 conftest.err
     3352  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3353  test $ac_status = 0; }
     3354done
     3355
     3356cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31363357/* end confdefs.h.  */
    31373358
     
    31493370# It will help us diagnose broken compilers, and finding out an intuition
    31503371# of exeext.
    3151 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    3152 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3373$as_echo_n "checking whether the C compiler works... " >&6; }
    31533374ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    31543375
     
    31663387rm -f $ac_rmfiles
    31673388
    3168 if { (ac_try="$ac_link_default"
     3389if { { ac_try="$ac_link_default"
    31693390case "(($ac_try" in
    31703391  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31713392  *) ac_try_echo=$ac_try;;
    31723393esac
    3173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3174 $as_echo "$ac_try_echo") >&5
     3394eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3395$as_echo "$ac_try_echo"; } >&5
    31753396  (eval "$ac_link_default") 2>&5
    31763397  ac_status=$?
    3177   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3178   (exit $ac_status); }; then
     3398  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3399  test $ac_status = 0; }; then :
    31793400  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    31803401# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    31933414        break;;
    31943415    *.* )
    3195         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3416        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    31963417        then :; else
    31973418           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    32123433  ac_file=''
    32133434fi
    3214 
    3215 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3435if test -z "$ac_file"; then :
     3436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3437$as_echo "no" >&6; }
     3438$as_echo "$as_me: failed program was:" >&5
     3439sed 's/^/| /' conftest.$ac_ext >&5
     3440
     3441{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3443{ as_fn_set_status 77
     3444as_fn_error "C compiler cannot create executables
     3445See \`config.log' for more details." "$LINENO" 5; }; }
     3446else
     3447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3448$as_echo "yes" >&6; }
     3449fi
     3450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3451$as_echo_n "checking for C compiler default output file name... " >&6; }
     3452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    32163453$as_echo "$ac_file" >&6; }
    3217 if test -z "$ac_file"; then
    3218   $as_echo "$as_me: failed program was:" >&5
    3219 sed 's/^/| /' conftest.$ac_ext >&5
    3220 
    3221 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3223 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    3224 See \`config.log' for more details." >&5
    3225 $as_echo "$as_me: error: C compiler cannot create executables
    3226 See \`config.log' for more details." >&2;}
    3227    { (exit 77); exit 77; }; }; }
    3228 fi
    3229 
    32303454ac_exeext=$ac_cv_exeext
    3231 
    3232 # Check that the compiler produces executables we can run.  If not, either
    3233 # the compiler is broken, or we cross compile.
    3234 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    3235 $as_echo_n "checking whether the C compiler works... " >&6; }
    3236 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    3237 # If not cross compiling, check that we can run a simple program.
    3238 if test "$cross_compiling" != yes; then
    3239   if { ac_try='./$ac_file'
    3240   { (case "(($ac_try" in
    3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3242   *) ac_try_echo=$ac_try;;
    3243 esac
    3244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3245 $as_echo "$ac_try_echo") >&5
    3246   (eval "$ac_try") 2>&5
    3247   ac_status=$?
    3248   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3249   (exit $ac_status); }; }; then
    3250     cross_compiling=no
    3251   else
    3252     if test "$cross_compiling" = maybe; then
    3253         cross_compiling=yes
    3254     else
    3255         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    3256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3257 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    3258 If you meant to cross compile, use \`--host'.
    3259 See \`config.log' for more details." >&5
    3260 $as_echo "$as_me: error: cannot run C compiled programs.
    3261 If you meant to cross compile, use \`--host'.
    3262 See \`config.log' for more details." >&2;}
    3263    { (exit 1); exit 1; }; }; }
    3264     fi
    3265   fi
    3266 fi
    3267 { $as_echo "$as_me:$LINENO: result: yes" >&5
    3268 $as_echo "yes" >&6; }
    32693455
    32703456rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    32713457ac_clean_files=$ac_clean_files_save
    3272 # Check that the compiler produces executables we can run.  If not, either
    3273 # the compiler is broken, or we cross compile.
    3274 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    3275 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3276 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    3277 $as_echo "$cross_compiling" >&6; }
    3278 
    3279 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    32803459$as_echo_n "checking for suffix of executables... " >&6; }
    3281 if { (ac_try="$ac_link"
     3460if { { ac_try="$ac_link"
    32823461case "(($ac_try" in
    32833462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32843463  *) ac_try_echo=$ac_try;;
    32853464esac
    3286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3287 $as_echo "$ac_try_echo") >&5
     3465eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3466$as_echo "$ac_try_echo"; } >&5
    32883467  (eval "$ac_link") 2>&5
    32893468  ac_status=$?
    3290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3291   (exit $ac_status); }; then
     3469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3470  test $ac_status = 0; }; then :
    32923471  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    32933472# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    33043483done
    33053484else
    3306   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3485  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    33073486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3308 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    3309 See \`config.log' for more details." >&5
    3310 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    3311 See \`config.log' for more details." >&2;}
    3312    { (exit 1); exit 1; }; }; }
    3313 fi
    3314 
    3315 rm -f conftest$ac_cv_exeext
    3316 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3487as_fn_error "cannot compute suffix of executables: cannot compile and link
     3488See \`config.log' for more details." "$LINENO" 5; }
     3489fi
     3490rm -f conftest conftest$ac_cv_exeext
     3491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    33173492$as_echo "$ac_cv_exeext" >&6; }
    33183493
     
    33203495EXEEXT=$ac_cv_exeext
    33213496ac_exeext=$EXEEXT
    3322 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     3497cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3498/* end confdefs.h.  */
     3499#include <stdio.h>
     3500int
     3501main ()
     3502{
     3503FILE *f = fopen ("conftest.out", "w");
     3504 return ferror (f) || fclose (f) != 0;
     3505
     3506  ;
     3507  return 0;
     3508}
     3509_ACEOF
     3510ac_clean_files="$ac_clean_files conftest.out"
     3511# Check that the compiler produces executables we can run.  If not, either
     3512# the compiler is broken, or we cross compile.
     3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3514$as_echo_n "checking whether we are cross compiling... " >&6; }
     3515if test "$cross_compiling" != yes; then
     3516  { { ac_try="$ac_link"
     3517case "(($ac_try" in
     3518  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3519  *) ac_try_echo=$ac_try;;
     3520esac
     3521eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3522$as_echo "$ac_try_echo"; } >&5
     3523  (eval "$ac_link") 2>&5
     3524  ac_status=$?
     3525  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3526  test $ac_status = 0; }
     3527  if { ac_try='./conftest$ac_cv_exeext'
     3528  { { case "(($ac_try" in
     3529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3530  *) ac_try_echo=$ac_try;;
     3531esac
     3532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3533$as_echo "$ac_try_echo"; } >&5
     3534  (eval "$ac_try") 2>&5
     3535  ac_status=$?
     3536  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3537  test $ac_status = 0; }; }; then
     3538    cross_compiling=no
     3539  else
     3540    if test "$cross_compiling" = maybe; then
     3541        cross_compiling=yes
     3542    else
     3543        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3544$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3545as_fn_error "cannot run C compiled programs.
     3546If you meant to cross compile, use \`--host'.
     3547See \`config.log' for more details." "$LINENO" 5; }
     3548    fi
     3549  fi
     3550fi
     3551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3552$as_echo "$cross_compiling" >&6; }
     3553
     3554rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3555ac_clean_files=$ac_clean_files_save
     3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    33233557$as_echo_n "checking for suffix of object files... " >&6; }
    3324 if test "${ac_cv_objext+set}" = set; then
     3558if test "${ac_cv_objext+set}" = set; then :
    33253559  $as_echo_n "(cached) " >&6
    33263560else
    3327   cat >conftest.$ac_ext <<_ACEOF
    3328 /* confdefs.h.  */
    3329 _ACEOF
    3330 cat confdefs.h >>conftest.$ac_ext
    3331 cat >>conftest.$ac_ext <<_ACEOF
     3561  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33323562/* end confdefs.h.  */
    33333563
     
    33413571_ACEOF
    33423572rm -f conftest.o conftest.obj
    3343 if { (ac_try="$ac_compile"
     3573if { { ac_try="$ac_compile"
    33443574case "(($ac_try" in
    33453575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    33463576  *) ac_try_echo=$ac_try;;
    33473577esac
    3348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3349 $as_echo "$ac_try_echo") >&5
     3578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3579$as_echo "$ac_try_echo"; } >&5
    33503580  (eval "$ac_compile") 2>&5
    33513581  ac_status=$?
    3352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3353   (exit $ac_status); }; then
     3582  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3583  test $ac_status = 0; }; then :
    33543584  for ac_file in conftest.o conftest.obj conftest.*; do
    33553585  test -f "$ac_file" || continue;
     
    33643594sed 's/^/| /' conftest.$ac_ext >&5
    33653595
    3366 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3596{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    33673597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3368 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    3369 See \`config.log' for more details." >&5
    3370 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    3371 See \`config.log' for more details." >&2;}
    3372    { (exit 1); exit 1; }; }; }
    3373 fi
    3374 
     3598as_fn_error "cannot compute suffix of object files: cannot compile
     3599See \`config.log' for more details." "$LINENO" 5; }
     3600fi
    33753601rm -f conftest.$ac_cv_objext conftest.$ac_ext
    33763602fi
    3377 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    33783604$as_echo "$ac_cv_objext" >&6; }
    33793605OBJEXT=$ac_cv_objext
    33803606ac_objext=$OBJEXT
    3381 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    33823608$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3383 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3609if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    33843610  $as_echo_n "(cached) " >&6
    33853611else
    3386   cat >conftest.$ac_ext <<_ACEOF
    3387 /* confdefs.h.  */
    3388 _ACEOF
    3389 cat confdefs.h >>conftest.$ac_ext
    3390 cat >>conftest.$ac_ext <<_ACEOF
     3612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33913613/* end confdefs.h.  */
    33923614
     
    34023624}
    34033625_ACEOF
    3404 rm -f conftest.$ac_objext
    3405 if { (ac_try="$ac_compile"
    3406 case "(($ac_try" in
    3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3408   *) ac_try_echo=$ac_try;;
    3409 esac
    3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3411 $as_echo "$ac_try_echo") >&5
    3412   (eval "$ac_compile") 2>conftest.er1
    3413   ac_status=$?
    3414   grep -v '^ *+' conftest.er1 >conftest.err
    3415   rm -f conftest.er1
    3416   cat conftest.err >&5
    3417   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3418   (exit $ac_status); } && {
    3419          test -z "$ac_c_werror_flag" ||
    3420          test ! -s conftest.err
    3421        } && test -s conftest.$ac_objext; then
     3626if ac_fn_c_try_compile "$LINENO"; then :
    34223627  ac_compiler_gnu=yes
    34233628else
    3424   $as_echo "$as_me: failed program was:" >&5
    3425 sed 's/^/| /' conftest.$ac_ext >&5
    3426 
    3427         ac_compiler_gnu=no
    3428 fi
    3429 
     3629  ac_compiler_gnu=no
     3630fi
    34303631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    34313632ac_cv_c_compiler_gnu=$ac_compiler_gnu
    34323633
    34333634fi
    3434 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    34353636$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    34363637if test $ac_compiler_gnu = yes; then
     
    34413642ac_test_CFLAGS=${CFLAGS+set}
    34423643ac_save_CFLAGS=$CFLAGS
    3443 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    34443645$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3445 if test "${ac_cv_prog_cc_g+set}" = set; then
     3646if test "${ac_cv_prog_cc_g+set}" = set; then :
    34463647  $as_echo_n "(cached) " >&6
    34473648else
     
    34503651   ac_cv_prog_cc_g=no
    34513652   CFLAGS="-g"
    3452    cat >conftest.$ac_ext <<_ACEOF
    3453 /* confdefs.h.  */
    3454 _ACEOF
    3455 cat confdefs.h >>conftest.$ac_ext
    3456 cat >>conftest.$ac_ext <<_ACEOF
     3653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34573654/* end confdefs.h.  */
    34583655
     
    34653662}
    34663663_ACEOF
    3467 rm -f conftest.$ac_objext
    3468 if { (ac_try="$ac_compile"
    3469 case "(($ac_try" in
    3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3471   *) ac_try_echo=$ac_try;;
    3472 esac
    3473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3474 $as_echo "$ac_try_echo") >&5
    3475   (eval "$ac_compile") 2>conftest.er1
    3476   ac_status=$?
    3477   grep -v '^ *+' conftest.er1 >conftest.err
    3478   rm -f conftest.er1
    3479   cat conftest.err >&5
    3480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3481   (exit $ac_status); } && {
    3482          test -z "$ac_c_werror_flag" ||
    3483          test ! -s conftest.err
    3484        } && test -s conftest.$ac_objext; then
     3664if ac_fn_c_try_compile "$LINENO"; then :
    34853665  ac_cv_prog_cc_g=yes
    34863666else
    3487   $as_echo "$as_me: failed program was:" >&5
    3488 sed 's/^/| /' conftest.$ac_ext >&5
    3489 
    3490         CFLAGS=""
    3491       cat >conftest.$ac_ext <<_ACEOF
    3492 /* confdefs.h.  */
    3493 _ACEOF
    3494 cat confdefs.h >>conftest.$ac_ext
    3495 cat >>conftest.$ac_ext <<_ACEOF
     3667  CFLAGS=""
     3668      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34963669/* end confdefs.h.  */
    34973670
     
    35043677}
    35053678_ACEOF
    3506 rm -f conftest.$ac_objext
    3507 if { (ac_try="$ac_compile"
    3508 case "(($ac_try" in
    3509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3510   *) ac_try_echo=$ac_try;;
    3511 esac
    3512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3513 $as_echo "$ac_try_echo") >&5
    3514   (eval "$ac_compile") 2>conftest.er1
    3515   ac_status=$?
    3516   grep -v '^ *+' conftest.er1 >conftest.err
    3517   rm -f conftest.er1
    3518   cat conftest.err >&5
    3519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3520   (exit $ac_status); } && {
    3521          test -z "$ac_c_werror_flag" ||
    3522          test ! -s conftest.err
    3523        } && test -s conftest.$ac_objext; then
    3524   :
    3525 else
    3526   $as_echo "$as_me: failed program was:" >&5
    3527 sed 's/^/| /' conftest.$ac_ext >&5
    3528 
    3529         ac_c_werror_flag=$ac_save_c_werror_flag
     3679if ac_fn_c_try_compile "$LINENO"; then :
     3680
     3681else
     3682  ac_c_werror_flag=$ac_save_c_werror_flag
    35303683         CFLAGS="-g"
    3531          cat >conftest.$ac_ext <<_ACEOF
    3532 /* confdefs.h.  */
    3533 _ACEOF
    3534 cat confdefs.h >>conftest.$ac_ext
    3535 cat >>conftest.$ac_ext <<_ACEOF
     3684         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35363685/* end confdefs.h.  */
    35373686
     
    35443693}
    35453694_ACEOF
    3546 rm -f conftest.$ac_objext
    3547 if { (ac_try="$ac_compile"
    3548 case "(($ac_try" in
    3549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3550   *) ac_try_echo=$ac_try;;
    3551 esac
    3552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3553 $as_echo "$ac_try_echo") >&5
    3554   (eval "$ac_compile") 2>conftest.er1
    3555   ac_status=$?
    3556   grep -v '^ *+' conftest.er1 >conftest.err
    3557   rm -f conftest.er1
    3558   cat conftest.err >&5
    3559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3560   (exit $ac_status); } && {
    3561          test -z "$ac_c_werror_flag" ||
    3562          test ! -s conftest.err
    3563        } && test -s conftest.$ac_objext; then
     3695if ac_fn_c_try_compile "$LINENO"; then :
    35643696  ac_cv_prog_cc_g=yes
    3565 else
    3566   $as_echo "$as_me: failed program was:" >&5
    3567 sed 's/^/| /' conftest.$ac_ext >&5
    3568 
    3569 
    3570 fi
    3571 
     3697fi
    35723698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35733699fi
    3574 
    35753700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35763701fi
    3577 
    35783702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35793703   ac_c_werror_flag=$ac_save_c_werror_flag
    35803704fi
    3581 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    35823706$as_echo "$ac_cv_prog_cc_g" >&6; }
    35833707if test "$ac_test_CFLAGS" = set; then
     
    35963720  fi
    35973721fi
    3598 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    35993723$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3600 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3724if test "${ac_cv_prog_cc_c89+set}" = set; then :
    36013725  $as_echo_n "(cached) " >&6
    36023726else
    36033727  ac_cv_prog_cc_c89=no
    36043728ac_save_CC=$CC
    3605 cat >conftest.$ac_ext <<_ACEOF
    3606 /* confdefs.h.  */
    3607 _ACEOF
    3608 cat confdefs.h >>conftest.$ac_ext
    3609 cat >>conftest.$ac_ext <<_ACEOF
     3729cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36103730/* end confdefs.h.  */
    36113731#include <stdarg.h>
     
    36643784do
    36653785  CC="$ac_save_CC $ac_arg"
    3666   rm -f conftest.$ac_objext
    3667 if { (ac_try="$ac_compile"
    3668 case "(($ac_try" in
    3669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3670   *) ac_try_echo=$ac_try;;
    3671 esac
    3672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3673 $as_echo "$ac_try_echo") >&5
    3674   (eval "$ac_compile") 2>conftest.er1
    3675   ac_status=$?
    3676   grep -v '^ *+' conftest.er1 >conftest.err
    3677   rm -f conftest.er1
    3678   cat conftest.err >&5
    3679   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3680   (exit $ac_status); } && {
    3681          test -z "$ac_c_werror_flag" ||
    3682          test ! -s conftest.err
    3683        } && test -s conftest.$ac_objext; then
     3786  if ac_fn_c_try_compile "$LINENO"; then :
    36843787  ac_cv_prog_cc_c89=$ac_arg
    3685 else
    3686   $as_echo "$as_me: failed program was:" >&5
    3687 sed 's/^/| /' conftest.$ac_ext >&5
    3688 
    3689 
    3690 fi
    3691 
     3788fi
    36923789rm -f core conftest.err conftest.$ac_objext
    36933790  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    37003797case "x$ac_cv_prog_cc_c89" in
    37013798  x)
    3702     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3799    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    37033800$as_echo "none needed" >&6; } ;;
    37043801  xno)
    3705     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3802    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    37063803$as_echo "unsupported" >&6; } ;;
    37073804  *)
    37083805    CC="$CC $ac_cv_prog_cc_c89"
    3709     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    37103807$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    37113808esac
    3712 
     3809if test "x$ac_cv_prog_cc_c89" != xno; then :
     3810
     3811fi
    37133812
    37143813ac_ext=c
     
    37203819depcc="$CC"   am_compiler_list=
    37213820
    3722 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    37233822$as_echo_n "checking dependency style of $depcc... " >&6; }
    3724 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     3823if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
    37253824  $as_echo_n "(cached) " >&6
    37263825else
     
    38303929
    38313930fi
    3832 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     3931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
    38333932$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
    38343933CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     
    38453944
    38463945
    3847 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     3946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
    38483947$as_echo_n "checking for function prototypes... " >&6; }
    38493948if test "$ac_cv_prog_cc_c89" != no; then
    3850   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    38513950$as_echo "yes" >&6; }
    38523951
    3853 cat >>confdefs.h <<\_ACEOF
    3854 #define PROTOTYPES 1
    3855 _ACEOF
    3856 
    3857 
    3858 cat >>confdefs.h <<\_ACEOF
    3859 #define __PROTOTYPES 1
    3860 _ACEOF
    3861 
    3862 else
    3863   { $as_echo "$as_me:$LINENO: result: no" >&5
     3952$as_echo "#define PROTOTYPES 1" >>confdefs.h
     3953
     3954
     3955$as_echo "#define __PROTOTYPES 1" >>confdefs.h
     3956
     3957else
     3958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38643959$as_echo "no" >&6; }
    38653960fi
     
    38713966ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    38723967ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3873 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    38743969$as_echo_n "checking how to run the C preprocessor... " >&6; }
    38753970# On Suns, sometimes $CPP names a directory.
     
    38783973fi
    38793974if test -z "$CPP"; then
    3880   if test "${ac_cv_prog_CPP+set}" = set; then
     3975  if test "${ac_cv_prog_CPP+set}" = set; then :
    38813976  $as_echo_n "(cached) " >&6
    38823977else
     
    38933988  # On the NeXT, cc -E runs the code through the compiler's parser,
    38943989  # not just through cpp. "Syntax error" is here to catch this case.
    3895   cat >conftest.$ac_ext <<_ACEOF
    3896 /* confdefs.h.  */
    3897 _ACEOF
    3898 cat confdefs.h >>conftest.$ac_ext
    3899 cat >>conftest.$ac_ext <<_ACEOF
     3990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39003991/* end confdefs.h.  */
    39013992#ifdef __STDC__
     
    39063997                     Syntax error
    39073998_ACEOF
    3908 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3909 case "(($ac_try" in
    3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3911   *) ac_try_echo=$ac_try;;
    3912 esac
    3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3914 $as_echo "$ac_try_echo") >&5
    3915   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3916   ac_status=$?
    3917   grep -v '^ *+' conftest.er1 >conftest.err
    3918   rm -f conftest.er1
    3919   cat conftest.err >&5
    3920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3921   (exit $ac_status); } >/dev/null && {
    3922          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3923          test ! -s conftest.err
    3924        }; then
    3925   :
    3926 else
    3927   $as_echo "$as_me: failed program was:" >&5
    3928 sed 's/^/| /' conftest.$ac_ext >&5
    3929 
     3999if ac_fn_c_try_cpp "$LINENO"; then :
     4000
     4001else
    39304002  # Broken: fails on valid input.
    39314003continue
    39324004fi
    3933 
    39344005rm -f conftest.err conftest.$ac_ext
    39354006
    39364007  # OK, works on sane cases.  Now check whether nonexistent headers
    39374008  # can be detected and how.
    3938   cat >conftest.$ac_ext <<_ACEOF
    3939 /* confdefs.h.  */
    3940 _ACEOF
    3941 cat confdefs.h >>conftest.$ac_ext
    3942 cat >>conftest.$ac_ext <<_ACEOF
     4009  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39434010/* end confdefs.h.  */
    39444011#include <ac_nonexistent.h>
    39454012_ACEOF
    3946 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3947 case "(($ac_try" in
    3948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3949   *) ac_try_echo=$ac_try;;
    3950 esac
    3951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3952 $as_echo "$ac_try_echo") >&5
    3953   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3954   ac_status=$?
    3955   grep -v '^ *+' conftest.er1 >conftest.err
    3956   rm -f conftest.er1
    3957   cat conftest.err >&5
    3958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3959   (exit $ac_status); } >/dev/null && {
    3960          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3961          test ! -s conftest.err
    3962        }; then
     4013if ac_fn_c_try_cpp "$LINENO"; then :
    39634014  # Broken: success on invalid input.
    39644015continue
    39654016else
    3966   $as_echo "$as_me: failed program was:" >&5
    3967 sed 's/^/| /' conftest.$ac_ext >&5
    3968 
    39694017  # Passes both tests.
    39704018ac_preproc_ok=:
    39714019break
    39724020fi
    3973 
    39744021rm -f conftest.err conftest.$ac_ext
    39754022
     
    39774024# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    39784025rm -f conftest.err conftest.$ac_ext
    3979 if $ac_preproc_ok; then
     4026if $ac_preproc_ok; then :
    39804027  break
    39814028fi
     
    39894036  ac_cv_prog_CPP=$CPP
    39904037fi
    3991 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    39924039$as_echo "$CPP" >&6; }
    39934040ac_preproc_ok=false
     
    40004047  # On the NeXT, cc -E runs the code through the compiler's parser,
    40014048  # not just through cpp. "Syntax error" is here to catch this case.
    4002   cat >conftest.$ac_ext <<_ACEOF
    4003 /* confdefs.h.  */
    4004 _ACEOF
    4005 cat confdefs.h >>conftest.$ac_ext
    4006 cat >>conftest.$ac_ext <<_ACEOF
     4049  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40074050/* end confdefs.h.  */
    40084051#ifdef __STDC__
     
    40134056                     Syntax error
    40144057_ACEOF
    4015 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4016 case "(($ac_try" in
    4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4018   *) ac_try_echo=$ac_try;;
    4019 esac
    4020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4021 $as_echo "$ac_try_echo") >&5
    4022   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4023   ac_status=$?
    4024   grep -v '^ *+' conftest.er1 >conftest.err
    4025   rm -f conftest.er1
    4026   cat conftest.err >&5
    4027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4028   (exit $ac_status); } >/dev/null && {
    4029          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4030          test ! -s conftest.err
    4031        }; then
    4032   :
    4033 else
    4034   $as_echo "$as_me: failed program was:" >&5
    4035 sed 's/^/| /' conftest.$ac_ext >&5
    4036 
     4058if ac_fn_c_try_cpp "$LINENO"; then :
     4059
     4060else
    40374061  # Broken: fails on valid input.
    40384062continue
    40394063fi
    4040 
    40414064rm -f conftest.err conftest.$ac_ext
    40424065
    40434066  # OK, works on sane cases.  Now check whether nonexistent headers
    40444067  # can be detected and how.
    4045   cat >conftest.$ac_ext <<_ACEOF
    4046 /* confdefs.h.  */
    4047 _ACEOF
    4048 cat confdefs.h >>conftest.$ac_ext
    4049 cat >>conftest.$ac_ext <<_ACEOF
     4068  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40504069/* end confdefs.h.  */
    40514070#include <ac_nonexistent.h>
    40524071_ACEOF
    4053 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4054 case "(($ac_try" in
    4055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4056   *) ac_try_echo=$ac_try;;
    4057 esac
    4058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4059 $as_echo "$ac_try_echo") >&5
    4060   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4061   ac_status=$?
    4062   grep -v '^ *+' conftest.er1 >conftest.err
    4063   rm -f conftest.er1
    4064   cat conftest.err >&5
    4065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4066   (exit $ac_status); } >/dev/null && {
    4067          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4068          test ! -s conftest.err
    4069        }; then
     4072if ac_fn_c_try_cpp "$LINENO"; then :
    40704073  # Broken: success on invalid input.
    40714074continue
    40724075else
    4073   $as_echo "$as_me: failed program was:" >&5
    4074 sed 's/^/| /' conftest.$ac_ext >&5
    4075 
    40764076  # Passes both tests.
    40774077ac_preproc_ok=:
    40784078break
    40794079fi
    4080 
    40814080rm -f conftest.err conftest.$ac_ext
    40824081
     
    40844083# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    40854084rm -f conftest.err conftest.$ac_ext
    4086 if $ac_preproc_ok; then
    4087   :
    4088 else
    4089   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4085if $ac_preproc_ok; then :
     4086
     4087else
     4088  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    40904089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4091 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4092 See \`config.log' for more details." >&5
    4093 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4094 See \`config.log' for more details." >&2;}
    4095    { (exit 1); exit 1; }; }; }
     4090as_fn_error "C preprocessor \"$CPP\" fails sanity check
     4091See \`config.log' for more details." "$LINENO" 5; }
    40964092fi
    40974093
     
    41034099
    41044100
    4105 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    41064102$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4107 if test "${ac_cv_path_GREP+set}" = set; then
     4103if test "${ac_cv_path_GREP+set}" = set; then :
    41084104  $as_echo_n "(cached) " >&6
    41094105else
     
    41164112  IFS=$as_save_IFS
    41174113  test -z "$as_dir" && as_dir=.
    4118   for ac_prog in grep ggrep; do
     4114    for ac_prog in grep ggrep; do
    41194115    for ac_exec_ext in '' $ac_executable_extensions; do
    41204116      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    41364132    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    41374133    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4138     ac_count=`expr $ac_count + 1`
     4134    as_fn_arith $ac_count + 1 && ac_count=$as_val
    41394135    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    41404136      # Best one so far, save it but keep looking for a better one
     
    41514147    done
    41524148  done
    4153 done
     4149  done
    41544150IFS=$as_save_IFS
    41554151  if test -z "$ac_cv_path_GREP"; then
    4156     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4157 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4158    { (exit 1); exit 1; }; }
     4152    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    41594153  fi
    41604154else
     
    41634157
    41644158fi
    4165 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    41664160$as_echo "$ac_cv_path_GREP" >&6; }
    41674161 GREP="$ac_cv_path_GREP"
    41684162
    41694163
    4170 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    41714165$as_echo_n "checking for egrep... " >&6; }
    4172 if test "${ac_cv_path_EGREP+set}" = set; then
     4166if test "${ac_cv_path_EGREP+set}" = set; then :
    41734167  $as_echo_n "(cached) " >&6
    41744168else
     
    41844178  IFS=$as_save_IFS
    41854179  test -z "$as_dir" && as_dir=.
    4186   for ac_prog in egrep; do
     4180    for ac_prog in egrep; do
    41874181    for ac_exec_ext in '' $ac_executable_extensions; do
    41884182      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    42044198    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42054199    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4206     ac_count=`expr $ac_count + 1`
     4200    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42074201    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    42084202      # Best one so far, save it but keep looking for a better one
     
    42194213    done
    42204214  done
    4221 done
     4215  done
    42224216IFS=$as_save_IFS
    42234217  if test -z "$ac_cv_path_EGREP"; then
    4224     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4225 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4226    { (exit 1); exit 1; }; }
     4218    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42274219  fi
    42284220else
     
    42324224   fi
    42334225fi
    4234 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    42354227$as_echo "$ac_cv_path_EGREP" >&6; }
    42364228 EGREP="$ac_cv_path_EGREP"
    42374229
    42384230
    4239 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    42404232$as_echo_n "checking for ANSI C header files... " >&6; }
    4241 if test "${ac_cv_header_stdc+set}" = set; then
     4233if test "${ac_cv_header_stdc+set}" = set; then :
    42424234  $as_echo_n "(cached) " >&6
    42434235else
    4244   cat >conftest.$ac_ext <<_ACEOF
    4245 /* confdefs.h.  */
    4246 _ACEOF
    4247 cat confdefs.h >>conftest.$ac_ext
    4248 cat >>conftest.$ac_ext <<_ACEOF
     4236  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42494237/* end confdefs.h.  */
    42504238#include <stdlib.h>
     
    42614249}
    42624250_ACEOF
    4263 rm -f conftest.$ac_objext
    4264 if { (ac_try="$ac_compile"
    4265 case "(($ac_try" in
    4266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4267   *) ac_try_echo=$ac_try;;
    4268 esac
    4269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4270 $as_echo "$ac_try_echo") >&5
    4271   (eval "$ac_compile") 2>conftest.er1
    4272   ac_status=$?
    4273   grep -v '^ *+' conftest.er1 >conftest.err
    4274   rm -f conftest.er1
    4275   cat conftest.err >&5
    4276   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4277   (exit $ac_status); } && {
    4278          test -z "$ac_c_werror_flag" ||
    4279          test ! -s conftest.err
    4280        } && test -s conftest.$ac_objext; then
     4251if ac_fn_c_try_compile "$LINENO"; then :
    42814252  ac_cv_header_stdc=yes
    42824253else
    4283   $as_echo "$as_me: failed program was:" >&5
    4284 sed 's/^/| /' conftest.$ac_ext >&5
    4285 
    4286         ac_cv_header_stdc=no
    4287 fi
    4288 
     4254  ac_cv_header_stdc=no
     4255fi
    42894256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42904257
    42914258if test $ac_cv_header_stdc = yes; then
    42924259  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4293   cat >conftest.$ac_ext <<_ACEOF
    4294 /* confdefs.h.  */
    4295 _ACEOF
    4296 cat confdefs.h >>conftest.$ac_ext
    4297 cat >>conftest.$ac_ext <<_ACEOF
     4260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42984261/* end confdefs.h.  */
    42994262#include <string.h>
     
    43014264_ACEOF
    43024265if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4303   $EGREP "memchr" >/dev/null 2>&1; then
    4304   :
     4266  $EGREP "memchr" >/dev/null 2>&1; then :
     4267
    43054268else
    43064269  ac_cv_header_stdc=no
     
    43124275if test $ac_cv_header_stdc = yes; then
    43134276  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4314   cat >conftest.$ac_ext <<_ACEOF
    4315 /* confdefs.h.  */
    4316 _ACEOF
    4317 cat confdefs.h >>conftest.$ac_ext
    4318 cat >>conftest.$ac_ext <<_ACEOF
     4277  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43194278/* end confdefs.h.  */
    43204279#include <stdlib.h>
     
    43224281_ACEOF
    43234282if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4324   $EGREP "free" >/dev/null 2>&1; then
    4325   :
     4283  $EGREP "free" >/dev/null 2>&1; then :
     4284
    43264285else
    43274286  ac_cv_header_stdc=no
     
    43334292if test $ac_cv_header_stdc = yes; then
    43344293  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4335   if test "$cross_compiling" = yes; then
     4294  if test "$cross_compiling" = yes; then :
    43364295  :
    43374296else
    4338   cat >conftest.$ac_ext <<_ACEOF
    4339 /* confdefs.h.  */
    4340 _ACEOF
    4341 cat confdefs.h >>conftest.$ac_ext
    4342 cat >>conftest.$ac_ext <<_ACEOF
     4297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43434298/* end confdefs.h.  */
    43444299#include <ctype.h>
     
    43674322}
    43684323_ACEOF
    4369 rm -f conftest$ac_exeext
    4370 if { (ac_try="$ac_link"
    4371 case "(($ac_try" in
    4372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4373   *) ac_try_echo=$ac_try;;
    4374 esac
    4375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4376 $as_echo "$ac_try_echo") >&5
    4377   (eval "$ac_link") 2>&5
    4378   ac_status=$?
    4379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4380   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4381   { (case "(($ac_try" in
    4382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4383   *) ac_try_echo=$ac_try;;
    4384 esac
    4385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4386 $as_echo "$ac_try_echo") >&5
    4387   (eval "$ac_try") 2>&5
    4388   ac_status=$?
    4389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4390   (exit $ac_status); }; }; then
    4391   :
    4392 else
    4393   $as_echo "$as_me: program exited with status $ac_status" >&5
    4394 $as_echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397 ( exit $ac_status )
    4398 ac_cv_header_stdc=no
    4399 fi
    4400 rm -rf conftest.dSYM
    4401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4402 fi
    4403 
    4404 
    4405 fi
    4406 fi
    4407 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4324if ac_fn_c_try_run "$LINENO"; then :
     4325
     4326else
     4327  ac_cv_header_stdc=no
     4328fi
     4329rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4330  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4331fi
     4332
     4333fi
     4334fi
     4335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    44084336$as_echo "$ac_cv_header_stdc" >&6; }
    44094337if test $ac_cv_header_stdc = yes; then
    44104338
    4411 cat >>confdefs.h <<\_ACEOF
    4412 #define STDC_HEADERS 1
    4413 _ACEOF
     4339$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    44144340
    44154341fi
    44164342
    44174343# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4418 
    4419 
    4420 
    4421 
    4422 
    4423 
    4424 
    4425 
    4426 
    44274344for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    44284345                  inttypes.h stdint.h unistd.h
    4429 do
    4430 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4431 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4432 $as_echo_n "checking for $ac_header... " >&6; }
    4433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4434   $as_echo_n "(cached) " >&6
    4435 else
    4436   cat >conftest.$ac_ext <<_ACEOF
    4437 /* confdefs.h.  */
    4438 _ACEOF
    4439 cat confdefs.h >>conftest.$ac_ext
    4440 cat >>conftest.$ac_ext <<_ACEOF
    4441 /* end confdefs.h.  */
    4442 $ac_includes_default
    4443 
    4444 #include <$ac_header>
    4445 _ACEOF
    4446 rm -f conftest.$ac_objext
    4447 if { (ac_try="$ac_compile"
    4448 case "(($ac_try" in
    4449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4450   *) ac_try_echo=$ac_try;;
    4451 esac
    4452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4453 $as_echo "$ac_try_echo") >&5
    4454   (eval "$ac_compile") 2>conftest.er1
    4455   ac_status=$?
    4456   grep -v '^ *+' conftest.er1 >conftest.err
    4457   rm -f conftest.er1
    4458   cat conftest.err >&5
    4459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4460   (exit $ac_status); } && {
    4461          test -z "$ac_c_werror_flag" ||
    4462          test ! -s conftest.err
    4463        } && test -s conftest.$ac_objext; then
    4464   eval "$as_ac_Header=yes"
    4465 else
    4466   $as_echo "$as_me: failed program was:" >&5
    4467 sed 's/^/| /' conftest.$ac_ext >&5
    4468 
    4469         eval "$as_ac_Header=no"
    4470 fi
    4471 
    4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4473 fi
    4474 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4475                  $as_echo "$as_val"'`
    4476                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4477 $as_echo "$ac_res" >&6; }
    4478 as_val=`eval 'as_val=${'$as_ac_Header'}
    4479                  $as_echo "$as_val"'`
    4480    if test "x$as_val" = x""yes; then
     4346do :
     4347  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4348ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4349"
     4350eval as_val=\$$as_ac_Header
     4351   if test "x$as_val" = x""yes; then :
    44814352  cat >>confdefs.h <<_ACEOF
    44824353#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    44964367# Ensure some checks needed by ansi2knr itself.
    44974368
    4498 
    44994369for ac_header in string.h
    4500 do
    4501 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4503   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4504 $as_echo_n "checking for $ac_header... " >&6; }
    4505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4506   $as_echo_n "(cached) " >&6
    4507 fi
    4508 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4509                  $as_echo "$as_val"'`
    4510                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4511 $as_echo "$ac_res" >&6; }
    4512 else
    4513   # Is the header compilable?
    4514 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4515 $as_echo_n "checking $ac_header usability... " >&6; }
    4516 cat >conftest.$ac_ext <<_ACEOF
    4517 /* confdefs.h.  */
    4518 _ACEOF
    4519 cat confdefs.h >>conftest.$ac_ext
    4520 cat >>conftest.$ac_ext <<_ACEOF
    4521 /* end confdefs.h.  */
    4522 $ac_includes_default
    4523 #include <$ac_header>
    4524 _ACEOF
    4525 rm -f conftest.$ac_objext
    4526 if { (ac_try="$ac_compile"
    4527 case "(($ac_try" in
    4528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4529   *) ac_try_echo=$ac_try;;
    4530 esac
    4531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4532 $as_echo "$ac_try_echo") >&5
    4533   (eval "$ac_compile") 2>conftest.er1
    4534   ac_status=$?
    4535   grep -v '^ *+' conftest.er1 >conftest.err
    4536   rm -f conftest.er1
    4537   cat conftest.err >&5
    4538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4539   (exit $ac_status); } && {
    4540          test -z "$ac_c_werror_flag" ||
    4541          test ! -s conftest.err
    4542        } && test -s conftest.$ac_objext; then
    4543   ac_header_compiler=yes
    4544 else
    4545   $as_echo "$as_me: failed program was:" >&5
    4546 sed 's/^/| /' conftest.$ac_ext >&5
    4547 
    4548         ac_header_compiler=no
    4549 fi
    4550 
    4551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4552 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4553 $as_echo "$ac_header_compiler" >&6; }
    4554 
    4555 # Is the header present?
    4556 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4557 $as_echo_n "checking $ac_header presence... " >&6; }
    4558 cat >conftest.$ac_ext <<_ACEOF
    4559 /* confdefs.h.  */
    4560 _ACEOF
    4561 cat confdefs.h >>conftest.$ac_ext
    4562 cat >>conftest.$ac_ext <<_ACEOF
    4563 /* end confdefs.h.  */
    4564 #include <$ac_header>
    4565 _ACEOF
    4566 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4567 case "(($ac_try" in
    4568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4569   *) ac_try_echo=$ac_try;;
    4570 esac
    4571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4572 $as_echo "$ac_try_echo") >&5
    4573   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4574   ac_status=$?
    4575   grep -v '^ *+' conftest.er1 >conftest.err
    4576   rm -f conftest.er1
    4577   cat conftest.err >&5
    4578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4579   (exit $ac_status); } >/dev/null && {
    4580          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4581          test ! -s conftest.err
    4582        }; then
    4583   ac_header_preproc=yes
    4584 else
    4585   $as_echo "$as_me: failed program was:" >&5
    4586 sed 's/^/| /' conftest.$ac_ext >&5
    4587 
    4588   ac_header_preproc=no
    4589 fi
    4590 
    4591 rm -f conftest.err conftest.$ac_ext
    4592 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4593 $as_echo "$ac_header_preproc" >&6; }
    4594 
    4595 # So?  What about this header?
    4596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4597   yes:no: )
    4598     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4599 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4600     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4601 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4602     ac_header_preproc=yes
    4603     ;;
    4604   no:yes:* )
    4605     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4606 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4607     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4608 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4609     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4610 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4611     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4612 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4613     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4614 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4615     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4616 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4617 
    4618     ;;
    4619 esac
    4620 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4621 $as_echo_n "checking for $ac_header... " >&6; }
    4622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4623   $as_echo_n "(cached) " >&6
    4624 else
    4625   eval "$as_ac_Header=\$ac_header_preproc"
    4626 fi
    4627 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4628                  $as_echo "$as_val"'`
    4629                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4630 $as_echo "$ac_res" >&6; }
    4631 
    4632 fi
    4633 as_val=`eval 'as_val=${'$as_ac_Header'}
    4634                  $as_echo "$as_val"'`
    4635    if test "x$as_val" = x""yes; then
     4370do :
     4371  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
     4372if test "x$ac_cv_header_string_h" = x""yes; then :
    46364373  cat >>confdefs.h <<_ACEOF
    4637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4374#define HAVE_STRING_H 1
    46384375_ACEOF
    46394376
     
    46484385# This is made an option to avoid confusing end users.
    46494386
    4650 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
    46514388$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
    46524389    # Check whether --enable-maintainer-mode was given.
    4653 if test "${enable_maintainer_mode+set}" = set; then
     4390if test "${enable_maintainer_mode+set}" = set; then :
    46544391  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
    46554392else
     
    46574394fi
    46584395
    4659   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
     4396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
    46604397$as_echo "$USE_MAINTAINER_MODE" >&6; }
    46614398   if test $USE_MAINTAINER_MODE = yes; then
     
    46804417  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    46814418set dummy ${ac_tool_prefix}gcc; ac_word=$2
    4682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    46834420$as_echo_n "checking for $ac_word... " >&6; }
    4684 if test "${ac_cv_prog_CC+set}" = set; then
     4421if test "${ac_cv_prog_CC+set}" = set; then :
    46854422  $as_echo_n "(cached) " >&6
    46864423else
     
    46934430  IFS=$as_save_IFS
    46944431  test -z "$as_dir" && as_dir=.
    4695   for ac_exec_ext in '' $ac_executable_extensions; do
     4432    for ac_exec_ext in '' $ac_executable_extensions; do
    46964433  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    46974434    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    4698     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    46994436    break 2
    47004437  fi
    47014438done
    4702 done
     4439  done
    47034440IFS=$as_save_IFS
    47044441
     
    47074444CC=$ac_cv_prog_CC
    47084445if test -n "$CC"; then
    4709   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    47104447$as_echo "$CC" >&6; }
    47114448else
    4712   { $as_echo "$as_me:$LINENO: result: no" >&5
     4449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    47134450$as_echo "no" >&6; }
    47144451fi
     
    47204457  # Extract the first word of "gcc", so it can be a program name with args.
    47214458set dummy gcc; ac_word=$2
    4722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    47234460$as_echo_n "checking for $ac_word... " >&6; }
    4724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     4461if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    47254462  $as_echo_n "(cached) " >&6
    47264463else
     
    47334470  IFS=$as_save_IFS
    47344471  test -z "$as_dir" && as_dir=.
    4735   for ac_exec_ext in '' $ac_executable_extensions; do
     4472    for ac_exec_ext in '' $ac_executable_extensions; do
    47364473  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    47374474    ac_cv_prog_ac_ct_CC="gcc"
    4738     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4475    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    47394476    break 2
    47404477  fi
    47414478done
    4742 done
     4479  done
    47434480IFS=$as_save_IFS
    47444481
     
    47474484ac_ct_CC=$ac_cv_prog_ac_ct_CC
    47484485if test -n "$ac_ct_CC"; then
    4749   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     4486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    47504487$as_echo "$ac_ct_CC" >&6; }
    47514488else
    4752   { $as_echo "$as_me:$LINENO: result: no" >&5
     4489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    47534490$as_echo "no" >&6; }
    47544491fi
     
    47594496    case $cross_compiling:$ac_tool_warned in
    47604497yes:)
    4761 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    47624499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    47634500ac_tool_warned=yes ;;
     
    47734510    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    47744511set dummy ${ac_tool_prefix}cc; ac_word=$2
    4775 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    47764513$as_echo_n "checking for $ac_word... " >&6; }
    4777 if test "${ac_cv_prog_CC+set}" = set; then
     4514if test "${ac_cv_prog_CC+set}" = set; then :
    47784515  $as_echo_n "(cached) " >&6
    47794516else
     
    47864523  IFS=$as_save_IFS
    47874524  test -z "$as_dir" && as_dir=.
    4788   for ac_exec_ext in '' $ac_executable_extensions; do
     4525    for ac_exec_ext in '' $ac_executable_extensions; do
    47894526  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    47904527    ac_cv_prog_CC="${ac_tool_prefix}cc"
    4791     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    47924529    break 2
    47934530  fi
    47944531done
    4795 done
     4532  done
    47964533IFS=$as_save_IFS
    47974534
     
    48004537CC=$ac_cv_prog_CC
    48014538if test -n "$CC"; then
    4802   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    48034540$as_echo "$CC" >&6; }
    48044541else
    4805   { $as_echo "$as_me:$LINENO: result: no" >&5
     4542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    48064543$as_echo "no" >&6; }
    48074544fi
     
    48134550  # Extract the first word of "cc", so it can be a program name with args.
    48144551set dummy cc; ac_word=$2
    4815 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    48164553$as_echo_n "checking for $ac_word... " >&6; }
    4817 if test "${ac_cv_prog_CC+set}" = set; then
     4554if test "${ac_cv_prog_CC+set}" = set; then :
    48184555  $as_echo_n "(cached) " >&6
    48194556else
     
    48274564  IFS=$as_save_IFS
    48284565  test -z "$as_dir" && as_dir=.
    4829   for ac_exec_ext in '' $ac_executable_extensions; do
     4566    for ac_exec_ext in '' $ac_executable_extensions; do
    48304567  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    48314568    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    48344571     fi
    48354572    ac_cv_prog_CC="cc"
    4836     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    48374574    break 2
    48384575  fi
    48394576done
    4840 done
     4577  done
    48414578IFS=$as_save_IFS
    48424579
     
    48574594CC=$ac_cv_prog_CC
    48584595if test -n "$CC"; then
    4859   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    48604597$as_echo "$CC" >&6; }
    48614598else
    4862   { $as_echo "$as_me:$LINENO: result: no" >&5
     4599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    48634600$as_echo "no" >&6; }
    48644601fi
     
    48724609    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    48734610set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4874 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    48754612$as_echo_n "checking for $ac_word... " >&6; }
    4876 if test "${ac_cv_prog_CC+set}" = set; then
     4613if test "${ac_cv_prog_CC+set}" = set; then :
    48774614  $as_echo_n "(cached) " >&6
    48784615else
     
    48854622  IFS=$as_save_IFS
    48864623  test -z "$as_dir" && as_dir=.
    4887   for ac_exec_ext in '' $ac_executable_extensions; do
     4624    for ac_exec_ext in '' $ac_executable_extensions; do
    48884625  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    48894626    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    4890     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    48914628    break 2
    48924629  fi
    48934630done
    4894 done
     4631  done
    48954632IFS=$as_save_IFS
    48964633
     
    48994636CC=$ac_cv_prog_CC
    49004637if test -n "$CC"; then
    4901   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    49024639$as_echo "$CC" >&6; }
    49034640else
    4904   { $as_echo "$as_me:$LINENO: result: no" >&5
     4641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    49054642$as_echo "no" >&6; }
    49064643fi
     
    49164653  # Extract the first word of "$ac_prog", so it can be a program name with args.
    49174654set dummy $ac_prog; ac_word=$2
    4918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    49194656$as_echo_n "checking for $ac_word... " >&6; }
    4920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     4657if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    49214658  $as_echo_n "(cached) " >&6
    49224659else
     
    49294666  IFS=$as_save_IFS
    49304667  test -z "$as_dir" && as_dir=.
    4931   for ac_exec_ext in '' $ac_executable_extensions; do
     4668    for ac_exec_ext in '' $ac_executable_extensions; do
    49324669  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    49334670    ac_cv_prog_ac_ct_CC="$ac_prog"
    4934     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    49354672    break 2
    49364673  fi
    49374674done
    4938 done
     4675  done
    49394676IFS=$as_save_IFS
    49404677
     
    49434680ac_ct_CC=$ac_cv_prog_ac_ct_CC
    49444681if test -n "$ac_ct_CC"; then
    4945   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     4682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    49464683$as_echo "$ac_ct_CC" >&6; }
    49474684else
    4948   { $as_echo "$as_me:$LINENO: result: no" >&5
     4685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    49494686$as_echo "no" >&6; }
    49504687fi
     
    49594696    case $cross_compiling:$ac_tool_warned in
    49604697yes:)
    4961 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    49624699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    49634700ac_tool_warned=yes ;;
     
    49704707
    49714708
    4972 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4709test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    49734710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4974 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    4975 See \`config.log' for more details." >&5
    4976 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    4977 See \`config.log' for more details." >&2;}
    4978    { (exit 1); exit 1; }; }; }
     4711as_fn_error "no acceptable C compiler found in \$PATH
     4712See \`config.log' for more details." "$LINENO" 5; }
    49794713
    49804714# Provide some information about the compiler.
    4981 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     4715$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    49824716set X $ac_compile
    49834717ac_compiler=$2
    4984 { (ac_try="$ac_compiler --version >&5"
     4718for ac_option in --version -v -V -qversion; do
     4719  { { ac_try="$ac_compiler $ac_option >&5"
    49854720case "(($ac_try" in
    49864721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    49874722  *) ac_try_echo=$ac_try;;
    49884723esac
    4989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4990 $as_echo "$ac_try_echo") >&5
    4991   (eval "$ac_compiler --version >&5") 2>&5
     4724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4725$as_echo "$ac_try_echo"; } >&5
     4726  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    49924727  ac_status=$?
    4993   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4994   (exit $ac_status); }
    4995 { (ac_try="$ac_compiler -v >&5"
    4996 case "(($ac_try" in
    4997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4998   *) ac_try_echo=$ac_try;;
    4999 esac
    5000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5001 $as_echo "$ac_try_echo") >&5
    5002   (eval "$ac_compiler -v >&5") 2>&5
    5003   ac_status=$?
    5004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5005   (exit $ac_status); }
    5006 { (ac_try="$ac_compiler -V >&5"
    5007 case "(($ac_try" in
    5008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5009   *) ac_try_echo=$ac_try;;
    5010 esac
    5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5012 $as_echo "$ac_try_echo") >&5
    5013   (eval "$ac_compiler -V >&5") 2>&5
    5014   ac_status=$?
    5015   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5016   (exit $ac_status); }
    5017 
    5018 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     4728  if test -s conftest.err; then
     4729    sed '10a\
     4730... rest of stderr output deleted ...
     4731         10q' conftest.err >conftest.er1
     4732    cat conftest.er1 >&5
     4733  fi
     4734  rm -f conftest.er1 conftest.err
     4735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4736  test $ac_status = 0; }
     4737done
     4738
     4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    50194740$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    5020 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     4741if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    50214742  $as_echo_n "(cached) " >&6
    50224743else
    5023   cat >conftest.$ac_ext <<_ACEOF
    5024 /* confdefs.h.  */
    5025 _ACEOF
    5026 cat confdefs.h >>conftest.$ac_ext
    5027 cat >>conftest.$ac_ext <<_ACEOF
     4744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50284745/* end confdefs.h.  */
    50294746
     
    50394756}
    50404757_ACEOF
    5041 rm -f conftest.$ac_objext
    5042 if { (ac_try="$ac_compile"
    5043 case "(($ac_try" in
    5044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5045   *) ac_try_echo=$ac_try;;
    5046 esac
    5047 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5048 $as_echo "$ac_try_echo") >&5
    5049   (eval "$ac_compile") 2>conftest.er1
    5050   ac_status=$?
    5051   grep -v '^ *+' conftest.er1 >conftest.err
    5052   rm -f conftest.er1
    5053   cat conftest.err >&5
    5054   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5055   (exit $ac_status); } && {
    5056          test -z "$ac_c_werror_flag" ||
    5057          test ! -s conftest.err
    5058        } && test -s conftest.$ac_objext; then
     4758if ac_fn_c_try_compile "$LINENO"; then :
    50594759  ac_compiler_gnu=yes
    50604760else
    5061   $as_echo "$as_me: failed program was:" >&5
    5062 sed 's/^/| /' conftest.$ac_ext >&5
    5063 
    5064         ac_compiler_gnu=no
    5065 fi
    5066 
     4761  ac_compiler_gnu=no
     4762fi
    50674763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    50684764ac_cv_c_compiler_gnu=$ac_compiler_gnu
    50694765
    50704766fi
    5071 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     4767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    50724768$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    50734769if test $ac_compiler_gnu = yes; then
     
    50784774ac_test_CFLAGS=${CFLAGS+set}
    50794775ac_save_CFLAGS=$CFLAGS
    5080 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    50814777$as_echo_n "checking whether $CC accepts -g... " >&6; }
    5082 if test "${ac_cv_prog_cc_g+set}" = set; then
     4778if test "${ac_cv_prog_cc_g+set}" = set; then :
    50834779  $as_echo_n "(cached) " >&6
    50844780else
     
    50874783   ac_cv_prog_cc_g=no
    50884784   CFLAGS="-g"
    5089    cat >conftest.$ac_ext <<_ACEOF
    5090 /* confdefs.h.  */
    5091 _ACEOF
    5092 cat confdefs.h >>conftest.$ac_ext
    5093 cat >>conftest.$ac_ext <<_ACEOF
     4785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50944786/* end confdefs.h.  */
    50954787
     
    51024794}
    51034795_ACEOF
    5104 rm -f conftest.$ac_objext
    5105 if { (ac_try="$ac_compile"
    5106 case "(($ac_try" in
    5107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5108   *) ac_try_echo=$ac_try;;
    5109 esac
    5110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5111 $as_echo "$ac_try_echo") >&5
    5112   (eval "$ac_compile") 2>conftest.er1
    5113   ac_status=$?
    5114   grep -v '^ *+' conftest.er1 >conftest.err
    5115   rm -f conftest.er1
    5116   cat conftest.err >&5
    5117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5118   (exit $ac_status); } && {
    5119          test -z "$ac_c_werror_flag" ||
    5120          test ! -s conftest.err
    5121        } && test -s conftest.$ac_objext; then
     4796if ac_fn_c_try_compile "$LINENO"; then :
    51224797  ac_cv_prog_cc_g=yes
    51234798else
    5124   $as_echo "$as_me: failed program was:" >&5
    5125 sed 's/^/| /' conftest.$ac_ext >&5
    5126 
    5127         CFLAGS=""
    5128       cat >conftest.$ac_ext <<_ACEOF
    5129 /* confdefs.h.  */
    5130 _ACEOF
    5131 cat confdefs.h >>conftest.$ac_ext
    5132 cat >>conftest.$ac_ext <<_ACEOF
     4799  CFLAGS=""
     4800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51334801/* end confdefs.h.  */
    51344802
     
    51414809}
    51424810_ACEOF
    5143 rm -f conftest.$ac_objext
    5144 if { (ac_try="$ac_compile"
    5145 case "(($ac_try" in
    5146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5147   *) ac_try_echo=$ac_try;;
    5148 esac
    5149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5150 $as_echo "$ac_try_echo") >&5
    5151   (eval "$ac_compile") 2>conftest.er1
    5152   ac_status=$?
    5153   grep -v '^ *+' conftest.er1 >conftest.err
    5154   rm -f conftest.er1
    5155   cat conftest.err >&5
    5156   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5157   (exit $ac_status); } && {
    5158          test -z "$ac_c_werror_flag" ||
    5159          test ! -s conftest.err
    5160        } && test -s conftest.$ac_objext; then
    5161   :
    5162 else
    5163   $as_echo "$as_me: failed program was:" >&5
    5164 sed 's/^/| /' conftest.$ac_ext >&5
    5165 
    5166         ac_c_werror_flag=$ac_save_c_werror_flag
     4811if ac_fn_c_try_compile "$LINENO"; then :
     4812
     4813else
     4814  ac_c_werror_flag=$ac_save_c_werror_flag
    51674815         CFLAGS="-g"
    5168          cat >conftest.$ac_ext <<_ACEOF
    5169 /* confdefs.h.  */
    5170 _ACEOF
    5171 cat confdefs.h >>conftest.$ac_ext
    5172 cat >>conftest.$ac_ext <<_ACEOF
     4816         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51734817/* end confdefs.h.  */
    51744818
     
    51814825}
    51824826_ACEOF
    5183 rm -f conftest.$ac_objext
    5184 if { (ac_try="$ac_compile"
    5185 case "(($ac_try" in
    5186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5187   *) ac_try_echo=$ac_try;;
    5188 esac
    5189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5190 $as_echo "$ac_try_echo") >&5
    5191   (eval "$ac_compile") 2>conftest.er1
    5192   ac_status=$?
    5193   grep -v '^ *+' conftest.er1 >conftest.err
    5194   rm -f conftest.er1
    5195   cat conftest.err >&5
    5196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5197   (exit $ac_status); } && {
    5198          test -z "$ac_c_werror_flag" ||
    5199          test ! -s conftest.err
    5200        } && test -s conftest.$ac_objext; then
     4827if ac_fn_c_try_compile "$LINENO"; then :
    52014828  ac_cv_prog_cc_g=yes
    5202 else
    5203   $as_echo "$as_me: failed program was:" >&5
    5204 sed 's/^/| /' conftest.$ac_ext >&5
    5205 
    5206 
    5207 fi
    5208 
     4829fi
    52094830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52104831fi
    5211 
    52124832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52134833fi
    5214 
    52154834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52164835   ac_c_werror_flag=$ac_save_c_werror_flag
    52174836fi
    5218 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     4837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    52194838$as_echo "$ac_cv_prog_cc_g" >&6; }
    52204839if test "$ac_test_CFLAGS" = set; then
     
    52334852  fi
    52344853fi
    5235 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     4854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    52364855$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    5237 if test "${ac_cv_prog_cc_c89+set}" = set; then
     4856if test "${ac_cv_prog_cc_c89+set}" = set; then :
    52384857  $as_echo_n "(cached) " >&6
    52394858else
    52404859  ac_cv_prog_cc_c89=no
    52414860ac_save_CC=$CC
    5242 cat >conftest.$ac_ext <<_ACEOF
    5243 /* confdefs.h.  */
    5244 _ACEOF
    5245 cat confdefs.h >>conftest.$ac_ext
    5246 cat >>conftest.$ac_ext <<_ACEOF
     4861cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52474862/* end confdefs.h.  */
    52484863#include <stdarg.h>
     
    53014916do
    53024917  CC="$ac_save_CC $ac_arg"
    5303   rm -f conftest.$ac_objext
    5304 if { (ac_try="$ac_compile"
    5305 case "(($ac_try" in
    5306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5307   *) ac_try_echo=$ac_try;;
    5308 esac
    5309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5310 $as_echo "$ac_try_echo") >&5
    5311   (eval "$ac_compile") 2>conftest.er1
    5312   ac_status=$?
    5313   grep -v '^ *+' conftest.er1 >conftest.err
    5314   rm -f conftest.er1
    5315   cat conftest.err >&5
    5316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5317   (exit $ac_status); } && {
    5318          test -z "$ac_c_werror_flag" ||
    5319          test ! -s conftest.err
    5320        } && test -s conftest.$ac_objext; then
     4918  if ac_fn_c_try_compile "$LINENO"; then :
    53214919  ac_cv_prog_cc_c89=$ac_arg
    5322 else
    5323   $as_echo "$as_me: failed program was:" >&5
    5324 sed 's/^/| /' conftest.$ac_ext >&5
    5325 
    5326 
    5327 fi
    5328 
     4920fi
    53294921rm -f core conftest.err conftest.$ac_objext
    53304922  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    53374929case "x$ac_cv_prog_cc_c89" in
    53384930  x)
    5339     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     4931    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    53404932$as_echo "none needed" >&6; } ;;
    53414933  xno)
    5342     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     4934    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    53434935$as_echo "unsupported" >&6; } ;;
    53444936  *)
    53454937    CC="$CC $ac_cv_prog_cc_c89"
    5346     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     4938    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    53474939$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    53484940esac
    5349 
     4941if test "x$ac_cv_prog_cc_c89" != xno; then :
     4942
     4943fi
    53504944
    53514945ac_ext=c
     
    53574951depcc="$CC"   am_compiler_list=
    53584952
    5359 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    53604954$as_echo_n "checking dependency style of $depcc... " >&6; }
    5361 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     4955if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
    53624956  $as_echo_n "(cached) " >&6
    53634957else
     
    54675061
    54685062fi
    5469 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     5063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
    54705064$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
    54715065CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     
    54825076
    54835077
    5484    case $ac_cv_prog_cc_stdc in
    5485   no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
    5486   *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
     5078   case $ac_cv_prog_cc_stdc in #(
     5079  no) :
     5080    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
     5081  *) :
     5082    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
    54875083$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
    5488 if test "${ac_cv_prog_cc_c99+set}" = set; then
     5084if test "${ac_cv_prog_cc_c99+set}" = set; then :
    54895085  $as_echo_n "(cached) " >&6
    54905086else
    54915087  ac_cv_prog_cc_c99=no
    54925088ac_save_CC=$CC
    5493 cat >conftest.$ac_ext <<_ACEOF
    5494 /* confdefs.h.  */
    5495 _ACEOF
    5496 cat confdefs.h >>conftest.$ac_ext
    5497 cat >>conftest.$ac_ext <<_ACEOF
     5089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54985090/* end confdefs.h.  */
    54995091#include <stdarg.h>
     
    56375229do
    56385230  CC="$ac_save_CC $ac_arg"
    5639   rm -f conftest.$ac_objext
    5640 if { (ac_try="$ac_compile"
    5641 case "(($ac_try" in
    5642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5643   *) ac_try_echo=$ac_try;;
    5644 esac
    5645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5646 $as_echo "$ac_try_echo") >&5
    5647   (eval "$ac_compile") 2>conftest.er1
    5648   ac_status=$?
    5649   grep -v '^ *+' conftest.er1 >conftest.err
    5650   rm -f conftest.er1
    5651   cat conftest.err >&5
    5652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5653   (exit $ac_status); } && {
    5654          test -z "$ac_c_werror_flag" ||
    5655          test ! -s conftest.err
    5656        } && test -s conftest.$ac_objext; then
     5231  if ac_fn_c_try_compile "$LINENO"; then :
    56575232  ac_cv_prog_cc_c99=$ac_arg
    5658 else
    5659   $as_echo "$as_me: failed program was:" >&5
    5660 sed 's/^/| /' conftest.$ac_ext >&5
    5661 
    5662 
    5663 fi
    5664 
     5233fi
    56655234rm -f core conftest.err conftest.$ac_objext
    56665235  test "x$ac_cv_prog_cc_c99" != "xno" && break
     
    56735242case "x$ac_cv_prog_cc_c99" in
    56745243  x)
    5675     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    56765245$as_echo "none needed" >&6; } ;;
    56775246  xno)
    5678     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    56795248$as_echo "unsupported" >&6; } ;;
    56805249  *)
    56815250    CC="$CC $ac_cv_prog_cc_c99"
    5682     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
     5251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
    56835252$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
    56845253esac
    5685 if test "x$ac_cv_prog_cc_c99" != xno; then
     5254if test "x$ac_cv_prog_cc_c99" != xno; then :
    56865255  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
    56875256else
    5688   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     5257  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    56895258$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    5690 if test "${ac_cv_prog_cc_c89+set}" = set; then
     5259if test "${ac_cv_prog_cc_c89+set}" = set; then :
    56915260  $as_echo_n "(cached) " >&6
    56925261else
    56935262  ac_cv_prog_cc_c89=no
    56945263ac_save_CC=$CC
    5695 cat >conftest.$ac_ext <<_ACEOF
    5696 /* confdefs.h.  */
    5697 _ACEOF
    5698 cat confdefs.h >>conftest.$ac_ext
    5699 cat >>conftest.$ac_ext <<_ACEOF
     5264cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57005265/* end confdefs.h.  */
    57015266#include <stdarg.h>
     
    57545319do
    57555320  CC="$ac_save_CC $ac_arg"
    5756   rm -f conftest.$ac_objext
    5757 if { (ac_try="$ac_compile"
    5758 case "(($ac_try" in
    5759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5760   *) ac_try_echo=$ac_try;;
    5761 esac
    5762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5763 $as_echo "$ac_try_echo") >&5
    5764   (eval "$ac_compile") 2>conftest.er1
    5765   ac_status=$?
    5766   grep -v '^ *+' conftest.er1 >conftest.err
    5767   rm -f conftest.er1
    5768   cat conftest.err >&5
    5769   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5770   (exit $ac_status); } && {
    5771          test -z "$ac_c_werror_flag" ||
    5772          test ! -s conftest.err
    5773        } && test -s conftest.$ac_objext; then
     5321  if ac_fn_c_try_compile "$LINENO"; then :
    57745322  ac_cv_prog_cc_c89=$ac_arg
    5775 else
    5776   $as_echo "$as_me: failed program was:" >&5
    5777 sed 's/^/| /' conftest.$ac_ext >&5
    5778 
    5779 
    5780 fi
    5781 
     5323fi
    57825324rm -f core conftest.err conftest.$ac_objext
    57835325  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    57905332case "x$ac_cv_prog_cc_c89" in
    57915333  x)
    5792     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5334    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    57935335$as_echo "none needed" >&6; } ;;
    57945336  xno)
    5795     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5337    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    57965338$as_echo "unsupported" >&6; } ;;
    57975339  *)
    57985340    CC="$CC $ac_cv_prog_cc_c89"
    5799     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     5341    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    58005342$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    58015343esac
    5802 if test "x$ac_cv_prog_cc_c89" != xno; then
     5344if test "x$ac_cv_prog_cc_c89" != xno; then :
    58035345  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
    58045346else
     
    58065348fi
    58075349
    5808 
    5809 fi
    5810 
     5350fi
    58115351 ;;
    58125352esac
    5813   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
     5353  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
    58145354$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
    5815   if test "${ac_cv_prog_cc_stdc+set}" = set; then
     5355  if test "${ac_cv_prog_cc_stdc+set}" = set; then :
    58165356  $as_echo_n "(cached) " >&6
    58175357fi
    58185358
    5819   case $ac_cv_prog_cc_stdc in
    5820   no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    5821 $as_echo "unsupported" >&6; } ;;
    5822   '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
    5823 $as_echo "none needed" >&6; } ;;
    5824   *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5359  case $ac_cv_prog_cc_stdc in #(
     5360  no) :
     5361    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     5362$as_echo "unsupported" >&6; } ;; #(
     5363  '') :
     5364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     5365$as_echo "none needed" >&6; } ;; #(
     5366  *) :
     5367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
    58255368$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
    58265369esac
    5827 
    58285370
    58295371ac_ext=c
     
    58325374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    58335375ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5834 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     5376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    58355377$as_echo_n "checking how to run the C preprocessor... " >&6; }
    58365378# On Suns, sometimes $CPP names a directory.
     
    58395381fi
    58405382if test -z "$CPP"; then
    5841   if test "${ac_cv_prog_CPP+set}" = set; then
     5383  if test "${ac_cv_prog_CPP+set}" = set; then :
    58425384  $as_echo_n "(cached) " >&6
    58435385else
     
    58545396  # On the NeXT, cc -E runs the code through the compiler's parser,
    58555397  # not just through cpp. "Syntax error" is here to catch this case.
    5856   cat >conftest.$ac_ext <<_ACEOF
    5857 /* confdefs.h.  */
    5858 _ACEOF
    5859 cat confdefs.h >>conftest.$ac_ext
    5860 cat >>conftest.$ac_ext <<_ACEOF
     5398  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58615399/* end confdefs.h.  */
    58625400#ifdef __STDC__
     
    58675405                     Syntax error
    58685406_ACEOF
    5869 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5870 case "(($ac_try" in
    5871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5872   *) ac_try_echo=$ac_try;;
    5873 esac
    5874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5875 $as_echo "$ac_try_echo") >&5
    5876   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5877   ac_status=$?
    5878   grep -v '^ *+' conftest.er1 >conftest.err
    5879   rm -f conftest.er1
    5880   cat conftest.err >&5
    5881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5882   (exit $ac_status); } >/dev/null && {
    5883          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5884          test ! -s conftest.err
    5885        }; then
    5886   :
    5887 else
    5888   $as_echo "$as_me: failed program was:" >&5
    5889 sed 's/^/| /' conftest.$ac_ext >&5
    5890 
     5407if ac_fn_c_try_cpp "$LINENO"; then :
     5408
     5409else
    58915410  # Broken: fails on valid input.
    58925411continue
    58935412fi
    5894 
    58955413rm -f conftest.err conftest.$ac_ext
    58965414
    58975415  # OK, works on sane cases.  Now check whether nonexistent headers
    58985416  # can be detected and how.
    5899   cat >conftest.$ac_ext <<_ACEOF
    5900 /* confdefs.h.  */
    5901 _ACEOF
    5902 cat confdefs.h >>conftest.$ac_ext
    5903 cat >>conftest.$ac_ext <<_ACEOF
     5417  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59045418/* end confdefs.h.  */
    59055419#include <ac_nonexistent.h>
    59065420_ACEOF
    5907 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5908 case "(($ac_try" in
    5909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5910   *) ac_try_echo=$ac_try;;
    5911 esac
    5912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5913 $as_echo "$ac_try_echo") >&5
    5914   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5915   ac_status=$?
    5916   grep -v '^ *+' conftest.er1 >conftest.err
    5917   rm -f conftest.er1
    5918   cat conftest.err >&5
    5919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5920   (exit $ac_status); } >/dev/null && {
    5921          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5922          test ! -s conftest.err
    5923        }; then
     5421if ac_fn_c_try_cpp "$LINENO"; then :
    59245422  # Broken: success on invalid input.
    59255423continue
    59265424else
    5927   $as_echo "$as_me: failed program was:" >&5
    5928 sed 's/^/| /' conftest.$ac_ext >&5
    5929 
    59305425  # Passes both tests.
    59315426ac_preproc_ok=:
    59325427break
    59335428fi
    5934 
    59355429rm -f conftest.err conftest.$ac_ext
    59365430
     
    59385432# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    59395433rm -f conftest.err conftest.$ac_ext
    5940 if $ac_preproc_ok; then
     5434if $ac_preproc_ok; then :
    59415435  break
    59425436fi
     
    59505444  ac_cv_prog_CPP=$CPP
    59515445fi
    5952 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     5446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    59535447$as_echo "$CPP" >&6; }
    59545448ac_preproc_ok=false
     
    59615455  # On the NeXT, cc -E runs the code through the compiler's parser,
    59625456  # not just through cpp. "Syntax error" is here to catch this case.
    5963   cat >conftest.$ac_ext <<_ACEOF
    5964 /* confdefs.h.  */
    5965 _ACEOF
    5966 cat confdefs.h >>conftest.$ac_ext
    5967 cat >>conftest.$ac_ext <<_ACEOF
     5457  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59685458/* end confdefs.h.  */
    59695459#ifdef __STDC__
     
    59745464                     Syntax error
    59755465_ACEOF
    5976 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5977 case "(($ac_try" in
    5978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5979   *) ac_try_echo=$ac_try;;
    5980 esac
    5981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5982 $as_echo "$ac_try_echo") >&5
    5983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5984   ac_status=$?
    5985   grep -v '^ *+' conftest.er1 >conftest.err
    5986   rm -f conftest.er1
    5987   cat conftest.err >&5
    5988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5989   (exit $ac_status); } >/dev/null && {
    5990          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5991          test ! -s conftest.err
    5992        }; then
    5993   :
    5994 else
    5995   $as_echo "$as_me: failed program was:" >&5
    5996 sed 's/^/| /' conftest.$ac_ext >&5
    5997 
     5466if ac_fn_c_try_cpp "$LINENO"; then :
     5467
     5468else
    59985469  # Broken: fails on valid input.
    59995470continue
    60005471fi
    6001 
    60025472rm -f conftest.err conftest.$ac_ext
    60035473
    60045474  # OK, works on sane cases.  Now check whether nonexistent headers
    60055475  # can be detected and how.
    6006   cat >conftest.$ac_ext <<_ACEOF
    6007 /* confdefs.h.  */
    6008 _ACEOF
    6009 cat confdefs.h >>conftest.$ac_ext
    6010 cat >>conftest.$ac_ext <<_ACEOF
     5476  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60115477/* end confdefs.h.  */
    60125478#include <ac_nonexistent.h>
    60135479_ACEOF
    6014 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6015 case "(($ac_try" in
    6016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6017   *) ac_try_echo=$ac_try;;
    6018 esac
    6019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6020 $as_echo "$ac_try_echo") >&5
    6021   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6022   ac_status=$?
    6023   grep -v '^ *+' conftest.er1 >conftest.err
    6024   rm -f conftest.er1
    6025   cat conftest.err >&5
    6026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6027   (exit $ac_status); } >/dev/null && {
    6028          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6029          test ! -s conftest.err
    6030        }; then
     5480if ac_fn_c_try_cpp "$LINENO"; then :
    60315481  # Broken: success on invalid input.
    60325482continue
    60335483else
    6034   $as_echo "$as_me: failed program was:" >&5
    6035 sed 's/^/| /' conftest.$ac_ext >&5
    6036 
    60375484  # Passes both tests.
    60385485ac_preproc_ok=:
    60395486break
    60405487fi
    6041 
    60425488rm -f conftest.err conftest.$ac_ext
    60435489
     
    60455491# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    60465492rm -f conftest.err conftest.$ac_ext
    6047 if $ac_preproc_ok; then
    6048   :
    6049 else
    6050   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     5493if $ac_preproc_ok; then :
     5494
     5495else
     5496  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    60515497$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6052 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    6053 See \`config.log' for more details." >&5
    6054 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    6055 See \`config.log' for more details." >&2;}
    6056    { (exit 1); exit 1; }; }; }
     5498as_fn_error "C preprocessor \"$CPP\" fails sanity check
     5499See \`config.log' for more details." "$LINENO" 5; }
    60575500fi
    60585501
     
    60635506ac_compiler_gnu=$ac_cv_c_compiler_gnu
    60645507
    6065 # Find a good install program.  We prefer a C program (faster),
    6066 # so one script is as good as another.  But avoid the broken or
    6067 # incompatible versions:
    6068 # SysV /etc/install, /usr/sbin/install
    6069 # SunOS /usr/etc/install
    6070 # IRIX /sbin/install
    6071 # AIX /bin/install
    6072 # AmigaOS /C/install, which installs bootblocks on floppy discs
    6073 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    6074 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    6075 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    6076 # OS/2's system install, which has a completely different semantic
    6077 # ./install, which can be erroneously created by make from ./install.sh.
    6078 # Reject install programs that cannot install multiple files.
    6079 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    6080 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    6081 if test -z "$INSTALL"; then
    6082 if test "${ac_cv_path_install+set}" = set; then
    6083   $as_echo_n "(cached) " >&6
    6084 else
    6085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6086 for as_dir in $PATH
    6087 do
    6088   IFS=$as_save_IFS
    6089   test -z "$as_dir" && as_dir=.
    6090   # Account for people who put trailing slashes in PATH elements.
    6091 case $as_dir/ in
    6092   ./ | .// | /cC/* | \
    6093   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6094   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    6095   /usr/ucb/* ) ;;
    6096   *)
    6097     # OSF1 and SCO ODT 3.0 have their own names for install.
    6098     # Don't use installbsd from OSF since it installs stuff as root
    6099     # by default.
    6100     for ac_prog in ginstall scoinst install; do
    6101       for ac_exec_ext in '' $ac_executable_extensions; do
    6102         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    6103           if test $ac_prog = install &&
    6104             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    6105             # AIX install.  It has an incompatible calling convention.
    6106             :
    6107           elif test $ac_prog = install &&
    6108             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    6109             # program-specific install script used by HP pwplus--don't use.
    6110             :
    6111           else
    6112             rm -rf conftest.one conftest.two conftest.dir
    6113             echo one > conftest.one
    6114             echo two > conftest.two
    6115             mkdir conftest.dir
    6116             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    6117               test -s conftest.one && test -s conftest.two &&
    6118               test -s conftest.dir/conftest.one &&
    6119               test -s conftest.dir/conftest.two
    6120             then
    6121               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    6122               break 3
    6123             fi
    6124           fi
    6125         fi
    6126       done
    6127     done
    6128     ;;
    6129 esac
    6130 
    6131 done
    6132 IFS=$as_save_IFS
    6133 
    6134 rm -rf conftest.one conftest.two conftest.dir
    6135 
    6136 fi
    6137   if test "${ac_cv_path_install+set}" = set; then
    6138     INSTALL=$ac_cv_path_install
    6139   else
    6140     # As a last resort, use the slow shell script.  Don't cache a
    6141     # value for INSTALL within a source directory, because that will
    6142     # break other packages using the cache if that directory is
    6143     # removed, or if the value is a relative name.
    6144     INSTALL=$ac_install_sh
    6145   fi
    6146 fi
    6147 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    6148 $as_echo "$INSTALL" >&6; }
    6149 
    6150 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    6151 # It thinks the first close brace ends the variable substitution.
    6152 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    6153 
    6154 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    6155 
    6156 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    6157 
    6158 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     5508
     5509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    61595510$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    61605511set x ${MAKE-make}
    61615512ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    6162 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     5513if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
    61635514  $as_echo_n "(cached) " >&6
    61645515else
     
    61785529fi
    61795530if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    6180   { $as_echo "$as_me:$LINENO: result: yes" >&5
     5531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    61815532$as_echo "yes" >&6; }
    61825533  SET_MAKE=
    61835534else
    6184   { $as_echo "$as_me:$LINENO: result: no" >&5
     5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    61855536$as_echo "no" >&6; }
    61865537  SET_MAKE="MAKE=${MAKE-make}"
    61875538fi
    61885539
    6189 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     5540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    61905541$as_echo_n "checking whether ln -s works... " >&6; }
    61915542LN_S=$as_ln_s
    61925543if test "$LN_S" = "ln -s"; then
    6193   { $as_echo "$as_me:$LINENO: result: yes" >&5
     5544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    61945545$as_echo "yes" >&6; }
    61955546else
    6196   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     5547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    61975548$as_echo "no, using $LN_S" >&6; }
    61985549fi
     
    62025553# and define automake conditional HAVE_LD_VERSION_SCRIPT if so.
    62035554# Check whether --enable-ld-version-script was given.
    6204 if test "${enable_ld_version_script+set}" = set; then
     5555if test "${enable_ld_version_script+set}" = set; then :
    62055556  enableval=$enable_ld_version_script; have_ld_version_script=$enableval
    62065557fi
    62075558
    62085559if test -z "$have_ld_version_script"; then
    6209   { $as_echo "$as_me:$LINENO: checking if LD -Wl,--version-script works" >&5
     5560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
    62105561$as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
    62115562  save_LDFLAGS="$LDFLAGS"
     
    62205571} VERS_1;
    62215572EOF
    6222   cat >conftest.$ac_ext <<_ACEOF
    6223 /* confdefs.h.  */
    6224 _ACEOF
    6225 cat confdefs.h >>conftest.$ac_ext
    6226 cat >>conftest.$ac_ext <<_ACEOF
     5573  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62275574/* end confdefs.h.  */
    62285575
     
    62355582}
    62365583_ACEOF
    6237 rm -f conftest.$ac_objext conftest$ac_exeext
    6238 if { (ac_try="$ac_link"
    6239 case "(($ac_try" in
    6240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6241   *) ac_try_echo=$ac_try;;
    6242 esac
    6243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6244 $as_echo "$ac_try_echo") >&5
    6245   (eval "$ac_link") 2>conftest.er1
    6246   ac_status=$?
    6247   grep -v '^ *+' conftest.er1 >conftest.err
    6248   rm -f conftest.er1
    6249   cat conftest.err >&5
    6250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6251   (exit $ac_status); } && {
    6252          test -z "$ac_c_werror_flag" ||
    6253          test ! -s conftest.err
    6254        } && test -s conftest$ac_exeext && {
    6255          test "$cross_compiling" = yes ||
    6256          $as_test_x conftest$ac_exeext
    6257        }; then
     5584if ac_fn_c_try_link "$LINENO"; then :
    62585585  have_ld_version_script=yes
    62595586else
    6260   $as_echo "$as_me: failed program was:" >&5
    6261 sed 's/^/| /' conftest.$ac_ext >&5
    6262 
    6263         have_ld_version_script=no
    6264 fi
    6265 
    6266 rm -rf conftest.dSYM
    6267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6268       conftest$ac_exeext conftest.$ac_ext
     5587  have_ld_version_script=no
     5588fi
     5589rm -f core conftest.err conftest.$ac_objext \
     5590    conftest$ac_exeext conftest.$ac_ext
    62695591  rm -f conftest.map
    62705592  LDFLAGS="$save_LDFLAGS"
    6271   { $as_echo "$as_me:$LINENO: result: $have_ld_version_script" >&5
     5593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5
    62725594$as_echo "$have_ld_version_script" >&6; }
    62735595fi
     
    62825604
    62835605# See if compiler supports prototypes.
    6284 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     5606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
    62855607$as_echo_n "checking for function prototypes... " >&6; }
    6286 if test "${ijg_cv_have_prototypes+set}" = set; then
     5608if test "${ijg_cv_have_prototypes+set}" = set; then :
    62875609  $as_echo_n "(cached) " >&6
    62885610else
    6289   cat >conftest.$ac_ext <<_ACEOF
    6290 /* confdefs.h.  */
    6291 _ACEOF
    6292 cat confdefs.h >>conftest.$ac_ext
    6293 cat >>conftest.$ac_ext <<_ACEOF
     5611  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62945612/* end confdefs.h.  */
    62955613
     
    63135631}
    63145632_ACEOF
    6315 rm -f conftest.$ac_objext
    6316 if { (ac_try="$ac_compile"
    6317 case "(($ac_try" in
    6318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6319   *) ac_try_echo=$ac_try;;
    6320 esac
    6321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6322 $as_echo "$ac_try_echo") >&5
    6323   (eval "$ac_compile") 2>conftest.er1
    6324   ac_status=$?
    6325   grep -v '^ *+' conftest.er1 >conftest.err
    6326   rm -f conftest.er1
    6327   cat conftest.err >&5
    6328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6329   (exit $ac_status); } && {
    6330          test -z "$ac_c_werror_flag" ||
    6331          test ! -s conftest.err
    6332        } && test -s conftest.$ac_objext; then
     5633if ac_fn_c_try_compile "$LINENO"; then :
    63335634  ijg_cv_have_prototypes=yes
    63345635else
    6335   $as_echo "$as_me: failed program was:" >&5
    6336 sed 's/^/| /' conftest.$ac_ext >&5
    6337 
    6338         ijg_cv_have_prototypes=no
    6339 fi
    6340 
     5636  ijg_cv_have_prototypes=no
     5637fi
    63415638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63425639fi
    63435640
    6344 { $as_echo "$as_me:$LINENO: result: $ijg_cv_have_prototypes" >&5
     5641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_have_prototypes" >&5
    63455642$as_echo "$ijg_cv_have_prototypes" >&6; }
    63465643if test $ijg_cv_have_prototypes = yes; then
    63475644
    6348 cat >>confdefs.h <<\_ACEOF
    6349 #define HAVE_PROTOTYPES 1
    6350 _ACEOF
     5645$as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h
    63515646
    63525647else
     
    63595654
    63605655# Check header files
    6361 
    6362 
    6363 
    63645656for ac_header in stddef.h stdlib.h locale.h
    6365 do
    6366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6368   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6369 $as_echo_n "checking for $ac_header... " >&6; }
    6370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6371   $as_echo_n "(cached) " >&6
    6372 fi
    6373 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6374                  $as_echo "$as_val"'`
    6375                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6376 $as_echo "$ac_res" >&6; }
    6377 else
    6378   # Is the header compilable?
    6379 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6380 $as_echo_n "checking $ac_header usability... " >&6; }
    6381 cat >conftest.$ac_ext <<_ACEOF
    6382 /* confdefs.h.  */
    6383 _ACEOF
    6384 cat confdefs.h >>conftest.$ac_ext
    6385 cat >>conftest.$ac_ext <<_ACEOF
    6386 /* end confdefs.h.  */
    6387 $ac_includes_default
    6388 #include <$ac_header>
    6389 _ACEOF
    6390 rm -f conftest.$ac_objext
    6391 if { (ac_try="$ac_compile"
    6392 case "(($ac_try" in
    6393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6394   *) ac_try_echo=$ac_try;;
    6395 esac
    6396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6397 $as_echo "$ac_try_echo") >&5
    6398   (eval "$ac_compile") 2>conftest.er1
    6399   ac_status=$?
    6400   grep -v '^ *+' conftest.er1 >conftest.err
    6401   rm -f conftest.er1
    6402   cat conftest.err >&5
    6403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6404   (exit $ac_status); } && {
    6405          test -z "$ac_c_werror_flag" ||
    6406          test ! -s conftest.err
    6407        } && test -s conftest.$ac_objext; then
    6408   ac_header_compiler=yes
    6409 else
    6410   $as_echo "$as_me: failed program was:" >&5
    6411 sed 's/^/| /' conftest.$ac_ext >&5
    6412 
    6413         ac_header_compiler=no
    6414 fi
    6415 
    6416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6417 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6418 $as_echo "$ac_header_compiler" >&6; }
    6419 
    6420 # Is the header present?
    6421 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6422 $as_echo_n "checking $ac_header presence... " >&6; }
    6423 cat >conftest.$ac_ext <<_ACEOF
    6424 /* confdefs.h.  */
    6425 _ACEOF
    6426 cat confdefs.h >>conftest.$ac_ext
    6427 cat >>conftest.$ac_ext <<_ACEOF
    6428 /* end confdefs.h.  */
    6429 #include <$ac_header>
    6430 _ACEOF
    6431 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6432 case "(($ac_try" in
    6433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6434   *) ac_try_echo=$ac_try;;
    6435 esac
    6436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6437 $as_echo "$ac_try_echo") >&5
    6438   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6439   ac_status=$?
    6440   grep -v '^ *+' conftest.er1 >conftest.err
    6441   rm -f conftest.er1
    6442   cat conftest.err >&5
    6443   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6444   (exit $ac_status); } >/dev/null && {
    6445          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6446          test ! -s conftest.err
    6447        }; then
    6448   ac_header_preproc=yes
    6449 else
    6450   $as_echo "$as_me: failed program was:" >&5
    6451 sed 's/^/| /' conftest.$ac_ext >&5
    6452 
    6453   ac_header_preproc=no
    6454 fi
    6455 
    6456 rm -f conftest.err conftest.$ac_ext
    6457 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6458 $as_echo "$ac_header_preproc" >&6; }
    6459 
    6460 # So?  What about this header?
    6461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6462   yes:no: )
    6463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6464 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6466 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6467     ac_header_preproc=yes
    6468     ;;
    6469   no:yes:* )
    6470     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6471 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6472     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6473 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6474     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6475 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6476     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6477 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6478     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6479 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6480     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6481 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6482 
    6483     ;;
    6484 esac
    6485 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6486 $as_echo_n "checking for $ac_header... " >&6; }
    6487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set";