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 con