The qDecoder Project

[svn] / trunk / configure

Parent Directory Parent Directory Revision Log Revision Log


Revision 580 - Download Blame
Wed Apr 28 04:29:40 2010 UTC (3 weeks, 4 days ago) by wolkykim
File size: 153256 byte(s)
o adjust to compile with -g flag
    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for qDecoder 10 RELEASE.
    4 #
    5 # Report bugs to </>.
    6 #
    7 #
    8 # =============================================================================
    9 # Copyright 2000-2010 The qDecoder Project. All rights reserved.
   10 #
   11 # Redistribution and use in source and binary forms, with or without
   12 # modification, are permitted provided that the following conditions
   13 # are met:
   14 #
   15 # 1. Redistributions of source code must retain the above copyright
   16 #    notice, this list of conditions and the following disclaimer.
   17 # 2. Redistributions in binary form must reproduce the above copyright
   18 #    notice, this list of conditions and the following disclaimer in the
   19 #    documentation and/or other materials provided with the distribution.
   20 #
   21 # THIS SOFTWARE IS PROVIDED BY THE QDECODER PROJECT ``AS IS'' AND ANY
   22 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
   23 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   24 # DISCLAIMED. IN NO EVENT SHALL THE QDECODER PROJECT BE LIABLE FOR ANY
   25 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   26 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   27 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   28 # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   29 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   30 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   31 # =============================================================================
   32 #
   33 #
   34 # Copyright (C) 2003 Free Software Foundation, Inc.
   35 # This configure script is free software; the Free Software Foundation
   36 # gives unlimited permission to copy, distribute and modify it.
   37 ## --------------------- ##
   38 ## M4sh Initialization.  ##
   39 ## --------------------- ##
   40 
   41 # Be Bourne compatible
   42 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   43   emulate sh
   44   NULLCMD=:
   45   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   46   # is contrary to our usage.  Disable this feature.
   47   alias -g '${1+"$@"}'='"$@"'
   48 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   49   set -o posix
   50 fi
   51 DUALCASE=1; export DUALCASE # for MKS sh
   52 
   53 # Support unset when possible.
   54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   55   as_unset=unset
   56 else
   57   as_unset=false
   58 fi
   59 
   60 
   61 # Work around bugs in pre-3.0 UWIN ksh.
   62 $as_unset ENV MAIL MAILPATH
   63 PS1='$ '
   64 PS2='> '
   65 PS4='+ '
   66 
   67 # NLS nuisances.
   68 for as_var in \
   69   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   70   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   71   LC_TELEPHONE LC_TIME
   72 do
   73   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   74     eval $as_var=C; export $as_var
   75   else
   76     $as_unset $as_var
   77   fi
   78 done
   79 
   80 # Required to use basename.
   81 if expr a : '\(a\)' >/dev/null 2>&1; then
   82   as_expr=expr
   83 else
   84   as_expr=false
   85 fi
   86 
   87 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   88   as_basename=basename
   89 else
   90   as_basename=false
   91 fi
   92 
   93 
   94 # Name of the executable.
   95 as_me=`$as_basename "$0" ||
   96 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   97 	 X"$0" : 'X\(//\)$' \| \
   98 	 X"$0" : 'X\(/\)$' \| \
   99 	 .     : '\(.\)' 2>/dev/null ||
  100 echo X/"$0" |
  101     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  102   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  103   	  /^X\/\(\/\).*/{ s//\1/; q; }
  104   	  s/.*/./; q'`
  105 
  106 
  107 # PATH needs CR, and LINENO needs CR and PATH.
  108 # Avoid depending upon Character Ranges.
  109 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  110 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  111 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  112 as_cr_digits='0123456789'
  113 as_cr_alnum=$as_cr_Letters$as_cr_digits
  114 
  115 # The user is always right.
  116 if test "${PATH_SEPARATOR+set}" != set; then
  117   echo "#! /bin/sh" >conf$$.sh
  118   echo  "exit 0"   >>conf$$.sh
  119   chmod +x conf$$.sh
  120   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  121     PATH_SEPARATOR=';'
  122   else
  123     PATH_SEPARATOR=:
  124   fi
  125   rm -f conf$$.sh
  126 fi
  127 
  128 
  129   as_lineno_1=$LINENO
  130   as_lineno_2=$LINENO
  131   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  132   test "x$as_lineno_1" != "x$as_lineno_2" &&
  133   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  134   # Find who we are.  Look in the path if we contain no path at all
  135   # relative or not.
  136   case $0 in
  137     *[\\/]* ) as_myself=$0 ;;
  138     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  139 for as_dir in $PATH
  140 do
  141   IFS=$as_save_IFS
  142   test -z "$as_dir" && as_dir=.
  143   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  144 done
  145 
  146        ;;
  147   esac
  148   # We did not find ourselves, most probably we were run as `sh COMMAND'
  149   # in which case we are not to be found in the path.
  150   if test "x$as_myself" = x; then
  151     as_myself=$0
  152   fi
  153   if test ! -f "$as_myself"; then
  154     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  155    { (exit 1); exit 1; }; }
  156   fi
  157   case $CONFIG_SHELL in
  158   '')
  159     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  160 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  161 do
  162   IFS=$as_save_IFS
  163   test -z "$as_dir" && as_dir=.
  164   for as_base in sh bash ksh sh5; do
  165 	 case $as_dir in
  166 	 /*)
  167 	   if ("$as_dir/$as_base" -c '
  168   as_lineno_1=$LINENO
  169   as_lineno_2=$LINENO
  170   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  171   test "x$as_lineno_1" != "x$as_lineno_2" &&
  172   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  173 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  174 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  175 	     CONFIG_SHELL=$as_dir/$as_base
  176 	     export CONFIG_SHELL
  177 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  178 	   fi;;
  179 	 esac
  180        done
  181 done
  182 ;;
  183   esac
  184 
  185   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  186   # uniformly replaced by the line number.  The first 'sed' inserts a
  187   # line-number line before each line; the second 'sed' does the real
  188   # work.  The second script uses 'N' to pair each line-number line
  189   # with the numbered line, and appends trailing '-' during
  190   # substitution so that $LINENO is not a special case at line end.
  191   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  192   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  193   sed '=' <$as_myself |
  194     sed '
  195       N
  196       s,$,-,
  197       : loop
  198       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  199       t loop
  200       s,-$,,
  201       s,^['$as_cr_digits']*\n,,
  202     ' >$as_me.lineno &&
  203   chmod +x $as_me.lineno ||
  204     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  205    { (exit 1); exit 1; }; }
  206 
  207   # Don't try to exec as it changes $[0], causing all sort of problems
  208   # (the dirname of $[0] is not the place where we might find the
  209   # original and so on.  Autoconf is especially sensible to this).
  210   . ./$as_me.lineno
  211   # Exit status is that of the last command.
  212   exit
  213 }
  214 
  215 
  216 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  217   *c*,-n*) ECHO_N= ECHO_C='
  218 ' ECHO_T='	' ;;
  219   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  220   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  221 esac
  222 
  223 if expr a : '\(a\)' >/dev/null 2>&1; then
  224   as_expr=expr
  225 else
  226   as_expr=false
  227 fi
  228 
  229 rm -f conf$$ conf$$.exe conf$$.file
  230 echo >conf$$.file
  231 if ln -s conf$$.file conf$$ 2>/dev/null; then
  232   # We could just check for DJGPP; but this test a) works b) is more generic
  233   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  234   if test -f conf$$.exe; then
  235     # Don't use ln at all; we don't have any links
  236     as_ln_s='cp -p'
  237   else
  238     as_ln_s='ln -s'
  239   fi
  240 elif ln conf$$.file conf$$ 2>/dev/null; then
  241   as_ln_s=ln
  242 else
  243   as_ln_s='cp -p'
  244 fi
  245 rm -f conf$$ conf$$.exe conf$$.file
  246 
  247 if mkdir -p . 2>/dev/null; then
  248   as_mkdir_p=:
  249 else
  250   test -d ./-p && rmdir ./-p
  251   as_mkdir_p=false
  252 fi
  253 
  254 as_executable_p="test -f"
  255 
  256 # Sed expression to map a string onto a valid CPP name.
  257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  258 
  259 # Sed expression to map a string onto a valid variable name.
  260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  261 
  262 
  263 # IFS
  264 # We need space, tab and new line, in precisely that order.
  265 as_nl='
  266 '
  267 IFS=" 	$as_nl"
  268 
  269 # CDPATH.
  270 $as_unset CDPATH
  271 
  272 
  273 # Name of the host.
  274 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  275 # so uname gets run too.
  276 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  277 
  278 exec 6>&1
  279 
  280 #
  281 # Initializations.
  282 #
  283 ac_default_prefix=/usr/local
  284 ac_config_libobj_dir=.
  285 cross_compiling=no
  286 subdirs=
  287 MFLAGS=
  288 MAKEFLAGS=
  289 SHELL=${CONFIG_SHELL-/bin/sh}
  290 
  291 # Maximum number of lines to put in a shell here document.
  292 # This variable seems obsolete.  It should probably be removed, and
  293 # only ac_max_sed_lines should be used.
  294 : ${ac_max_here_lines=38}
  295 
  296 # Identity of this package.
  297 PACKAGE_NAME='qDecoder'
  298 PACKAGE_TARNAME='qdecoder'
  299 PACKAGE_VERSION='10 RELEASE'
  300 PACKAGE_STRING='qDecoder 10 RELEASE'
  301 PACKAGE_BUGREPORT='/'
  302 
  303 ac_unique_file="config.h.in"
  304 ac_default_prefix=/usr/local
  305 # Factoring default headers for most tests.
  306 ac_includes_default="\
  307 #include <stdio.h>
  308 #if HAVE_SYS_TYPES_H
  309 # include <sys/types.h>
  310 #endif
  311 #if HAVE_SYS_STAT_H
  312 # include <sys/stat.h>
  313 #endif
  314 #if STDC_HEADERS
  315 # include <stdlib.h>
  316 # include <stddef.h>
  317 #else
  318 # if HAVE_STDLIB_H
  319 #  include <stdlib.h>
  320 # endif
  321 #endif
  322 #if HAVE_STRING_H
  323 # if !STDC_HEADERS && HAVE_MEMORY_H
  324 #  include <memory.h>
  325 # endif
  326 # include <string.h>
  327 #endif
  328 #if HAVE_STRINGS_H
  329 # include <strings.h>
  330 #endif
  331 #if HAVE_INTTYPES_H
  332 # include <inttypes.h>
  333 #else
  334 # if HAVE_STDINT_H
  335 #  include <stdint.h>
  336 # endif
  337 #endif
  338 #if HAVE_UNISTD_H
  339 # include <unistd.h>
  340 #endif"
  341 
  342 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB AR CHMOD LD RM CPP EGREP LIBOBJS LTLIBOBJS'
  343 ac_subst_files=''
  344 
  345 # Initialize some variables set by options.
  346 ac_init_help=
  347 ac_init_version=false
  348 # The variables have the same names as the options, with
  349 # dashes changed to underlines.
  350 cache_file=/dev/null
  351 exec_prefix=NONE
  352 no_create=
  353 no_recursion=
  354 prefix=NONE
  355 program_prefix=NONE
  356 program_suffix=NONE
  357 program_transform_name=s,x,x,
  358 silent=
  359 site=
  360 srcdir=
  361 verbose=
  362 x_includes=NONE
  363 x_libraries=NONE
  364 
  365 # Installation directory options.
  366 # These are left unexpanded so users can "make install exec_prefix=/foo"
  367 # and all the variables that are supposed to be based on exec_prefix
  368 # by default will actually change.
  369 # Use braces instead of parens because sh, perl, etc. also accept them.
  370 bindir='${exec_prefix}/bin'
  371 sbindir='${exec_prefix}/sbin'
  372 libexecdir='${exec_prefix}/libexec'
  373 datadir='${prefix}/share'
  374 sysconfdir='${prefix}/etc'
  375 sharedstatedir='${prefix}/com'
  376 localstatedir='${prefix}/var'
  377 libdir='${exec_prefix}/lib'
  378 includedir='${prefix}/include'
  379 oldincludedir='/usr/include'
  380 infodir='${prefix}/info'
  381 mandir='${prefix}/man'
  382 
  383 ac_prev=
  384 for ac_option
  385 do
  386   # If the previous option needs an argument, assign it.
  387   if test -n "$ac_prev"; then
  388     eval "$ac_prev=\$ac_option"
  389     ac_prev=
  390     continue
  391   fi
  392 
  393   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  394 
  395   # Accept the important Cygnus configure options, so we can diagnose typos.
  396 
  397   case $ac_option in
  398 
  399   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  400     ac_prev=bindir ;;
  401   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  402     bindir=$ac_optarg ;;
  403 
  404   -build | --build | --buil | --bui | --bu)
  405     ac_prev=build_alias ;;
  406   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  407     build_alias=$ac_optarg ;;
  408 
  409   -cache-file | --cache-file | --cache-fil | --cache-fi \
  410   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  411     ac_prev=cache_file ;;
  412   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  413   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  414     cache_file=$ac_optarg ;;
  415 
  416   --config-cache | -C)
  417     cache_file=config.cache ;;
  418 
  419   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  420     ac_prev=datadir ;;
  421   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  422   | --da=*)
  423     datadir=$ac_optarg ;;
  424 
  425   -disable-* | --disable-*)
  426     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  427     # Reject names that are not valid shell variable names.
  428     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  429       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  430    { (exit 1); exit 1; }; }
  431     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  432     eval "enable_$ac_feature=no" ;;
  433 
  434   -enable-* | --enable-*)
  435     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  436     # Reject names that are not valid shell variable names.
  437     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  438       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  439    { (exit 1); exit 1; }; }
  440     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  441     case $ac_option in
  442       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  443       *) ac_optarg=yes ;;
  444     esac
  445     eval "enable_$ac_feature='$ac_optarg'" ;;
  446 
  447   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  448   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  449   | --exec | --exe | --ex)
  450     ac_prev=exec_prefix ;;
  451   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  452   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  453   | --exec=* | --exe=* | --ex=*)
  454     exec_prefix=$ac_optarg ;;
  455 
  456   -gas | --gas | --ga | --g)
  457     # Obsolete; use --with-gas.
  458     with_gas=yes ;;
  459 
  460   -help | --help | --hel | --he | -h)
  461     ac_init_help=long ;;
  462   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  463     ac_init_help=recursive ;;
  464   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  465     ac_init_help=short ;;
  466 
  467   -host | --host | --hos | --ho)
  468     ac_prev=host_alias ;;
  469   -host=* | --host=* | --hos=* | --ho=*)
  470     host_alias=$ac_optarg ;;
  471 
  472   -includedir | --includedir | --includedi | --included | --include \
  473   | --includ | --inclu | --incl | --inc)
  474     ac_prev=includedir ;;
  475   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  476   | --includ=* | --inclu=* | --incl=* | --inc=*)
  477     includedir=$ac_optarg ;;
  478 
  479   -infodir | --infodir | --infodi | --infod | --info | --inf)
  480     ac_prev=infodir ;;
  481   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  482     infodir=$ac_optarg ;;
  483 
  484   -libdir | --libdir | --libdi | --libd)
  485     ac_prev=libdir ;;
  486   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  487     libdir=$ac_optarg ;;
  488 
  489   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  490   | --libexe | --libex | --libe)
  491     ac_prev=libexecdir ;;
  492   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  493   | --libexe=* | --libex=* | --libe=*)
  494     libexecdir=$ac_optarg ;;
  495 
  496   -localstatedir | --localstatedir | --localstatedi | --localstated \
  497   | --localstate | --localstat | --localsta | --localst \
  498   | --locals | --local | --loca | --loc | --lo)
  499     ac_prev=localstatedir ;;
  500   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  501   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  502   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  503     localstatedir=$ac_optarg ;;
  504 
  505   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  506     ac_prev=mandir ;;
  507   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  508     mandir=$ac_optarg ;;
  509 
  510   -nfp | --nfp | --nf)
  511     # Obsolete; use --without-fp.
  512     with_fp=no ;;
  513 
  514   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  515   | --no-cr | --no-c | -n)
  516     no_create=yes ;;
  517 
  518   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  519   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  520     no_recursion=yes ;;
  521 
  522   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  523   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  524   | --oldin | --oldi | --old | --ol | --o)
  525     ac_prev=oldincludedir ;;
  526   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  527   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  528   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  529     oldincludedir=$ac_optarg ;;
  530 
  531   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  532     ac_prev=prefix ;;
  533   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  534     prefix=$ac_optarg ;;
  535 
  536   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  537   | --program-pre | --program-pr | --program-p)
  538     ac_prev=program_prefix ;;
  539   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  540   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  541     program_prefix=$ac_optarg ;;
  542 
  543   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  544   | --program-suf | --program-su | --program-s)
  545     ac_prev=program_suffix ;;
  546   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  547   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  548     program_suffix=$ac_optarg ;;
  549 
  550   -program-transform-name | --program-transform-name \
  551   | --program-transform-nam | --program-transform-na \
  552   | --program-transform-n | --program-transform- \
  553   | --program-transform | --program-transfor \
  554   | --program-transfo | --program-transf \
  555   | --program-trans | --program-tran \
  556   | --progr-tra | --program-tr | --program-t)
  557     ac_prev=program_transform_name ;;
  558   -program-transform-name=* | --program-transform-name=* \
  559   | --program-transform-nam=* | --program-transform-na=* \
  560   | --program-transform-n=* | --program-transform-=* \
  561   | --program-transform=* | --program-transfor=* \
  562   | --program-transfo=* | --program-transf=* \
  563   | --program-trans=* | --program-tran=* \
  564   | --progr-tra=* | --program-tr=* | --program-t=*)
  565     program_transform_name=$ac_optarg ;;
  566 
  567   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  568   | -silent | --silent | --silen | --sile | --sil)
  569     silent=yes ;;
  570 
  571   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  572     ac_prev=sbindir ;;
  573   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  574   | --sbi=* | --sb=*)
  575     sbindir=$ac_optarg ;;
  576 
  577   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  578   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  579   | --sharedst | --shareds | --shared | --share | --shar \
  580   | --sha | --sh)
  581     ac_prev=sharedstatedir ;;
  582   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  583   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  584   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  585   | --sha=* | --sh=*)
  586     sharedstatedir=$ac_optarg ;;
  587 
  588   -site | --site | --sit)
  589     ac_prev=site ;;
  590   -site=* | --site=* | --sit=*)
  591     site=$ac_optarg ;;
  592 
  593   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  594     ac_prev=srcdir ;;
  595   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  596     srcdir=$ac_optarg ;;
  597 
  598   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  599   | --syscon | --sysco | --sysc | --sys | --sy)
  600     ac_prev=sysconfdir ;;
  601   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  602   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  603     sysconfdir=$ac_optarg ;;
  604 
  605   -target | --target | --targe | --targ | --tar | --ta | --t)
  606     ac_prev=target_alias ;;
  607   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  608     target_alias=$ac_optarg ;;
  609 
  610   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  611     verbose=yes ;;
  612 
  613   -version | --version | --versio | --versi | --vers | -V)
  614     ac_init_version=: ;;
  615 
  616   -with-* | --with-*)
  617     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  618     # Reject names that are not valid shell variable names.
  619     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  620       { echo "$as_me: error: invalid package name: $ac_package" >&2
  621    { (exit 1); exit 1; }; }
  622     ac_package=`echo $ac_package| sed 's/-/_/g'`
  623     case $ac_option in
  624       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  625       *) ac_optarg=yes ;;
  626     esac
  627     eval "with_$ac_package='$ac_optarg'" ;;
  628 
  629   -without-* | --without-*)
  630     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  631     # Reject names that are not valid shell variable names.
  632     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  633       { echo "$as_me: error: invalid package name: $ac_package" >&2
  634    { (exit 1); exit 1; }; }
  635     ac_package=`echo $ac_package | sed 's/-/_/g'`
  636     eval "with_$ac_package=no" ;;
  637 
  638   --x)
  639     # Obsolete; use --with-x.
  640     with_x=yes ;;
  641 
  642   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  643   | --x-incl | --x-inc | --x-in | --x-i)
  644     ac_prev=x_includes ;;
  645   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  646   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  647     x_includes=$ac_optarg ;;
  648 
  649   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  650   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  651     ac_prev=x_libraries ;;
  652   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  653   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  654     x_libraries=$ac_optarg ;;
  655 
  656   -*) { echo "$as_me: error: unrecognized option: $ac_option
  657 Try \`$0 --help' for more information." >&2
  658    { (exit 1); exit 1; }; }
  659     ;;
  660 
  661   *=*)
  662     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  663     # Reject names that are not valid shell variable names.
  664     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  665       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  666    { (exit 1); exit 1; }; }
  667     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  668     eval "$ac_envvar='$ac_optarg'"
  669     export $ac_envvar ;;
  670 
  671   *)
  672     # FIXME: should be removed in autoconf 3.0.
  673     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  674     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  675       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  676     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  677     ;;
  678 
  679   esac
  680 done
  681 
  682 if test -n "$ac_prev"; then
  683   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  684   { echo "$as_me: error: missing argument to $ac_option" >&2
  685    { (exit 1); exit 1; }; }
  686 fi
  687 
  688 # Be sure to have absolute paths.
  689 for ac_var in exec_prefix prefix
  690 do
  691   eval ac_val=$`echo $ac_var`
  692   case $ac_val in
  693     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  694     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  695    { (exit 1); exit 1; }; };;
  696   esac
  697 done
  698 
  699 # Be sure to have absolute paths.
  700 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  701 	      localstatedir libdir includedir oldincludedir infodir mandir
  702 do
  703   eval ac_val=$`echo $ac_var`
  704   case $ac_val in
  705     [\\/$]* | ?:[\\/]* ) ;;
  706     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  707    { (exit 1); exit 1; }; };;
  708   esac
  709 done
  710 
  711 # There might be people who depend on the old broken behavior: `$host'
  712 # used to hold the argument of --host etc.
  713 # FIXME: To remove some day.
  714 build=$build_alias
  715 host=$host_alias
  716 target=$target_alias
  717 
  718 # FIXME: To remove some day.
  719 if test "x$host_alias" != x; then
  720   if test "x$build_alias" = x; then
  721     cross_compiling=maybe
  722     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  723     If a cross compiler is detected then cross compile mode will be used." >&2
  724   elif test "x$build_alias" != "x$host_alias"; then
  725     cross_compiling=yes
  726   fi
  727 fi
  728 
  729 ac_tool_prefix=
  730 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  731 
  732 test "$silent" = yes && exec 6>/dev/null
  733 
  734 
  735 # Find the source files, if location was not specified.
  736 if test -z "$srcdir"; then
  737   ac_srcdir_defaulted=yes
  738   # Try the directory containing this script, then its parent.
  739   ac_confdir=`(dirname "$0") 2>/dev/null ||
  740 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  741 	 X"$0" : 'X\(//\)[^/]' \| \
  742 	 X"$0" : 'X\(//\)$' \| \
  743 	 X"$0" : 'X\(/\)' \| \
  744 	 .     : '\(.\)' 2>/dev/null ||
  745 echo X"$0" |
  746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  747   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  748   	  /^X\(\/\/\)$/{ s//\1/; q; }
  749   	  /^X\(\/\).*/{ s//\1/; q; }
  750   	  s/.*/./; q'`
  751   srcdir=$ac_confdir
  752   if test ! -r $srcdir/$ac_unique_file; then
  753     srcdir=..
  754   fi
  755 else
  756   ac_srcdir_defaulted=no
  757 fi
  758 if test ! -r $srcdir/$ac_unique_file; then
  759   if test "$ac_srcdir_defaulted" = yes; then
  760     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  761    { (exit 1); exit 1; }; }
  762   else
  763     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  764    { (exit 1); exit 1; }; }
  765   fi
  766 fi
  767 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  768   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  769    { (exit 1); exit 1; }; }
  770 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  771 ac_env_build_alias_set=${build_alias+set}
  772 ac_env_build_alias_value=$build_alias
  773 ac_cv_env_build_alias_set=${build_alias+set}
  774 ac_cv_env_build_alias_value=$build_alias
  775 ac_env_host_alias_set=${host_alias+set}
  776 ac_env_host_alias_value=$host_alias
  777 ac_cv_env_host_alias_set=${host_alias+set}
  778 ac_cv_env_host_alias_value=$host_alias
  779 ac_env_target_alias_set=${target_alias+set}
  780 ac_env_target_alias_value=$target_alias
  781 ac_cv_env_target_alias_set=${target_alias+set}
  782 ac_cv_env_target_alias_value=$target_alias
  783 ac_env_CC_set=${CC+set}
  784 ac_env_CC_value=$CC
  785 ac_cv_env_CC_set=${CC+set}
  786 ac_cv_env_CC_value=$CC
  787 ac_env_CFLAGS_set=${CFLAGS+set}
  788 ac_env_CFLAGS_value=$CFLAGS
  789 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  790 ac_cv_env_CFLAGS_value=$CFLAGS
  791 ac_env_LDFLAGS_set=${LDFLAGS+set}
  792 ac_env_LDFLAGS_value=$LDFLAGS
  793 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  794 ac_cv_env_LDFLAGS_value=$LDFLAGS
  795 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  796 ac_env_CPPFLAGS_value=$CPPFLAGS
  797 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  798 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  799 ac_env_CPP_set=${CPP+set}
  800 ac_env_CPP_value=$CPP
  801 ac_cv_env_CPP_set=${CPP+set}
  802 ac_cv_env_CPP_value=$CPP
  803 
  804 #
  805 # Report the --help message.
  806 #
  807 if test "$ac_init_help" = "long"; then
  808   # Omit some internal or obsolete options to make the list less imposing.
  809   # This message is too long to be a string in the A/UX 3.1 sh.
  810   cat <<_ACEOF
  811 \`configure' configures qDecoder 10 RELEASE to adapt to many kinds of systems.
  812 
  813 Usage: $0 [OPTION]... [VAR=VALUE]...
  814 
  815 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  816 VAR=VALUE.  See below for descriptions of some of the useful variables.
  817 
  818 Defaults for the options are specified in brackets.
  819 
  820 Configuration:
  821   -h, --help              display this help and exit
  822       --help=short        display options specific to this package
  823       --help=recursive    display the short help of all the included packages
  824   -V, --version           display version information and exit
  825   -q, --quiet, --silent   do not print \`checking...' messages
  826       --cache-file=FILE   cache test results in FILE [disabled]
  827   -C, --config-cache      alias for \`--cache-file=config.cache'
  828   -n, --no-create         do not create output files
  829       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  830 
  831 _ACEOF
  832 
  833   cat <<_ACEOF
  834 Installation directories:
  835   --prefix=PREFIX         install architecture-independent files in PREFIX
  836 			  [$ac_default_prefix]
  837   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  838 			  [PREFIX]
  839 
  840 By default, \`make install' will install all the files in
  841 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  842 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  843 for instance \`--prefix=\$HOME'.
  844 
  845 For better control, use the options below.
  846 
  847 Fine tuning of the installation directories:
  848   --bindir=DIR           user executables [EPREFIX/bin]
  849   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  850   --libexecdir=DIR       program executables [EPREFIX/libexec]
  851   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  852   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  853   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  854   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  855   --libdir=DIR           object code libraries [EPREFIX/lib]
  856   --includedir=DIR       C header files [PREFIX/include]
  857   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  858   --infodir=DIR          info documentation [PREFIX/info]
  859   --mandir=DIR           man documentation [PREFIX/man]
  860 _ACEOF
  861 
  862   cat <<\_ACEOF
  863 _ACEOF
  864 fi
  865 
  866 if test -n "$ac_init_help"; then
  867   case $ac_init_help in
  868      short | recursive ) echo "Configuration of qDecoder 10 RELEASE:";;
  869    esac
  870   cat <<\_ACEOF
  871 
  872 Optional Features:
  873   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  874   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  875   --enable-debug          enable debugging output
  876   --enable-threadsafe     enable thread-safe feature
  877   --enable-lfs            enable large file supports
  878   --enable-fastcgi=/FASTCGI_INCLUDE_DIR_PATH/
  879                           enable FastCGI supports
  880   --enable-mysql=/MYSQL_INCLUDE_DIR_PATH/
  881                           enable MySQL database supports
  882   --disable-cgi           disable CGI APIs
  883   --disable-socket        disable socket APIs
  884   --disable-ipc           disable IPC APIs
  885   --disable-datastructure disable data-structure APIs
  886 
  887 Some influential environment variables:
  888   CC          C compiler command
  889   CFLAGS      C compiler flags
  890   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  891               nonstandard directory <lib dir>
  892   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  893               headers in a nonstandard directory <include dir>
  894   CPP         C preprocessor
  895 
  896 Use these variables to override the choices made by `configure' or to help
  897 it to find libraries and programs with nonstandard names/locations.
  898 
  899 Report bugs to </>.
  900 _ACEOF
  901 fi
  902 
  903 if test "$ac_init_help" = "recursive"; then
  904   # If there are subdirs, report their specific --help.
  905   ac_popdir=`pwd`
  906   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  907     test -d $ac_dir || continue
  908     ac_builddir=.
  909 
  910 if test "$ac_dir" != .; then
  911   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  912   # A "../" for each directory in $ac_dir_suffix.
  913   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  914 else
  915   ac_dir_suffix= ac_top_builddir=
  916 fi
  917 
  918 case $srcdir in
  919   .)  # No --srcdir option.  We are building in place.
  920     ac_srcdir=.
  921     if test -z "$ac_top_builddir"; then
  922        ac_top_srcdir=.
  923     else
  924        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  925     fi ;;
  926   [\\/]* | ?:[\\/]* )  # Absolute path.
  927     ac_srcdir=$srcdir$ac_dir_suffix;
  928     ac_top_srcdir=$srcdir ;;
  929   *) # Relative path.
  930     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  931     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  932 esac
  933 
  934 # Do not use `cd foo && pwd` to compute absolute paths, because
  935 # the directories may not exist.
  936 case `pwd` in
  937 .) ac_abs_builddir="$ac_dir";;
  938 *)
  939   case "$ac_dir" in
  940   .) ac_abs_builddir=`pwd`;;
  941   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  942   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  943   esac;;
  944 esac
  945 case $ac_abs_builddir in
  946 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  947 *)
  948   case ${ac_top_builddir}. in
  949   .) ac_abs_top_builddir=$ac_abs_builddir;;
  950   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  951   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  952   esac;;
  953 esac
  954 case $ac_abs_builddir in
  955 .) ac_abs_srcdir=$ac_srcdir;;
  956 *)
  957   case $ac_srcdir in
  958   .) ac_abs_srcdir=$ac_abs_builddir;;
  959   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  960   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  961   esac;;
  962 esac
  963 case $ac_abs_builddir in
  964 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  965 *)
  966   case $ac_top_srcdir in
  967   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  968   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  969   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  970   esac;;
  971 esac
  972 
  973     cd $ac_dir
  974     # Check for guested configure; otherwise get Cygnus style configure.
  975     if test -f $ac_srcdir/configure.gnu; then
  976       echo
  977       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  978     elif test -f $ac_srcdir/configure; then
  979       echo
  980       $SHELL $ac_srcdir/configure  --help=recursive
  981     elif test -f $ac_srcdir/configure.ac ||
  982 	   test -f $ac_srcdir/configure.in; then
  983       echo
  984       $ac_configure --help
  985     else
  986       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  987     fi
  988     cd $ac_popdir
  989   done
  990 fi
  991 
  992 test -n "$ac_init_help" && exit 0
  993 if $ac_init_version; then
  994   cat <<\_ACEOF
  995 qDecoder configure 10 RELEASE
  996 generated by GNU Autoconf 2.59
  997 
  998 Copyright (C) 2003 Free Software Foundation, Inc.
  999 This configure script is free software; the Free Software Foundation
 1000 gives unlimited permission to copy, distribute and modify it.
 1001 
 1002 
 1003 =============================================================================
 1004 Copyright 2000-2010 The qDecoder Project. All rights reserved.
 1005 
 1006 Redistribution and use in source and binary forms, with or without
 1007 modification, are permitted provided that the following conditions
 1008 are met:
 1009 
 1010 1. Redistributions of source code must retain the above copyright
 1011    notice, this list of conditions and the following disclaimer.
 1012 2. Redistributions in binary form must reproduce the above copyright
 1013    notice, this list of conditions and the following disclaimer in the
 1014    documentation and/or other materials provided with the distribution.
 1015 
 1016 THIS SOFTWARE IS PROVIDED BY THE QDECODER PROJECT ``AS IS'' AND ANY
 1017 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 1018 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 1019 DISCLAIMED. IN NO EVENT SHALL THE QDECODER PROJECT BE LIABLE FOR ANY
 1020 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 1021 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 1022 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 1023 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 1024 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 1025 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 1026 =============================================================================
 1027 
 1028 _ACEOF
 1029   exit 0
 1030 fi
 1031 exec 5>config.log
 1032 cat >&5 <<_ACEOF
 1033 This file contains any messages produced by compilers while
 1034 running configure, to aid debugging if configure makes a mistake.
 1035 
 1036 It was created by qDecoder $as_me 10 RELEASE, which was
 1037 generated by GNU Autoconf 2.59.  Invocation command line was
 1038 
 1039   $ $0 $@
 1040 
 1041 _ACEOF
 1042 {
 1043 cat <<_ASUNAME
 1044 ## --------- ##
 1045 ## Platform. ##
 1046 ## --------- ##
 1047 
 1048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1053 
 1054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1055 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1056 
 1057 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1058 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1060 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 1061 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1062 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1063 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1064 
 1065 _ASUNAME
 1066 
 1067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1068 for as_dir in $PATH
 1069 do
 1070   IFS=$as_save_IFS
 1071   test -z "$as_dir" && as_dir=.
 1072   echo "PATH: $as_dir"
 1073 done
 1074 
 1075 } >&5
 1076 
 1077 cat >&5 <<_ACEOF
 1078 
 1079 
 1080 ## ----------- ##
 1081 ## Core tests. ##
 1082 ## ----------- ##
 1083 
 1084 _ACEOF
 1085 
 1086 
 1087 # Keep a trace of the command line.
 1088 # Strip out --no-create and --no-recursion so they do not pile up.
 1089 # Strip out --silent because we don't want to record it for future runs.
 1090 # Also quote any args containing shell meta-characters.
 1091 # Make two passes to allow for proper duplicate-argument suppression.
 1092 ac_configure_args=
 1093 ac_configure_args0=
 1094 ac_configure_args1=
 1095 ac_sep=
 1096 ac_must_keep_next=false
 1097 for ac_pass in 1 2
 1098 do
 1099   for ac_arg
 1100   do
 1101     case $ac_arg in
 1102     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1103     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1104     | -silent | --silent | --silen | --sile | --sil)
 1105       continue ;;
 1106     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1107       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1108     esac
 1109     case $ac_pass in
 1110     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1111     2)
 1112       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1113       if test $ac_must_keep_next = true; then
 1114 	ac_must_keep_next=false # Got value, back to normal.
 1115       else
 1116 	case $ac_arg in
 1117 	  *=* | --config-cache | -C | -disable-* | --disable-* \
 1118 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1119 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1120 	  | -with-* | --with-* | -without-* | --without-* | --x)
 1121 	    case "$ac_configure_args0 " in
 1122 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1123 	    esac
 1124 	    ;;
 1125 	  -* ) ac_must_keep_next=true ;;
 1126 	esac
 1127       fi
 1128       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1129       # Get rid of the leading space.
 1130       ac_sep=" "
 1131       ;;
 1132     esac
 1133   done
 1134 done
 1135 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1136 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1137 
 1138 # When interrupted or exit'd, cleanup temporary files, and complete
 1139 # config.log.  We remove comments because anyway the quotes in there
 1140 # would cause problems or look ugly.
 1141 # WARNING: Be sure not to use single quotes in there, as some shells,
 1142 # such as our DU 5.0 friend, will then `close' the trap.
 1143 trap 'exit_status=$?
 1144   # Save into config.log some information that might help in debugging.
 1145   {
 1146     echo
 1147 
 1148     cat <<\_ASBOX
 1149 ## ---------------- ##
 1150 ## Cache variables. ##
 1151 ## ---------------- ##
 1152 _ASBOX
 1153     echo
 1154     # The following way of writing the cache mishandles newlines in values,
 1155 {
 1156   (set) 2>&1 |
 1157     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1158     *ac_space=\ *)
 1159       sed -n \
 1160 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1161 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1162       ;;
 1163     *)
 1164       sed -n \
 1165 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1166       ;;
 1167     esac;
 1168 }
 1169     echo
 1170 
 1171     cat <<\_ASBOX
 1172 ## ----------------- ##
 1173 ## Output variables. ##
 1174 ## ----------------- ##
 1175 _ASBOX
 1176     echo
 1177     for ac_var in $ac_subst_vars
 1178     do
 1179       eval ac_val=$`echo $ac_var`
 1180       echo "$ac_var='"'"'$ac_val'"'"'"
 1181     done | sort
 1182     echo
 1183 
 1184     if test -n "$ac_subst_files"; then
 1185       cat <<\_ASBOX
 1186 ## ------------- ##
 1187 ## Output files. ##
 1188 ## ------------- ##
 1189 _ASBOX
 1190       echo
 1191       for ac_var in $ac_subst_files
 1192       do
 1193 	eval ac_val=$`echo $ac_var`
 1194 	echo "$ac_var='"'"'$ac_val'"'"'"
 1195       done | sort
 1196       echo
 1197     fi
 1198 
 1199     if test -s confdefs.h; then
 1200       cat <<\_ASBOX
 1201 ## ----------- ##
 1202 ## confdefs.h. ##
 1203 ## ----------- ##
 1204 _ASBOX
 1205       echo
 1206       sed "/^$/d" confdefs.h | sort
 1207       echo
 1208     fi
 1209     test "$ac_signal" != 0 &&
 1210       echo "$as_me: caught signal $ac_signal"
 1211     echo "$as_me: exit $exit_status"
 1212   } >&5
 1213   rm -f core *.core &&
 1214   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1215     exit $exit_status
 1216      ' 0
 1217 for ac_signal in 1 2 13 15; do
 1218   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1219 done
 1220 ac_signal=0
 1221 
 1222 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1223 rm -rf conftest* confdefs.h
 1224 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1225 echo >confdefs.h
 1226 
 1227 # Predefined preprocessor variables.
 1228 
 1229 cat >>confdefs.h <<_ACEOF
 1230 #define PACKAGE_NAME "$PACKAGE_NAME"
 1231 _ACEOF
 1232 
 1233 
 1234 cat >>confdefs.h <<_ACEOF
 1235 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1236 _ACEOF
 1237 
 1238 
 1239 cat >>confdefs.h <<_ACEOF
 1240 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1241 _ACEOF
 1242 
 1243 
 1244 cat >>confdefs.h <<_ACEOF
 1245 #define PACKAGE_STRING "$PACKAGE_STRING"
 1246 _ACEOF
 1247 
 1248 
 1249 cat >>confdefs.h <<_ACEOF
 1250 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1251 _ACEOF
 1252 
 1253 
 1254 # Let the site file select an alternate cache file if it wants to.
 1255 # Prefer explicitly selected file to automatically selected ones.
 1256 if test -z "$CONFIG_SITE"; then
 1257   if test "x$prefix" != xNONE; then
 1258     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1259   else
 1260     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1261   fi
 1262 fi
 1263 for ac_site_file in $CONFIG_SITE; do
 1264   if test -r "$ac_site_file"; then
 1265     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1266 echo "$as_me: loading site script $ac_site_file" >&6;}
 1267     sed 's/^/| /' "$ac_site_file" >&5
 1268     . "$ac_site_file"
 1269   fi
 1270 done
 1271 
 1272 if test -r "$cache_file"; then
 1273   # Some versions of bash will fail to source /dev/null (special
 1274   # files actually), so we avoid doing that.
 1275   if test -f "$cache_file"; then
 1276     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1277 echo "$as_me: loading cache $cache_file" >&6;}
 1278     case $cache_file in
 1279       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1280       *)                      . ./$cache_file;;
 1281     esac
 1282   fi
 1283 else
 1284   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1285 echo "$as_me: creating cache $cache_file" >&6;}
 1286   >$cache_file
 1287 fi
 1288 
 1289 # Check that the precious variables saved in the cache have kept the same
 1290 # value.
 1291 ac_cache_corrupted=false
 1292 for ac_var in `(set) 2>&1 |
 1293 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1294   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1295   eval ac_new_set=\$ac_env_${ac_var}_set
 1296   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1297   eval ac_new_val="\$ac_env_${ac_var}_value"
 1298   case $ac_old_set,$ac_new_set in
 1299     set,)
 1300       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1301 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1302       ac_cache_corrupted=: ;;
 1303     ,set)
 1304       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1305 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1306       ac_cache_corrupted=: ;;
 1307     ,);;
 1308     *)
 1309       if test "x$ac_old_val" != "x$ac_new_val"; then
 1310 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1311 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1312 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1313 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1314 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1315 echo "$as_me:   current value: $ac_new_val" >&2;}
 1316 	ac_cache_corrupted=:
 1317       fi;;
 1318   esac
 1319   # Pass precious variables to config.status.
 1320   if test "$ac_new_set" = set; then
 1321     case $ac_new_val in
 1322     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1323       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1324     *) ac_arg=$ac_var=$ac_new_val ;;
 1325     esac
 1326     case " $ac_configure_args " in
 1327       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1328       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1329     esac
 1330   fi
 1331 done
 1332 if $ac_cache_corrupted; then
 1333   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1334 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1335   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1336 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1337    { (exit 1); exit 1; }; }
 1338 fi
 1339 
 1340 ac_ext=c
 1341 ac_cpp='$CPP $CPPFLAGS'
 1342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1345 
 1346 
 1347 
 1348 
 1349 
 1350 
 1351 
 1352 
 1353 
 1354 
 1355 
 1356 
 1357 
 1358 
 1359 
 1360 
 1361 
 1362 
 1363 
 1364 
 1365 
 1366 
 1367 
 1368 
 1369 
 1370 
 1371 
 1372 
 1373           ac_config_headers="$ac_config_headers config.h"
 1374 
 1375                               ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile"
 1376 
 1377 
 1378 ## Set path
 1379 PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
 1380 CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include -I./ -D_GNU_SOURCE"
 1381 LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/local/lib"
 1382 
 1383 ## Set autoconf setting
 1384 #AC_CANONICAL_TARGET
 1385 
 1386 #AC_PRESERVE_HELP_ORDER
 1387 
 1388 ## Checks for programs.
 1389 ac_ext=c
 1390 ac_cpp='$CPP $CPPFLAGS'
 1391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1394 if test -n "$ac_tool_prefix"; then
 1395   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1396 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1399 if test "${ac_cv_prog_CC+set}" = set; then
 1400   echo $ECHO_N "(cached) $ECHO_C" >&6
 1401 else
 1402   if test -n "$CC"; then
 1403   ac_cv_prog_CC="$CC" # Let the user override the test.
 1404 else
 1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1406 for as_dir in $PATH
 1407 do
 1408   IFS=$as_save_IFS
 1409   test -z "$as_dir" && as_dir=.
 1410   for ac_exec_ext in '' $ac_executable_extensions; do
 1411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1412     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1414     break 2
 1415   fi
 1416 done
 1417 done
 1418 
 1419 fi
 1420 fi
 1421 CC=$ac_cv_prog_CC
 1422 if test -n "$CC"; then
 1423   echo "$as_me:$LINENO: result: $CC" >&5
 1424 echo "${ECHO_T}$CC" >&6
 1425 else
 1426   echo "$as_me:$LINENO: result: no" >&5
 1427 echo "${ECHO_T}no" >&6
 1428 fi
 1429 
 1430 fi
 1431 if test -z "$ac_cv_prog_CC"; then
 1432   ac_ct_CC=$CC
 1433   # Extract the first word of "gcc", so it can be a program name with args.
 1434 set dummy gcc; ac_word=$2
 1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1437 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1438   echo $ECHO_N "(cached) $ECHO_C" >&6
 1439 else
 1440   if test -n "$ac_ct_CC"; then
 1441   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1442 else
 1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1444 for as_dir in $PATH
 1445 do
 1446   IFS=$as_save_IFS
 1447   test -z "$as_dir" && as_dir=.
 1448   for ac_exec_ext in '' $ac_executable_extensions; do
 1449   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1450     ac_cv_prog_ac_ct_CC="gcc"
 1451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1452     break 2
 1453   fi
 1454 done
 1455 done
 1456 
 1457 fi
 1458 fi
 1459 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1460 if test -n "$ac_ct_CC"; then
 1461   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1462 echo "${ECHO_T}$ac_ct_CC" >&6
 1463 else
 1464   echo "$as_me:$LINENO: result: no" >&5
 1465 echo "${ECHO_T}no" >&6
 1466 fi
 1467 
 1468   CC=$ac_ct_CC
 1469 else
 1470   CC="$ac_cv_prog_CC"
 1471 fi
 1472 
 1473 if test -z "$CC"; then
 1474   if test -n "$ac_tool_prefix"; then
 1475   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1476 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1479 if test "${ac_cv_prog_CC+set}" = set; then
 1480   echo $ECHO_N "(cached) $ECHO_C" >&6
 1481 else
 1482   if test -n "$CC"; then
 1483   ac_cv_prog_CC="$CC" # Let the user override the test.
 1484 else
 1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1486 for as_dir in $PATH
 1487 do
 1488   IFS=$as_save_IFS
 1489   test -z "$as_dir" && as_dir=.
 1490   for ac_exec_ext in '' $ac_executable_extensions; do
 1491   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1492     ac_cv_prog_CC="${ac_tool_prefix}cc"
 1493     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1494     break 2
 1495   fi
 1496 done
 1497 done
 1498 
 1499 fi
 1500 fi
 1501 CC=$ac_cv_prog_CC
 1502 if test -n "$CC"; then
 1503   echo "$as_me:$LINENO: result: $CC" >&5
 1504 echo "${ECHO_T}$CC" >&6
 1505 else
 1506   echo "$as_me:$LINENO: result: no" >&5
 1507 echo "${ECHO_T}no" >&6
 1508 fi
 1509 
 1510 fi
 1511 if test -z "$ac_cv_prog_CC"; then
 1512   ac_ct_CC=$CC
 1513   # Extract the first word of "cc", so it can be a program name with args.
 1514 set dummy cc; ac_word=$2
 1515 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1517 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1518   echo $ECHO_N "(cached) $ECHO_C" >&6
 1519 else
 1520   if test -n "$ac_ct_CC"; then
 1521   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1522 else
 1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1524 for as_dir in $PATH
 1525 do
 1526   IFS=$as_save_IFS
 1527   test -z "$as_dir" && as_dir=.
 1528   for ac_exec_ext in '' $ac_executable_extensions; do
 1529   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1530     ac_cv_prog_ac_ct_CC="cc"
 1531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1532     break 2
 1533   fi
 1534 done
 1535 done
 1536 
 1537 fi
 1538 fi
 1539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1540 if test -n "$ac_ct_CC"; then
 1541   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1542 echo "${ECHO_T}$ac_ct_CC" >&6
 1543 else
 1544   echo "$as_me:$LINENO: result: no" >&5
 1545 echo "${ECHO_T}no" >&6
 1546 fi
 1547 
 1548   CC=$ac_ct_CC
 1549 else
 1550   CC="$ac_cv_prog_CC"
 1551 fi
 1552 
 1553 fi
 1554 if test -z "$CC"; then
 1555   # Extract the first word of "cc", so it can be a program name with args.
 1556 set dummy cc; ac_word=$2
 1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1559 if test "${ac_cv_prog_CC+set}" = set; then
 1560   echo $ECHO_N "(cached) $ECHO_C" >&6
 1561 else
 1562   if test -n "$CC"; then
 1563   ac_cv_prog_CC="$CC" # Let the user override the test.
 1564 else
 1565   ac_prog_rejected=no
 1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1567 for as_dir in $PATH
 1568 do
 1569   IFS=$as_save_IFS
 1570   test -z "$as_dir" && as_dir=.
 1571   for ac_exec_ext in '' $ac_executable_extensions; do
 1572   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1573     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 1574        ac_prog_rejected=yes
 1575        continue
 1576      fi
 1577     ac_cv_prog_CC="cc"
 1578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1579     break 2
 1580   fi
 1581 done
 1582 done
 1583 
 1584 if test $ac_prog_rejected = yes; then
 1585   # We found a bogon in the path, so make sure we never use it.
 1586   set dummy $ac_cv_prog_CC
 1587   shift
 1588   if test $# != 0; then
 1589     # We chose a different compiler from the bogus one.
 1590     # However, it has the same basename, so the bogon will be chosen
 1591     # first if we set CC to just the basename; use the full file name.
 1592     shift
 1593     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 1594   fi
 1595 fi
 1596 fi
 1597 fi
 1598 CC=$ac_cv_prog_CC
 1599 if test -n "$CC"; then
 1600   echo "$as_me:$LINENO: result: $CC" >&5
 1601 echo "${ECHO_T}$CC" >&6
 1602 else
 1603   echo "$as_me:$LINENO: result: no" >&5
 1604 echo "${ECHO_T}no" >&6
 1605 fi
 1606 
 1607 fi
 1608 if test -z "$CC"; then
 1609   if test -n "$ac_tool_prefix"; then
 1610   for ac_prog in cl
 1611   do
 1612     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1614 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1616 if test "${ac_cv_prog_CC+set}" = set; then
 1617   echo $ECHO_N "(cached) $ECHO_C" >&6
 1618 else
 1619   if test -n "$CC"; then
 1620   ac_cv_prog_CC="$CC" # Let the user override the test.
 1621 else
 1622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1623 for as_dir in $PATH
 1624 do
 1625   IFS=$as_save_IFS
 1626   test -z "$as_dir" && as_dir=.
 1627   for ac_exec_ext in '' $ac_executable_extensions; do
 1628   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1629     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1630     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1631     break 2
 1632   fi
 1633 done
 1634 done
 1635 
 1636 fi
 1637 fi
 1638 CC=$ac_cv_prog_CC
 1639 if test -n "$CC"; then
 1640   echo "$as_me:$LINENO: result: $CC" >&5
 1641 echo "${ECHO_T}$CC" >&6
 1642 else
 1643   echo "$as_me:$LINENO: result: no" >&5
 1644 echo "${ECHO_T}no" >&6
 1645 fi
 1646 
 1647     test -n "$CC" && break
 1648   done
 1649 fi
 1650 if test -z "$CC"; then
 1651   ac_ct_CC=$CC
 1652   for ac_prog in cl
 1653 do
 1654   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1655 set dummy $ac_prog; ac_word=$2
 1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1659   echo $ECHO_N "(cached) $ECHO_C" >&6
 1660 else
 1661   if test -n "$ac_ct_CC"; then
 1662   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1663 else
 1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1665 for as_dir in $PATH
 1666 do
 1667   IFS=$as_save_IFS
 1668   test -z "$as_dir" && as_dir=.
 1669   for ac_exec_ext in '' $ac_executable_extensions; do
 1670   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1671     ac_cv_prog_ac_ct_CC="$ac_prog"
 1672     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1673     break 2
 1674   fi
 1675 done
 1676 done
 1677 
 1678 fi
 1679 fi
 1680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1681 if test -n "$ac_ct_CC"; then
 1682   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1683 echo "${ECHO_T}$ac_ct_CC" >&6
 1684 else
 1685   echo "$as_me:$LINENO: result: no" >&5
 1686 echo "${ECHO_T}no" >&6
 1687 fi
 1688 
 1689   test -n "$ac_ct_CC" && break
 1690 done
 1691 
 1692   CC=$ac_ct_CC
 1693 fi
 1694 
 1695 fi
 1696 
 1697 
 1698 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 1699 See \`config.log' for more details." >&5
 1700 echo "$as_me: error: no acceptable C compiler found in \$PATH
 1701 See \`config.log' for more details." >&2;}
 1702    { (exit 1); exit 1; }; }
 1703 
 1704 # Provide some information about the compiler.
 1705 echo "$as_me:$LINENO:" \
 1706      "checking for C compiler version" >&5
 1707 ac_compiler=`set X $ac_compile; echo $2`
 1708 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 1709   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1710   ac_status=$?
 1711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1712   (exit $ac_status); }
 1713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 1714   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1715   ac_status=$?
 1716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1717   (exit $ac_status); }
 1718 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 1719   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1720   ac_status=$?
 1721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1722   (exit $ac_status); }
 1723 
 1724 cat >conftest.$ac_ext <<_ACEOF
 1725 /* confdefs.h.  */
 1726 _ACEOF
 1727 cat confdefs.h >>conftest.$ac_ext
 1728 cat >>conftest.$ac_ext <<_ACEOF
 1729 /* end confdefs.h.  */
 1730 
 1731 int
 1732 main ()
 1733 {
 1734 
 1735   ;
 1736   return 0;
 1737 }
 1738 _ACEOF
 1739 ac_clean_files_save=$ac_clean_files
 1740 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 1741 # Try to create an executable without -o first, disregard a.out.
 1742 # It will help us diagnose broken compilers, and finding out an intuition
 1743 # of exeext.
 1744 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 1745 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 1746 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 1747 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 1748   (eval $ac_link_default) 2>&5
 1749   ac_status=$?
 1750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1751   (exit $ac_status); }; then
 1752   # Find the output, starting from the most likely.  This scheme is
 1753 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1754 # resort.
 1755 
 1756 # Be careful to initialize this variable, since it used to be cached.
 1757 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 1758 ac_cv_exeext=
 1759 # b.out is created by i960 compilers.
 1760 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 1761 do
 1762   test -f "$ac_file" || continue
 1763   case $ac_file in
 1764     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 1765 	;;
 1766     conftest.$ac_ext )
 1767 	# This is the source file.
 1768 	;;
 1769     [ab].out )
 1770 	# We found the default executable, but exeext='' is most
 1771 	# certainly right.
 1772 	break;;
 1773     *.* )
 1774 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1775 	# FIXME: I believe we export ac_cv_exeext for Libtool,
 1776 	# but it would be cool to find out if it's true.  Does anybody
 1777 	# maintain Libtool? --akim.
 1778 	export ac_cv_exeext
 1779 	break;;
 1780     * )
 1781 	break;;
 1782   esac
 1783 done
 1784 else
 1785   echo "$as_me: failed program was:" >&5
 1786 sed 's/^/| /' conftest.$ac_ext >&5
 1787 
 1788 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 1789 See \`config.log' for more details." >&5
 1790 echo "$as_me: error: C compiler cannot create executables
 1791 See \`config.log' for more details." >&2;}
 1792    { (exit 77); exit 77; }; }
 1793 fi
 1794 
 1795 ac_exeext=$ac_cv_exeext
 1796 echo "$as_me:$LINENO: result: $ac_file" >&5
 1797 echo "${ECHO_T}$ac_file" >&6
 1798 
 1799 # Check the compiler produces executables we can run.  If not, either
 1800 # the compiler is broken, or we cross compile.
 1801 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 1802 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 1803 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 1804 # If not cross compiling, check that we can run a simple program.
 1805 if test "$cross_compiling" != yes; then
 1806   if { ac_try='./$ac_file'
 1807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1808   (eval $ac_try) 2>&5
 1809   ac_status=$?
 1810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1811   (exit $ac_status); }; }; then
 1812     cross_compiling=no
 1813   else
 1814     if test "$cross_compiling" = maybe; then
 1815 	cross_compiling=yes
 1816     else
 1817 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 1818 If you meant to cross compile, use \`--host'.
 1819 See \`config.log' for more details." >&5
 1820 echo "$as_me: error: cannot run C compiled programs.
 1821 If you meant to cross compile, use \`--host'.
 1822 See \`config.log' for more details." >&2;}
 1823    { (exit 1); exit 1; }; }
 1824     fi
 1825   fi
 1826 fi
 1827 echo "$as_me:$LINENO: result: yes" >&5
 1828 echo "${ECHO_T}yes" >&6
 1829 
 1830 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 1831 ac_clean_files=$ac_clean_files_save
 1832 # Check the compiler produces executables we can run.  If not, either
 1833 # the compiler is broken, or we cross compile.
 1834 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 1835 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 1836 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 1837 echo "${ECHO_T}$cross_compiling" >&6
 1838 
 1839 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 1840 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 1841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 1842   (eval $ac_link) 2>&5
 1843   ac_status=$?
 1844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1845   (exit $ac_status); }; then
 1846   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 1847 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 1848 # work properly (i.e., refer to `conftest.exe'), while it won't with
 1849 # `rm'.
 1850 for ac_file in conftest.exe conftest conftest.*; do
 1851   test -f "$ac_file" || continue
 1852   case $ac_file in
 1853     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 1854     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1855 	  export ac_cv_exeext
 1856 	  break;;
 1857     * ) break;;
 1858   esac
 1859 done
 1860 else
 1861   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 1862 See \`config.log' for more details." >&5
 1863 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 1864 See \`config.log' for more details." >&2;}
 1865    { (exit 1); exit 1; }; }
 1866 fi
 1867 
 1868 rm -f conftest$ac_cv_exeext
 1869 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 1870 echo "${ECHO_T}$ac_cv_exeext" >&6
 1871 
 1872 rm -f conftest.$ac_ext
 1873 EXEEXT=$ac_cv_exeext
 1874 ac_exeext=$EXEEXT
 1875 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 1876 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 1877 if test "${ac_cv_objext+set}" = set; then
 1878   echo $ECHO_N "(cached) $ECHO_C" >&6
 1879 else
 1880   cat >conftest.$ac_ext <<_ACEOF
 1881 /* confdefs.h.  */
 1882 _ACEOF
 1883 cat confdefs.h >>conftest.$ac_ext
 1884 cat >>conftest.$ac_ext <<_ACEOF
 1885 /* end confdefs.h.  */
 1886 
 1887 int
 1888 main ()
 1889 {
 1890 
 1891   ;
 1892   return 0;
 1893 }
 1894 _ACEOF
 1895 rm -f conftest.o conftest.obj
 1896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1897   (eval $ac_compile) 2>&5
 1898   ac_status=$?
 1899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1900   (exit $ac_status); }; then
 1901   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 1902   case $ac_file in
 1903     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 1904     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 1905        break;;
 1906   esac
 1907 done
 1908 else
 1909   echo "$as_me: failed program was:" >&5
 1910 sed 's/^/| /' conftest.$ac_ext >&5
 1911 
 1912 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 1913 See \`config.log' for more details." >&5
 1914 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 1915 See \`config.log' for more details." >&2;}
 1916    { (exit 1); exit 1; }; }
 1917 fi
 1918 
 1919 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 1920 fi
 1921 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 1922 echo "${ECHO_T}$ac_cv_objext" >&6
 1923 OBJEXT=$ac_cv_objext
 1924 ac_objext=$OBJEXT
 1925 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 1926 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 1927 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 1928   echo $ECHO_N "(cached) $ECHO_C" >&6
 1929 else
 1930   cat >conftest.$ac_ext <<_ACEOF
 1931 /* confdefs.h.  */
 1932 _ACEOF
 1933 cat confdefs.h >>conftest.$ac_ext
 1934 cat >>conftest.$ac_ext <<_ACEOF
 1935 /* end confdefs.h.  */
 1936 
 1937 int
 1938 main ()
 1939 {
 1940 #ifndef __GNUC__
 1941        choke me
 1942 #endif
 1943 
 1944   ;
 1945   return 0;
 1946 }
 1947 _ACEOF
 1948 rm -f conftest.$ac_objext
 1949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1950   (eval $ac_compile) 2>conftest.er1
 1951   ac_status=$?
 1952   grep -v '^ *+' conftest.er1 >conftest.err
 1953   rm -f conftest.er1
 1954   cat conftest.err >&5
 1955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1956   (exit $ac_status); } &&
 1957 	 { ac_try='test -z "$ac_c_werror_flag"
 1958 			 || test ! -s conftest.err'
 1959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1960   (eval $ac_try) 2>&5
 1961   ac_status=$?
 1962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1963   (exit $ac_status); }; } &&
 1964 	 { ac_try='test -s conftest.$ac_objext'
 1965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1966   (eval $ac_try) 2>&5
 1967   ac_status=$?
 1968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1969   (exit $ac_status); }; }; then
 1970   ac_compiler_gnu=yes
 1971 else
 1972   echo "$as_me: failed program was:" >&5
 1973 sed 's/^/| /' conftest.$ac_ext >&5
 1974 
 1975 ac_compiler_gnu=no
 1976 fi
 1977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 1978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 1979 
 1980 fi
 1981 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 1982 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 1983 GCC=`test $ac_compiler_gnu = yes && echo yes`
 1984 ac_test_CFLAGS=${CFLAGS+set}
 1985 ac_save_CFLAGS=$CFLAGS
 1986 CFLAGS="-g"
 1987 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 1988 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 1989 if test "${ac_cv_prog_cc_g+set}" = set; then
 1990   echo $ECHO_N "(cached) $ECHO_C" >&6
 1991 else
 1992   cat >conftest.$ac_ext <<_ACEOF
 1993 /* confdefs.h.  */
 1994 _ACEOF
 1995 cat confdefs.h >>conftest.$ac_ext
 1996 cat >>conftest.$ac_ext <<_ACEOF
 1997 /* end confdefs.h.  */
 1998 
 1999 int
 2000 main ()
 2001 {
 2002 
 2003   ;
 2004   return 0;
 2005 }
 2006 _ACEOF
 2007 rm -f conftest.$ac_objext
 2008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2009   (eval $ac_compile) 2>conftest.er1
 2010   ac_status=$?
 2011   grep -v '^ *+' conftest.er1 >conftest.err
 2012   rm -f conftest.er1
 2013   cat conftest.err >&5
 2014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2015   (exit $ac_status); } &&
 2016 	 { ac_try='test -z "$ac_c_werror_flag"
 2017 			 || test ! -s conftest.err'
 2018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2019   (eval $ac_try) 2>&5
 2020   ac_status=$?
 2021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2022   (exit $ac_status); }; } &&
 2023 	 { ac_try='test -s conftest.$ac_objext'
 2024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2025   (eval $ac_try) 2>&5
 2026   ac_status=$?
 2027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2028   (exit $ac_status); }; }; then
 2029   ac_cv_prog_cc_g=yes
 2030 else
 2031   echo "$as_me: failed program was:" >&5
 2032 sed 's/^/| /' conftest.$ac_ext >&5
 2033 
 2034 ac_cv_prog_cc_g=no
 2035 fi
 2036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2037 fi
 2038 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 2039 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 2040 if test "$ac_test_CFLAGS" = set; then
 2041   CFLAGS=$ac_save_CFLAGS
 2042 elif test $ac_cv_prog_cc_g = yes; then
 2043   if test "$GCC" = yes; then
 2044     CFLAGS="-g -O2"
 2045   else
 2046     CFLAGS="-g"
 2047   fi
 2048 else
 2049   if test "$GCC" = yes; then
 2050     CFLAGS="-O2"
 2051   else
 2052     CFLAGS=
 2053   fi
 2054 fi
 2055 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 2056 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 2057 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 2058   echo $ECHO_N "(cached) $ECHO_C" >&6
 2059 else
 2060   ac_cv_prog_cc_stdc=no
 2061 ac_save_CC=$CC
 2062 cat >conftest.$ac_ext <<_ACEOF
 2063 /* confdefs.h.  */
 2064 _ACEOF
 2065 cat confdefs.h >>conftest.$ac_ext
 2066 cat >>conftest.$ac_ext <<_ACEOF
 2067 /* end confdefs.h.  */
 2068 #include <stdarg.h>
 2069 #include <stdio.h>
 2070 #include <sys/types.h>
 2071 #include <sys/stat.h>
 2072 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 2073 struct buf { int x; };
 2074 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 2075 static char *e (p, i)
 2076      char **p;
 2077      int i;
 2078 {
 2079   return p[i];
 2080 }
 2081 static char *f (char * (*g) (char **, int), char **p, ...)
 2082 {
 2083   char *s;
 2084   va_list v;
 2085   va_start (v,p);
 2086   s = g (p, va_arg (v,int));
 2087   va_end (v);
 2088   return s;
 2089 }
 2090 
 2091 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2092    function prototypes and stuff, but not '\xHH' hex character constants.
 2093    These don't provoke an error unfortunately, instead are silently treated
 2094    as 'x'.  The following induces an error, until -std1 is added to get
 2095    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2096    array size at least.  It's necessary to write '\x00'==0 to get something
 2097    that's true only with -std1.  */
 2098 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2099 
 2100 int test (int i, double x);
 2101 struct s1 {int (*f) (int a);};
 2102 struct s2 {int (*f) (double a);};
 2103 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2104 int argc;
 2105 char **argv;
 2106 int
 2107 main ()
 2108 {
 2109 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2110   ;
 2111   return 0;
 2112 }
 2113 _ACEOF
 2114 # Don't try gcc -ansi; that turns off useful extensions and
 2115 # breaks some systems' header files.
 2116 # AIX			-qlanglvl=ansi
 2117 # Ultrix and OSF/1	-std1
 2118 # HP-UX 10.20 and later	-Ae
 2119 # HP-UX older versions	-Aa -D_HPUX_SOURCE
 2120 # SVR4			-Xc -D__EXTENSIONS__
 2121 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2122 do
 2123   CC="$ac_save_CC $ac_arg"
 2124   rm -f conftest.$ac_objext
 2125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2126   (eval $ac_compile) 2>conftest.er1
 2127   ac_status=$?
 2128   grep -v '^ *+' conftest.er1 >conftest.err
 2129   rm -f conftest.er1
 2130   cat conftest.err >&5
 2131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2132   (exit $ac_status); } &&
 2133 	 { ac_try='test -z "$ac_c_werror_flag"
 2134 			 || test ! -s conftest.err'
 2135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2136   (eval $ac_try) 2>&5
 2137   ac_status=$?
 2138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2139   (exit $ac_status); }; } &&
 2140 	 { ac_try='test -s conftest.$ac_objext'
 2141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2142   (eval $ac_try) 2>&5
 2143   ac_status=$?
 2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2145   (exit $ac_status); }; }; then
 2146   ac_cv_prog_cc_stdc=$ac_arg
 2147 break
 2148 else
 2149   echo "$as_me: failed program was:" >&5
 2150 sed 's/^/| /' conftest.$ac_ext >&5
 2151 
 2152 fi
 2153 rm -f conftest.err conftest.$ac_objext
 2154 done
 2155 rm -f conftest.$ac_ext conftest.$ac_objext
 2156 CC=$ac_save_CC
 2157 
 2158 fi
 2159 
 2160 case "x$ac_cv_prog_cc_stdc" in
 2161   x|xno)
 2162     echo "$as_me:$LINENO: result: none needed" >&5
 2163 echo "${ECHO_T}none needed" >&6 ;;
 2164   *)
 2165     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2166 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2167     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2168 esac
 2169 
 2170 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2171 # in C++ we need to declare it.  In case someone uses the same compiler
 2172 # for both compiling C and C++ we need to have the C++ compiler decide
 2173 # the declaration of exit, since it's the most demanding environment.
 2174 cat >conftest.$ac_ext <<_ACEOF
 2175 #ifndef __cplusplus
 2176   choke me
 2177 #endif
 2178 _ACEOF
 2179 rm -f conftest.$ac_objext
 2180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2181   (eval $ac_compile) 2>conftest.er1
 2182   ac_status=$?
 2183   grep -v '^ *+' conftest.er1 >conftest.err
 2184   rm -f conftest.er1
 2185   cat conftest.err >&5
 2186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2187   (exit $ac_status); } &&
 2188 	 { ac_try='test -z "$ac_c_werror_flag"
 2189 			 || test ! -s conftest.err'
 2190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2191   (eval $ac_try) 2>&5
 2192   ac_status=$?
 2193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2194   (exit $ac_status); }; } &&
 2195 	 { ac_try='test -s conftest.$ac_objext'
 2196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2197   (eval $ac_try) 2>&5
 2198   ac_status=$?
 2199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2200   (exit $ac_status); }; }; then
 2201   for ac_declaration in \
 2202    '' \
 2203    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2204    'extern "C" void std::exit (int); using std::exit;' \
 2205    'extern "C" void exit (int) throw ();' \
 2206    'extern "C" void exit (int);' \
 2207    'void exit (int);'
 2208 do
 2209   cat >conftest.$ac_ext <<_ACEOF
 2210 /* confdefs.h.  */
 2211 _ACEOF
 2212 cat confdefs.h >>conftest.$ac_ext
 2213 cat >>conftest.$ac_ext <<_ACEOF
 2214 /* end confdefs.h.  */
 2215 $ac_declaration
 2216 #include <stdlib.h>
 2217 int
 2218 main ()
 2219 {
 2220 exit (42);
 2221   ;
 2222   return 0;
 2223 }
 2224 _ACEOF
 2225 rm -f conftest.$ac_objext
 2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2227   (eval $ac_compile) 2>conftest.er1
 2228   ac_status=$?
 2229   grep -v '^ *+' conftest.er1 >conftest.err
 2230   rm -f conftest.er1
 2231   cat conftest.err >&5
 2232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2233   (exit $ac_status); } &&
 2234 	 { ac_try='test -z "$ac_c_werror_flag"
 2235 			 || test ! -s conftest.err'
 2236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2237   (eval $ac_try) 2>&5
 2238   ac_status=$?
 2239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2240   (exit $ac_status); }; } &&
 2241 	 { ac_try='test -s conftest.$ac_objext'
 2242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2243   (eval $ac_try) 2>&5
 2244   ac_status=$?
 2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2246   (exit $ac_status); }; }; then
 2247   :
 2248 else
 2249   echo "$as_me: failed program was:" >&5
 2250 sed 's/^/| /' conftest.$ac_ext >&5
 2251 
 2252 continue
 2253 fi
 2254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2255   cat >conftest.$ac_ext <<_ACEOF
 2256 /* confdefs.h.  */
 2257 _ACEOF
 2258 cat confdefs.h >>conftest.$ac_ext
 2259 cat >>conftest.$ac_ext <<_ACEOF
 2260 /* end confdefs.h.  */
 2261 $ac_declaration
 2262 int
 2263 main ()
 2264 {
 2265 exit (42);
 2266   ;
 2267   return 0;
 2268 }
 2269 _ACEOF
 2270 rm -f conftest.$ac_objext
 2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2272   (eval $ac_compile) 2>conftest.er1
 2273   ac_status=$?
 2274   grep -v '^ *+' conftest.er1 >conftest.err
 2275   rm -f conftest.er1
 2276   cat conftest.err >&5
 2277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2278   (exit $ac_status); } &&
 2279 	 { ac_try='test -z "$ac_c_werror_flag"
 2280 			 || test ! -s conftest.err'
 2281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2282   (eval $ac_try) 2>&5
 2283   ac_status=$?
 2284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2285   (exit $ac_status); }; } &&
 2286 	 { ac_try='test -s conftest.$ac_objext'
 2287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2288   (eval $ac_try) 2>&5
 2289   ac_status=$?
 2290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2291   (exit $ac_status); }; }; then
 2292   break
 2293 else
 2294   echo "$as_me: failed program was:" >&5
 2295 sed 's/^/| /' conftest.$ac_ext >&5
 2296 
 2297 fi
 2298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2299 done
 2300 rm -f conftest*
 2301 if test -n "$ac_declaration"; then
 2302   echo '#ifdef __cplusplus' >>confdefs.h
 2303   echo $ac_declaration      >>confdefs.h
 2304   echo '#endif'             >>confdefs.h
 2305 fi
 2306 
 2307 else
 2308   echo "$as_me: failed program was:" >&5
 2309 sed 's/^/| /' conftest.$ac_ext >&5
 2310 
 2311 fi
 2312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2313 ac_ext=c
 2314 ac_cpp='$CPP $CPPFLAGS'
 2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2318 
 2319 if test $ac_compiler_gnu = yes; then
 2320 	CFLAGS="-Wall -fPIC"
 2321 #else
 2322 #	AC_MSG_FAILURE([GCC is required to compile qDecoder.])
 2323 fi
 2324 
 2325 ac_aux_dir=
 2326 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 2327   if test -f $ac_dir/install-sh; then
 2328     ac_aux_dir=$ac_dir
 2329     ac_install_sh="$ac_aux_dir/install-sh -c"
 2330     break
 2331   elif test -f $ac_dir/install.sh; then
 2332     ac_aux_dir=$ac_dir
 2333     ac_install_sh="$ac_aux_dir/install.sh -c"
 2334     break
 2335   elif test -f $ac_dir/shtool; then
 2336     ac_aux_dir=$ac_dir
 2337     ac_install_sh="$ac_aux_dir/shtool install -c"
 2338     break
 2339   fi
 2340 done
 2341 if test -z "$ac_aux_dir"; then
 2342   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 2343 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 2344    { (exit 1); exit 1; }; }
 2345 fi
 2346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 2347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 2348 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 2349 
 2350 # Find a good install program.  We prefer a C program (faster),
 2351 # so one script is as good as another.  But avoid the broken or
 2352 # incompatible versions:
 2353 # SysV /etc/install, /usr/sbin/install
 2354 # SunOS /usr/etc/install
 2355 # IRIX /sbin/install
 2356 # AIX /bin/install
 2357 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2361 # OS/2's system install, which has a completely different semantic
 2362 # ./install, which can be erroneously created by make from ./install.sh.
 2363 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2364 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 2365 if test -z "$INSTALL"; then
 2366 if test "${ac_cv_path_install+set}" = set; then
 2367   echo $ECHO_N "(cached) $ECHO_C" >&6
 2368 else
 2369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2370 for as_dir in $PATH
 2371 do
 2372   IFS=$as_save_IFS
 2373   test -z "$as_dir" && as_dir=.
 2374   # Account for people who put trailing slashes in PATH elements.
 2375 case $as_dir/ in
 2376   ./ | .// | /cC/* | \
 2377   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2378   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2379   /usr/ucb/* ) ;;
 2380   *)
 2381     # OSF1 and SCO ODT 3.0 have their own names for install.
 2382     # Don't use installbsd from OSF since it installs stuff as root
 2383     # by default.
 2384     for ac_prog in ginstall scoinst install; do
 2385       for ac_exec_ext in '' $ac_executable_extensions; do
 2386 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2387 	  if test $ac_prog = install &&
 2388 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2389 	    # AIX install.  It has an incompatible calling convention.
 2390 	    :
 2391 	  elif test $ac_prog = install &&
 2392 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2393 	    # program-specific install script used by HP pwplus--don't use.
 2394 	    :
 2395 	  else
 2396 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2397 	    break 3
 2398 	  fi
 2399 	fi
 2400       done
 2401     done
 2402     ;;
 2403 esac
 2404 done
 2405 
 2406 
 2407 fi
 2408   if test "${ac_cv_path_install+set}" = set; then
 2409     INSTALL=$ac_cv_path_install
 2410   else
 2411     # As a last resort, use the slow shell script.  We don't cache a
 2412     # path for INSTALL within a source directory, because that will
 2413     # break other packages using the cache if that directory is
 2414     # removed, or if the path is relative.
 2415     INSTALL=$ac_install_sh
 2416   fi
 2417 fi
 2418 echo "$as_me:$LINENO: result: $INSTALL" >&5
 2419 echo "${ECHO_T}$INSTALL" >&6
 2420 
 2421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2422 # It thinks the first close brace ends the variable substitution.
 2423 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2424 
 2425 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2426 
 2427 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2428 
 2429 echo "$as_me:$LINENO: checking whether ln -s works" >&5
 2430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 2431 LN_S=$as_ln_s
 2432 if test "$LN_S" = "ln -s"; then
 2433   echo "$as_me:$LINENO: result: yes" >&5
 2434 echo "${ECHO_T}yes" >&6
 2435 else
 2436   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 2437 echo "${ECHO_T}no, using $LN_S" >&6
 2438 fi
 2439 
 2440 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2441 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2442 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2443 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2444   echo $ECHO_N "(cached) $ECHO_C" >&6
 2445 else
 2446   cat >conftest.make <<\_ACEOF
 2447 all:
 2448 	@echo 'ac_maketemp="$(MAKE)"'
 2449 _ACEOF
 2450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2451 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2452 if test -n "$ac_maketemp"; then
 2453   eval ac_cv_prog_make_${ac_make}_set=yes
 2454 else
 2455   eval ac_cv_prog_make_${ac_make}_set=no
 2456 fi
 2457 rm -f conftest.make
 2458 fi
 2459 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2460   echo "$as_me:$LINENO: result: yes" >&5
 2461 echo "${ECHO_T}yes" >&6
 2462   SET_MAKE=
 2463 else
 2464   echo "$as_me:$LINENO: result: no" >&5
 2465 echo "${ECHO_T}no" >&6
 2466   SET_MAKE="MAKE=${MAKE-make}"
 2467 fi
 2468 
 2469 if test -n "$ac_tool_prefix"; then
 2470   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 2471 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2474 if test "${ac_cv_prog_RANLIB+set}" = set; then
 2475   echo $ECHO_N "(cached) $ECHO_C" >&6
 2476 else
 2477   if test -n "$RANLIB"; then
 2478   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 2479 else
 2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2481 for as_dir in $PATH
 2482 do
 2483   IFS=$as_save_IFS
 2484   test -z "$as_dir" && as_dir=.
 2485   for ac_exec_ext in '' $ac_executable_extensions; do
 2486   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2487     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 2488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2489     break 2
 2490   fi
 2491 done
 2492 done
 2493 
 2494 fi
 2495 fi
 2496 RANLIB=$ac_cv_prog_RANLIB
 2497 if test -n "$RANLIB"; then
 2498   echo "$as_me:$LINENO: result: $RANLIB" >&5
 2499 echo "${ECHO_T}$RANLIB" >&6
 2500 else
 2501   echo "$as_me:$LINENO: result: no" >&5
 2502 echo "${ECHO_T}no" >&6
 2503 fi
 2504 
 2505 fi
 2506 if test -z "$ac_cv_prog_RANLIB"; then
 2507   ac_ct_RANLIB=$RANLIB
 2508   # Extract the first word of "ranlib", so it can be a program name with args.
 2509 set dummy ranlib; ac_word=$2
 2510 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2512 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 2513   echo $ECHO_N "(cached) $ECHO_C" >&6
 2514 else
 2515   if test -n "$ac_ct_RANLIB"; then
 2516   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 2517 else
 2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2519 for as_dir in $PATH
 2520 do
 2521   IFS=$as_save_IFS
 2522   test -z "$as_dir" && as_dir=.
 2523   for ac_exec_ext in '' $ac_executable_extensions; do
 2524   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2525     ac_cv_prog_ac_ct_RANLIB="ranlib"
 2526     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2527     break 2
 2528   fi
 2529 done
 2530 done
 2531 
 2532   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 2533 fi
 2534 fi
 2535 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 2536 if test -n "$ac_ct_RANLIB"; then
 2537   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 2538 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 2539 else
 2540   echo "$as_me:$LINENO: result: no" >&5
 2541 echo "${ECHO_T}no" >&6
 2542 fi
 2543 
 2544   RANLIB=$ac_ct_RANLIB
 2545 else
 2546   RANLIB="$ac_cv_prog_RANLIB"
 2547 fi
 2548 
 2549 
 2550 # Extract the first word of "ar", so it can be a program name with args.
 2551 set dummy ar; ac_word=$2
 2552 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2554 if test "${ac_cv_path_AR+set}" = set; then
 2555   echo $ECHO_N "(cached) $ECHO_C" >&6
 2556 else
 2557   case $AR in
 2558   [\\/]* | ?:[\\/]*)
 2559   ac_cv_path_AR="$AR" # Let the user override the test with a path.
 2560   ;;
 2561   *)
 2562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2563 for as_dir in $PATH
 2564 do
 2565   IFS=$as_save_IFS
 2566   test -z "$as_dir" && as_dir=.
 2567   for ac_exec_ext in '' $ac_executable_extensions; do
 2568   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2569     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
 2570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2571     break 2
 2572   fi
 2573 done
 2574 done
 2575 
 2576   ;;
 2577 esac
 2578 fi
 2579 AR=$ac_cv_path_AR
 2580 
 2581 if test -n "$AR"; then
 2582   echo "$as_me:$LINENO: result: $AR" >&5
 2583 echo "${ECHO_T}$AR" >&6
 2584 else
 2585   echo "$as_me:$LINENO: result: no" >&5
 2586 echo "${ECHO_T}no" >&6
 2587 fi
 2588 
 2589 # Extract the first word of "chmod", so it can be a program name with args.
 2590 set dummy chmod; ac_word=$2
 2591 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2593 if test "${ac_cv_path_CHMOD+set}" = set; then
 2594   echo $ECHO_N "(cached) $ECHO_C" >&6
 2595 else
 2596   case $CHMOD in
 2597   [\\/]* | ?:[\\/]*)
 2598   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
 2599   ;;
 2600   *)
 2601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2602 for as_dir in $PATH
 2603 do
 2604   IFS=$as_save_IFS
 2605   test -z "$as_dir" && as_dir=.
 2606   for ac_exec_ext in '' $ac_executable_extensions; do
 2607   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2608     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
 2609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2610     break 2
 2611   fi
 2612 done
 2613 done
 2614 
 2615   ;;
 2616 esac
 2617 fi
 2618 CHMOD=$ac_cv_path_CHMOD
 2619 
 2620 if test -n "$CHMOD"; then
 2621   echo "$as_me:$LINENO: result: $CHMOD" >&5
 2622 echo "${ECHO_T}$CHMOD" >&6
 2623 else
 2624   echo "$as_me:$LINENO: result: no" >&5
 2625 echo "${ECHO_T}no" >&6
 2626 fi
 2627 
 2628 # Extract the first word of "ld", so it can be a program name with args.
 2629 set dummy ld; ac_word=$2
 2630 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2632 if test "${ac_cv_path_LD+set}" = set; then
 2633   echo $ECHO_N "(cached) $ECHO_C" >&6
 2634 else
 2635   case $LD in
 2636   [\\/]* | ?:[\\/]*)
 2637   ac_cv_path_LD="$LD" # Let the user override the test with a path.
 2638   ;;
 2639   *)
 2640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2641 for as_dir in $PATH
 2642 do
 2643   IFS=$as_save_IFS
 2644   test -z "$as_dir" && as_dir=.
 2645   for ac_exec_ext in '' $ac_executable_extensions; do
 2646   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2647     ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
 2648     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2649     break 2
 2650   fi
 2651 done
 2652 done
 2653 
 2654   ;;
 2655 esac
 2656 fi
 2657 LD=$ac_cv_path_LD
 2658 
 2659 if test -n "$LD"; then
 2660   echo "$as_me:$LINENO: result: $LD" >&5
 2661 echo "${ECHO_T}$LD" >&6
 2662 else
 2663   echo "$as_me:$LINENO: result: no" >&5
 2664 echo "${ECHO_T}no" >&6
 2665 fi
 2666 
 2667 # Extract the first word of "rm", so it can be a program name with args.
 2668 set dummy rm; ac_word=$2
 2669 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2671 if test "${ac_cv_path_RM+set}" = set; then
 2672   echo $ECHO_N "(cached) $ECHO_C" >&6
 2673 else
 2674   case $RM in
 2675   [\\/]* | ?:[\\/]*)
 2676   ac_cv_path_RM="$RM" # Let the user override the test with a path.
 2677   ;;
 2678   *)
 2679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2680 for as_dir in $PATH
 2681 do
 2682   IFS=$as_save_IFS
 2683   test -z "$as_dir" && as_dir=.
 2684   for ac_exec_ext in '' $ac_executable_extensions; do
 2685   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2686     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
 2687     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2688     break 2
 2689   fi
 2690 done
 2691 done
 2692 
 2693   ;;
 2694 esac
 2695 fi
 2696 RM=$ac_cv_path_RM
 2697 
 2698 if test -n "$RM"; then
 2699   echo "$as_me:$LINENO: result: $RM" >&5
 2700 echo "${ECHO_T}$RM" >&6
 2701 else
 2702   echo "$as_me:$LINENO: result: no" >&5
 2703 echo "${ECHO_T}no" >&6
 2704 fi
 2705 
 2706 
 2707 ## Checks for header files.
 2708 
 2709 ac_ext=c
 2710 ac_cpp='$CPP $CPPFLAGS'
 2711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2714 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 2715 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 2716 # On Suns, sometimes $CPP names a directory.
 2717 if test -n "$CPP" && test -d "$CPP"; then
 2718   CPP=
 2719 fi
 2720 if test -z "$CPP"; then
 2721   if test "${ac_cv_prog_CPP+set}" = set; then
 2722   echo $ECHO_N "(cached) $ECHO_C" >&6
 2723 else
 2724       # Double quotes because CPP needs to be expanded
 2725     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 2726     do
 2727       ac_preproc_ok=false
 2728 for ac_c_preproc_warn_flag in '' yes
 2729 do
 2730   # Use a header file that comes with gcc, so configuring glibc
 2731   # with a fresh cross-compiler works.
 2732   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2733   # <limits.h> exists even on freestanding compilers.
 2734   # On the NeXT, cc -E runs the code through the compiler's parser,
 2735   # not just through cpp. "Syntax error" is here to catch this case.
 2736   cat >conftest.$ac_ext <<_ACEOF
 2737 /* confdefs.h.  */
 2738 _ACEOF
 2739 cat confdefs.h >>conftest.$ac_ext
 2740 cat >>conftest.$ac_ext <<_ACEOF
 2741 /* end confdefs.h.  */
 2742 #ifdef __STDC__
 2743 # include <limits.h>
 2744 #else
 2745 # include <assert.h>
 2746 #endif
 2747 		     Syntax error
 2748 _ACEOF
 2749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 2750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2751   ac_status=$?
 2752   grep -v '^ *+' conftest.er1 >conftest.err
 2753   rm -f conftest.er1
 2754   cat conftest.err >&5
 2755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2756   (exit $ac_status); } >/dev/null; then
 2757   if test -s conftest.err; then
 2758     ac_cpp_err=$ac_c_preproc_warn_flag
 2759     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 2760   else
 2761     ac_cpp_err=
 2762   fi
 2763 else
 2764   ac_cpp_err=yes
 2765 fi
 2766 if test -z "$ac_cpp_err"; then
 2767   :
 2768 else
 2769   echo "$as_me: failed program was:" >&5
 2770 sed 's/^/| /' conftest.$ac_ext >&5
 2771 
 2772   # Broken: fails on valid input.
 2773 continue
 2774 fi
 2775 rm -f conftest.err conftest.$ac_ext
 2776 
 2777   # OK, works on sane cases.  Now check whether non-existent headers
 2778   # can be detected and how.
 2779   cat >conftest.$ac_ext <<_ACEOF
 2780 /* confdefs.h.  */
 2781 _ACEOF
 2782 cat confdefs.h >>conftest.$ac_ext
 2783 cat >>conftest.$ac_ext <<_ACEOF
 2784 /* end confdefs.h.  */
 2785 #include <ac_nonexistent.h>
 2786 _ACEOF
 2787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 2788   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2789   ac_status=$?
 2790   grep -v '^ *+' conftest.er1 >conftest.err
 2791   rm -f conftest.er1
 2792   cat conftest.err >&5
 2793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2794   (exit $ac_status); } >/dev/null; then
 2795   if test -s conftest.err; then
 2796     ac_cpp_err=$ac_c_preproc_warn_flag
 2797     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 2798   else
 2799     ac_cpp_err=
 2800   fi
 2801 else
 2802   ac_cpp_err=yes
 2803 fi
 2804 if test -z "$ac_cpp_err"; then
 2805   # Broken: success on invalid input.
 2806 continue
 2807 else
 2808   echo "$as_me: failed program was:" >&5
 2809 sed 's/^/| /' conftest.$ac_ext >&5
 2810 
 2811   # Passes both tests.
 2812 ac_preproc_ok=:
 2813 break
 2814 fi
 2815 rm -f conftest.err conftest.$ac_ext
 2816 
 2817 done
 2818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2819 rm -f conftest.err conftest.$ac_ext
 2820 if $ac_preproc_ok; then
 2821   break
 2822 fi
 2823 
 2824     done
 2825     ac_cv_prog_CPP=$CPP
 2826 
 2827 fi
 2828   CPP=$ac_cv_prog_CPP
 2829 else
 2830   ac_cv_prog_CPP=$CPP
 2831 fi
 2832 echo "$as_me:$LINENO: result: $CPP" >&5
 2833 echo "${ECHO_T}$CPP" >&6
 2834 ac_preproc_ok=false
 2835 for ac_c_preproc_warn_flag in '' yes
 2836 do
 2837   # Use a header file that comes with gcc, so configuring glibc
 2838   # with a fresh cross-compiler works.
 2839   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2840   # <limits.h> exists even on freestanding compilers.
 2841   # On the NeXT, cc -E runs the code through the compiler's parser,
 2842   # not just through cpp. "Syntax error" is here to catch this case.
 2843   cat >conftest.$ac_ext <<_ACEOF
 2844 /* confdefs.h.  */
 2845 _ACEOF
 2846 cat confdefs.h >>conftest.$ac_ext
 2847 cat >>conftest.$ac_ext <<_ACEOF
 2848 /* end confdefs.h.  */
 2849 #ifdef __STDC__
 2850 # include <limits.h>
 2851 #else
 2852 # include <assert.h>
 2853 #endif
 2854 		     Syntax error
 2855 _ACEOF
 2856 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 2857   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2858   ac_status=$?
 2859   grep -v '^ *+' conftest.er1 >conftest.err
 2860   rm -f conftest.er1
 2861   cat conftest.err >&5
 2862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2863   (exit $ac_status); } >/dev/null; then
 2864   if test -s conftest.err; then
 2865     ac_cpp_err=$ac_c_preproc_warn_flag
 2866     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 2867   else
 2868     ac_cpp_err=
 2869   fi
 2870 else
 2871   ac_cpp_err=yes
 2872 fi
 2873 if test -z "$ac_cpp_err"; then
 2874   :
 2875 else
 2876   echo "$as_me: failed program was:" >&5
 2877 sed 's/^/| /' conftest.$ac_ext >&5
 2878 
 2879   # Broken: fails on valid input.
 2880 continue
 2881 fi
 2882 rm -f conftest.err conftest.$ac_ext
 2883 
 2884   # OK, works on sane cases.  Now check whether non-existent headers
 2885   # can be detected and how.
 2886   cat >conftest.$ac_ext <<_ACEOF
 2887 /* confdefs.h.  */
 2888 _ACEOF
 2889 cat confdefs.h >>conftest.$ac_ext
 2890 cat >>conftest.$ac_ext <<_ACEOF
 2891 /* end confdefs.h.  */
 2892 #include <ac_nonexistent.h>
 2893 _ACEOF
 2894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 2895   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 2896   ac_status=$?
 2897   grep -v '^ *+' conftest.er1 >conftest.err
 2898   rm -f conftest.er1
 2899   cat conftest.err >&5
 2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2901   (exit $ac_status); } >/dev/null; then
 2902   if test -s conftest.err; then
 2903     ac_cpp_err=$ac_c_preproc_warn_flag
 2904     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 2905   else
 2906     ac_cpp_err=
 2907   fi
 2908 else
 2909   ac_cpp_err=yes
 2910 fi
 2911 if test -z "$ac_cpp_err"; then
 2912   # Broken: success on invalid input.
 2913 continue
 2914 else
 2915   echo "$as_me: failed program was:" >&5
 2916 sed 's/^/| /' conftest.$ac_ext >&5
 2917 
 2918   # Passes both tests.
 2919 ac_preproc_ok=:
 2920 break
 2921 fi
 2922 rm -f conftest.err conftest.$ac_ext
 2923 
 2924 done
 2925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 2926 rm -f conftest.err conftest.$ac_ext
 2927 if $ac_preproc_ok; then
 2928   :
 2929 else
 2930   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 2931 See \`config.log' for more details." >&5
 2932 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 2933 See \`config.log' for more details." >&2;}
 2934    { (exit 1); exit 1; }; }
 2935 fi
 2936 
 2937 ac_ext=c
 2938 ac_cpp='$CPP $CPPFLAGS'
 2939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2942 
 2943 
 2944 echo "$as_me:$LINENO: checking for egrep" >&5
 2945 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 2946 if test "${ac_cv_prog_egrep+set}" = set; then
 2947   echo $ECHO_N "(cached) $ECHO_C" >&6
 2948 else
 2949   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 2950     then ac_cv_prog_egrep='grep -E'
 2951     else ac_cv_prog_egrep='egrep'
 2952     fi
 2953 fi
 2954 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 2955 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 2956  EGREP=$ac_cv_prog_egrep
 2957 
 2958 
 2959 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 2960 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 2961 if test "${ac_cv_header_stdc+set}" = set; then
 2962   echo $ECHO_N "(cached) $ECHO_C" >&6
 2963 else
 2964   cat >conftest.$ac_ext <<_ACEOF
 2965 /* confdefs.h.  */
 2966 _ACEOF
 2967 cat confdefs.h >>conftest.$ac_ext
 2968 cat >>conftest.$ac_ext <<_ACEOF
 2969 /* end confdefs.h.  */
 2970 #include <stdlib.h>
 2971 #include <stdarg.h>
 2972 #include <string.h>
 2973 #include <float.h>
 2974 
 2975 int
 2976 main ()
 2977 {
 2978 
 2979   ;
 2980   return 0;
 2981 }
 2982 _ACEOF
 2983 rm -f conftest.$ac_objext
 2984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2985   (eval $ac_compile) 2>conftest.er1
 2986   ac_status=$?
 2987   grep -v '^ *+' conftest.er1 >conftest.err
 2988   rm -f conftest.er1
 2989   cat conftest.err >&5
 2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2991   (exit $ac_status); } &&
 2992 	 { ac_try='test -z "$ac_c_werror_flag"
 2993 			 || test ! -s conftest.err'
 2994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2995   (eval $ac_try) 2>&5
 2996   ac_status=$?
 2997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2998   (exit $ac_status); }; } &&
 2999 	 { ac_try='test -s conftest.$ac_objext'
 3000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3001   (eval $ac_try) 2>&5
 3002   ac_status=$?
 3003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3004   (exit $ac_status); }; }; then
 3005   ac_cv_header_stdc=yes
 3006 else
 3007   echo "$as_me: failed program was:" >&5
 3008 sed 's/^/| /' conftest.$ac_ext >&5
 3009 
 3010 ac_cv_header_stdc=no
 3011 fi
 3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3013 
 3014 if test $ac_cv_header_stdc = yes; then
 3015   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 3016   cat >conftest.$ac_ext <<_ACEOF
 3017 /* confdefs.h.  */
 3018 _ACEOF
 3019 cat confdefs.h >>conftest.$ac_ext
 3020 cat >>conftest.$ac_ext <<_ACEOF
 3021 /* end confdefs.h.  */
 3022 #include <string.h>
 3023 
 3024 _ACEOF
 3025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3026   $EGREP "memchr" >/dev/null 2>&1; then
 3027   :
 3028 else
 3029   ac_cv_header_stdc=no
 3030 fi
 3031 rm -f conftest*
 3032 
 3033 fi
 3034 
 3035 if test $ac_cv_header_stdc = yes; then
 3036   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 3037   cat >conftest.$ac_ext <<_ACEOF
 3038 /* confdefs.h.  */
 3039 _ACEOF
 3040 cat confdefs.h >>conftest.$ac_ext
 3041 cat >>conftest.$ac_ext <<_ACEOF
 3042 /* end confdefs.h.  */
 3043 #include <stdlib.h>
 3044 
 3045 _ACEOF
 3046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 3047   $EGREP "free" >/dev/null 2>&1; then
 3048   :
 3049 else
 3050   ac_cv_header_stdc=no
 3051 fi
 3052 rm -f conftest*
 3053 
 3054 fi
 3055 
 3056 if test $ac_cv_header_stdc = yes; then
 3057   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 3058   if test "$cross_compiling" = yes; then
 3059   :
 3060 else
 3061   cat >conftest.$ac_ext <<_ACEOF
 3062 /* confdefs.h.  */
 3063 _ACEOF
 3064 cat confdefs.h >>conftest.$ac_ext
 3065 cat >>conftest.$ac_ext <<_ACEOF
 3066 /* end confdefs.h.  */
 3067 #include <ctype.h>
 3068 #if ((' ' & 0x0FF) == 0x020)
 3069 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 3070 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 3071 #else
 3072 # define ISLOWER(c) \
 3073 		   (('a' <= (c) && (c) <= 'i') \
 3074 		     || ('j' <= (c) && (c) <= 'r') \
 3075 		     || ('s' <= (c) && (c) <= 'z'))
 3076 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 3077 #endif
 3078 
 3079 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 3080 int
 3081 main ()
 3082 {
 3083   int i;
 3084   for (i = 0; i < 256; i++)
 3085     if (XOR (islower (i), ISLOWER (i))
 3086 	|| toupper (i) != TOUPPER (i))
 3087       exit(2);
 3088   exit (0);
 3089 }
 3090 _ACEOF
 3091 rm -f conftest$ac_exeext
 3092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3093   (eval $ac_link) 2>&5
 3094   ac_status=$?
 3095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3096   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 3097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3098   (eval $ac_try) 2>&5
 3099   ac_status=$?
 3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3101   (exit $ac_status); }; }; then
 3102   :
 3103 else
 3104   echo "$as_me: program exited with status $ac_status" >&5
 3105 echo "$as_me: failed program was:" >&5
 3106 sed 's/^/| /' conftest.$ac_ext >&5
 3107 
 3108 ( exit $ac_status )
 3109 ac_cv_header_stdc=no
 3110 fi
 3111 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 3112 fi
 3113 fi
 3114 fi
 3115 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 3116 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 3117 if test $ac_cv_header_stdc = yes; then
 3118 
 3119 cat >>confdefs.h <<\_ACEOF
 3120 #define STDC_HEADERS 1
 3121 _ACEOF
 3122 
 3123 fi
 3124 
 3125 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 3126 
 3127 
 3128 
 3129 
 3130 
 3131 
 3132 
 3133 
 3134 
 3135 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 3136 		  inttypes.h stdint.h unistd.h
 3137 do
 3138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 3139 echo "$as_me:$LINENO: checking for $ac_header" >&5
 3140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 3141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 3142   echo $ECHO_N "(cached) $ECHO_C" >&6
 3143 else
 3144   cat >conftest.$ac_ext <<_ACEOF
 3145 /* confdefs.h.  */
 3146 _ACEOF
 3147 cat confdefs.h >>conftest.$ac_ext
 3148 cat >>conftest.$ac_ext <<_ACEOF
 3149 /* end confdefs.h.  */
 3150 $ac_includes_default
 3151 
 3152 #include <$ac_header>
 3153 _ACEOF
 3154 rm -f conftest.$ac_objext
 3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3156   (eval $ac_compile) 2>conftest.er1
 3157   ac_status=$?
 3158   grep -v '^ *+' conftest.er1 >conftest.err
 3159   rm -f conftest.er1
 3160   cat conftest.err >&5
 3161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3162   (exit $ac_status); } &&
 3163 	 { ac_try='test -z "$ac_c_werror_flag"
 3164 			 || test ! -s conftest.err'
 3165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3166   (eval $ac_try) 2>&5
 3167   ac_status=$?
 3168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3169   (exit $ac_status); }; } &&
 3170 	 { ac_try='test -s conftest.$ac_objext'
 3171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3172   (eval $ac_try) 2>&5
 3173   ac_status=$?
 3174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3175   (exit $ac_status); }; }; then
 3176   eval "$as_ac_Header=yes"
 3177 else
 3178   echo "$as_me: failed program was:" >&5
 3179 sed 's/^/| /' conftest.$ac_ext >&5
 3180 
 3181 eval "$as_ac_Header=no"
 3182 fi
 3183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3184 fi
 3185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 3186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 3187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 3188   cat >>confdefs.h <<_ACEOF
 3189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 3190 _ACEOF
 3191 
 3192 fi
 3193 
 3194 done
 3195 
 3196 
 3197 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
 3198 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
 3199 if test "${ac_cv_header_stdbool_h+set}" = set; then
 3200   echo $ECHO_N "(cached) $ECHO_C" >&6
 3201 else
 3202   cat >conftest.$ac_ext <<_ACEOF
 3203 /* confdefs.h.  */
 3204 _ACEOF
 3205 cat confdefs.h >>conftest.$ac_ext
 3206 cat >>conftest.$ac_ext <<_ACEOF
 3207 /* end confdefs.h.  */
 3208 
 3209 #include <stdbool.h>
 3210 #ifndef bool
 3211 # error bool is not defined
 3212 #endif
 3213 #ifndef false
 3214 # error false is not defined
 3215 #endif
 3216 #if false
 3217 # error false is not 0
 3218 #endif
 3219 #ifndef true
 3220 # error true is not defined
 3221 #endif
 3222 #if true != 1
 3223 # error true is not 1
 3224 #endif
 3225 #ifndef __bool_true_false_are_defined
 3226 # error __bool_true_false_are_defined is not defined
 3227 #endif
 3228 
 3229 	struct s { _Bool s: 1; _Bool t; } s;
 3230 
 3231 	char a[true == 1 ? 1 : -1];
 3232 	char b[false == 0 ? 1 : -1];
 3233 	char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 3234 	char d[(bool) -0.5 == true ? 1 : -1];
 3235 	bool e = &s;
 3236 	char f[(_Bool) -0.0 == false ? 1 : -1];
 3237 	char g[true];
 3238 	char h[sizeof (_Bool)];
 3239 	char i[sizeof s.t];
 3240 
 3241 int
 3242 main ()
 3243 {
 3244  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
 3245   ;
 3246   return 0;
 3247 }
 3248 _ACEOF
 3249 rm -f conftest.$ac_objext
 3250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3251   (eval $ac_compile) 2>conftest.er1
 3252   ac_status=$?
 3253   grep -v '^ *+' conftest.er1 >conftest.err
 3254   rm -f conftest.er1
 3255   cat conftest.err >&5
 3256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3257   (exit $ac_status); } &&
 3258 	 { ac_try='test -z "$ac_c_werror_flag"
 3259 			 || test ! -s conftest.err'
 3260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3261   (eval $ac_try) 2>&5
 3262   ac_status=$?
 3263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3264   (exit $ac_status); }; } &&
 3265 	 { ac_try='test -s conftest.$ac_objext'
 3266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3267   (eval $ac_try) 2>&5
 3268   ac_status=$?
 3269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3270   (exit $ac_status); }; }; then
 3271   ac_cv_header_stdbool_h=yes
 3272 else
 3273   echo "$as_me: failed program was:" >&5
 3274 sed 's/^/| /' conftest.$ac_ext >&5
 3275 
 3276 ac_cv_header_stdbool_h=no
 3277 fi
 3278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3279 fi
 3280 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
 3281 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
 3282 echo "$as_me:$LINENO: checking for _Bool" >&5
 3283 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
 3284 if test "${ac_cv_type__Bool+set}" = set; then
 3285   echo $ECHO_N "(cached) $ECHO_C" >&6
 3286 else
 3287   cat >conftest.$ac_ext <<_ACEOF
 3288 /* confdefs.h.  */
 3289 _ACEOF
 3290 cat confdefs.h >>conftest.$ac_ext
 3291 cat >>conftest.$ac_ext <<_ACEOF
 3292 /* end confdefs.h.  */
 3293 $ac_includes_default
 3294 int
 3295 main ()
 3296 {
 3297 if ((_Bool *) 0)
 3298   return 0;
 3299 if (sizeof (_Bool))
 3300   return 0;
 3301   ;
 3302   return 0;
 3303 }
 3304 _ACEOF
 3305 rm -f conftest.$ac_objext
 3306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3307   (eval $ac_compile) 2>conftest.er1
 3308   ac_status=$?
 3309   grep -v '^ *+' conftest.er1 >conftest.err
 3310   rm -f conftest.er1
 3311   cat conftest.err >&5
 3312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3313   (exit $ac_status); } &&
 3314 	 { ac_try='test -z "$ac_c_werror_flag"
 3315 			 || test ! -s conftest.err'
 3316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3317   (eval $ac_try) 2>&5
 3318   ac_status=$?
 3319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3320   (exit $ac_status); }; } &&
 3321 	 { ac_try='test -s conftest.$ac_objext'
 3322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3323   (eval $ac_try) 2>&5
 3324   ac_status=$?
 3325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3326   (exit $ac_status); }; }; then
 3327   ac_cv_type__Bool=yes
 3328 else
 3329   echo "$as_me: failed program was:" >&5
 3330 sed 's/^/| /' conftest.$ac_ext >&5
 3331 
 3332 ac_cv_type__Bool=no
 3333 fi
 3334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3335 fi
 3336 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
 3337 echo "${ECHO_T}$ac_cv_type__Bool" >&6
 3338 if test $ac_cv_type__Bool = yes; then
 3339 
 3340 cat >>confdefs.h <<_ACEOF
 3341 #define HAVE__BOOL 1
 3342 _ACEOF
 3343 
 3344 
 3345 fi
 3346 
 3347 if test $ac_cv_header_stdbool_h = yes; then
 3348 
 3349 cat >>confdefs.h <<\_ACEOF
 3350 #define HAVE_STDBOOL_H 1
 3351 _ACEOF
 3352 
 3353 fi
 3354 
 3355 
 3356 
 3357 
 3358 
 3359 
 3360 ac_header_dirent=no
 3361 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
 3362   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 3363 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 3364 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
 3365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 3366   echo $ECHO_N "(cached) $ECHO_C" >&6
 3367 else
 3368   cat >conftest.$ac_ext <<_ACEOF
 3369 /* confdefs.h.  */
 3370 _ACEOF
 3371 cat confdefs.h >>conftest.$ac_ext
 3372 cat >>conftest.$ac_ext <<_ACEOF
 3373 /* end confdefs.h.  */
 3374 #include <sys/types.h>
 3375 #include <$ac_hdr>
 3376 
 3377 int
 3378 main ()
 3379 {
 3380 if ((DIR *) 0)
 3381 return 0;
 3382   ;
 3383   return 0;
 3384 }
 3385 _ACEOF
 3386 rm -f conftest.$ac_objext
 3387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3388   (eval $ac_compile) 2>conftest.er1
 3389   ac_status=$?
 3390   grep -v '^ *+' conftest.er1 >conftest.err
 3391   rm -f conftest.er1
 3392   cat conftest.err >&5
 3393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3394   (exit $ac_status); } &&
 3395 	 { ac_try='test -z "$ac_c_werror_flag"
 3396 			 || test ! -s conftest.err'
 3397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3398   (eval $ac_try) 2>&5
 3399   ac_status=$?
 3400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3401   (exit $ac_status); }; } &&
 3402 	 { ac_try='test -s conftest.$ac_objext'
 3403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3404   (eval $ac_try) 2>&5
 3405   ac_status=$?
 3406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3407   (exit $ac_status); }; }; then
 3408   eval "$as_ac_Header=yes"
 3409 else
 3410   echo "$as_me: failed program was:" >&5
 3411 sed 's/^/| /' conftest.$ac_ext >&5
 3412 
 3413 eval "$as_ac_Header=no"
 3414 fi
 3415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3416 fi
 3417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 3418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 3419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 3420   cat >>confdefs.h <<_ACEOF
 3421 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 3422 _ACEOF
 3423 
 3424 ac_header_dirent=$ac_hdr; break
 3425 fi
 3426 
 3427 done
 3428 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 3429 if test $ac_header_dirent = dirent.h; then
 3430   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 3431 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 3432 if test "${ac_cv_search_opendir+set}" = set; then
 3433   echo $ECHO_N "(cached) $ECHO_C" >&6
 3434 else
 3435   ac_func_search_save_LIBS=$LIBS
 3436 ac_cv_search_opendir=no
 3437 cat >conftest.$ac_ext <<_ACEOF
 3438 /* confdefs.h.  */
 3439 _ACEOF
 3440 cat confdefs.h >>conftest.$ac_ext
 3441 cat >>conftest.$ac_ext <<_ACEOF
 3442 /* end confdefs.h.  */
 3443 
 3444 /* Override any gcc2 internal prototype to avoid an error.  */
 3445 #ifdef __cplusplus
 3446 extern "C"
 3447 #endif
 3448 /* We use char because int might match the return type of a gcc2
 3449    builtin and then its argument prototype would still apply.  */
 3450 char opendir ();
 3451 int
 3452 main ()
 3453 {
 3454 opendir ();
 3455   ;
 3456   return 0;
 3457 }
 3458 _ACEOF
 3459 rm -f conftest.$ac_objext conftest$ac_exeext
 3460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3461   (eval $ac_link) 2>conftest.er1
 3462   ac_status=$?
 3463   grep -v '^ *+' conftest.er1 >conftest.err
 3464   rm -f conftest.er1
 3465   cat conftest.err >&5
 3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3467   (exit $ac_status); } &&
 3468 	 { ac_try='test -z "$ac_c_werror_flag"
 3469 			 || test ! -s conftest.err'
 3470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3471   (eval $ac_try) 2>&5
 3472   ac_status=$?
 3473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3474   (exit $ac_status); }; } &&
 3475 	 { ac_try='test -s conftest$ac_exeext'
 3476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3477   (eval $ac_try) 2>&5
 3478   ac_status=$?
 3479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3480   (exit $ac_status); }; }; then
 3481   ac_cv_search_opendir="none required"
 3482 else
 3483   echo "$as_me: failed program was:" >&5
 3484 sed 's/^/| /' conftest.$ac_ext >&5
 3485 
 3486 fi
 3487 rm -f conftest.err conftest.$ac_objext \
 3488       conftest$ac_exeext conftest.$ac_ext
 3489 if test "$ac_cv_search_opendir" = no; then
 3490   for ac_lib in dir; do
 3491     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3492     cat >conftest.$ac_ext <<_ACEOF
 3493 /* confdefs.h.  */
 3494 _ACEOF
 3495 cat confdefs.h >>conftest.$ac_ext
 3496 cat >>conftest.$ac_ext <<_ACEOF
 3497 /* end confdefs.h.  */
 3498 
 3499 /* Override any gcc2 internal prototype to avoid an error.  */
 3500 #ifdef __cplusplus
 3501 extern "C"
 3502 #endif
 3503 /* We use char because int might match the return type of a gcc2
 3504    builtin and then its argument prototype would still apply.  */
 3505 char opendir ();
 3506 int
 3507 main ()
 3508 {
 3509 opendir ();
 3510   ;
 3511   return 0;
 3512 }
 3513 _ACEOF
 3514 rm -f conftest.$ac_objext conftest$ac_exeext
 3515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3516   (eval $ac_link) 2>conftest.er1
 3517   ac_status=$?
 3518   grep -v '^ *+' conftest.er1 >conftest.err
 3519   rm -f conftest.er1
 3520   cat conftest.err >&5
 3521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3522   (exit $ac_status); } &&
 3523 	 { ac_try='test -z "$ac_c_werror_flag"
 3524 			 || test ! -s conftest.err'
 3525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3526   (eval $ac_try) 2>&5
 3527   ac_status=$?
 3528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3529   (exit $ac_status); }; } &&
 3530 	 { ac_try='test -s conftest$ac_exeext'
 3531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3532   (eval $ac_try) 2>&5
 3533   ac_status=$?
 3534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3535   (exit $ac_status); }; }; then
 3536   ac_cv_search_opendir="-l$ac_lib"
 3537 break
 3538 else
 3539   echo "$as_me: failed program was:" >&5
 3540 sed 's/^/| /' conftest.$ac_ext >&5
 3541 
 3542 fi
 3543 rm -f conftest.err conftest.$ac_objext \
 3544       conftest$ac_exeext conftest.$ac_ext
 3545   done
 3546 fi
 3547 LIBS=$ac_func_search_save_LIBS
 3548 fi
 3549 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 3550 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 3551 if test "$ac_cv_search_opendir" != no; then
 3552   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 3553 
 3554 fi
 3555 
 3556 else
 3557   echo "$as_me:$LINENO: checking for library containing opendir" >&5
 3558 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
 3559 if test "${ac_cv_search_opendir+set}" = set; then
 3560   echo $ECHO_N "(cached) $ECHO_C" >&6
 3561 else
 3562   ac_func_search_save_LIBS=$LIBS
 3563 ac_cv_search_opendir=no
 3564 cat >conftest.$ac_ext <<_ACEOF
 3565 /* confdefs.h.  */
 3566 _ACEOF
 3567 cat confdefs.h >>conftest.$ac_ext
 3568 cat >>conftest.$ac_ext <<_ACEOF
 3569 /* end confdefs.h.  */
 3570 
 3571 /* Override any gcc2 internal prototype to avoid an error.  */
 3572 #ifdef __cplusplus
 3573 extern "C"
 3574 #endif
 3575 /* We use char because int might match the return type of a gcc2
 3576    builtin and then its argument prototype would still apply.  */
 3577 char opendir ();
 3578 int
 3579 main ()
 3580 {
 3581 opendir ();
 3582   ;
 3583   return 0;
 3584 }
 3585 _ACEOF
 3586 rm -f conftest.$ac_objext conftest$ac_exeext
 3587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3588   (eval $ac_link) 2>conftest.er1
 3589   ac_status=$?
 3590   grep -v '^ *+' conftest.er1 >conftest.err
 3591   rm -f conftest.er1
 3592   cat conftest.err >&5
 3593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3594   (exit $ac_status); } &&
 3595 	 { ac_try='test -z "$ac_c_werror_flag"
 3596 			 || test ! -s conftest.err'
 3597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3598   (eval $ac_try) 2>&5
 3599   ac_status=$?
 3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3601   (exit $ac_status); }; } &&
 3602 	 { ac_try='test -s conftest$ac_exeext'
 3603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3604   (eval $ac_try) 2>&5
 3605   ac_status=$?
 3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3607   (exit $ac_status); }; }; then
 3608   ac_cv_search_opendir="none required"
 3609 else
 3610   echo "$as_me: failed program was:" >&5
 3611 sed 's/^/| /' conftest.$ac_ext >&5
 3612 
 3613 fi
 3614 rm -f conftest.err conftest.$ac_objext \
 3615       conftest$ac_exeext conftest.$ac_ext
 3616 if test "$ac_cv_search_opendir" = no; then
 3617   for ac_lib in x; do
 3618     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3619     cat >conftest.$ac_ext <<_ACEOF
 3620 /* confdefs.h.  */
 3621 _ACEOF
 3622 cat confdefs.h >>conftest.$ac_ext
 3623 cat >>conftest.$ac_ext <<_ACEOF
 3624 /* end confdefs.h.  */
 3625 
 3626 /* Override any gcc2 internal prototype to avoid an error.  */
 3627 #ifdef __cplusplus
 3628 extern "C"
 3629 #endif
 3630 /* We use char because int might match the return type of a gcc2
 3631    builtin and then its argument prototype would still apply.  */
 3632 char opendir ();
 3633 int
 3634 main ()
 3635 {
 3636 opendir ();
 3637   ;
 3638   return 0;
 3639 }
 3640 _ACEOF
 3641 rm -f conftest.$ac_objext conftest$ac_exeext
 3642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3643   (eval $ac_link) 2>conftest.er1
 3644   ac_status=$?
 3645   grep -v '^ *+' conftest.er1 >conftest.err
 3646   rm -f conftest.er1
 3647   cat conftest.err >&5
 3648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3649   (exit $ac_status); } &&
 3650 	 { ac_try='test -z "$ac_c_werror_flag"
 3651 			 || test ! -s conftest.err'
 3652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3653   (eval $ac_try) 2>&5
 3654   ac_status=$?
 3655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3656   (exit $ac_status); }; } &&
 3657 	 { ac_try='test -s conftest$ac_exeext'
 3658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3659   (eval $ac_try) 2>&5
 3660   ac_status=$?
 3661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3662   (exit $ac_status); }; }; then
 3663   ac_cv_search_opendir="-l$ac_lib"
 3664 break
 3665 else
 3666   echo "$as_me: failed program was:" >&5
 3667 sed 's/^/| /' conftest.$ac_ext >&5
 3668 
 3669 fi
 3670 rm -f conftest.err conftest.$ac_objext \
 3671       conftest$ac_exeext conftest.$ac_ext
 3672   done
 3673 fi
 3674 LIBS=$ac_func_search_save_LIBS
 3675 fi
 3676 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 3677 echo "${ECHO_T}$ac_cv_search_opendir" >&6
 3678 if test "$ac_cv_search_opendir" != no; then
 3679   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
 3680 
 3681 fi
 3682 
 3683 fi
 3684 
 3685 #AC_CHECK_HEADER([sys/sendfile.h])
 3686 
 3687 ## Checks for typedefs, structures, and compiler characteristics.
 3688 echo "$as_me:$LINENO: checking for size_t" >&5
 3689 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 3690 if test "${ac_cv_type_size_t+set}" = set; then
 3691   echo $ECHO_N "(cached) $ECHO_C" >&6
 3692 else
 3693   cat >conftest.$ac_ext <<_ACEOF
 3694 /* confdefs.h.  */
 3695 _ACEOF
 3696 cat confdefs.h >>conftest.$ac_ext
 3697 cat >>conftest.$ac_ext <<_ACEOF
 3698 /* end confdefs.h.  */
 3699 $ac_includes_default
 3700 int
 3701 main ()
 3702 {
 3703 if ((size_t *) 0)
 3704   return 0;
 3705 if (sizeof (size_t))
 3706   return 0;
 3707   ;
 3708   return 0;
 3709 }
 3710 _ACEOF
 3711 rm -f conftest.$ac_objext
 3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3713   (eval $ac_compile) 2>conftest.er1
 3714   ac_status=$?
 3715   grep -v '^ *+' conftest.er1 >conftest.err
 3716   rm -f conftest.er1
 3717   cat conftest.err >&5
 3718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3719   (exit $ac_status); } &&
 3720 	 { ac_try='test -z "$ac_c_werror_flag"
 3721 			 || test ! -s conftest.err'
 3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3723   (eval $ac_try) 2>&5
 3724   ac_status=$?
 3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3726   (exit $ac_status); }; } &&
 3727 	 { ac_try='test -s conftest.$ac_objext'
 3728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3729   (eval $ac_try) 2>&5
 3730   ac_status=$?
 3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3732   (exit $ac_status); }; }; then
 3733   ac_cv_type_size_t=yes
 3734 else
 3735   echo "$as_me: failed program was:" >&5
 3736 sed 's/^/| /' conftest.$ac_ext >&5
 3737 
 3738 ac_cv_type_size_t=no
 3739 fi
 3740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3741 fi
 3742 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 3743 echo "${ECHO_T}$ac_cv_type_size_t" >&6
 3744 if test $ac_cv_type_size_t = yes; then
 3745   :
 3746 else
 3747 
 3748 cat >>confdefs.h <<_ACEOF
 3749 #define size_t unsigned
 3750 _ACEOF
 3751 
 3752 fi
 3753 
 3754 echo "$as_me:$LINENO: checking for off_t" >&5
 3755 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 3756 if test "${ac_cv_type_off_t+set}" = set; then
 3757   echo $ECHO_N "(cached) $ECHO_C" >&6
 3758 else
 3759   cat >conftest.$ac_ext <<_ACEOF
 3760 /* confdefs.h.  */
 3761 _ACEOF
 3762 cat confdefs.h >>conftest.$ac_ext
 3763 cat >>conftest.$ac_ext <<_ACEOF
 3764 /* end confdefs.h.  */
 3765 $ac_includes_default
 3766 int
 3767 main ()
 3768 {
 3769 if ((off_t *) 0)
 3770   return 0;
 3771 if (sizeof (off_t))
 3772   return 0;
 3773   ;
 3774   return 0;
 3775 }
 3776 _ACEOF
 3777 rm -f conftest.$ac_objext
 3778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 3779   (eval $ac_compile) 2>conftest.er1
 3780   ac_status=$?
 3781   grep -v '^ *+' conftest.er1 >conftest.err
 3782   rm -f conftest.er1
 3783   cat conftest.err >&5
 3784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3785   (exit $ac_status); } &&
 3786 	 { ac_try='test -z "$ac_c_werror_flag"
 3787 			 || test ! -s conftest.err'
 3788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3789   (eval $ac_try) 2>&5
 3790   ac_status=$?
 3791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3792   (exit $ac_status); }; } &&
 3793 	 { ac_try='test -s conftest.$ac_objext'
 3794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3795   (eval $ac_try) 2>&5
 3796   ac_status=$?
 3797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3798   (exit $ac_status); }; }; then
 3799   ac_cv_type_off_t=yes
 3800 else
 3801   echo "$as_me: failed program was:" >&5
 3802 sed 's/^/| /' conftest.$ac_ext >&5
 3803 
 3804 ac_cv_type_off_t=no
 3805 fi
 3806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 3807 fi
 3808 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 3809 echo "${ECHO_T}$ac_cv_type_off_t" >&6
 3810 if test $ac_cv_type_off_t = yes; then
 3811   :
 3812 else
 3813 
 3814 cat >>confdefs.h <<_ACEOF
 3815 #define off_t long
 3816 _ACEOF
 3817 
 3818 fi
 3819 
 3820 
 3821 ## Checks for libraries.
 3822 
 3823 ## Checks for library functions.
 3824 #AC_CHECK_FUNCS([socket sendfile])
 3825 
 3826 
 3827 	# Check whether --enable-debug or --disable-debug was given.
 3828 if test "${enable_debug+set}" = set; then
 3829   enableval="$enable_debug"
 3830 
 3831 else
 3832   enableval=no
 3833 fi;
 3834 	if test "$enableval" = yes; then
 3835 		{ echo "$as_me:$LINENO: 'debug' feature is enabled" >&5
 3836 echo "$as_me: 'debug' feature is enabled" >&6;}
 3837 		CPPFLAGS="$CPPFLAGS -DBUILD_DEBUG"
 3838 	fi
 3839 
 3840 if test "$enableval" = yes; then
 3841 	CFLAGS="$CFLAGS -g -O2"
 3842 else
 3843 	CFLAGS="$CFLAGS -g -O2"
 3844 fi
 3845 
 3846 
 3847 	# Check whether --enable-threadsafe or --disable-threadsafe was given.
 3848 if test "${enable_threadsafe+set}" = set; then
 3849   enableval="$enable_threadsafe"
 3850 
 3851 else
 3852   enableval=no
 3853 fi;
 3854 	if test "$enableval" = yes; then
 3855 		{ echo "$as_me:$LINENO: 'threadsafe' feature is enabled" >&5
 3856 echo "$as_me: 'threadsafe' feature is enabled" >&6;}
 3857 		CPPFLAGS="$CPPFLAGS -DENABLE_THREADSAFE"
 3858 	fi
 3859 
 3860 if test "$enableval" = yes; then
 3861 
 3862 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
 3863 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
 3864 if test "${ac_cv_lib_pthread_main+set}" = set; then
 3865   echo $ECHO_N "(cached) $ECHO_C" >&6
 3866 else
 3867   ac_check_lib_save_LIBS=$LIBS
 3868 LIBS="-lpthread  $LIBS"
 3869 cat >conftest.$ac_ext <<_ACEOF
 3870 /* confdefs.h.  */
 3871 _ACEOF
 3872 cat confdefs.h >>conftest.$ac_ext
 3873 cat >>conftest.$ac_ext <<_ACEOF
 3874 /* end confdefs.h.  */
 3875 
 3876 
 3877 int
 3878 main ()
 3879 {
 3880 main ();
 3881   ;
 3882   return 0;
 3883 }
 3884 _ACEOF
 3885 rm -f conftest.$ac_objext conftest$ac_exeext
 3886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3887   (eval $ac_link) 2>conftest.er1
 3888   ac_status=$?
 3889   grep -v '^ *+' conftest.er1 >conftest.err
 3890   rm -f conftest.er1
 3891   cat conftest.err >&5
 3892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3893   (exit $ac_status); } &&
 3894 	 { ac_try='test -z "$ac_c_werror_flag"
 3895 			 || test ! -s conftest.err'
 3896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3897   (eval $ac_try) 2>&5
 3898   ac_status=$?
 3899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3900   (exit $ac_status); }; } &&
 3901 	 { ac_try='test -s conftest$ac_exeext'
 3902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3903   (eval $ac_try) 2>&5
 3904   ac_status=$?
 3905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3906   (exit $ac_status); }; }; then
 3907   ac_cv_lib_pthread_main=yes
 3908 else
 3909   echo "$as_me: failed program was:" >&5
 3910 sed 's/^/| /' conftest.$ac_ext >&5
 3911 
 3912 ac_cv_lib_pthread_main=no
 3913 fi
 3914 rm -f conftest.err conftest.$ac_objext \
 3915       conftest$ac_exeext conftest.$ac_ext
 3916 LIBS=$ac_check_lib_save_LIBS
 3917 fi
 3918 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
 3919 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
 3920 if test $ac_cv_lib_pthread_main = yes; then
 3921   cat >>confdefs.h <<_ACEOF
 3922 #define HAVE_LIBPTHREAD 1
 3923 _ACEOF
 3924 
 3925   LIBS="-lpthread $LIBS"
 3926 
 3927 else
 3928   { { echo "$as_me:$LINENO: error: Can't find pthread library." >&5
 3929 echo "$as_me: error: Can't find pthread library." >&2;}
 3930    { (exit 1); exit 1; }; }
 3931 fi
 3932 
 3933 fi
 3934 
 3935 
 3936 	# Check whether --enable-lfs or --disable-lfs was given.
 3937 if test "${enable_lfs+set}" = set; then
 3938   enableval="$enable_lfs"
 3939 
 3940 else
 3941   enableval=no
 3942 fi;
 3943 	if test "$enableval" = yes; then
 3944 		{ echo "$as_me:$LINENO: 'lfs' feature is enabled" >&5
 3945 echo "$as_me: 'lfs' feature is enabled" >&6;}
 3946 		CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 3947 	fi
 3948 
 3949 #Q_ARG_ENABLE([sendfile], [use sendfile() if possible], [-DENABLE_SENDFILE])
 3950 
 3951 # Check whether --enable-fastcgi or --disable-fastcgi was given.
 3952 if test "${enable_fastcgi+set}" = set; then
 3953   enableval="$enable_fastcgi"
 3954   enableval=yes
 3955 else
 3956   enableval=no
 3957 fi;
 3958 if test "$enableval" = yes; then
 3959 	as_ac_File=`echo "ac_cv_file_$enable_fastcgi/fcgi_stdio.h" | $as_tr_sh`
 3960 echo "$as_me:$LINENO: checking for $enable_fastcgi/fcgi_stdio.h" >&5
 3961 echo $ECHO_N "checking for $enable_fastcgi/fcgi_stdio.h... $ECHO_C" >&6
 3962 if eval "test \"\${$as_ac_File+set}\" = set"; then
 3963   echo $ECHO_N "(cached) $ECHO_C" >&6
 3964 else
 3965   test "$cross_compiling" = yes &&
 3966   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 3967 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 3968    { (exit 1); exit 1; }; }
 3969 if test -r "$enable_fastcgi/fcgi_stdio.h"; then
 3970   eval "$as_ac_File=yes"
 3971 else
 3972   eval "$as_ac_File=no"
 3973 fi
 3974 fi
 3975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
 3976 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
 3977 if test `eval echo '${'$as_ac_File'}'` = yes; then
 3978   enableval=yes
 3979 else
 3980   enableval=no
 3981 fi
 3982 
 3983 	if test "$enableval" = yes; then
 3984 		{ echo "$as_me:$LINENO: 'fastcgi' feature is enabled" >&5
 3985 echo "$as_me: 'fastcgi' feature is enabled" >&6;}
 3986 		CPPFLAGS="$CPPFLAGS -DENABLE_FASTCGI -I$enable_fastcgi"
 3987 	else
 3988 		{ { echo "$as_me:$LINENO: error: can't find 'fcgi_stdio.h' header file in '$enable_fastcgi' directory. can't enable fastcgi support.
 3989 See \`config.log' for more details." >&5
 3990 echo "$as_me: error: can't find 'fcgi_stdio.h' header file in '$enable_fastcgi' directory. can't enable fastcgi support.
 3991 See \`config.log' for more details." >&2;}
 3992    { (exit 1); exit 1; }; }
 3993 	fi
 3994 fi
 3995 
 3996 # Check whether --enable-mysql or --disable-mysql was given.
 3997 if test "${enable_mysql+set}" = set; then
 3998   enableval="$enable_mysql"
 3999   enableval=yes
 4000 else
 4001   enableval=no
 4002 fi;
 4003 if test "$enableval" = yes; then
 4004 	as_ac_File=`echo "ac_cv_file_$enable_mysql/mysql.h" | $as_tr_sh`
 4005 echo "$as_me:$LINENO: checking for $enable_mysql/mysql.h" >&5
 4006 echo $ECHO_N "checking for $enable_mysql/mysql.h... $ECHO_C" >&6
 4007 if eval "test \"\${$as_ac_File+set}\" = set"; then
 4008   echo $ECHO_N "(cached) $ECHO_C" >&6
 4009 else
 4010   test "$cross_compiling" = yes &&
 4011   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 4012 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 4013    { (exit 1); exit 1; }; }
 4014 if test -r "$enable_mysql/mysql.h"; then
 4015   eval "$as_ac_File=yes"
 4016 else
 4017   eval "$as_ac_File=no"
 4018 fi
 4019 fi
 4020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
 4021 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
 4022 if test `eval echo '${'$as_ac_File'}'` = yes; then
 4023   enableval=yes
 4024 else
 4025   enableval=no
 4026 fi
 4027 
 4028 	if test "$enableval" = yes; then
 4029 		{ echo "$as_me:$LINENO: 'mysql' feature is enabled" >&5
 4030 echo "$as_me: 'mysql' feature is enabled" >&6;}
 4031 		CPPFLAGS="$CPPFLAGS -DENABLE_MYSQL -I$enable_mysql"
 4032 	else
 4033 		{ { echo "$as_me:$LINENO: error: can't find 'mysql.h' header file in '$enable_mysql' directory. can't enable mysql support.
 4034 See \`config.log' for more details." >&5
 4035 echo "$as_me: error: can't find 'mysql.h' header file in '$enable_mysql' directory. can't enable mysql support.
 4036 See \`config.log' for more details." >&2;}
 4037    { (exit 1); exit 1; }; }
 4038 	fi
 4039 fi
 4040 
 4041 
 4042 	# Check whether --enable-cgi or --disable-cgi was given.
 4043 if test "${enable_cgi+set}" = set; then
 4044   enableval="$enable_cgi"
 4045 
 4046 else
 4047   enableval=yes
 4048 fi;
 4049 	if test "$enableval" = no; then
 4050 		{ echo "$as_me:$LINENO: 'cgi' feature is disabled" >&5
 4051 echo "$as_me: 'cgi' feature is disabled" >&6;}
 4052 		CPPFLAGS="$CPPFLAGS -DDISABLE_CGI"
 4053 	fi
 4054 
 4055 
 4056 	# Check whether --enable-socket or --disable-socket was given.
 4057 if test "${enable_socket+set}" = set; then
 4058   enableval="$enable_socket"
 4059 
 4060 else
 4061   enableval=yes
 4062 fi;
 4063 	if test "$enableval" = no; then
 4064 		{ echo "$as_me:$LINENO: 'socket' feature is disabled" >&5
 4065 echo "$as_me: 'socket' feature is disabled" >&6;}
 4066 		CPPFLAGS="$CPPFLAGS -DDISABLE_SOCKET"
 4067 	fi
 4068 
 4069 
 4070 	# Check whether --enable-ipc or --disable-ipc was given.
 4071 if test "${enable_ipc+set}" = set; then
 4072   enableval="$enable_ipc"
 4073 
 4074 else
 4075   enableval=yes
 4076 fi;
 4077 	if test "$enableval" = no; then
 4078 		{ echo "$as_me:$LINENO: 'ipc' feature is disabled" >&5
 4079 echo "$as_me: 'ipc' feature is disabled" >&6;}
 4080 		CPPFLAGS="$CPPFLAGS -DDISABLE_IPC"
 4081 	fi
 4082 
 4083 
 4084 	# Check whether --enable-datastructure or --disable-datastructure was given.
 4085 if test "${enable_datastructure+set}" = set; then
 4086   enableval="$enable_datastructure"
 4087 
 4088 else
 4089   enableval=yes
 4090 fi;
 4091 	if test "$enableval" = no; then
 4092 		{ echo "$as_me:$LINENO: 'datastructure' feature is disabled" >&5
 4093 echo "$as_me: 'datastructure' feature is disabled" >&6;}
 4094 		CPPFLAGS="$CPPFLAGS -DDISABLE_DATASTRUCTURE"
 4095 	fi
 4096 
 4097 
 4098 { echo "$as_me:$LINENO: CFLAGS $CFLAGS" >&5
 4099 echo "$as_me: CFLAGS $CFLAGS" >&6;}
 4100 { echo "$as_me:$LINENO: CPPFLAGS $CPPFLAGS" >&5
 4101 echo "$as_me: CPPFLAGS $CPPFLAGS" >&6;}
 4102 #AC_MSG_NOTICE([LIBS $LIBS])
 4103 
 4104 ## Create Makefile
 4105 cat >confcache <<\_ACEOF
 4106 # This file is a shell script that caches the results of configure
 4107 # tests run on this system so they can be shared between configure
 4108 # scripts and configure runs, see configure's option --config-cache.
 4109 # It is not useful on other systems.  If it contains results you don't
 4110 # want to keep, you may remove or edit it.
 4111 #
 4112 # config.status only pays attention to the cache file if you give it
 4113 # the --recheck option to rerun configure.
 4114 #
 4115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 4116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 4117 # following values.
 4118 
 4119 _ACEOF
 4120 
 4121 # The following way of writing the cache mishandles newlines in values,
 4122 # but we know of no workaround that is simple, portable, and efficient.
 4123 # So, don't put newlines in cache variables' values.
 4124 # Ultrix sh set writes to stderr and can't be redirected directly,
 4125 # and sets the high bit in the cache file unless we assign to the vars.
 4126 {
 4127   (set) 2>&1 |
 4128     case `(ac_space=' '; set | grep ac_space) 2>&1` in
 4129     *ac_space=\ *)
 4130       # `set' does not quote correctly, so add quotes (double-quote
 4131       # substitution turns \\\\ into \\, and sed turns \\ into \).
 4132       sed -n \
 4133 	"s/'/'\\\\''/g;
 4134 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 4135       ;;
 4136     *)
 4137       # `set' quotes correctly as required by POSIX, so do not add quotes.
 4138       sed -n \
 4139 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 4140       ;;
 4141     esac;
 4142 } |
 4143   sed '
 4144      t clear
 4145      : clear
 4146      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 4147      t end
 4148      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 4149      : end' >>confcache
 4150 if diff $cache_file confcache >/dev/null 2>&1; then :; else
 4151   if test -w $cache_file; then
 4152     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 4153     cat confcache >$cache_file
 4154   else
 4155     echo "not updating unwritable cache $cache_file"
 4156   fi
 4157 fi
 4158 rm -f confcache
 4159 
 4160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 4161 # Let make expand exec_prefix.
 4162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 4163 
 4164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 4165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 4166 # trailing colons and then remove the whole line if VPATH becomes empty
 4167 # (actually we leave an empty line to preserve line numbers).
 4168 if test "x$srcdir" = x.; then
 4169   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 4170 s/:*\$(srcdir):*/:/;
 4171 s/:*\${srcdir}:*/:/;
 4172 s/:*@srcdir@:*/:/;
 4173 s/^\([^=]*=[	 ]*\):*/\1/;
 4174 s/:*$//;
 4175 s/^[^=]*=[	 ]*$//;
 4176 }'
 4177 fi
 4178 
 4179 DEFS=-DHAVE_CONFIG_H
 4180 
 4181 ac_libobjs=
 4182 ac_ltlibobjs=
 4183 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 4184   # 1. Remove the extension, and $U if already installed.
 4185   ac_i=`echo "$ac_i" |
 4186 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
 4187   # 2. Add them.
 4188   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
 4189   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 4190 done
 4191 LIBOBJS=$ac_libobjs
 4192 
 4193 LTLIBOBJS=$ac_ltlibobjs
 4194 
 4195 
 4196 
 4197 : ${CONFIG_STATUS=./config.status}
 4198 ac_clean_files_save=$ac_clean_files
 4199 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 4200 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 4201 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 4202 cat >$CONFIG_STATUS <<_ACEOF
 4203 #! $SHELL
 4204 # Generated by $as_me.
 4205 # Run this file to recreate the current configuration.
 4206 # Compiler output produced by configure, useful for debugging
 4207 # configure, is in config.log if it exists.
 4208 
 4209 debug=false
 4210 ac_cs_recheck=false
 4211 ac_cs_silent=false
 4212 SHELL=\${CONFIG_SHELL-$SHELL}
 4213 _ACEOF
 4214 
 4215 cat >>$CONFIG_STATUS <<\_ACEOF
 4216 ## --------------------- ##
 4217 ## M4sh Initialization.  ##
 4218 ## --------------------- ##
 4219 
 4220 # Be Bourne compatible
 4221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 4222   emulate sh
 4223   NULLCMD=:
 4224   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 4225   # is contrary to our usage.  Disable this feature.
 4226   alias -g '${1+"$@"}'='"$@"'
 4227 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
 4228   set -o posix
 4229 fi
 4230 DUALCASE=1; export DUALCASE # for MKS sh
 4231 
 4232 # Support unset when possible.
 4233 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 4234   as_unset=unset
 4235 else
 4236   as_unset=false
 4237 fi
 4238 
 4239 
 4240 # Work around bugs in pre-3.0 UWIN ksh.
 4241 $as_unset ENV MAIL MAILPATH
 4242 PS1='$ '
 4243 PS2='> '
 4244 PS4='+ '
 4245 
 4246 # NLS nuisances.
 4247 for as_var in \
 4248   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 4249   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 4250   LC_TELEPHONE LC_TIME
 4251 do
 4252   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 4253     eval $as_var=C; export $as_var
 4254   else
 4255     $as_unset $as_var
 4256   fi
 4257 done
 4258 
 4259 # Required to use basename.
 4260 if expr a : '\(a\)' >/dev/null 2>&1; then
 4261   as_expr=expr
 4262 else
 4263   as_expr=false
 4264 fi
 4265 
 4266 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 4267   as_basename=basename
 4268 else
 4269   as_basename=false
 4270 fi
 4271 
 4272 
 4273 # Name of the executable.
 4274 as_me=`$as_basename "$0" ||
 4275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 4276 	 X"$0" : 'X\(//\)$' \| \
 4277 	 X"$0" : 'X\(/\)$' \| \
 4278 	 .     : '\(.\)' 2>/dev/null ||
 4279 echo X/"$0" |
 4280     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
 4281   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
 4282   	  /^X\/\(\/\).*/{ s//\1/; q; }
 4283   	  s/.*/./; q'`
 4284 
 4285 
 4286 # PATH needs CR, and LINENO needs CR and PATH.
 4287 # Avoid depending upon Character Ranges.
 4288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 4289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 4290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 4291 as_cr_digits='0123456789'
 4292 as_cr_alnum=$as_cr_Letters$as_cr_digits
 4293 
 4294 # The user is always right.
 4295 if test "${PATH_SEPARATOR+set}" != set; then
 4296   echo "#! /bin/sh" >conf$$.sh
 4297   echo  "exit 0"   >>conf$$.sh
 4298   chmod +x conf$$.sh
 4299   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 4300     PATH_SEPARATOR=';'
 4301   else
 4302     PATH_SEPARATOR=:
 4303   fi
 4304   rm -f conf$$.sh
 4305 fi
 4306 
 4307 
 4308   as_lineno_1=$LINENO
 4309   as_lineno_2=$LINENO
 4310   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 4311   test "x$as_lineno_1" != "x$as_lineno_2" &&
 4312   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
 4313   # Find who we are.  Look in the path if we contain no path at all
 4314   # relative or not.
 4315   case $0 in
 4316     *[\\/]* ) as_myself=$0 ;;
 4317     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4318 for as_dir in $PATH
 4319 do
 4320   IFS=$as_save_IFS
 4321   test -z "$as_dir" && as_dir=.
 4322   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 4323 done
 4324 
 4325        ;;
 4326   esac
 4327   # We did not find ourselves, most probably we were run as `sh COMMAND'
 4328   # in which case we are not to be found in the path.
 4329   if test "x$as_myself" = x; then
 4330     as_myself=$0
 4331   fi
 4332   if test ! -f "$as_myself"; then
 4333     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
 4334 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
 4335    { (exit 1); exit 1; }; }
 4336   fi
 4337   case $CONFIG_SHELL in
 4338   '')
 4339     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4340 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 4341 do
 4342   IFS=$as_save_IFS
 4343   test -z "$as_dir" && as_dir=.
 4344   for as_base in sh bash ksh sh5; do
 4345 	 case $as_dir in
 4346 	 /*)
 4347 	   if ("$as_dir/$as_base" -c '
 4348   as_lineno_1=$LINENO
 4349   as_lineno_2=$LINENO
 4350   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
 4351   test "x$as_lineno_1" != "x$as_lineno_2" &&
 4352   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
 4353 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
 4354 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
 4355 	     CONFIG_SHELL=$as_dir/$as_base
 4356 	     export CONFIG_SHELL
 4357 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
 4358 	   fi;;
 4359 	 esac
 4360        done
 4361 done
 4362 ;;
 4363   esac
 4364 
 4365   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 4366   # uniformly replaced by the line number.  The first 'sed' inserts a
 4367   # line-number line before each line; the second 'sed' does the real
 4368   # work.  The second script uses 'N' to pair each line-number line
 4369   # with the numbered line, and appends trailing '-' during
 4370   # substitution so that $LINENO is not a special case at line end.
 4371   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 4372   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
 4373   sed '=' <$as_myself |
 4374     sed '
 4375       N
 4376       s,$,-,
 4377       : loop
 4378       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 4379       t loop
 4380       s,-$,,
 4381       s,^['$as_cr_digits']*\n,,
 4382     ' >$as_me.lineno &&
 4383   chmod +x $as_me.lineno ||
 4384     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
 4385 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 4386    { (exit 1); exit 1; }; }
 4387 
 4388   # Don't try to exec as it changes $[0], causing all sort of problems
 4389   # (the dirname of $[0] is not the place where we might find the
 4390   # original and so on.  Autoconf is especially sensible to this).
 4391   . ./$as_me.lineno
 4392   # Exit status is that of the last command.
 4393   exit
 4394 }
 4395 
 4396 
 4397 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 4398   *c*,-n*) ECHO_N= ECHO_C='
 4399 ' ECHO_T='	' ;;
 4400   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 4401   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 4402 esac
 4403 
 4404 if expr a : '\(a\)' >/dev/null 2>&1; then
 4405   as_expr=expr
 4406 else
 4407   as_expr=false
 4408 fi
 4409 
 4410 rm -f conf$$ conf$$.exe conf$$.file
 4411 echo >conf$$.file
 4412 if ln -s conf$$.file conf$$ 2>/dev/null; then
 4413   # We could just check for DJGPP; but this test a) works b) is more generic
 4414   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
 4415   if test -f conf$$.exe; then
 4416     # Don't use ln at all; we don't have any links
 4417     as_ln_s='cp -p'
 4418   else
 4419     as_ln_s='ln -s'
 4420   fi
 4421 elif ln conf$$.file conf$$ 2>/dev/null; then
 4422   as_ln_s=ln
 4423 else
 4424   as_ln_s='cp -p'
 4425 fi
 4426 rm -f conf$$ conf$$.exe conf$$.file
 4427 
 4428 if mkdir -p . 2>/dev/null; then
 4429   as_mkdir_p=:
 4430 else
 4431   test -d ./-p && rmdir ./-p
 4432   as_mkdir_p=false
 4433 fi
 4434 
 4435 as_executable_p="test -f"
 4436 
 4437 # Sed expression to map a string onto a valid CPP name.
 4438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 4439 
 4440 # Sed expression to map a string onto a valid variable name.
 4441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 4442 
 4443 
 4444 # IFS
 4445 # We need space, tab and new line, in precisely that order.
 4446 as_nl='
 4447 '
 4448 IFS=" 	$as_nl"
 4449 
 4450 # CDPATH.
 4451 $as_unset CDPATH
 4452 
 4453 exec 6>&1
 4454 
 4455 # Open the log real soon, to keep \$[0] and so on meaningful, and to
 4456 # report actual input values of CONFIG_FILES etc. instead of their
 4457 # values after options handling.  Logging --version etc. is OK.
 4458 exec 5>>config.log
 4459 {
 4460   echo
 4461   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 4462 ## Running $as_me. ##
 4463 _ASBOX
 4464 } >&5
 4465 cat >&5 <<_CSEOF
 4466 
 4467 This file was extended by qDecoder $as_me 10 RELEASE, which was
 4468 generated by GNU Autoconf 2.59.  Invocation command line was
 4469 
 4470   CONFIG_FILES    = $CONFIG_FILES
 4471   CONFIG_HEADERS  = $CONFIG_HEADERS
 4472   CONFIG_LINKS    = $CONFIG_LINKS
 4473   CONFIG_COMMANDS = $CONFIG_COMMANDS
 4474   $ $0 $@
 4475 
 4476 _CSEOF
 4477 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
 4478 echo >&5
 4479 _ACEOF
 4480 
 4481 # Files that config.status was made for.
 4482 if test -n "$ac_config_files"; then
 4483   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
 4484 fi
 4485 
 4486 if test -n "$ac_config_headers"; then
 4487   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
 4488 fi
 4489 
 4490 if test -n "$ac_config_links"; then
 4491   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
 4492 fi
 4493 
 4494 if test -n "$ac_config_commands"; then
 4495   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
 4496 fi
 4497 
 4498 cat >>$CONFIG_STATUS <<\_ACEOF
 4499 
 4500 ac_cs_usage="\
 4501 \`$as_me' instantiates files from templates according to the
 4502 current configuration.
 4503 
 4504 Usage: $0 [OPTIONS] [FILE]...
 4505 
 4506   -h, --help       print this help, then exit
 4507   -V, --version    print version number, then exit
 4508   -q, --quiet      do not print progress messages
 4509   -d, --debug      don't remove temporary files
 4510       --recheck    update $as_me by reconfiguring in the same conditions
 4511   --file=FILE[:TEMPLATE]
 4512 		   instantiate the configuration file FILE
 4513   --header=FILE[:TEMPLATE]
 4514 		   instantiate the configuration header FILE
 4515 
 4516 Configuration files:
 4517 $config_files
 4518 
 4519 Configuration headers:
 4520 $config_headers
 4521 
 4522 Report bugs to <bug-autoconf@gnu.org>."
 4523 _ACEOF
 4524 
 4525 cat >>$CONFIG_STATUS <<_ACEOF
 4526 ac_cs_version="\\
 4527 qDecoder config.status 10 RELEASE
 4528 configured by $0, generated by GNU Autoconf 2.59,
 4529   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 4530 
 4531 Copyright (C) 2003 Free Software Foundation, Inc.
 4532 This config.status script is free software; the Free Software Foundation
 4533 gives unlimited permission to copy, distribute and modify it."
 4534 srcdir=$srcdir
 4535 INSTALL="$INSTALL"
 4536 _ACEOF
 4537 
 4538 cat >>$CONFIG_STATUS <<\_ACEOF
 4539 # If no file are specified by the user, then we need to provide default
 4540 # value.  By we need to know if files were specified by the user.
 4541 ac_need_defaults=:
 4542 while test $# != 0
 4543 do
 4544   case $1 in
 4545   --*=*)
 4546     ac_option=`expr "x$1" : 'x\([^=]*\)='`
 4547     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 4548     ac_shift=:
 4549     ;;
 4550   -*)
 4551     ac_option=$1
 4552     ac_optarg=$2
 4553     ac_shift=shift
 4554     ;;
 4555   *) # This is not an option, so the user has probably given explicit
 4556      # arguments.
 4557      ac_option=$1
 4558      ac_need_defaults=false;;
 4559   esac
 4560 
 4561   case $ac_option in
 4562   # Handling of the options.
 4563 _ACEOF
 4564 cat >>$CONFIG_STATUS <<\_ACEOF
 4565   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 4566     ac_cs_recheck=: ;;
 4567   --version | --vers* | -V )
 4568     echo "$ac_cs_version"; exit 0 ;;
 4569   --he | --h)
 4570     # Conflict between --help and --header
 4571     { { echo "$as_me:$LINENO: error: ambiguous option: $1
 4572 Try \`$0 --help' for more information." >&5
 4573 echo "$as_me: error: ambiguous option: $1
 4574 Try \`$0 --help' for more information." >&2;}
 4575    { (exit 1); exit 1; }; };;
 4576   --help | --hel | -h )
 4577     echo "$ac_cs_usage"; exit 0 ;;
 4578   --debug | --d* | -d )
 4579     debug=: ;;
 4580   --file | --fil | --fi | --f )
 4581     $ac_shift
 4582     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 4583     ac_need_defaults=false;;
 4584   --header | --heade | --head | --hea )
 4585     $ac_shift
 4586     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 4587     ac_need_defaults=false;;
 4588   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 4589   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 4590     ac_cs_silent=: ;;
 4591 
 4592   # This is an error.
 4593   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
 4594 Try \`$0 --help' for more information." >&5
 4595 echo "$as_me: error: unrecognized option: $1
 4596 Try \`$0 --help' for more information." >&2;}
 4597    { (exit 1); exit 1; }; } ;;
 4598 
 4599   *) ac_config_targets="$ac_config_targets $1" ;;
 4600 
 4601   esac
 4602   shift
 4603 done
 4604 
 4605 ac_configure_extra_args=
 4606 
 4607 if $ac_cs_silent; then
 4608   exec 6>/dev/null
 4609   ac_configure_extra_args="$ac_configure_extra_args --silent"
 4610 fi
 4611 
 4612 _ACEOF
 4613 cat >>$CONFIG_STATUS <<_ACEOF
 4614 if \$ac_cs_recheck; then
 4615   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 4616   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 4617 fi
 4618 
 4619 _ACEOF
 4620 
 4621 
 4622 
 4623 
 4624 
 4625 cat >>$CONFIG_STATUS <<\_ACEOF
 4626 for ac_config_target in $ac_config_targets
 4627 do
 4628   case "$ac_config_target" in
 4629   # Handling of arguments.
 4630   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 4631   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 4632   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
 4633   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 4634   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 4635 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 4636    { (exit 1); exit 1; }; };;
 4637   esac
 4638 done
 4639 
 4640 # If the user did not use the arguments to specify the items to instantiate,
 4641 # then the envvar interface is used.  Set only those that are not.
 4642 # We use the long form for the default assignment because of an extremely
 4643 # bizarre bug on SunOS 4.1.3.
 4644 if $ac_need_defaults; then
 4645   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 4646   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 4647 fi
 4648 
 4649 # Have a temporary directory for convenience.  Make it in the build tree
 4650 # simply because there is no reason to put it here, and in addition,
 4651 # creating and moving files from /tmp can sometimes cause problems.
 4652 # Create a temporary directory, and hook for its removal unless debugging.
 4653 $debug ||
 4654 {
 4655   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 4656   trap '{ (exit 1); exit 1; }' 1 2 13 15
 4657 }
 4658 
 4659 # Create a (secure) tmp directory for tmp files.
 4660 
 4661 {
 4662   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 4663   test -n "$tmp" && test -d "$tmp"
 4664 }  ||
 4665 {
 4666   tmp=./confstat$$-$RANDOM
 4667   (umask 077 && mkdir $tmp)
 4668 } ||
 4669 {
 4670    echo "$me: cannot create a temporary directory in ." >&2
 4671    { (exit 1); exit 1; }
 4672 }
 4673 
 4674 _ACEOF
 4675 
 4676 cat >>$CONFIG_STATUS <<_ACEOF
 4677 
 4678 #
 4679 # CONFIG_FILES section.
 4680 #
 4681 
 4682 # No need to generate the scripts if there are no CONFIG_FILES.
 4683 # This happens for instance when ./config.status config.h
 4684 if test -n "\$CONFIG_FILES"; then
 4685   # Protect against being on the right side of a sed subst in config.status.
 4686   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
 4687    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 4688 s,@SHELL@,$SHELL,;t t
 4689 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 4690 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 4691 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 4692 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 4693 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 4694 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 4695 s,@exec_prefix@,$exec_prefix,;t t
 4696 s,@prefix@,$prefix,;t t
 4697 s,@program_transform_name@,$program_transform_name,;t t
 4698 s,@bindir@,$bindir,;t t
 4699 s,@sbindir@,$sbindir,;t t
 4700 s,@libexecdir@,$libexecdir,;t t
 4701 s,@datadir@,$datadir,;t t
 4702 s,@sysconfdir@,$sysconfdir,;t t
 4703 s,@sharedstatedir@,$sharedstatedir,;t t
 4704 s,@localstatedir@,$localstatedir,;t t
 4705 s,@libdir@,$libdir,;t t
 4706 s,@includedir@,$includedir,;t t
 4707 s,@oldincludedir@,$oldincludedir,;t t
 4708 s,@infodir@,$infodir,;t t
 4709 s,@mandir@,$mandir,;t t
 4710 s,@build_alias@,$build_alias,;t t
 4711 s,@host_alias@,$host_alias,;t t
 4712 s,@target_alias@,$target_alias,;t t
 4713 s,@DEFS@,$DEFS,;t t
 4714 s,@ECHO_C@,$ECHO_C,;t t
 4715 s,@ECHO_N@,$ECHO_N,;t t
 4716 s,@ECHO_T@,$ECHO_T,;t t
 4717 s,@LIBS@,$LIBS,;t t
 4718 s,@CC@,$CC,;t t
 4719 s,@CFLAGS@,$CFLAGS,;t t
 4720 s,@LDFLAGS@,$LDFLAGS,;t t
 4721 s,@CPPFLAGS@,$CPPFLAGS,;t t
 4722 s,@ac_ct_CC@,$ac_ct_CC,;t t
 4723 s,@EXEEXT@,$EXEEXT,;t t
 4724 s,@OBJEXT@,$OBJEXT,;t t
 4725 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 4726 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 4727 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 4728 s,@LN_S@,$LN_S,;t t
 4729 s,@SET_MAKE@,$SET_MAKE,;t t
 4730 s,@RANLIB@,$RANLIB,;t t
 4731 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
 4732 s,@AR@,$AR,;t t
 4733 s,@CHMOD@,$CHMOD,;t t
 4734 s,@LD@,$LD,;t t
 4735 s,@RM@,$RM,;t t
 4736 s,@CPP@,$CPP,;t t
 4737 s,@EGREP@,$EGREP,;t t
 4738 s,@LIBOBJS@,$LIBOBJS,;t t
 4739 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
 4740 CEOF
 4741 
 4742 _ACEOF
 4743 
 4744   cat >>$CONFIG_STATUS <<\_ACEOF
 4745   # Split the substitutions into bite-sized pieces for seds with
 4746   # small command number limits, like on Digital OSF/1 and HP-UX.
 4747   ac_max_sed_lines=48
 4748   ac_sed_frag=1 # Number of current file.
 4749   ac_beg=1 # First line for current file.
 4750   ac_end=$ac_max_sed_lines # Line after last line for current file.
 4751   ac_more_lines=:
 4752   ac_sed_cmds=
 4753   while $ac_more_lines; do
 4754     if test $ac_beg -gt 1; then
 4755       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 4756     else
 4757       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
 4758     fi
 4759     if test ! -s $tmp/subs.frag; then
 4760       ac_more_lines=false
 4761     else
 4762       # The purpose of the label and of the branching condition is to
 4763       # speed up the sed processing (if there are no `@' at all, there
 4764       # is no need to browse any of the substitutions).
 4765       # These are the two extra sed commands mentioned above.
 4766       (echo ':t
 4767   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
 4768       if test -z "$ac_sed_cmds"; then
 4769 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
 4770       else
 4771 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
 4772       fi
 4773       ac_sed_frag=`expr $ac_sed_frag + 1`
 4774       ac_beg=$ac_end
 4775       ac_end=`expr $ac_end + $ac_max_sed_lines`
 4776     fi
 4777   done
 4778   if test -z "$ac_sed_cmds"; then
 4779     ac_sed_cmds=cat
 4780   fi
 4781 fi # test -n "$CONFIG_FILES"
 4782 
 4783 _ACEOF
 4784 cat >>$CONFIG_STATUS <<\_ACEOF
 4785 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
 4786   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 4787   case $ac_file in
 4788   - | *:- | *:-:* ) # input from stdin
 4789 	cat >$tmp/stdin
 4790 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 4791 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 4792   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 4793 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 4794   * )   ac_file_in=$ac_file.in ;;
 4795   esac
 4796 
 4797   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
 4798   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 4799 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4800 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 4801 	 X"$ac_file" : 'X\(//\)$' \| \
 4802 	 X"$ac_file" : 'X\(/\)' \| \
 4803 	 .     : '\(.\)' 2>/dev/null ||
 4804 echo X"$ac_file" |
 4805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 4806   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 4807   	  /^X\(\/\/\)$/{ s//\1/; q; }
 4808   	  /^X\(\/\).*/{ s//\1/; q; }
 4809   	  s/.*/./; q'`
 4810   { if $as_mkdir_p; then
 4811     mkdir -p "$ac_dir"
 4812   else
 4813     as_dir="$ac_dir"
 4814     as_dirs=
 4815     while test ! -d "$as_dir"; do
 4816       as_dirs="$as_dir $as_dirs"
 4817       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 4818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 4819 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 4820 	 X"$as_dir" : 'X\(//\)$' \| \
 4821 	 X"$as_dir" : 'X\(/\)' \| \
 4822 	 .     : '\(.\)' 2>/dev/null ||
 4823 echo X"$as_dir" |
 4824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 4825   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 4826   	  /^X\(\/\/\)$/{ s//\1/; q; }
 4827   	  /^X\(\/\).*/{ s//\1/; q; }
 4828   	  s/.*/./; q'`
 4829     done
 4830     test ! -n "$as_dirs" || mkdir $as_dirs
 4831   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 4832 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 4833    { (exit 1); exit 1; }; }; }
 4834 
 4835   ac_builddir=.
 4836 
 4837 if test "$ac_dir" != .; then
 4838   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 4839   # A "../" for each directory in $ac_dir_suffix.
 4840   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
 4841 else
 4842   ac_dir_suffix= ac_top_builddir=
 4843 fi
 4844 
 4845 case $srcdir in
 4846   .)  # No --srcdir option.  We are building in place.
 4847     ac_srcdir=.
 4848     if test -z "$ac_top_builddir"; then
 4849        ac_top_srcdir=.
 4850     else
 4851        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
 4852     fi ;;
 4853   [\\/]* | ?:[\\/]* )  # Absolute path.
 4854     ac_srcdir=$srcdir$ac_dir_suffix;
 4855     ac_top_srcdir=$srcdir ;;
 4856   *) # Relative path.
 4857     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
 4858     ac_top_srcdir=$ac_top_builddir$srcdir ;;
 4859 esac
 4860 
 4861 # Do not use `cd foo && pwd` to compute absolute paths, because
 4862 # the directories may not exist.
 4863 case `pwd` in
 4864 .) ac_abs_builddir="$ac_dir";;
 4865 *)
 4866   case "$ac_dir" in
 4867   .) ac_abs_builddir=`pwd`;;
 4868   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
 4869   *) ac_abs_builddir=`pwd`/"$ac_dir";;
 4870   esac;;
 4871 esac
 4872 case $ac_abs_builddir in
 4873 .) ac_abs_top_builddir=${ac_top_builddir}.;;
 4874 *)
 4875   case ${ac_top_builddir}. in
 4876   .) ac_abs_top_builddir=$ac_abs_builddir;;
 4877   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
 4878   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
 4879   esac;;
 4880 esac
 4881 case $ac_abs_builddir in
 4882 .) ac_abs_srcdir=$ac_srcdir;;
 4883 *)
 4884   case $ac_srcdir in
 4885   .) ac_abs_srcdir=$ac_abs_builddir;;
 4886   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
 4887   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
 4888   esac;;
 4889 esac
 4890 case $ac_abs_builddir in
 4891 .) ac_abs_top_srcdir=$ac_top_srcdir;;
 4892 *)
 4893   case $ac_top_srcdir in
 4894   .) ac_abs_top_srcdir=$ac_abs_builddir;;
 4895   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
 4896   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
 4897   esac;;
 4898 esac
 4899 
 4900 
 4901   case $INSTALL in
 4902   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 4903   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 4904   esac
 4905 
 4906   if test x"$ac_file" != x-; then
 4907     { echo "$as_me:$LINENO: creating $ac_file" >&5
 4908 echo "$as_me: creating $ac_file" >&6;}
 4909     rm -f "$ac_file"
 4910   fi
 4911   # Let's still pretend it is `configure' which instantiates (i.e., don't
 4912   # use $as_me), people would be surprised to read:
 4913   #    /* config.h.  Generated by config.status.  */
 4914   if test x"$ac_file" = x-; then
 4915     configure_input=
 4916   else
 4917     configure_input="$ac_file.  "
 4918   fi
 4919   configure_input=$configure_input"Generated from `echo $ac_file_in |
 4920 				     sed 's,.*/,,'` by configure."
 4921 
 4922   # First look for the input files in the build tree, otherwise in the
 4923   # src tree.
 4924   ac_file_inputs=`IFS=:
 4925     for f in $ac_file_in; do
 4926       case $f in
 4927       -) echo $tmp/stdin ;;
 4928       [\\/$]*)
 4929 	 # Absolute (can't be DOS-style, as IFS=:)
 4930 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 4931 echo "$as_me: error: cannot find input file: $f" >&2;}
 4932    { (exit 1); exit 1; }; }
 4933 	 echo "$f";;
 4934       *) # Relative
 4935 	 if test -f "$f"; then
 4936 	   # Build tree
 4937 	   echo "$f"
 4938 	 elif test -f "$srcdir/$f"; then
 4939 	   # Source tree
 4940 	   echo "$srcdir/$f"
 4941 	 else
 4942 	   # /dev/null tree
 4943 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 4944 echo "$as_me: error: cannot find input file: $f" >&2;}
 4945    { (exit 1); exit 1; }; }
 4946 	 fi;;
 4947       esac
 4948     done` || { (exit 1); exit 1; }
 4949 _ACEOF
 4950 cat >>$CONFIG_STATUS <<_ACEOF
 4951   sed "$ac_vpsub
 4952 $extrasub
 4953 _ACEOF
 4954 cat >>$CONFIG_STATUS <<\_ACEOF
 4955 :t
 4956 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 4957 s,@configure_input@,$configure_input,;t t
 4958 s,@srcdir@,$ac_srcdir,;t t
 4959 s,@abs_srcdir@,$ac_abs_srcdir,;t t
 4960 s,@top_srcdir@,$ac_top_srcdir,;t t
 4961 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
 4962 s,@builddir@,$ac_builddir,;t t
 4963 s,@abs_builddir@,$ac_abs_builddir,;t t
 4964 s,@top_builddir@,$ac_top_builddir,;t t
 4965 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
 4966 s,@INSTALL@,$ac_INSTALL,;t t
 4967 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
 4968   rm -f $tmp/stdin
 4969   if test x"$ac_file" != x-; then
 4970     mv $tmp/out $ac_file
 4971   else
 4972     cat $tmp/out
 4973     rm -f $tmp/out
 4974   fi
 4975 
 4976 done
 4977 _ACEOF
 4978 cat >>$CONFIG_STATUS <<\_ACEOF
 4979 
 4980 #
 4981 # CONFIG_HEADER section.
 4982 #
 4983 
 4984 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
 4985 # NAME is the cpp macro being defined and VALUE is the value it is being given.
 4986 #
 4987 # ac_d sets the value in "#define NAME VALUE" lines.
 4988 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
 4989 ac_dB='[	 ].*$,\1#\2'
 4990 ac_dC=' '
 4991 ac_dD=',;t'
 4992 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 4993 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
 4994 ac_uB='$,\1#\2define\3'
 4995 ac_uC=' '
 4996 ac_uD=',;t'
 4997 
 4998 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
 4999   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 5000   case $ac_file in
 5001   - | *:- | *:-:* ) # input from stdin
 5002 	cat >$tmp/stdin
 5003 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 5004 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 5005   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
 5006 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
 5007   * )   ac_file_in=$ac_file.in ;;
 5008   esac
 5009 
 5010   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
 5011 echo "$as_me: creating $ac_file" >&6;}
 5012 
 5013   # First look for the input files in the build tree, otherwise in the
 5014   # src tree.
 5015   ac_file_inputs=`IFS=:
 5016     for f in $ac_file_in; do
 5017       case $f in
 5018       -) echo $tmp/stdin ;;
 5019       [\\/$]*)
 5020 	 # Absolute (can't be DOS-style, as IFS=:)
 5021 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 5022 echo "$as_me: error: cannot find input file: $f" >&2;}
 5023    { (exit 1); exit 1; }; }
 5024 	 # Do quote $f, to prevent DOS paths from being IFS'd.
 5025 	 echo "$f";;
 5026       *) # Relative
 5027 	 if test -f "$f"; then
 5028 	   # Build tree
 5029 	   echo "$f"
 5030 	 elif test -f "$srcdir/$f"; then
 5031 	   # Source tree
 5032 	   echo "$srcdir/$f"
 5033 	 else
 5034 	   # /dev/null tree
 5035 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
 5036 echo "$as_me: error: cannot find input file: $f" >&2;}
 5037    { (exit 1); exit 1; }; }
 5038 	 fi;;
 5039       esac
 5040     done` || { (exit 1); exit 1; }
 5041   # Remove the trailing spaces.
 5042   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
 5043 
 5044 _ACEOF
 5045 
 5046 # Transform confdefs.h into two sed scripts, `conftest.defines' and
 5047 # `conftest.undefs', that substitutes the proper values into
 5048 # config.h.in to produce config.h.  The first handles `#define'
 5049 # templates, and the second `#undef' templates.
 5050 # And first: Protect against being on the right side of a sed subst in
 5051 # config.status.  Protect against being in an unquoted here document
 5052 # in config.status.
 5053 rm -f conftest.defines conftest.undefs
 5054 # Using a here document instead of a string reduces the quoting nightmare.
 5055 # Putting comments in sed scripts is not portable.
 5056 #
 5057 # `end' is used to avoid that the second main sed command (meant for
 5058 # 0-ary CPP macros) applies to n-ary macro definitions.
 5059 # See the Autoconf documentation for `clear'.
 5060 cat >confdef2sed.sed <<\_ACEOF
 5061 s/[\\&,]/\\&/g
 5062 s,[\\$`],\\&,g
 5063 t clear
 5064 : clear
 5065 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 5066 t end
 5067 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 5068 : end
 5069 _ACEOF
 5070 # If some macros were called several times there might be several times
 5071 # the same #defines, which is useless.  Nevertheless, we may not want to
 5072 # sort them, since we want the *last* AC-DEFINE to be honored.
 5073 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 5074 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 5075 rm -f confdef2sed.sed
 5076 
 5077 # This sed command replaces #undef with comments.  This is necessary, for
 5078 # example, in the case of _POSIX_SOURCE, which is predefined and required
 5079 # on some systems where configure will not decide to define it.
 5080 cat >>conftest.undefs <<\_ACEOF
 5081 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 5082 _ACEOF
 5083 
 5084 # Break up conftest.defines because some shells have a limit on the size
 5085 # of here documents, and old seds have small limits too (100 cmds).
 5086 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 5087 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 5088 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 5089 echo '  :' >>$CONFIG_STATUS
 5090 rm -f conftest.tail
 5091 while grep . conftest.defines >/dev/null
 5092 do
 5093   # Write a limited-size here document to $tmp/defines.sed.
 5094   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
 5095   # Speed up: don't consider the non `#define' lines.
 5096   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
 5097   # Work around the forget-to-reset-the-flag bug.
 5098   echo 't clr' >>$CONFIG_STATUS
 5099   echo ': clr' >>$CONFIG_STATUS
 5100   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 5101   echo 'CEOF
 5102   sed -f $tmp/defines.sed $tmp/in >$tmp/out
 5103   rm -f $tmp/in
 5104   mv $tmp/out $tmp/in
 5105 ' >>$CONFIG_STATUS
 5106   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 5107   rm -f conftest.defines
 5108   mv conftest.tail conftest.defines
 5109 done
 5110 rm -f conftest.defines
 5111 echo '  fi # grep' >>$CONFIG_STATUS
 5112 echo >>$CONFIG_STATUS
 5113 
 5114 # Break up conftest.undefs because some shells have a limit on the size
 5115 # of here documents, and old seds have small limits too (100 cmds).
 5116 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 5117 rm -f conftest.tail
 5118 while grep . conftest.undefs >/dev/null
 5119 do
 5120   # Write a limited-size here document to $tmp/undefs.sed.
 5121   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
 5122   # Speed up: don't consider the non `#undef'
 5123   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
 5124   # Work around the forget-to-reset-the-flag bug.
 5125   echo 't clr' >>$CONFIG_STATUS
 5126   echo ': clr' >>$CONFIG_STATUS
 5127   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
 5128   echo 'CEOF
 5129   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
 5130   rm -f $tmp/in
 5131   mv $tmp/out $tmp/in
 5132 ' >>$CONFIG_STATUS
 5133   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
 5134   rm -f conftest.undefs
 5135   mv conftest.tail conftest.undefs
 5136 done
 5137 rm -f conftest.undefs
 5138 
 5139 cat >>$CONFIG_STATUS <<\_ACEOF
 5140   # Let's still pretend it is `configure' which instantiates (i.e., don't
 5141   # use $as_me), people would be surprised to read:
 5142   #    /* config.h.  Generated by config.status.  */
 5143   if test x"$ac_file" = x-; then
 5144     echo "/* Generated by configure.  */" >$tmp/config.h
 5145   else
 5146     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
 5147   fi
 5148   cat $tmp/in >>$tmp/config.h
 5149   rm -f $tmp/in
 5150   if test x"$ac_file" != x-; then
 5151     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 5152       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 5153 echo "$as_me: $ac_file is unchanged" >&6;}
 5154     else
 5155       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 5156 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 5157 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 5158 	 X"$ac_file" : 'X\(//\)$' \| \
 5159 	 X"$ac_file" : 'X\(/\)' \| \
 5160 	 .     : '\(.\)' 2>/dev/null ||
 5161 echo X"$ac_file" |
 5162     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 5163   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 5164   	  /^X\(\/\/\)$/{ s//\1/; q; }
 5165   	  /^X\(\/\).*/{ s//\1/; q; }
 5166   	  s/.*/./; q'`
 5167       { if $as_mkdir_p; then
 5168     mkdir -p "$ac_dir"
 5169   else
 5170     as_dir="$ac_dir"
 5171     as_dirs=
 5172     while test ! -d "$as_dir"; do
 5173       as_dirs="$as_dir $as_dirs"
 5174       as_dir=`(dirname "$as_dir") 2>/dev/null ||
 5175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 5176 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 5177 	 X"$as_dir" : 'X\(//\)$' \| \
 5178 	 X"$as_dir" : 'X\(/\)' \| \
 5179 	 .     : '\(.\)' 2>/dev/null ||
 5180 echo X"$as_dir" |
 5181     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 5182   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 5183   	  /^X\(\/\/\)$/{ s//\1/; q; }
 5184   	  /^X\(\/\).*/{ s//\1/; q; }
 5185   	  s/.*/./; q'`
 5186     done
 5187     test ! -n "$as_dirs" || mkdir $as_dirs
 5188   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
 5189 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 5190    { (exit 1); exit 1; }; }; }
 5191 
 5192       rm -f $ac_file
 5193       mv $tmp/config.h $ac_file
 5194     fi
 5195   else
 5196     cat $tmp/config.h
 5197     rm -f $tmp/config.h
 5198   fi
 5199 done
 5200 _ACEOF
 5201 
 5202 cat >>$CONFIG_STATUS <<\_ACEOF
 5203 
 5204 { (exit 0); exit 0; }
 5205 _ACEOF
 5206 chmod +x $CONFIG_STATUS
 5207 ac_clean_files=$ac_clean_files_save
 5208 
 5209 
 5210 # configure is writing to config.log, and then calls config.status.
 5211 # config.status does its own redirection, appending to config.log.
 5212 # Unfortunately, on DOS this fails, as config.log is still kept open
 5213 # by configure, so config.status won't be able to write to it; its
 5214 # output is simply discarded.  So we exec the FD to /dev/null,
 5215 # effectively closing config.log, so it can be properly (re)opened and
 5216 # appended to by config.status.  When coming back to configure, we
 5217 # need to make the FD available again.
 5218 if test "$no_create" != yes; then
 5219   ac_cs_success=:
 5220   ac_config_status_args=
 5221   test "$silent" = yes &&
 5222     ac_config_status_args="$ac_config_status_args --quiet"
 5223   exec 5>/dev/null
 5224   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 5225   exec 5>>config.log
 5226   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 5227   # would make configure fail if this is the last instruction.
 5228   $ac_cs_success || { (exit 1); exit 1; }
 5229 fi
 5230 

Home | About | Examples | Changes | Download | SVN Repository | Install | Reference