Home | History | Annotate | Download | only in libpng
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for libpng 1.2.46.
      4 #
      5 # Report bugs to <png-mng-implement (at] lists.sourceforge.net>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: png-mng-implement (at] lists.sourceforge.net about your
    235 $0: system, including any error possibly output before this
    236 $0: message. Then install a modern shell, or manually run
    237 $0: the script under such a shell if you do have one."
    238   fi
    239   exit 1
    240 fi
    241 fi
    242 fi
    243 SHELL=${CONFIG_SHELL-/bin/sh}
    244 export SHELL
    245 # Unset more variables known to interfere with behavior of common tools.
    246 CLICOLOR_FORCE= GREP_OPTIONS=
    247 unset CLICOLOR_FORCE GREP_OPTIONS
    248 
    249 ## --------------------- ##
    250 ## M4sh Shell Functions. ##
    251 ## --------------------- ##
    252 # as_fn_unset VAR
    253 # ---------------
    254 # Portably unset VAR.
    255 as_fn_unset ()
    256 {
    257   { eval $1=; unset $1;}
    258 }
    259 as_unset=as_fn_unset
    260 
    261 # as_fn_set_status STATUS
    262 # -----------------------
    263 # Set $? to STATUS, without forking.
    264 as_fn_set_status ()
    265 {
    266   return $1
    267 } # as_fn_set_status
    268 
    269 # as_fn_exit STATUS
    270 # -----------------
    271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    272 as_fn_exit ()
    273 {
    274   set +e
    275   as_fn_set_status $1
    276   exit $1
    277 } # as_fn_exit
    278 
    279 # as_fn_mkdir_p
    280 # -------------
    281 # Create "$as_dir" as a directory, including parents if necessary.
    282 as_fn_mkdir_p ()
    283 {
    284 
    285   case $as_dir in #(
    286   -*) as_dir=./$as_dir;;
    287   esac
    288   test -d "$as_dir" || eval $as_mkdir_p || {
    289     as_dirs=
    290     while :; do
    291       case $as_dir in #(
    292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    293       *) as_qdir=$as_dir;;
    294       esac
    295       as_dirs="'$as_qdir' $as_dirs"
    296       as_dir=`$as_dirname -- "$as_dir" ||
    297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    298 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    299 	 X"$as_dir" : 'X\(//\)$' \| \
    300 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    301 $as_echo X"$as_dir" |
    302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    303 	    s//\1/
    304 	    q
    305 	  }
    306 	  /^X\(\/\/\)[^/].*/{
    307 	    s//\1/
    308 	    q
    309 	  }
    310 	  /^X\(\/\/\)$/{
    311 	    s//\1/
    312 	    q
    313 	  }
    314 	  /^X\(\/\).*/{
    315 	    s//\1/
    316 	    q
    317 	  }
    318 	  s/.*/./; q'`
    319       test -d "$as_dir" && break
    320     done
    321     test -z "$as_dirs" || eval "mkdir $as_dirs"
    322   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    323 
    324 
    325 } # as_fn_mkdir_p
    326 # as_fn_append VAR VALUE
    327 # ----------------------
    328 # Append the text in VALUE to the end of the definition contained in VAR. Take
    329 # advantage of any shell optimizations that allow amortized linear growth over
    330 # repeated appends, instead of the typical quadratic growth present in naive
    331 # implementations.
    332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    333   eval 'as_fn_append ()
    334   {
    335     eval $1+=\$2
    336   }'
    337 else
    338   as_fn_append ()
    339   {
    340     eval $1=\$$1\$2
    341   }
    342 fi # as_fn_append
    343 
    344 # as_fn_arith ARG...
    345 # ------------------
    346 # Perform arithmetic evaluation on the ARGs, and store the result in the
    347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    348 # must be portable across $(()) and expr.
    349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    350   eval 'as_fn_arith ()
    351   {
    352     as_val=$(( $* ))
    353   }'
    354 else
    355   as_fn_arith ()
    356   {
    357     as_val=`expr "$@" || test $? -eq 1`
    358   }
    359 fi # as_fn_arith
    360 
    361 
    362 # as_fn_error ERROR [LINENO LOG_FD]
    363 # ---------------------------------
    364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    366 # script with status $?, using 1 if that was 0.
    367 as_fn_error ()
    368 {
    369   as_status=$?; test $as_status -eq 0 && as_status=1
    370   if test "$3"; then
    371     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    373   fi
    374   $as_echo "$as_me: error: $1" >&2
    375   as_fn_exit $as_status
    376 } # as_fn_error
    377 
    378 if expr a : '\(a\)' >/dev/null 2>&1 &&
    379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    380   as_expr=expr
    381 else
    382   as_expr=false
    383 fi
    384 
    385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    386   as_basename=basename
    387 else
    388   as_basename=false
    389 fi
    390 
    391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    392   as_dirname=dirname
    393 else
    394   as_dirname=false
    395 fi
    396 
    397 as_me=`$as_basename -- "$0" ||
    398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    399 	 X"$0" : 'X\(//\)$' \| \
    400 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    401 $as_echo X/"$0" |
    402     sed '/^.*\/\([^/][^/]*\)\/*$/{
    403 	    s//\1/
    404 	    q
    405 	  }
    406 	  /^X\/\(\/\/\)$/{
    407 	    s//\1/
    408 	    q
    409 	  }
    410 	  /^X\/\(\/\).*/{
    411 	    s//\1/
    412 	    q
    413 	  }
    414 	  s/.*/./; q'`
    415 
    416 # Avoid depending upon Character Ranges.
    417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    420 as_cr_digits='0123456789'
    421 as_cr_alnum=$as_cr_Letters$as_cr_digits
    422 
    423 
    424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    429   sed -n '
    430     p
    431     /[$]LINENO/=
    432   ' <$as_myself |
    433     sed '
    434       s/[$]LINENO.*/&-/
    435       t lineno
    436       b
    437       :lineno
    438       N
    439       :loop
    440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    441       t loop
    442       s/-\n.*//
    443     ' >$as_me.lineno &&
    444   chmod +x "$as_me.lineno" ||
    445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    446 
    447   # Don't try to exec as it changes $[0], causing all sort of problems
    448   # (the dirname of $[0] is not the place where we might find the
    449   # original and so on.  Autoconf is especially sensitive to this).
    450   . "./$as_me.lineno"
    451   # Exit status is that of the last command.
    452   exit
    453 }
    454 
    455 ECHO_C= ECHO_N= ECHO_T=
    456 case `echo -n x` in #(((((
    457 -n*)
    458   case `echo 'xy\c'` in
    459   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    460   xy)  ECHO_C='\c';;
    461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    462        ECHO_T='	';;
    463   esac;;
    464 *)
    465   ECHO_N='-n';;
    466 esac
    467 
    468 rm -f conf$$ conf$$.exe conf$$.file
    469 if test -d conf$$.dir; then
    470   rm -f conf$$.dir/conf$$.file
    471 else
    472   rm -f conf$$.dir
    473   mkdir conf$$.dir 2>/dev/null
    474 fi
    475 if (echo >conf$$.file) 2>/dev/null; then
    476   if ln -s conf$$.file conf$$ 2>/dev/null; then
    477     as_ln_s='ln -s'
    478     # ... but there are two gotchas:
    479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    481     # In both cases, we have to default to `cp -p'.
    482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    483       as_ln_s='cp -p'
    484   elif ln conf$$.file conf$$ 2>/dev/null; then
    485     as_ln_s=ln
    486   else
    487     as_ln_s='cp -p'
    488   fi
    489 else
    490   as_ln_s='cp -p'
    491 fi
    492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    493 rmdir conf$$.dir 2>/dev/null
    494 
    495 if mkdir -p . 2>/dev/null; then
    496   as_mkdir_p='mkdir -p "$as_dir"'
    497 else
    498   test -d ./-p && rmdir ./-p
    499   as_mkdir_p=false
    500 fi
    501 
    502 if test -x / >/dev/null 2>&1; then
    503   as_test_x='test -x'
    504 else
    505   if ls -dL / >/dev/null 2>&1; then
    506     as_ls_L_option=L
    507   else
    508     as_ls_L_option=
    509   fi
    510   as_test_x='
    511     eval sh -c '\''
    512       if test -d "$1"; then
    513 	test -d "$1/.";
    514       else
    515 	case $1 in #(
    516 	-*)set "./$1";;
    517 	esac;
    518 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    519 	???[sx]*):;;*)false;;esac;fi
    520     '\'' sh
    521   '
    522 fi
    523 as_executable_p=$as_test_x
    524 
    525 # Sed expression to map a string onto a valid CPP name.
    526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    527 
    528 # Sed expression to map a string onto a valid variable name.
    529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    530 
    531 
    532 
    533 # Check that we are running under the correct shell.
    534 SHELL=${CONFIG_SHELL-/bin/sh}
    535 
    536 case X$lt_ECHO in
    537 X*--fallback-echo)
    538   # Remove one level of quotation (which was required for Make).
    539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    540   ;;
    541 esac
    542 
    543 ECHO=${lt_ECHO-echo}
    544 if test "X$1" = X--no-reexec; then
    545   # Discard the --no-reexec flag, and continue.
    546   shift
    547 elif test "X$1" = X--fallback-echo; then
    548   # Avoid inline document here, it may be left over
    549   :
    550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    551   # Yippee, $ECHO works!
    552   :
    553 else
    554   # Restart under the correct shell.
    555   exec $SHELL "$0" --no-reexec ${1+"$@"}
    556 fi
    557 
    558 if test "X$1" = X--fallback-echo; then
    559   # used as fallback echo
    560   shift
    561   cat <<_LT_EOF
    562 $*
    563 _LT_EOF
    564   exit 0
    565 fi
    566 
    567 # The HP-UX ksh and POSIX shell print the target directory to stdout
    568 # if CDPATH is set.
    569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    570 
    571 if test -z "$lt_ECHO"; then
    572   if test "X${echo_test_string+set}" != Xset; then
    573     # find a string as large as possible, as long as the shell can cope with it
    574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    577 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    578       then
    579         break
    580       fi
    581     done
    582   fi
    583 
    584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    586      test "X$echo_testing_string" = "X$echo_test_string"; then
    587     :
    588   else
    589     # The Solaris, AIX, and Digital Unix default echo programs unquote
    590     # backslashes.  This makes it impossible to quote backslashes using
    591     #   echo "$something" | sed 's/\\/\\\\/g'
    592     #
    593     # So, first we look for a working echo in the user's PATH.
    594 
    595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    596     for dir in $PATH /usr/ucb; do
    597       IFS="$lt_save_ifs"
    598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    601          test "X$echo_testing_string" = "X$echo_test_string"; then
    602         ECHO="$dir/echo"
    603         break
    604       fi
    605     done
    606     IFS="$lt_save_ifs"
    607 
    608     if test "X$ECHO" = Xecho; then
    609       # We didn't find a better echo, so look for alternatives.
    610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    612          test "X$echo_testing_string" = "X$echo_test_string"; then
    613         # This shell has a builtin print -r that does the trick.
    614         ECHO='print -r'
    615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    616 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    617         # If we have ksh, try running configure again with it.
    618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    619         export ORIGINAL_CONFIG_SHELL
    620         CONFIG_SHELL=/bin/ksh
    621         export CONFIG_SHELL
    622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    623       else
    624         # Try using printf.
    625         ECHO='printf %s\n'
    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 	  # Cool, printf works
    630 	  :
    631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    632 	     test "X$echo_testing_string" = 'X\t' &&
    633 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    634 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    635 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    636 	  export CONFIG_SHELL
    637 	  SHELL="$CONFIG_SHELL"
    638 	  export SHELL
    639 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    641 	     test "X$echo_testing_string" = 'X\t' &&
    642 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    643 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    644 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    645         else
    646 	  # maybe with a smaller string...
    647 	  prev=:
    648 
    649 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    650 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    651 	    then
    652 	      break
    653 	    fi
    654 	    prev="$cmd"
    655 	  done
    656 
    657 	  if test "$prev" != 'sed 50q "$0"'; then
    658 	    echo_test_string=`eval $prev`
    659 	    export echo_test_string
    660 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    661 	  else
    662 	    # Oops.  We lost completely, so just stick with echo.
    663 	    ECHO=echo
    664 	  fi
    665         fi
    666       fi
    667     fi
    668   fi
    669 fi
    670 
    671 # Copy echo and quote the copy suitably for passing to libtool from
    672 # the Makefile, instead of quoting the original, which is used later.
    673 lt_ECHO=$ECHO
    674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    676 fi
    677 
    678 
    679 
    680 
    681 test -n "$DJDIR" || exec 7<&0 </dev/null
    682 exec 6>&1
    683 
    684 # Name of the host.
    685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    686 # so uname gets run too.
    687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    688 
    689 #
    690 # Initializations.
    691 #
    692 ac_default_prefix=/usr/local
    693 ac_clean_files=
    694 ac_config_libobj_dir=.
    695 LIBOBJS=
    696 cross_compiling=no
    697 subdirs=
    698 MFLAGS=
    699 MAKEFLAGS=
    700 
    701 # Identity of this package.
    702 PACKAGE_NAME='libpng'
    703 PACKAGE_TARNAME='libpng'
    704 PACKAGE_VERSION='1.2.46'
    705 PACKAGE_STRING='libpng 1.2.46'
    706 PACKAGE_BUGREPORT='png-mng-implement (at] lists.sourceforge.net'
    707 PACKAGE_URL=''
    708 
    709 ac_unique_file="pngget.c"
    710 # Factoring default headers for most tests.
    711 ac_includes_default="\
    712 #include <stdio.h>
    713 #ifdef HAVE_SYS_TYPES_H
    714 # include <sys/types.h>
    715 #endif
    716 #ifdef HAVE_SYS_STAT_H
    717 # include <sys/stat.h>
    718 #endif
    719 #ifdef STDC_HEADERS
    720 # include <stdlib.h>
    721 # include <stddef.h>
    722 #else
    723 # ifdef HAVE_STDLIB_H
    724 #  include <stdlib.h>
    725 # endif
    726 #endif
    727 #ifdef HAVE_STRING_H
    728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    729 #  include <memory.h>
    730 # endif
    731 # include <string.h>
    732 #endif
    733 #ifdef HAVE_STRINGS_H
    734 # include <strings.h>
    735 #endif
    736 #ifdef HAVE_INTTYPES_H
    737 # include <inttypes.h>
    738 #endif
    739 #ifdef HAVE_STDINT_H
    740 # include <stdint.h>
    741 #endif
    742 #ifdef HAVE_UNISTD_H
    743 # include <unistd.h>
    744 #endif"
    745 
    746 ac_subst_vars='am__EXEEXT_FALSE
    747 am__EXEEXT_TRUE
    748 LTLIBOBJS
    749 compatlib
    750 binconfigs
    751 pkgconfigdir
    752 PNGLIB_RELEASE
    753 PNGLIB_MINOR
    754 PNGLIB_MAJOR
    755 PNGLIB_VERSION
    756 SYMBOL_PREFIX
    757 HAVE_LD_VERSION_SCRIPT_FALSE
    758 HAVE_LD_VERSION_SCRIPT_TRUE
    759 LIBPNG_NO_MMX
    760 LIBPNG_DEFINES
    761 LIBOBJS
    762 POW_LIB
    763 OTOOL64
    764 OTOOL
    765 LIPO
    766 NMEDIT
    767 DSYMUTIL
    768 lt_ECHO
    769 RANLIB
    770 AR
    771 NM
    772 ac_ct_DUMPBIN
    773 DUMPBIN
    774 LIBTOOL
    775 LN_S
    776 OBJDUMP
    777 DLLTOOL
    778 AS
    779 CPP
    780 LD
    781 FGREP
    782 EGREP
    783 GREP
    784 SED
    785 host_os
    786 host_vendor
    787 host_cpu
    788 host
    789 build_os
    790 build_vendor
    791 build_cpu
    792 build
    793 am__fastdepCC_FALSE
    794 am__fastdepCC_TRUE
    795 CCDEPMODE
    796 AMDEPBACKSLASH
    797 AMDEP_FALSE
    798 AMDEP_TRUE
    799 am__quote
    800 am__include
    801 DEPDIR
    802 OBJEXT
    803 EXEEXT
    804 ac_ct_CC
    805 CPPFLAGS
    806 LDFLAGS
    807 CFLAGS
    808 CC
    809 MAINT
    810 MAINTAINER_MODE_FALSE
    811 MAINTAINER_MODE_TRUE
    812 am__untar
    813 am__tar
    814 AMTAR
    815 am__leading_dot
    816 SET_MAKE
    817 AWK
    818 mkdir_p
    819 MKDIR_P
    820 INSTALL_STRIP_PROGRAM
    821 STRIP
    822 install_sh
    823 MAKEINFO
    824 AUTOHEADER
    825 AUTOMAKE
    826 AUTOCONF
    827 ACLOCAL
    828 VERSION
    829 PACKAGE
    830 CYGPATH_W
    831 am__isrc
    832 INSTALL_DATA
    833 INSTALL_SCRIPT
    834 INSTALL_PROGRAM
    835 target_alias
    836 host_alias
    837 build_alias
    838 LIBS
    839 ECHO_T
    840 ECHO_N
    841 ECHO_C
    842 DEFS
    843 mandir
    844 localedir
    845 libdir
    846 psdir
    847 pdfdir
    848 dvidir
    849 htmldir
    850 infodir
    851 docdir
    852 oldincludedir
    853 includedir
    854 localstatedir
    855 sharedstatedir
    856 sysconfdir
    857 datadir
    858 datarootdir
    859 libexecdir
    860 sbindir
    861 bindir
    862 program_transform_name
    863 prefix
    864 exec_prefix
    865 PACKAGE_URL
    866 PACKAGE_BUGREPORT
    867 PACKAGE_STRING
    868 PACKAGE_VERSION
    869 PACKAGE_TARNAME
    870 PACKAGE_NAME
    871 PATH_SEPARATOR
    872 SHELL'
    873 ac_subst_files=''
    874 ac_user_opts='
    875 enable_option_checking
    876 enable_maintainer_mode
    877 enable_dependency_tracking
    878 with_gnu_ld
    879 enable_shared
    880 enable_static
    881 with_pic
    882 enable_fast_install
    883 enable_libtool_lock
    884 with_pkgconfigdir
    885 with_binconfigs
    886 with_libpng_compat
    887 '
    888       ac_precious_vars='build_alias
    889 host_alias
    890 target_alias
    891 CC
    892 CFLAGS
    893 LDFLAGS
    894 LIBS
    895 CPPFLAGS
    896 CPP'
    897 
    898 
    899 # Initialize some variables set by options.
    900 ac_init_help=
    901 ac_init_version=false
    902 ac_unrecognized_opts=
    903 ac_unrecognized_sep=
    904 # The variables have the same names as the options, with
    905 # dashes changed to underlines.
    906 cache_file=/dev/null
    907 exec_prefix=NONE
    908 no_create=
    909 no_recursion=
    910 prefix=NONE
    911 program_prefix=NONE
    912 program_suffix=NONE
    913 program_transform_name=s,x,x,
    914 silent=
    915 site=
    916 srcdir=
    917 verbose=
    918 x_includes=NONE
    919 x_libraries=NONE
    920 
    921 # Installation directory options.
    922 # These are left unexpanded so users can "make install exec_prefix=/foo"
    923 # and all the variables that are supposed to be based on exec_prefix
    924 # by default will actually change.
    925 # Use braces instead of parens because sh, perl, etc. also accept them.
    926 # (The list follows the same order as the GNU Coding Standards.)
    927 bindir='${exec_prefix}/bin'
    928 sbindir='${exec_prefix}/sbin'
    929 libexecdir='${exec_prefix}/libexec'
    930 datarootdir='${prefix}/share'
    931 datadir='${datarootdir}'
    932 sysconfdir='${prefix}/etc'
    933 sharedstatedir='${prefix}/com'
    934 localstatedir='${prefix}/var'
    935 includedir='${prefix}/include'
    936 oldincludedir='/usr/include'
    937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    938 infodir='${datarootdir}/info'
    939 htmldir='${docdir}'
    940 dvidir='${docdir}'
    941 pdfdir='${docdir}'
    942 psdir='${docdir}'
    943 libdir='${exec_prefix}/lib'
    944 localedir='${datarootdir}/locale'
    945 mandir='${datarootdir}/man'
    946 
    947 ac_prev=
    948 ac_dashdash=
    949 for ac_option
    950 do
    951   # If the previous option needs an argument, assign it.
    952   if test -n "$ac_prev"; then
    953     eval $ac_prev=\$ac_option
    954     ac_prev=
    955     continue
    956   fi
    957 
    958   case $ac_option in
    959   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    960   *)	ac_optarg=yes ;;
    961   esac
    962 
    963   # Accept the important Cygnus configure options, so we can diagnose typos.
    964 
    965   case $ac_dashdash$ac_option in
    966   --)
    967     ac_dashdash=yes ;;
    968 
    969   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    970     ac_prev=bindir ;;
    971   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    972     bindir=$ac_optarg ;;
    973 
    974   -build | --build | --buil | --bui | --bu)
    975     ac_prev=build_alias ;;
    976   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    977     build_alias=$ac_optarg ;;
    978 
    979   -cache-file | --cache-file | --cache-fil | --cache-fi \
    980   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    981     ac_prev=cache_file ;;
    982   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    983   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    984     cache_file=$ac_optarg ;;
    985 
    986   --config-cache | -C)
    987     cache_file=config.cache ;;
    988 
    989   -datadir | --datadir | --datadi | --datad)
    990     ac_prev=datadir ;;
    991   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    992     datadir=$ac_optarg ;;
    993 
    994   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    995   | --dataroo | --dataro | --datar)
    996     ac_prev=datarootdir ;;
    997   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    998   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    999     datarootdir=$ac_optarg ;;
   1000 
   1001   -disable-* | --disable-*)
   1002     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1003     # Reject names that are not valid shell variable names.
   1004     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1005       as_fn_error "invalid feature name: $ac_useropt"
   1006     ac_useropt_orig=$ac_useropt
   1007     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1008     case $ac_user_opts in
   1009       *"
   1010 "enable_$ac_useropt"
   1011 "*) ;;
   1012       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1013 	 ac_unrecognized_sep=', ';;
   1014     esac
   1015     eval enable_$ac_useropt=no ;;
   1016 
   1017   -docdir | --docdir | --docdi | --doc | --do)
   1018     ac_prev=docdir ;;
   1019   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1020     docdir=$ac_optarg ;;
   1021 
   1022   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1023     ac_prev=dvidir ;;
   1024   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1025     dvidir=$ac_optarg ;;
   1026 
   1027   -enable-* | --enable-*)
   1028     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1029     # Reject names that are not valid shell variable names.
   1030     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1031       as_fn_error "invalid feature name: $ac_useropt"
   1032     ac_useropt_orig=$ac_useropt
   1033     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1034     case $ac_user_opts in
   1035       *"
   1036 "enable_$ac_useropt"
   1037 "*) ;;
   1038       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1039 	 ac_unrecognized_sep=', ';;
   1040     esac
   1041     eval enable_$ac_useropt=\$ac_optarg ;;
   1042 
   1043   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1044   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1045   | --exec | --exe | --ex)
   1046     ac_prev=exec_prefix ;;
   1047   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1048   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1049   | --exec=* | --exe=* | --ex=*)
   1050     exec_prefix=$ac_optarg ;;
   1051 
   1052   -gas | --gas | --ga | --g)
   1053     # Obsolete; use --with-gas.
   1054     with_gas=yes ;;
   1055 
   1056   -help | --help | --hel | --he | -h)
   1057     ac_init_help=long ;;
   1058   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1059     ac_init_help=recursive ;;
   1060   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1061     ac_init_help=short ;;
   1062 
   1063   -host | --host | --hos | --ho)
   1064     ac_prev=host_alias ;;
   1065   -host=* | --host=* | --hos=* | --ho=*)
   1066     host_alias=$ac_optarg ;;
   1067 
   1068   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1069     ac_prev=htmldir ;;
   1070   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1071   | --ht=*)
   1072     htmldir=$ac_optarg ;;
   1073 
   1074   -includedir | --includedir | --includedi | --included | --include \
   1075   | --includ | --inclu | --incl | --inc)
   1076     ac_prev=includedir ;;
   1077   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1078   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1079     includedir=$ac_optarg ;;
   1080 
   1081   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1082     ac_prev=infodir ;;
   1083   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1084     infodir=$ac_optarg ;;
   1085 
   1086   -libdir | --libdir | --libdi | --libd)
   1087     ac_prev=libdir ;;
   1088   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1089     libdir=$ac_optarg ;;
   1090 
   1091   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1092   | --libexe | --libex | --libe)
   1093     ac_prev=libexecdir ;;
   1094   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1095   | --libexe=* | --libex=* | --libe=*)
   1096     libexecdir=$ac_optarg ;;
   1097 
   1098   -localedir | --localedir | --localedi | --localed | --locale)
   1099     ac_prev=localedir ;;
   1100   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1101     localedir=$ac_optarg ;;
   1102 
   1103   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1104   | --localstate | --localstat | --localsta | --localst | --locals)
   1105     ac_prev=localstatedir ;;
   1106   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1107   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1108     localstatedir=$ac_optarg ;;
   1109 
   1110   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1111     ac_prev=mandir ;;
   1112   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1113     mandir=$ac_optarg ;;
   1114 
   1115   -nfp | --nfp | --nf)
   1116     # Obsolete; use --without-fp.
   1117     with_fp=no ;;
   1118 
   1119   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1120   | --no-cr | --no-c | -n)
   1121     no_create=yes ;;
   1122 
   1123   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1124   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1125     no_recursion=yes ;;
   1126 
   1127   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1128   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1129   | --oldin | --oldi | --old | --ol | --o)
   1130     ac_prev=oldincludedir ;;
   1131   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1132   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1133   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1134     oldincludedir=$ac_optarg ;;
   1135 
   1136   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1137     ac_prev=prefix ;;
   1138   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1139     prefix=$ac_optarg ;;
   1140 
   1141   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1142   | --program-pre | --program-pr | --program-p)
   1143     ac_prev=program_prefix ;;
   1144   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1145   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1146     program_prefix=$ac_optarg ;;
   1147 
   1148   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1149   | --program-suf | --program-su | --program-s)
   1150     ac_prev=program_suffix ;;
   1151   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1152   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1153     program_suffix=$ac_optarg ;;
   1154 
   1155   -program-transform-name | --program-transform-name \
   1156   | --program-transform-nam | --program-transform-na \
   1157   | --program-transform-n | --program-transform- \
   1158   | --program-transform | --program-transfor \
   1159   | --program-transfo | --program-transf \
   1160   | --program-trans | --program-tran \
   1161   | --progr-tra | --program-tr | --program-t)
   1162     ac_prev=program_transform_name ;;
   1163   -program-transform-name=* | --program-transform-name=* \
   1164   | --program-transform-nam=* | --program-transform-na=* \
   1165   | --program-transform-n=* | --program-transform-=* \
   1166   | --program-transform=* | --program-transfor=* \
   1167   | --program-transfo=* | --program-transf=* \
   1168   | --program-trans=* | --program-tran=* \
   1169   | --progr-tra=* | --program-tr=* | --program-t=*)
   1170     program_transform_name=$ac_optarg ;;
   1171 
   1172   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1173     ac_prev=pdfdir ;;
   1174   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1175     pdfdir=$ac_optarg ;;
   1176 
   1177   -psdir | --psdir | --psdi | --psd | --ps)
   1178     ac_prev=psdir ;;
   1179   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1180     psdir=$ac_optarg ;;
   1181 
   1182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1183   | -silent | --silent | --silen | --sile | --sil)
   1184     silent=yes ;;
   1185 
   1186   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1187     ac_prev=sbindir ;;
   1188   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1189   | --sbi=* | --sb=*)
   1190     sbindir=$ac_optarg ;;
   1191 
   1192   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1193   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1194   | --sharedst | --shareds | --shared | --share | --shar \
   1195   | --sha | --sh)
   1196     ac_prev=sharedstatedir ;;
   1197   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1198   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1199   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1200   | --sha=* | --sh=*)
   1201     sharedstatedir=$ac_optarg ;;
   1202 
   1203   -site | --site | --sit)
   1204     ac_prev=site ;;
   1205   -site=* | --site=* | --sit=*)
   1206     site=$ac_optarg ;;
   1207 
   1208   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1209     ac_prev=srcdir ;;
   1210   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1211     srcdir=$ac_optarg ;;
   1212 
   1213   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1214   | --syscon | --sysco | --sysc | --sys | --sy)
   1215     ac_prev=sysconfdir ;;
   1216   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1217   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1218     sysconfdir=$ac_optarg ;;
   1219 
   1220   -target | --target | --targe | --targ | --tar | --ta | --t)
   1221     ac_prev=target_alias ;;
   1222   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1223     target_alias=$ac_optarg ;;
   1224 
   1225   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1226     verbose=yes ;;
   1227 
   1228   -version | --version | --versio | --versi | --vers | -V)
   1229     ac_init_version=: ;;
   1230 
   1231   -with-* | --with-*)
   1232     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1235       as_fn_error "invalid package name: $ac_useropt"
   1236     ac_useropt_orig=$ac_useropt
   1237     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1238     case $ac_user_opts in
   1239       *"
   1240 "with_$ac_useropt"
   1241 "*) ;;
   1242       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1243 	 ac_unrecognized_sep=', ';;
   1244     esac
   1245     eval with_$ac_useropt=\$ac_optarg ;;
   1246 
   1247   -without-* | --without-*)
   1248     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1249     # Reject names that are not valid shell variable names.
   1250     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1251       as_fn_error "invalid package name: $ac_useropt"
   1252     ac_useropt_orig=$ac_useropt
   1253     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1254     case $ac_user_opts in
   1255       *"
   1256 "with_$ac_useropt"
   1257 "*) ;;
   1258       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1259 	 ac_unrecognized_sep=', ';;
   1260     esac
   1261     eval with_$ac_useropt=no ;;
   1262 
   1263   --x)
   1264     # Obsolete; use --with-x.
   1265     with_x=yes ;;
   1266 
   1267   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1268   | --x-incl | --x-inc | --x-in | --x-i)
   1269     ac_prev=x_includes ;;
   1270   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1271   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1272     x_includes=$ac_optarg ;;
   1273 
   1274   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1275   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1276     ac_prev=x_libraries ;;
   1277   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1278   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1279     x_libraries=$ac_optarg ;;
   1280 
   1281   -*) as_fn_error "unrecognized option: \`$ac_option'
   1282 Try \`$0 --help' for more information."
   1283     ;;
   1284 
   1285   *=*)
   1286     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1287     # Reject names that are not valid shell variable names.
   1288     case $ac_envvar in #(
   1289       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1290       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1291     esac
   1292     eval $ac_envvar=\$ac_optarg
   1293     export $ac_envvar ;;
   1294 
   1295   *)
   1296     # FIXME: should be removed in autoconf 3.0.
   1297     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1298     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1299       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1300     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1301     ;;
   1302 
   1303   esac
   1304 done
   1305 
   1306 if test -n "$ac_prev"; then
   1307   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1308   as_fn_error "missing argument to $ac_option"
   1309 fi
   1310 
   1311 if test -n "$ac_unrecognized_opts"; then
   1312   case $enable_option_checking in
   1313     no) ;;
   1314     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1315     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1316   esac
   1317 fi
   1318 
   1319 # Check all directory arguments for consistency.
   1320 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1321 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1322 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1323 		libdir localedir mandir
   1324 do
   1325   eval ac_val=\$$ac_var
   1326   # Remove trailing slashes.
   1327   case $ac_val in
   1328     */ )
   1329       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1330       eval $ac_var=\$ac_val;;
   1331   esac
   1332   # Be sure to have absolute directory names.
   1333   case $ac_val in
   1334     [\\/$]* | ?:[\\/]* )  continue;;
   1335     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1336   esac
   1337   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1338 done
   1339 
   1340 # There might be people who depend on the old broken behavior: `$host'
   1341 # used to hold the argument of --host etc.
   1342 # FIXME: To remove some day.
   1343 build=$build_alias
   1344 host=$host_alias
   1345 target=$target_alias
   1346 
   1347 # FIXME: To remove some day.
   1348 if test "x$host_alias" != x; then
   1349   if test "x$build_alias" = x; then
   1350     cross_compiling=maybe
   1351     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1352     If a cross compiler is detected then cross compile mode will be used." >&2
   1353   elif test "x$build_alias" != "x$host_alias"; then
   1354     cross_compiling=yes
   1355   fi
   1356 fi
   1357 
   1358 ac_tool_prefix=
   1359 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1360 
   1361 test "$silent" = yes && exec 6>/dev/null
   1362 
   1363 
   1364 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1365 ac_ls_di=`ls -di .` &&
   1366 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1367   as_fn_error "working directory cannot be determined"
   1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1369   as_fn_error "pwd does not report name of working directory"
   1370 
   1371 
   1372 # Find the source files, if location was not specified.
   1373 if test -z "$srcdir"; then
   1374   ac_srcdir_defaulted=yes
   1375   # Try the directory containing this script, then the parent directory.
   1376   ac_confdir=`$as_dirname -- "$as_myself" ||
   1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1378 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1379 	 X"$as_myself" : 'X\(//\)$' \| \
   1380 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1381 $as_echo X"$as_myself" |
   1382     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1383 	    s//\1/
   1384 	    q
   1385 	  }
   1386 	  /^X\(\/\/\)[^/].*/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)$/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\).*/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  s/.*/./; q'`
   1399   srcdir=$ac_confdir
   1400   if test ! -r "$srcdir/$ac_unique_file"; then
   1401     srcdir=..
   1402   fi
   1403 else
   1404   ac_srcdir_defaulted=no
   1405 fi
   1406 if test ! -r "$srcdir/$ac_unique_file"; then
   1407   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1408   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1409 fi
   1410 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1411 ac_abs_confdir=`(
   1412 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1413 	pwd)`
   1414 # When building in place, set srcdir=.
   1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1416   srcdir=.
   1417 fi
   1418 # Remove unnecessary trailing slashes from srcdir.
   1419 # Double slashes in file names in object file debugging info
   1420 # mess up M-x gdb in Emacs.
   1421 case $srcdir in
   1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1423 esac
   1424 for ac_var in $ac_precious_vars; do
   1425   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1426   eval ac_env_${ac_var}_value=\$${ac_var}
   1427   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1428   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1429 done
   1430 
   1431 #
   1432 # Report the --help message.
   1433 #
   1434 if test "$ac_init_help" = "long"; then
   1435   # Omit some internal or obsolete options to make the list less imposing.
   1436   # This message is too long to be a string in the A/UX 3.1 sh.
   1437   cat <<_ACEOF
   1438 \`configure' configures libpng 1.2.46 to adapt to many kinds of systems.
   1439 
   1440 Usage: $0 [OPTION]... [VAR=VALUE]...
   1441 
   1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1443 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1444 
   1445 Defaults for the options are specified in brackets.
   1446 
   1447 Configuration:
   1448   -h, --help              display this help and exit
   1449       --help=short        display options specific to this package
   1450       --help=recursive    display the short help of all the included packages
   1451   -V, --version           display version information and exit
   1452   -q, --quiet, --silent   do not print \`checking...' messages
   1453       --cache-file=FILE   cache test results in FILE [disabled]
   1454   -C, --config-cache      alias for \`--cache-file=config.cache'
   1455   -n, --no-create         do not create output files
   1456       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1457 
   1458 Installation directories:
   1459   --prefix=PREFIX         install architecture-independent files in PREFIX
   1460                           [$ac_default_prefix]
   1461   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1462                           [PREFIX]
   1463 
   1464 By default, \`make install' will install all the files in
   1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1467 for instance \`--prefix=\$HOME'.
   1468 
   1469 For better control, use the options below.
   1470 
   1471 Fine tuning of the installation directories:
   1472   --bindir=DIR            user executables [EPREFIX/bin]
   1473   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1474   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1475   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1476   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1477   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1478   --libdir=DIR            object code libraries [EPREFIX/lib]
   1479   --includedir=DIR        C header files [PREFIX/include]
   1480   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1481   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1482   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1483   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1484   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1485   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1486   --docdir=DIR            documentation root [DATAROOTDIR/doc/libpng]
   1487   --htmldir=DIR           html documentation [DOCDIR]
   1488   --dvidir=DIR            dvi documentation [DOCDIR]
   1489   --pdfdir=DIR            pdf documentation [DOCDIR]
   1490   --psdir=DIR             ps documentation [DOCDIR]
   1491 _ACEOF
   1492 
   1493   cat <<\_ACEOF
   1494 
   1495 Program names:
   1496   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1497   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1498   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1499 
   1500 System types:
   1501   --build=BUILD     configure for building on BUILD [guessed]
   1502   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1503 _ACEOF
   1504 fi
   1505 
   1506 if test -n "$ac_init_help"; then
   1507   case $ac_init_help in
   1508      short | recursive ) echo "Configuration of libpng 1.2.46:";;
   1509    esac
   1510   cat <<\_ACEOF
   1511 
   1512 Optional Features:
   1513   --disable-option-checking  ignore unrecognized --enable/--with options
   1514   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1515   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1516   --enable-maintainer-mode  enable make rules and dependencies not useful
   1517 			  (and sometimes confusing) to the casual installer
   1518   --disable-dependency-tracking  speeds up one-time build
   1519   --enable-dependency-tracking   do not reject slow dependency extractors
   1520   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1521   --enable-static[=PKGS]  build static libraries [default=yes]
   1522   --enable-fast-install[=PKGS]
   1523                           optimize for fast installation [default=yes]
   1524   --disable-libtool-lock  avoid locking (might break parallel builds)
   1525 
   1526 Optional Packages:
   1527   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1528   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1529   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1530   --with-pic              try to use only PIC/non-PIC objects [default=use
   1531                           both]
   1532   --with-pkgconfigdir     Use the specified pkgconfig dir (default is
   1533                           libdir/pkgconfig)
   1534   --with-binconfigs       Generate shell libpng-config scripts as well as
   1535                           pkg-config data [default=yes]
   1536   --with-libpng-compat    Generate the obsolete libpng.so library
   1537                           [default=yes]
   1538 
   1539 Some influential environment variables:
   1540   CC          C compiler command
   1541   CFLAGS      C compiler flags
   1542   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1543               nonstandard directory <lib dir>
   1544   LIBS        libraries to pass to the linker, e.g. -l<library>
   1545   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1546               you have headers in a nonstandard directory <include dir>
   1547   CPP         C preprocessor
   1548 
   1549 Use these variables to override the choices made by `configure' or to help
   1550 it to find libraries and programs with nonstandard names/locations.
   1551 
   1552 Report bugs to <png-mng-implement@lists.sourceforge.net>.
   1553 _ACEOF
   1554 ac_status=$?
   1555 fi
   1556 
   1557 if test "$ac_init_help" = "recursive"; then
   1558   # If there are subdirs, report their specific --help.
   1559   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1560     test -d "$ac_dir" ||
   1561       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1562       continue
   1563     ac_builddir=.
   1564 
   1565 case "$ac_dir" in
   1566 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1567 *)
   1568   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1569   # A ".." for each directory in $ac_dir_suffix.
   1570   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1571   case $ac_top_builddir_sub in
   1572   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1573   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1574   esac ;;
   1575 esac
   1576 ac_abs_top_builddir=$ac_pwd
   1577 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1578 # for backward compatibility:
   1579 ac_top_builddir=$ac_top_build_prefix
   1580 
   1581 case $srcdir in
   1582   .)  # We are building in place.
   1583     ac_srcdir=.
   1584     ac_top_srcdir=$ac_top_builddir_sub
   1585     ac_abs_top_srcdir=$ac_pwd ;;
   1586   [\\/]* | ?:[\\/]* )  # Absolute name.
   1587     ac_srcdir=$srcdir$ac_dir_suffix;
   1588     ac_top_srcdir=$srcdir
   1589     ac_abs_top_srcdir=$srcdir ;;
   1590   *) # Relative name.
   1591     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1592     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1593     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1594 esac
   1595 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1596 
   1597     cd "$ac_dir" || { ac_status=$?; continue; }
   1598     # Check for guested configure.
   1599     if test -f "$ac_srcdir/configure.gnu"; then
   1600       echo &&
   1601       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1602     elif test -f "$ac_srcdir/configure"; then
   1603       echo &&
   1604       $SHELL "$ac_srcdir/configure" --help=recursive
   1605     else
   1606       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1607     fi || ac_status=$?
   1608     cd "$ac_pwd" || { ac_status=$?; break; }
   1609   done
   1610 fi
   1611 
   1612 test -n "$ac_init_help" && exit $ac_status
   1613 if $ac_init_version; then
   1614   cat <<\_ACEOF
   1615 libpng configure 1.2.46
   1616 generated by GNU Autoconf 2.65
   1617 
   1618 Copyright (C) 2009 Free Software Foundation, Inc.
   1619 This configure script is free software; the Free Software Foundation
   1620 gives unlimited permission to copy, distribute and modify it.
   1621 _ACEOF
   1622   exit
   1623 fi
   1624 
   1625 ## ------------------------ ##
   1626 ## Autoconf initialization. ##
   1627 ## ------------------------ ##
   1628 
   1629 # ac_fn_c_try_compile LINENO
   1630 # --------------------------
   1631 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1632 ac_fn_c_try_compile ()
   1633 {
   1634   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1635   rm -f conftest.$ac_objext
   1636   if { { ac_try="$ac_compile"
   1637 case "(($ac_try" in
   1638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1639   *) ac_try_echo=$ac_try;;
   1640 esac
   1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1642 $as_echo "$ac_try_echo"; } >&5
   1643   (eval "$ac_compile") 2>conftest.err
   1644   ac_status=$?
   1645   if test -s conftest.err; then
   1646     grep -v '^ *+' conftest.err >conftest.er1
   1647     cat conftest.er1 >&5
   1648     mv -f conftest.er1 conftest.err
   1649   fi
   1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1651   test $ac_status = 0; } && {
   1652 	 test -z "$ac_c_werror_flag" ||
   1653 	 test ! -s conftest.err
   1654        } && test -s conftest.$ac_objext; then :
   1655   ac_retval=0
   1656 else
   1657   $as_echo "$as_me: failed program was:" >&5
   1658 sed 's/^/| /' conftest.$ac_ext >&5
   1659 
   1660 	ac_retval=1
   1661 fi
   1662   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1663   as_fn_set_status $ac_retval
   1664 
   1665 } # ac_fn_c_try_compile
   1666 
   1667 # ac_fn_c_try_cpp LINENO
   1668 # ----------------------
   1669 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1670 ac_fn_c_try_cpp ()
   1671 {
   1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1673   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } >/dev/null && {
   1689 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        }; then :
   1692   ac_retval=0
   1693 else
   1694   $as_echo "$as_me: failed program was:" >&5
   1695 sed 's/^/| /' conftest.$ac_ext >&5
   1696 
   1697     ac_retval=1
   1698 fi
   1699   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1700   as_fn_set_status $ac_retval
   1701 
   1702 } # ac_fn_c_try_cpp
   1703 
   1704 # ac_fn_c_try_link LINENO
   1705 # -----------------------
   1706 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1707 ac_fn_c_try_link ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   rm -f conftest.$ac_objext conftest$ac_exeext
   1711   if { { ac_try="$ac_link"
   1712 case "(($ac_try" in
   1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1714   *) ac_try_echo=$ac_try;;
   1715 esac
   1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1717 $as_echo "$ac_try_echo"; } >&5
   1718   (eval "$ac_link") 2>conftest.err
   1719   ac_status=$?
   1720   if test -s conftest.err; then
   1721     grep -v '^ *+' conftest.err >conftest.er1
   1722     cat conftest.er1 >&5
   1723     mv -f conftest.er1 conftest.err
   1724   fi
   1725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1726   test $ac_status = 0; } && {
   1727 	 test -z "$ac_c_werror_flag" ||
   1728 	 test ! -s conftest.err
   1729        } && test -s conftest$ac_exeext && {
   1730 	 test "$cross_compiling" = yes ||
   1731 	 $as_test_x conftest$ac_exeext
   1732        }; then :
   1733   ac_retval=0
   1734 else
   1735   $as_echo "$as_me: failed program was:" >&5
   1736 sed 's/^/| /' conftest.$ac_ext >&5
   1737 
   1738 	ac_retval=1
   1739 fi
   1740   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1741   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1742   # interfere with the next link command; also delete a directory that is
   1743   # left behind by Apple's compiler.  We do this before executing the actions.
   1744   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1745   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1746   as_fn_set_status $ac_retval
   1747 
   1748 } # ac_fn_c_try_link
   1749 
   1750 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1751 # -------------------------------------------------------
   1752 # Tests whether HEADER exists and can be compiled using the include files in
   1753 # INCLUDES, setting the cache variable VAR accordingly.
   1754 ac_fn_c_check_header_compile ()
   1755 {
   1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1758 $as_echo_n "checking for $2... " >&6; }
   1759 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1760   $as_echo_n "(cached) " >&6
   1761 else
   1762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 $4
   1765 #include <$2>
   1766 _ACEOF
   1767 if ac_fn_c_try_compile "$LINENO"; then :
   1768   eval "$3=yes"
   1769 else
   1770   eval "$3=no"
   1771 fi
   1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1773 fi
   1774 eval ac_res=\$$3
   1775 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1776 $as_echo "$ac_res" >&6; }
   1777   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1778 
   1779 } # ac_fn_c_check_header_compile
   1780 
   1781 # ac_fn_c_try_run LINENO
   1782 # ----------------------
   1783 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1784 # that executables *can* be run.
   1785 ac_fn_c_try_run ()
   1786 {
   1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1788   if { { ac_try="$ac_link"
   1789 case "(($ac_try" in
   1790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1791   *) ac_try_echo=$ac_try;;
   1792 esac
   1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1794 $as_echo "$ac_try_echo"; } >&5
   1795   (eval "$ac_link") 2>&5
   1796   ac_status=$?
   1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1798   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1799   { { case "(($ac_try" in
   1800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1801   *) ac_try_echo=$ac_try;;
   1802 esac
   1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1804 $as_echo "$ac_try_echo"; } >&5
   1805   (eval "$ac_try") 2>&5
   1806   ac_status=$?
   1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1808   test $ac_status = 0; }; }; then :
   1809   ac_retval=0
   1810 else
   1811   $as_echo "$as_me: program exited with status $ac_status" >&5
   1812        $as_echo "$as_me: failed program was:" >&5
   1813 sed 's/^/| /' conftest.$ac_ext >&5
   1814 
   1815        ac_retval=$ac_status
   1816 fi
   1817   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1818   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1819   as_fn_set_status $ac_retval
   1820 
   1821 } # ac_fn_c_try_run
   1822 
   1823 # ac_fn_c_check_func LINENO FUNC VAR
   1824 # ----------------------------------
   1825 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1826 ac_fn_c_check_func ()
   1827 {
   1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1830 $as_echo_n "checking for $2... " >&6; }
   1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1832   $as_echo_n "(cached) " >&6
   1833 else
   1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1835 /* end confdefs.h.  */
   1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1838 #define $2 innocuous_$2
   1839 
   1840 /* System header to define __stub macros and hopefully few prototypes,
   1841     which can conflict with char $2 (); below.
   1842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1843     <limits.h> exists even on freestanding compilers.  */
   1844 
   1845 #ifdef __STDC__
   1846 # include <limits.h>
   1847 #else
   1848 # include <assert.h>
   1849 #endif
   1850 
   1851 #undef $2
   1852 
   1853 /* Override any GCC internal prototype to avoid an error.
   1854    Use char because int might match the return type of a GCC
   1855    builtin and then its argument prototype would still apply.  */
   1856 #ifdef __cplusplus
   1857 extern "C"
   1858 #endif
   1859 char $2 ();
   1860 /* The GNU C library defines this for functions which it implements
   1861     to always fail with ENOSYS.  Some functions are actually named
   1862     something starting with __ and the normal name is an alias.  */
   1863 #if defined __stub_$2 || defined __stub___$2
   1864 choke me
   1865 #endif
   1866 
   1867 int
   1868 main ()
   1869 {
   1870 return $2 ();
   1871   ;
   1872   return 0;
   1873 }
   1874 _ACEOF
   1875 if ac_fn_c_try_link "$LINENO"; then :
   1876   eval "$3=yes"
   1877 else
   1878   eval "$3=no"
   1879 fi
   1880 rm -f core conftest.err conftest.$ac_objext \
   1881     conftest$ac_exeext conftest.$ac_ext
   1882 fi
   1883 eval ac_res=\$$3
   1884 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1885 $as_echo "$ac_res" >&6; }
   1886   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1887 
   1888 } # ac_fn_c_check_func
   1889 
   1890 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1891 # -------------------------------------------------------
   1892 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1893 # the include files in INCLUDES and setting the cache variable VAR
   1894 # accordingly.
   1895 ac_fn_c_check_header_mongrel ()
   1896 {
   1897   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1898   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1900 $as_echo_n "checking for $2... " >&6; }
   1901 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1902   $as_echo_n "(cached) " >&6
   1903 fi
   1904 eval ac_res=\$$3
   1905 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1906 $as_echo "$ac_res" >&6; }
   1907 else
   1908   # Is the header compilable?
   1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1910 $as_echo_n "checking $2 usability... " >&6; }
   1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1912 /* end confdefs.h.  */
   1913 $4
   1914 #include <$2>
   1915 _ACEOF
   1916 if ac_fn_c_try_compile "$LINENO"; then :
   1917   ac_header_compiler=yes
   1918 else
   1919   ac_header_compiler=no
   1920 fi
   1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1923 $as_echo "$ac_header_compiler" >&6; }
   1924 
   1925 # Is the header present?
   1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1927 $as_echo_n "checking $2 presence... " >&6; }
   1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1929 /* end confdefs.h.  */
   1930 #include <$2>
   1931 _ACEOF
   1932 if ac_fn_c_try_cpp "$LINENO"; then :
   1933   ac_header_preproc=yes
   1934 else
   1935   ac_header_preproc=no
   1936 fi
   1937 rm -f conftest.err conftest.$ac_ext
   1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1939 $as_echo "$ac_header_preproc" >&6; }
   1940 
   1941 # So?  What about this header?
   1942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1943   yes:no: )
   1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1945 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1948     ;;
   1949   no:yes:* )
   1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1951 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1953 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1955 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1957 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1959 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1960 ( cat <<\_ASBOX
   1961 ## ------------------------------------------------------ ##
   1962 ## Report this to png-mng-implement (at] lists.sourceforge.net ##
   1963 ## ------------------------------------------------------ ##
   1964 _ASBOX
   1965      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1966     ;;
   1967 esac
   1968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1969 $as_echo_n "checking for $2... " >&6; }
   1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1971   $as_echo_n "(cached) " >&6
   1972 else
   1973   eval "$3=\$ac_header_compiler"
   1974 fi
   1975 eval ac_res=\$$3
   1976 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1977 $as_echo "$ac_res" >&6; }
   1978 fi
   1979   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1980 
   1981 } # ac_fn_c_check_header_mongrel
   1982 
   1983 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1984 # -------------------------------------------
   1985 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1986 # variable VAR accordingly.
   1987 ac_fn_c_check_type ()
   1988 {
   1989   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1991 $as_echo_n "checking for $2... " >&6; }
   1992 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1993   $as_echo_n "(cached) " >&6
   1994 else
   1995   eval "$3=no"
   1996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1997 /* end confdefs.h.  */
   1998 $4
   1999 int
   2000 main ()
   2001 {
   2002 if (sizeof ($2))
   2003 	 return 0;
   2004   ;
   2005   return 0;
   2006 }
   2007 _ACEOF
   2008 if ac_fn_c_try_compile "$LINENO"; then :
   2009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2010 /* end confdefs.h.  */
   2011 $4
   2012 int
   2013 main ()
   2014 {
   2015 if (sizeof (($2)))
   2016 	    return 0;
   2017   ;
   2018   return 0;
   2019 }
   2020 _ACEOF
   2021 if ac_fn_c_try_compile "$LINENO"; then :
   2022 
   2023 else
   2024   eval "$3=yes"
   2025 fi
   2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2027 fi
   2028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2029 fi
   2030 eval ac_res=\$$3
   2031 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2032 $as_echo "$ac_res" >&6; }
   2033   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2034 
   2035 } # ac_fn_c_check_type
   2036 cat >config.log <<_ACEOF
   2037 This file contains any messages produced by compilers while
   2038 running configure, to aid debugging if configure makes a mistake.
   2039 
   2040 It was created by libpng $as_me 1.2.46, which was
   2041 generated by GNU Autoconf 2.65.  Invocation command line was
   2042 
   2043   $ $0 $@
   2044 
   2045 _ACEOF
   2046 exec 5>>config.log
   2047 {
   2048 cat <<_ASUNAME
   2049 ## --------- ##
   2050 ## Platform. ##
   2051 ## --------- ##
   2052 
   2053 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2054 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2055 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2056 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2057 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2058 
   2059 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2060 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2061 
   2062 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2063 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2064 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2065 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2066 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2067 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2068 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2069 
   2070 _ASUNAME
   2071 
   2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2073 for as_dir in $PATH
   2074 do
   2075   IFS=$as_save_IFS
   2076   test -z "$as_dir" && as_dir=.
   2077     $as_echo "PATH: $as_dir"
   2078   done
   2079 IFS=$as_save_IFS
   2080 
   2081 } >&5
   2082 
   2083 cat >&5 <<_ACEOF
   2084 
   2085 
   2086 ## ----------- ##
   2087 ## Core tests. ##
   2088 ## ----------- ##
   2089 
   2090 _ACEOF
   2091 
   2092 
   2093 # Keep a trace of the command line.
   2094 # Strip out --no-create and --no-recursion so they do not pile up.
   2095 # Strip out --silent because we don't want to record it for future runs.
   2096 # Also quote any args containing shell meta-characters.
   2097 # Make two passes to allow for proper duplicate-argument suppression.
   2098 ac_configure_args=
   2099 ac_configure_args0=
   2100 ac_configure_args1=
   2101 ac_must_keep_next=false
   2102 for ac_pass in 1 2
   2103 do
   2104   for ac_arg
   2105   do
   2106     case $ac_arg in
   2107     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2108     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2109     | -silent | --silent | --silen | --sile | --sil)
   2110       continue ;;
   2111     *\'*)
   2112       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2113     esac
   2114     case $ac_pass in
   2115     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2116     2)
   2117       as_fn_append ac_configure_args1 " '$ac_arg'"
   2118       if test $ac_must_keep_next = true; then
   2119 	ac_must_keep_next=false # Got value, back to normal.
   2120       else
   2121 	case $ac_arg in
   2122 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2123 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2124 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2125 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2126 	    case "$ac_configure_args0 " in
   2127 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2128 	    esac
   2129 	    ;;
   2130 	  -* ) ac_must_keep_next=true ;;
   2131 	esac
   2132       fi
   2133       as_fn_append ac_configure_args " '$ac_arg'"
   2134       ;;
   2135     esac
   2136   done
   2137 done
   2138 { ac_configure_args0=; unset ac_configure_args0;}
   2139 { ac_configure_args1=; unset ac_configure_args1;}
   2140 
   2141 # When interrupted or exit'd, cleanup temporary files, and complete
   2142 # config.log.  We remove comments because anyway the quotes in there
   2143 # would cause problems or look ugly.
   2144 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2145 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2146 trap 'exit_status=$?
   2147   # Save into config.log some information that might help in debugging.
   2148   {
   2149     echo
   2150 
   2151     cat <<\_ASBOX
   2152 ## ---------------- ##
   2153 ## Cache variables. ##
   2154 ## ---------------- ##
   2155 _ASBOX
   2156     echo
   2157     # The following way of writing the cache mishandles newlines in values,
   2158 (
   2159   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2160     eval ac_val=\$$ac_var
   2161     case $ac_val in #(
   2162     *${as_nl}*)
   2163       case $ac_var in #(
   2164       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2165 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2166       esac
   2167       case $ac_var in #(
   2168       _ | IFS | as_nl) ;; #(
   2169       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2170       *) { eval $ac_var=; unset $ac_var;} ;;
   2171       esac ;;
   2172     esac
   2173   done
   2174   (set) 2>&1 |
   2175     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2176     *${as_nl}ac_space=\ *)
   2177       sed -n \
   2178 	"s/'\''/'\''\\\\'\'''\''/g;
   2179 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2180       ;; #(
   2181     *)
   2182       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2183       ;;
   2184     esac |
   2185     sort
   2186 )
   2187     echo
   2188 
   2189     cat <<\_ASBOX
   2190 ## ----------------- ##
   2191 ## Output variables. ##
   2192 ## ----------------- ##
   2193 _ASBOX
   2194     echo
   2195     for ac_var in $ac_subst_vars
   2196     do
   2197       eval ac_val=\$$ac_var
   2198       case $ac_val in
   2199       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2200       esac
   2201       $as_echo "$ac_var='\''$ac_val'\''"
   2202     done | sort
   2203     echo
   2204 
   2205     if test -n "$ac_subst_files"; then
   2206       cat <<\_ASBOX
   2207 ## ------------------- ##
   2208 ## File substitutions. ##
   2209 ## ------------------- ##
   2210 _ASBOX
   2211       echo
   2212       for ac_var in $ac_subst_files
   2213       do
   2214 	eval ac_val=\$$ac_var
   2215 	case $ac_val in
   2216 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2217 	esac
   2218 	$as_echo "$ac_var='\''$ac_val'\''"
   2219       done | sort
   2220       echo
   2221     fi
   2222 
   2223     if test -s confdefs.h; then
   2224       cat <<\_ASBOX
   2225 ## ----------- ##
   2226 ## confdefs.h. ##
   2227 ## ----------- ##
   2228 _ASBOX
   2229       echo
   2230       cat confdefs.h
   2231       echo
   2232     fi
   2233     test "$ac_signal" != 0 &&
   2234       $as_echo "$as_me: caught signal $ac_signal"
   2235     $as_echo "$as_me: exit $exit_status"
   2236   } >&5
   2237   rm -f core *.core core.conftest.* &&
   2238     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2239     exit $exit_status
   2240 ' 0
   2241 for ac_signal in 1 2 13 15; do
   2242   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2243 done
   2244 ac_signal=0
   2245 
   2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2247 rm -f -r conftest* confdefs.h
   2248 
   2249 $as_echo "/* confdefs.h */" > confdefs.h
   2250 
   2251 # Predefined preprocessor variables.
   2252 
   2253 cat >>confdefs.h <<_ACEOF
   2254 #define PACKAGE_NAME "$PACKAGE_NAME"
   2255 _ACEOF
   2256 
   2257 cat >>confdefs.h <<_ACEOF
   2258 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2259 _ACEOF
   2260 
   2261 cat >>confdefs.h <<_ACEOF
   2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2263 _ACEOF
   2264 
   2265 cat >>confdefs.h <<_ACEOF
   2266 #define PACKAGE_STRING "$PACKAGE_STRING"
   2267 _ACEOF
   2268 
   2269 cat >>confdefs.h <<_ACEOF
   2270 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2271 _ACEOF
   2272 
   2273 cat >>confdefs.h <<_ACEOF
   2274 #define PACKAGE_URL "$PACKAGE_URL"
   2275 _ACEOF
   2276 
   2277 
   2278 # Let the site file select an alternate cache file if it wants to.
   2279 # Prefer an explicitly selected file to automatically selected ones.
   2280 ac_site_file1=NONE
   2281 ac_site_file2=NONE
   2282 if test -n "$CONFIG_SITE"; then
   2283   ac_site_file1=$CONFIG_SITE
   2284 elif test "x$prefix" != xNONE; then
   2285   ac_site_file1=$prefix/share/config.site
   2286   ac_site_file2=$prefix/etc/config.site
   2287 else
   2288   ac_site_file1=$ac_default_prefix/share/config.site
   2289   ac_site_file2=$ac_default_prefix/etc/config.site
   2290 fi
   2291 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2292 do
   2293   test "x$ac_site_file" = xNONE && continue
   2294   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2295     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2296 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2297     sed 's/^/| /' "$ac_site_file" >&5
   2298     . "$ac_site_file"
   2299   fi
   2300 done
   2301 
   2302 if test -r "$cache_file"; then
   2303   # Some versions of bash will fail to source /dev/null (special files
   2304   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2305   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2306     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2307 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2308     case $cache_file in
   2309       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2310       *)                      . "./$cache_file";;
   2311     esac
   2312   fi
   2313 else
   2314   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2315 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2316   >$cache_file
   2317 fi
   2318 
   2319 # Check that the precious variables saved in the cache have kept the same
   2320 # value.
   2321 ac_cache_corrupted=false
   2322 for ac_var in $ac_precious_vars; do
   2323   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2324   eval ac_new_set=\$ac_env_${ac_var}_set
   2325   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2326   eval ac_new_val=\$ac_env_${ac_var}_value
   2327   case $ac_old_set,$ac_new_set in
   2328     set,)
   2329       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2330 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2331       ac_cache_corrupted=: ;;
   2332     ,set)
   2333       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2334 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2335       ac_cache_corrupted=: ;;
   2336     ,);;
   2337     *)
   2338       if test "x$ac_old_val" != "x$ac_new_val"; then
   2339 	# differences in whitespace do not lead to failure.
   2340 	ac_old_val_w=`echo x $ac_old_val`
   2341 	ac_new_val_w=`echo x $ac_new_val`
   2342 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2343 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2344 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2345 	  ac_cache_corrupted=:
   2346 	else
   2347 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2348 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2349 	  eval $ac_var=\$ac_old_val
   2350 	fi
   2351 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2352 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2353 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2354 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2355       fi;;
   2356   esac
   2357   # Pass precious variables to config.status.
   2358   if test "$ac_new_set" = set; then
   2359     case $ac_new_val in
   2360     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2361     *) ac_arg=$ac_var=$ac_new_val ;;
   2362     esac
   2363     case " $ac_configure_args " in
   2364       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2365       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2366     esac
   2367   fi
   2368 done
   2369 if $ac_cache_corrupted; then
   2370   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2372   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2373 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2374   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2375 fi
   2376 ## -------------------- ##
   2377 ## Main body of script. ##
   2378 ## -------------------- ##
   2379 
   2380 ac_ext=c
   2381 ac_cpp='$CPP $CPPFLAGS'
   2382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2385 
   2386 
   2387 am__api_version='1.11'
   2388 
   2389 ac_aux_dir=
   2390 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2391   for ac_t in install-sh install.sh shtool; do
   2392     if test -f "$ac_dir/$ac_t"; then
   2393       ac_aux_dir=$ac_dir
   2394       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2395       break 2
   2396     fi
   2397   done
   2398 done
   2399 if test -z "$ac_aux_dir"; then
   2400   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2401 fi
   2402 
   2403 # These three variables are undocumented and unsupported,
   2404 # and are intended to be withdrawn in a future Autoconf release.
   2405 # They can cause serious problems if a builder's source tree is in a directory
   2406 # whose full name contains unusual characters.
   2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2409 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2410 
   2411 
   2412 # Find a good install program.  We prefer a C program (faster),
   2413 # so one script is as good as another.  But avoid the broken or
   2414 # incompatible versions:
   2415 # SysV /etc/install, /usr/sbin/install
   2416 # SunOS /usr/etc/install
   2417 # IRIX /sbin/install
   2418 # AIX /bin/install
   2419 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2423 # OS/2's system install, which has a completely different semantic
   2424 # ./install, which can be erroneously created by make from ./install.sh.
   2425 # Reject install programs that cannot install multiple files.
   2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2427 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2428 if test -z "$INSTALL"; then
   2429 if test "${ac_cv_path_install+set}" = set; then :
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437     # Account for people who put trailing slashes in PATH elements.
   2438 case $as_dir/ in #((
   2439   ./ | .// | /[cC]/* | \
   2440   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2441   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2442   /usr/ucb/* ) ;;
   2443   *)
   2444     # OSF1 and SCO ODT 3.0 have their own names for install.
   2445     # Don't use installbsd from OSF since it installs stuff as root
   2446     # by default.
   2447     for ac_prog in ginstall scoinst install; do
   2448       for ac_exec_ext in '' $ac_executable_extensions; do
   2449 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2450 	  if test $ac_prog = install &&
   2451 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2452 	    # AIX install.  It has an incompatible calling convention.
   2453 	    :
   2454 	  elif test $ac_prog = install &&
   2455 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2456 	    # program-specific install script used by HP pwplus--don't use.
   2457 	    :
   2458 	  else
   2459 	    rm -rf conftest.one conftest.two conftest.dir
   2460 	    echo one > conftest.one
   2461 	    echo two > conftest.two
   2462 	    mkdir conftest.dir
   2463 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2464 	      test -s conftest.one && test -s conftest.two &&
   2465 	      test -s conftest.dir/conftest.one &&
   2466 	      test -s conftest.dir/conftest.two
   2467 	    then
   2468 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2469 	      break 3
   2470 	    fi
   2471 	  fi
   2472 	fi
   2473       done
   2474     done
   2475     ;;
   2476 esac
   2477 
   2478   done
   2479 IFS=$as_save_IFS
   2480 
   2481 rm -rf conftest.one conftest.two conftest.dir
   2482 
   2483 fi
   2484   if test "${ac_cv_path_install+set}" = set; then
   2485     INSTALL=$ac_cv_path_install
   2486   else
   2487     # As a last resort, use the slow shell script.  Don't cache a
   2488     # value for INSTALL within a source directory, because that will
   2489     # break other packages using the cache if that directory is
   2490     # removed, or if the value is a relative name.
   2491     INSTALL=$ac_install_sh
   2492   fi
   2493 fi
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2495 $as_echo "$INSTALL" >&6; }
   2496 
   2497 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2498 # It thinks the first close brace ends the variable substitution.
   2499 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2500 
   2501 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2502 
   2503 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2506 $as_echo_n "checking whether build environment is sane... " >&6; }
   2507 # Just in case
   2508 sleep 1
   2509 echo timestamp > conftest.file
   2510 # Reject unsafe characters in $srcdir or the absolute working directory
   2511 # name.  Accept space and tab only in the latter.
   2512 am_lf='
   2513 '
   2514 case `pwd` in
   2515   *[\\\"\#\$\&\'\`$am_lf]*)
   2516     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2517 esac
   2518 case $srcdir in
   2519   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2520     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2521 esac
   2522 
   2523 # Do `set' in a subshell so we don't clobber the current shell's
   2524 # arguments.  Must try -L first in case configure is actually a
   2525 # symlink; some systems play weird games with the mod time of symlinks
   2526 # (eg FreeBSD returns the mod time of the symlink's containing
   2527 # directory).
   2528 if (
   2529    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2530    if test "$*" = "X"; then
   2531       # -L didn't work.
   2532       set X `ls -t "$srcdir/configure" conftest.file`
   2533    fi
   2534    rm -f conftest.file
   2535    if test "$*" != "X $srcdir/configure conftest.file" \
   2536       && test "$*" != "X conftest.file $srcdir/configure"; then
   2537 
   2538       # If neither matched, then we have a broken ls.  This can happen
   2539       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2540       # broken ls alias from the environment.  This has actually
   2541       # happened.  Such a system could not be considered "sane".
   2542       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2543 alias in your environment" "$LINENO" 5
   2544    fi
   2545 
   2546    test "$2" = conftest.file
   2547    )
   2548 then
   2549    # Ok.
   2550    :
   2551 else
   2552    as_fn_error "newly created file is older than distributed files!
   2553 Check your system clock" "$LINENO" 5
   2554 fi
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2556 $as_echo "yes" >&6; }
   2557 test "$program_prefix" != NONE &&
   2558   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2559 # Use a double $ so make ignores it.
   2560 test "$program_suffix" != NONE &&
   2561   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2562 # Double any \ or $.
   2563 # By default was `s,x,x', remove it if useless.
   2564 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2565 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2566 
   2567 # expand $ac_aux_dir to an absolute path
   2568 am_aux_dir=`cd $ac_aux_dir && pwd`
   2569 
   2570 if test x"${MISSING+set}" != xset; then
   2571   case $am_aux_dir in
   2572   *\ * | *\	*)
   2573     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2574   *)
   2575     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2576   esac
   2577 fi
   2578 # Use eval to expand $SHELL
   2579 if eval "$MISSING --run true"; then
   2580   am_missing_run="$MISSING --run "
   2581 else
   2582   am_missing_run=
   2583   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2584 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2585 fi
   2586 
   2587 if test x"${install_sh}" != xset; then
   2588   case $am_aux_dir in
   2589   *\ * | *\	*)
   2590     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2591   *)
   2592     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2593   esac
   2594 fi
   2595 
   2596 # Installed binaries are usually stripped using `strip' when the user
   2597 # run `make install-strip'.  However `strip' might not be the right
   2598 # tool to use in cross-compilation environments, therefore Automake
   2599 # will honor the `STRIP' environment variable to overrule this program.
   2600 if test "$cross_compiling" != no; then
   2601   if test -n "$ac_tool_prefix"; then
   2602   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2603 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$STRIP"; then
   2610   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2619     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 STRIP=$ac_cv_prog_STRIP
   2630 if test -n "$STRIP"; then
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2632 $as_echo "$STRIP" >&6; }
   2633 else
   2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639 fi
   2640 if test -z "$ac_cv_prog_STRIP"; then
   2641   ac_ct_STRIP=$STRIP
   2642   # Extract the first word of "strip", so it can be a program name with args.
   2643 set dummy strip; ac_word=$2
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2645 $as_echo_n "checking for $ac_word... " >&6; }
   2646 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   if test -n "$ac_ct_STRIP"; then
   2650   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2651 else
   2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2653 for as_dir in $PATH
   2654 do
   2655   IFS=$as_save_IFS
   2656   test -z "$as_dir" && as_dir=.
   2657     for ac_exec_ext in '' $ac_executable_extensions; do
   2658   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2659     ac_cv_prog_ac_ct_STRIP="strip"
   2660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2661     break 2
   2662   fi
   2663 done
   2664   done
   2665 IFS=$as_save_IFS
   2666 
   2667 fi
   2668 fi
   2669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2670 if test -n "$ac_ct_STRIP"; then
   2671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2672 $as_echo "$ac_ct_STRIP" >&6; }
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676 fi
   2677 
   2678   if test "x$ac_ct_STRIP" = x; then
   2679     STRIP=":"
   2680   else
   2681     case $cross_compiling:$ac_tool_warned in
   2682 yes:)
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2685 ac_tool_warned=yes ;;
   2686 esac
   2687     STRIP=$ac_ct_STRIP
   2688   fi
   2689 else
   2690   STRIP="$ac_cv_prog_STRIP"
   2691 fi
   2692 
   2693 fi
   2694 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2695 
   2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2697 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2698 if test -z "$MKDIR_P"; then
   2699   if test "${ac_cv_path_mkdir+set}" = set; then :
   2700   $as_echo_n "(cached) " >&6
   2701 else
   2702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2703 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2704 do
   2705   IFS=$as_save_IFS
   2706   test -z "$as_dir" && as_dir=.
   2707     for ac_prog in mkdir gmkdir; do
   2708 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2709 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2710 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2711 	     'mkdir (GNU coreutils) '* | \
   2712 	     'mkdir (coreutils) '* | \
   2713 	     'mkdir (fileutils) '4.1*)
   2714 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2715 	       break 3;;
   2716 	   esac
   2717 	 done
   2718        done
   2719   done
   2720 IFS=$as_save_IFS
   2721 
   2722 fi
   2723 
   2724   test -d ./--version && rmdir ./--version
   2725   if test "${ac_cv_path_mkdir+set}" = set; then
   2726     MKDIR_P="$ac_cv_path_mkdir -p"
   2727   else
   2728     # As a last resort, use the slow shell script.  Don't cache a
   2729     # value for MKDIR_P within a source directory, because that will
   2730     # break other packages using the cache if that directory is
   2731     # removed, or if the value is a relative name.
   2732     MKDIR_P="$ac_install_sh -d"
   2733   fi
   2734 fi
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2736 $as_echo "$MKDIR_P" >&6; }
   2737 
   2738 mkdir_p="$MKDIR_P"
   2739 case $mkdir_p in
   2740   [\\/$]* | ?:[\\/]*) ;;
   2741   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2742 esac
   2743 
   2744 for ac_prog in gawk mawk nawk awk
   2745 do
   2746   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2747 set dummy $ac_prog; ac_word=$2
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2749 $as_echo_n "checking for $ac_word... " >&6; }
   2750 if test "${ac_cv_prog_AWK+set}" = set; then :
   2751   $as_echo_n "(cached) " >&6
   2752 else
   2753   if test -n "$AWK"; then
   2754   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2755 else
   2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2757 for as_dir in $PATH
   2758 do
   2759   IFS=$as_save_IFS
   2760   test -z "$as_dir" && as_dir=.
   2761     for ac_exec_ext in '' $ac_executable_extensions; do
   2762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2763     ac_cv_prog_AWK="$ac_prog"
   2764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2765     break 2
   2766   fi
   2767 done
   2768   done
   2769 IFS=$as_save_IFS
   2770 
   2771 fi
   2772 fi
   2773 AWK=$ac_cv_prog_AWK
   2774 if test -n "$AWK"; then
   2775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2776 $as_echo "$AWK" >&6; }
   2777 else
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2779 $as_echo "no" >&6; }
   2780 fi
   2781 
   2782 
   2783   test -n "$AWK" && break
   2784 done
   2785 
   2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2787 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2788 set x ${MAKE-make}
   2789 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2790 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2791   $as_echo_n "(cached) " >&6
   2792 else
   2793   cat >conftest.make <<\_ACEOF
   2794 SHELL = /bin/sh
   2795 all:
   2796 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2797 _ACEOF
   2798 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2799 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2800   *@@@%%%=?*=@@@%%%*)
   2801     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2802   *)
   2803     eval ac_cv_prog_make_${ac_make}_set=no;;
   2804 esac
   2805 rm -f conftest.make
   2806 fi
   2807 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2809 $as_echo "yes" >&6; }
   2810   SET_MAKE=
   2811 else
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2813 $as_echo "no" >&6; }
   2814   SET_MAKE="MAKE=${MAKE-make}"
   2815 fi
   2816 
   2817 rm -rf .tst 2>/dev/null
   2818 mkdir .tst 2>/dev/null
   2819 if test -d .tst; then
   2820   am__leading_dot=.
   2821 else
   2822   am__leading_dot=_
   2823 fi
   2824 rmdir .tst 2>/dev/null
   2825 
   2826 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2827   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2828   # is not polluted with repeated "-I."
   2829   am__isrc=' -I$(srcdir)'
   2830   # test to see if srcdir already configured
   2831   if test -f $srcdir/config.status; then
   2832     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2833   fi
   2834 fi
   2835 
   2836 # test whether we have cygpath
   2837 if test -z "$CYGPATH_W"; then
   2838   if (cygpath --version) >/dev/null 2>/dev/null; then
   2839     CYGPATH_W='cygpath -w'
   2840   else
   2841     CYGPATH_W=echo
   2842   fi
   2843 fi
   2844 
   2845 
   2846 # Define the identity of the package.
   2847  PACKAGE='libpng'
   2848  VERSION='1.2.46'
   2849 
   2850 
   2851 cat >>confdefs.h <<_ACEOF
   2852 #define PACKAGE "$PACKAGE"
   2853 _ACEOF
   2854 
   2855 
   2856 cat >>confdefs.h <<_ACEOF
   2857 #define VERSION "$VERSION"
   2858 _ACEOF
   2859 
   2860 # Some tools Automake needs.
   2861 
   2862 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2863 
   2864 
   2865 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2866 
   2867 
   2868 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2869 
   2870 
   2871 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2872 
   2873 
   2874 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2875 
   2876 # We need awk for the "check" target.  The system "awk" is bad on
   2877 # some platforms.
   2878 # Always define AMTAR for backward compatibility.
   2879 
   2880 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2881 
   2882 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 
   2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2890 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2891     # Check whether --enable-maintainer-mode was given.
   2892 if test "${enable_maintainer_mode+set}" = set; then :
   2893   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2894 else
   2895   USE_MAINTAINER_MODE=no
   2896 fi
   2897 
   2898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2899 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2900    if test $USE_MAINTAINER_MODE = yes; then
   2901   MAINTAINER_MODE_TRUE=
   2902   MAINTAINER_MODE_FALSE='#'
   2903 else
   2904   MAINTAINER_MODE_TRUE='#'
   2905   MAINTAINER_MODE_FALSE=
   2906 fi
   2907 
   2908   MAINT=$MAINTAINER_MODE_TRUE
   2909 
   2910 
   2911 
   2912 PNGLIB_VERSION=1.2.46
   2913 PNGLIB_MAJOR=1
   2914 PNGLIB_MINOR=2
   2915 PNGLIB_RELEASE=46
   2916 
   2917 
   2918 
   2919 ac_config_headers="$ac_config_headers config.h"
   2920 
   2921 
   2922 # Checks for programs.
   2923 ac_ext=c
   2924 ac_cpp='$CPP $CPPFLAGS'
   2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2928 if test -n "$ac_tool_prefix"; then
   2929   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 $as_echo_n "checking for $ac_word... " >&6; }
   2933 if test "${ac_cv_prog_CC+set}" = set; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$CC"; then
   2937   ac_cv_prog_CC="$CC" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   test -z "$as_dir" && as_dir=.
   2944     for ac_exec_ext in '' $ac_executable_extensions; do
   2945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2946     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2948     break 2
   2949   fi
   2950 done
   2951   done
   2952 IFS=$as_save_IFS
   2953 
   2954 fi
   2955 fi
   2956 CC=$ac_cv_prog_CC
   2957 if test -n "$CC"; then
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2959 $as_echo "$CC" >&6; }
   2960 else
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2962 $as_echo "no" >&6; }
   2963 fi
   2964 
   2965 
   2966 fi
   2967 if test -z "$ac_cv_prog_CC"; then
   2968   ac_ct_CC=$CC
   2969   # Extract the first word of "gcc", so it can be a program name with args.
   2970 set dummy gcc; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$ac_ct_CC"; then
   2977   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2986     ac_cv_prog_ac_ct_CC="gcc"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2997 if test -n "$ac_ct_CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2999 $as_echo "$ac_ct_CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005   if test "x$ac_ct_CC" = x; then
   3006     CC=""
   3007   else
   3008     case $cross_compiling:$ac_tool_warned in
   3009 yes:)
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3012 ac_tool_warned=yes ;;
   3013 esac
   3014     CC=$ac_ct_CC
   3015   fi
   3016 else
   3017   CC="$ac_cv_prog_CC"
   3018 fi
   3019 
   3020 if test -z "$CC"; then
   3021           if test -n "$ac_tool_prefix"; then
   3022     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3023 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if test "${ac_cv_prog_CC+set}" = set; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$CC"; then
   3030   ac_cv_prog_CC="$CC" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   test -z "$as_dir" && as_dir=.
   3037     for ac_exec_ext in '' $ac_executable_extensions; do
   3038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3039     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3041     break 2
   3042   fi
   3043 done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 fi
   3049 CC=$ac_cv_prog_CC
   3050 if test -n "$CC"; then
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3052 $as_echo "$CC" >&6; }
   3053 else
   3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 $as_echo "no" >&6; }
   3056 fi
   3057 
   3058 
   3059   fi
   3060 fi
   3061 if test -z "$CC"; then
   3062   # Extract the first word of "cc", so it can be a program name with args.
   3063 set dummy cc; ac_word=$2
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if test "${ac_cv_prog_CC+set}" = set; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$CC"; then
   3070   ac_cv_prog_CC="$CC" # Let the user override the test.
   3071 else
   3072   ac_prog_rejected=no
   3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3074 for as_dir in $PATH
   3075 do
   3076   IFS=$as_save_IFS
   3077   test -z "$as_dir" && as_dir=.
   3078     for ac_exec_ext in '' $ac_executable_extensions; do
   3079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3080     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3081        ac_prog_rejected=yes
   3082        continue
   3083      fi
   3084     ac_cv_prog_CC="cc"
   3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3086     break 2
   3087   fi
   3088 done
   3089   done
   3090 IFS=$as_save_IFS
   3091 
   3092 if test $ac_prog_rejected = yes; then
   3093   # We found a bogon in the path, so make sure we never use it.
   3094   set dummy $ac_cv_prog_CC
   3095   shift
   3096   if test $# != 0; then
   3097     # We chose a different compiler from the bogus one.
   3098     # However, it has the same basename, so the bogon will be chosen
   3099     # first if we set CC to just the basename; use the full file name.
   3100     shift
   3101     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3102   fi
   3103 fi
   3104 fi
   3105 fi
   3106 CC=$ac_cv_prog_CC
   3107 if test -n "$CC"; then
   3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3109 $as_echo "$CC" >&6; }
   3110 else
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3112 $as_echo "no" >&6; }
   3113 fi
   3114 
   3115 
   3116 fi
   3117 if test -z "$CC"; then
   3118   if test -n "$ac_tool_prefix"; then
   3119   for ac_prog in cl.exe
   3120   do
   3121     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3124 $as_echo_n "checking for $ac_word... " >&6; }
   3125 if test "${ac_cv_prog_CC+set}" = set; then :
   3126   $as_echo_n "(cached) " >&6
   3127 else
   3128   if test -n "$CC"; then
   3129   ac_cv_prog_CC="$CC" # Let the user override the test.
   3130 else
   3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3132 for as_dir in $PATH
   3133 do
   3134   IFS=$as_save_IFS
   3135   test -z "$as_dir" && as_dir=.
   3136     for ac_exec_ext in '' $ac_executable_extensions; do
   3137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3138     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3140     break 2
   3141   fi
   3142 done
   3143   done
   3144 IFS=$as_save_IFS
   3145 
   3146 fi
   3147 fi
   3148 CC=$ac_cv_prog_CC
   3149 if test -n "$CC"; then
   3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3151 $as_echo "$CC" >&6; }
   3152 else
   3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3154 $as_echo "no" >&6; }
   3155 fi
   3156 
   3157 
   3158     test -n "$CC" && break
   3159   done
   3160 fi
   3161 if test -z "$CC"; then
   3162   ac_ct_CC=$CC
   3163   for ac_prog in cl.exe
   3164 do
   3165   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3166 set dummy $ac_prog; ac_word=$2
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3168 $as_echo_n "checking for $ac_word... " >&6; }
   3169 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3170   $as_echo_n "(cached) " >&6
   3171 else
   3172   if test -n "$ac_ct_CC"; then
   3173   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3174 else
   3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3176 for as_dir in $PATH
   3177 do
   3178   IFS=$as_save_IFS
   3179   test -z "$as_dir" && as_dir=.
   3180     for ac_exec_ext in '' $ac_executable_extensions; do
   3181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3182     ac_cv_prog_ac_ct_CC="$ac_prog"
   3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3184     break 2
   3185   fi
   3186 done
   3187   done
   3188 IFS=$as_save_IFS
   3189 
   3190 fi
   3191 fi
   3192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3193 if test -n "$ac_ct_CC"; then
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3195 $as_echo "$ac_ct_CC" >&6; }
   3196 else
   3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 $as_echo "no" >&6; }
   3199 fi
   3200 
   3201 
   3202   test -n "$ac_ct_CC" && break
   3203 done
   3204 
   3205   if test "x$ac_ct_CC" = x; then
   3206     CC=""
   3207   else
   3208     case $cross_compiling:$ac_tool_warned in
   3209 yes:)
   3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3212 ac_tool_warned=yes ;;
   3213 esac
   3214     CC=$ac_ct_CC
   3215   fi
   3216 fi
   3217 
   3218 fi
   3219 
   3220 
   3221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3223 as_fn_error "no acceptable C compiler found in \$PATH
   3224 See \`config.log' for more details." "$LINENO" 5; }
   3225 
   3226 # Provide some information about the compiler.
   3227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3228 set X $ac_compile
   3229 ac_compiler=$2
   3230 for ac_option in --version -v -V -qversion; do
   3231   { { ac_try="$ac_compiler $ac_option >&5"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3239   ac_status=$?
   3240   if test -s conftest.err; then
   3241     sed '10a\
   3242 ... rest of stderr output deleted ...
   3243          10q' conftest.err >conftest.er1
   3244     cat conftest.er1 >&5
   3245   fi
   3246   rm -f conftest.er1 conftest.err
   3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3248   test $ac_status = 0; }
   3249 done
   3250 
   3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3252 /* end confdefs.h.  */
   3253 
   3254 int
   3255 main ()
   3256 {
   3257 
   3258   ;
   3259   return 0;
   3260 }
   3261 _ACEOF
   3262 ac_clean_files_save=$ac_clean_files
   3263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3264 # Try to create an executable without -o first, disregard a.out.
   3265 # It will help us diagnose broken compilers, and finding out an intuition
   3266 # of exeext.
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3268 $as_echo_n "checking whether the C compiler works... " >&6; }
   3269 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3270 
   3271 # The possible output files:
   3272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3273 
   3274 ac_rmfiles=
   3275 for ac_file in $ac_files
   3276 do
   3277   case $ac_file in
   3278     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3279     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3280   esac
   3281 done
   3282 rm -f $ac_rmfiles
   3283 
   3284 if { { ac_try="$ac_link_default"
   3285 case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo"; } >&5
   3291   (eval "$ac_link_default") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3294   test $ac_status = 0; }; then :
   3295   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3297 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3298 # so that the user can short-circuit this test for compilers unknown to
   3299 # Autoconf.
   3300 for ac_file in $ac_files ''
   3301 do
   3302   test -f "$ac_file" || continue
   3303   case $ac_file in
   3304     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3305 	;;
   3306     [ab].out )
   3307 	# We found the default executable, but exeext='' is most
   3308 	# certainly right.
   3309 	break;;
   3310     *.* )
   3311 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3312 	then :; else
   3313 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3314 	fi
   3315 	# We set ac_cv_exeext here because the later test for it is not
   3316 	# safe: cross compilers may not add the suffix if given an `-o'
   3317 	# argument, so we may need to know it at that point already.
   3318 	# Even if this section looks crufty: it has the advantage of
   3319 	# actually working.
   3320 	break;;
   3321     * )
   3322 	break;;
   3323   esac
   3324 done
   3325 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3326 
   3327 else
   3328   ac_file=''
   3329 fi
   3330 if test -z "$ac_file"; then :
   3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3332 $as_echo "no" >&6; }
   3333 $as_echo "$as_me: failed program was:" >&5
   3334 sed 's/^/| /' conftest.$ac_ext >&5
   3335 
   3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3338 { as_fn_set_status 77
   3339 as_fn_error "C compiler cannot create executables
   3340 See \`config.log' for more details." "$LINENO" 5; }; }
   3341 else
   3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3343 $as_echo "yes" >&6; }
   3344 fi
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3346 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3348 $as_echo "$ac_file" >&6; }
   3349 ac_exeext=$ac_cv_exeext
   3350 
   3351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3352 ac_clean_files=$ac_clean_files_save
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3354 $as_echo_n "checking for suffix of executables... " >&6; }
   3355 if { { ac_try="$ac_link"
   3356 case "(($ac_try" in
   3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3358   *) ac_try_echo=$ac_try;;
   3359 esac
   3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3361 $as_echo "$ac_try_echo"; } >&5
   3362   (eval "$ac_link") 2>&5
   3363   ac_status=$?
   3364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3365   test $ac_status = 0; }; then :
   3366   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3367 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3369 # `rm'.
   3370 for ac_file in conftest.exe conftest conftest.*; do
   3371   test -f "$ac_file" || continue
   3372   case $ac_file in
   3373     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3374     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3375 	  break;;
   3376     * ) break;;
   3377   esac
   3378 done
   3379 else
   3380   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3382 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3383 See \`config.log' for more details." "$LINENO" 5; }
   3384 fi
   3385 rm -f conftest conftest$ac_cv_exeext
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3387 $as_echo "$ac_cv_exeext" >&6; }
   3388 
   3389 rm -f conftest.$ac_ext
   3390 EXEEXT=$ac_cv_exeext
   3391 ac_exeext=$EXEEXT
   3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3393 /* end confdefs.h.  */
   3394 #include <stdio.h>
   3395 int
   3396 main ()
   3397 {
   3398 FILE *f = fopen ("conftest.out", "w");
   3399  return ferror (f) || fclose (f) != 0;
   3400 
   3401   ;
   3402   return 0;
   3403 }
   3404 _ACEOF
   3405 ac_clean_files="$ac_clean_files conftest.out"
   3406 # Check that the compiler produces executables we can run.  If not, either
   3407 # the compiler is broken, or we cross compile.
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3409 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3410 if test "$cross_compiling" != yes; then
   3411   { { ac_try="$ac_link"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_link") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }
   3422   if { ac_try='./conftest$ac_cv_exeext'
   3423   { { case "(($ac_try" in
   3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3425   *) ac_try_echo=$ac_try;;
   3426 esac
   3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3428 $as_echo "$ac_try_echo"; } >&5
   3429   (eval "$ac_try") 2>&5
   3430   ac_status=$?
   3431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3432   test $ac_status = 0; }; }; then
   3433     cross_compiling=no
   3434   else
   3435     if test "$cross_compiling" = maybe; then
   3436 	cross_compiling=yes
   3437     else
   3438 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3440 as_fn_error "cannot run C compiled programs.
   3441 If you meant to cross compile, use \`--host'.
   3442 See \`config.log' for more details." "$LINENO" 5; }
   3443     fi
   3444   fi
   3445 fi
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3447 $as_echo "$cross_compiling" >&6; }
   3448 
   3449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3450 ac_clean_files=$ac_clean_files_save
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3452 $as_echo_n "checking for suffix of object files... " >&6; }
   3453 if test "${ac_cv_objext+set}" = set; then :
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3457 /* end confdefs.h.  */
   3458 
   3459 int
   3460 main ()
   3461 {
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 rm -f conftest.o conftest.obj
   3468 if { { ac_try="$ac_compile"
   3469 case "(($ac_try" in
   3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3471   *) ac_try_echo=$ac_try;;
   3472 esac
   3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3474 $as_echo "$ac_try_echo"; } >&5
   3475   (eval "$ac_compile") 2>&5
   3476   ac_status=$?
   3477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3478   test $ac_status = 0; }; then :
   3479   for ac_file in conftest.o conftest.obj conftest.*; do
   3480   test -f "$ac_file" || continue;
   3481   case $ac_file in
   3482     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3483     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3484        break;;
   3485   esac
   3486 done
   3487 else
   3488   $as_echo "$as_me: failed program was:" >&5
   3489 sed 's/^/| /' conftest.$ac_ext >&5
   3490 
   3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error "cannot compute suffix of object files: cannot compile
   3494 See \`config.log' for more details." "$LINENO" 5; }
   3495 fi
   3496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3497 fi
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3499 $as_echo "$ac_cv_objext" >&6; }
   3500 OBJEXT=$ac_cv_objext
   3501 ac_objext=$OBJEXT
   3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3504 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3505   $as_echo_n "(cached) " >&6
   3506 else
   3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 int
   3511 main ()
   3512 {
   3513 #ifndef __GNUC__
   3514        choke me
   3515 #endif
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 if ac_fn_c_try_compile "$LINENO"; then :
   3522   ac_compiler_gnu=yes
   3523 else
   3524   ac_compiler_gnu=no
   3525 fi
   3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3528 
   3529 fi
   3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3532 if test $ac_compiler_gnu = yes; then
   3533   GCC=yes
   3534 else
   3535   GCC=
   3536 fi
   3537 ac_test_CFLAGS=${CFLAGS+set}
   3538 ac_save_CFLAGS=$CFLAGS
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3541 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3542   $as_echo_n "(cached) " >&6
   3543 else
   3544   ac_save_c_werror_flag=$ac_c_werror_flag
   3545    ac_c_werror_flag=yes
   3546    ac_cv_prog_cc_g=no
   3547    CFLAGS="-g"
   3548    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 
   3555   ;
   3556   return 0;
   3557 }
   3558 _ACEOF
   3559 if ac_fn_c_try_compile "$LINENO"; then :
   3560   ac_cv_prog_cc_g=yes
   3561 else
   3562   CFLAGS=""
   3563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575 
   3576 else
   3577   ac_c_werror_flag=$ac_save_c_werror_flag
   3578 	 CFLAGS="-g"
   3579 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3580 /* end confdefs.h.  */
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590 if ac_fn_c_try_compile "$LINENO"; then :
   3591   ac_cv_prog_cc_g=yes
   3592 fi
   3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3594 fi
   3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3596 fi
   3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3598    ac_c_werror_flag=$ac_save_c_werror_flag
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3601 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3602 if test "$ac_test_CFLAGS" = set; then
   3603   CFLAGS=$ac_save_CFLAGS
   3604 elif test $ac_cv_prog_cc_g = yes; then
   3605   if test "$GCC" = yes; then
   3606     CFLAGS="-g -O2"
   3607   else
   3608     CFLAGS="-g"
   3609   fi
   3610 else
   3611   if test "$GCC" = yes; then
   3612     CFLAGS="-O2"
   3613   else
   3614     CFLAGS=
   3615   fi
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3619 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   ac_cv_prog_cc_c89=no
   3623 ac_save_CC=$CC
   3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <stdarg.h>
   3627 #include <stdio.h>
   3628 #include <sys/types.h>
   3629 #include <sys/stat.h>
   3630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3631 struct buf { int x; };
   3632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3633 static char *e (p, i)
   3634      char **p;
   3635      int i;
   3636 {
   3637   return p[i];
   3638 }
   3639 static char *f (char * (*g) (char **, int), char **p, ...)
   3640 {
   3641   char *s;
   3642   va_list v;
   3643   va_start (v,p);
   3644   s = g (p, va_arg (v,int));
   3645   va_end (v);
   3646   return s;
   3647 }
   3648 
   3649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3650    function prototypes and stuff, but not '\xHH' hex character constants.
   3651    These don't provoke an error unfortunately, instead are silently treated
   3652    as 'x'.  The following induces an error, until -std is added to get
   3653    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3654    array size at least.  It's necessary to write '\x00'==0 to get something
   3655    that's true only with -std.  */
   3656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3657 
   3658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3659    inside strings and character constants.  */
   3660 #define FOO(x) 'x'
   3661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3662 
   3663 int test (int i, double x);
   3664 struct s1 {int (*f) (int a);};
   3665 struct s2 {int (*f) (double a);};
   3666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3667 int argc;
   3668 char **argv;
   3669 int
   3670 main ()
   3671 {
   3672 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3678 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3679 do
   3680   CC="$ac_save_CC $ac_arg"
   3681   if ac_fn_c_try_compile "$LINENO"; then :
   3682   ac_cv_prog_cc_c89=$ac_arg
   3683 fi
   3684 rm -f core conftest.err conftest.$ac_objext
   3685   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3686 done
   3687 rm -f conftest.$ac_ext
   3688 CC=$ac_save_CC
   3689 
   3690 fi
   3691 # AC_CACHE_VAL
   3692 case "x$ac_cv_prog_cc_c89" in
   3693   x)
   3694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3695 $as_echo "none needed" >&6; } ;;
   3696   xno)
   3697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3698 $as_echo "unsupported" >&6; } ;;
   3699   *)
   3700     CC="$CC $ac_cv_prog_cc_c89"
   3701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3703 esac
   3704 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3705 
   3706 fi
   3707 
   3708 ac_ext=c
   3709 ac_cpp='$CPP $CPPFLAGS'
   3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3713 DEPDIR="${am__leading_dot}deps"
   3714 
   3715 ac_config_commands="$ac_config_commands depfiles"
   3716 
   3717 
   3718 am_make=${MAKE-make}
   3719 cat > confinc << 'END'
   3720 am__doit:
   3721 	@echo this is the am__doit target
   3722 .PHONY: am__doit
   3723 END
   3724 # If we don't find an include directive, just comment out the code.
   3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3726 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3727 am__include="#"
   3728 am__quote=
   3729 _am_result=none
   3730 # First try GNU make style include.
   3731 echo "include confinc" > confmf
   3732 # Ignore all kinds of additional output from `make'.
   3733 case `$am_make -s -f confmf 2> /dev/null` in #(
   3734 *the\ am__doit\ target*)
   3735   am__include=include
   3736   am__quote=
   3737   _am_result=GNU
   3738   ;;
   3739 esac
   3740 # Now try BSD make style include.
   3741 if test "$am__include" = "#"; then
   3742    echo '.include "confinc"' > confmf
   3743    case `$am_make -s -f confmf 2> /dev/null` in #(
   3744    *the\ am__doit\ target*)
   3745      am__include=.include
   3746      am__quote="\""
   3747      _am_result=BSD
   3748      ;;
   3749    esac
   3750 fi
   3751 
   3752 
   3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3754 $as_echo "$_am_result" >&6; }
   3755 rm -f confinc confmf
   3756 
   3757 # Check whether --enable-dependency-tracking was given.
   3758 if test "${enable_dependency_tracking+set}" = set; then :
   3759   enableval=$enable_dependency_tracking;
   3760 fi
   3761 
   3762 if test "x$enable_dependency_tracking" != xno; then
   3763   am_depcomp="$ac_aux_dir/depcomp"
   3764   AMDEPBACKSLASH='\'
   3765 fi
   3766  if test "x$enable_dependency_tracking" != xno; then
   3767   AMDEP_TRUE=
   3768   AMDEP_FALSE='#'
   3769 else
   3770   AMDEP_TRUE='#'
   3771   AMDEP_FALSE=
   3772 fi
   3773 
   3774 
   3775 
   3776 depcc="$CC"   am_compiler_list=
   3777 
   3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3779 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3780 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3781   $as_echo_n "(cached) " >&6
   3782 else
   3783   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3784   # We make a subdir and do the tests there.  Otherwise we can end up
   3785   # making bogus files that we don't know about and never remove.  For
   3786   # instance it was reported that on HP-UX the gcc test will end up
   3787   # making a dummy file named `D' -- because `-MD' means `put the output
   3788   # in D'.
   3789   mkdir conftest.dir
   3790   # Copy depcomp to subdir because otherwise we won't find it if we're
   3791   # using a relative directory.
   3792   cp "$am_depcomp" conftest.dir
   3793   cd conftest.dir
   3794   # We will build objects and dependencies in a subdirectory because
   3795   # it helps to detect inapplicable dependency modes.  For instance
   3796   # both Tru64's cc and ICC support -MD to output dependencies as a
   3797   # side effect of compilation, but ICC will put the dependencies in
   3798   # the current directory while Tru64 will put them in the object
   3799   # directory.
   3800   mkdir sub
   3801 
   3802   am_cv_CC_dependencies_compiler_type=none
   3803   if test "$am_compiler_list" = ""; then
   3804      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3805   fi
   3806   am__universal=false
   3807   case " $depcc " in #(
   3808      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3809      esac
   3810 
   3811   for depmode in $am_compiler_list; do
   3812     # Setup a source with many dependencies, because some compilers
   3813     # like to wrap large dependency lists on column 80 (with \), and
   3814     # we should not choose a depcomp mode which is confused by this.
   3815     #
   3816     # We need to recreate these files for each test, as the compiler may
   3817     # overwrite some of them when testing with obscure command lines.
   3818     # This happens at least with the AIX C compiler.
   3819     : > sub/conftest.c
   3820     for i in 1 2 3 4 5 6; do
   3821       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3822       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3823       # Solaris 8's {/usr,}/bin/sh.
   3824       touch sub/conftst$i.h
   3825     done
   3826     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3827 
   3828     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3829     # mode.  It turns out that the SunPro C++ compiler does not properly
   3830     # handle `-M -o', and we need to detect this.  Also, some Intel
   3831     # versions had trouble with output in subdirs
   3832     am__obj=sub/conftest.${OBJEXT-o}
   3833     am__minus_obj="-o $am__obj"
   3834     case $depmode in
   3835     gcc)
   3836       # This depmode causes a compiler race in universal mode.
   3837       test "$am__universal" = false || continue
   3838       ;;
   3839     nosideeffect)
   3840       # after this tag, mechanisms are not by side-effect, so they'll
   3841       # only be used when explicitly requested
   3842       if test "x$enable_dependency_tracking" = xyes; then
   3843 	continue
   3844       else
   3845 	break
   3846       fi
   3847       ;;
   3848     msvisualcpp | msvcmsys)
   3849       # This compiler won't grok `-c -o', but also, the minuso test has
   3850       # not run yet.  These depmodes are late enough in the game, and
   3851       # so weak that their functioning should not be impacted.
   3852       am__obj=conftest.${OBJEXT-o}
   3853       am__minus_obj=
   3854       ;;
   3855     none) break ;;
   3856     esac
   3857     if depmode=$depmode \
   3858        source=sub/conftest.c object=$am__obj \
   3859        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3860        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3861          >/dev/null 2>conftest.err &&
   3862        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3863        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3864        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3865        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3866       # icc doesn't choke on unknown options, it will just issue warnings
   3867       # or remarks (even with -Werror).  So we grep stderr for any message
   3868       # that says an option was ignored or not supported.
   3869       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3870       #   icc: Command line warning: ignoring option '-M'; no argument required
   3871       # The diagnosis changed in icc 8.0:
   3872       #   icc: Command line remark: option '-MP' not supported
   3873       if (grep 'ignoring option' conftest.err ||
   3874           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3875         am_cv_CC_dependencies_compiler_type=$depmode
   3876         break
   3877       fi
   3878     fi
   3879   done
   3880 
   3881   cd ..
   3882   rm -rf conftest.dir
   3883 else
   3884   am_cv_CC_dependencies_compiler_type=none
   3885 fi
   3886 
   3887 fi
   3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3889 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3890 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3891 
   3892  if
   3893   test "x$enable_dependency_tracking" != xno \
   3894   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3895   am__fastdepCC_TRUE=
   3896   am__fastdepCC_FALSE='#'
   3897 else
   3898   am__fastdepCC_TRUE='#'
   3899   am__fastdepCC_FALSE=
   3900 fi
   3901 
   3902 
   3903 # Make sure we can run config.sub.
   3904 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3905   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3906 
   3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3908 $as_echo_n "checking build system type... " >&6; }
   3909 if test "${ac_cv_build+set}" = set; then :
   3910   $as_echo_n "(cached) " >&6
   3911 else
   3912   ac_build_alias=$build_alias
   3913 test "x$ac_build_alias" = x &&
   3914   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3915 test "x$ac_build_alias" = x &&
   3916   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   3917 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3918   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3919 
   3920 fi
   3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3922 $as_echo "$ac_cv_build" >&6; }
   3923 case $ac_cv_build in
   3924 *-*-*) ;;
   3925 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   3926 esac
   3927 build=$ac_cv_build
   3928 ac_save_IFS=$IFS; IFS='-'
   3929 set x $ac_cv_build
   3930 shift
   3931 build_cpu=$1
   3932 build_vendor=$2
   3933 shift; shift
   3934 # Remember, the first character of IFS is used to create $*,
   3935 # except with old shells:
   3936 build_os=$*
   3937 IFS=$ac_save_IFS
   3938 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3939 
   3940 
   3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3942 $as_echo_n "checking host system type... " >&6; }
   3943 if test "${ac_cv_host+set}" = set; then :
   3944   $as_echo_n "(cached) " >&6
   3945 else
   3946   if test "x$host_alias" = x; then
   3947   ac_cv_host=$ac_cv_build
   3948 else
   3949   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3950     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3951 fi
   3952 
   3953 fi
   3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3955 $as_echo "$ac_cv_host" >&6; }
   3956 case $ac_cv_host in
   3957 *-*-*) ;;
   3958 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   3959 esac
   3960 host=$ac_cv_host
   3961 ac_save_IFS=$IFS; IFS='-'
   3962 set x $ac_cv_host
   3963 shift
   3964 host_cpu=$1
   3965 host_vendor=$2
   3966 shift; shift
   3967 # Remember, the first character of IFS is used to create $*,
   3968 # except with old shells:
   3969 host_os=$*
   3970 IFS=$ac_save_IFS
   3971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3972 
   3973 
   3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3975 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3976 if test "${ac_cv_path_SED+set}" = set; then :
   3977   $as_echo_n "(cached) " >&6
   3978 else
   3979             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3980      for ac_i in 1 2 3 4 5 6 7; do
   3981        ac_script="$ac_script$as_nl$ac_script"
   3982      done
   3983      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3984      { ac_script=; unset ac_script;}
   3985      if test -z "$SED"; then
   3986   ac_path_SED_found=false
   3987   # Loop through the user's path and test for each of PROGNAME-LIST
   3988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_prog in sed gsed; do
   3994     for ac_exec_ext in '' $ac_executable_extensions; do
   3995       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3996       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3997 # Check for GNU ac_path_SED and select it if it is found.
   3998   # Check for GNU $ac_path_SED
   3999 case `"$ac_path_SED" --version 2>&1` in
   4000 *GNU*)
   4001   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4002 *)
   4003   ac_count=0
   4004   $as_echo_n 0123456789 >"conftest.in"
   4005   while :
   4006   do
   4007     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4008     mv "conftest.tmp" "conftest.in"
   4009     cp "conftest.in" "conftest.nl"
   4010     $as_echo '' >> "conftest.nl"
   4011     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4013     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4014     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4015       # Best one so far, save it but keep looking for a better one
   4016       ac_cv_path_SED="$ac_path_SED"
   4017       ac_path_SED_max=$ac_count
   4018     fi
   4019     # 10*(2^10) chars as input seems more than enough
   4020     test $ac_count -gt 10 && break
   4021   done
   4022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4023 esac
   4024 
   4025       $ac_path_SED_found && break 3
   4026     done
   4027   done
   4028   done
   4029 IFS=$as_save_IFS
   4030   if test -z "$ac_cv_path_SED"; then
   4031     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4032   fi
   4033 else
   4034   ac_cv_path_SED=$SED
   4035 fi
   4036 
   4037 fi
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4039 $as_echo "$ac_cv_path_SED" >&6; }
   4040  SED="$ac_cv_path_SED"
   4041   rm -f conftest.sed
   4042 
   4043 test -z "$SED" && SED=sed
   4044 Xsed="$SED -e 1s/^X//"
   4045 
   4046 
   4047 
   4048 
   4049 
   4050 
   4051 
   4052 
   4053 
   4054 
   4055 
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4057 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4058 if test "${ac_cv_path_GREP+set}" = set; then :
   4059   $as_echo_n "(cached) " >&6
   4060 else
   4061   if test -z "$GREP"; then
   4062   ac_path_GREP_found=false
   4063   # Loop through the user's path and test for each of PROGNAME-LIST
   4064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4066 do
   4067   IFS=$as_save_IFS
   4068   test -z "$as_dir" && as_dir=.
   4069     for ac_prog in grep ggrep; do
   4070     for ac_exec_ext in '' $ac_executable_extensions; do
   4071       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4072       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4073 # Check for GNU ac_path_GREP and select it if it is found.
   4074   # Check for GNU $ac_path_GREP
   4075 case `"$ac_path_GREP" --version 2>&1` in
   4076 *GNU*)
   4077   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4078 *)
   4079   ac_count=0
   4080   $as_echo_n 0123456789 >"conftest.in"
   4081   while :
   4082   do
   4083     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4084     mv "conftest.tmp" "conftest.in"
   4085     cp "conftest.in" "conftest.nl"
   4086     $as_echo 'GREP' >> "conftest.nl"
   4087     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4088     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4089     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4090     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4091       # Best one so far, save it but keep looking for a better one
   4092       ac_cv_path_GREP="$ac_path_GREP"
   4093       ac_path_GREP_max=$ac_count
   4094     fi
   4095     # 10*(2^10) chars as input seems more than enough
   4096     test $ac_count -gt 10 && break
   4097   done
   4098   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4099 esac
   4100 
   4101       $ac_path_GREP_found && break 3
   4102     done
   4103   done
   4104   done
   4105 IFS=$as_save_IFS
   4106   if test -z "$ac_cv_path_GREP"; then
   4107     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4108   fi
   4109 else
   4110   ac_cv_path_GREP=$GREP
   4111 fi
   4112 
   4113 fi
   4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4115 $as_echo "$ac_cv_path_GREP" >&6; }
   4116  GREP="$ac_cv_path_GREP"
   4117 
   4118 
   4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4120 $as_echo_n "checking for egrep... " >&6; }
   4121 if test "${ac_cv_path_EGREP+set}" = set; then :
   4122   $as_echo_n "(cached) " >&6
   4123 else
   4124   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4125    then ac_cv_path_EGREP="$GREP -E"
   4126    else
   4127      if test -z "$EGREP"; then
   4128   ac_path_EGREP_found=false
   4129   # Loop through the user's path and test for each of PROGNAME-LIST
   4130   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4131 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4132 do
   4133   IFS=$as_save_IFS
   4134   test -z "$as_dir" && as_dir=.
   4135     for ac_prog in egrep; do
   4136     for ac_exec_ext in '' $ac_executable_extensions; do
   4137       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4138       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4139 # Check for GNU ac_path_EGREP and select it if it is found.
   4140   # Check for GNU $ac_path_EGREP
   4141 case `"$ac_path_EGREP" --version 2>&1` in
   4142 *GNU*)
   4143   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4144 *)
   4145   ac_count=0
   4146   $as_echo_n 0123456789 >"conftest.in"
   4147   while :
   4148   do
   4149     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4150     mv "conftest.tmp" "conftest.in"
   4151     cp "conftest.in" "conftest.nl"
   4152     $as_echo 'EGREP' >> "conftest.nl"
   4153     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4154     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4155     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4156     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4157       # Best one so far, save it but keep looking for a better one
   4158       ac_cv_path_EGREP="$ac_path_EGREP"
   4159       ac_path_EGREP_max=$ac_count
   4160     fi
   4161     # 10*(2^10) chars as input seems more than enough
   4162     test $ac_count -gt 10 && break
   4163   done
   4164   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4165 esac
   4166 
   4167       $ac_path_EGREP_found && break 3
   4168     done
   4169   done
   4170   done
   4171 IFS=$as_save_IFS
   4172   if test -z "$ac_cv_path_EGREP"; then
   4173     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4174   fi
   4175 else
   4176   ac_cv_path_EGREP=$EGREP
   4177 fi
   4178 
   4179    fi
   4180 fi
   4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4182 $as_echo "$ac_cv_path_EGREP" >&6; }
   4183  EGREP="$ac_cv_path_EGREP"
   4184 
   4185 
   4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4187 $as_echo_n "checking for fgrep... " >&6; }
   4188 if test "${ac_cv_path_FGREP+set}" = set; then :
   4189   $as_echo_n "(cached) " >&6
   4190 else
   4191   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4192    then ac_cv_path_FGREP="$GREP -F"
   4193    else
   4194      if test -z "$FGREP"; then
   4195   ac_path_FGREP_found=false
   4196   # Loop through the user's path and test for each of PROGNAME-LIST
   4197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4199 do
   4200   IFS=$as_save_IFS
   4201   test -z "$as_dir" && as_dir=.
   4202     for ac_prog in fgrep; do
   4203     for ac_exec_ext in '' $ac_executable_extensions; do
   4204       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4205       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4206 # Check for GNU ac_path_FGREP and select it if it is found.
   4207   # Check for GNU $ac_path_FGREP
   4208 case `"$ac_path_FGREP" --version 2>&1` in
   4209 *GNU*)
   4210   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4211 *)
   4212   ac_count=0
   4213   $as_echo_n 0123456789 >"conftest.in"
   4214   while :
   4215   do
   4216     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4217     mv "conftest.tmp" "conftest.in"
   4218     cp "conftest.in" "conftest.nl"
   4219     $as_echo 'FGREP' >> "conftest.nl"
   4220     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4221     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4222     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4223     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4224       # Best one so far, save it but keep looking for a better one
   4225       ac_cv_path_FGREP="$ac_path_FGREP"
   4226       ac_path_FGREP_max=$ac_count
   4227     fi
   4228     # 10*(2^10) chars as input seems more than enough
   4229     test $ac_count -gt 10 && break
   4230   done
   4231   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4232 esac
   4233 
   4234       $ac_path_FGREP_found && break 3
   4235     done
   4236   done
   4237   done
   4238 IFS=$as_save_IFS
   4239   if test -z "$ac_cv_path_FGREP"; then
   4240     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4241   fi
   4242 else
   4243   ac_cv_path_FGREP=$FGREP
   4244 fi
   4245 
   4246    fi
   4247 fi
   4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4249 $as_echo "$ac_cv_path_FGREP" >&6; }
   4250  FGREP="$ac_cv_path_FGREP"
   4251 
   4252 
   4253 test -z "$GREP" && GREP=grep
   4254 
   4255 
   4256 
   4257 
   4258 
   4259 
   4260 
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 
   4273 # Check whether --with-gnu-ld was given.
   4274 if test "${with_gnu_ld+set}" = set; then :
   4275   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4276 else
   4277   with_gnu_ld=no
   4278 fi
   4279 
   4280 ac_prog=ld
   4281 if test "$GCC" = yes; then
   4282   # Check if gcc -print-prog-name=ld gives a path.
   4283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4284 $as_echo_n "checking for ld used by $CC... " >&6; }
   4285   case $host in
   4286   *-*-mingw*)
   4287     # gcc leaves a trailing carriage return which upsets mingw
   4288     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4289   *)
   4290     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4291   esac
   4292   case $ac_prog in
   4293     # Accept absolute paths.
   4294     [\\/]* | ?:[\\/]*)
   4295       re_direlt='/[^/][^/]*/\.\./'
   4296       # Canonicalize the pathname of ld
   4297       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4298       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4299 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4300       done
   4301       test -z "$LD" && LD="$ac_prog"
   4302       ;;
   4303   "")
   4304     # If it fails, then pretend we aren't using GCC.
   4305     ac_prog=ld
   4306     ;;
   4307   *)
   4308     # If it is relative, then search for the first ld in PATH.
   4309     with_gnu_ld=unknown
   4310     ;;
   4311   esac
   4312 elif test "$with_gnu_ld" = yes; then
   4313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4314 $as_echo_n "checking for GNU ld... " >&6; }
   4315 else
   4316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4317 $as_echo_n "checking for non-GNU ld... " >&6; }
   4318 fi
   4319 if test "${lt_cv_path_LD+set}" = set; then :
   4320   $as_echo_n "(cached) " >&6
   4321 else
   4322   if test -z "$LD"; then
   4323   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4324   for ac_dir in $PATH; do
   4325     IFS="$lt_save_ifs"
   4326     test -z "$ac_dir" && ac_dir=.
   4327     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4328       lt_cv_path_LD="$ac_dir/$ac_prog"
   4329       # Check to see if the program is GNU ld.  I'd rather use --version,
   4330       # but apparently some variants of GNU ld only accept -v.
   4331       # Break only if it was the GNU/non-GNU ld that we prefer.
   4332       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4333       *GNU* | *'with BFD'*)
   4334 	test "$with_gnu_ld" != no && break
   4335 	;;
   4336       *)
   4337 	test "$with_gnu_ld" != yes && break
   4338 	;;
   4339       esac
   4340     fi
   4341   done
   4342   IFS="$lt_save_ifs"
   4343 else
   4344   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4345 fi
   4346 fi
   4347 
   4348 LD="$lt_cv_path_LD"
   4349 if test -n "$LD"; then
   4350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4351 $as_echo "$LD" >&6; }
   4352 else
   4353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4354 $as_echo "no" >&6; }
   4355 fi
   4356 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4358 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4359 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   4360   $as_echo_n "(cached) " >&6
   4361 else
   4362   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4363 case `$LD -v 2>&1 </dev/null` in
   4364 *GNU* | *'with BFD'*)
   4365   lt_cv_prog_gnu_ld=yes
   4366   ;;
   4367 *)
   4368   lt_cv_prog_gnu_ld=no
   4369   ;;
   4370 esac
   4371 fi
   4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4373 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4374 with_gnu_ld=$lt_cv_prog_gnu_ld
   4375 
   4376 
   4377 
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 ac_ext=c
   4385 ac_cpp='$CPP $CPPFLAGS'
   4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4390 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4391 # On Suns, sometimes $CPP names a directory.
   4392 if test -n "$CPP" && test -d "$CPP"; then
   4393   CPP=
   4394 fi
   4395 if test -z "$CPP"; then
   4396   if test "${ac_cv_prog_CPP+set}" = set; then :
   4397   $as_echo_n "(cached) " >&6
   4398 else
   4399       # Double quotes because CPP needs to be expanded
   4400     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4401     do
   4402       ac_preproc_ok=false
   4403 for ac_c_preproc_warn_flag in '' yes
   4404 do
   4405   # Use a header file that comes with gcc, so configuring glibc
   4406   # with a fresh cross-compiler works.
   4407   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4408   # <limits.h> exists even on freestanding compilers.
   4409   # On the NeXT, cc -E runs the code through the compiler's parser,
   4410   # not just through cpp. "Syntax error" is here to catch this case.
   4411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4412 /* end confdefs.h.  */
   4413 #ifdef __STDC__
   4414 # include <limits.h>
   4415 #else
   4416 # include <assert.h>
   4417 #endif
   4418 		     Syntax error
   4419 _ACEOF
   4420 if ac_fn_c_try_cpp "$LINENO"; then :
   4421 
   4422 else
   4423   # Broken: fails on valid input.
   4424 continue
   4425 fi
   4426 rm -f conftest.err conftest.$ac_ext
   4427 
   4428   # OK, works on sane cases.  Now check whether nonexistent headers
   4429   # can be detected and how.
   4430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4431 /* end confdefs.h.  */
   4432 #include <ac_nonexistent.h>
   4433 _ACEOF
   4434 if ac_fn_c_try_cpp "$LINENO"; then :
   4435   # Broken: success on invalid input.
   4436 continue
   4437 else
   4438   # Passes both tests.
   4439 ac_preproc_ok=:
   4440 break
   4441 fi
   4442 rm -f conftest.err conftest.$ac_ext
   4443 
   4444 done
   4445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4446 rm -f conftest.err conftest.$ac_ext
   4447 if $ac_preproc_ok; then :
   4448   break
   4449 fi
   4450 
   4451     done
   4452     ac_cv_prog_CPP=$CPP
   4453 
   4454 fi
   4455   CPP=$ac_cv_prog_CPP
   4456 else
   4457   ac_cv_prog_CPP=$CPP
   4458 fi
   4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4460 $as_echo "$CPP" >&6; }
   4461 ac_preproc_ok=false
   4462 for ac_c_preproc_warn_flag in '' yes
   4463 do
   4464   # Use a header file that comes with gcc, so configuring glibc
   4465   # with a fresh cross-compiler works.
   4466   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4467   # <limits.h> exists even on freestanding compilers.
   4468   # On the NeXT, cc -E runs the code through the compiler's parser,
   4469   # not just through cpp. "Syntax error" is here to catch this case.
   4470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4471 /* end confdefs.h.  */
   4472 #ifdef __STDC__
   4473 # include <limits.h>
   4474 #else
   4475 # include <assert.h>
   4476 #endif
   4477 		     Syntax error
   4478 _ACEOF
   4479 if ac_fn_c_try_cpp "$LINENO"; then :
   4480 
   4481 else
   4482   # Broken: fails on valid input.
   4483 continue
   4484 fi
   4485 rm -f conftest.err conftest.$ac_ext
   4486 
   4487   # OK, works on sane cases.  Now check whether nonexistent headers
   4488   # can be detected and how.
   4489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4490 /* end confdefs.h.  */
   4491 #include <ac_nonexistent.h>
   4492 _ACEOF
   4493 if ac_fn_c_try_cpp "$LINENO"; then :
   4494   # Broken: success on invalid input.
   4495 continue
   4496 else
   4497   # Passes both tests.
   4498 ac_preproc_ok=:
   4499 break
   4500 fi
   4501 rm -f conftest.err conftest.$ac_ext
   4502 
   4503 done
   4504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4505 rm -f conftest.err conftest.$ac_ext
   4506 if $ac_preproc_ok; then :
   4507 
   4508 else
   4509   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4511 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4512 See \`config.log' for more details." "$LINENO" 5; }
   4513 fi
   4514 
   4515 ac_ext=c
   4516 ac_cpp='$CPP $CPPFLAGS'
   4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4520 
   4521 if test -n "$ac_tool_prefix"; then
   4522   # Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
   4523 set dummy ${ac_tool_prefix}sed; ac_word=$2
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4525 $as_echo_n "checking for $ac_word... " >&6; }
   4526 if test "${ac_cv_prog_SED+set}" = set; then :
   4527   $as_echo_n "(cached) " >&6
   4528 else
   4529   if test -n "$SED"; then
   4530   ac_cv_prog_SED="$SED" # Let the user override the test.
   4531 else
   4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4533 for as_dir in $PATH
   4534 do
   4535   IFS=$as_save_IFS
   4536   test -z "$as_dir" && as_dir=.
   4537     for ac_exec_ext in '' $ac_executable_extensions; do
   4538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4539     ac_cv_prog_SED="${ac_tool_prefix}sed"
   4540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4541     break 2
   4542   fi
   4543 done
   4544   done
   4545 IFS=$as_save_IFS
   4546 
   4547 fi
   4548 fi
   4549 SED=$ac_cv_prog_SED
   4550 if test -n "$SED"; then
   4551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
   4552 $as_echo "$SED" >&6; }
   4553 else
   4554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4555 $as_echo "no" >&6; }
   4556 fi
   4557 
   4558 
   4559 fi
   4560 if test -z "$ac_cv_prog_SED"; then
   4561   ac_ct_SED=$SED
   4562   # Extract the first word of "sed", so it can be a program name with args.
   4563 set dummy sed; ac_word=$2
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4565 $as_echo_n "checking for $ac_word... " >&6; }
   4566 if test "${ac_cv_prog_ac_ct_SED+set}" = set; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   if test -n "$ac_ct_SED"; then
   4570   ac_cv_prog_ac_ct_SED="$ac_ct_SED" # Let the user override the test.
   4571 else
   4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4573 for as_dir in $PATH
   4574 do
   4575   IFS=$as_save_IFS
   4576   test -z "$as_dir" && as_dir=.
   4577     for ac_exec_ext in '' $ac_executable_extensions; do
   4578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4579     ac_cv_prog_ac_ct_SED="sed"
   4580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4581     break 2
   4582   fi
   4583 done
   4584   done
   4585 IFS=$as_save_IFS
   4586 
   4587 fi
   4588 fi
   4589 ac_ct_SED=$ac_cv_prog_ac_ct_SED
   4590 if test -n "$ac_ct_SED"; then
   4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_SED" >&5
   4592 $as_echo "$ac_ct_SED" >&6; }
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4595 $as_echo "no" >&6; }
   4596 fi
   4597 
   4598   if test "x$ac_ct_SED" = x; then
   4599     SED=":"
   4600   else
   4601     case $cross_compiling:$ac_tool_warned in
   4602 yes:)
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4605 ac_tool_warned=yes ;;
   4606 esac
   4607     SED=$ac_ct_SED
   4608   fi
   4609 else
   4610   SED="$ac_cv_prog_SED"
   4611 fi
   4612 
   4613 enable_win32_dll=yes
   4614 
   4615 case $host in
   4616 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
   4617   if test -n "$ac_tool_prefix"; then
   4618   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4619 set dummy ${ac_tool_prefix}as; ac_word=$2
   4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4621 $as_echo_n "checking for $ac_word... " >&6; }
   4622 if test "${ac_cv_prog_AS+set}" = set; then :
   4623   $as_echo_n "(cached) " >&6
   4624 else
   4625   if test -n "$AS"; then
   4626   ac_cv_prog_AS="$AS" # Let the user override the test.
   4627 else
   4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4629 for as_dir in $PATH
   4630 do
   4631   IFS=$as_save_IFS
   4632   test -z "$as_dir" && as_dir=.
   4633     for ac_exec_ext in '' $ac_executable_extensions; do
   4634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4635     ac_cv_prog_AS="${ac_tool_prefix}as"
   4636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4637     break 2
   4638   fi
   4639 done
   4640   done
   4641 IFS=$as_save_IFS
   4642 
   4643 fi
   4644 fi
   4645 AS=$ac_cv_prog_AS
   4646 if test -n "$AS"; then
   4647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4648 $as_echo "$AS" >&6; }
   4649 else
   4650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4651 $as_echo "no" >&6; }
   4652 fi
   4653 
   4654 
   4655 fi
   4656 if test -z "$ac_cv_prog_AS"; then
   4657   ac_ct_AS=$AS
   4658   # Extract the first word of "as", so it can be a program name with args.
   4659 set dummy as; ac_word=$2
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4661 $as_echo_n "checking for $ac_word... " >&6; }
   4662 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665   if test -n "$ac_ct_AS"; then
   4666   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4667 else
   4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4669 for as_dir in $PATH
   4670 do
   4671   IFS=$as_save_IFS
   4672   test -z "$as_dir" && as_dir=.
   4673     for ac_exec_ext in '' $ac_executable_extensions; do
   4674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4675     ac_cv_prog_ac_ct_AS="as"
   4676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4677     break 2
   4678   fi
   4679 done
   4680   done
   4681 IFS=$as_save_IFS
   4682 
   4683 fi
   4684 fi
   4685 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4686 if test -n "$ac_ct_AS"; then
   4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4688 $as_echo "$ac_ct_AS" >&6; }
   4689 else
   4690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4691 $as_echo "no" >&6; }
   4692 fi
   4693 
   4694   if test "x$ac_ct_AS" = x; then
   4695     AS="false"
   4696   else
   4697     case $cross_compiling:$ac_tool_warned in
   4698 yes:)
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4701 ac_tool_warned=yes ;;
   4702 esac
   4703     AS=$ac_ct_AS
   4704   fi
   4705 else
   4706   AS="$ac_cv_prog_AS"
   4707 fi
   4708 
   4709   if test -n "$ac_tool_prefix"; then
   4710   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4711 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4713 $as_echo_n "checking for $ac_word... " >&6; }
   4714 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   if test -n "$DLLTOOL"; then
   4718   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4719 else
   4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4721 for as_dir in $PATH
   4722 do
   4723   IFS=$as_save_IFS
   4724   test -z "$as_dir" && as_dir=.
   4725     for ac_exec_ext in '' $ac_executable_extensions; do
   4726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4727     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4729     break 2
   4730   fi
   4731 done
   4732   done
   4733 IFS=$as_save_IFS
   4734 
   4735 fi
   4736 fi
   4737 DLLTOOL=$ac_cv_prog_DLLTOOL
   4738 if test -n "$DLLTOOL"; then
   4739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   4740 $as_echo "$DLLTOOL" >&6; }
   4741 else
   4742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4743 $as_echo "no" >&6; }
   4744 fi
   4745 
   4746 
   4747 fi
   4748 if test -z "$ac_cv_prog_DLLTOOL"; then
   4749   ac_ct_DLLTOOL=$DLLTOOL
   4750   # Extract the first word of "dlltool", so it can be a program name with args.
   4751 set dummy dlltool; ac_word=$2
   4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4753 $as_echo_n "checking for $ac_word... " >&6; }
   4754 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
   4755   $as_echo_n "(cached) " >&6
   4756 else
   4757   if test -n "$ac_ct_DLLTOOL"; then
   4758   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4759 else
   4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4761 for as_dir in $PATH
   4762 do
   4763   IFS=$as_save_IFS
   4764   test -z "$as_dir" && as_dir=.
   4765     for ac_exec_ext in '' $ac_executable_extensions; do
   4766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4767     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4769     break 2
   4770   fi
   4771 done
   4772   done
   4773 IFS=$as_save_IFS
   4774 
   4775 fi
   4776 fi
   4777 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4778 if test -n "$ac_ct_DLLTOOL"; then
   4779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   4780 $as_echo "$ac_ct_DLLTOOL" >&6; }
   4781 else
   4782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4783 $as_echo "no" >&6; }
   4784 fi
   4785 
   4786   if test "x$ac_ct_DLLTOOL" = x; then
   4787     DLLTOOL="false"
   4788   else
   4789     case $cross_compiling:$ac_tool_warned in
   4790 yes:)
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4793 ac_tool_warned=yes ;;
   4794 esac
   4795     DLLTOOL=$ac_ct_DLLTOOL
   4796   fi
   4797 else
   4798   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4799 fi
   4800 
   4801   if test -n "$ac_tool_prefix"; then
   4802   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4803 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4805 $as_echo_n "checking for $ac_word... " >&6; }
   4806 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   4807   $as_echo_n "(cached) " >&6
   4808 else
   4809   if test -n "$OBJDUMP"; then
   4810   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4811 else
   4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4813 for as_dir in $PATH
   4814 do
   4815   IFS=$as_save_IFS
   4816   test -z "$as_dir" && as_dir=.
   4817     for ac_exec_ext in '' $ac_executable_extensions; do
   4818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4819     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4821     break 2
   4822   fi
   4823 done
   4824   done
   4825 IFS=$as_save_IFS
   4826 
   4827 fi
   4828 fi
   4829 OBJDUMP=$ac_cv_prog_OBJDUMP
   4830 if test -n "$OBJDUMP"; then
   4831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4832 $as_echo "$OBJDUMP" >&6; }
   4833 else
   4834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4835 $as_echo "no" >&6; }
   4836 fi
   4837 
   4838 
   4839 fi
   4840 if test -z "$ac_cv_prog_OBJDUMP"; then
   4841   ac_ct_OBJDUMP=$OBJDUMP
   4842   # Extract the first word of "objdump", so it can be a program name with args.
   4843 set dummy objdump; ac_word=$2
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4845 $as_echo_n "checking for $ac_word... " >&6; }
   4846 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   4847   $as_echo_n "(cached) " >&6
   4848 else
   4849   if test -n "$ac_ct_OBJDUMP"; then
   4850   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4851 else
   4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4853 for as_dir in $PATH
   4854 do
   4855   IFS=$as_save_IFS
   4856   test -z "$as_dir" && as_dir=.
   4857     for ac_exec_ext in '' $ac_executable_extensions; do
   4858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4859     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4861     break 2
   4862   fi
   4863 done
   4864   done
   4865 IFS=$as_save_IFS
   4866 
   4867 fi
   4868 fi
   4869 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4870 if test -n "$ac_ct_OBJDUMP"; then
   4871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4872 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4873 else
   4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4875 $as_echo "no" >&6; }
   4876 fi
   4877 
   4878   if test "x$ac_ct_OBJDUMP" = x; then
   4879     OBJDUMP="false"
   4880   else
   4881     case $cross_compiling:$ac_tool_warned in
   4882 yes:)
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4885 ac_tool_warned=yes ;;
   4886 esac
   4887     OBJDUMP=$ac_ct_OBJDUMP
   4888   fi
   4889 else
   4890   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4891 fi
   4892 
   4893   ;;
   4894 esac
   4895 
   4896 test -z "$AS" && AS=as
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 test -z "$DLLTOOL" && DLLTOOL=dlltool
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 test -z "$OBJDUMP" && OBJDUMP=objdump
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4918 $as_echo_n "checking whether ln -s works... " >&6; }
   4919 LN_S=$as_ln_s
   4920 if test "$LN_S" = "ln -s"; then
   4921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4922 $as_echo "yes" >&6; }
   4923 else
   4924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4925 $as_echo "no, using $LN_S" >&6; }
   4926 fi
   4927 
   4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4929 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4930 set x ${MAKE-make}
   4931 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4932 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   cat >conftest.make <<\_ACEOF
   4936 SHELL = /bin/sh
   4937 all:
   4938 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4939 _ACEOF
   4940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   4941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4942   *@@@%%%=?*=@@@%%%*)
   4943     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4944   *)
   4945     eval ac_cv_prog_make_${ac_make}_set=no;;
   4946 esac
   4947 rm -f conftest.make
   4948 fi
   4949 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4951 $as_echo "yes" >&6; }
   4952   SET_MAKE=
   4953 else
   4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4955 $as_echo "no" >&6; }
   4956   SET_MAKE="MAKE=${MAKE-make}"
   4957 fi
   4958 
   4959 case `pwd` in
   4960   *\ * | *\	*)
   4961     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4962 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4963 esac
   4964 
   4965 
   4966 
   4967 macro_version='2.2.6b'
   4968 macro_revision='1.3017'
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 ltmain="$ac_aux_dir/ltmain.sh"
   4983 
   4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4985 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4986 if test "${lt_cv_path_NM+set}" = set; then :
   4987   $as_echo_n "(cached) " >&6
   4988 else
   4989   if test -n "$NM"; then
   4990   # Let the user override the test.
   4991   lt_cv_path_NM="$NM"
   4992 else
   4993   lt_nm_to_check="${ac_tool_prefix}nm"
   4994   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4995     lt_nm_to_check="$lt_nm_to_check nm"
   4996   fi
   4997   for lt_tmp_nm in $lt_nm_to_check; do
   4998     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4999     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5000       IFS="$lt_save_ifs"
   5001       test -z "$ac_dir" && ac_dir=.
   5002       tmp_nm="$ac_dir/$lt_tmp_nm"
   5003       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5004 	# Check to see if the nm accepts a BSD-compat flag.
   5005 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5006 	#   nm: unknown option "B" ignored
   5007 	# Tru64's nm complains that /dev/null is an invalid object file
   5008 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5009 	*/dev/null* | *'Invalid file or object type'*)
   5010 	  lt_cv_path_NM="$tmp_nm -B"
   5011 	  break
   5012 	  ;;
   5013 	*)
   5014 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5015 	  */dev/null*)
   5016 	    lt_cv_path_NM="$tmp_nm -p"
   5017 	    break
   5018 	    ;;
   5019 	  *)
   5020 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5021 	    continue # so that we can try to find one that supports BSD flags
   5022 	    ;;
   5023 	  esac
   5024 	  ;;
   5025 	esac
   5026       fi
   5027     done
   5028     IFS="$lt_save_ifs"
   5029   done
   5030   : ${lt_cv_path_NM=no}
   5031 fi
   5032 fi
   5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5034 $as_echo "$lt_cv_path_NM" >&6; }
   5035 if test "$lt_cv_path_NM" != "no"; then
   5036   NM="$lt_cv_path_NM"
   5037 else
   5038   # Didn't find any BSD compatible name lister, look for dumpbin.
   5039   if test -n "$ac_tool_prefix"; then
   5040   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5041   do
   5042     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5045 $as_echo_n "checking for $ac_word... " >&6; }
   5046 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5047   $as_echo_n "(cached) " >&6
   5048 else
   5049   if test -n "$DUMPBIN"; then
   5050   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5051 else
   5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5053 for as_dir in $PATH
   5054 do
   5055   IFS=$as_save_IFS
   5056   test -z "$as_dir" && as_dir=.
   5057     for ac_exec_ext in '' $ac_executable_extensions; do
   5058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5059     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5061     break 2
   5062   fi
   5063 done
   5064   done
   5065 IFS=$as_save_IFS
   5066 
   5067 fi
   5068 fi
   5069 DUMPBIN=$ac_cv_prog_DUMPBIN
   5070 if test -n "$DUMPBIN"; then
   5071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5072 $as_echo "$DUMPBIN" >&6; }
   5073 else
   5074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5075 $as_echo "no" >&6; }
   5076 fi
   5077 
   5078 
   5079     test -n "$DUMPBIN" && break
   5080   done
   5081 fi
   5082 if test -z "$DUMPBIN"; then
   5083   ac_ct_DUMPBIN=$DUMPBIN
   5084   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5085 do
   5086   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5087 set dummy $ac_prog; ac_word=$2
   5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5089 $as_echo_n "checking for $ac_word... " >&6; }
   5090 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5091   $as_echo_n "(cached) " >&6
   5092 else
   5093   if test -n "$ac_ct_DUMPBIN"; then
   5094   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5095 else
   5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5097 for as_dir in $PATH
   5098 do
   5099   IFS=$as_save_IFS
   5100   test -z "$as_dir" && as_dir=.
   5101     for ac_exec_ext in '' $ac_executable_extensions; do
   5102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5103     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5105     break 2
   5106   fi
   5107 done
   5108   done
   5109 IFS=$as_save_IFS
   5110 
   5111 fi
   5112 fi
   5113 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5114 if test -n "$ac_ct_DUMPBIN"; then
   5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5116 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5117 else
   5118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5119 $as_echo "no" >&6; }
   5120 fi
   5121 
   5122 
   5123   test -n "$ac_ct_DUMPBIN" && break
   5124 done
   5125 
   5126   if test "x$ac_ct_DUMPBIN" = x; then
   5127     DUMPBIN=":"
   5128   else
   5129     case $cross_compiling:$ac_tool_warned in
   5130 yes:)
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5133 ac_tool_warned=yes ;;
   5134 esac
   5135     DUMPBIN=$ac_ct_DUMPBIN
   5136   fi
   5137 fi
   5138 
   5139 
   5140   if test "$DUMPBIN" != ":"; then
   5141     NM="$DUMPBIN"
   5142   fi
   5143 fi
   5144 test -z "$NM" && NM=nm
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5152 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5153 if test "${lt_cv_nm_interface+set}" = set; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   lt_cv_nm_interface="BSD nm"
   5157   echo "int some_variable = 0;" > conftest.$ac_ext
   5158   (eval echo "\"\$as_me:5158: $ac_compile\"" >&5)
   5159   (eval "$ac_compile" 2>conftest.err)
   5160   cat conftest.err >&5
   5161   (eval echo "\"\$as_me:5161: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5162   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5163   cat conftest.err >&5
   5164   (eval echo "\"\$as_me:5164: output\"" >&5)
   5165   cat conftest.out >&5
   5166   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5167     lt_cv_nm_interface="MS dumpbin"
   5168   fi
   5169   rm -f conftest*
   5170 fi
   5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5172 $as_echo "$lt_cv_nm_interface" >&6; }
   5173 
   5174 # find the maximum length of command line arguments
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5176 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5177 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180     i=0
   5181   teststring="ABCD"
   5182 
   5183   case $build_os in
   5184   msdosdjgpp*)
   5185     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5186     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5187     # during glob expansion).  Even if it were fixed, the result of this
   5188     # check would be larger than it should be.
   5189     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5190     ;;
   5191 
   5192   gnu*)
   5193     # Under GNU Hurd, this test is not required because there is
   5194     # no limit to the length of command line arguments.
   5195     # Libtool will interpret -1 as no limit whatsoever
   5196     lt_cv_sys_max_cmd_len=-1;
   5197     ;;
   5198 
   5199   cygwin* | mingw* | cegcc*)
   5200     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5201     # about 5 minutes as the teststring grows exponentially.
   5202     # Worse, since 9x/ME are not pre-emptively multitasking,
   5203     # you end up with a "frozen" computer, even though with patience
   5204     # the test eventually succeeds (with a max line length of 256k).
   5205     # Instead, let's just punt: use the minimum linelength reported by
   5206     # all of the supported platforms: 8192 (on NT/2K/XP).
   5207     lt_cv_sys_max_cmd_len=8192;
   5208     ;;
   5209 
   5210   amigaos*)
   5211     # On AmigaOS with pdksh, this test takes hours, literally.
   5212     # So we just punt and use a minimum line length of 8192.
   5213     lt_cv_sys_max_cmd_len=8192;
   5214     ;;
   5215 
   5216   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5217     # This has been around since 386BSD, at least.  Likely further.
   5218     if test -x /sbin/sysctl; then
   5219       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5220     elif test -x /usr/sbin/sysctl; then
   5221       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5222     else
   5223       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5224     fi
   5225     # And add a safety zone
   5226     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5227     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5228     ;;
   5229 
   5230   interix*)
   5231     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5232     lt_cv_sys_max_cmd_len=196608
   5233     ;;
   5234 
   5235   osf*)
   5236     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5237     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5238     # nice to cause kernel panics so lets avoid the loop below.
   5239     # First set a reasonable default.
   5240     lt_cv_sys_max_cmd_len=16384
   5241     #
   5242     if test -x /sbin/sysconfig; then
   5243       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5244         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5245       esac
   5246     fi
   5247     ;;
   5248   sco3.2v5*)
   5249     lt_cv_sys_max_cmd_len=102400
   5250     ;;
   5251   sysv5* | sco5v6* | sysv4.2uw2*)
   5252     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5253     if test -n "$kargmax"; then
   5254       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5255     else
   5256       lt_cv_sys_max_cmd_len=32768
   5257     fi
   5258     ;;
   5259   *)
   5260     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5261     if test -n "$lt_cv_sys_max_cmd_len"; then
   5262       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5263       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5264     else
   5265       # Make teststring a little bigger before we do anything with it.
   5266       # a 1K string should be a reasonable start.
   5267       for i in 1 2 3 4 5 6 7 8 ; do
   5268         teststring=$teststring$teststring
   5269       done
   5270       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5271       # If test is not a shell built-in, we'll probably end up computing a
   5272       # maximum length that is only half of the actual maximum length, but
   5273       # we can't tell.
   5274       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5275 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5276 	      test $i != 17 # 1/2 MB should be enough
   5277       do
   5278         i=`expr $i + 1`
   5279         teststring=$teststring$teststring
   5280       done
   5281       # Only check the string length outside the loop.
   5282       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5283       teststring=
   5284       # Add a significant safety factor because C++ compilers can tack on
   5285       # massive amounts of additional arguments before passing them to the
   5286       # linker.  It appears as though 1/2 is a usable value.
   5287       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5288     fi
   5289     ;;
   5290   esac
   5291 
   5292 fi
   5293 
   5294 if test -n $lt_cv_sys_max_cmd_len ; then
   5295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5296 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5297 else
   5298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5299 $as_echo "none" >&6; }
   5300 fi
   5301 max_cmd_len=$lt_cv_sys_max_cmd_len
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 : ${CP="cp -f"}
   5309 : ${MV="mv -f"}
   5310 : ${RM="rm -f"}
   5311 
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5313 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5314 # Try some XSI features
   5315 xsi_shell=no
   5316 ( _lt_dummy="a/b/c"
   5317   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5318       = c,a/b,, \
   5319     && eval 'test $(( 1 + 1 )) -eq 2 \
   5320     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5321   && xsi_shell=yes
   5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5323 $as_echo "$xsi_shell" >&6; }
   5324 
   5325 
   5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5327 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5328 lt_shell_append=no
   5329 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5330     >/dev/null 2>&1 \
   5331   && lt_shell_append=yes
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5333 $as_echo "$lt_shell_append" >&6; }
   5334 
   5335 
   5336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5337   lt_unset=unset
   5338 else
   5339   lt_unset=false
   5340 fi
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 # test EBCDIC or ASCII
   5347 case `echo X|tr X '\101'` in
   5348  A) # ASCII based system
   5349     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5350   lt_SP2NL='tr \040 \012'
   5351   lt_NL2SP='tr \015\012 \040\040'
   5352   ;;
   5353  *) # EBCDIC based system
   5354   lt_SP2NL='tr \100 \n'
   5355   lt_NL2SP='tr \r\n \100\100'
   5356   ;;
   5357 esac
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5368 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5369 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5370   $as_echo_n "(cached) " >&6
   5371 else
   5372   lt_cv_ld_reload_flag='-r'
   5373 fi
   5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5375 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5376 reload_flag=$lt_cv_ld_reload_flag
   5377 case $reload_flag in
   5378 "" | " "*) ;;
   5379 *) reload_flag=" $reload_flag" ;;
   5380 esac
   5381 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5382 case $host_os in
   5383   darwin*)
   5384     if test "$GCC" = yes; then
   5385       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5386     else
   5387       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5388     fi
   5389     ;;
   5390 esac
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 if test -n "$ac_tool_prefix"; then
   5401   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5402 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5404 $as_echo_n "checking for $ac_word... " >&6; }
   5405 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5406   $as_echo_n "(cached) " >&6
   5407 else
   5408   if test -n "$OBJDUMP"; then
   5409   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5410 else
   5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5412 for as_dir in $PATH
   5413 do
   5414   IFS=$as_save_IFS
   5415   test -z "$as_dir" && as_dir=.
   5416     for ac_exec_ext in '' $ac_executable_extensions; do
   5417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5418     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5420     break 2
   5421   fi
   5422 done
   5423   done
   5424 IFS=$as_save_IFS
   5425 
   5426 fi
   5427 fi
   5428 OBJDUMP=$ac_cv_prog_OBJDUMP
   5429 if test -n "$OBJDUMP"; then
   5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5431 $as_echo "$OBJDUMP" >&6; }
   5432 else
   5433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5434 $as_echo "no" >&6; }
   5435 fi
   5436 
   5437 
   5438 fi
   5439 if test -z "$ac_cv_prog_OBJDUMP"; then
   5440   ac_ct_OBJDUMP=$OBJDUMP
   5441   # Extract the first word of "objdump", so it can be a program name with args.
   5442 set dummy objdump; ac_word=$2
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5444 $as_echo_n "checking for $ac_word... " >&6; }
   5445 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   if test -n "$ac_ct_OBJDUMP"; then
   5449   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5450 else
   5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5452 for as_dir in $PATH
   5453 do
   5454   IFS=$as_save_IFS
   5455   test -z "$as_dir" && as_dir=.
   5456     for ac_exec_ext in '' $ac_executable_extensions; do
   5457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5458     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5460     break 2
   5461   fi
   5462 done
   5463   done
   5464 IFS=$as_save_IFS
   5465 
   5466 fi
   5467 fi
   5468 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5469 if test -n "$ac_ct_OBJDUMP"; then
   5470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5471 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5472 else
   5473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5474 $as_echo "no" >&6; }
   5475 fi
   5476 
   5477   if test "x$ac_ct_OBJDUMP" = x; then
   5478     OBJDUMP="false"
   5479   else
   5480     case $cross_compiling:$ac_tool_warned in
   5481 yes:)
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5484 ac_tool_warned=yes ;;
   5485 esac
   5486     OBJDUMP=$ac_ct_OBJDUMP
   5487   fi
   5488 else
   5489   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5490 fi
   5491 
   5492 test -z "$OBJDUMP" && OBJDUMP=objdump
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5500 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5501 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5502   $as_echo_n "(cached) " >&6
   5503 else
   5504   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5505 lt_cv_file_magic_test_file=
   5506 lt_cv_deplibs_check_method='unknown'
   5507 # Need to set the preceding variable on all platforms that support
   5508 # interlibrary dependencies.
   5509 # 'none' -- dependencies not supported.
   5510 # `unknown' -- same as none, but documents that we really don't know.
   5511 # 'pass_all' -- all dependencies passed with no checks.
   5512 # 'test_compile' -- check by making test program.
   5513 # 'file_magic [[regex]]' -- check by looking for files in library path
   5514 # which responds to the $file_magic_cmd with a given extended regex.
   5515 # If you have `file' or equivalent on your system and you're not sure
   5516 # whether `pass_all' will *always* work, you probably want this one.
   5517 
   5518 case $host_os in
   5519 aix[4-9]*)
   5520   lt_cv_deplibs_check_method=pass_all
   5521   ;;
   5522 
   5523 beos*)
   5524   lt_cv_deplibs_check_method=pass_all
   5525   ;;
   5526 
   5527 bsdi[45]*)
   5528   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5529   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5530   lt_cv_file_magic_test_file=/shlib/libc.so
   5531   ;;
   5532 
   5533 cygwin*)
   5534   # func_win32_libid is a shell function defined in ltmain.sh
   5535   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5536   lt_cv_file_magic_cmd='func_win32_libid'
   5537   ;;
   5538 
   5539 mingw* | pw32*)
   5540   # Base MSYS/MinGW do not provide the 'file' command needed by
   5541   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5542   # unless we find 'file', for example because we are cross-compiling.
   5543   if ( file / ) >/dev/null 2>&1; then
   5544     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5545     lt_cv_file_magic_cmd='func_win32_libid'
   5546   else
   5547     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5548     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5549   fi
   5550   ;;
   5551 
   5552 cegcc)
   5553   # use the weaker test based on 'objdump'. See mingw*.
   5554   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5555   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5556   ;;
   5557 
   5558 darwin* | rhapsody*)
   5559   lt_cv_deplibs_check_method=pass_all
   5560   ;;
   5561 
   5562 freebsd* | dragonfly*)
   5563   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5564     case $host_cpu in
   5565     i*86 )
   5566       # Not sure whether the presence of OpenBSD here was a mistake.
   5567       # Let's accept both of them until this is cleared up.
   5568       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5569       lt_cv_file_magic_cmd=/usr/bin/file
   5570       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5571       ;;
   5572     esac
   5573   else
   5574     lt_cv_deplibs_check_method=pass_all
   5575   fi
   5576   ;;
   5577 
   5578 gnu*)
   5579   lt_cv_deplibs_check_method=pass_all
   5580   ;;
   5581 
   5582 hpux10.20* | hpux11*)
   5583   lt_cv_file_magic_cmd=/usr/bin/file
   5584   case $host_cpu in
   5585   ia64*)
   5586     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5587     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5588     ;;
   5589   hppa*64*)
   5590     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5591     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5592     ;;
   5593   *)
   5594     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5595     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5596     ;;
   5597   esac
   5598   ;;
   5599 
   5600 interix[3-9]*)
   5601   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5602   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5603   ;;
   5604 
   5605 irix5* | irix6* | nonstopux*)
   5606   case $LD in
   5607   *-32|*"-32 ") libmagic=32-bit;;
   5608   *-n32|*"-n32 ") libmagic=N32;;
   5609   *-64|*"-64 ") libmagic=64-bit;;
   5610   *) libmagic=never-match;;
   5611   esac
   5612   lt_cv_deplibs_check_method=pass_all
   5613   ;;
   5614 
   5615 # This must be Linux ELF.
   5616 linux* | k*bsd*-gnu)
   5617   lt_cv_deplibs_check_method=pass_all
   5618   ;;
   5619 
   5620 netbsd*)
   5621   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5622     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5623   else
   5624     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5625   fi
   5626   ;;
   5627 
   5628 newos6*)
   5629   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5630   lt_cv_file_magic_cmd=/usr/bin/file
   5631   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5632   ;;
   5633 
   5634 *nto* | *qnx*)
   5635   lt_cv_deplibs_check_method=pass_all
   5636   ;;
   5637 
   5638 openbsd*)
   5639   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5640     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5641   else
   5642     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5643   fi
   5644   ;;
   5645 
   5646 osf3* | osf4* | osf5*)
   5647   lt_cv_deplibs_check_method=pass_all
   5648   ;;
   5649 
   5650 rdos*)
   5651   lt_cv_deplibs_check_method=pass_all
   5652   ;;
   5653 
   5654 solaris*)
   5655   lt_cv_deplibs_check_method=pass_all
   5656   ;;
   5657 
   5658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5659   lt_cv_deplibs_check_method=pass_all
   5660   ;;
   5661 
   5662 sysv4 | sysv4.3*)
   5663   case $host_vendor in
   5664   motorola)
   5665     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   5666     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5667     ;;
   5668   ncr)
   5669     lt_cv_deplibs_check_method=pass_all
   5670     ;;
   5671   sequent)
   5672     lt_cv_file_magic_cmd='/bin/file'
   5673     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5674     ;;
   5675   sni)
   5676     lt_cv_file_magic_cmd='/bin/file'
   5677     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5678     lt_cv_file_magic_test_file=/lib/libc.so
   5679     ;;
   5680   siemens)
   5681     lt_cv_deplibs_check_method=pass_all
   5682     ;;
   5683   pc)
   5684     lt_cv_deplibs_check_method=pass_all
   5685     ;;
   5686   esac
   5687   ;;
   5688 
   5689 tpf*)
   5690   lt_cv_deplibs_check_method=pass_all
   5691   ;;
   5692 esac
   5693 
   5694 fi
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5696 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5697 file_magic_cmd=$lt_cv_file_magic_cmd
   5698 deplibs_check_method=$lt_cv_deplibs_check_method
   5699 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 if test -n "$ac_tool_prefix"; then
   5713   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5714 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5716 $as_echo_n "checking for $ac_word... " >&6; }
   5717 if test "${ac_cv_prog_AR+set}" = set; then :
   5718   $as_echo_n "(cached) " >&6
   5719 else
   5720   if test -n "$AR"; then
   5721   ac_cv_prog_AR="$AR" # Let the user override the test.
   5722 else
   5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5724 for as_dir in $PATH
   5725 do
   5726   IFS=$as_save_IFS
   5727   test -z "$as_dir" && as_dir=.
   5728     for ac_exec_ext in '' $ac_executable_extensions; do
   5729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5730     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5732     break 2
   5733   fi
   5734 done
   5735   done
   5736 IFS=$as_save_IFS
   5737 
   5738 fi
   5739 fi
   5740 AR=$ac_cv_prog_AR
   5741 if test -n "$AR"; then
   5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5743 $as_echo "$AR" >&6; }
   5744 else
   5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5746 $as_echo "no" >&6; }
   5747 fi
   5748 
   5749 
   5750 fi
   5751 if test -z "$ac_cv_prog_AR"; then
   5752   ac_ct_AR=$AR
   5753   # Extract the first word of "ar", so it can be a program name with args.
   5754 set dummy ar; ac_word=$2
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5756 $as_echo_n "checking for $ac_word... " >&6; }
   5757 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -n "$ac_ct_AR"; then
   5761   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5762 else
   5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5770     ac_cv_prog_ac_ct_AR="ar"
   5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775   done
   5776 IFS=$as_save_IFS
   5777 
   5778 fi
   5779 fi
   5780 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5781 if test -n "$ac_ct_AR"; then
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5783 $as_echo "$ac_ct_AR" >&6; }
   5784 else
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5786 $as_echo "no" >&6; }
   5787 fi
   5788 
   5789   if test "x$ac_ct_AR" = x; then
   5790     AR="false"
   5791   else
   5792     case $cross_compiling:$ac_tool_warned in
   5793 yes:)
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5796 ac_tool_warned=yes ;;
   5797 esac
   5798     AR=$ac_ct_AR
   5799   fi
   5800 else
   5801   AR="$ac_cv_prog_AR"
   5802 fi
   5803 
   5804 test -z "$AR" && AR=ar
   5805 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 if test -n "$ac_tool_prefix"; then
   5818   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5819 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5821 $as_echo_n "checking for $ac_word... " >&6; }
   5822 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   if test -n "$STRIP"; then
   5826   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5827 else
   5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5829 for as_dir in $PATH
   5830 do
   5831   IFS=$as_save_IFS
   5832   test -z "$as_dir" && as_dir=.
   5833     for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5835     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840   done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi
   5844 fi
   5845 STRIP=$ac_cv_prog_STRIP
   5846 if test -n "$STRIP"; then
   5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5848 $as_echo "$STRIP" >&6; }
   5849 else
   5850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5851 $as_echo "no" >&6; }
   5852 fi
   5853 
   5854 
   5855 fi
   5856 if test -z "$ac_cv_prog_STRIP"; then
   5857   ac_ct_STRIP=$STRIP
   5858   # Extract the first word of "strip", so it can be a program name with args.
   5859 set dummy strip; ac_word=$2
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5861 $as_echo_n "checking for $ac_word... " >&6; }
   5862 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   if test -n "$ac_ct_STRIP"; then
   5866   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5867 else
   5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5869 for as_dir in $PATH
   5870 do
   5871   IFS=$as_save_IFS
   5872   test -z "$as_dir" && as_dir=.
   5873     for ac_exec_ext in '' $ac_executable_extensions; do
   5874   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5875     ac_cv_prog_ac_ct_STRIP="strip"
   5876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5877     break 2
   5878   fi
   5879 done
   5880   done
   5881 IFS=$as_save_IFS
   5882 
   5883 fi
   5884 fi
   5885 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5886 if test -n "$ac_ct_STRIP"; then
   5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5888 $as_echo "$ac_ct_STRIP" >&6; }
   5889 else
   5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5891 $as_echo "no" >&6; }
   5892 fi
   5893 
   5894   if test "x$ac_ct_STRIP" = x; then
   5895     STRIP=":"
   5896   else
   5897     case $cross_compiling:$ac_tool_warned in
   5898 yes:)
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5901 ac_tool_warned=yes ;;
   5902 esac
   5903     STRIP=$ac_ct_STRIP
   5904   fi
   5905 else
   5906   STRIP="$ac_cv_prog_STRIP"
   5907 fi
   5908 
   5909 test -z "$STRIP" && STRIP=:
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 if test -n "$ac_tool_prefix"; then
   5917   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5920 $as_echo_n "checking for $ac_word... " >&6; }
   5921 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   if test -n "$RANLIB"; then
   5925   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5926 else
   5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5928 for as_dir in $PATH
   5929 do
   5930   IFS=$as_save_IFS
   5931   test -z "$as_dir" && as_dir=.
   5932     for ac_exec_ext in '' $ac_executable_extensions; do
   5933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5934     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5936     break 2
   5937   fi
   5938 done
   5939   done
   5940 IFS=$as_save_IFS
   5941 
   5942 fi
   5943 fi
   5944 RANLIB=$ac_cv_prog_RANLIB
   5945 if test -n "$RANLIB"; then
   5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5947 $as_echo "$RANLIB" >&6; }
   5948 else
   5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5950 $as_echo "no" >&6; }
   5951 fi
   5952 
   5953 
   5954 fi
   5955 if test -z "$ac_cv_prog_RANLIB"; then
   5956   ac_ct_RANLIB=$RANLIB
   5957   # Extract the first word of "ranlib", so it can be a program name with args.
   5958 set dummy ranlib; ac_word=$2
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5960 $as_echo_n "checking for $ac_word... " >&6; }
   5961 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5962   $as_echo_n "(cached) " >&6
   5963 else
   5964   if test -n "$ac_ct_RANLIB"; then
   5965   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5966 else
   5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5968 for as_dir in $PATH
   5969 do
   5970   IFS=$as_save_IFS
   5971   test -z "$as_dir" && as_dir=.
   5972     for ac_exec_ext in '' $ac_executable_extensions; do
   5973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5974     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5976     break 2
   5977   fi
   5978 done
   5979   done
   5980 IFS=$as_save_IFS
   5981 
   5982 fi
   5983 fi
   5984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5985 if test -n "$ac_ct_RANLIB"; then
   5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5987 $as_echo "$ac_ct_RANLIB" >&6; }
   5988 else
   5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5990 $as_echo "no" >&6; }
   5991 fi
   5992 
   5993   if test "x$ac_ct_RANLIB" = x; then
   5994     RANLIB=":"
   5995   else
   5996     case $cross_compiling:$ac_tool_warned in
   5997 yes:)
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6000 ac_tool_warned=yes ;;
   6001 esac
   6002     RANLIB=$ac_ct_RANLIB
   6003   fi
   6004 else
   6005   RANLIB="$ac_cv_prog_RANLIB"
   6006 fi
   6007 
   6008 test -z "$RANLIB" && RANLIB=:
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 # Determine commands to create old-style static archives.
   6016 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6017 old_postinstall_cmds='chmod 644 $oldlib'
   6018 old_postuninstall_cmds=
   6019 
   6020 if test -n "$RANLIB"; then
   6021   case $host_os in
   6022   openbsd*)
   6023     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6024     ;;
   6025   *)
   6026     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6027     ;;
   6028   esac
   6029   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6030 fi
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 # If no C compiler was specified, use CC.
   6066 LTCC=${LTCC-"$CC"}
   6067 
   6068 # If no C compiler flags were specified, use CFLAGS.
   6069 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6070 
   6071 # Allow CC to be a program name with arguments.
   6072 compiler=$CC
   6073 
   6074 
   6075 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6077 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6078 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6079   $as_echo_n "(cached) " >&6
   6080 else
   6081 
   6082 # These are sane defaults that work on at least a few old systems.
   6083 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6084 
   6085 # Character class describing NM global symbol codes.
   6086 symcode='[BCDEGRST]'
   6087 
   6088 # Regexp to match symbols that can be accessed directly from C.
   6089 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6090 
   6091 # Define system-specific variables.
   6092 case $host_os in
   6093 aix*)
   6094   symcode='[BCDT]'
   6095   ;;
   6096 cygwin* | mingw* | pw32* | cegcc*)
   6097   symcode='[ABCDGISTW]'
   6098   ;;
   6099 hpux*)
   6100   if test "$host_cpu" = ia64; then
   6101     symcode='[ABCDEGRST]'
   6102   fi
   6103   ;;
   6104 irix* | nonstopux*)
   6105   symcode='[BCDEGRST]'
   6106   ;;
   6107 osf*)
   6108   symcode='[BCDEGQRST]'
   6109   ;;
   6110 solaris*)
   6111   symcode='[BDRT]'
   6112   ;;
   6113 sco3.2v5*)
   6114   symcode='[DT]'
   6115   ;;
   6116 sysv4.2uw2*)
   6117   symcode='[DT]'
   6118   ;;
   6119 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6120   symcode='[ABDT]'
   6121   ;;
   6122 sysv4)
   6123   symcode='[DFNSTU]'
   6124   ;;
   6125 esac
   6126 
   6127 # If we're using GNU nm, then use its standard symbol codes.
   6128 case `$NM -V 2>&1` in
   6129 *GNU* | *'with BFD'*)
   6130   symcode='[ABCDGIRSTW]' ;;
   6131 esac
   6132 
   6133 # Transform an extracted symbol line into a proper C declaration.
   6134 # Some systems (esp. on ia64) link data and code symbols differently,
   6135 # so use this general approach.
   6136 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6137 
   6138 # Transform an extracted symbol line into symbol name and symbol address
   6139 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6140 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6141 
   6142 # Handle CRLF in mingw tool chain
   6143 opt_cr=
   6144 case $build_os in
   6145 mingw*)
   6146   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6147   ;;
   6148 esac
   6149 
   6150 # Try without a prefix underscore, then with it.
   6151 for ac_symprfx in "" "_"; do
   6152 
   6153   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6154   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6155 
   6156   # Write the raw and C identifiers.
   6157   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6158     # Fake it for dumpbin and say T for any non-static function
   6159     # and D for any global variable.
   6160     # Also find C++ and __fastcall symbols from MSVC++,
   6161     # which start with @ or ?.
   6162     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6163 "     {last_section=section; section=\$ 3};"\
   6164 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6165 "     \$ 0!~/External *\|/{next};"\
   6166 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6167 "     {if(hide[section]) next};"\
   6168 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6169 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6170 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6171 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6172 "     ' prfx=^$ac_symprfx"
   6173   else
   6174     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6175   fi
   6176 
   6177   # Check to see that the pipe works correctly.
   6178   pipe_works=no
   6179 
   6180   rm -f conftest*
   6181   cat > conftest.$ac_ext <<_LT_EOF
   6182 #ifdef __cplusplus
   6183 extern "C" {
   6184 #endif
   6185 char nm_test_var;
   6186 void nm_test_func(void);
   6187 void nm_test_func(void){}
   6188 #ifdef __cplusplus
   6189 }
   6190 #endif
   6191 int main(){nm_test_var='a';nm_test_func();return(0);}
   6192 _LT_EOF
   6193 
   6194   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6195   (eval $ac_compile) 2>&5
   6196   ac_status=$?
   6197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6198   test $ac_status = 0; }; then
   6199     # Now try to grab the symbols.
   6200     nlist=conftest.nm
   6201     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6202   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6203   ac_status=$?
   6204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6205   test $ac_status = 0; } && test -s "$nlist"; then
   6206       # Try sorting and uniquifying the output.
   6207       if sort "$nlist" | uniq > "$nlist"T; then
   6208 	mv -f "$nlist"T "$nlist"
   6209       else
   6210 	rm -f "$nlist"T
   6211       fi
   6212 
   6213       # Make sure that we snagged all the symbols we need.
   6214       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6215 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6216 	  cat <<_LT_EOF > conftest.$ac_ext
   6217 #ifdef __cplusplus
   6218 extern "C" {
   6219 #endif
   6220 
   6221 _LT_EOF
   6222 	  # Now generate the symbol file.
   6223 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6224 
   6225 	  cat <<_LT_EOF >> conftest.$ac_ext
   6226 
   6227 /* The mapping between symbol names and symbols.  */
   6228 const struct {
   6229   const char *name;
   6230   void       *address;
   6231 }
   6232 lt__PROGRAM__LTX_preloaded_symbols[] =
   6233 {
   6234   { "@PROGRAM@", (void *) 0 },
   6235 _LT_EOF
   6236 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6237 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6238   {0, (void *) 0}
   6239 };
   6240 
   6241 /* This works around a problem in FreeBSD linker */
   6242 #ifdef FREEBSD_WORKAROUND
   6243 static const void *lt_preloaded_setup() {
   6244   return lt__PROGRAM__LTX_preloaded_symbols;
   6245 }
   6246 #endif
   6247 
   6248 #ifdef __cplusplus
   6249 }
   6250 #endif
   6251 _LT_EOF
   6252 	  # Now try linking the two files.
   6253 	  mv conftest.$ac_objext conftstm.$ac_objext
   6254 	  lt_save_LIBS="$LIBS"
   6255 	  lt_save_CFLAGS="$CFLAGS"
   6256 	  LIBS="conftstm.$ac_objext"
   6257 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6258 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6259   (eval $ac_link) 2>&5
   6260   ac_status=$?
   6261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6262   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6263 	    pipe_works=yes
   6264 	  fi
   6265 	  LIBS="$lt_save_LIBS"
   6266 	  CFLAGS="$lt_save_CFLAGS"
   6267 	else
   6268 	  echo "cannot find nm_test_func in $nlist" >&5
   6269 	fi
   6270       else
   6271 	echo "cannot find nm_test_var in $nlist" >&5
   6272       fi
   6273     else
   6274       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6275     fi
   6276   else
   6277     echo "$progname: failed program was:" >&5
   6278     cat conftest.$ac_ext >&5
   6279   fi
   6280   rm -rf conftest* conftst*
   6281 
   6282   # Do not use the global_symbol_pipe unless it works.
   6283   if test "$pipe_works" = yes; then
   6284     break
   6285   else
   6286     lt_cv_sys_global_symbol_pipe=
   6287   fi
   6288 done
   6289 
   6290 fi
   6291 
   6292 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6293   lt_cv_sys_global_symbol_to_cdecl=
   6294 fi
   6295 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6297 $as_echo "failed" >&6; }
   6298 else
   6299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6300 $as_echo "ok" >&6; }
   6301 fi
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 # Check whether --enable-libtool-lock was given.
   6326 if test "${enable_libtool_lock+set}" = set; then :
   6327   enableval=$enable_libtool_lock;
   6328 fi
   6329 
   6330 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6331 
   6332 # Some flags need to be propagated to the compiler or linker for good
   6333 # libtool support.
   6334 case $host in
   6335 ia64-*-hpux*)
   6336   # Find out which ABI we are using.
   6337   echo 'int i;' > conftest.$ac_ext
   6338   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6339   (eval $ac_compile) 2>&5
   6340   ac_status=$?
   6341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6342   test $ac_status = 0; }; then
   6343     case `/usr/bin/file conftest.$ac_objext` in
   6344       *ELF-32*)
   6345 	HPUX_IA64_MODE="32"
   6346 	;;
   6347       *ELF-64*)
   6348 	HPUX_IA64_MODE="64"
   6349 	;;
   6350     esac
   6351   fi
   6352   rm -rf conftest*
   6353   ;;
   6354 *-*-irix6*)
   6355   # Find out which ABI we are using.
   6356   echo '#line 6356 "configure"' > conftest.$ac_ext
   6357   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6358   (eval $ac_compile) 2>&5
   6359   ac_status=$?
   6360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6361   test $ac_status = 0; }; then
   6362     if test "$lt_cv_prog_gnu_ld" = yes; then
   6363       case `/usr/bin/file conftest.$ac_objext` in
   6364 	*32-bit*)
   6365 	  LD="${LD-ld} -melf32bsmip"
   6366 	  ;;
   6367 	*N32*)
   6368 	  LD="${LD-ld} -melf32bmipn32"
   6369 	  ;;
   6370 	*64-bit*)
   6371 	  LD="${LD-ld} -melf64bmip"
   6372 	;;
   6373       esac
   6374     else
   6375       case `/usr/bin/file conftest.$ac_objext` in
   6376 	*32-bit*)
   6377 	  LD="${LD-ld} -32"
   6378 	  ;;
   6379 	*N32*)
   6380 	  LD="${LD-ld} -n32"
   6381 	  ;;
   6382 	*64-bit*)
   6383 	  LD="${LD-ld} -64"
   6384 	  ;;
   6385       esac
   6386     fi
   6387   fi
   6388   rm -rf conftest*
   6389   ;;
   6390 
   6391 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6392 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6393   # Find out which ABI we are using.
   6394   echo 'int i;' > conftest.$ac_ext
   6395   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6396   (eval $ac_compile) 2>&5
   6397   ac_status=$?
   6398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6399   test $ac_status = 0; }; then
   6400     case `/usr/bin/file conftest.o` in
   6401       *32-bit*)
   6402 	case $host in
   6403 	  x86_64-*kfreebsd*-gnu)
   6404 	    LD="${LD-ld} -m elf_i386_fbsd"
   6405 	    ;;
   6406 	  x86_64-*linux*)
   6407 	    LD="${LD-ld} -m elf_i386"
   6408 	    ;;
   6409 	  ppc64-*linux*|powerpc64-*linux*)
   6410 	    LD="${LD-ld} -m elf32ppclinux"
   6411 	    ;;
   6412 	  s390x-*linux*)
   6413 	    LD="${LD-ld} -m elf_s390"
   6414 	    ;;
   6415 	  sparc64-*linux*)
   6416 	    LD="${LD-ld} -m elf32_sparc"
   6417 	    ;;
   6418 	esac
   6419 	;;
   6420       *64-bit*)
   6421 	case $host in
   6422 	  x86_64-*kfreebsd*-gnu)
   6423 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6424 	    ;;
   6425 	  x86_64-*linux*)
   6426 	    LD="${LD-ld} -m elf_x86_64"
   6427 	    ;;
   6428 	  ppc*-*linux*|powerpc*-*linux*)
   6429 	    LD="${LD-ld} -m elf64ppc"
   6430 	    ;;
   6431 	  s390*-*linux*|s390*-*tpf*)
   6432 	    LD="${LD-ld} -m elf64_s390"
   6433 	    ;;
   6434 	  sparc*-*linux*)
   6435 	    LD="${LD-ld} -m elf64_sparc"
   6436 	    ;;
   6437 	esac
   6438 	;;
   6439     esac
   6440   fi
   6441   rm -rf conftest*
   6442   ;;
   6443 
   6444 *-*-sco3.2v5*)
   6445   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6446   SAVE_CFLAGS="$CFLAGS"
   6447   CFLAGS="$CFLAGS -belf"
   6448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6449 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6450 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6451   $as_echo_n "(cached) " >&6
   6452 else
   6453   ac_ext=c
   6454 ac_cpp='$CPP $CPPFLAGS'
   6455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6458 
   6459      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6460 /* end confdefs.h.  */
   6461 
   6462 int
   6463 main ()
   6464 {
   6465 
   6466   ;
   6467   return 0;
   6468 }
   6469 _ACEOF
   6470 if ac_fn_c_try_link "$LINENO"; then :
   6471   lt_cv_cc_needs_belf=yes
   6472 else
   6473   lt_cv_cc_needs_belf=no
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext \
   6476     conftest$ac_exeext conftest.$ac_ext
   6477      ac_ext=c
   6478 ac_cpp='$CPP $CPPFLAGS'
   6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6482 
   6483 fi
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6485 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6486   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6487     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6488     CFLAGS="$SAVE_CFLAGS"
   6489   fi
   6490   ;;
   6491 sparc*-*solaris*)
   6492   # Find out which ABI we are using.
   6493   echo 'int i;' > conftest.$ac_ext
   6494   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6495   (eval $ac_compile) 2>&5
   6496   ac_status=$?
   6497   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6498   test $ac_status = 0; }; then
   6499     case `/usr/bin/file conftest.o` in
   6500     *64-bit*)
   6501       case $lt_cv_prog_gnu_ld in
   6502       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6503       *)
   6504 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6505 	  LD="${LD-ld} -64"
   6506 	fi
   6507 	;;
   6508       esac
   6509       ;;
   6510     esac
   6511   fi
   6512   rm -rf conftest*
   6513   ;;
   6514 esac
   6515 
   6516 need_locks="$enable_libtool_lock"
   6517 
   6518 
   6519   case $host_os in
   6520     rhapsody* | darwin*)
   6521     if test -n "$ac_tool_prefix"; then
   6522   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6523 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6525 $as_echo_n "checking for $ac_word... " >&6; }
   6526 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   if test -n "$DSYMUTIL"; then
   6530   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6531 else
   6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6533 for as_dir in $PATH
   6534 do
   6535   IFS=$as_save_IFS
   6536   test -z "$as_dir" && as_dir=.
   6537     for ac_exec_ext in '' $ac_executable_extensions; do
   6538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6539     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6541     break 2
   6542   fi
   6543 done
   6544   done
   6545 IFS=$as_save_IFS
   6546 
   6547 fi
   6548 fi
   6549 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6550 if test -n "$DSYMUTIL"; then
   6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6552 $as_echo "$DSYMUTIL" >&6; }
   6553 else
   6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6555 $as_echo "no" >&6; }
   6556 fi
   6557 
   6558 
   6559 fi
   6560 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6561   ac_ct_DSYMUTIL=$DSYMUTIL
   6562   # Extract the first word of "dsymutil", so it can be a program name with args.
   6563 set dummy dsymutil; ac_word=$2
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6565 $as_echo_n "checking for $ac_word... " >&6; }
   6566 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6567   $as_echo_n "(cached) " >&6
   6568 else
   6569   if test -n "$ac_ct_DSYMUTIL"; then
   6570   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6571 else
   6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6573 for as_dir in $PATH
   6574 do
   6575   IFS=$as_save_IFS
   6576   test -z "$as_dir" && as_dir=.
   6577     for ac_exec_ext in '' $ac_executable_extensions; do
   6578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6579     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6581     break 2
   6582   fi
   6583 done
   6584   done
   6585 IFS=$as_save_IFS
   6586 
   6587 fi
   6588 fi
   6589 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6590 if test -n "$ac_ct_DSYMUTIL"; then
   6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6592 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6593 else
   6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6595 $as_echo "no" >&6; }
   6596 fi
   6597 
   6598   if test "x$ac_ct_DSYMUTIL" = x; then
   6599     DSYMUTIL=":"
   6600   else
   6601     case $cross_compiling:$ac_tool_warned in
   6602 yes:)
   6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6605 ac_tool_warned=yes ;;
   6606 esac
   6607     DSYMUTIL=$ac_ct_DSYMUTIL
   6608   fi
   6609 else
   6610   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6611 fi
   6612 
   6613     if test -n "$ac_tool_prefix"; then
   6614   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6615 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6617 $as_echo_n "checking for $ac_word... " >&6; }
   6618 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   if test -n "$NMEDIT"; then
   6622   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6623 else
   6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6625 for as_dir in $PATH
   6626 do
   6627   IFS=$as_save_IFS
   6628   test -z "$as_dir" && as_dir=.
   6629     for ac_exec_ext in '' $ac_executable_extensions; do
   6630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6631     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6633     break 2
   6634   fi
   6635 done
   6636   done
   6637 IFS=$as_save_IFS
   6638 
   6639 fi
   6640 fi
   6641 NMEDIT=$ac_cv_prog_NMEDIT
   6642 if test -n "$NMEDIT"; then
   6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6644 $as_echo "$NMEDIT" >&6; }
   6645 else
   6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6647 $as_echo "no" >&6; }
   6648 fi
   6649 
   6650 
   6651 fi
   6652 if test -z "$ac_cv_prog_NMEDIT"; then
   6653   ac_ct_NMEDIT=$NMEDIT
   6654   # Extract the first word of "nmedit", so it can be a program name with args.
   6655 set dummy nmedit; ac_word=$2
   6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6657 $as_echo_n "checking for $ac_word... " >&6; }
   6658 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6659   $as_echo_n "(cached) " >&6
   6660 else
   6661   if test -n "$ac_ct_NMEDIT"; then
   6662   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6663 else
   6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6665 for as_dir in $PATH
   6666 do
   6667   IFS=$as_save_IFS
   6668   test -z "$as_dir" && as_dir=.
   6669     for ac_exec_ext in '' $ac_executable_extensions; do
   6670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6671     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6673     break 2
   6674   fi
   6675 done
   6676   done
   6677 IFS=$as_save_IFS
   6678 
   6679 fi
   6680 fi
   6681 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6682 if test -n "$ac_ct_NMEDIT"; then
   6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6684 $as_echo "$ac_ct_NMEDIT" >&6; }
   6685 else
   6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6687 $as_echo "no" >&6; }
   6688 fi
   6689 
   6690   if test "x$ac_ct_NMEDIT" = x; then
   6691     NMEDIT=":"
   6692   else
   6693     case $cross_compiling:$ac_tool_warned in
   6694 yes:)
   6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6697 ac_tool_warned=yes ;;
   6698 esac
   6699     NMEDIT=$ac_ct_NMEDIT
   6700   fi
   6701 else
   6702   NMEDIT="$ac_cv_prog_NMEDIT"
   6703 fi
   6704 
   6705     if test -n "$ac_tool_prefix"; then
   6706   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6707 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6709 $as_echo_n "checking for $ac_word... " >&6; }
   6710 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   if test -n "$LIPO"; then
   6714   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6715 else
   6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6717 for as_dir in $PATH
   6718 do
   6719   IFS=$as_save_IFS
   6720   test -z "$as_dir" && as_dir=.
   6721     for ac_exec_ext in '' $ac_executable_extensions; do
   6722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6723     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6725     break 2
   6726   fi
   6727 done
   6728   done
   6729 IFS=$as_save_IFS
   6730 
   6731 fi
   6732 fi
   6733 LIPO=$ac_cv_prog_LIPO
   6734 if test -n "$LIPO"; then
   6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6736 $as_echo "$LIPO" >&6; }
   6737 else
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6739 $as_echo "no" >&6; }
   6740 fi
   6741 
   6742 
   6743 fi
   6744 if test -z "$ac_cv_prog_LIPO"; then
   6745   ac_ct_LIPO=$LIPO
   6746   # Extract the first word of "lipo", so it can be a program name with args.
   6747 set dummy lipo; ac_word=$2
   6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6749 $as_echo_n "checking for $ac_word... " >&6; }
   6750 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   if test -n "$ac_ct_LIPO"; then
   6754   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6755 else
   6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6757 for as_dir in $PATH
   6758 do
   6759   IFS=$as_save_IFS
   6760   test -z "$as_dir" && as_dir=.
   6761     for ac_exec_ext in '' $ac_executable_extensions; do
   6762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6763     ac_cv_prog_ac_ct_LIPO="lipo"
   6764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6765     break 2
   6766   fi
   6767 done
   6768   done
   6769 IFS=$as_save_IFS
   6770 
   6771 fi
   6772 fi
   6773 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6774 if test -n "$ac_ct_LIPO"; then
   6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6776 $as_echo "$ac_ct_LIPO" >&6; }
   6777 else
   6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6779 $as_echo "no" >&6; }
   6780 fi
   6781 
   6782   if test "x$ac_ct_LIPO" = x; then
   6783     LIPO=":"
   6784   else
   6785     case $cross_compiling:$ac_tool_warned in
   6786 yes:)
   6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6789 ac_tool_warned=yes ;;
   6790 esac
   6791     LIPO=$ac_ct_LIPO
   6792   fi
   6793 else
   6794   LIPO="$ac_cv_prog_LIPO"
   6795 fi
   6796 
   6797     if test -n "$ac_tool_prefix"; then
   6798   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6799 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6801 $as_echo_n "checking for $ac_word... " >&6; }
   6802 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   if test -n "$OTOOL"; then
   6806   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6807 else
   6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6809 for as_dir in $PATH
   6810 do
   6811   IFS=$as_save_IFS
   6812   test -z "$as_dir" && as_dir=.
   6813     for ac_exec_ext in '' $ac_executable_extensions; do
   6814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6815     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6817     break 2
   6818   fi
   6819 done
   6820   done
   6821 IFS=$as_save_IFS
   6822 
   6823 fi
   6824 fi
   6825 OTOOL=$ac_cv_prog_OTOOL
   6826 if test -n "$OTOOL"; then
   6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6828 $as_echo "$OTOOL" >&6; }
   6829 else
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6831 $as_echo "no" >&6; }
   6832 fi
   6833 
   6834 
   6835 fi
   6836 if test -z "$ac_cv_prog_OTOOL"; then
   6837   ac_ct_OTOOL=$OTOOL
   6838   # Extract the first word of "otool", so it can be a program name with args.
   6839 set dummy otool; ac_word=$2
   6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6841 $as_echo_n "checking for $ac_word... " >&6; }
   6842 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   6843   $as_echo_n "(cached) " >&6
   6844 else
   6845   if test -n "$ac_ct_OTOOL"; then
   6846   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6847 else
   6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6849 for as_dir in $PATH
   6850 do
   6851   IFS=$as_save_IFS
   6852   test -z "$as_dir" && as_dir=.
   6853     for ac_exec_ext in '' $ac_executable_extensions; do
   6854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6855     ac_cv_prog_ac_ct_OTOOL="otool"
   6856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6857     break 2
   6858   fi
   6859 done
   6860   done
   6861 IFS=$as_save_IFS
   6862 
   6863 fi
   6864 fi
   6865 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6866 if test -n "$ac_ct_OTOOL"; then
   6867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6868 $as_echo "$ac_ct_OTOOL" >&6; }
   6869 else
   6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6871 $as_echo "no" >&6; }
   6872 fi
   6873 
   6874   if test "x$ac_ct_OTOOL" = x; then
   6875     OTOOL=":"
   6876   else
   6877     case $cross_compiling:$ac_tool_warned in
   6878 yes:)
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6881 ac_tool_warned=yes ;;
   6882 esac
   6883     OTOOL=$ac_ct_OTOOL
   6884   fi
   6885 else
   6886   OTOOL="$ac_cv_prog_OTOOL"
   6887 fi
   6888 
   6889     if test -n "$ac_tool_prefix"; then
   6890   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6891 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6893 $as_echo_n "checking for $ac_word... " >&6; }
   6894 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   6895   $as_echo_n "(cached) " >&6
   6896 else
   6897   if test -n "$OTOOL64"; then
   6898   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6899 else
   6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6901 for as_dir in $PATH
   6902 do
   6903   IFS=$as_save_IFS
   6904   test -z "$as_dir" && as_dir=.
   6905     for ac_exec_ext in '' $ac_executable_extensions; do
   6906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6907     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6909     break 2
   6910   fi
   6911 done
   6912   done
   6913 IFS=$as_save_IFS
   6914 
   6915 fi
   6916 fi
   6917 OTOOL64=$ac_cv_prog_OTOOL64
   6918 if test -n "$OTOOL64"; then
   6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6920 $as_echo "$OTOOL64" >&6; }
   6921 else
   6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6923 $as_echo "no" >&6; }
   6924 fi
   6925 
   6926 
   6927 fi
   6928 if test -z "$ac_cv_prog_OTOOL64"; then
   6929   ac_ct_OTOOL64=$OTOOL64
   6930   # Extract the first word of "otool64", so it can be a program name with args.
   6931 set dummy otool64; ac_word=$2
   6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6933 $as_echo_n "checking for $ac_word... " >&6; }
   6934 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   if test -n "$ac_ct_OTOOL64"; then
   6938   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6939 else
   6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6941 for as_dir in $PATH
   6942 do
   6943   IFS=$as_save_IFS
   6944   test -z "$as_dir" && as_dir=.
   6945     for ac_exec_ext in '' $ac_executable_extensions; do
   6946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6947     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6949     break 2
   6950   fi
   6951 done
   6952   done
   6953 IFS=$as_save_IFS
   6954 
   6955 fi
   6956 fi
   6957 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6958 if test -n "$ac_ct_OTOOL64"; then
   6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6960 $as_echo "$ac_ct_OTOOL64" >&6; }
   6961 else
   6962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6963 $as_echo "no" >&6; }
   6964 fi
   6965 
   6966   if test "x$ac_ct_OTOOL64" = x; then
   6967     OTOOL64=":"
   6968   else
   6969     case $cross_compiling:$ac_tool_warned in
   6970 yes:)
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6973 ac_tool_warned=yes ;;
   6974 esac
   6975     OTOOL64=$ac_ct_OTOOL64
   6976   fi
   6977 else
   6978   OTOOL64="$ac_cv_prog_OTOOL64"
   6979 fi
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7008 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7009 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7010   $as_echo_n "(cached) " >&6
   7011 else
   7012   lt_cv_apple_cc_single_mod=no
   7013       if test -z "${LT_MULTI_MODULE}"; then
   7014 	# By default we will add the -single_module flag. You can override
   7015 	# by either setting the environment variable LT_MULTI_MODULE
   7016 	# non-empty at configure time, or by adding -multi_module to the
   7017 	# link flags.
   7018 	rm -rf libconftest.dylib*
   7019 	echo "int foo(void){return 1;}" > conftest.c
   7020 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7021 -dynamiclib -Wl,-single_module conftest.c" >&5
   7022 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7023 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7024         _lt_result=$?
   7025 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7026 	  lt_cv_apple_cc_single_mod=yes
   7027 	else
   7028 	  cat conftest.err >&5
   7029 	fi
   7030 	rm -rf libconftest.dylib*
   7031 	rm -f conftest.*
   7032       fi
   7033 fi
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7035 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7037 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7038 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7039   $as_echo_n "(cached) " >&6
   7040 else
   7041   lt_cv_ld_exported_symbols_list=no
   7042       save_LDFLAGS=$LDFLAGS
   7043       echo "_main" > conftest.sym
   7044       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7046 /* end confdefs.h.  */
   7047 
   7048 int
   7049 main ()
   7050 {
   7051 
   7052   ;
   7053   return 0;
   7054 }
   7055 _ACEOF
   7056 if ac_fn_c_try_link "$LINENO"; then :
   7057   lt_cv_ld_exported_symbols_list=yes
   7058 else
   7059   lt_cv_ld_exported_symbols_list=no
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext \
   7062     conftest$ac_exeext conftest.$ac_ext
   7063 	LDFLAGS="$save_LDFLAGS"
   7064 
   7065 fi
   7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7067 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7068     case $host_os in
   7069     rhapsody* | darwin1.[012])
   7070       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7071     darwin1.*)
   7072       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7073     darwin*) # darwin 5.x on
   7074       # if running on 10.5 or later, the deployment target defaults
   7075       # to the OS version, if on x86, and 10.4, the deployment
   7076       # target defaults to 10.4. Don't you love it?
   7077       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7078 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7079 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7080 	10.[012]*)
   7081 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7082 	10.*)
   7083 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7084       esac
   7085     ;;
   7086   esac
   7087     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7088       _lt_dar_single_mod='$single_module'
   7089     fi
   7090     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7091       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7092     else
   7093       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7094     fi
   7095     if test "$DSYMUTIL" != ":"; then
   7096       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7097     else
   7098       _lt_dsymutil=
   7099     fi
   7100     ;;
   7101   esac
   7102 
   7103 
   7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7105 $as_echo_n "checking for ANSI C header files... " >&6; }
   7106 if test "${ac_cv_header_stdc+set}" = set; then :
   7107   $as_echo_n "(cached) " >&6
   7108 else
   7109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7110 /* end confdefs.h.  */
   7111 #include <stdlib.h>
   7112 #include <stdarg.h>
   7113 #include <string.h>
   7114 #include <float.h>
   7115 
   7116 int
   7117 main ()
   7118 {
   7119 
   7120   ;
   7121   return 0;
   7122 }
   7123 _ACEOF
   7124 if ac_fn_c_try_compile "$LINENO"; then :
   7125   ac_cv_header_stdc=yes
   7126 else
   7127   ac_cv_header_stdc=no
   7128 fi
   7129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7130 
   7131 if test $ac_cv_header_stdc = yes; then
   7132   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 #include <string.h>
   7136 
   7137 _ACEOF
   7138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7139   $EGREP "memchr" >/dev/null 2>&1; then :
   7140 
   7141 else
   7142   ac_cv_header_stdc=no
   7143 fi
   7144 rm -f conftest*
   7145 
   7146 fi
   7147 
   7148 if test $ac_cv_header_stdc = yes; then
   7149   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7151 /* end confdefs.h.  */
   7152 #include <stdlib.h>
   7153 
   7154 _ACEOF
   7155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7156   $EGREP "free" >/dev/null 2>&1; then :
   7157 
   7158 else
   7159   ac_cv_header_stdc=no
   7160 fi
   7161 rm -f conftest*
   7162 
   7163 fi
   7164 
   7165 if test $ac_cv_header_stdc = yes; then
   7166   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7167   if test "$cross_compiling" = yes; then :
   7168   :
   7169 else
   7170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7171 /* end confdefs.h.  */
   7172 #include <ctype.h>
   7173 #include <stdlib.h>
   7174 #if ((' ' & 0x0FF) == 0x020)
   7175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7177 #else
   7178 # define ISLOWER(c) \
   7179 		   (('a' <= (c) && (c) <= 'i') \
   7180 		     || ('j' <= (c) && (c) <= 'r') \
   7181 		     || ('s' <= (c) && (c) <= 'z'))
   7182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7183 #endif
   7184 
   7185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7186 int
   7187 main ()
   7188 {
   7189   int i;
   7190   for (i = 0; i < 256; i++)
   7191     if (XOR (islower (i), ISLOWER (i))
   7192 	|| toupper (i) != TOUPPER (i))
   7193       return 2;
   7194   return 0;
   7195 }
   7196 _ACEOF
   7197 if ac_fn_c_try_run "$LINENO"; then :
   7198 
   7199 else
   7200   ac_cv_header_stdc=no
   7201 fi
   7202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7203   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7204 fi
   7205 
   7206 fi
   7207 fi
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7209 $as_echo "$ac_cv_header_stdc" >&6; }
   7210 if test $ac_cv_header_stdc = yes; then
   7211 
   7212 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7213 
   7214 fi
   7215 
   7216 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7217 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7218 		  inttypes.h stdint.h unistd.h
   7219 do :
   7220   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7221 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7222 "
   7223 eval as_val=\$$as_ac_Header
   7224    if test "x$as_val" = x""yes; then :
   7225   cat >>confdefs.h <<_ACEOF
   7226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7227 _ACEOF
   7228 
   7229 fi
   7230 
   7231 done
   7232 
   7233 
   7234 for ac_header in dlfcn.h
   7235 do :
   7236   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7237 "
   7238 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7239   cat >>confdefs.h <<_ACEOF
   7240 #define HAVE_DLFCN_H 1
   7241 _ACEOF
   7242 
   7243 fi
   7244 
   7245 done
   7246 
   7247 
   7248 
   7249 # Set options
   7250 
   7251 
   7252 
   7253         enable_dlopen=no
   7254 
   7255 
   7256 
   7257             # Check whether --enable-shared was given.
   7258 if test "${enable_shared+set}" = set; then :
   7259   enableval=$enable_shared; p=${PACKAGE-default}
   7260     case $enableval in
   7261     yes) enable_shared=yes ;;
   7262     no) enable_shared=no ;;
   7263     *)
   7264       enable_shared=no
   7265       # Look at the argument we got.  We use all the common list separators.
   7266       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7267       for pkg in $enableval; do
   7268 	IFS="$lt_save_ifs"
   7269 	if test "X$pkg" = "X$p"; then
   7270 	  enable_shared=yes
   7271 	fi
   7272       done
   7273       IFS="$lt_save_ifs"
   7274       ;;
   7275     esac
   7276 else
   7277   enable_shared=yes
   7278 fi
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288   # Check whether --enable-static was given.
   7289 if test "${enable_static+set}" = set; then :
   7290   enableval=$enable_static; p=${PACKAGE-default}
   7291     case $enableval in
   7292     yes) enable_static=yes ;;
   7293     no) enable_static=no ;;