Ignore:
Timestamp:
Jan 4, 2010, 8:20:18 PM (12 years ago)
Author:
rbri
Message:

JPEG plugin: libjpeg updated to version 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libjpeg/configure

    r15 r283  
    11#! /bin/sh
    2 
    32# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.12
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     3# Generated by GNU Autoconf 2.63 for libjpeg 7.0.
    64#
     5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    77# This configure script is free software; the Free Software Foundation
    88# gives unlimited permission to copy, distribute and modify it.
    9 
    10 # Defaults:
    11 ac_help=
     9## --------------------- ##
     10## M4sh Initialization.  ##
     11## --------------------- ##
     12
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
     15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16  emulate sh
     17  NULLCMD=:
     18  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     19  # is contrary to our usage.  Disable this feature.
     20  alias -g '${1+"$@"}'='"$@"'
     21  setopt NO_GLOB_SUBST
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
     33# Avoid depending upon Character Ranges.
     34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     37as_cr_digits='0123456789'
     38as_cr_alnum=$as_cr_Letters$as_cr_digits
     39
     40as_nl='
     41'
     42export as_nl
     43# Printing a long string crashes Solaris 7 /usr/bin/printf.
     44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48  as_echo='printf %s\n'
     49  as_echo_n='printf %s'
     50else
     51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53    as_echo_n='/usr/ucb/echo -n'
     54  else
     55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56    as_echo_n_body='eval
     57      arg=$1;
     58      case $arg in
     59      *"$as_nl"*)
     60        expr "X$arg" : "X\\(.*\\)$as_nl";
     61        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62      esac;
     63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64    '
     65    export as_echo_n_body
     66    as_echo_n='sh -c $as_echo_n_body as_echo'
     67  fi
     68  export as_echo_body
     69  as_echo='sh -c $as_echo_body as_echo'
     70fi
     71
     72# The user is always right.
     73if test "${PATH_SEPARATOR+set}" != set; then
     74  PATH_SEPARATOR=:
     75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77      PATH_SEPARATOR=';'
     78  }
     79fi
     80
     81# Support unset when possible.
     82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     83  as_unset=unset
     84else
     85  as_unset=false
     86fi
     87
     88
     89# IFS
     90# We need space, tab and new line, in precisely that order.  Quoting is
     91# there to prevent editors from complaining about space-tab.
     92# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     93# splitting by setting IFS to empty value.)
     94IFS=" ""        $as_nl"
     95
     96# Find who we are.  Look in the path if we contain no directory separator.
     97case $0 in
     98  *[\\/]* ) as_myself=$0 ;;
     99  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     100for as_dir in $PATH
     101do
     102  IFS=$as_save_IFS
     103  test -z "$as_dir" && as_dir=.
     104  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     105done
     106IFS=$as_save_IFS
     107
     108     ;;
     109esac
     110# We did not find ourselves, most probably we were run as `sh COMMAND'
     111# in which case we are not to be found in the path.
     112if test "x$as_myself" = x; then
     113  as_myself=$0
     114fi
     115if test ! -f "$as_myself"; then
     116  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     117  { (exit 1); exit 1; }
     118fi
     119
     120# Work around bugs in pre-3.0 UWIN ksh.
     121for as_var in ENV MAIL MAILPATH
     122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     123done
     124PS1='$ '
     125PS2='> '
     126PS4='+ '
     127
     128# NLS nuisances.
     129LC_ALL=C
     130export LC_ALL
     131LANGUAGE=C
     132export LANGUAGE
     133
     134# Required to use basename.
     135if expr a : '\(a\)' >/dev/null 2>&1 &&
     136   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     137  as_expr=expr
     138else
     139  as_expr=false
     140fi
     141
     142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     143  as_basename=basename
     144else
     145  as_basename=false
     146fi
     147
     148
     149# Name of the executable.
     150as_me=`$as_basename -- "$0" ||
     151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     152         X"$0" : 'X\(//\)$' \| \
     153         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     154$as_echo X/"$0" |
     155    sed '/^.*\/\([^/][^/]*\)\/*$/{
     156            s//\1/
     157            q
     158          }
     159          /^X\/\(\/\/\)$/{
     160            s//\1/
     161            q
     162          }
     163          /^X\/\(\/\).*/{
     164            s//\1/
     165            q
     166          }
     167          s/.*/./; q'`
     168
     169# CDPATH.
     170$as_unset CDPATH
     171
     172
     173if test "x$CONFIG_SHELL" = x; then
     174  if (eval ":") 2>/dev/null; then
     175  as_have_required=yes
     176else
     177  as_have_required=no
     178fi
     179
     180  if test $as_have_required = yes &&     (eval ":
     181(as_func_return () {
     182  (exit \$1)
     183}
     184as_func_success () {
     185  as_func_return 0
     186}
     187as_func_failure () {
     188  as_func_return 1
     189}
     190as_func_ret_success () {
     191  return 0
     192}
     193as_func_ret_failure () {
     194  return 1
     195}
     196
     197exitcode=0
     198if as_func_success; then
     199  :
     200else
     201  exitcode=1
     202  echo as_func_success failed.
     203fi
     204
     205if as_func_failure; then
     206  exitcode=1
     207  echo as_func_failure succeeded.
     208fi
     209
     210if as_func_ret_success; then
     211  :
     212else
     213  exitcode=1
     214  echo as_func_ret_success failed.
     215fi
     216
     217if as_func_ret_failure; then
     218  exitcode=1
     219  echo as_func_ret_failure succeeded.
     220fi
     221
     222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     223  :
     224else
     225  exitcode=1
     226  echo positional parameters were not saved.
     227fi
     228
     229test \$exitcode = 0) || { (exit 1); exit 1; }
     230
     231(
     232  as_lineno_1=\$LINENO
     233  as_lineno_2=\$LINENO
     234  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     235  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     236") 2> /dev/null; then
     237  :
     238else
     239  as_candidate_shells=
     240    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     242do
     243  IFS=$as_save_IFS
     244  test -z "$as_dir" && as_dir=.
     245  case $as_dir in
     246         /*)
     247           for as_base in sh bash ksh sh5; do
     248             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     249           done;;
     250       esac
     251done
     252IFS=$as_save_IFS
     253
     254
     255      for as_shell in $as_candidate_shells $SHELL; do
     256         # Try only shells that exist, to save several forks.
     257         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     258                { ("$as_shell") 2> /dev/null <<\_ASEOF
     259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     260  emulate sh
     261  NULLCMD=:
     262  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     263  # is contrary to our usage.  Disable this feature.
     264  alias -g '${1+"$@"}'='"$@"'
     265  setopt NO_GLOB_SUBST
     266else
     267  case `(set -o) 2>/dev/null` in
     268  *posix*) set -o posix ;;
     269esac
     270
     271fi
     272
     273
     274:
     275_ASEOF
     276}; then
     277  CONFIG_SHELL=$as_shell
     278               as_have_required=yes
     279               if { "$as_shell" 2> /dev/null <<\_ASEOF
     280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     281  emulate sh
     282  NULLCMD=:
     283  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     284  # is contrary to our usage.  Disable this feature.
     285  alias -g '${1+"$@"}'='"$@"'
     286  setopt NO_GLOB_SUBST
     287else
     288  case `(set -o) 2>/dev/null` in
     289  *posix*) set -o posix ;;
     290esac
     291
     292fi
     293
     294
     295:
     296(as_func_return () {
     297  (exit $1)
     298}
     299as_func_success () {
     300  as_func_return 0
     301}
     302as_func_failure () {
     303  as_func_return 1
     304}
     305as_func_ret_success () {
     306  return 0
     307}
     308as_func_ret_failure () {
     309  return 1
     310}
     311
     312exitcode=0
     313if as_func_success; then
     314  :
     315else
     316  exitcode=1
     317  echo as_func_success failed.
     318fi
     319
     320if as_func_failure; then
     321  exitcode=1
     322  echo as_func_failure succeeded.
     323fi
     324
     325if as_func_ret_success; then
     326  :
     327else
     328  exitcode=1
     329  echo as_func_ret_success failed.
     330fi
     331
     332if as_func_ret_failure; then
     333  exitcode=1
     334  echo as_func_ret_failure succeeded.
     335fi
     336
     337if ( set x; as_func_ret_success y && test x = "$1" ); then
     338  :
     339else
     340  exitcode=1
     341  echo positional parameters were not saved.
     342fi
     343
     344test $exitcode = 0) || { (exit 1); exit 1; }
     345
     346(
     347  as_lineno_1=$LINENO
     348  as_lineno_2=$LINENO
     349  test "x$as_lineno_1" != "x$as_lineno_2" &&
     350  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     351
     352_ASEOF
     353}; then
     354  break
     355fi
     356
     357fi
     358
     359      done
     360
     361      if test "x$CONFIG_SHELL" != x; then
     362  for as_var in BASH_ENV ENV
     363        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     364        done
     365        export CONFIG_SHELL
     366        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     367fi
     368
     369
     370    if test $as_have_required = no; then
     371  echo This script requires a shell more modern than all the
     372      echo shells that I found on your system.  Please install a
     373      echo modern shell, or manually run the script under such a
     374      echo shell if you do have one.
     375      { (exit 1); exit 1; }
     376fi
     377
     378
     379fi
     380
     381fi
     382
     383
     384
     385(eval "as_func_return () {
     386  (exit \$1)
     387}
     388as_func_success () {
     389  as_func_return 0
     390}
     391as_func_failure () {
     392  as_func_return 1
     393}
     394as_func_ret_success () {
     395  return 0
     396}
     397as_func_ret_failure () {
     398  return 1
     399}
     400
     401exitcode=0
     402if as_func_success; then
     403  :
     404else
     405  exitcode=1
     406  echo as_func_success failed.
     407fi
     408
     409if as_func_failure; then
     410  exitcode=1
     411  echo as_func_failure succeeded.
     412fi
     413
     414if as_func_ret_success; then
     415  :
     416else
     417  exitcode=1
     418  echo as_func_ret_success failed.
     419fi
     420
     421if as_func_ret_failure; then
     422  exitcode=1
     423  echo as_func_ret_failure succeeded.
     424fi
     425
     426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     427  :
     428else
     429  exitcode=1
     430  echo positional parameters were not saved.
     431fi
     432
     433test \$exitcode = 0") || {
     434  echo No shell found that supports shell functions.
     435  echo Please tell bug-autoconf@gnu.org about your system,
     436  echo including any error possibly output before this message.
     437  echo This can help us improve future autoconf versions.
     438  echo Configuration will now proceed without shell functions.
     439}
     440
     441
     442
     443  as_lineno_1=$LINENO
     444  as_lineno_2=$LINENO
     445  test "x$as_lineno_1" != "x$as_lineno_2" &&
     446  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     447
     448  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     449  # uniformly replaced by the line number.  The first 'sed' inserts a
     450  # line-number line after each line using $LINENO; the second 'sed'
     451  # does the real work.  The second script uses 'N' to pair each
     452  # line-number line with the line containing $LINENO, and appends
     453  # trailing '-' during substitution so that $LINENO is not a special
     454  # case at line end.
     455  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     456  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     457  # E. McMahon (1931-1989) for sed's syntax.  :-)
     458  sed -n '
     459    p
     460    /[$]LINENO/=
     461  ' <$as_myself |
     462    sed '
     463      s/[$]LINENO.*/&-/
     464      t lineno
     465      b
     466      :lineno
     467      N
     468      :loop
     469      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     470      t loop
     471      s/-\n.*//
     472    ' >$as_me.lineno &&
     473  chmod +x "$as_me.lineno" ||
     474    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     475   { (exit 1); exit 1; }; }
     476
     477  # Don't try to exec as it changes $[0], causing all sort of problems
     478  # (the dirname of $[0] is not the place where we might find the
     479  # original and so on.  Autoconf is especially sensitive to this).
     480  . "./$as_me.lineno"
     481  # Exit status is that of the last command.
     482  exit
     483}
     484
     485
     486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     487  as_dirname=dirname
     488else
     489  as_dirname=false
     490fi
     491
     492ECHO_C= ECHO_N= ECHO_T=
     493case `echo -n x` in
     494-n*)
     495  case `echo 'x\c'` in
     496  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
     497  *)   ECHO_C='\c';;
     498  esac;;
     499*)
     500  ECHO_N='-n';;
     501esac
     502if expr a : '\(a\)' >/dev/null 2>&1 &&
     503   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     504  as_expr=expr
     505else
     506  as_expr=false
     507fi
     508
     509rm -f conf$$ conf$$.exe conf$$.file
     510if test -d conf$$.dir; then
     511  rm -f conf$$.dir/conf$$.file
     512else
     513  rm -f conf$$.dir
     514  mkdir conf$$.dir 2>/dev/null
     515fi
     516if (echo >conf$$.file) 2>/dev/null; then
     517  if ln -s conf$$.file conf$$ 2>/dev/null; then
     518    as_ln_s='ln -s'
     519    # ... but there are two gotchas:
     520    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     521    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     522    # In both cases, we have to default to `cp -p'.
     523    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     524      as_ln_s='cp -p'
     525  elif ln conf$$.file conf$$ 2>/dev/null; then
     526    as_ln_s=ln
     527  else
     528    as_ln_s='cp -p'
     529  fi
     530else
     531  as_ln_s='cp -p'
     532fi
     533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     534rmdir conf$$.dir 2>/dev/null
     535
     536if mkdir -p . 2>/dev/null; then
     537  as_mkdir_p=:
     538else
     539  test -d ./-p && rmdir ./-p
     540  as_mkdir_p=false
     541fi
     542
     543if test -x / >/dev/null 2>&1; then
     544  as_test_x='test -x'
     545else
     546  if ls -dL / >/dev/null 2>&1; then
     547    as_ls_L_option=L
     548  else
     549    as_ls_L_option=
     550  fi
     551  as_test_x='
     552    eval sh -c '\''
     553      if test -d "$1"; then
     554        test -d "$1/.";
     555      else
     556        case $1 in
     557        -*)set "./$1";;
     558        esac;
     559        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     560        ???[sx]*):;;*)false;;esac;fi
     561    '\'' sh
     562  '
     563fi
     564as_executable_p=$as_test_x
     565
     566# Sed expression to map a string onto a valid CPP name.
     567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     568
     569# Sed expression to map a string onto a valid variable name.
     570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     571
     572
     573
     574
     575# Check that we are running under the correct shell.
     576SHELL=${CONFIG_SHELL-/bin/sh}
     577
     578case X$lt_ECHO in
     579X*--fallback-echo)
     580  # Remove one level of quotation (which was required for Make).
     581  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
     582  ;;
     583esac
     584
     585ECHO=${lt_ECHO-echo}
     586if test "X$1" = X--no-reexec; then
     587  # Discard the --no-reexec flag, and continue.
     588  shift
     589elif test "X$1" = X--fallback-echo; then
     590  # Avoid inline document here, it may be left over
     591  :
     592elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
     593  # Yippee, $ECHO works!
     594  :
     595else
     596  # Restart under the correct shell.
     597  exec $SHELL "$0" --no-reexec ${1+"$@"}
     598fi
     599
     600if test "X$1" = X--fallback-echo; then
     601  # used as fallback echo
     602  shift
     603  cat <<_LT_EOF
     604$*
     605_LT_EOF
     606  exit 0
     607fi
     608
     609# The HP-UX ksh and POSIX shell print the target directory to stdout
     610# if CDPATH is set.
     611(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     612
     613if test -z "$lt_ECHO"; then
     614  if test "X${echo_test_string+set}" != Xset; then
     615    # find a string as large as possible, as long as the shell can cope with it
     616    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
     617      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
     618      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
     619         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
     620      then
     621        break
     622      fi
     623    done
     624  fi
     625
     626  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
     627     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
     628     test "X$echo_testing_string" = "X$echo_test_string"; then
     629    :
     630  else
     631    # The Solaris, AIX, and Digital Unix default echo programs unquote
     632    # backslashes.  This makes it impossible to quote backslashes using
     633    #   echo "$something" | sed 's/\\/\\\\/g'
     634    #
     635    # So, first we look for a working echo in the user's PATH.
     636
     637    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     638    for dir in $PATH /usr/ucb; do
     639      IFS="$lt_save_ifs"
     640      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
     641         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
     642         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
     643         test "X$echo_testing_string" = "X$echo_test_string"; then
     644        ECHO="$dir/echo"
     645        break
     646      fi
     647    done
     648    IFS="$lt_save_ifs"
     649
     650    if test "X$ECHO" = Xecho; then
     651      # We didn't find a better echo, so look for alternatives.
     652      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
     653         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
     654         test "X$echo_testing_string" = "X$echo_test_string"; then
     655        # This shell has a builtin print -r that does the trick.
     656        ECHO='print -r'
     657      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
     658           test "X$CONFIG_SHELL" != X/bin/ksh; then
     659        # If we have ksh, try running configure again with it.
     660        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     661        export ORIGINAL_CONFIG_SHELL
     662        CONFIG_SHELL=/bin/ksh
     663        export CONFIG_SHELL
     664        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
     665      else
     666        # Try using printf.
     667        ECHO='printf %s\n'
     668        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
     669           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
     670           test "X$echo_testing_string" = "X$echo_test_string"; then
     671          # Cool, printf works
     672          :
     673        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
     674             test "X$echo_testing_string" = 'X\t' &&
     675             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
     676             test "X$echo_testing_string" = "X$echo_test_string"; then
     677          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
     678          export CONFIG_SHELL
     679          SHELL="$CONFIG_SHELL"
     680          export SHELL
     681          ECHO="$CONFIG_SHELL $0 --fallback-echo"
     682        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
     683             test "X$echo_testing_string" = 'X\t' &&
     684             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
     685             test "X$echo_testing_string" = "X$echo_test_string"; then
     686          ECHO="$CONFIG_SHELL $0 --fallback-echo"
     687        else
     688          # maybe with a smaller string...
     689          prev=:
     690
     691          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
     692            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
     693            then
     694              break
     695            fi
     696            prev="$cmd"
     697          done
     698
     699          if test "$prev" != 'sed 50q "$0"'; then
     700            echo_test_string=`eval $prev`
     701            export echo_test_string
     702            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
     703          else
     704            # Oops.  We lost completely, so just stick with echo.
     705            ECHO=echo
     706          fi
     707        fi
     708      fi
     709    fi
     710  fi
     711fi
     712
     713# Copy echo and quote the copy suitably for passing to libtool from
     714# the Makefile, instead of quoting the original, which is used later.
     715lt_ECHO=$ECHO
     716if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
     717   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
     718fi
     719
     720
     721
     722
     723exec 7<&0 </dev/null 6>&1
     724
     725# Name of the host.
     726# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     727# so uname gets run too.
     728ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     729
     730#
     731# Initializations.
     732#
    12733ac_default_prefix=/usr/local
    13 # Any additions from configure.in:
    14 ac_help="$ac_help
    15   --enable-shared         build shared library using GNU libtool"
    16 ac_help="$ac_help
    17   --enable-static         build static library using GNU libtool"
    18 ac_help="$ac_help
    19   --enable-maxmem[=N]     enable use of temp files, set max mem usage to N MB"
    20 ac_help="$ac_help
    21 "
     734ac_clean_files=
     735ac_config_libobj_dir=.
     736LIBOBJS=
     737cross_compiling=no
     738subdirs=
     739MFLAGS=
     740MAKEFLAGS=
     741SHELL=${CONFIG_SHELL-/bin/sh}
     742
     743# Identity of this package.
     744PACKAGE_NAME='libjpeg'
     745PACKAGE_TARNAME='libjpeg'
     746PACKAGE_VERSION='7.0'
     747PACKAGE_STRING='libjpeg 7.0'
     748PACKAGE_BUGREPORT=''
     749
     750# Factoring default headers for most tests.
     751ac_includes_default="\
     752#include <stdio.h>
     753#ifdef HAVE_SYS_TYPES_H
     754# include <sys/types.h>
     755#endif
     756#ifdef HAVE_SYS_STAT_H
     757# include <sys/stat.h>
     758#endif
     759#ifdef STDC_HEADERS
     760# include <stdlib.h>
     761# include <stddef.h>
     762#else
     763# ifdef HAVE_STDLIB_H
     764#  include <stdlib.h>
     765# endif
     766#endif
     767#ifdef HAVE_STRING_H
     768# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     769#  include <memory.h>
     770# endif
     771# include <string.h>
     772#endif
     773#ifdef HAVE_STRINGS_H
     774# include <strings.h>
     775#endif
     776#ifdef HAVE_INTTYPES_H
     777# include <inttypes.h>
     778#endif
     779#ifdef HAVE_STDINT_H
     780# include <stdint.h>
     781#endif
     782#ifdef HAVE_UNISTD_H
     783# include <unistd.h>
     784#endif"
     785
     786ac_subst_vars='am__EXEEXT_FALSE
     787am__EXEEXT_TRUE
     788LTLIBOBJS
     789LIBOBJS
     790JPEG_LIB_VERSION
     791MEMORYMGR
     792OTOOL64
     793OTOOL
     794LIPO
     795NMEDIT
     796DSYMUTIL
     797lt_ECHO
     798RANLIB
     799AR
     800NM
     801ac_ct_DUMPBIN
     802DUMPBIN
     803LD
     804FGREP
     805SED
     806LIBTOOL
     807OBJDUMP
     808DLLTOOL
     809AS
     810HAVE_LD_VERSION_SCRIPT_FALSE
     811HAVE_LD_VERSION_SCRIPT_TRUE
     812LN_S
     813MAINT
     814MAINTAINER_MODE_FALSE
     815MAINTAINER_MODE_TRUE
     816ANSI2KNR
     817U
     818EGREP
     819GREP
     820CPP
     821am__fastdepCC_FALSE
     822am__fastdepCC_TRUE
     823CCDEPMODE
     824AMDEPBACKSLASH
     825AMDEP_FALSE
     826AMDEP_TRUE
     827am__quote
     828am__include
     829DEPDIR
     830OBJEXT
     831EXEEXT
     832ac_ct_CC
     833CPPFLAGS
     834LDFLAGS
     835CFLAGS
     836CC
     837AM_BACKSLASH
     838AM_DEFAULT_VERBOSITY
     839am__untar
     840am__tar
     841AMTAR
     842am__leading_dot
     843SET_MAKE
     844AWK
     845mkdir_p
     846MKDIR_P
     847INSTALL_STRIP_PROGRAM
     848STRIP
     849install_sh
     850MAKEINFO
     851AUTOHEADER
     852AUTOMAKE
     853AUTOCONF
     854ACLOCAL
     855VERSION
     856PACKAGE
     857CYGPATH_W
     858am__isrc
     859INSTALL_DATA
     860INSTALL_SCRIPT
     861INSTALL_PROGRAM
     862target_os
     863target_vendor
     864target_cpu
     865target
     866host_os
     867host_vendor
     868host_cpu
     869host
     870build_os
     871build_vendor
     872build_cpu
     873build
     874target_alias
     875host_alias
     876build_alias
     877LIBS
     878ECHO_T
     879ECHO_N
     880ECHO_C
     881DEFS
     882mandir
     883localedir
     884libdir
     885psdir
     886pdfdir
     887dvidir
     888htmldir
     889infodir
     890docdir
     891oldincludedir
     892includedir
     893localstatedir
     894sharedstatedir
     895sysconfdir
     896datadir
     897datarootdir
     898libexecdir
     899sbindir
     900bindir
     901program_transform_name
     902prefix
     903exec_prefix
     904PACKAGE_BUGREPORT
     905PACKAGE_STRING
     906PACKAGE_VERSION
     907PACKAGE_TARNAME
     908PACKAGE_NAME
     909PATH_SEPARATOR
     910SHELL'
     911ac_subst_files=''
     912ac_user_opts='
     913enable_option_checking
     914enable_silent_rules
     915enable_dependency_tracking
     916enable_maintainer_mode
     917enable_ld_version_script
     918enable_shared
     919enable_static
     920with_pic
     921enable_fast_install
     922with_gnu_ld
     923enable_libtool_lock
     924enable_maxmem
     925'
     926      ac_precious_vars='build_alias
     927host_alias
     928target_alias
     929CC
     930CFLAGS
     931LDFLAGS
     932LIBS
     933CPPFLAGS
     934CPP'
     935
    22936
    23937# Initialize some variables set by options.
     938ac_init_help=
     939ac_init_version=false
     940ac_unrecognized_opts=
     941ac_unrecognized_sep=
    24942# The variables have the same names as the options, with
    25943# dashes changed to underlines.
    26 build=NONE
    27 cache_file=./config.cache
     944cache_file=/dev/null
    28945exec_prefix=NONE
    29 host=NONE
    30946no_create=
    31 nonopt=NONE
    32947no_recursion=
    33948prefix=NONE
     
    38953site=
    39954srcdir=
    40 target=NONE
    41955verbose=
    42956x_includes=NONE
    43957x_libraries=NONE
     958
     959# Installation directory options.
     960# These are left unexpanded so users can "make install exec_prefix=/foo"
     961# and all the variables that are supposed to be based on exec_prefix
     962# by default will actually change.
     963# Use braces instead of parens because sh, perl, etc. also accept them.
     964# (The list follows the same order as the GNU Coding Standards.)
    44965bindir='${exec_prefix}/bin'
    45966sbindir='${exec_prefix}/sbin'
    46967libexecdir='${exec_prefix}/libexec'
    47 datadir='${prefix}/share'
     968datarootdir='${prefix}/share'
     969datadir='${datarootdir}'
    48970sysconfdir='${prefix}/etc'
    49971sharedstatedir='${prefix}/com'
    50972localstatedir='${prefix}/var'
    51 libdir='${exec_prefix}/lib'
    52973includedir='${prefix}/include'
    53974oldincludedir='/usr/include'
    54 infodir='${prefix}/info'
    55 mandir='${prefix}/man'
    56 
    57 # Initialize some other variables.
    58 subdirs=
    59 MFLAGS= MAKEFLAGS=
    60 # Maximum number of lines to put in a shell here document.
    61 ac_max_here_lines=12
     975docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     976infodir='${datarootdir}/info'
     977htmldir='${docdir}'
     978dvidir='${docdir}'
     979pdfdir='${docdir}'
     980psdir='${docdir}'
     981libdir='${exec_prefix}/lib'
     982localedir='${datarootdir}/locale'
     983mandir='${datarootdir}/man'
    62984
    63985ac_prev=
     986ac_dashdash=
    64987for ac_option
    65988do
    66 
    67989  # If the previous option needs an argument, assign it.
    68990  if test -n "$ac_prev"; then
    69     eval "$ac_prev=\$ac_option"
     991    eval $ac_prev=\$ac_option
    70992    ac_prev=
    71993    continue
    72994  fi
    73995
    74   case "$ac_option" in
    75   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    76   *) ac_optarg= ;;
     996  case $ac_option in
     997  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     998  *)    ac_optarg=yes ;;
    77999  esac
    781000
    791001  # Accept the important Cygnus configure options, so we can diagnose typos.
    801002
    81   case "$ac_option" in
     1003  case $ac_dashdash$ac_option in
     1004  --)
     1005    ac_dashdash=yes ;;
    821006
    831007  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    841008    ac_prev=bindir ;;
    851009  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    86     bindir="$ac_optarg" ;;
     1010    bindir=$ac_optarg ;;
    871011
    881012  -build | --build | --buil | --bui | --bu)
    89     ac_prev=build ;;
     1013    ac_prev=build_alias ;;
    901014  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    91     build="$ac_optarg" ;;
     1015    build_alias=$ac_optarg ;;
    921016
    931017  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    961020  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    971021  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    98     cache_file="$ac_optarg" ;;
    99 
    100   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     1022    cache_file=$ac_optarg ;;
     1023
     1024  --config-cache | -C)
     1025    cache_file=config.cache ;;
     1026
     1027  -datadir | --datadir | --datadi | --datad)
    1011028    ac_prev=datadir ;;
    102   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    103   | --da=*)
    104     datadir="$ac_optarg" ;;
     1029  -datadir=* | --datadir=* | --datadi=* | --datad=*)
     1030    datadir=$ac_optarg ;;
     1031
     1032  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     1033  | --dataroo | --dataro | --datar)
     1034    ac_prev=datarootdir ;;
     1035  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     1036  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     1037    datarootdir=$ac_optarg ;;
    1051038
    1061039  -disable-* | --disable-*)
    107     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     1040    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    1081041    # Reject names that are not valid shell variable names.
    109     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
    110       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    111     fi
    112     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    113     eval "enable_${ac_feature}=no" ;;
     1042    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1043      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     1044   { (exit 1); exit 1; }; }
     1045    ac_useropt_orig=$ac_useropt
     1046    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1047    case $ac_user_opts in
     1048      *"
     1049"enable_$ac_useropt"
     1050"*) ;;
     1051      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     1052         ac_unrecognized_sep=', ';;
     1053    esac
     1054    eval enable_$ac_useropt=no ;;
     1055
     1056  -docdir | --docdir | --docdi | --doc | --do)
     1057    ac_prev=docdir ;;
     1058  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     1059    docdir=$ac_optarg ;;
     1060
     1061  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     1062    ac_prev=dvidir ;;
     1063  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     1064    dvidir=$ac_optarg ;;
    1141065
    1151066  -enable-* | --enable-*)
    116     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     1067    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    1171068    # Reject names that are not valid shell variable names.
    118     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
    119       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    120     fi
    121     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    122     case "$ac_option" in
    123       *=*) ;;
    124       *) ac_optarg=yes ;;
     1069    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1070      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     1071   { (exit 1); exit 1; }; }
     1072    ac_useropt_orig=$ac_useropt
     1073    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1074    case $ac_user_opts in
     1075      *"
     1076"enable_$ac_useropt"
     1077"*) ;;
     1078      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     1079         ac_unrecognized_sep=', ';;
    1251080    esac
    126     eval "enable_${ac_feature}='$ac_optarg'" ;;
     1081    eval enable_$ac_useropt=\$ac_optarg ;;
    1271082
    1281083  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    1331088  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    1341089  | --exec=* | --exe=* | --ex=*)
    135     exec_prefix="$ac_optarg" ;;
     1090    exec_prefix=$ac_optarg ;;
    1361091
    1371092  -gas | --gas | --ga | --g)
     
    1391094    with_gas=yes ;;
    1401095
    141   -help | --help | --hel | --he)
    142     # Omit some internal or obsolete options to make the list less imposing.
    143     # This message is too long to be a string in the A/UX 3.1 sh.
    144     cat << EOF
    145 Usage: configure [options] [host]
    146 Options: [defaults in brackets after descriptions]
    147 Configuration:
    148   --cache-file=FILE       cache test results in FILE
    149   --help                  print this message
    150   --no-create             do not create output files
    151   --quiet, --silent       do not print \`checking...' messages
    152   --version               print the version of autoconf that created configure
    153 Directory and file names:
    154   --prefix=PREFIX         install architecture-independent files in PREFIX
    155                           [$ac_default_prefix]
    156   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    157                           [same as prefix]
    158   --bindir=DIR            user executables in DIR [EPREFIX/bin]
    159   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
    160   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
    161   --datadir=DIR           read-only architecture-independent data in DIR
    162                           [PREFIX/share]
    163   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
    164   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
    165                           [PREFIX/com]
    166   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    167   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
    168   --includedir=DIR        C header files in DIR [PREFIX/include]
    169   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    170   --infodir=DIR           info documentation in DIR [PREFIX/info]
    171   --mandir=DIR            man documentation in DIR [PREFIX/man]
    172   --srcdir=DIR            find the sources in DIR [configure dir or ..]
    173   --program-prefix=PREFIX prepend PREFIX to installed program names
    174   --program-suffix=SUFFIX append SUFFIX to installed program names
    175   --program-transform-name=PROGRAM
    176                           run sed PROGRAM on installed program names
    177 EOF
    178     cat << EOF
    179 Host type:
    180   --build=BUILD           configure for building on BUILD [BUILD=HOST]
    181   --host=HOST             configure for HOST [guessed]
    182   --target=TARGET         configure for TARGET [TARGET=HOST]
    183 Features and packages:
    184   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    185   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    186   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    187   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    188   --x-includes=DIR        X include files are in DIR
    189   --x-libraries=DIR       X library files are in DIR
    190 EOF
    191     if test -n "$ac_help"; then
    192       echo "--enable and --with options recognized:$ac_help"
    193     fi
    194     exit 0 ;;
     1096  -help | --help | --hel | --he | -h)
     1097    ac_init_help=long ;;
     1098  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     1099    ac_init_help=recursive ;;
     1100  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     1101    ac_init_help=short ;;
    1951102
    1961103  -host | --host | --hos | --ho)
    197     ac_prev=host ;;
     1104    ac_prev=host_alias ;;
    1981105  -host=* | --host=* | --hos=* | --ho=*)
    199     host="$ac_optarg" ;;
     1106    host_alias=$ac_optarg ;;
     1107
     1108  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     1109    ac_prev=htmldir ;;
     1110  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     1111  | --ht=*)
     1112    htmldir=$ac_optarg ;;
    2001113
    2011114  -includedir | --includedir | --includedi | --included | --include \
     
    2041117  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    2051118  | --includ=* | --inclu=* | --incl=* | --inc=*)
    206     includedir="$ac_optarg" ;;
     1119    includedir=$ac_optarg ;;
    2071120
    2081121  -infodir | --infodir | --infodi | --infod | --info | --inf)
    2091122    ac_prev=infodir ;;
    2101123  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    211     infodir="$ac_optarg" ;;
     1124    infodir=$ac_optarg ;;
    2121125
    2131126  -libdir | --libdir | --libdi | --libd)
    2141127    ac_prev=libdir ;;
    2151128  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    216     libdir="$ac_optarg" ;;
     1129    libdir=$ac_optarg ;;
    2171130
    2181131  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    2211134  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    2221135  | --libexe=* | --libex=* | --libe=*)
    223     libexecdir="$ac_optarg" ;;
     1136    libexecdir=$ac_optarg ;;
     1137
     1138  -localedir | --localedir | --localedi | --localed | --locale)
     1139    ac_prev=localedir ;;
     1140  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     1141    localedir=$ac_optarg ;;
    2241142
    2251143  -localstatedir | --localstatedir | --localstatedi | --localstated \
    226   | --localstate | --localstat | --localsta | --localst \
    227   | --locals | --local | --loca | --loc | --lo)
     1144  | --localstate | --localstat | --localsta | --localst | --locals)
    2281145    ac_prev=localstatedir ;;
    2291146  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    230   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    231   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    232     localstatedir="$ac_optarg" ;;
     1147  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
     1148    localstatedir=$ac_optarg ;;
    2331149
    2341150  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    2351151    ac_prev=mandir ;;
    2361152  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    237     mandir="$ac_optarg" ;;
     1153    mandir=$ac_optarg ;;
    2381154
    2391155  -nfp | --nfp | --nf)
     
    2421158
    2431159  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    244   | --no-cr | --no-c)
     1160  | --no-cr | --no-c | -n)
    2451161    no_create=yes ;;
    2461162
     
    2561172  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    2571173  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    258     oldincludedir="$ac_optarg" ;;
     1174    oldincludedir=$ac_optarg ;;
    2591175
    2601176  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    2611177    ac_prev=prefix ;;
    2621178  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    263     prefix="$ac_optarg" ;;
     1179    prefix=$ac_optarg ;;
    2641180
    2651181  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    2681184  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    2691185  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    270     program_prefix="$ac_optarg" ;;
     1186    program_prefix=$ac_optarg ;;
    2711187
    2721188  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    2751191  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    2761192  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    277     program_suffix="$ac_optarg" ;;
     1193    program_suffix=$ac_optarg ;;
    2781194
    2791195  -program-transform-name | --program-transform-name \
     
    2921208  | --program-trans=* | --program-tran=* \
    2931209  | --progr-tra=* | --program-tr=* | --program-t=*)
    294     program_transform_name="$ac_optarg" ;;
     1210    program_transform_name=$ac_optarg ;;
     1211
     1212  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1213    ac_prev=pdfdir ;;
     1214  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1215    pdfdir=$ac_optarg ;;
     1216
     1217  -psdir | --psdir | --psdi | --psd | --ps)
     1218    ac_prev=psdir ;;
     1219  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1220    psdir=$ac_optarg ;;
    2951221
    2961222  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    3021228  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    3031229  | --sbi=* | --sb=*)
    304     sbindir="$ac_optarg" ;;
     1230    sbindir=$ac_optarg ;;
    3051231
    3061232  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    3131239  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    3141240  | --sha=* | --sh=*)
    315     sharedstatedir="$ac_optarg" ;;
     1241    sharedstatedir=$ac_optarg ;;
    3161242
    3171243  -site | --site | --sit)
    3181244    ac_prev=site ;;
    3191245  -site=* | --site=* | --sit=*)
    320     site="$ac_optarg" ;;
     1246    site=$ac_optarg ;;
    3211247
    3221248  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    3231249    ac_prev=srcdir ;;
    3241250  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    325     srcdir="$ac_optarg" ;;
     1251    srcdir=$ac_optarg ;;
    3261252
    3271253  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    3301256  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    3311257  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    332     sysconfdir="$ac_optarg" ;;
     1258    sysconfdir=$ac_optarg ;;
    3331259
    3341260  -target | --target | --targe | --targ | --tar | --ta | --t)
    335     ac_prev=target ;;
     1261    ac_prev=target_alias ;;
    3361262  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    337     target="$ac_optarg" ;;
     1263    target_alias=$ac_optarg ;;
    3381264
    3391265  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    3401266    verbose=yes ;;
    3411267
    342   -version | --version | --versio | --versi | --vers)
    343     echo "configure generated by autoconf version 2.12"
    344     exit 0 ;;
     1268  -version | --version | --versio | --versi | --vers | -V)
     1269    ac_init_version=: ;;
    3451270
    3461271  -with-* | --with-*)
    347     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     1272    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    3481273    # Reject names that are not valid shell variable names.
    349     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
    350       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    351     fi
    352     ac_package=`echo $ac_package| sed 's/-/_/g'`
    353     case "$ac_option" in
    354       *=*) ;;
    355       *) ac_optarg=yes ;;
     1274    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1275      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1276   { (exit 1); exit 1; }; }
     1277    ac_useropt_orig=$ac_useropt
     1278    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1279    case $ac_user_opts in
     1280      *"
     1281"with_$ac_useropt"
     1282"*) ;;
     1283      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1284         ac_unrecognized_sep=', ';;
    3561285    esac
    357     eval "with_${ac_package}='$ac_optarg'" ;;
     1286    eval with_$ac_useropt=\$ac_optarg ;;
    3581287
    3591288  -without-* | --without-*)
    360     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     1289    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    3611290    # Reject names that are not valid shell variable names.
    362     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
    363       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    364     fi
    365     ac_package=`echo $ac_package| sed 's/-/_/g'`
    366     eval "with_${ac_package}=no" ;;
     1291    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1292      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1293   { (exit 1); exit 1; }; }
     1294    ac_useropt_orig=$ac_useropt
     1295    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1296    case $ac_user_opts in
     1297      *"
     1298"with_$ac_useropt"
     1299"*) ;;
     1300      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1301         ac_unrecognized_sep=', ';;
     1302    esac
     1303    eval with_$ac_useropt=no ;;
    3671304
    3681305  --x)
     
    3751312  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    3761313  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    377     x_includes="$ac_optarg" ;;
     1314    x_includes=$ac_optarg ;;
    3781315
    3791316  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    3821319  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    3831320  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    384     x_libraries="$ac_optarg" ;;
    385 
    386   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
     1321    x_libraries=$ac_optarg ;;
     1322
     1323  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1324Try \`$0 --help' for more information." >&2
     1325   { (exit 1); exit 1; }; }
    3871326    ;;
    3881327
    3891328  *=*)
    390     varname=`echo "$ac_option"|sed -e 's/=.*//'`
    391     # Reject names that aren't valid shell variable names.
    392     if test -n "`echo $varname| sed 's/[a-zA-Z0-9_]//g'`"; then
    393       { echo "configure: error: $varname: invalid shell variable name" 1>&2; exit 1; }
    394     fi
    395     val="`echo "$ac_option"|sed 's/[^=]*=//'`"
    396     test -n "$verbose" && echo "        setting shell variable $varname to $val"
    397     eval "$varname='$val'"
    398     eval "export $varname" ;;
     1329    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     1330    # Reject names that are not valid shell variable names.
     1331    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     1332      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1333   { (exit 1); exit 1; }; }
     1334    eval $ac_envvar=\$ac_optarg
     1335    export $ac_envvar ;;
    3991336
    4001337  *)
    401     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
    402       echo "configure: warning: $ac_option: invalid host type" 1>&2
    403     fi
    404     if test "x$nonopt" != xNONE; then
    405       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    406     fi
    407     nonopt="$ac_option"
     1338    # FIXME: should be removed in autoconf 3.0.
     1339    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1340    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     1341      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1342    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    4081343    ;;
    4091344
     
    4121347
    4131348if test -n "$ac_prev"; then
    414   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    415 fi
    416 
    417 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    418 
    419 # File descriptor usage:
    420 # 0 standard input
    421 # 1 file creation
    422 # 2 errors and warnings
    423 # 3 some systems may open it to /dev/tty
    424 # 4 used on the Kubota Titan
    425 # 6 checking for... messages and results
    426 # 5 compiler messages saved in config.log
    427 if test "$silent" = yes; then
    428   exec 6>/dev/null
    429 else
    430   exec 6>&1
    431 fi
    432 exec 5>./config.log
    433 
    434 echo "\
    435 This file contains any messages produced by compilers while
    436 running configure, to aid debugging if configure makes a mistake.
    437 " 1>&5
    438 
    439 # Strip out --no-create and --no-recursion so they do not pile up.
    440 # Also quote any args containing shell metacharacters.
    441 ac_configure_args=
    442 for ac_arg
     1349  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     1350  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1351   { (exit 1); exit 1; }; }
     1352fi
     1353
     1354if test -n "$ac_unrecognized_opts"; then
     1355  case $enable_option_checking in
     1356    no) ;;
     1357    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1358   { (exit 1); exit 1; }; } ;;
     1359    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1360  esac
     1361fi
     1362
     1363# Check all directory arguments for consistency.
     1364for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1365                datadir sysconfdir sharedstatedir localstatedir includedir \
     1366                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1367                libdir localedir mandir
    4431368do
    444   case "$ac_arg" in
    445   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    446   | --no-cr | --no-c) ;;
    447   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    448   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    449   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
    450   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    451   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
     1369  eval ac_val=\$$ac_var
     1370  # Remove trailing slashes.
     1371  case $ac_val in
     1372    */ )
     1373      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1374      eval $ac_var=\$ac_val;;
    4521375  esac
     1376  # Be sure to have absolute directory names.
     1377  case $ac_val in
     1378    [\\/$]* | ?:[\\/]* )  continue;;
     1379    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
     1380  esac
     1381  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1382   { (exit 1); exit 1; }; }
    4531383done
    4541384
    455 # NLS nuisances.
    456 # Only set these to C if already set.  These must not be set unconditionally
    457 # because not all systems understand e.g. LANG=C (notably SCO).
    458 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
    459 # Non-C LC_CTYPE values break the ctype check.
    460 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    461 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    462 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
    463 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    464 
    465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    466 rm -rf conftest* confdefs.h
    467 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    468 echo > confdefs.h
    469 
    470 # A filename unique to this package, relative to the directory that
    471 # configure is in, which we can look for to find out if srcdir is correct.
    472 ac_unique_file=jcmaster.c
     1385# There might be people who depend on the old broken behavior: `$host'
     1386# used to hold the argument of --host etc.
     1387# FIXME: To remove some day.
     1388build=$build_alias
     1389host=$host_alias
     1390target=$target_alias
     1391
     1392# FIXME: To remove some day.
     1393if test "x$host_alias" != x; then
     1394  if test "x$build_alias" = x; then
     1395    cross_compiling=maybe
     1396    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1397    If a cross compiler is detected then cross compile mode will be used." >&2
     1398  elif test "x$build_alias" != "x$host_alias"; then
     1399    cross_compiling=yes
     1400  fi
     1401fi
     1402
     1403ac_tool_prefix=
     1404test -n "$host_alias" && ac_tool_prefix=$host_alias-
     1405
     1406test "$silent" = yes && exec 6>/dev/null
     1407
     1408
     1409ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1410ac_ls_di=`ls -di .` &&
     1411ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1412  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1413   { (exit 1); exit 1; }; }
     1414test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1415  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1416   { (exit 1); exit 1; }; }
     1417
    4731418
    4741419# Find the source files, if location was not specified.
    4751420if test -z "$srcdir"; then
    4761421  ac_srcdir_defaulted=yes
    477   # Try the directory containing this script, then its parent.
    478   ac_prog=$0
    479   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    480   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     1422  # Try the directory containing this script, then the parent directory.
     1423  ac_confdir=`$as_dirname -- "$as_myself" ||
     1424$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1425         X"$as_myself" : 'X\(//\)[^/]' \| \
     1426         X"$as_myself" : 'X\(//\)$' \| \
     1427         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1428$as_echo X"$as_myself" |
     1429    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1430            s//\1/
     1431            q
     1432          }
     1433          /^X\(\/\/\)[^/].*/{
     1434            s//\1/
     1435            q
     1436          }
     1437          /^X\(\/\/\)$/{
     1438            s//\1/
     1439            q
     1440          }
     1441          /^X\(\/\).*/{
     1442            s//\1/
     1443            q
     1444          }
     1445          s/.*/./; q'`
    4811446  srcdir=$ac_confdir
    482   if test ! -r $srcdir/$ac_unique_file; then
     1447  if test ! -r "$srcdir/$ac_unique_file"; then
    4831448    srcdir=..
    4841449  fi
     
    4861451  ac_srcdir_defaulted=no
    4871452fi
    488 if test ! -r $srcdir/$ac_unique_file; then
    489   if test "$ac_srcdir_defaulted" = yes; then
    490     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    491   else
    492     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    493   fi
    494 fi
    495 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    496 
    497 # Prefer explicitly selected file to automatically selected ones.
    498 if test -z "$CONFIG_SITE"; then
    499   if test "x$prefix" != xNONE; then
    500     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    501   else
    502     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    503   fi
    504 fi
    505 for ac_site_file in $CONFIG_SITE; do
     1453if test ! -r "$srcdir/$ac_unique_file"; then
     1454  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1455  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1456   { (exit 1); exit 1; }; }
     1457fi
     1458ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1459ac_abs_confdir=`(
     1460        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1461   { (exit 1); exit 1; }; }
     1462        pwd)`
     1463# When building in place, set srcdir=.
     1464if test "$ac_abs_confdir" = "$ac_pwd"; then
     1465  srcdir=.
     1466fi
     1467# Remove unnecessary trailing slashes from srcdir.
     1468# Double slashes in file names in object file debugging info
     1469# mess up M-x gdb in Emacs.
     1470case $srcdir in
     1471*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1472esac
     1473for ac_var in $ac_precious_vars; do
     1474  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1475  eval ac_env_${ac_var}_value=\$${ac_var}
     1476  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1477  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1478done
     1479
     1480#
     1481# Report the --help message.
     1482#
     1483if test "$ac_init_help" = "long"; then
     1484  # Omit some internal or obsolete options to make the list less imposing.
     1485  # This message is too long to be a string in the A/UX 3.1 sh.
     1486  cat <<_ACEOF
     1487\`configure' configures libjpeg 7.0 to adapt to many kinds of systems.
     1488
     1489Usage: $0 [OPTION]... [VAR=VALUE]...
     1490
     1491To assign environment variables (e.g., CC, CFLAGS...), specify them as
     1492VAR=VALUE.  See below for descriptions of some of the useful variables.
     1493
     1494Defaults for the options are specified in brackets.
     1495
     1496Configuration:
     1497  -h, --help              display this help and exit
     1498      --help=short        display options specific to this package
     1499      --help=recursive    display the short help of all the included packages
     1500  -V, --version           display version information and exit
     1501  -q, --quiet, --silent   do not print \`checking...' messages
     1502      --cache-file=FILE   cache test results in FILE [disabled]
     1503  -C, --config-cache      alias for \`--cache-file=config.cache'
     1504  -n, --no-create         do not create output files
     1505      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     1506
     1507Installation directories:
     1508  --prefix=PREFIX         install architecture-independent files in PREFIX
     1509                          [$ac_default_prefix]
     1510  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     1511                          [PREFIX]
     1512
     1513By default, \`make install' will install all the files in
     1514\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     1515an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     1516for instance \`--prefix=\$HOME'.
     1517
     1518For better control, use the options below.
     1519
     1520Fine tuning of the installation directories:
     1521  --bindir=DIR            user executables [EPREFIX/bin]
     1522  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1523  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1524  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1525  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1526  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1527  --libdir=DIR            object code libraries [EPREFIX/lib]
     1528  --includedir=DIR        C header files [PREFIX/include]
     1529  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1530  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1531  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1532  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1533  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1534  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1535  --docdir=DIR            documentation root [DATAROOTDIR/doc/libjpeg]
     1536  --htmldir=DIR           html documentation [DOCDIR]
     1537  --dvidir=DIR            dvi documentation [DOCDIR]
     1538  --pdfdir=DIR            pdf documentation [DOCDIR]
     1539  --psdir=DIR             ps documentation [DOCDIR]
     1540_ACEOF
     1541
     1542  cat <<\_ACEOF
     1543
     1544Program names:
     1545  --program-prefix=PREFIX            prepend PREFIX to installed program names
     1546  --program-suffix=SUFFIX            append SUFFIX to installed program names
     1547  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     1548
     1549System types:
     1550  --build=BUILD     configure for building on BUILD [guessed]
     1551  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
     1552  --target=TARGET   configure for building compilers for TARGET [HOST]
     1553_ACEOF
     1554fi
     1555
     1556if test -n "$ac_init_help"; then
     1557  case $ac_init_help in
     1558     short | recursive ) echo "Configuration of libjpeg 7.0:";;
     1559   esac
     1560  cat <<\_ACEOF
     1561
     1562Optional Features:
     1563  --disable-option-checking  ignore unrecognized --enable/--with options
     1564  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     1565  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1566  --enable-silent-rules          less verbose build output (undo: `make V=1')
     1567  --disable-silent-rules         verbose build output (undo: `make V=0')
     1568  --disable-dependency-tracking  speeds up one-time build
     1569  --enable-dependency-tracking   do not reject slow dependency extractors
     1570  --enable-maintainer-mode  enable make rules and dependencies not useful
     1571                          (and sometimes confusing) to the casual installer
     1572  --enable-ld-version-script
     1573                          enable linker version script (default is enabled
     1574                          when possible)
     1575  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1576  --enable-static[=PKGS]  build static libraries [default=yes]
     1577  --enable-fast-install[=PKGS]
     1578                          optimize for fast installation [default=yes]
     1579  --disable-libtool-lock  avoid locking (might break parallel builds)
     1580  --enable-maxmem=N     enable use of temp files, set max mem usage to N MB
     1581
     1582Optional Packages:
     1583  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     1584  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     1585  --with-pic              try to use only PIC/non-PIC objects [default=use
     1586                          both]
     1587  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1588
     1589Some influential environment variables:
     1590  CC          C compiler command
     1591  CFLAGS      C compiler flags
     1592  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     1593              nonstandard directory <lib dir>
     1594  LIBS        libraries to pass to the linker, e.g. -l<library>
     1595  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1596              you have headers in a nonstandard directory <include dir>
     1597  CPP         C preprocessor
     1598
     1599Use these variables to override the choices made by `configure' or to help
     1600it to find libraries and programs with nonstandard names/locations.
     1601
     1602_ACEOF
     1603ac_status=$?
     1604fi
     1605
     1606if test "$ac_init_help" = "recursive"; then
     1607  # If there are subdirs, report their specific --help.
     1608  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     1609    test -d "$ac_dir" ||
     1610      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1611      continue
     1612    ac_builddir=.
     1613
     1614case "$ac_dir" in
     1615.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1616*)
     1617  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1618  # A ".." for each directory in $ac_dir_suffix.
     1619  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1620  case $ac_top_builddir_sub in
     1621  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1622  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1623  esac ;;
     1624esac
     1625ac_abs_top_builddir=$ac_pwd
     1626ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1627# for backward compatibility:
     1628ac_top_builddir=$ac_top_build_prefix
     1629
     1630case $srcdir in
     1631  .)  # We are building in place.
     1632    ac_srcdir=.
     1633    ac_top_srcdir=$ac_top_builddir_sub
     1634    ac_abs_top_srcdir=$ac_pwd ;;
     1635  [\\/]* | ?:[\\/]* )  # Absolute name.
     1636    ac_srcdir=$srcdir$ac_dir_suffix;
     1637    ac_top_srcdir=$srcdir
     1638    ac_abs_top_srcdir=$srcdir ;;
     1639  *) # Relative name.
     1640    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1641    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1642    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1643esac
     1644ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1645
     1646    cd "$ac_dir" || { ac_status=$?; continue; }
     1647    # Check for guested configure.
     1648    if test -f "$ac_srcdir/configure.gnu"; then
     1649      echo &&
     1650      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1651    elif test -f "$ac_srcdir/configure"; then
     1652      echo &&
     1653      $SHELL "$ac_srcdir/configure" --help=recursive
     1654    else
     1655      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1656    fi || ac_status=$?
     1657    cd "$ac_pwd" || { ac_status=$?; break; }
     1658  done
     1659fi
     1660
     1661test -n "$ac_init_help" && exit $ac_status
     1662if $ac_init_version; then
     1663  cat <<\_ACEOF
     1664libjpeg configure 7.0
     1665generated by GNU Autoconf 2.63
     1666
     1667Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     16682002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1669This configure script is free software; the Free Software Foundation
     1670gives unlimited permission to copy, distribute and modify it.
     1671_ACEOF
     1672  exit
     1673fi
     1674cat >config.log <<_ACEOF
     1675This file contains any messages produced by compilers while
     1676running configure, to aid debugging if configure makes a mistake.
     1677
     1678It was created by libjpeg $as_me 7.0, which was
     1679generated by GNU Autoconf 2.63.  Invocation command line was
     1680
     1681  $ $0 $@
     1682
     1683_ACEOF
     1684exec 5>>config.log
     1685{
     1686cat <<_ASUNAME
     1687## --------- ##
     1688## Platform. ##
     1689## --------- ##
     1690
     1691hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     1692uname -m = `(uname -m) 2>/dev/null || echo unknown`
     1693uname -r = `(uname -r) 2>/dev/null || echo unknown`
     1694uname -s = `(uname -s) 2>/dev/null || echo unknown`
     1695uname -v = `(uname -v) 2>/dev/null || echo unknown`
     1696
     1697/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     1698/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     1699
     1700/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     1701/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     1702/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     1703/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
     1704/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     1705/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     1706/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     1707
     1708_ASUNAME
     1709
     1710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1711for as_dir in $PATH
     1712do
     1713  IFS=$as_save_IFS
     1714  test -z "$as_dir" && as_dir=.
     1715  $as_echo "PATH: $as_dir"
     1716done
     1717IFS=$as_save_IFS
     1718
     1719} >&5
     1720
     1721cat >&5 <<_ACEOF
     1722
     1723
     1724## ----------- ##
     1725## Core tests. ##
     1726## ----------- ##
     1727
     1728_ACEOF
     1729
     1730
     1731# Keep a trace of the command line.
     1732# Strip out --no-create and --no-recursion so they do not pile up.
     1733# Strip out --silent because we don't want to record it for future runs.
     1734# Also quote any args containing shell meta-characters.
     1735# Make two passes to allow for proper duplicate-argument suppression.
     1736ac_configure_args=
     1737ac_configure_args0=
     1738ac_configure_args1=
     1739ac_must_keep_next=false
     1740for ac_pass in 1 2
     1741do
     1742  for ac_arg
     1743  do
     1744    case $ac_arg in
     1745    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     1746    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     1747    | -silent | --silent | --silen | --sile | --sil)
     1748      continue ;;
     1749    *\'*)
     1750      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1751    esac
     1752    case $ac_pass in
     1753    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1754    2)
     1755      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1756      if test $ac_must_keep_next = true; then
     1757        ac_must_keep_next=false # Got value, back to normal.
     1758      else
     1759        case $ac_arg in
     1760          *=* | --config-cache | -C | -disable-* | --disable-* \
     1761          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1762          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1763          | -with-* | --with-* | -without-* | --without-* | --x)
     1764            case "$ac_configure_args0 " in
     1765              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1766            esac
     1767            ;;
     1768          -* ) ac_must_keep_next=true ;;
     1769        esac
     1770      fi
     1771      ac_configure_args="$ac_configure_args '$ac_arg'"
     1772      ;;
     1773    esac
     1774  done
     1775done
     1776$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1777$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1778
     1779# When interrupted or exit'd, cleanup temporary files, and complete
     1780# config.log.  We remove comments because anyway the quotes in there
     1781# would cause problems or look ugly.
     1782# WARNING: Use '\'' to represent an apostrophe within the trap.
     1783# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
     1784trap 'exit_status=$?
     1785  # Save into config.log some information that might help in debugging.
     1786  {
     1787    echo
     1788
     1789    cat <<\_ASBOX
     1790## ---------------- ##
     1791## Cache variables. ##
     1792## ---------------- ##
     1793_ASBOX
     1794    echo
     1795    # The following way of writing the cache mishandles newlines in values,
     1796(
     1797  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1798    eval ac_val=\$$ac_var
     1799    case $ac_val in #(
     1800    *${as_nl}*)
     1801      case $ac_var in #(
     1802      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1803$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1804      esac
     1805      case $ac_var in #(
     1806      _ | IFS | as_nl) ;; #(
     1807      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1808      *) $as_unset $ac_var ;;
     1809      esac ;;
     1810    esac
     1811  done
     1812  (set) 2>&1 |
     1813    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1814    *${as_nl}ac_space=\ *)
     1815      sed -n \
     1816        "s/'\''/'\''\\\\'\'''\''/g;
     1817          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1818      ;; #(
     1819    *)
     1820      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
     1821      ;;
     1822    esac |
     1823    sort
     1824)
     1825    echo
     1826
     1827    cat <<\_ASBOX
     1828## ----------------- ##
     1829## Output variables. ##
     1830## ----------------- ##
     1831_ASBOX
     1832    echo
     1833    for ac_var in $ac_subst_vars
     1834    do
     1835      eval ac_val=\$$ac_var
     1836      case $ac_val in
     1837      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1838      esac
     1839      $as_echo "$ac_var='\''$ac_val'\''"
     1840    done | sort
     1841    echo
     1842
     1843    if test -n "$ac_subst_files"; then
     1844      cat <<\_ASBOX
     1845## ------------------- ##
     1846## File substitutions. ##
     1847## ------------------- ##
     1848_ASBOX
     1849      echo
     1850      for ac_var in $ac_subst_files
     1851      do
     1852        eval ac_val=\$$ac_var
     1853        case $ac_val in
     1854        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1855        esac
     1856        $as_echo "$ac_var='\''$ac_val'\''"
     1857      done | sort
     1858      echo
     1859    fi
     1860
     1861    if test -s confdefs.h; then
     1862      cat <<\_ASBOX
     1863## ----------- ##
     1864## confdefs.h. ##
     1865## ----------- ##
     1866_ASBOX
     1867      echo
     1868      cat confdefs.h
     1869      echo
     1870    fi
     1871    test "$ac_signal" != 0 &&
     1872      $as_echo "$as_me: caught signal $ac_signal"
     1873    $as_echo "$as_me: exit $exit_status"
     1874  } >&5
     1875  rm -f core *.core core.conftest.* &&
     1876    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     1877    exit $exit_status
     1878' 0
     1879for ac_signal in 1 2 13 15; do
     1880  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1881done
     1882ac_signal=0
     1883
     1884# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1885rm -f -r conftest* confdefs.h
     1886
     1887# Predefined preprocessor variables.
     1888
     1889cat >>confdefs.h <<_ACEOF
     1890#define PACKAGE_NAME "$PACKAGE_NAME"
     1891_ACEOF
     1892
     1893
     1894cat >>confdefs.h <<_ACEOF
     1895#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1896_ACEOF
     1897
     1898
     1899cat >>confdefs.h <<_ACEOF
     1900#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1901_ACEOF
     1902
     1903
     1904cat >>confdefs.h <<_ACEOF
     1905#define PACKAGE_STRING "$PACKAGE_STRING"
     1906_ACEOF
     1907
     1908
     1909cat >>confdefs.h <<_ACEOF
     1910#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1911_ACEOF
     1912
     1913
     1914# Let the site file select an alternate cache file if it wants to.
     1915# Prefer an explicitly selected file to automatically selected ones.
     1916ac_site_file1=NONE
     1917ac_site_file2=NONE
     1918if test -n "$CONFIG_SITE"; then
     1919  ac_site_file1=$CONFIG_SITE
     1920elif test "x$prefix" != xNONE; then
     1921  ac_site_file1=$prefix/share/config.site
     1922  ac_site_file2=$prefix/etc/config.site
     1923else
     1924  ac_site_file1=$ac_default_prefix/share/config.site
     1925  ac_site_file2=$ac_default_prefix/etc/config.site
     1926fi
     1927for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     1928do
     1929  test "x$ac_site_file" = xNONE && continue
    5061930  if test -r "$ac_site_file"; then
    507     echo "loading site script $ac_site_file"
     1931    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1932$as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1933    sed 's/^/| /' "$ac_site_file" >&5
    5081934    . "$ac_site_file"
    5091935  fi
    5101936done
    5111937
     1938if test -r "$cache_file"; then
     1939  # Some versions of bash will fail to source /dev/null (special
     1940  # files actually), so we avoid doing that.
     1941  if test -f "$cache_file"; then
     1942    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1943$as_echo "$as_me: loading cache $cache_file" >&6;}
     1944    case $cache_file in
     1945      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1946      *)                      . "./$cache_file";;
     1947    esac
     1948  fi
     1949else
     1950  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1951$as_echo "$as_me: creating cache $cache_file" >&6;}
     1952  >$cache_file
     1953fi
     1954
     1955# Check that the precious variables saved in the cache have kept the same
     1956# value.
     1957ac_cache_corrupted=false
     1958for ac_var in $ac_precious_vars; do
     1959  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1960  eval ac_new_set=\$ac_env_${ac_var}_set
     1961  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1962  eval ac_new_val=\$ac_env_${ac_var}_value
     1963  case $ac_old_set,$ac_new_set in
     1964    set,)
     1965      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1966$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1967      ac_cache_corrupted=: ;;
     1968    ,set)
     1969      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1970$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1971      ac_cache_corrupted=: ;;
     1972    ,);;
     1973    *)
     1974      if test "x$ac_old_val" != "x$ac_new_val"; then
     1975        # differences in whitespace do not lead to failure.
     1976        ac_old_val_w=`echo x $ac_old_val`
     1977        ac_new_val_w=`echo x $ac_new_val`
     1978        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     1979          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1980$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1981          ac_cache_corrupted=:
     1982        else
     1983          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1984$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     1985          eval $ac_var=\$ac_old_val
     1986        fi
     1987        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1988$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     1989        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1990$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1991      fi;;
     1992  esac
     1993  # Pass precious variables to config.status.
     1994  if test "$ac_new_set" = set; then
     1995    case $ac_new_val in
     1996    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1997    *) ac_arg=$ac_var=$ac_new_val ;;
     1998    esac
     1999    case " $ac_configure_args " in
     2000      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     2001      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2002    esac
     2003  fi
     2004done
     2005if $ac_cache_corrupted; then
     2006  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2007$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2008  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2009$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2010  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     2011$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     2012   { (exit 1); exit 1; }; }
     2013fi
     2014
     2015
     2016
     2017
     2018
     2019
     2020
     2021
     2022
     2023
     2024
     2025
     2026
     2027
     2028
     2029
     2030
     2031
     2032
     2033
     2034
     2035
     2036
     2037
    5122038
    5132039ac_ext=c
    514 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5152040ac_cpp='$CPP $CPPFLAGS'
    516 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    517 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    518 cross_compiling=$ac_cv_prog_cc_cross
    519 
    520 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    521   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
    522   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    523     ac_n= ac_c='
    524 ' ac_t='        '
     2041ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2042ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2043ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2044
     2045
     2046
     2047# Directory where autotools helper scripts lives.
     2048ac_aux_dir=
     2049for ac_dir in . "$srcdir"/.; do
     2050  if test -f "$ac_dir/install-sh"; then
     2051    ac_aux_dir=$ac_dir
     2052    ac_install_sh="$ac_aux_dir/install-sh -c"
     2053    break
     2054  elif test -f "$ac_dir/install.sh"; then
     2055    ac_aux_dir=$ac_dir
     2056    ac_install_sh="$ac_aux_dir/install.sh -c"
     2057    break
     2058  elif test -f "$ac_dir/shtool"; then
     2059    ac_aux_dir=$ac_dir
     2060    ac_install_sh="$ac_aux_dir/shtool install -c"
     2061    break
     2062  fi
     2063done
     2064if test -z "$ac_aux_dir"; then
     2065  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
     2066$as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
     2067   { (exit 1); exit 1; }; }
     2068fi
     2069
     2070# These three variables are undocumented and unsupported,
     2071# and are intended to be withdrawn in a future Autoconf release.
     2072# They can cause serious problems if a builder's source tree is in a directory
     2073# whose full name contains unusual characters.
     2074ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2075ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2076ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2077
     2078
     2079
     2080# Generate configuration headers.
     2081ac_config_headers="$ac_config_headers jconfig.h:jconfig.cfg"
     2082
     2083
     2084# Hack: disable autoheader so that it doesn't overwrite our cfg template.
     2085AUTOHEADER="echo autoheader ignored"
     2086
     2087# Check system type
     2088# Make sure we can run config.sub.
     2089$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     2090  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     2091$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     2092   { (exit 1); exit 1; }; }
     2093
     2094{ $as_echo "$as_me:$LINENO: checking build system type" >&5
     2095$as_echo_n "checking build system type... " >&6; }
     2096if test "${ac_cv_build+set}" = set; then
     2097  $as_echo_n "(cached) " >&6
     2098else
     2099  ac_build_alias=$build_alias
     2100test "x$ac_build_alias" = x &&
     2101  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     2102test "x$ac_build_alias" = x &&
     2103  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     2104$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     2105   { (exit 1); exit 1; }; }
     2106ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     2107  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     2108$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     2109   { (exit 1); exit 1; }; }
     2110
     2111fi
     2112{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     2113$as_echo "$ac_cv_build" >&6; }
     2114case $ac_cv_build in
     2115*-*-*) ;;
     2116*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     2117$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     2118   { (exit 1); exit 1; }; };;
     2119esac
     2120build=$ac_cv_build
     2121ac_save_IFS=$IFS; IFS='-'
     2122set x $ac_cv_build
     2123shift
     2124build_cpu=$1
     2125build_vendor=$2
     2126shift; shift
     2127# Remember, the first character of IFS is used to create $*,
     2128# except with old shells:
     2129build_os=$*
     2130IFS=$ac_save_IFS
     2131case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     2132
     2133
     2134{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     2135$as_echo_n "checking host system type... " >&6; }
     2136if test "${ac_cv_host+set}" = set; then
     2137  $as_echo_n "(cached) " >&6
     2138else
     2139  if test "x$host_alias" = x; then
     2140  ac_cv_host=$ac_cv_build
     2141else
     2142  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     2143    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     2144$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     2145   { (exit 1); exit 1; }; }
     2146fi
     2147
     2148fi
     2149{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     2150$as_echo "$ac_cv_host" >&6; }
     2151case $ac_cv_host in
     2152*-*-*) ;;
     2153*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     2154$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     2155   { (exit 1); exit 1; }; };;
     2156esac
     2157host=$ac_cv_host
     2158ac_save_IFS=$IFS; IFS='-'
     2159set x $ac_cv_host
     2160shift
     2161host_cpu=$1
     2162host_vendor=$2
     2163shift; shift
     2164# Remember, the first character of IFS is used to create $*,
     2165# except with old shells:
     2166host_os=$*
     2167IFS=$ac_save_IFS
     2168case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     2169
     2170
     2171{ $as_echo "$as_me:$LINENO: checking target system type" >&5
     2172$as_echo_n "checking target system type... " >&6; }
     2173if test "${ac_cv_target+set}" = set; then
     2174  $as_echo_n "(cached) " >&6
     2175else
     2176  if test "x$target_alias" = x; then
     2177  ac_cv_target=$ac_cv_host
     2178else
     2179  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     2180    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
     2181$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
     2182   { (exit 1); exit 1; }; }
     2183fi
     2184
     2185fi
     2186{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     2187$as_echo "$ac_cv_target" >&6; }
     2188case $ac_cv_target in
     2189*-*-*) ;;
     2190*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
     2191$as_echo "$as_me: error: invalid value of canonical target" >&2;}
     2192   { (exit 1); exit 1; }; };;
     2193esac
     2194target=$ac_cv_target
     2195ac_save_IFS=$IFS; IFS='-'
     2196set x $ac_cv_target
     2197shift
     2198target_cpu=$1
     2199target_vendor=$2
     2200shift; shift
     2201# Remember, the first character of IFS is used to create $*,
     2202# except with old shells:
     2203target_os=$*
     2204IFS=$ac_save_IFS
     2205case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
     2206
     2207
     2208# The aliases save the names the user supplied, while $host etc.
     2209# will get canonicalized.
     2210test -n "$target_alias" &&
     2211  test "$program_prefix$program_suffix$program_transform_name" = \
     2212    NONENONEs,x,x, &&
     2213  program_prefix=${target_alias}-
     2214
     2215# Initialize Automake
     2216# Don't require all the GNU mandated files
     2217am__api_version='1.11'
     2218
     2219# Find a good install program.  We prefer a C program (faster),
     2220# so one script is as good as another.  But avoid the broken or
     2221# incompatible versions:
     2222# SysV /etc/install, /usr/sbin/install
     2223# SunOS /usr/etc/install
     2224# IRIX /sbin/install
     2225# AIX /bin/install
     2226# AmigaOS /C/install, which installs bootblocks on floppy discs
     2227# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     2228# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     2229# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2230# OS/2's system install, which has a completely different semantic
     2231# ./install, which can be erroneously created by make from ./install.sh.
     2232# Reject install programs that cannot install multiple files.
     2233{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2234$as_echo_n "checking for a BSD-compatible install... " >&6; }
     2235if test -z "$INSTALL"; then
     2236if test "${ac_cv_path_install+set}" = set; then
     2237  $as_echo_n "(cached) " >&6
     2238else
     2239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2240for as_dir in $PATH
     2241do
     2242  IFS=$as_save_IFS
     2243  test -z "$as_dir" && as_dir=.
     2244  # Account for people who put trailing slashes in PATH elements.
     2245case $as_dir/ in
     2246  ./ | .// | /cC/* | \
     2247  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2248  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2249  /usr/ucb/* ) ;;
     2250  *)
     2251    # OSF1 and SCO ODT 3.0 have their own names for install.
     2252    # Don't use installbsd from OSF since it installs stuff as root
     2253    # by default.
     2254    for ac_prog in ginstall scoinst install; do
     2255      for ac_exec_ext in '' $ac_executable_extensions; do
     2256        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2257          if test $ac_prog = install &&
     2258            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2259            # AIX install.  It has an incompatible calling convention.
     2260            :
     2261          elif test $ac_prog = install &&
     2262            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2263            # program-specific install script used by HP pwplus--don't use.
     2264            :
     2265          else
     2266            rm -rf conftest.one conftest.two conftest.dir
     2267            echo one > conftest.one
     2268            echo two > conftest.two
     2269            mkdir conftest.dir
     2270            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     2271              test -s conftest.one && test -s conftest.two &&
     2272              test -s conftest.dir/conftest.one &&
     2273              test -s conftest.dir/conftest.two
     2274            then
     2275              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2276              break 3
     2277            fi
     2278          fi
     2279        fi
     2280      done
     2281    done
     2282    ;;
     2283esac
     2284
     2285done
     2286IFS=$as_save_IFS
     2287
     2288rm -rf conftest.one conftest.two conftest.dir
     2289
     2290fi
     2291  if test "${ac_cv_path_install+set}" = set; then
     2292    INSTALL=$ac_cv_path_install
    5252293  else
    526     ac_n=-n ac_c= ac_t=
     2294    # As a last resort, use the slow shell script.  Don't cache a
     2295    # value for INSTALL within a source directory, because that will
     2296    # break other packages using the cache if that directory is
     2297    # removed, or if the value is a relative name.
     2298    INSTALL=$ac_install_sh
    5272299  fi
    528 else
    529   ac_n= ac_c='\c' ac_t=
    530 fi
    531 
    532 
    533 
    534 # Extract the first word of "gcc", so it can be a program name with args.
    535 set dummy gcc; ac_word=$2
    536 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    537 echo "configure:538: checking for $ac_word" >&5
    538 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    539   echo $ac_n "(cached) $ac_c" 1>&6
     2300fi
     2301{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2302$as_echo "$INSTALL" >&6; }
     2303
     2304# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     2305# It thinks the first close brace ends the variable substitution.
     2306test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     2307
     2308test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     2309
     2310test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     2311
     2312{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     2313$as_echo_n "checking whether build environment is sane... " >&6; }
     2314# Just in case
     2315sleep 1
     2316echo timestamp > conftest.file
     2317# Reject unsafe characters in $srcdir or the absolute working directory
     2318# name.  Accept space and tab only in the latter.
     2319am_lf='
     2320'
     2321case `pwd` in
     2322  *[\\\"\#\$\&\'\`$am_lf]*)
     2323    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
     2324$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
     2325   { (exit 1); exit 1; }; };;
     2326esac
     2327case $srcdir in
     2328  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
     2329    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
     2330$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
     2331   { (exit 1); exit 1; }; };;
     2332esac
     2333
     2334# Do `set' in a subshell so we don't clobber the current shell's
     2335# arguments.  Must try -L first in case configure is actually a
     2336# symlink; some systems play weird games with the mod time of symlinks
     2337# (eg FreeBSD returns the mod time of the symlink's containing
     2338# directory).
     2339if (
     2340   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     2341   if test "$*" = "X"; then
     2342      # -L didn't work.
     2343      set X `ls -t "$srcdir/configure" conftest.file`
     2344   fi
     2345   rm -f conftest.file
     2346   if test "$*" != "X $srcdir/configure conftest.file" \
     2347      && test "$*" != "X conftest.file $srcdir/configure"; then
     2348
     2349      # If neither matched, then we have a broken ls.  This can happen
     2350      # if, for instance, CONFIG_SHELL is bash and it inherits a
     2351      # broken ls alias from the environment.  This has actually
     2352      # happened.  Such a system could not be considered "sane".
     2353      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     2354alias in your environment" >&5
     2355$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     2356alias in your environment" >&2;}
     2357   { (exit 1); exit 1; }; }
     2358   fi
     2359
     2360   test "$2" = conftest.file
     2361   )
     2362then
     2363   # Ok.
     2364   :
     2365else
     2366   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     2367Check your system clock" >&5
     2368$as_echo "$as_me: error: newly created file is older than distributed files!
     2369Check your system clock" >&2;}
     2370   { (exit 1); exit 1; }; }
     2371fi
     2372{ $as_echo "$as_me:$LINENO: result: yes" >&5
     2373$as_echo "yes" >&6; }
     2374test "$program_prefix" != NONE &&
     2375  program_transform_name="s&^&$program_prefix&;$program_transform_name"
     2376# Use a double $ so make ignores it.
     2377test "$program_suffix" != NONE &&
     2378  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
     2379# Double any \ or $.
     2380# By default was `s,x,x', remove it if useless.
     2381ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
     2382program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
     2383
     2384# expand $ac_aux_dir to an absolute path
     2385am_aux_dir=`cd $ac_aux_dir && pwd`
     2386
     2387if test x"${MISSING+set}" != xset; then
     2388  case $am_aux_dir in
     2389  *\ * | *\     *)
     2390    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
     2391  *)
     2392    MISSING="\${SHELL} $am_aux_dir/missing" ;;
     2393  esac
     2394fi
     2395# Use eval to expand $SHELL
     2396if eval "$MISSING --run true"; then
     2397  am_missing_run="$MISSING --run "
     2398else
     2399  am_missing_run=
     2400  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
     2401$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
     2402fi
     2403
     2404if test x"${install_sh}" != xset; then
     2405  case $am_aux_dir in
     2406  *\ * | *\     *)
     2407    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
     2408  *)
     2409    install_sh="\${SHELL} $am_aux_dir/install-sh"
     2410  esac
     2411fi
     2412
     2413# Installed binaries are usually stripped using `strip' when the user
     2414# run `make install-strip'.  However `strip' might not be the right
     2415# tool to use in cross-compilation environments, therefore Automake
     2416# will honor the `STRIP' environment variable to overrule this program.
     2417if test "$cross_compiling" != no; then
     2418  if test -n "$ac_tool_prefix"; then
     2419  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     2420set dummy ${ac_tool_prefix}strip; ac_word=$2
     2421{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2422$as_echo_n "checking for $ac_word... " >&6; }
     2423if test "${ac_cv_prog_STRIP+set}" = set; then
     2424  $as_echo_n "(cached) " >&6
     2425else
     2426  if test -n "$STRIP"; then
     2427  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     2428else
     2429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2430for as_dir in $PATH
     2431do
     2432  IFS=$as_save_IFS
     2433  test -z "$as_dir" && as_dir=.
     2434  for ac_exec_ext in '' $ac_executable_extensions; do
     2435  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2436    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     2437    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2438    break 2
     2439  fi
     2440done
     2441done
     2442IFS=$as_save_IFS
     2443
     2444fi
     2445fi
     2446STRIP=$ac_cv_prog_STRIP
     2447if test -n "$STRIP"; then
     2448  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
     2449$as_echo "$STRIP" >&6; }
     2450else
     2451  { $as_echo "$as_me:$LINENO: result: no" >&5
     2452$as_echo "no" >&6; }
     2453fi
     2454
     2455
     2456fi
     2457if test -z "$ac_cv_prog_STRIP"; then
     2458  ac_ct_STRIP=$STRIP
     2459  # Extract the first word of "strip", so it can be a program name with args.
     2460set dummy strip; ac_word=$2
     2461{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2462$as_echo_n "checking for $ac_word... " >&6; }
     2463if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
     2464  $as_echo_n "(cached) " >&6
     2465else
     2466  if test -n "$ac_ct_STRIP"; then
     2467  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     2468else
     2469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2470for as_dir in $PATH
     2471do
     2472  IFS=$as_save_IFS
     2473  test -z "$as_dir" && as_dir=.
     2474  for ac_exec_ext in '' $ac_executable_extensions; do
     2475  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2476    ac_cv_prog_ac_ct_STRIP="strip"
     2477    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2478    break 2
     2479  fi
     2480done
     2481done
     2482IFS=$as_save_IFS
     2483
     2484fi
     2485fi
     2486ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     2487if test -n "$ac_ct_STRIP"; then
     2488  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     2489$as_echo "$ac_ct_STRIP" >&6; }
     2490else
     2491  { $as_echo "$as_me:$LINENO: result: no" >&5
     2492$as_echo "no" >&6; }
     2493fi
     2494
     2495  if test "x$ac_ct_STRIP" = x; then
     2496    STRIP=":"
     2497  else
     2498    case $cross_compiling:$ac_tool_warned in
     2499yes:)
     2500{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2502ac_tool_warned=yes ;;
     2503esac
     2504    STRIP=$ac_ct_STRIP
     2505  fi
     2506else
     2507  STRIP="$ac_cv_prog_STRIP"
     2508fi
     2509
     2510fi
     2511INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
     2512
     2513{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     2514$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     2515if test -z "$MKDIR_P"; then
     2516  if test "${ac_cv_path_mkdir+set}" = set; then
     2517  $as_echo_n "(cached) " >&6
     2518else
     2519  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2520for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     2521do
     2522  IFS=$as_save_IFS
     2523  test -z "$as_dir" && as_dir=.
     2524  for ac_prog in mkdir gmkdir; do
     2525         for ac_exec_ext in '' $ac_executable_extensions; do
     2526           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     2527           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     2528             'mkdir (GNU coreutils) '* | \
     2529             'mkdir (coreutils) '* | \
     2530             'mkdir (fileutils) '4.1*)
     2531               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     2532               break 3;;
     2533           esac
     2534         done
     2535       done
     2536done
     2537IFS=$as_save_IFS
     2538
     2539fi
     2540
     2541  if test "${ac_cv_path_mkdir+set}" = set; then
     2542    MKDIR_P="$ac_cv_path_mkdir -p"
     2543  else
     2544    # As a last resort, use the slow shell script.  Don't cache a
     2545    # value for MKDIR_P within a source directory, because that will
     2546    # break other packages using the cache if that directory is
     2547    # removed, or if the value is a relative name.
     2548    test -d ./--version && rmdir ./--version
     2549    MKDIR_P="$ac_install_sh -d"
     2550  fi
     2551fi
     2552{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     2553$as_echo "$MKDIR_P" >&6; }
     2554
     2555mkdir_p="$MKDIR_P"
     2556case $mkdir_p in
     2557  [\\/$]* | ?:[\\/]*) ;;
     2558  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
     2559esac
     2560
     2561for ac_prog in gawk mawk nawk awk
     2562do
     2563  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2564set dummy $ac_prog; ac_word=$2
     2565{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2566$as_echo_n "checking for $ac_word... " >&6; }
     2567if test "${ac_cv_prog_AWK+set}" = set; then
     2568  $as_echo_n "(cached) " >&6
     2569else
     2570  if test -n "$AWK"; then
     2571  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     2572else
     2573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2574for as_dir in $PATH
     2575do
     2576  IFS=$as_save_IFS
     2577  test -z "$as_dir" && as_dir=.
     2578  for ac_exec_ext in '' $ac_executable_extensions; do
     2579  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2580    ac_cv_prog_AWK="$ac_prog"
     2581    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2582    break 2
     2583  fi
     2584done
     2585done
     2586IFS=$as_save_IFS
     2587
     2588fi
     2589fi
     2590AWK=$ac_cv_prog_AWK
     2591if test -n "$AWK"; then
     2592  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
     2593$as_echo "$AWK" >&6; }
     2594else
     2595  { $as_echo "$as_me:$LINENO: result: no" >&5
     2596$as_echo "no" >&6; }
     2597fi
     2598
     2599
     2600  test -n "$AWK" && break
     2601done
     2602
     2603{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2604$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     2605set x ${MAKE-make}
     2606ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     2607if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     2608  $as_echo_n "(cached) " >&6
     2609else
     2610  cat >conftest.make <<\_ACEOF
     2611SHELL = /bin/sh
     2612all:
     2613        @echo '@@@%%%=$(MAKE)=@@@%%%'
     2614_ACEOF
     2615# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     2616case `${MAKE-make} -f conftest.make 2>/dev/null` in
     2617  *@@@%%%=?*=@@@%%%*)
     2618    eval ac_cv_prog_make_${ac_make}_set=yes;;
     2619  *)
     2620    eval ac_cv_prog_make_${ac_make}_set=no;;
     2621esac
     2622rm -f conftest.make
     2623fi
     2624if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     2625  { $as_echo "$as_me:$LINENO: result: yes" >&5
     2626$as_echo "yes" >&6; }
     2627  SET_MAKE=
     2628else
     2629  { $as_echo "$as_me:$LINENO: result: no" >&5
     2630$as_echo "no" >&6; }
     2631  SET_MAKE="MAKE=${MAKE-make}"
     2632fi
     2633
     2634rm -rf .tst 2>/dev/null
     2635mkdir .tst 2>/dev/null
     2636if test -d .tst; then
     2637  am__leading_dot=.
     2638else
     2639  am__leading_dot=_
     2640fi
     2641rmdir .tst 2>/dev/null
     2642
     2643if test "`cd $srcdir && pwd`" != "`pwd`"; then
     2644  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     2645  # is not polluted with repeated "-I."
     2646  am__isrc=' -I$(srcdir)'
     2647  # test to see if srcdir already configured
     2648  if test -f $srcdir/config.status; then
     2649    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
     2650$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
     2651   { (exit 1); exit 1; }; }
     2652  fi
     2653fi
     2654
     2655# test whether we have cygpath
     2656if test -z "$CYGPATH_W"; then
     2657  if (cygpath --version) >/dev/null 2>/dev/null; then
     2658    CYGPATH_W='cygpath -w'
     2659  else
     2660    CYGPATH_W=echo
     2661  fi
     2662fi
     2663
     2664
     2665# Define the identity of the package.
     2666 PACKAGE='libjpeg'
     2667 VERSION='7.0'
     2668
     2669
     2670cat >>confdefs.h <<_ACEOF
     2671#define PACKAGE "$PACKAGE"
     2672_ACEOF
     2673
     2674
     2675cat >>confdefs.h <<_ACEOF
     2676#define VERSION "$VERSION"
     2677_ACEOF
     2678
     2679# Some tools Automake needs.
     2680
     2681ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
     2682
     2683
     2684AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
     2685
     2686
     2687AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
     2688
     2689
     2690AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
     2691
     2692
     2693MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
     2694
     2695# We need awk for the "check" target.  The system "awk" is bad on
     2696# some platforms.
     2697# Always define AMTAR for backward compatibility.
     2698
     2699AMTAR=${AMTAR-"${am_missing_run}tar"}
     2700
     2701am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
     2702
     2703
     2704
     2705
     2706
     2707
     2708# Make --enable-silent-rules the default.
     2709# To get verbose build output you may configure
     2710# with --disable-silent-rules or use "make V=1".
     2711# Check whether --enable-silent-rules was given.
     2712if test "${enable_silent_rules+set}" = set; then
     2713  enableval=$enable_silent_rules;
     2714fi
     2715
     2716case $enable_silent_rules in
     2717yes) AM_DEFAULT_VERBOSITY=0;;
     2718no)  AM_DEFAULT_VERBOSITY=1;;
     2719*)   AM_DEFAULT_VERBOSITY=0;;
     2720esac
     2721AM_BACKSLASH='\'
     2722
     2723
     2724# This is required when using the de-ANSI-fication feature.
     2725DEPDIR="${am__leading_dot}deps"
     2726
     2727ac_config_commands="$ac_config_commands depfiles"
     2728
     2729
     2730am_make=${MAKE-make}
     2731cat > confinc << 'END'
     2732am__doit:
     2733        @echo this is the am__doit target
     2734.PHONY: am__doit
     2735END
     2736# If we don't find an include directive, just comment out the code.
     2737{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
     2738$as_echo_n "checking for style of include used by $am_make... " >&6; }
     2739am__include="#"
     2740am__quote=
     2741_am_result=none
     2742# First try GNU make style include.
     2743echo "include confinc" > confmf
     2744# Ignore all kinds of additional output from `make'.
     2745case `$am_make -s -f confmf 2> /dev/null` in #(
     2746*the\ am__doit\ target*)
     2747  am__include=include
     2748  am__quote=
     2749  _am_result=GNU
     2750  ;;
     2751esac
     2752# Now try BSD make style include.
     2753if test "$am__include" = "#"; then
     2754   echo '.include "confinc"' > confmf
     2755   case `$am_make -s -f confmf 2> /dev/null` in #(
     2756   *the\ am__doit\ target*)
     2757     am__include=.include
     2758     am__quote="\""
     2759     _am_result=BSD
     2760     ;;
     2761   esac
     2762fi
     2763
     2764
     2765{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
     2766$as_echo "$_am_result" >&6; }
     2767rm -f confinc confmf
     2768
     2769# Check whether --enable-dependency-tracking was given.
     2770if test "${enable_dependency_tracking+set}" = set; then
     2771  enableval=$enable_dependency_tracking;
     2772fi
     2773
     2774if test "x$enable_dependency_tracking" != xno; then
     2775  am_depcomp="$ac_aux_dir/depcomp"
     2776  AMDEPBACKSLASH='\'
     2777fi
     2778 if test "x$enable_dependency_tracking" != xno; then
     2779  AMDEP_TRUE=
     2780  AMDEP_FALSE='#'
     2781else
     2782  AMDEP_TRUE='#'
     2783  AMDEP_FALSE=
     2784fi
     2785
     2786
     2787ac_ext=c
     2788ac_cpp='$CPP $CPPFLAGS'
     2789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2791ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2792if test -n "$ac_tool_prefix"; then
     2793  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     2794set dummy ${ac_tool_prefix}gcc; ac_word=$2
     2795{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2796$as_echo_n "checking for $ac_word... " >&6; }
     2797if test "${ac_cv_prog_CC+set}" = set; then
     2798  $as_echo_n "(cached) " >&6
    5402799else
    5412800  if test -n "$CC"; then
    5422801  ac_cv_prog_CC="$CC" # Let the user override the test.
    5432802else
    544   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    545   for ac_dir in $PATH; do
    546     test -z "$ac_dir" && ac_dir=.
    547     if test -f $ac_dir/$ac_word; then
    548       ac_cv_prog_CC="gcc"
    549       break
    550     fi
    551   done
    552   IFS="$ac_save_ifs"
    553 fi
    554 fi
    555 CC="$ac_cv_prog_CC"
     2803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2804for as_dir in $PATH
     2805do
     2806  IFS=$as_save_IFS
     2807  test -z "$as_dir" && as_dir=.
     2808  for ac_exec_ext in '' $ac_executable_extensions; do
     2809  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2810    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2811    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2812    break 2
     2813  fi
     2814done
     2815done
     2816IFS=$as_save_IFS
     2817
     2818fi
     2819fi
     2820CC=$ac_cv_prog_CC
    5562821if test -n "$CC"; then
    557   echo "$ac_t""$CC" 1>&6
    558 else
    559   echo "$ac_t""no" 1>&6
    560 fi
    561 
     2822  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2823$as_echo "$CC" >&6; }
     2824else
     2825  { $as_echo "$as_me:$LINENO: result: no" >&5
     2826$as_echo "no" >&6; }
     2827fi
     2828
     2829
     2830fi
     2831if test -z "$ac_cv_prog_CC"; then
     2832  ac_ct_CC=$CC
     2833  # Extract the first word of "gcc", so it can be a program name with args.
     2834set dummy gcc; ac_word=$2
     2835{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2836$as_echo_n "checking for $ac_word... " >&6; }
     2837if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2838  $as_echo_n "(cached) " >&6
     2839else
     2840  if test -n "$ac_ct_CC"; then
     2841  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2842else
     2843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2844for as_dir in $PATH
     2845do
     2846  IFS=$as_save_IFS
     2847  test -z "$as_dir" && as_dir=.
     2848  for ac_exec_ext in '' $ac_executable_extensions; do
     2849  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2850    ac_cv_prog_ac_ct_CC="gcc"
     2851    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2852    break 2
     2853  fi
     2854done
     2855done
     2856IFS=$as_save_IFS
     2857
     2858fi
     2859fi
     2860ac_ct_CC=$ac_cv_prog_ac_ct_CC
     2861if test -n "$ac_ct_CC"; then
     2862  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2863$as_echo "$ac_ct_CC" >&6; }
     2864else
     2865  { $as_echo "$as_me:$LINENO: result: no" >&5
     2866$as_echo "no" >&6; }
     2867fi
     2868
     2869  if test "x$ac_ct_CC" = x; then
     2870    CC=""
     2871  else
     2872    case $cross_compiling:$ac_tool_warned in
     2873yes:)
     2874{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2876ac_tool_warned=yes ;;
     2877esac
     2878    CC=$ac_ct_CC
     2879  fi
     2880else
     2881  CC="$ac_cv_prog_CC"
     2882fi
     2883
     2884if test -z "$CC"; then
     2885          if test -n "$ac_tool_prefix"; then
     2886    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2887set dummy ${ac_tool_prefix}cc; ac_word=$2
     2888{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2889$as_echo_n "checking for $ac_word... " >&6; }
     2890if test "${ac_cv_prog_CC+set}" = set; then
     2891  $as_echo_n "(cached) " >&6
     2892else
     2893  if test -n "$CC"; then
     2894  ac_cv_prog_CC="$CC" # Let the user override the test.
     2895else
     2896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2897for as_dir in $PATH
     2898do
     2899  IFS=$as_save_IFS
     2900  test -z "$as_dir" && as_dir=.
     2901  for ac_exec_ext in '' $ac_executable_extensions; do
     2902  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2903    ac_cv_prog_CC="${ac_tool_prefix}cc"
     2904    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2905    break 2
     2906  fi
     2907done
     2908done
     2909IFS=$as_save_IFS
     2910
     2911fi
     2912fi
     2913CC=$ac_cv_prog_CC
     2914if test -n "$CC"; then
     2915  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2916$as_echo "$CC" >&6; }
     2917else
     2918  { $as_echo "$as_me:$LINENO: result: no" >&5
     2919$as_echo "no" >&6; }
     2920fi
     2921
     2922
     2923  fi
     2924fi
    5622925if test -z "$CC"; then
    5632926  # Extract the first word of "cc", so it can be a program name with args.
    5642927set dummy cc; ac_word=$2
    565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    566 echo "configure:567: checking for $ac_word" >&5
    567 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    568   echo $ac_n "(cached) $ac_c" 1>&6
     2928{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2929$as_echo_n "checking for $ac_word... " >&6; }
     2930if test "${ac_cv_prog_CC+set}" = set; then
     2931  $as_echo_n "(cached) " >&6
    5692932else
    5702933  if test -n "$CC"; then
    5712934  ac_cv_prog_CC="$CC" # Let the user override the test.
    5722935else
    573   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    5742936  ac_prog_rejected=no
    575   for ac_dir in $PATH; do
    576     test -z "$ac_dir" && ac_dir=.
    577     if test -f $ac_dir/$ac_word; then
    578       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
    579         ac_prog_rejected=yes
    580         continue
    581       fi
    582       ac_cv_prog_CC="cc"
    583       break
    584     fi
    585   done
    586   IFS="$ac_save_ifs"
     2937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2938for as_dir in $PATH
     2939do
     2940  IFS=$as_save_IFS
     2941  test -z "$as_dir" && as_dir=.
     2942  for ac_exec_ext in '' $ac_executable_extensions; do
     2943  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2944    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     2945       ac_prog_rejected=yes
     2946       continue
     2947     fi
     2948    ac_cv_prog_CC="cc"
     2949    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2950    break 2
     2951  fi
     2952done
     2953done
     2954IFS=$as_save_IFS
     2955
    5872956if test $ac_prog_rejected = yes; then
    5882957  # We found a bogon in the path, so make sure we never use it.
    5892958  set dummy $ac_cv_prog_CC
    5902959  shift
    591   if test $# -gt 0; then
     2960  if test $# != 0; then
    5922961    # We chose a different compiler from the bogus one.
    5932962    # However, it has the same basename, so the bogon will be chosen
    5942963    # first if we set CC to just the basename; use the full file name.
    5952964    shift
    596     set dummy "$ac_dir/$ac_word" "$@"
    597     shift
    598     ac_cv_prog_CC="$@"
     2965    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    5992966  fi
    6002967fi
    6012968fi
    6022969fi
    603 CC="$ac_cv_prog_CC"
     2970CC=$ac_cv_prog_CC
    6042971if test -n "$CC"; then
    605   echo "$ac_t""$CC" 1>&6
    606 else
    607   echo "$ac_t""no" 1>&6
    608 fi
    609 
    610   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    611 fi
    612 
    613 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    614 echo "configure:615: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2972  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2973$as_echo "$CC" >&6; }
     2974else
     2975  { $as_echo "$as_me:$LINENO: result: no" >&5
     2976$as_echo "no" >&6; }
     2977fi
     2978
     2979
     2980fi
     2981if test -z "$CC"; then
     2982  if test -n "$ac_tool_prefix"; then
     2983  for ac_prog in cl.exe
     2984  do
     2985    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2986set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2987{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2988$as_echo_n "checking for $ac_word... " >&6; }
     2989if test "${ac_cv_prog_CC+set}" = set; then
     2990  $as_echo_n "(cached) " >&6
     2991else
     2992  if test -n "$CC"; then
     2993  ac_cv_prog_CC="$CC" # Let the user override the test.
     2994else
     2995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2996for as_dir in $PATH
     2997do
     2998  IFS=$as_save_IFS
     2999  test -z "$as_dir" && as_dir=.
     3000  for ac_exec_ext in '' $ac_executable_extensions; do
     3001  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3002    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     3003    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3004    break 2
     3005  fi
     3006done
     3007done
     3008IFS=$as_save_IFS
     3009
     3010fi
     3011fi
     3012CC=$ac_cv_prog_CC
     3013if test -n "$CC"; then
     3014  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3015$as_echo "$CC" >&6; }
     3016else
     3017  { $as_echo "$as_me:$LINENO: result: no" >&5
     3018$as_echo "no" >&6; }
     3019fi
     3020
     3021
     3022    test -n "$CC" && break
     3023  done
     3024fi
     3025if test -z "$CC"; then
     3026  ac_ct_CC=$CC
     3027  for ac_prog in cl.exe
     3028do
     3029  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3030set dummy $ac_prog; ac_word=$2
     3031{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3032$as_echo_n "checking for $ac_word... " >&6; }
     3033if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3034  $as_echo_n "(cached) " >&6
     3035else
     3036  if test -n "$ac_ct_CC"; then
     3037  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3038else
     3039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3040for as_dir in $PATH
     3041do
     3042  IFS=$as_save_IFS
     3043  test -z "$as_dir" && as_dir=.
     3044  for ac_exec_ext in '' $ac_executable_extensions; do
     3045  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3046    ac_cv_prog_ac_ct_CC="$ac_prog"
     3047    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3048    break 2
     3049  fi
     3050done
     3051done
     3052IFS=$as_save_IFS
     3053
     3054fi
     3055fi
     3056ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3057if test -n "$ac_ct_CC"; then
     3058  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3059$as_echo "$ac_ct_CC" >&6; }
     3060else
     3061  { $as_echo "$as_me:$LINENO: result: no" >&5
     3062$as_echo "no" >&6; }
     3063fi
     3064
     3065
     3066  test -n "$ac_ct_CC" && break
     3067done
     3068
     3069  if test "x$ac_ct_CC" = x; then
     3070    CC=""
     3071  else
     3072    case $cross_compiling:$ac_tool_warned in
     3073yes:)
     3074{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3076ac_tool_warned=yes ;;
     3077esac
     3078    CC=$ac_ct_CC
     3079  fi
     3080fi
     3081
     3082fi
     3083
     3084
     3085test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3087{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     3088See \`config.log' for more details." >&5
     3089$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     3090See \`config.log' for more details." >&2;}
     3091   { (exit 1); exit 1; }; }; }
     3092
     3093# Provide some information about the compiler.
     3094$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3095set X $ac_compile
     3096ac_compiler=$2
     3097{ (ac_try="$ac_compiler --version >&5"
     3098case "(($ac_try" in
     3099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3100  *) ac_try_echo=$ac_try;;
     3101esac
     3102eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3103$as_echo "$ac_try_echo") >&5
     3104  (eval "$ac_compiler --version >&5") 2>&5
     3105  ac_status=$?
     3106  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3107  (exit $ac_status); }
     3108{ (ac_try="$ac_compiler -v >&5"
     3109case "(($ac_try" in
     3110  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3111  *) ac_try_echo=$ac_try;;
     3112esac
     3113eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3114$as_echo "$ac_try_echo") >&5
     3115  (eval "$ac_compiler -v >&5") 2>&5
     3116  ac_status=$?
     3117  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3118  (exit $ac_status); }
     3119{ (ac_try="$ac_compiler -V >&5"
     3120case "(($ac_try" in
     3121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3122  *) ac_try_echo=$ac_try;;
     3123esac
     3124eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3125$as_echo "$ac_try_echo") >&5
     3126  (eval "$ac_compiler -V >&5") 2>&5
     3127  ac_status=$?
     3128  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3129  (exit $ac_status); }
     3130
     3131cat >conftest.$ac_ext <<_ACEOF
     3132/* confdefs.h.  */
     3133_ACEOF
     3134cat confdefs.h >>conftest.$ac_ext
     3135cat >>conftest.$ac_ext <<_ACEOF
     3136/* end confdefs.h.  */
     3137
     3138int
     3139main ()
     3140{
     3141
     3142  ;
     3143  return 0;
     3144}
     3145_ACEOF
     3146ac_clean_files_save=$ac_clean_files
     3147ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     3148# Try to create an executable without -o first, disregard a.out.
     3149# It will help us diagnose broken compilers, and finding out an intuition
     3150# of exeext.
     3151{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     3152$as_echo_n "checking for C compiler default output file name... " >&6; }
     3153ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3154
     3155# The possible output files:
     3156ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3157
     3158ac_rmfiles=
     3159for ac_file in $ac_files
     3160do
     3161  case $ac_file in
     3162    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3163    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3164  esac
     3165done
     3166rm -f $ac_rmfiles
     3167
     3168if { (ac_try="$ac_link_default"
     3169case "(($ac_try" in
     3170  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3171  *) ac_try_echo=$ac_try;;
     3172esac
     3173eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3174$as_echo "$ac_try_echo") >&5
     3175  (eval "$ac_link_default") 2>&5
     3176  ac_status=$?
     3177  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3178  (exit $ac_status); }; then
     3179  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     3180# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     3181# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     3182# so that the user can short-circuit this test for compilers unknown to
     3183# Autoconf.
     3184for ac_file in $ac_files ''
     3185do
     3186  test -f "$ac_file" || continue
     3187  case $ac_file in
     3188    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     3189        ;;
     3190    [ab].out )
     3191        # We found the default executable, but exeext='' is most
     3192        # certainly right.
     3193        break;;
     3194    *.* )
     3195        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3196        then :; else
     3197           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3198        fi
     3199        # We set ac_cv_exeext here because the later test for it is not
     3200        # safe: cross compilers may not add the suffix if given an `-o'
     3201        # argument, so we may need to know it at that point already.
     3202        # Even if this section looks crufty: it has the advantage of
     3203        # actually working.
     3204        break;;
     3205    * )
     3206        break;;
     3207  esac
     3208done
     3209test "$ac_cv_exeext" = no && ac_cv_exeext=
     3210
     3211else
     3212  ac_file=''
     3213fi
     3214
     3215{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3216$as_echo "$ac_file" >&6; }
     3217if test -z "$ac_file"; then
     3218  $as_echo "$as_me: failed program was:" >&5
     3219sed 's/^/| /' conftest.$ac_ext >&5
     3220
     3221{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3223{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     3224See \`config.log' for more details." >&5
     3225$as_echo "$as_me: error: C compiler cannot create executables
     3226See \`config.log' for more details." >&2;}
     3227   { (exit 77); exit 77; }; }; }
     3228fi
     3229
     3230ac_exeext=$ac_cv_exeext
     3231
     3232# Check that the compiler produces executables we can run.  If not, either
     3233# the compiler is broken, or we cross compile.
     3234{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     3235$as_echo_n "checking whether the C compiler works... " >&6; }
     3236# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     3237# If not cross compiling, check that we can run a simple program.
     3238if test "$cross_compiling" != yes; then
     3239  if { ac_try='./$ac_file'
     3240  { (case "(($ac_try" in
     3241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3242  *) ac_try_echo=$ac_try;;
     3243esac
     3244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3245$as_echo "$ac_try_echo") >&5
     3246  (eval "$ac_try") 2>&5
     3247  ac_status=$?
     3248  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3249  (exit $ac_status); }; }; then
     3250    cross_compiling=no
     3251  else
     3252    if test "$cross_compiling" = maybe; then
     3253        cross_compiling=yes
     3254    else
     3255        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3257{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     3258If you meant to cross compile, use \`--host'.
     3259See \`config.log' for more details." >&5
     3260$as_echo "$as_me: error: cannot run C compiled programs.
     3261If you meant to cross compile, use \`--host'.
     3262See \`config.log' for more details." >&2;}
     3263   { (exit 1); exit 1; }; }; }
     3264    fi
     3265  fi
     3266fi
     3267{ $as_echo "$as_me:$LINENO: result: yes" >&5
     3268$as_echo "yes" >&6; }
     3269
     3270rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     3271ac_clean_files=$ac_clean_files_save
     3272# Check that the compiler produces executables we can run.  If not, either
     3273# the compiler is broken, or we cross compile.
     3274{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     3275$as_echo_n "checking whether we are cross compiling... " >&6; }
     3276{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     3277$as_echo "$cross_compiling" >&6; }
     3278
     3279{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3280$as_echo_n "checking for suffix of executables... " >&6; }
     3281if { (ac_try="$ac_link"
     3282case "(($ac_try" in
     3283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3284  *) ac_try_echo=$ac_try;;
     3285esac
     3286eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3287$as_echo "$ac_try_echo") >&5
     3288  (eval "$ac_link") 2>&5
     3289  ac_status=$?
     3290  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3291  (exit $ac_status); }; then
     3292  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     3293# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     3294# work properly (i.e., refer to `conftest.exe'), while it won't with
     3295# `rm'.
     3296for ac_file in conftest.exe conftest conftest.*; do
     3297  test -f "$ac_file" || continue
     3298  case $ac_file in
     3299    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3300    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3301          break;;
     3302    * ) break;;
     3303  esac
     3304done
     3305else
     3306  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3308{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     3309See \`config.log' for more details." >&5
     3310$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     3311See \`config.log' for more details." >&2;}
     3312   { (exit 1); exit 1; }; }; }
     3313fi
     3314
     3315rm -f conftest$ac_cv_exeext
     3316{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3317$as_echo "$ac_cv_exeext" >&6; }
     3318
     3319rm -f conftest.$ac_ext
     3320EXEEXT=$ac_cv_exeext
     3321ac_exeext=$EXEEXT
     3322{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     3323$as_echo_n "checking for suffix of object files... " >&6; }
     3324if test "${ac_cv_objext+set}" = set; then
     3325  $as_echo_n "(cached) " >&6
     3326else
     3327  cat >conftest.$ac_ext <<_ACEOF
     3328/* confdefs.h.  */
     3329_ACEOF
     3330cat confdefs.h >>conftest.$ac_ext
     3331cat >>conftest.$ac_ext <<_ACEOF
     3332/* end confdefs.h.  */
     3333
     3334int
     3335main ()
     3336{
     3337
     3338  ;
     3339  return 0;
     3340}
     3341_ACEOF
     3342rm -f conftest.o conftest.obj
     3343if { (ac_try="$ac_compile"
     3344case "(($ac_try" in
     3345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3346  *) ac_try_echo=$ac_try;;
     3347esac
     3348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3349$as_echo "$ac_try_echo") >&5
     3350  (eval "$ac_compile") 2>&5
     3351  ac_status=$?
     3352  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3353  (exit $ac_status); }; then
     3354  for ac_file in conftest.o conftest.obj conftest.*; do
     3355  test -f "$ac_file" || continue;
     3356  case $ac_file in
     3357    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     3358    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     3359       break;;
     3360  esac
     3361done
     3362else
     3363  $as_echo "$as_me: failed program was:" >&5
     3364sed 's/^/| /' conftest.$ac_ext >&5
     3365
     3366{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3368{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     3369See \`config.log' for more details." >&5
     3370$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     3371See \`config.log' for more details." >&2;}
     3372   { (exit 1); exit 1; }; }; }
     3373fi
     3374
     3375rm -f conftest.$ac_cv_objext conftest.$ac_ext
     3376fi
     3377{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3378$as_echo "$ac_cv_objext" >&6; }
     3379OBJEXT=$ac_cv_objext
     3380ac_objext=$OBJEXT
     3381{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3382$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3383if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3384  $as_echo_n "(cached) " >&6
     3385else
     3386  cat >conftest.$ac_ext <<_ACEOF
     3387/* confdefs.h.  */
     3388_ACEOF
     3389cat confdefs.h >>conftest.$ac_ext
     3390cat >>conftest.$ac_ext <<_ACEOF
     3391/* end confdefs.h.  */
     3392
     3393int
     3394main ()
     3395{
     3396#ifndef __GNUC__
     3397       choke me
     3398#endif
     3399
     3400  ;
     3401  return 0;
     3402}
     3403_ACEOF
     3404rm -f conftest.$ac_objext
     3405if { (ac_try="$ac_compile"
     3406case "(($ac_try" in
     3407  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3408  *) ac_try_echo=$ac_try;;
     3409esac
     3410eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3411$as_echo "$ac_try_echo") >&5
     3412  (eval "$ac_compile") 2>conftest.er1
     3413  ac_status=$?
     3414  grep -v '^ *+' conftest.er1 >conftest.err
     3415  rm -f conftest.er1
     3416  cat conftest.err >&5
     3417  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3418  (exit $ac_status); } && {
     3419         test -z "$ac_c_werror_flag" ||
     3420         test ! -s conftest.err
     3421       } && test -s conftest.$ac_objext; then
     3422  ac_compiler_gnu=yes
     3423else
     3424  $as_echo "$as_me: failed program was:" >&5
     3425sed 's/^/| /' conftest.$ac_ext >&5
     3426
     3427        ac_compiler_gnu=no
     3428fi
     3429
     3430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3431ac_cv_c_compiler_gnu=$ac_compiler_gnu
     3432
     3433fi
     3434{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3435$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3436if test $ac_compiler_gnu = yes; then
     3437  GCC=yes
     3438else
     3439  GCC=
     3440fi
     3441ac_test_CFLAGS=${CFLAGS+set}
     3442ac_save_CFLAGS=$CFLAGS
     3443{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3444$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3445if test "${ac_cv_prog_cc_g+set}" = set; then
     3446  $as_echo_n "(cached) " >&6
     3447else
     3448  ac_save_c_werror_flag=$ac_c_werror_flag
     3449   ac_c_werror_flag=yes
     3450   ac_cv_prog_cc_g=no
     3451   CFLAGS="-g"
     3452   cat >conftest.$ac_ext <<_ACEOF
     3453/* confdefs.h.  */
     3454_ACEOF
     3455cat confdefs.h >>conftest.$ac_ext
     3456cat >>conftest.$ac_ext <<_ACEOF
     3457/* end confdefs.h.  */
     3458
     3459int
     3460main ()
     3461{
     3462
     3463  ;
     3464  return 0;
     3465}
     3466_ACEOF
     3467rm -f conftest.$ac_objext
     3468if { (ac_try="$ac_compile"
     3469case "(($ac_try" in
     3470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3471  *) ac_try_echo=$ac_try;;
     3472esac
     3473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3474$as_echo "$ac_try_echo") >&5
     3475  (eval "$ac_compile") 2>conftest.er1
     3476  ac_status=$?
     3477  grep -v '^ *+' conftest.er1 >conftest.err
     3478  rm -f conftest.er1
     3479  cat conftest.err >&5
     3480  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3481  (exit $ac_status); } && {
     3482         test -z "$ac_c_werror_flag" ||
     3483         test ! -s conftest.err
     3484       } && test -s conftest.$ac_objext; then
     3485  ac_cv_prog_cc_g=yes
     3486else
     3487  $as_echo "$as_me: failed program was:" >&5
     3488sed 's/^/| /' conftest.$ac_ext >&5
     3489
     3490        CFLAGS=""
     3491      cat >conftest.$ac_ext <<_ACEOF
     3492/* confdefs.h.  */
     3493_ACEOF
     3494cat confdefs.h >>conftest.$ac_ext
     3495cat >>conftest.$ac_ext <<_ACEOF
     3496/* end confdefs.h.  */
     3497
     3498int
     3499main ()
     3500{
     3501
     3502  ;
     3503  return 0;
     3504}
     3505_ACEOF
     3506rm -f conftest.$ac_objext
     3507if { (ac_try="$ac_compile"
     3508case "(($ac_try" in
     3509  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3510  *) ac_try_echo=$ac_try;;
     3511esac
     3512eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3513$as_echo "$ac_try_echo") >&5
     3514  (eval "$ac_compile") 2>conftest.er1
     3515  ac_status=$?
     3516  grep -v '^ *+' conftest.er1 >conftest.err
     3517  rm -f conftest.er1
     3518  cat conftest.err >&5
     3519  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3520  (exit $ac_status); } && {
     3521         test -z "$ac_c_werror_flag" ||
     3522         test ! -s conftest.err
     3523       } && test -s conftest.$ac_objext; then
     3524  :
     3525else
     3526  $as_echo "$as_me: failed program was:" >&5
     3527sed 's/^/| /' conftest.$ac_ext >&5
     3528
     3529        ac_c_werror_flag=$ac_save_c_werror_flag
     3530         CFLAGS="-g"
     3531         cat >conftest.$ac_ext <<_ACEOF
     3532/* confdefs.h.  */
     3533_ACEOF
     3534cat confdefs.h >>conftest.$ac_ext
     3535cat >>conftest.$ac_ext <<_ACEOF
     3536/* end confdefs.h.  */
     3537
     3538int
     3539main ()
     3540{
     3541
     3542  ;
     3543  return 0;
     3544}
     3545_ACEOF
     3546rm -f conftest.$ac_objext
     3547if { (ac_try="$ac_compile"
     3548case "(($ac_try" in
     3549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3550  *) ac_try_echo=$ac_try;;
     3551esac
     3552eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3553$as_echo "$ac_try_echo") >&5
     3554  (eval "$ac_compile") 2>conftest.er1
     3555  ac_status=$?
     3556  grep -v '^ *+' conftest.er1 >conftest.err
     3557  rm -f conftest.er1
     3558  cat conftest.err >&5
     3559  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3560  (exit $ac_status); } && {
     3561         test -z "$ac_c_werror_flag" ||
     3562         test ! -s conftest.err
     3563       } && test -s conftest.$ac_objext; then
     3564  ac_cv_prog_cc_g=yes
     3565else
     3566  $as_echo "$as_me: failed program was:" >&5
     3567sed 's/^/| /' conftest.$ac_ext >&5
     3568
     3569
     3570fi
     3571
     3572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3573fi
     3574
     3575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3576fi
     3577
     3578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3579   ac_c_werror_flag=$ac_save_c_werror_flag
     3580fi
     3581{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3582$as_echo "$ac_cv_prog_cc_g" >&6; }
     3583if test "$ac_test_CFLAGS" = set; then
     3584  CFLAGS=$ac_save_CFLAGS
     3585elif test $ac_cv_prog_cc_g = yes; then
     3586  if test "$GCC" = yes; then
     3587    CFLAGS="-g -O2"
     3588  else
     3589    CFLAGS="-g"
     3590  fi
     3591else
     3592  if test "$GCC" = yes; then
     3593    CFLAGS="-O2"
     3594  else
     3595    CFLAGS=
     3596  fi
     3597fi
     3598{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3599$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3600if test "${ac_cv_prog_cc_c89+set}" = set; then
     3601  $as_echo_n "(cached) " >&6
     3602else
     3603  ac_cv_prog_cc_c89=no
     3604ac_save_CC=$CC
     3605cat >conftest.$ac_ext <<_ACEOF
     3606/* confdefs.h.  */
     3607_ACEOF
     3608cat confdefs.h >>conftest.$ac_ext
     3609cat >>conftest.$ac_ext <<_ACEOF
     3610/* end confdefs.h.  */
     3611#include <stdarg.h>
     3612#include <stdio.h>
     3613#include <sys/types.h>
     3614#include <sys/stat.h>
     3615/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     3616struct buf { int x; };
     3617FILE * (*rcsopen) (struct buf *, struct stat *, int);
     3618static char *e (p, i)
     3619     char **p;
     3620     int i;
     3621{
     3622  return p[i];
     3623}
     3624static char *f (char * (*g) (char **, int), char **p, ...)
     3625{
     3626  char *s;
     3627  va_list v;
     3628  va_start (v,p);
     3629  s = g (p, va_arg (v,int));
     3630  va_end (v);
     3631  return s;
     3632}
     3633
     3634/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     3635   function prototypes and stuff, but not '\xHH' hex character constants.
     3636   These don't provoke an error unfortunately, instead are silently treated
     3637   as 'x'.  The following induces an error, until -std is added to get
     3638   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     3639   array size at least.  It's necessary to write '\x00'==0 to get something
     3640   that's true only with -std.  */
     3641int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3642
     3643/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3644   inside strings and character constants.  */
     3645#define FOO(x) 'x'
     3646int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     3647
     3648int test (int i, double x);
     3649struct s1 {int (*f) (int a);};
     3650struct s2 {int (*f) (double a);};
     3651int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     3652int argc;
     3653char **argv;
     3654int
     3655main ()
     3656{
     3657return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     3658  ;
     3659  return 0;
     3660}
     3661_ACEOF
     3662for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3663        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3664do
     3665  CC="$ac_save_CC $ac_arg"
     3666  rm -f conftest.$ac_objext
     3667if { (ac_try="$ac_compile"
     3668case "(($ac_try" in
     3669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3670  *) ac_try_echo=$ac_try;;
     3671esac
     3672eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3673$as_echo "$ac_try_echo") >&5
     3674  (eval "$ac_compile") 2>conftest.er1
     3675  ac_status=$?
     3676  grep -v '^ *+' conftest.er1 >conftest.err
     3677  rm -f conftest.er1
     3678  cat conftest.err >&5
     3679  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3680  (exit $ac_status); } && {
     3681         test -z "$ac_c_werror_flag" ||
     3682         test ! -s conftest.err
     3683       } && test -s conftest.$ac_objext; then
     3684  ac_cv_prog_cc_c89=$ac_arg
     3685else
     3686  $as_echo "$as_me: failed program was:" >&5
     3687sed 's/^/| /' conftest.$ac_ext >&5
     3688
     3689
     3690fi
     3691
     3692rm -f core conftest.err conftest.$ac_objext
     3693  test "x$ac_cv_prog_cc_c89" != "xno" && break
     3694done
     3695rm -f conftest.$ac_ext
     3696CC=$ac_save_CC
     3697
     3698fi
     3699# AC_CACHE_VAL
     3700case "x$ac_cv_prog_cc_c89" in
     3701  x)
     3702    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3703$as_echo "none needed" >&6; } ;;
     3704  xno)
     3705    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3706$as_echo "unsupported" >&6; } ;;
     3707  *)
     3708    CC="$CC $ac_cv_prog_cc_c89"
     3709    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3710$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     3711esac
     3712
    6153713
    6163714ac_ext=c
    617 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    6183715ac_cpp='$CPP $CPPFLAGS'
    619 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    620 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    621 cross_compiling=$ac_cv_prog_cc_cross
    622 
    623 cat > conftest.$ac_ext <<EOF
    624 #line 625 "configure"
    625 #include "confdefs.h"
    626 main(){return(0);}
    627 EOF
    628 if { (eval echo configure:629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    629   ac_cv_prog_cc_works=yes
    630   # If we can't run a trivial program, we are probably using a cross compiler.
    631   if (./conftest; exit) 2>/dev/null; then
    632     ac_cv_prog_cc_cross=no
    633   else
    634     ac_cv_prog_cc_cross=yes
     3716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3718ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3719
     3720depcc="$CC"   am_compiler_list=
     3721
     3722{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     3723$as_echo_n "checking dependency style of $depcc... " >&6; }
     3724if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     3725  $as_echo_n "(cached) " >&6
     3726else
     3727  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     3728  # We make a subdir and do the tests there.  Otherwise we can end up
     3729  # making bogus files that we don't know about and never remove.  For
     3730  # instance it was reported that on HP-UX the gcc test will end up
     3731  # making a dummy file named `D' -- because `-MD' means `put the output
     3732  # in D'.
     3733  mkdir conftest.dir
     3734  # Copy depcomp to subdir because otherwise we won't find it if we're
     3735  # using a relative directory.
     3736  cp "$am_depcomp" conftest.dir
     3737  cd conftest.dir
     3738  # We will build objects and dependencies in a subdirectory because
     3739  # it helps to detect inapplicable dependency modes.  For instance
     3740  # both Tru64's cc and ICC support -MD to output dependencies as a
     3741  # side effect of compilation, but ICC will put the dependencies in
     3742  # the current directory while Tru64 will put them in the object
     3743  # directory.
     3744  mkdir sub
     3745
     3746  am_cv_CC_dependencies_compiler_type=none
     3747  if test "$am_compiler_list" = ""; then
     3748     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    6353749  fi
    636 else
    637   echo "configure: failed program was:" >&5
    638   cat conftest.$ac_ext >&5
    639   ac_cv_prog_cc_works=no
    640 fi
    641 rm -fr conftest*
    642 
    643 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
    644 if test $ac_cv_prog_cc_works = no; then
    645   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
    646 fi
    647 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    648 echo "configure:649: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    649 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    650 cross_compiling=$ac_cv_prog_cc_cross
    651 
    652 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    653 echo "configure:654: checking whether we are using GNU C" >&5
    654 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    655   echo $ac_n "(cached) $ac_c" 1>&6
    656 else
    657   cat > conftest.c <<EOF
    658 #ifdef __GNUC__
    659   yes;
    660 #endif
    661 EOF
    662 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    663   ac_cv_prog_gcc=yes
    664 else
    665   ac_cv_prog_gcc=no
    666 fi
    667 fi
    668 
    669 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
    670 
    671 if test $ac_cv_prog_gcc = yes; then
    672   GCC=yes
    673   test "${CFLAGS+set}" = set || CFLAGS="-O2"
    674 else
    675   GCC=
    676   test "${CFLAGS+set}" = set || CFLAGS="-O"
    677 fi
    678 
    679 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    680 echo "configure:681: checking how to run the C preprocessor" >&5
     3750  am__universal=false
     3751  case " $depcc " in #(
     3752     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     3753     esac
     3754
     3755  for depmode in $am_compiler_list; do
     3756    # Setup a source with many dependencies, because some compilers
     3757    # like to wrap large dependency lists on column 80 (with \), and
     3758    # we should not choose a depcomp mode which is confused by this.
     3759    #
     3760    # We need to recreate these files for each test, as the compiler may
     3761    # overwrite some of them when testing with obscure command lines.
     3762    # This happens at least with the AIX C compiler.
     3763    : > sub/conftest.c
     3764    for i in 1 2 3 4 5 6; do
     3765      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     3766      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     3767      # Solaris 8's {/usr,}/bin/sh.
     3768      touch sub/conftst$i.h
     3769    done
     3770    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     3771
     3772    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     3773    # mode.  It turns out that the SunPro C++ compiler does not properly
     3774    # handle `-M -o', and we need to detect this.  Also, some Intel
     3775    # versions had trouble with output in subdirs
     3776    am__obj=sub/conftest.${OBJEXT-o}
     3777    am__minus_obj="-o $am__obj"
     3778    case $depmode in
     3779    gcc)
     3780      # This depmode causes a compiler race in universal mode.
     3781      test "$am__universal" = false || continue
     3782      ;;
     3783    nosideeffect)
     3784      # after this tag, mechanisms are not by side-effect, so they'll
     3785      # only be used when explicitly requested
     3786      if test "x$enable_dependency_tracking" = xyes; then
     3787        continue
     3788      else
     3789        break
     3790      fi
     3791      ;;
     3792    msvisualcpp | msvcmsys)
     3793      # This compiler won't grok `-c -o', but also, the minuso test has
     3794      # not run yet.  These depmodes are late enough in the game, and
     3795      # so weak that their functioning should not be impacted.
     3796      am__obj=conftest.${OBJEXT-o}
     3797      am__minus_obj=
     3798      ;;
     3799    none) break ;;
     3800    esac
     3801    if depmode=$depmode \
     3802       source=sub/conftest.c object=$am__obj \
     3803       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     3804       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     3805         >/dev/null 2>conftest.err &&
     3806       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     3807       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     3808       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     3809       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     3810      # icc doesn't choke on unknown options, it will just issue warnings
     3811      # or remarks (even with -Werror).  So we grep stderr for any message
     3812      # that says an option was ignored or not supported.
     3813      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3814      #   icc: Command line warning: ignoring option '-M'; no argument required
     3815      # The diagnosis changed in icc 8.0:
     3816      #   icc: Command line remark: option '-MP' not supported
     3817      if (grep 'ignoring option' conftest.err ||
     3818          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3819        am_cv_CC_dependencies_compiler_type=$depmode
     3820        break
     3821      fi
     3822    fi
     3823  done
     3824
     3825  cd ..
     3826  rm -rf conftest.dir
     3827else
     3828  am_cv_CC_dependencies_compiler_type=none
     3829fi
     3830
     3831fi
     3832{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     3833$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     3834CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     3835
     3836 if
     3837  test "x$enable_dependency_tracking" != xno \
     3838  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     3839  am__fastdepCC_TRUE=
     3840  am__fastdepCC_FALSE='#'
     3841else
     3842  am__fastdepCC_TRUE='#'
     3843  am__fastdepCC_FALSE=
     3844fi
     3845
     3846
     3847{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     3848$as_echo_n "checking for function prototypes... " >&6; }
     3849if test "$ac_cv_prog_cc_c89" != no; then
     3850  { $as_echo "$as_me:$LINENO: result: yes" >&5
     3851$as_echo "yes" >&6; }
     3852
     3853cat >>confdefs.h <<\_ACEOF
     3854#define PROTOTYPES 1
     3855_ACEOF
     3856
     3857
     3858cat >>confdefs.h <<\_ACEOF
     3859#define __PROTOTYPES 1
     3860_ACEOF
     3861
     3862else
     3863  { $as_echo "$as_me:$LINENO: result: no" >&5
     3864$as_echo "no" >&6; }
     3865fi
     3866
     3867
     3868ac_ext=c
     3869ac_cpp='$CPP $CPPFLAGS'
     3870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3872ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3873{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3874$as_echo_n "checking how to run the C preprocessor... " >&6; }
    6813875# On Suns, sometimes $CPP names a directory.
    6823876if test -n "$CPP" && test -d "$CPP"; then
     
    6843878fi
    6853879if test -z "$CPP"; then
    686 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    687   echo $ac_n "(cached) $ac_c" 1>&6
    688 else
    689     # This must be in double quotes, not single quotes, because CPP may get
    690   # substituted into the Makefile and "${CC-cc}" will confuse make.
    691   CPP="${CC-cc} -E"
     3880  if test "${ac_cv_prog_CPP+set}" = set; then
     3881  $as_echo_n "(cached) " >&6
     3882else
     3883      # Double quotes because CPP needs to be expanded
     3884    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     3885    do
     3886      ac_preproc_ok=false
     3887for ac_c_preproc_warn_flag in '' yes
     3888do
     3889  # Use a header file that comes with gcc, so configuring glibc
     3890  # with a fresh cross-compiler works.
     3891  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3892  # <limits.h> exists even on freestanding compilers.
    6923893  # On the NeXT, cc -E runs the code through the compiler's parser,
    693   # not just through cpp.
    694   cat > conftest.$ac_ext <<EOF
    695 #line 696 "configure"
    696 #include "confdefs.h"
    697 #include <assert.h>
    698 Syntax Error
     3894  # not just through cpp. "Syntax error" is here to catch this case.
     3895  cat >conftest.$ac_ext <<_ACEOF
     3896/* confdefs.h.  */
     3897_ACEOF
     3898cat confdefs.h >>conftest.$ac_ext
     3899cat >>conftest.$ac_ext <<_ACEOF
     3900/* end confdefs.h.  */
     3901#ifdef __STDC__
     3902# include <limits.h>
     3903#else
     3904# include <assert.h>
     3905#endif
     3906                     Syntax error
     3907_ACEOF
     3908if { (ac_try="$ac_cpp conftest.$ac_ext"
     3909case "(($ac_try" in
     3910  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3911  *) ac_try_echo=$ac_try;;
     3912esac
     3913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3914$as_echo "$ac_try_echo") >&5
     3915  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3916  ac_status=$?
     3917  grep -v '^ *+' conftest.er1 >conftest.err
     3918  rm -f conftest.er1
     3919  cat conftest.err >&5
     3920  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3921  (exit $ac_status); } >/dev/null && {
     3922         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3923         test ! -s conftest.err
     3924       }; then
     3925  :
     3926else
     3927  $as_echo "$as_me: failed program was:" >&5
     3928sed 's/^/| /' conftest.$ac_ext >&5
     3929
     3930  # Broken: fails on valid input.
     3931continue
     3932fi
     3933
     3934rm -f conftest.err conftest.$ac_ext
     3935
     3936  # OK, works on sane cases.  Now check whether nonexistent headers
     3937  # can be detected and how.
     3938  cat >conftest.$ac_ext <<_ACEOF
     3939/* confdefs.h.  */
     3940_ACEOF
     3941cat confdefs.h >>conftest.$ac_ext
     3942cat >>conftest.$ac_ext <<_ACEOF
     3943/* end confdefs.h.  */
     3944#include <ac_nonexistent.h>
     3945_ACEOF
     3946if { (ac_try="$ac_cpp conftest.$ac_ext"
     3947case "(($ac_try" in
     3948  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3949  *) ac_try_echo=$ac_try;;
     3950esac
     3951eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3952$as_echo "$ac_try_echo") >&5
     3953  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3954  ac_status=$?
     3955  grep -v '^ *+' conftest.er1 >conftest.err
     3956  rm -f conftest.er1
     3957  cat conftest.err >&5
     3958  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3959  (exit $ac_status); } >/dev/null && {
     3960         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3961         test ! -s conftest.err
     3962       }; then
     3963  # Broken: success on invalid input.
     3964continue
     3965else
     3966  $as_echo "$as_me: failed program was:" >&5
     3967sed 's/^/| /' conftest.$ac_ext >&5
     3968
     3969  # Passes both tests.
     3970ac_preproc_ok=:
     3971break
     3972fi
     3973
     3974rm -f conftest.err conftest.$ac_ext
     3975
     3976done
     3977# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3978rm -f conftest.err conftest.$ac_ext
     3979if $ac_preproc_ok; then
     3980  break
     3981fi
     3982
     3983    done
     3984    ac_cv_prog_CPP=$CPP
     3985
     3986fi
     3987  CPP=$ac_cv_prog_CPP
     3988else
     3989  ac_cv_prog_CPP=$CPP
     3990fi
     3991{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3992$as_echo "$CPP" >&6; }
     3993ac_preproc_ok=false
     3994for ac_c_preproc_warn_flag in '' yes
     3995do
     3996  # Use a header file that comes with gcc, so configuring glibc
     3997  # with a fresh cross-compiler works.
     3998  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3999  # <limits.h> exists even on freestanding compilers.
     4000  # On the NeXT, cc -E runs the code through the compiler's parser,
     4001  # not just through cpp. "Syntax error" is here to catch this case.
     4002  cat >conftest.$ac_ext <<_ACEOF
     4003/* confdefs.h.  */
     4004_ACEOF
     4005cat confdefs.h >>conftest.$ac_ext
     4006cat >>conftest.$ac_ext <<_ACEOF
     4007/* end confdefs.h.  */
     4008#ifdef __STDC__
     4009# include <limits.h>
     4010#else
     4011# include <assert.h>
     4012#endif
     4013                     Syntax error
     4014_ACEOF
     4015if { (ac_try="$ac_cpp conftest.$ac_ext"
     4016case "(($ac_try" in
     4017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4018  *) ac_try_echo=$ac_try;;
     4019esac
     4020eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4021$as_echo "$ac_try_echo") >&5
     4022  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4023  ac_status=$?
     4024  grep -v '^ *+' conftest.er1 >conftest.err
     4025  rm -f conftest.er1
     4026  cat conftest.err >&5
     4027  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4028  (exit $ac_status); } >/dev/null && {
     4029         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4030         test ! -s conftest.err
     4031       }; then
     4032  :
     4033else
     4034  $as_echo "$as_me: failed program was:" >&5
     4035sed 's/^/| /' conftest.$ac_ext >&5
     4036
     4037  # Broken: fails on valid input.
     4038continue
     4039fi
     4040
     4041rm -f conftest.err conftest.$ac_ext
     4042
     4043  # OK, works on sane cases.  Now check whether nonexistent headers
     4044  # can be detected and how.
     4045  cat >conftest.$ac_ext <<_ACEOF
     4046/* confdefs.h.  */
     4047_ACEOF
     4048cat confdefs.h >>conftest.$ac_ext
     4049cat >>conftest.$ac_ext <<_ACEOF
     4050/* end confdefs.h.  */
     4051#include <ac_nonexistent.h>
     4052_ACEOF
     4053if { (ac_try="$ac_cpp conftest.$ac_ext"
     4054case "(($ac_try" in
     4055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4056  *) ac_try_echo=$ac_try;;
     4057esac
     4058eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4059$as_echo "$ac_try_echo") >&5
     4060  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4061  ac_status=$?
     4062  grep -v '^ *+' conftest.er1 >conftest.err
     4063  rm -f conftest.er1
     4064  cat conftest.err >&5
     4065  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4066  (exit $ac_status); } >/dev/null && {
     4067         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4068         test ! -s conftest.err
     4069       }; then
     4070  # Broken: success on invalid input.
     4071continue
     4072else
     4073  $as_echo "$as_me: failed program was:" >&5
     4074sed 's/^/| /' conftest.$ac_ext >&5
     4075
     4076  # Passes both tests.
     4077ac_preproc_ok=:
     4078break
     4079fi
     4080
     4081rm -f conftest.err conftest.$ac_ext
     4082
     4083done
     4084# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     4085rm -f conftest.err conftest.$ac_ext
     4086if $ac_preproc_ok; then
     4087  :
     4088else
     4089  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4091{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4092See \`config.log' for more details." >&5
     4093$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4094See \`config.log' for more details." >&2;}
     4095   { (exit 1); exit 1; }; }; }
     4096fi
     4097
     4098ac_ext=c
     4099ac_cpp='$CPP $CPPFLAGS'
     4100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4102ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4103
     4104
     4105{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4106$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4107if test "${ac_cv_path_GREP+set}" = set; then
     4108  $as_echo_n "(cached) " >&6
     4109else
     4110  if test -z "$GREP"; then
     4111  ac_path_GREP_found=false
     4112  # Loop through the user's path and test for each of PROGNAME-LIST
     4113  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4114for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4115do
     4116  IFS=$as_save_IFS
     4117  test -z "$as_dir" && as_dir=.
     4118  for ac_prog in grep ggrep; do
     4119    for ac_exec_ext in '' $ac_executable_extensions; do
     4120      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4121      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4122# Check for GNU ac_path_GREP and select it if it is found.
     4123  # Check for GNU $ac_path_GREP
     4124case `"$ac_path_GREP" --version 2>&1` in
     4125*GNU*)
     4126  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4127*)
     4128  ac_count=0
     4129  $as_echo_n 0123456789 >"conftest.in"
     4130  while :
     4131  do
     4132    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4133    mv "conftest.tmp" "conftest.in"
     4134    cp "conftest.in" "conftest.nl"
     4135    $as_echo 'GREP' >> "conftest.nl"
     4136    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4137    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4138    ac_count=`expr $ac_count + 1`
     4139    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4140      # Best one so far, save it but keep looking for a better one
     4141      ac_cv_path_GREP="$ac_path_GREP"
     4142      ac_path_GREP_max=$ac_count
     4143    fi
     4144    # 10*(2^10) chars as input seems more than enough
     4145    test $ac_count -gt 10 && break
     4146  done
     4147  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4148esac
     4149
     4150      $ac_path_GREP_found && break 3
     4151    done
     4152  done
     4153done
     4154IFS=$as_save_IFS
     4155  if test -z "$ac_cv_path_GREP"; then
     4156    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4157$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4158   { (exit 1); exit 1; }; }
     4159  fi
     4160else
     4161  ac_cv_path_GREP=$GREP
     4162fi
     4163
     4164fi
     4165{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4166$as_echo "$ac_cv_path_GREP" >&6; }
     4167 GREP="$ac_cv_path_GREP"
     4168
     4169
     4170{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4171$as_echo_n "checking for egrep... " >&6; }
     4172if test "${ac_cv_path_EGREP+set}" = set; then
     4173  $as_echo_n "(cached) " >&6
     4174else
     4175  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4176   then ac_cv_path_EGREP="$GREP -E"
     4177   else
     4178     if test -z "$EGREP"; then
     4179  ac_path_EGREP_found=false
     4180  # Loop through the user's path and test for each of PROGNAME-LIST
     4181  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4182for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4183do
     4184  IFS=$as_save_IFS
     4185  test -z "$as_dir" && as_dir=.
     4186  for ac_prog in egrep; do
     4187    for ac_exec_ext in '' $ac_executable_extensions; do
     4188      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4189      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4190# Check for GNU ac_path_EGREP and select it if it is found.
     4191  # Check for GNU $ac_path_EGREP
     4192case `"$ac_path_EGREP" --version 2>&1` in
     4193*GNU*)
     4194  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4195*)
     4196  ac_count=0
     4197  $as_echo_n 0123456789 >"conftest.in"
     4198  while :
     4199  do
     4200    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4201    mv "conftest.tmp" "conftest.in"
     4202    cp "conftest.in" "conftest.nl"
     4203    $as_echo 'EGREP' >> "conftest.nl"
     4204    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4205    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4206    ac_count=`expr $ac_count + 1`
     4207    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4208      # Best one so far, save it but keep looking for a better one
     4209      ac_cv_path_EGREP="$ac_path_EGREP"
     4210      ac_path_EGREP_max=$ac_count
     4211    fi
     4212    # 10*(2^10) chars as input seems more than enough
     4213    test $ac_count -gt 10 && break
     4214  done
     4215  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4216esac
     4217
     4218      $ac_path_EGREP_found && break 3
     4219    done
     4220  done
     4221done
     4222IFS=$as_save_IFS
     4223  if test -z "$ac_cv_path_EGREP"; then
     4224    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4225$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4226   { (exit 1); exit 1; }; }
     4227  fi
     4228else
     4229  ac_cv_path_EGREP=$EGREP
     4230fi
     4231
     4232   fi
     4233fi
     4234{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4235$as_echo "$ac_cv_path_EGREP" >&6; }
     4236 EGREP="$ac_cv_path_EGREP"
     4237
     4238
     4239{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4240$as_echo_n "checking for ANSI C header files... " >&6; }
     4241if test "${ac_cv_header_stdc+set}" = set; then
     4242  $as_echo_n "(cached) " >&6
     4243else
     4244  cat >conftest.$ac_ext <<_ACEOF
     4245/* confdefs.h.  */
     4246_ACEOF
     4247cat confdefs.h >>conftest.$ac_ext
     4248cat >>conftest.$ac_ext <<_ACEOF
     4249/* end confdefs.h.  */
     4250#include <stdlib.h>
     4251#include <stdarg.h>
     4252#include <string.h>
     4253#include <float.h>
     4254
     4255int
     4256main ()
     4257{
     4258
     4259  ;
     4260  return 0;
     4261}
     4262_ACEOF
     4263rm -f conftest.$ac_objext
     4264if { (ac_try="$ac_compile"
     4265case "(($ac_try" in
     4266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4267  *) ac_try_echo=$ac_try;;
     4268esac
     4269eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4270$as_echo "$ac_try_echo") >&5
     4271  (eval "$ac_compile") 2>conftest.er1
     4272  ac_status=$?
     4273  grep -v '^ *+' conftest.er1 >conftest.err
     4274  rm -f conftest.er1
     4275  cat conftest.err >&5
     4276  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4277  (exit $ac_status); } && {
     4278         test -z "$ac_c_werror_flag" ||
     4279         test ! -s conftest.err
     4280       } && test -s conftest.$ac_objext; then
     4281  ac_cv_header_stdc=yes
     4282else
     4283  $as_echo "$as_me: failed program was:" >&5
     4284sed 's/^/| /' conftest.$ac_ext >&5
     4285
     4286        ac_cv_header_stdc=no
     4287fi
     4288
     4289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4290
     4291if test $ac_cv_header_stdc = yes; then
     4292  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4293  cat >conftest.$ac_ext <<_ACEOF
     4294/* confdefs.h.  */
     4295_ACEOF
     4296cat confdefs.h >>conftest.$ac_ext
     4297cat >>conftest.$ac_ext <<_ACEOF
     4298/* end confdefs.h.  */
     4299#include <string.h>
     4300
     4301_ACEOF
     4302if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4303  $EGREP "memchr" >/dev/null 2>&1; then
     4304  :
     4305else
     4306  ac_cv_header_stdc=no
     4307fi
     4308rm -f conftest*
     4309
     4310fi
     4311
     4312if test $ac_cv_header_stdc = yes; then
     4313  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4314  cat >conftest.$ac_ext <<_ACEOF
     4315/* confdefs.h.  */
     4316_ACEOF
     4317cat confdefs.h >>conftest.$ac_ext
     4318cat >>conftest.$ac_ext <<_ACEOF
     4319/* end confdefs.h.  */
     4320#include <stdlib.h>
     4321
     4322_ACEOF
     4323if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4324  $EGREP "free" >/dev/null 2>&1; then
     4325  :
     4326else
     4327  ac_cv_header_stdc=no
     4328fi
     4329rm -f conftest*
     4330
     4331fi
     4332
     4333if test $ac_cv_header_stdc = yes; then
     4334  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4335  if test "$cross_compiling" = yes; then
     4336  :
     4337else
     4338  cat >conftest.$ac_ext <<_ACEOF
     4339/* confdefs.h.  */
     4340_ACEOF
     4341cat confdefs.h >>conftest.$ac_ext
     4342cat >>conftest.$ac_ext <<_ACEOF
     4343/* end confdefs.h.  */
     4344#include <ctype.h>
     4345#include <stdlib.h>
     4346#if ((' ' & 0x0FF) == 0x020)
     4347# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4348# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4349#else
     4350# define ISLOWER(c) \
     4351                   (('a' <= (c) && (c) <= 'i') \
     4352                     || ('j' <= (c) && (c) <= 'r') \
     4353                     || ('s' <= (c) && (c) <= 'z'))
     4354# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4355#endif
     4356
     4357#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4358int
     4359main ()
     4360{
     4361  int i;
     4362  for (i = 0; i < 256; i++)
     4363    if (XOR (islower (i), ISLOWER (i))
     4364        || toupper (i) != TOUPPER (i))
     4365      return 2;
     4366  return 0;
     4367}
     4368_ACEOF
     4369rm -f conftest$ac_exeext
     4370if { (ac_try="$ac_link"
     4371case "(($ac_try" in
     4372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4373  *) ac_try_echo=$ac_try;;
     4374esac
     4375eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4376$as_echo "$ac_try_echo") >&5
     4377  (eval "$ac_link") 2>&5
     4378  ac_status=$?
     4379  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4380  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4381  { (case "(($ac_try" in
     4382  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4383  *) ac_try_echo=$ac_try;;
     4384esac
     4385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4386$as_echo "$ac_try_echo") >&5
     4387  (eval "$ac_try") 2>&5
     4388  ac_status=$?
     4389  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4390  (exit $ac_status); }; }; then
     4391  :
     4392else
     4393  $as_echo "$as_me: program exited with status $ac_status" >&5
     4394$as_echo "$as_me: failed program was:" >&5
     4395sed 's/^/| /' conftest.$ac_ext >&5
     4396
     4397( exit $ac_status )
     4398ac_cv_header_stdc=no
     4399fi
     4400rm -rf conftest.dSYM
     4401rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4402fi
     4403
     4404
     4405fi
     4406fi
     4407{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4408$as_echo "$ac_cv_header_stdc" >&6; }
     4409if test $ac_cv_header_stdc = yes; then
     4410
     4411cat >>confdefs.h <<\_ACEOF
     4412#define STDC_HEADERS 1
     4413_ACEOF
     4414
     4415fi
     4416
     4417# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4418
     4419
     4420
     4421
     4422
     4423
     4424
     4425
     4426
     4427for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4428                  inttypes.h stdint.h unistd.h
     4429do
     4430as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4431{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4432$as_echo_n "checking for $ac_header... " >&6; }
     4433if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4434  $as_echo_n "(cached) " >&6
     4435else
     4436  cat >conftest.$ac_ext <<_ACEOF
     4437/* confdefs.h.  */
     4438_ACEOF
     4439cat confdefs.h >>conftest.$ac_ext
     4440cat >>conftest.$ac_ext <<_ACEOF
     4441/* end confdefs.h.  */
     4442$ac_includes_default
     4443
     4444#include <$ac_header>
     4445_ACEOF
     4446rm -f conftest.$ac_objext
     4447if { (ac_try="$ac_compile"
     4448case "(($ac_try" in
     4449  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4450  *) ac_try_echo=$ac_try;;
     4451esac
     4452eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4453$as_echo "$ac_try_echo") >&5
     4454  (eval "$ac_compile") 2>conftest.er1
     4455  ac_status=$?
     4456  grep -v '^ *+' conftest.er1 >conftest.err
     4457  rm -f conftest.er1
     4458  cat conftest.err >&5
     4459  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4460  (exit $ac_status); } && {
     4461         test -z "$ac_c_werror_flag" ||
     4462         test ! -s conftest.err
     4463       } && test -s conftest.$ac_objext; then
     4464  eval "$as_ac_Header=yes"
     4465else
     4466  $as_echo "$as_me: failed program was:" >&5
     4467sed 's/^/| /' conftest.$ac_ext >&5
     4468
     4469        eval "$as_ac_Header=no"
     4470fi
     4471
     4472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4473fi
     4474ac_res=`eval 'as_val=${'$as_ac_Header'}
     4475                 $as_echo "$as_val"'`
     4476               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4477$as_echo "$ac_res" >&6; }
     4478as_val=`eval 'as_val=${'$as_ac_Header'}
     4479                 $as_echo "$as_val"'`
     4480   if test "x$as_val" = x""yes; then
     4481  cat >>confdefs.h <<_ACEOF
     4482#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4483_ACEOF
     4484
     4485fi
     4486
     4487done
     4488
     4489
     4490
     4491if test "$ac_cv_prog_cc_stdc" != no; then
     4492  U= ANSI2KNR=
     4493else
     4494  U=_ ANSI2KNR=./ansi2knr
     4495fi
     4496# Ensure some checks needed by ansi2knr itself.
     4497
     4498
     4499for ac_header in string.h
     4500do
     4501as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4502if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4503  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4504$as_echo_n "checking for $ac_header... " >&6; }
     4505if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4506  $as_echo_n "(cached) " >&6
     4507fi
     4508ac_res=`eval 'as_val=${'$as_ac_Header'}
     4509                 $as_echo "$as_val"'`
     4510               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4511$as_echo "$ac_res" >&6; }
     4512else
     4513  # Is the header compilable?
     4514{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4515$as_echo_n "checking $ac_header usability... " >&6; }
     4516cat >conftest.$ac_ext <<_ACEOF
     4517/* confdefs.h.  */
     4518_ACEOF
     4519cat confdefs.h >>conftest.$ac_ext
     4520cat >>conftest.$ac_ext <<_ACEOF
     4521/* end confdefs.h.  */
     4522$ac_includes_default
     4523#include <$ac_header>
     4524_ACEOF
     4525rm -f conftest.$ac_objext
     4526if { (ac_try="$ac_compile"
     4527case "(($ac_try" in
     4528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4529  *) ac_try_echo=$ac_try;;
     4530esac
     4531eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4532$as_echo "$ac_try_echo") >&5
     4533  (eval "$ac_compile") 2>conftest.er1
     4534  ac_status=$?
     4535  grep -v '^ *+' conftest.er1 >conftest.err
     4536  rm -f conftest.er1
     4537  cat conftest.err >&5
     4538  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4539  (exit $ac_status); } && {
     4540         test -z "$ac_c_werror_flag" ||
     4541         test ! -s conftest.err
     4542       } && test -s conftest.$ac_objext; then
     4543  ac_header_compiler=yes
     4544else
     4545  $as_echo "$as_me: failed program was:" >&5
     4546sed 's/^/| /' conftest.$ac_ext >&5
     4547
     4548        ac_header_compiler=no
     4549fi
     4550
     4551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4552{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4553$as_echo "$ac_header_compiler" >&6; }
     4554
     4555# Is the header present?
     4556{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4557$as_echo_n "checking $ac_header presence... " >&6; }
     4558cat >conftest.$ac_ext <<_ACEOF
     4559/* confdefs.h.  */
     4560_ACEOF
     4561cat confdefs.h >>conftest.$ac_ext
     4562cat >>conftest.$ac_ext <<_ACEOF
     4563/* end confdefs.h.  */
     4564#include <$ac_header>
     4565_ACEOF
     4566if { (ac_try="$ac_cpp conftest.$ac_ext"
     4567case "(($ac_try" in
     4568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4569  *) ac_try_echo=$ac_try;;
     4570esac
     4571eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4572$as_echo "$ac_try_echo") >&5
     4573  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4574  ac_status=$?
     4575  grep -v '^ *+' conftest.er1 >conftest.err
     4576  rm -f conftest.er1
     4577  cat conftest.err >&5
     4578  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4579  (exit $ac_status); } >/dev/null && {
     4580         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4581         test ! -s conftest.err
     4582       }; then
     4583  ac_header_preproc=yes
     4584else
     4585  $as_echo "$as_me: failed program was:" >&5
     4586sed 's/^/| /' conftest.$ac_ext >&5
     4587
     4588  ac_header_preproc=no
     4589fi
     4590
     4591rm -f conftest.err conftest.$ac_ext
     4592{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4593$as_echo "$ac_header_preproc" >&6; }
     4594
     4595# So?  What about this header?
     4596case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4597  yes:no: )
     4598    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4599$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4600    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4601$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4602    ac_header_preproc=yes
     4603    ;;
     4604  no:yes:* )
     4605    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4606$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4607    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4608$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4609    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4610$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4611    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4612$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4613    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4614$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4615    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4616$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4617
     4618    ;;
     4619esac
     4620{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4621$as_echo_n "checking for $ac_header... " >&6; }
     4622if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4623  $as_echo_n "(cached) " >&6
     4624else
     4625  eval "$as_ac_Header=\$ac_header_preproc"
     4626fi
     4627ac_res=`eval 'as_val=${'$as_ac_Header'}
     4628                 $as_echo "$as_val"'`
     4629               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4630$as_echo "$ac_res" >&6; }
     4631
     4632fi
     4633as_val=`eval 'as_val=${'$as_ac_Header'}
     4634                 $as_echo "$as_val"'`
     4635   if test "x$as_val" = x""yes; then
     4636  cat >>confdefs.h <<_ACEOF
     4637#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4638_ACEOF
     4639
     4640fi
     4641
     4642done
     4643
     4644
     4645
     4646# Add configure option --enable-maintainer-mode which enables
     4647# dependency checking and generation useful to package maintainers.
     4648# This is made an option to avoid confusing end users.
     4649
     4650{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     4651$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     4652    # Check whether --enable-maintainer-mode was given.
     4653if test "${enable_maintainer_mode+set}" = set; then
     4654  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
     4655else
     4656  USE_MAINTAINER_MODE=no
     4657fi
     4658
     4659  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
     4660$as_echo "$USE_MAINTAINER_MODE" >&6; }
     4661   if test $USE_MAINTAINER_MODE = yes; then
     4662  MAINTAINER_MODE_TRUE=
     4663  MAINTAINER_MODE_FALSE='#'
     4664else
     4665  MAINTAINER_MODE_TRUE='#'
     4666  MAINTAINER_MODE_FALSE=
     4667fi
     4668
     4669  MAINT=$MAINTAINER_MODE_TRUE
     4670
     4671
     4672
     4673# Check for programs
     4674ac_ext=c
     4675ac_cpp='$CPP $CPPFLAGS'
     4676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4678ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4679if test -n "$ac_tool_prefix"; then
     4680  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     4681set dummy ${ac_tool_prefix}gcc; ac_word=$2
     4682{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4683$as_echo_n "checking for $ac_word... " >&6; }
     4684if test "${ac_cv_prog_CC+set}" = set; then
     4685  $as_echo_n "(cached) " >&6
     4686else
     4687  if test -n "$CC"; then
     4688  ac_cv_prog_CC="$CC" # Let the user override the test.
     4689else
     4690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4691for as_dir in $PATH
     4692do
     4693  IFS=$as_save_IFS
     4694  test -z "$as_dir" && as_dir=.
     4695  for ac_exec_ext in '' $ac_executable_extensions; do
     4696  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4697    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     4698    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4699    break 2
     4700  fi
     4701done
     4702done
     4703IFS=$as_save_IFS
     4704
     4705fi
     4706fi
     4707CC=$ac_cv_prog_CC
     4708if test -n "$CC"; then
     4709  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4710$as_echo "$CC" >&6; }
     4711else
     4712  { $as_echo "$as_me:$LINENO: result: no" >&5
     4713$as_echo "no" >&6; }
     4714fi
     4715
     4716
     4717fi
     4718if test -z "$ac_cv_prog_CC"; then
     4719  ac_ct_CC=$CC
     4720  # Extract the first word of "gcc", so it can be a program name with args.
     4721set dummy gcc; ac_word=$2
     4722{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4723$as_echo_n "checking for $ac_word... " >&6; }
     4724if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     4725  $as_echo_n "(cached) " >&6
     4726else
     4727  if test -n "$ac_ct_CC"; then
     4728  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4729else
     4730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4731for as_dir in $PATH
     4732do
     4733  IFS=$as_save_IFS
     4734  test -z "$as_dir" && as_dir=.
     4735  for ac_exec_ext in '' $ac_executable_extensions; do
     4736  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4737    ac_cv_prog_ac_ct_CC="gcc"
     4738    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4739    break 2
     4740  fi
     4741done
     4742done
     4743IFS=$as_save_IFS
     4744
     4745fi
     4746fi
     4747ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4748if test -n "$ac_ct_CC"; then
     4749  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     4750$as_echo "$ac_ct_CC" >&6; }
     4751else
     4752  { $as_echo "$as_me:$LINENO: result: no" >&5
     4753$as_echo "no" >&6; }
     4754fi
     4755
     4756  if test "x$ac_ct_CC" = x; then
     4757    CC=""
     4758  else
     4759    case $cross_compiling:$ac_tool_warned in
     4760yes:)
     4761{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4763ac_tool_warned=yes ;;
     4764esac
     4765    CC=$ac_ct_CC
     4766  fi
     4767else
     4768  CC="$ac_cv_prog_CC"
     4769fi
     4770
     4771if test -z "$CC"; then
     4772          if test -n "$ac_tool_prefix"; then
     4773    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     4774set dummy ${ac_tool_prefix}cc; ac_word=$2
     4775{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4776$as_echo_n "checking for $ac_word... " >&6; }
     4777if test "${ac_cv_prog_CC+set}" = set; then
     4778  $as_echo_n "(cached) " >&6
     4779else
     4780  if test -n "$CC"; then
     4781  ac_cv_prog_CC="$CC" # Let the user override the test.
     4782else
     4783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4784for as_dir in $PATH
     4785do
     4786  IFS=$as_save_IFS
     4787  test -z "$as_dir" && as_dir=.
     4788  for ac_exec_ext in '' $ac_executable_extensions; do
     4789  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4790    ac_cv_prog_CC="${ac_tool_prefix}cc"
     4791    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4792    break 2
     4793  fi
     4794done
     4795done
     4796IFS=$as_save_IFS
     4797
     4798fi
     4799fi
     4800CC=$ac_cv_prog_CC
     4801if test -n "$CC"; then
     4802  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4803$as_echo "$CC" >&6; }
     4804else
     4805  { $as_echo "$as_me:$LINENO: result: no" >&5
     4806$as_echo "no" >&6; }
     4807fi
     4808
     4809
     4810  fi
     4811fi
     4812if test -z "$CC"; then
     4813  # Extract the first word of "cc", so it can be a program name with args.
     4814set dummy cc; ac_word=$2
     4815{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4816$as_echo_n "checking for $ac_word... " >&6; }
     4817if test "${ac_cv_prog_CC+set}" = set; then
     4818  $as_echo_n "(cached) " >&6
     4819else
     4820  if test -n "$CC"; then
     4821  ac_cv_prog_CC="$CC" # Let the user override the test.
     4822else
     4823  ac_prog_rejected=no
     4824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4825for as_dir in $PATH
     4826do
     4827  IFS=$as_save_IFS
     4828  test -z "$as_dir" && as_dir=.
     4829  for ac_exec_ext in '' $ac_executable_extensions; do
     4830  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4831    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     4832       ac_prog_rejected=yes
     4833       continue
     4834     fi
     4835    ac_cv_prog_CC="cc"
     4836    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4837    break 2
     4838  fi
     4839done
     4840done
     4841IFS=$as_save_IFS
     4842
     4843if test $ac_prog_rejected = yes; then
     4844  # We found a bogon in the path, so make sure we never use it.
     4845  set dummy $ac_cv_prog_CC
     4846  shift
     4847  if test $# != 0; then
     4848    # We chose a different compiler from the bogus one.
     4849    # However, it has the same basename, so the bogon will be chosen
     4850    # first if we set CC to just the basename; use the full file name.
     4851    shift
     4852    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     4853  fi
     4854fi
     4855fi
     4856fi
     4857CC=$ac_cv_prog_CC
     4858if test -n "$CC"; then
     4859  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4860$as_echo "$CC" >&6; }
     4861else
     4862  { $as_echo "$as_me:$LINENO: result: no" >&5
     4863$as_echo "no" >&6; }
     4864fi
     4865
     4866
     4867fi
     4868if test -z "$CC"; then
     4869  if test -n "$ac_tool_prefix"; then
     4870  for ac_prog in cl.exe
     4871  do
     4872    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4873set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4874{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4875$as_echo_n "checking for $ac_word... " >&6; }
     4876if test "${ac_cv_prog_CC+set}" = set; then
     4877  $as_echo_n "(cached) " >&6
     4878else
     4879  if test -n "$CC"; then
     4880  ac_cv_prog_CC="$CC" # Let the user override the test.
     4881else
     4882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4883for as_dir in $PATH
     4884do
     4885  IFS=$as_save_IFS
     4886  test -z "$as_dir" && as_dir=.
     4887  for ac_exec_ext in '' $ac_executable_extensions; do
     4888  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4889    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     4890    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4891    break 2
     4892  fi
     4893done
     4894done
     4895IFS=$as_save_IFS
     4896
     4897fi
     4898fi
     4899CC=$ac_cv_prog_CC
     4900if test -n "$CC"; then
     4901  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     4902$as_echo "$CC" >&6; }
     4903else
     4904  { $as_echo "$as_me:$LINENO: result: no" >&5
     4905$as_echo "no" >&6; }
     4906fi
     4907
     4908
     4909    test -n "$CC" && break
     4910  done
     4911fi
     4912if test -z "$CC"; then
     4913  ac_ct_CC=$CC
     4914  for ac_prog in cl.exe
     4915do
     4916  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4917set dummy $ac_prog; ac_word=$2
     4918{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4919$as_echo_n "checking for $ac_word... " >&6; }
     4920if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     4921  $as_echo_n "(cached) " >&6
     4922else
     4923  if test -n "$ac_ct_CC"; then
     4924  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     4925else
     4926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4927for as_dir in $PATH
     4928do
     4929  IFS=$as_save_IFS
     4930  test -z "$as_dir" && as_dir=.
     4931  for ac_exec_ext in '' $ac_executable_extensions; do
     4932  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4933    ac_cv_prog_ac_ct_CC="$ac_prog"
     4934    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4935    break 2
     4936  fi
     4937done
     4938done
     4939IFS=$as_save_IFS
     4940
     4941fi
     4942fi
     4943ac_ct_CC=$ac_cv_prog_ac_ct_CC
     4944if test -n "$ac_ct_CC"; then
     4945  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     4946$as_echo "$ac_ct_CC" >&6; }
     4947else
     4948  { $as_echo "$as_me:$LINENO: result: no" >&5
     4949$as_echo "no" >&6; }
     4950fi
     4951
     4952
     4953  test -n "$ac_ct_CC" && break
     4954done
     4955
     4956  if test "x$ac_ct_CC" = x; then
     4957    CC=""
     4958  else
     4959    case $cross_compiling:$ac_tool_warned in
     4960yes:)
     4961{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4963ac_tool_warned=yes ;;
     4964esac
     4965    CC=$ac_ct_CC
     4966  fi
     4967fi
     4968
     4969fi
     4970
     4971
     4972test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4974{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     4975See \`config.log' for more details." >&5
     4976$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     4977See \`config.log' for more details." >&2;}
     4978   { (exit 1); exit 1; }; }; }
     4979
     4980# Provide some information about the compiler.
     4981$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     4982set X $ac_compile
     4983ac_compiler=$2
     4984{ (ac_try="$ac_compiler --version >&5"
     4985case "(($ac_try" in
     4986  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4987  *) ac_try_echo=$ac_try;;
     4988esac
     4989eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4990$as_echo "$ac_try_echo") >&5
     4991  (eval "$ac_compiler --version >&5") 2>&5
     4992  ac_status=$?
     4993  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4994  (exit $ac_status); }
     4995{ (ac_try="$ac_compiler -v >&5"
     4996case "(($ac_try" in
     4997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4998  *) ac_try_echo=$ac_try;;
     4999esac
     5000eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5001$as_echo "$ac_try_echo") >&5
     5002  (eval "$ac_compiler -v >&5") 2>&5
     5003  ac_status=$?
     5004  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5005  (exit $ac_status); }
     5006{ (ac_try="$ac_compiler -V >&5"
     5007case "(($ac_try" in
     5008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5009  *) ac_try_echo=$ac_try;;
     5010esac
     5011eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5012$as_echo "$ac_try_echo") >&5
     5013  (eval "$ac_compiler -V >&5") 2>&5
     5014  ac_status=$?
     5015  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5016  (exit $ac_status); }
     5017
     5018{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     5019$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     5020if test "${ac_cv_c_compiler_gnu+set}" = set; then
     5021  $as_echo_n "(cached) " >&6
     5022else
     5023  cat >conftest.$ac_ext <<_ACEOF
     5024/* confdefs.h.  */
     5025_ACEOF
     5026cat confdefs.h >>conftest.$ac_ext
     5027cat >>conftest.$ac_ext <<_ACEOF
     5028/* end confdefs.h.  */
     5029
     5030int
     5031main ()
     5032{
     5033#ifndef __GNUC__
     5034       choke me
     5035#endif
     5036
     5037  ;
     5038  return 0;
     5039}
     5040_ACEOF
     5041rm -f conftest.$ac_objext
     5042if { (ac_try="$ac_compile"
     5043case "(($ac_try" in
     5044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5045  *) ac_try_echo=$ac_try;;
     5046esac
     5047eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5048$as_echo "$ac_try_echo") >&5
     5049  (eval "$ac_compile") 2>conftest.er1
     5050  ac_status=$?
     5051  grep -v '^ *+' conftest.er1 >conftest.err
     5052  rm -f conftest.er1
     5053  cat conftest.err >&5
     5054  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5055  (exit $ac_status); } && {
     5056         test -z "$ac_c_werror_flag" ||
     5057         test ! -s conftest.err
     5058       } && test -s conftest.$ac_objext; then
     5059  ac_compiler_gnu=yes
     5060else
     5061  $as_echo "$as_me: failed program was:" >&5
     5062sed 's/^/| /' conftest.$ac_ext >&5
     5063
     5064        ac_compiler_gnu=no
     5065fi
     5066
     5067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5068ac_cv_c_compiler_gnu=$ac_compiler_gnu
     5069
     5070fi
     5071{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     5072$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     5073if test $ac_compiler_gnu = yes; then
     5074  GCC=yes
     5075else
     5076  GCC=
     5077fi
     5078ac_test_CFLAGS=${CFLAGS+set}
     5079ac_save_CFLAGS=$CFLAGS
     5080{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     5081$as_echo_n "checking whether $CC accepts -g... " >&6; }
     5082if test "${ac_cv_prog_cc_g+set}" = set; then
     5083  $as_echo_n "(cached) " >&6
     5084else
     5085  ac_save_c_werror_flag=$ac_c_werror_flag
     5086   ac_c_werror_flag=yes
     5087   ac_cv_prog_cc_g=no
     5088   CFLAGS="-g"
     5089   cat >conftest.$ac_ext <<_ACEOF
     5090/* confdefs.h.  */
     5091_ACEOF
     5092cat confdefs.h >>conftest.$ac_ext
     5093cat >>conftest.$ac_ext <<_ACEOF
     5094/* end confdefs.h.  */
     5095
     5096int
     5097main ()
     5098{
     5099
     5100  ;
     5101  return 0;
     5102}
     5103_ACEOF
     5104rm -f conftest.$ac_objext
     5105if { (ac_try="$ac_compile"
     5106case "(($ac_try" in
     5107  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5108  *) ac_try_echo=$ac_try;;
     5109esac
     5110eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5111$as_echo "$ac_try_echo") >&5
     5112  (eval "$ac_compile") 2>conftest.er1
     5113  ac_status=$?
     5114  grep -v '^ *+' conftest.er1 >conftest.err
     5115  rm -f conftest.er1
     5116  cat conftest.err >&5
     5117  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5118  (exit $ac_status); } && {
     5119         test -z "$ac_c_werror_flag" ||
     5120         test ! -s conftest.err
     5121       } && test -s conftest.$ac_objext; then
     5122  ac_cv_prog_cc_g=yes
     5123else
     5124  $as_echo "$as_me: failed program was:" >&5
     5125sed 's/^/| /' conftest.$ac_ext >&5
     5126
     5127        CFLAGS=""
     5128      cat >conftest.$ac_ext <<_ACEOF
     5129/* confdefs.h.  */
     5130_ACEOF
     5131cat confdefs.h >>conftest.$ac_ext
     5132cat >>conftest.$ac_ext <<_ACEOF
     5133/* end confdefs.h.  */
     5134
     5135int
     5136main ()
     5137{
     5138
     5139  ;
     5140  return 0;
     5141}
     5142_ACEOF
     5143rm -f conftest.$ac_objext
     5144if { (ac_try="$ac_compile"
     5145case "(($ac_try" in
     5146  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5147  *) ac_try_echo=$ac_try;;
     5148esac
     5149eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5150$as_echo "$ac_try_echo") >&5
     5151  (eval "$ac_compile") 2>conftest.er1
     5152  ac_status=$?
     5153  grep -v '^ *+' conftest.er1 >conftest.err
     5154  rm -f conftest.er1
     5155  cat conftest.err >&5
     5156  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5157  (exit $ac_status); } && {
     5158         test -z "$ac_c_werror_flag" ||
     5159         test ! -s conftest.err
     5160       } && test -s conftest.$ac_objext; then
     5161  :
     5162else
     5163  $as_echo "$as_me: failed program was:" >&5
     5164sed 's/^/| /' conftest.$ac_ext >&5
     5165
     5166        ac_c_werror_flag=$ac_save_c_werror_flag
     5167         CFLAGS="-g"
     5168         cat >conftest.$ac_ext <<_ACEOF
     5169/* confdefs.h.  */
     5170_ACEOF
     5171cat confdefs.h >>conftest.$ac_ext
     5172cat >>conftest.$ac_ext <<_ACEOF
     5173/* end confdefs.h.  */
     5174
     5175int
     5176main ()
     5177{
     5178
     5179  ;
     5180  return 0;
     5181}
     5182_ACEOF
     5183rm -f conftest.$ac_objext
     5184if { (ac_try="$ac_compile"
     5185case "(($ac_try" in
     5186  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5187  *) ac_try_echo=$ac_try;;
     5188esac
     5189eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5190$as_echo "$ac_try_echo") >&5
     5191  (eval "$ac_compile") 2>conftest.er1
     5192  ac_status=$?
     5193  grep -v '^ *+' conftest.er1 >conftest.err
     5194  rm -f conftest.er1
     5195  cat conftest.err >&5
     5196  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5197  (exit $ac_status); } && {
     5198         test -z "$ac_c_werror_flag" ||
     5199         test ! -s conftest.err
     5200       } && test -s conftest.$ac_objext; then
     5201  ac_cv_prog_cc_g=yes
     5202else
     5203  $as_echo "$as_me: failed program was:" >&5
     5204sed 's/^/| /' conftest.$ac_ext >&5
     5205
     5206
     5207fi
     5208
     5209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5210fi
     5211
     5212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5213fi
     5214
     5215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5216   ac_c_werror_flag=$ac_save_c_werror_flag
     5217fi
     5218{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     5219$as_echo "$ac_cv_prog_cc_g" >&6; }
     5220if test "$ac_test_CFLAGS" = set; then
     5221  CFLAGS=$ac_save_CFLAGS
     5222elif test $ac_cv_prog_cc_g = yes; then
     5223  if test "$GCC" = yes; then
     5224    CFLAGS="-g -O2"
     5225  else
     5226    CFLAGS="-g"
     5227  fi
     5228else
     5229  if test "$GCC" = yes; then
     5230    CFLAGS="-O2"
     5231  else
     5232    CFLAGS=
     5233  fi
     5234fi
     5235{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     5236$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     5237if test "${ac_cv_prog_cc_c89+set}" = set; then
     5238  $as_echo_n "(cached) " >&6
     5239else
     5240  ac_cv_prog_cc_c89=no
     5241ac_save_CC=$CC
     5242cat >conftest.$ac_ext <<_ACEOF
     5243/* confdefs.h.  */
     5244_ACEOF
     5245cat confdefs.h >>conftest.$ac_ext
     5246cat >>conftest.$ac_ext <<_ACEOF
     5247/* end confdefs.h.  */
     5248#include <stdarg.h>
     5249#include <stdio.h>
     5250#include <sys/types.h>
     5251#include <sys/stat.h>
     5252/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     5253struct buf { int x; };
     5254FILE * (*rcsopen) (struct buf *, struct stat *, int);
     5255static char *e (p, i)
     5256     char **p;
     5257     int i;
     5258{
     5259  return p[i];
     5260}
     5261static char *f (char * (*g) (char **, int), char **p, ...)
     5262{
     5263  char *s;
     5264  va_list v;
     5265  va_start (v,p);
     5266  s = g (p, va_arg (v,int));
     5267  va_end (v);
     5268  return s;
     5269}
     5270
     5271/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     5272   function prototypes and stuff, but not '\xHH' hex character constants.
     5273   These don't provoke an error unfortunately, instead are silently treated
     5274   as 'x'.  The following induces an error, until -std is added to get
     5275   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     5276   array size at least.  It's necessary to write '\x00'==0 to get something
     5277   that's true only with -std.  */
     5278int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     5279
     5280/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     5281   inside strings and character constants.  */
     5282#define FOO(x) 'x'
     5283int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     5284
     5285int test (int i, double x);
     5286struct s1 {int (*f) (int a);};
     5287struct s2 {int (*f) (double a);};
     5288int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     5289int argc;
     5290char **argv;
     5291int
     5292main ()
     5293{
     5294return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     5295  ;
     5296  return 0;
     5297}
     5298_ACEOF
     5299for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     5300        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     5301do
     5302  CC="$ac_save_CC $ac_arg"
     5303  rm -f conftest.$ac_objext
     5304if { (ac_try="$ac_compile"
     5305case "(($ac_try" in
     5306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5307  *) ac_try_echo=$ac_try;;
     5308esac
     5309eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5310$as_echo "$ac_try_echo") >&5
     5311  (eval "$ac_compile") 2>conftest.er1
     5312  ac_status=$?
     5313  grep -v '^ *+' conftest.er1 >conftest.err
     5314  rm -f conftest.er1
     5315  cat conftest.err >&5
     5316  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5317  (exit $ac_status); } && {
     5318         test -z "$ac_c_werror_flag" ||
     5319         test ! -s conftest.err
     5320       } && test -s conftest.$ac_objext; then
     5321  ac_cv_prog_cc_c89=$ac_arg
     5322else
     5323  $as_echo "$as_me: failed program was:" >&5
     5324sed 's/^/| /' conftest.$ac_ext >&5
     5325
     5326
     5327fi
     5328
     5329rm -f core conftest.err conftest.$ac_objext
     5330  test "x$ac_cv_prog_cc_c89" != "xno" && break
     5331done
     5332rm -f conftest.$ac_ext
     5333CC=$ac_save_CC
     5334
     5335fi
     5336# AC_CACHE_VAL
     5337case "x$ac_cv_prog_cc_c89" in
     5338  x)
     5339    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5340$as_echo "none needed" >&6; } ;;
     5341  xno)
     5342    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5343$as_echo "unsupported" >&6; } ;;
     5344  *)
     5345    CC="$CC $ac_cv_prog_cc_c89"
     5346    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     5347$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     5348esac
     5349
     5350
     5351ac_ext=c
     5352ac_cpp='$CPP $CPPFLAGS'
     5353ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5354ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5355ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5356
     5357depcc="$CC"   am_compiler_list=
     5358
     5359{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
     5360$as_echo_n "checking dependency style of $depcc... " >&6; }
     5361if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     5362  $as_echo_n "(cached) " >&6
     5363else
     5364  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     5365  # We make a subdir and do the tests there.  Otherwise we can end up
     5366  # making bogus files that we don't know about and never remove.  For
     5367  # instance it was reported that on HP-UX the gcc test will end up
     5368  # making a dummy file named `D' -- because `-MD' means `put the output
     5369  # in D'.
     5370  mkdir conftest.dir
     5371  # Copy depcomp to subdir because otherwise we won't find it if we're
     5372  # using a relative directory.
     5373  cp "$am_depcomp" conftest.dir
     5374  cd conftest.dir
     5375  # We will build objects and dependencies in a subdirectory because
     5376  # it helps to detect inapplicable dependency modes.  For instance
     5377  # both Tru64's cc and ICC support -MD to output dependencies as a
     5378  # side effect of compilation, but ICC will put the dependencies in
     5379  # the current directory while Tru64 will put them in the object
     5380  # directory.
     5381  mkdir sub
     5382
     5383  am_cv_CC_dependencies_compiler_type=none
     5384  if test "$am_compiler_list" = ""; then
     5385     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     5386  fi
     5387  am__universal=false
     5388  case " $depcc " in #(
     5389     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     5390     esac
     5391
     5392  for depmode in $am_compiler_list; do
     5393    # Setup a source with many dependencies, because some compilers
     5394    # like to wrap large dependency lists on column 80 (with \), and
     5395    # we should not choose a depcomp mode which is confused by this.
     5396    #
     5397    # We need to recreate these files for each test, as the compiler may
     5398    # overwrite some of them when testing with obscure command lines.
     5399    # This happens at least with the AIX C compiler.
     5400    : > sub/conftest.c
     5401    for i in 1 2 3 4 5 6; do
     5402      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     5403      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     5404      # Solaris 8's {/usr,}/bin/sh.
     5405      touch sub/conftst$i.h
     5406    done
     5407    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     5408
     5409    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     5410    # mode.  It turns out that the SunPro C++ compiler does not properly
     5411    # handle `-M -o', and we need to detect this.  Also, some Intel
     5412    # versions had trouble with output in subdirs
     5413    am__obj=sub/conftest.${OBJEXT-o}
     5414    am__minus_obj="-o $am__obj"
     5415    case $depmode in
     5416    gcc)
     5417      # This depmode causes a compiler race in universal mode.
     5418      test "$am__universal" = false || continue
     5419      ;;
     5420    nosideeffect)
     5421      # after this tag, mechanisms are not by side-effect, so they'll
     5422      # only be used when explicitly requested
     5423      if test "x$enable_dependency_tracking" = xyes; then
     5424        continue
     5425      else
     5426        break
     5427      fi
     5428      ;;
     5429    msvisualcpp | msvcmsys)
     5430      # This compiler won't grok `-c -o', but also, the minuso test has
     5431      # not run yet.  These depmodes are late enough in the game, and
     5432      # so weak that their functioning should not be impacted.
     5433      am__obj=conftest.${OBJEXT-o}
     5434      am__minus_obj=
     5435      ;;
     5436    none) break ;;
     5437    esac
     5438    if depmode=$depmode \
     5439       source=sub/conftest.c object=$am__obj \
     5440       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     5441       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     5442         >/dev/null 2>conftest.err &&
     5443       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     5444       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     5445       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     5446       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     5447      # icc doesn't choke on unknown options, it will just issue warnings
     5448      # or remarks (even with -Werror).  So we grep stderr for any message
     5449      # that says an option was ignored or not supported.
     5450      # When given -MP, icc 7.0 and 7.1 complain thusly:
     5451      #   icc: Command line warning: ignoring option '-M'; no argument required
     5452      # The diagnosis changed in icc 8.0:
     5453      #   icc: Command line remark: option '-MP' not supported
     5454      if (grep 'ignoring option' conftest.err ||
     5455          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     5456        am_cv_CC_dependencies_compiler_type=$depmode
     5457        break
     5458      fi
     5459    fi
     5460  done
     5461
     5462  cd ..
     5463  rm -rf conftest.dir
     5464else
     5465  am_cv_CC_dependencies_compiler_type=none
     5466fi
     5467
     5468fi
     5469{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
     5470$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     5471CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     5472
     5473 if
     5474  test "x$enable_dependency_tracking" != xno \
     5475  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     5476  am__fastdepCC_TRUE=
     5477  am__fastdepCC_FALSE='#'
     5478else
     5479  am__fastdepCC_TRUE='#'
     5480  am__fastdepCC_FALSE=
     5481fi
     5482
     5483
     5484   case $ac_cv_prog_cc_stdc in
     5485  no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
     5486  *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
     5487$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
     5488if test "${ac_cv_prog_cc_c99+set}" = set; then
     5489  $as_echo_n "(cached) " >&6
     5490else
     5491  ac_cv_prog_cc_c99=no
     5492ac_save_CC=$CC
     5493cat >conftest.$ac_ext <<_ACEOF
     5494/* confdefs.h.  */
     5495_ACEOF
     5496cat confdefs.h >>conftest.$ac_ext
     5497cat >>conftest.$ac_ext <<_ACEOF
     5498/* end confdefs.h.  */
     5499#include <stdarg.h>
     5500#include <stdbool.h>
     5501#include <stdlib.h>
     5502#include <wchar.h>
     5503#include <stdio.h>
     5504
     5505// Check varargs macros.  These examples are taken from C99 6.10.3.5.
     5506#define debug(...) fprintf (stderr, __VA_ARGS__)
     5507#define showlist(...) puts (#__VA_ARGS__)
     5508#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
     5509static void
     5510test_varargs_macros (void)
     5511{
     5512  int x = 1234;
     5513  int y = 5678;
     5514  debug ("Flag");
     5515  debug ("X = %d\n", x);
     5516  showlist (The first, second, and third items.);
     5517  report (x>y, "x is %d but y is %d", x, y);
     5518}
     5519
     5520// Check long long types.
     5521#define BIG64 18446744073709551615ull
     5522#define BIG32 4294967295ul
     5523#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
     5524#if !BIG_OK
     5525  your preprocessor is broken;
     5526#endif
     5527#if BIG_OK
     5528#else
     5529  your preprocessor is broken;
     5530#endif
     5531static long long int bignum = -9223372036854775807LL;
     5532static unsigned long long int ubignum = BIG64;
     5533
     5534struct incomplete_array
     5535{
     5536  int datasize;
     5537  double data[];
     5538};
     5539
     5540struct named_init {
     5541  int number;
     5542  const wchar_t *name;
     5543  double average;
     5544};
     5545
     5546typedef const char *ccp;
     5547
     5548static inline int
     5549test_restrict (ccp restrict text)
     5550{
     5551  // See if C++-style comments work.
     5552  // Iterate through items via the restricted pointer.
     5553  // Also check for declarations in for loops.
     5554  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
     5555    continue;
     5556  return 0;
     5557}
     5558
     5559// Check varargs and va_copy.
     5560static void
     5561test_varargs (const char *format, ...)
     5562{
     5563  va_list args;
     5564  va_start (args, format);
     5565  va_list args_copy;
     5566  va_copy (args_copy, args);
     5567
     5568  const char *str;
     5569  int number;
     5570  float fnumber;
     5571
     5572  while (*format)
     5573    {
     5574      switch (*format++)
     5575        {
     5576        case 's': // string
     5577          str = va_arg (args_copy, const char *);
     5578          break;
     5579        case 'd': // int
     5580          number = va_arg (args_copy, int);
     5581          break;
     5582        case 'f': // float
     5583          fnumber = va_arg (args_copy, double);
     5584          break;
     5585        default:
     5586          break;
     5587        }
     5588    }
     5589  va_end (args_copy);
     5590  va_end (args);
     5591}
     5592
     5593int
     5594main ()
     5595{
     5596
     5597  // Check bool.
     5598  _Bool success = false;
     5599
     5600  // Check restrict.
     5601  if (test_restrict ("String literal") == 0)
     5602    success = true;
     5603  char *restrict newvar = "Another string";
     5604
     5605  // Check varargs.
     5606  test_varargs ("s, d' f .", "string", 65, 34.234);
     5607  test_varargs_macros ();
     5608
     5609  // Check flexible array members.
     5610  struct incomplete_array *ia =
     5611    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
     5612  ia->datasize = 10;
     5613  for (int i = 0; i < ia->datasize; ++i)
     5614    ia->data[i] = i * 1.234;
     5615
     5616  // Check named initializers.
     5617  struct named_init ni = {
     5618    .number = 34,
     5619    .name = L"Test wide string",
     5620    .average = 543.34343,
     5621  };
     5622
     5623  ni.number = 58;
     5624
     5625  int dynamic_array[ni.number];
     5626  dynamic_array[ni.number - 1] = 543;
     5627
     5628  // work around unused variable warnings
     5629  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
     5630          || dynamic_array[ni.number - 1] != 543);
     5631
     5632  ;
     5633  return 0;
     5634}
     5635_ACEOF
     5636for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
     5637do
     5638  CC="$ac_save_CC $ac_arg"
     5639  rm -f conftest.$ac_objext
     5640if { (ac_try="$ac_compile"
     5641case "(($ac_try" in
     5642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5643  *) ac_try_echo=$ac_try;;
     5644esac
     5645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5646$as_echo "$ac_try_echo") >&5
     5647  (eval "$ac_compile") 2>conftest.er1
     5648  ac_status=$?
     5649  grep -v '^ *+' conftest.er1 >conftest.err
     5650  rm -f conftest.er1
     5651  cat conftest.err >&5
     5652  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5653  (exit $ac_status); } && {
     5654         test -z "$ac_c_werror_flag" ||
     5655         test ! -s conftest.err
     5656       } && test -s conftest.$ac_objext; then
     5657  ac_cv_prog_cc_c99=$ac_arg
     5658else
     5659  $as_echo "$as_me: failed program was:" >&5
     5660sed 's/^/| /' conftest.$ac_ext >&5
     5661
     5662
     5663fi
     5664
     5665rm -f core conftest.err conftest.$ac_objext
     5666  test "x$ac_cv_prog_cc_c99" != "xno" && break
     5667done
     5668rm -f conftest.$ac_ext
     5669CC=$ac_save_CC
     5670
     5671fi
     5672# AC_CACHE_VAL
     5673case "x$ac_cv_prog_cc_c99" in
     5674  x)
     5675    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5676$as_echo "none needed" >&6; } ;;
     5677  xno)
     5678    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5679$as_echo "unsupported" >&6; } ;;
     5680  *)
     5681    CC="$CC $ac_cv_prog_cc_c99"
     5682    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
     5683$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
     5684esac
     5685if test "x$ac_cv_prog_cc_c99" != xno; then
     5686  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
     5687else
     5688  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     5689$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     5690if test "${ac_cv_prog_cc_c89+set}" = set; then
     5691  $as_echo_n "(cached) " >&6
     5692else
     5693  ac_cv_prog_cc_c89=no
     5694ac_save_CC=$CC
     5695cat >conftest.$ac_ext <<_ACEOF
     5696/* confdefs.h.  */
     5697_ACEOF
     5698cat confdefs.h >>conftest.$ac_ext
     5699cat >>conftest.$ac_ext <<_ACEOF
     5700/* end confdefs.h.  */
     5701#include <stdarg.h>
     5702#include <stdio.h>
     5703#include <sys/types.h>
     5704#include <sys/stat.h>
     5705/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     5706struct buf { int x; };
     5707FILE * (*rcsopen) (struct buf *, struct stat *, int);
     5708static char *e (p, i)
     5709     char **p;
     5710     int i;
     5711{
     5712  return p[i];
     5713}
     5714static char *f (char * (*g) (char **, int), char **p, ...)
     5715{
     5716  char *s;
     5717  va_list v;
     5718  va_start (v,p);
     5719  s = g (p, va_arg (v,int));
     5720  va_end (v);
     5721  return s;
     5722}
     5723
     5724/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     5725   function prototypes and stuff, but not '\xHH' hex character constants.
     5726   These don't provoke an error unfortunately, instead are silently treated
     5727   as 'x'.  The following induces an error, until -std is added to get
     5728   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     5729   array size at least.  It's necessary to write '\x00'==0 to get something
     5730   that's true only with -std.  */
     5731int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     5732
     5733/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     5734   inside strings and character constants.  */
     5735#define FOO(x) 'x'
     5736int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     5737
     5738int test (int i, double x);
     5739struct s1 {int (*f) (int a);};
     5740struct s2 {int (*f) (double a);};
     5741int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     5742int argc;
     5743char **argv;
     5744int
     5745main ()
     5746{
     5747return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     5748  ;
     5749  return 0;
     5750}
     5751_ACEOF
     5752for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     5753        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     5754do
     5755  CC="$ac_save_CC $ac_arg"
     5756  rm -f conftest.$ac_objext
     5757if { (ac_try="$ac_compile"
     5758case "(($ac_try" in
     5759  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5760  *) ac_try_echo=$ac_try;;
     5761esac
     5762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5763$as_echo "$ac_try_echo") >&5
     5764  (eval "$ac_compile") 2>conftest.er1
     5765  ac_status=$?
     5766  grep -v '^ *+' conftest.er1 >conftest.err
     5767  rm -f conftest.er1
     5768  cat conftest.err >&5
     5769  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5770  (exit $ac_status); } && {
     5771         test -z "$ac_c_werror_flag" ||
     5772         test ! -s conftest.err
     5773       } && test -s conftest.$ac_objext; then
     5774  ac_cv_prog_cc_c89=$ac_arg
     5775else
     5776  $as_echo "$as_me: failed program was:" >&5
     5777sed 's/^/| /' conftest.$ac_ext >&5
     5778
     5779
     5780fi
     5781
     5782rm -f core conftest.err conftest.$ac_objext
     5783  test "x$ac_cv_prog_cc_c89" != "xno" && break
     5784done
     5785rm -f conftest.$ac_ext
     5786CC=$ac_save_CC
     5787
     5788fi
     5789# AC_CACHE_VAL
     5790case "x$ac_cv_prog_cc_c89" in
     5791  x)
     5792    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5793$as_echo "none needed" >&6; } ;;
     5794  xno)
     5795    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5796$as_echo "unsupported" >&6; } ;;
     5797  *)
     5798    CC="$CC $ac_cv_prog_cc_c89"
     5799    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     5800$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     5801esac
     5802if test "x$ac_cv_prog_cc_c89" != xno; then
     5803  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
     5804else
     5805  ac_cv_prog_cc_stdc=no
     5806fi
     5807
     5808
     5809fi
     5810
     5811 ;;
     5812esac
     5813  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
     5814$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
     5815  if test "${ac_cv_prog_cc_stdc+set}" = set; then
     5816  $as_echo_n "(cached) " >&6
     5817fi
     5818
     5819  case $ac_cv_prog_cc_stdc in
     5820  no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     5821$as_echo "unsupported" >&6; } ;;
     5822  '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
     5823$as_echo "none needed" >&6; } ;;
     5824  *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     5825$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
     5826esac
     5827
     5828
     5829ac_ext=c
     5830ac_cpp='$CPP $CPPFLAGS'
     5831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5833ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5834{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     5835$as_echo_n "checking how to run the C preprocessor... " >&6; }
     5836# On Suns, sometimes $CPP names a directory.
     5837if test -n "$CPP" && test -d "$CPP"; then
     5838  CPP=
     5839fi
     5840if test -z "$CPP"; then
     5841  if test "${ac_cv_prog_CPP+set}" = set; then
     5842  $as_echo_n "(cached) " >&6
     5843else
     5844      # Double quotes because CPP needs to be expanded
     5845    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     5846    do
     5847      ac_preproc_ok=false
     5848for ac_c_preproc_warn_flag in '' yes
     5849do
     5850  # Use a header file that comes with gcc, so configuring glibc
     5851  # with a fresh cross-compiler works.
     5852  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5853  # <limits.h> exists even on freestanding compilers.
     5854  # On the NeXT, cc -E runs the code through the compiler's parser,
     5855  # not just through cpp. "Syntax error" is here to catch this case.
     5856  cat >conftest.$ac_ext <<_ACEOF
     5857/* confdefs.h.  */
     5858_ACEOF
     5859cat confdefs.h >>conftest.$ac_ext
     5860cat >>conftest.$ac_ext <<_ACEOF
     5861/* end confdefs.h.  */
     5862#ifdef __STDC__
     5863# include <limits.h>
     5864#else
     5865# include <assert.h>
     5866#endif
     5867                     Syntax error
     5868_ACEOF
     5869if { (ac_try="$ac_cpp conftest.$ac_ext"
     5870case "(($ac_try" in
     5871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5872  *) ac_try_echo=$ac_try;;
     5873esac
     5874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5875$as_echo "$ac_try_echo") >&5
     5876  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5877  ac_status=$?
     5878  grep -v '^ *+' conftest.er1 >conftest.err
     5879  rm -f conftest.er1
     5880  cat conftest.err >&5
     5881  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5882  (exit $ac_status); } >/dev/null && {
     5883         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5884         test ! -s conftest.err
     5885       }; then
     5886  :
     5887else
     5888  $as_echo "$as_me: failed program was:" >&5
     5889sed 's/^/| /' conftest.$ac_ext >&5
     5890
     5891  # Broken: fails on valid input.
     5892continue
     5893fi
     5894
     5895rm -f conftest.err conftest.$ac_ext
     5896
     5897  # OK, works on sane cases.  Now check whether nonexistent headers
     5898  # can be detected and how.
     5899  cat >conftest.$ac_ext <<_ACEOF
     5900/* confdefs.h.  */
     5901_ACEOF
     5902cat confdefs.h >>conftest.$ac_ext
     5903cat >>conftest.$ac_ext <<_ACEOF
     5904/* end confdefs.h.  */
     5905#include <ac_nonexistent.h>
     5906_ACEOF
     5907if { (ac_try="$ac_cpp conftest.$ac_ext"
     5908case "(($ac_try" in
     5909  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5910  *) ac_try_echo=$ac_try;;
     5911esac
     5912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5913$as_echo "$ac_try_echo") >&5
     5914  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5915  ac_status=$?
     5916  grep -v '^ *+' conftest.er1 >conftest.err
     5917  rm -f conftest.er1
     5918  cat conftest.err >&5
     5919  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5920  (exit $ac_status); } >/dev/null && {
     5921         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5922         test ! -s conftest.err
     5923       }; then
     5924  # Broken: success on invalid input.
     5925continue
     5926else
     5927  $as_echo "$as_me: failed program was:" >&5
     5928sed 's/^/| /' conftest.$ac_ext >&5
     5929
     5930  # Passes both tests.
     5931ac_preproc_ok=:
     5932break
     5933fi
     5934
     5935rm -f conftest.err conftest.$ac_ext
     5936
     5937done
     5938# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5939rm -f conftest.err conftest.$ac_ext
     5940if $ac_preproc_ok; then
     5941  break
     5942fi
     5943
     5944    done
     5945    ac_cv_prog_CPP=$CPP
     5946
     5947fi
     5948  CPP=$ac_cv_prog_CPP
     5949else
     5950  ac_cv_prog_CPP=$CPP
     5951fi
     5952{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     5953$as_echo "$CPP" >&6; }
     5954ac_preproc_ok=false
     5955for ac_c_preproc_warn_flag in '' yes
     5956do
     5957  # Use a header file that comes with gcc, so configuring glibc
     5958  # with a fresh cross-compiler works.
     5959  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5960  # <limits.h> exists even on freestanding compilers.
     5961  # On the NeXT, cc -E runs the code through the compiler's parser,
     5962  # not just through cpp. "Syntax error" is here to catch this case.
     5963  cat >conftest.$ac_ext <<_ACEOF
     5964/* confdefs.h.  */
     5965_ACEOF
     5966cat confdefs.h >>conftest.$ac_ext
     5967cat >>conftest.$ac_ext <<_ACEOF
     5968/* end confdefs.h.  */
     5969#ifdef __STDC__
     5970# include <limits.h>
     5971#else
     5972# include <assert.h>
     5973#endif
     5974                     Syntax error
     5975_ACEOF
     5976if { (ac_try="$ac_cpp conftest.$ac_ext"
     5977case "(($ac_try" in
     5978  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5979  *) ac_try_echo=$ac_try;;
     5980esac
     5981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5982$as_echo "$ac_try_echo") >&5
     5983  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5984  ac_status=$?
     5985  grep -v '^ *+' conftest.er1 >conftest.err
     5986  rm -f conftest.er1
     5987  cat conftest.err >&5
     5988  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5989  (exit $ac_status); } >/dev/null && {
     5990         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5991         test ! -s conftest.err
     5992       }; then
     5993  :
     5994else
     5995  $as_echo "$as_me: failed program was:" >&5
     5996sed 's/^/| /' conftest.$ac_ext >&5
     5997
     5998  # Broken: fails on valid input.
     5999continue
     6000fi
     6001
     6002rm -f conftest.err conftest.$ac_ext
     6003
     6004  # OK, works on sane cases.  Now check whether nonexistent headers
     6005  # can be detected and how.
     6006  cat >conftest.$ac_ext <<_ACEOF
     6007/* confdefs.h.  */
     6008_ACEOF
     6009cat confdefs.h >>conftest.$ac_ext
     6010cat >>conftest.$ac_ext <<_ACEOF
     6011/* end confdefs.h.  */
     6012#include <ac_nonexistent.h>
     6013_ACEOF
     6014if { (ac_try="$ac_cpp conftest.$ac_ext"
     6015case "(($ac_try" in
     6016  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6017  *) ac_try_echo=$ac_try;;
     6018esac
     6019eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6020$as_echo "$ac_try_echo") >&5
     6021  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6022  ac_status=$?
     6023  grep -v '^ *+' conftest.er1 >conftest.err
     6024  rm -f conftest.er1
     6025  cat conftest.err >&5
     6026  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6027  (exit $ac_status); } >/dev/null && {
     6028         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6029         test ! -s conftest.err
     6030       }; then
     6031  # Broken: success on invalid input.
     6032continue
     6033else
     6034  $as_echo "$as_me: failed program was:" >&5
     6035sed 's/^/| /' conftest.$ac_ext >&5
     6036
     6037  # Passes both tests.
     6038ac_preproc_ok=:
     6039break
     6040fi
     6041
     6042rm -f conftest.err conftest.$ac_ext
     6043
     6044done
     6045# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     6046rm -f conftest.err conftest.$ac_ext
     6047if $ac_preproc_ok; then
     6048  :
     6049else
     6050  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     6052{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     6053See \`config.log' for more details." >&5
     6054$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     6055See \`config.log' for more details." >&2;}
     6056   { (exit 1); exit 1; }; }; }
     6057fi
     6058
     6059ac_ext=c
     6060ac_cpp='$CPP $CPPFLAGS'
     6061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6063ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6064
     6065# Find a good install program.  We prefer a C program (faster),
     6066# so one script is as good as another.  But avoid the broken or
     6067# incompatible versions:
     6068# SysV /etc/install, /usr/sbin/install
     6069# SunOS /usr/etc/install
     6070# IRIX /sbin/install
     6071# AIX /bin/install
     6072# AmigaOS /C/install, which installs bootblocks on floppy discs
     6073# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     6074# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     6075# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     6076# OS/2's system install, which has a completely different semantic
     6077# ./install, which can be erroneously created by make from ./install.sh.
     6078# Reject install programs that cannot install multiple files.
     6079{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6080$as_echo_n "checking for a BSD-compatible install... " >&6; }
     6081if test -z "$INSTALL"; then
     6082if test "${ac_cv_path_install+set}" = set; then
     6083  $as_echo_n "(cached) " >&6
     6084else
     6085  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6086for as_dir in $PATH
     6087do
     6088  IFS=$as_save_IFS
     6089  test -z "$as_dir" && as_dir=.
     6090  # Account for people who put trailing slashes in PATH elements.
     6091case $as_dir/ in
     6092  ./ | .// | /cC/* | \
     6093  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     6094  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     6095  /usr/ucb/* ) ;;
     6096  *)
     6097    # OSF1 and SCO ODT 3.0 have their own names for install.
     6098    # Don't use installbsd from OSF since it installs stuff as root
     6099    # by default.
     6100    for ac_prog in ginstall scoinst install; do
     6101      for ac_exec_ext in '' $ac_executable_extensions; do
     6102        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     6103          if test $ac_prog = install &&
     6104            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     6105            # AIX install.  It has an incompatible calling convention.
     6106            :
     6107          elif test $ac_prog = install &&
     6108            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     6109            # program-specific install script used by HP pwplus--don't use.
     6110            :
     6111          else
     6112            rm -rf conftest.one conftest.two conftest.dir
     6113            echo one > conftest.one
     6114            echo two > conftest.two
     6115            mkdir conftest.dir
     6116            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     6117              test -s conftest.one && test -s conftest.two &&
     6118              test -s conftest.dir/conftest.one &&
     6119              test -s conftest.dir/conftest.two
     6120            then
     6121              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     6122              break 3
     6123            fi
     6124          fi
     6125        fi
     6126      done
     6127    done
     6128    ;;
     6129esac
     6130
     6131done
     6132IFS=$as_save_IFS
     6133
     6134rm -rf conftest.one conftest.two conftest.dir
     6135
     6136fi
     6137  if test "${ac_cv_path_install+set}" = set; then
     6138    INSTALL=$ac_cv_path_install
     6139  else
     6140    # As a last resort, use the slow shell script.  Don't cache a
     6141    # value for INSTALL within a source directory, because that will
     6142    # break other packages using the cache if that directory is
     6143    # removed, or if the value is a relative name.
     6144    INSTALL=$ac_install_sh
     6145  fi
     6146fi
     6147{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     6148$as_echo "$INSTALL" >&6; }
     6149
     6150# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     6151# It thinks the first close brace ends the variable substitution.
     6152test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     6153
     6154test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     6155
     6156test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
     6157
     6158{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     6159$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     6160set x ${MAKE-make}
     6161ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     6162if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     6163  $as_echo_n "(cached) " >&6
     6164else
     6165  cat >conftest.make <<\_ACEOF
     6166SHELL = /bin/sh
     6167all:
     6168        @echo '@@@%%%=$(MAKE)=@@@%%%'
     6169_ACEOF
     6170# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     6171case `${MAKE-make} -f conftest.make 2>/dev/null` in
     6172  *@@@%%%=?*=@@@%%%*)
     6173    eval ac_cv_prog_make_${ac_make}_set=yes;;
     6174  *)
     6175    eval ac_cv_prog_make_${ac_make}_set=no;;
     6176esac
     6177rm -f conftest.make
     6178fi
     6179if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     6180  { $as_echo "$as_me:$LINENO: result: yes" >&5
     6181$as_echo "yes" >&6; }
     6182  SET_MAKE=
     6183else
     6184  { $as_echo "$as_me:$LINENO: result: no" >&5
     6185$as_echo "no" >&6; }
     6186  SET_MAKE="MAKE=${MAKE-make}"
     6187fi
     6188
     6189{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6190$as_echo_n "checking whether ln -s works... " >&6; }
     6191LN_S=$as_ln_s
     6192if test "$LN_S" = "ln -s"; then
     6193  { $as_echo "$as_me:$LINENO: result: yes" >&5
     6194$as_echo "yes" >&6; }
     6195else
     6196  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6197$as_echo "no, using $LN_S" >&6; }
     6198fi
     6199
     6200
     6201# Check if LD supports linker scripts,
     6202# and define automake conditional HAVE_LD_VERSION_SCRIPT if so.
     6203# Check whether --enable-ld-version-script was given.
     6204if test "${enable_ld_version_script+set}" = set; then
     6205  enableval=$enable_ld_version_script; have_ld_version_script=$enableval
     6206fi
     6207
     6208if test -z "$have_ld_version_script"; then
     6209  { $as_echo "$as_me:$LINENO: checking if LD -Wl,--version-script works" >&5
     6210$as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
     6211  save_LDFLAGS="$LDFLAGS"
     6212  LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
     6213  cat > conftest.map <<EOF
     6214VERS_1 {
     6215        global: sym;
     6216};
     6217
     6218VERS_2 {
     6219        global: sym;
     6220} VERS_1;
    6996221EOF
    700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    701 { (eval echo configure:702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    702 ac_err=`grep -v '^ *+' conftest.out`
    703 if test -z "$ac_err"; then
    704   :
    705 else
    706   echo "$ac_err" >&5
    707   echo "configure: failed program was:" >&5
    708   cat conftest.$ac_ext >&5
    709   rm -rf conftest*
    710   CPP="${CC-cc} -E -traditional-cpp"
    711   cat > conftest.$ac_ext <<EOF
    712 #line 713 "configure"
    713 #include "confdefs.h"
    714 #include <assert.h>
    715 Syntax Error
    716 EOF
    717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    718 { (eval echo configure:719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    719 ac_err=`grep -v '^ *+' conftest.out`
    720 if test -z "$ac_err"; then
    721   :
    722 else
    723   echo "$ac_err" >&5
    724   echo "configure: failed program was:" >&5
    725   cat conftest.$ac_ext >&5
    726   rm -rf conftest*
    727   CPP=/lib/cpp
    728 fi
    729 rm -f conftest*
    730 fi
    731 rm -f conftest*
    732   ac_cv_prog_CPP="$CPP"
    733 fi
    734   CPP="$ac_cv_prog_CPP"
    735 else
    736   ac_cv_prog_CPP="$CPP"
    737 fi
    738 echo "$ac_t""$CPP" 1>&6
    739 
    740 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
    741 echo "configure:742: checking for function prototypes" >&5
    742 if eval "test \"`echo '$''{'ijg_cv_have_prototypes'+set}'`\" = set"; then
    743   echo $ac_n "(cached) $ac_c" 1>&6
    744 else
    745   cat > conftest.$ac_ext <<EOF
    746 #line 747 "configure"
    747 #include "confdefs.h"
     6222  cat >conftest.$ac_ext <<_ACEOF
     6223/* confdefs.h.  */
     6224_ACEOF
     6225cat confdefs.h >>conftest.$ac_ext
     6226cat >>conftest.$ac_ext <<_ACEOF
     6227/* end confdefs.h.  */
     6228
     6229int
     6230main ()
     6231{
     6232
     6233  ;
     6234  return 0;
     6235}
     6236_ACEOF
     6237rm -f conftest.$ac_objext conftest$ac_exeext
     6238if { (ac_try="$ac_link"
     6239case "(($ac_try" in
     6240  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6241  *) ac_try_echo=$ac_try;;
     6242esac
     6243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6244$as_echo "$ac_try_echo") >&5
     6245  (eval "$ac_link") 2>conftest.er1
     6246  ac_status=$?
     6247  grep -v '^ *+' conftest.er1 >conftest.err
     6248  rm -f conftest.er1
     6249  cat conftest.err >&5
     6250  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6251  (exit $ac_status); } && {
     6252         test -z "$ac_c_werror_flag" ||
     6253         test ! -s conftest.err
     6254       } && test -s conftest$ac_exeext && {
     6255         test "$cross_compiling" = yes ||
     6256         $as_test_x conftest$ac_exeext
     6257       }; then
     6258  have_ld_version_script=yes
     6259else
     6260  $as_echo "$as_me: failed program was:" >&5
     6261sed 's/^/| /' conftest.$ac_ext >&5
     6262
     6263        have_ld_version_script=no
     6264fi
     6265
     6266rm -rf conftest.dSYM
     6267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6268      conftest$ac_exeext conftest.$ac_ext
     6269  rm -f conftest.map
     6270  LDFLAGS="$save_LDFLAGS"
     6271  { $as_echo "$as_me:$LINENO: result: $have_ld_version_script" >&5
     6272$as_echo "$have_ld_version_script" >&6; }
     6273fi
     6274 if test "$have_ld_version_script" = "yes"; then
     6275  HAVE_LD_VERSION_SCRIPT_TRUE=
     6276  HAVE_LD_VERSION_SCRIPT_FALSE='#'
     6277else
     6278  HAVE_LD_VERSION_SCRIPT_TRUE='#'
     6279  HAVE_LD_VERSION_SCRIPT_FALSE=
     6280fi
     6281
     6282
     6283# See if compiler supports prototypes.
     6284{ $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
     6285$as_echo_n "checking for function prototypes... " >&6; }
     6286if test "${ijg_cv_have_prototypes+set}" = set; then
     6287  $as_echo_n "(cached) " >&6
     6288else
     6289  cat >conftest.$ac_ext <<_ACEOF
     6290/* confdefs.h.  */
     6291_ACEOF
     6292cat confdefs.h >>conftest.$ac_ext
     6293cat >>conftest.$ac_ext <<_ACEOF
     6294/* end confdefs.h.  */
    7486295
    7496296int testfunction (int arg1, int * arg2); /* check prototypes */
     
    7586305{ return 0; }
    7596306
    760 int main() {
    761  
    762 ; return 0; }
    763 EOF
    764 if { (eval echo configure:765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    765   rm -rf conftest*
     6307int
     6308main ()
     6309{
     6310
     6311  ;
     6312  return 0;
     6313}
     6314_ACEOF
     6315rm -f conftest.$ac_objext
     6316if { (ac_try="$ac_compile"
     6317case "(($ac_try" in
     6318  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6319  *) ac_try_echo=$ac_try;;
     6320esac
     6321eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6322$as_echo "$ac_try_echo") >&5
     6323  (eval "$ac_compile") 2>conftest.er1
     6324  ac_status=$?
     6325  grep -v '^ *+' conftest.er1 >conftest.err
     6326  rm -f conftest.er1
     6327  cat conftest.err >&5
     6328  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6329  (exit $ac_status); } && {
     6330         test -z "$ac_c_werror_flag" ||
     6331         test ! -s conftest.err
     6332       } && test -s conftest.$ac_objext; then
    7666333  ijg_cv_have_prototypes=yes
    7676334else
    768   echo "configure: failed program was:" >&5
    769   cat conftest.$ac_ext >&5
    770   rm -rf conftest*
    771   ijg_cv_have_prototypes=no
    772 fi
    773 rm -f conftest*
    774 fi
    775 
    776 echo "$ac_t""$ijg_cv_have_prototypes" 1>&6
     6335  $as_echo "$as_me: failed program was:" >&5
     6336sed 's/^/| /' conftest.$ac_ext >&5
     6337
     6338        ijg_cv_have_prototypes=no
     6339fi
     6340
     6341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6342fi
     6343
     6344{ $as_echo "$as_me:$LINENO: result: $ijg_cv_have_prototypes" >&5
     6345$as_echo "$ijg_cv_have_prototypes" >&6; }
    7776346if test $ijg_cv_have_prototypes = yes; then
    778   cat >> confdefs.h <<\EOF
    779 #define HAVE_PROTOTYPES
    780 EOF
     6347
     6348cat >>confdefs.h <<\_ACEOF
     6349#define HAVE_PROTOTYPES 1
     6350_ACEOF
    7816351
    7826352else
     
    7876357  echo where -switch is the proper switch.
    7886358fi
    789 ac_safe=`echo "stddef.h" | sed 'y%./+-%__p_%'`
    790 echo $ac_n "checking for stddef.h""... $ac_c" 1>&6
    791 echo "configure:792: checking for stddef.h" >&5
    792 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    793   echo $ac_n "(cached) $ac_c" 1>&6
    794 else
    795   cat > conftest.$ac_ext <<EOF
    796 #line 797 "configure"
    797 #include "confdefs.h"
    798 #include <stddef.h>
    799 EOF
    800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    801 { (eval echo configure:802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    802 ac_err=`grep -v '^ *+' conftest.out`
    803 if test -z "$ac_err"; then
    804   rm -rf conftest*
    805   eval "ac_cv_header_$ac_safe=yes"
    806 else
    807   echo "$ac_err" >&5
    808   echo "configure: failed program was:" >&5
    809   cat conftest.$ac_ext >&5
    810   rm -rf conftest*
    811   eval "ac_cv_header_$ac_safe=no"
    812 fi
    813 rm -f conftest*
    814 fi
    815 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    816   echo "$ac_t""yes" 1>&6
    817   cat >> confdefs.h <<\EOF
    818 #define HAVE_STDDEF_H
    819 EOF
    820 
    821 else
    822   echo "$ac_t""no" 1>&6
    823 fi
    824 
    825 ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'`
    826 echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6
    827 echo "configure:828: checking for stdlib.h" >&5
    828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    829   echo $ac_n "(cached) $ac_c" 1>&6
    830 else
    831   cat > conftest.$ac_ext <<EOF
    832 #line 833 "configure"
    833 #include "confdefs.h"
    834 #include <stdlib.h>
    835 EOF
    836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    837 { (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    838 ac_err=`grep -v '^ *+' conftest.out`
    839 if test -z "$ac_err"; then
    840   rm -rf conftest*
    841   eval "ac_cv_header_$ac_safe=yes"
    842 else
    843   echo "$ac_err" >&5
    844   echo "configure: failed program was:" >&5
    845   cat conftest.$ac_ext >&5
    846   rm -rf conftest*
    847   eval "ac_cv_header_$ac_safe=no"
    848 fi
    849 rm -f conftest*
    850 fi
    851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    852   echo "$ac_t""yes" 1>&6
    853   cat >> confdefs.h <<\EOF
    854 #define HAVE_STDLIB_H
    855 EOF
    856 
    857 else
    858   echo "$ac_t""no" 1>&6
    859 fi
    860 
    861 ac_safe=`echo "string.h" | sed 'y%./+-%__p_%'`
    862 echo $ac_n "checking for string.h""... $ac_c" 1>&6
    863 echo "configure:864: checking for string.h" >&5
    864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    865   echo $ac_n "(cached) $ac_c" 1>&6
    866 else
    867   cat > conftest.$ac_ext <<EOF
    868 #line 869 "configure"
    869 #include "confdefs.h"
     6359
     6360# Check header files
     6361
     6362
     6363
     6364for ac_header in stddef.h stdlib.h locale.h
     6365do
     6366as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6367if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6368  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6369$as_echo_n "checking for $ac_header... " >&6; }
     6370if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6371  $as_echo_n "(cached) " >&6
     6372fi
     6373ac_res=`eval 'as_val=${'$as_ac_Header'}
     6374                 $as_echo "$as_val"'`
     6375               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6376$as_echo "$ac_res" >&6; }
     6377else
     6378  # Is the header compilable?
     6379{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6380$as_echo_n "checking $ac_header usability... " >&6; }
     6381cat >conftest.$ac_ext <<_ACEOF
     6382/* confdefs.h.  */
     6383_ACEOF
     6384cat confdefs.h >>conftest.$ac_ext
     6385cat >>conftest.$ac_ext <<_ACEOF
     6386/* end confdefs.h.  */
     6387$ac_includes_default
     6388#include <$ac_header>
     6389_ACEOF
     6390rm -f conftest.$ac_objext
     6391if { (ac_try="$ac_compile"
     6392case "(($ac_try" in
     6393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6394  *) ac_try_echo=$ac_try;;
     6395esac
     6396eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6397$as_echo "$ac_try_echo") >&5
     6398  (eval "$ac_compile") 2>conftest.er1
     6399  ac_status=$?
     6400  grep -v '^ *+' conftest.er1 >conftest.err
     6401  rm -f conftest.er1
     6402  cat conftest.err >&5
     6403  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6404