Home | History | Annotate | Download | only in ImageMagick
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for ImageMagick 7.0.8-32.
      4 #
      5 # Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://github.com/ImageMagick/ImageMagick/issues about
    279 $0: your system, including any error possibly output before
    280 $0: this message. Then install a modern shell, or manually
    281 $0: run the script under such a shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } # as_fn_set_status
    312 
    313 # as_fn_exit STATUS
    314 # -----------------
    315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } # as_fn_exit
    322 
    323 # as_fn_mkdir_p
    324 # -------------
    325 # Create "$as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } # as_fn_mkdir_p
    370 
    371 # as_fn_executable_p FILE
    372 # -----------------------
    373 # Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } # as_fn_executable_p
    378 # as_fn_append VAR VALUE
    379 # ----------------------
    380 # Append the text in VALUE to the end of the definition contained in VAR. Take
    381 # advantage of any shell optimizations that allow amortized linear growth over
    382 # repeated appends, instead of the typical quadratic growth present in naive
    383 # implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 # as_fn_arith ARG...
    397 # ------------------
    398 # Perform arithmetic evaluation on the ARGs, and store the result in the
    399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400 # must be portable across $(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 # ----------------------------------------
    416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 # script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } # as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in #(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='ImageMagick'
    592 PACKAGE_TARNAME='ImageMagick'
    593 PACKAGE_VERSION='7.0.8-32'
    594 PACKAGE_STRING='ImageMagick 7.0.8-32'
    595 PACKAGE_BUGREPORT='https://github.com/ImageMagick/ImageMagick/issues'
    596 PACKAGE_URL='https://imagemagick.org'
    597 
    598 ac_unique_file="MagickCore/MagickCore.h"
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_header_list=
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 MAGICK_LIBS
    640 MAGICK_LDFLAGS
    641 MAGICK_PCFLAGS
    642 MAGICK_CPPFLAGS
    643 MAGICK_CXXFLAGS
    644 MAGICK_CFLAGS
    645 MAGICK_EXTRA_DEP_LIBS
    646 MAGICK_DEP_LIBS
    647 OSX_GCOV_LDFLAG
    648 MAGICK_FEATURES
    649 MAGICK_DELEGATES
    650 MAGICKCORE_PATH
    651 PERL_SUPPORTS_DESTDIR
    652 WITH_PERL_DYNAMIC_FALSE
    653 WITH_PERL_DYNAMIC_TRUE
    654 WITH_PERL_STATIC_FALSE
    655 WITH_PERL_STATIC_TRUE
    656 WITH_PERL_FALSE
    657 WITH_PERL_TRUE
    658 PERL_VERSION
    659 GSVersion
    660 GSPSDevice
    661 GSPDFDevice
    662 GSMonoDevice
    663 GSEPSDevice
    664 GSColorDevice
    665 GSCMYKDevice
    666 GSAlphaDevice
    667 XPSVersion
    668 XPSCMYKDevice
    669 XPSColorDevice
    670 XPSMonoDevice
    671 PCLVersion
    672 PCLCMYKDevice
    673 PCLColorDevice
    674 PCLMonoDevice
    675 ZIP_DELEGATE_FALSE
    676 ZIP_DELEGATE_TRUE
    677 ZIP
    678 P7ZIP_DELEGATE_FALSE
    679 P7ZIP_DELEGATE_TRUE
    680 P7ZIP
    681 RPM_DELEGATE_FALSE
    682 RPM_DELEGATE_TRUE
    683 RPM
    684 PERL
    685 TAR
    686 ShowImageDelegate
    687 type_include_files
    688 windows_font_dir
    689 urw_base35_font_dir
    690 ghostscript_font_dir
    691 dejavu_font_dir
    692 apple_font_dir
    693 PrintDelegate
    694 XPSDelegate
    695 WWWDecodeDelegate
    696 WebPEncodeDelegate
    697 WebPDecodeDelegate
    698 UniconvertorDelegate
    699 SVGDecodeDelegate
    700 RSVGDecodeDelegate
    701 RMDelegate
    702 PSDelegate
    703 PCLDelegate
    704 MVDelegate
    705 MrSIDDecodeDelegate
    706 MPEGEncodeDelegate
    707 MPEGDecodeDelegate
    708 MogrifyDelegate
    709 LaunchDelegate
    710 LPRDelegate
    711 LPDelegate
    712 LEPDelegate
    713 JXREncodeDelegate
    714 JXRDecodeDelegate
    715 ILBMEncodeDelegate
    716 ILBMDecodeDelegate
    717 HTMLDecodeDelegate
    718 HPGLDecodeDelegate
    719 GVCDecodeDelegate
    720 EditorDelegate
    721 DisplayDelegate
    722 ConvertDelegate
    723 DVIDecodeDelegate
    724 DOCDecodeDelegate
    725 DNGDecodeDelegate
    726 BrowseDelegate
    727 BlenderDecodeDelegate
    728 BPGEncodeDelegate
    729 BPGDecodeDelegate
    730 SHAREARCH_PATH
    731 SHAREARCH_RELATIVE_PATH
    732 SHAREARCH_DIRNAME
    733 SHAREARCH_BASEDIRNAME
    734 SHARE_PATH
    735 CONFIGURE_PATH
    736 INSTALL_DOC_FALSE
    737 INSTALL_DOC_TRUE
    738 DOCUMENTATION_PATH
    739 FILTER_PATH
    740 FILTER_DIRNAME
    741 CODER_PATH
    742 CODER_DIRNAME
    743 MODULES_PATH
    744 MODULES_RELATIVE_PATH
    745 MODULES_DIRNAME
    746 MODULES_BASEDIRNAME
    747 LIB_BIN_DIR_PATH
    748 LIB_BIN_DIR_RELATIVE_PATH
    749 LIB_BIN_DIR
    750 LIB_BIN_BASEDIRNAME
    751 LIBRARY_PATH
    752 EXECUTABLE_PATH
    753 INCLUDEARCH_PATH
    754 INCLUDE_PATH
    755 PERLMAINCC
    756 XML_DELEGATE_FALSE
    757 XML_DELEGATE_TRUE
    758 XML_LIBS
    759 XML_CFLAGS
    760 WMF_LIBS
    761 WMF_CFLAGS
    762 WMF_DELEGATE_FALSE
    763 WMF_DELEGATE_TRUE
    764 WEBPMUX_DELEGATE_FALSE
    765 WEBPMUX_DELEGATE_TRUE
    766 WEBP_DELEGATE_FALSE
    767 WEBP_DELEGATE_TRUE
    768 WEBPMUX_LIBS
    769 WEBPMUX_CFLAGS
    770 WEBP_LIBS
    771 WEBP_CFLAGS
    772 TIFF_LIBS
    773 TIFF_DELEGATE_FALSE
    774 TIFF_DELEGATE_TRUE
    775 CAIRO_DELEGATE_FALSE
    776 CAIRO_DELEGATE_TRUE
    777 RSVG_DELEGATE_FALSE
    778 RSVG_DELEGATE_TRUE
    779 CAIRO_SVG_LIBS
    780 CAIRO_SVG_CFLAGS
    781 RSVG_LIBS
    782 RSVG_CFLAGS
    783 RAW_R_DELEGATE_FALSE
    784 RAW_R_DELEGATE_TRUE
    785 RAW_R_LIBS
    786 RAW_R_CFLAGS
    787 PNG_DELEGATE_FALSE
    788 PNG_DELEGATE_TRUE
    789 PNG_LIBS
    790 PNG_CFLAGS
    791 PANGOCAIRO_DELEGATE_FALSE
    792 PANGOCAIRO_DELEGATE_TRUE
    793 PANGO_DELEGATE_FALSE
    794 PANGO_DELEGATE_TRUE
    795 PANGO_LIBS
    796 PANGO_CFLAGS
    797 OPENEXR_DELEGATE_FALSE
    798 OPENEXR_DELEGATE_TRUE
    799 OPENEXR_LIBS
    800 OPENEXR_CFLAGS
    801 LZMA_DELEGATE_FALSE
    802 LZMA_DELEGATE_TRUE
    803 LZMA_LIBS
    804 LZMA_CFLAGS
    805 LQR_DELEGATE_FALSE
    806 LQR_DELEGATE_TRUE
    807 LQR_LIBS
    808 LQR_CFLAGS
    809 LIBOPENJP2_DELEGATE_FALSE
    810 LIBOPENJP2_DELEGATE_TRUE
    811 LIBOPENJP2_LIBS
    812 LIBOPENJP2_CFLAGS
    813 LCMS_LIBS
    814 LCMS_CFLAGS
    815 LCMS_DELEGATE_FALSE
    816 LCMS_DELEGATE_TRUE
    817 LCMS2_LIBS
    818 LCMS2_CFLAGS
    819 JPEG_LIBS
    820 JPEG_DELEGATE_FALSE
    821 JPEG_DELEGATE_TRUE
    822 JBIG_LIBS
    823 JBIG_DELEGATE_FALSE
    824 JBIG_DELEGATE_TRUE
    825 HEIC_DELEGATE_FALSE
    826 HEIC_DELEGATE_TRUE
    827 HEIF_LIBS
    828 HEIF_CFLAGS
    829 GVC_DELEGATE_FALSE
    830 GVC_DELEGATE_TRUE
    831 GVC_LIBS
    832 GVC_CFLAGS
    833 GS_LIBS
    834 GS_DELEGATE_FALSE
    835 GS_DELEGATE_TRUE
    836 RAQM_DELEGATE_FALSE
    837 RAQM_DELEGATE_TRUE
    838 RAQM_LIBS
    839 RAQM_CFLAGS
    840 FREETYPE_DELEGATE_FALSE
    841 FREETYPE_DELEGATE_TRUE
    842 FREETYPE_LIBS
    843 FREETYPE_CFLAGS
    844 FONTCONFIG_DELEGATE_FALSE
    845 FONTCONFIG_DELEGATE_TRUE
    846 FONTCONFIG_LIBS
    847 FONTCONFIG_CFLAGS
    848 DJVU_LIBS
    849 DJVU_CFLAGS
    850 DJVU_DELEGATE_FALSE
    851 DJVU_DELEGATE_TRUE
    852 ddjvuapi_LIBS
    853 ddjvuapi_CFLAGS
    854 FPX_LIBS
    855 FPX_DELEGATE_FALSE
    856 FPX_DELEGATE_TRUE
    857 FLIF_LIBS
    858 FLIF_DELEGATE_FALSE
    859 FLIF_DELEGATE_TRUE
    860 FFTW_LIBS
    861 FFTW_CFLAGS
    862 FFTW_DELEGATE_FALSE
    863 FFTW_DELEGATE_TRUE
    864 fftw3_LIBS
    865 fftw3_CFLAGS
    866 DPS_LIBS
    867 DPS_DELEGATE_FALSE
    868 DPS_DELEGATE_TRUE
    869 AUTOTRACE_DELEGATE_FALSE
    870 AUTOTRACE_DELEGATE_TRUE
    871 AUTOTRACE_LIBS
    872 AUTOTRACE_CFLAGS
    873 LIB_DL
    874 WITH_LTDL_FALSE
    875 WITH_LTDL_TRUE
    876 ZSTD_LIBS
    877 ZSTD_CFLAGS
    878 ZSTD_DELEGATE_FALSE
    879 ZSTD_DELEGATE_TRUE
    880 LIBZSTD_LIBS
    881 LIBZSTD_CFLAGS
    882 ZLIB_DELEGATE_FALSE
    883 ZLIB_DELEGATE_TRUE
    884 ZLIB_LIBS
    885 ZLIB_CFLAGS
    886 XEXT_LIBS
    887 X11_LIBS
    888 X11_DELEGATE_FALSE
    889 X11_DELEGATE_TRUE
    890 X_EXTRA_LIBS
    891 X_LIBS
    892 X_PRE_LIBS
    893 X_CFLAGS
    894 XMKMF
    895 BZLIB_LIBS
    896 BZLIB_DELEGATE_FALSE
    897 BZLIB_DELEGATE_TRUE
    898 CCMALLOCDelegate
    899 UMEM_LIBS
    900 HasUMEM_FALSE
    901 HasUMEM_TRUE
    902 JEMALLOC_LIBS
    903 HasJEMALLOC_FALSE
    904 HasJEMALLOC_TRUE
    905 GOMP_LIBS
    906 WITH_MAGICK_PLUS_PLUS_FALSE
    907 WITH_MAGICK_PLUS_PLUS_TRUE
    908 OPENMP_CXXFLAGS
    909 MATH_LIBS
    910 POW_LIB
    911 LIBOBJS
    912 UINTPTR_F
    913 UINTPTR_T
    914 UINTMAX_F
    915 UINTMAX_T
    916 UINT64_F
    917 UINT64_T
    918 INT64_F
    919 INT64_T
    920 UINT32_F
    921 UINT32_T
    922 INT32_F
    923 INT32_T
    924 UINT16_T
    925 INT16_T
    926 UINT8_T
    927 INT8_T
    928 LIBRARY_EXTRA_CPPFLAGS
    929 MODULE_EXTRA_CPPFLAGS
    930 LIBSTDCLDFLAGS
    931 PERL_MAKE_OPTIONS
    932 MAGICK_LT_RELEASE_OPTS
    933 MAGICK_ABI_SUFFIX
    934 QUANTUM_DEPTH
    935 WITH_UTILITIES_FALSE
    936 WITH_UTILITIES_TRUE
    937 LEGACY_SUPPORT_FALSE
    938 LEGACY_SUPPORT_TRUE
    939 MAINT
    940 MAINTAINER_MODE_FALSE
    941 MAINTAINER_MODE_TRUE
    942 MAGICK_HDRI
    943 WITH_MODULES_FALSE
    944 WITH_MODULES_TRUE
    945 WITH_SHARED_LIBS_FALSE
    946 WITH_SHARED_LIBS_TRUE
    947 LIBTOOL_DEPS
    948 CXXCPP
    949 LT_SYS_LIBRARY_PATH
    950 OTOOL64
    951 OTOOL
    952 LIPO
    953 NMEDIT
    954 DSYMUTIL
    955 MANIFEST_TOOL
    956 RANLIB
    957 NM
    958 ac_ct_DUMPBIN
    959 DUMPBIN
    960 LIBTOOL
    961 OBJDUMP
    962 DLLTOOL
    963 AS
    964 LFS_CPPFLAGS
    965 CL_LIBS
    966 CL_CFLAGS
    967 OPENMP_CFLAGS
    968 THREAD_LIBS
    969 PTHREAD_CFLAGS
    970 PTHREAD_LIBS
    971 PTHREAD_CC
    972 ax_pthread_config
    973 pkgconfigdir
    974 SHAREARCH_DIR
    975 INCLUDEARCH_DIR
    976 WinPathScript
    977 USING_CL_FALSE
    978 USING_CL_TRUE
    979 CYGWIN_BUILD_FALSE
    980 CYGWIN_BUILD_TRUE
    981 WIN32_NATIVE_BUILD_FALSE
    982 WIN32_NATIVE_BUILD_TRUE
    983 WINGDI32_DELEGATE_FALSE
    984 WINGDI32_DELEGATE_TRUE
    985 WS2_32_LIBS
    986 OLE_LIBS
    987 GDI32_LIBS
    988 HAVE_LD_VERSION_SCRIPT_FALSE
    989 HAVE_LD_VERSION_SCRIPT_TRUE
    990 PKG_CONFIG_LIBDIR
    991 PKG_CONFIG_PATH
    992 PKG_CONFIG
    993 PRTDIAG
    994 LN_S
    995 LD
    996 FGREP
    997 SED
    998 am__fastdepCXX_FALSE
    999 am__fastdepCXX_TRUE
   1000 CXXDEPMODE
   1001 ac_ct_CXX
   1002 CXXFLAGS
   1003 CXX
   1004 ac_ct_AR
   1005 AR
   1006 EGREP
   1007 GREP
   1008 CPP
   1009 am__fastdepCC_FALSE
   1010 am__fastdepCC_TRUE
   1011 CCDEPMODE
   1012 am__nodep
   1013 AMDEPBACKSLASH
   1014 AMDEP_FALSE
   1015 AMDEP_TRUE
   1016 am__include
   1017 DEPDIR
   1018 OBJEXT
   1019 EXEEXT
   1020 ac_ct_CC
   1021 CPPFLAGS
   1022 LDFLAGS
   1023 CFLAGS
   1024 CC
   1025 DIRSEP
   1026 MAGICK_FILTER_MODULE_PATH
   1027 MAGICK_CONFIGURE_BUILD_PATH
   1028 MAGICK_CONFIGURE_SRC_PATH
   1029 MAGICK_CODER_MODULE_PATH
   1030 MAN_DIR
   1031 INFO_DIR
   1032 PERSISTINCLUDE_DIR
   1033 INCLUDE_DIR
   1034 LIB_DIR
   1035 LOCALSTATE_DIR
   1036 SHAREDSTATE_DIR
   1037 SYSCONF_DIR
   1038 DOC_DIR
   1039 DATA_DIR
   1040 LIBEXEC_DIR
   1041 SBIN_DIR
   1042 BIN_DIR
   1043 EXEC_PREFIX_DIR
   1044 PREFIX_DIR
   1045 CONFIG_STATUS_DEPENDENCIES
   1046 MAGICKPP_LIB_VERSION_TEXT
   1047 MAGICKPP_LIB_VERSION
   1048 MAGICK_LIB_VERSION_NUMBER
   1049 MAGICK_LIB_VERSION_TEXT
   1050 MAGICK_LIB_VERSION
   1051 PACKAGE_VERSION_ADDENDUM
   1052 PACKAGE_RELEASE_DATE
   1053 PACKAGE_LIB_VERSION_NUMBER
   1054 PACKAGE_LIB_VERSION
   1055 PACKAGE_CHANGE_DATE
   1056 PACKAGE_RELEASE
   1057 PACKAGE_PERL_VERSION
   1058 MAGICKPP_LIBRARY_VERSION_INFO
   1059 MAGICKPP_LIBRARY_CURRENT_MIN
   1060 MAGICKPP_LIBRARY_AGE
   1061 MAGICKPP_LIBRARY_REVISION
   1062 MAGICKPP_LIBRARY_CURRENT
   1063 MAGICK_LIBRARY_VERSION_INFO
   1064 MAGICK_LIBRARY_CURRENT_MIN
   1065 MAGICK_LIBRARY_AGE
   1066 MAGICK_LIBRARY_REVISION
   1067 MAGICK_LIBRARY_CURRENT
   1068 MAGICK_GIT_REVISION
   1069 MAGICK_VERSION
   1070 MAGICK_PATCHLEVEL_VERSION
   1071 MAGICK_MICRO_VERSION
   1072 MAGICK_MINOR_VERSION
   1073 MAGICK_MAJOR_VERSION
   1074 MAGICK_TARGET_OS
   1075 MAGICK_TARGET_VENDOR
   1076 MAGICK_TARGET_CPU
   1077 CONFIGURE_ARGS
   1078 DISTCHECK_CONFIG_FLAGS
   1079 AM_BACKSLASH
   1080 AM_DEFAULT_VERBOSITY
   1081 AM_DEFAULT_V
   1082 AM_V
   1083 am__untar
   1084 am__tar
   1085 AMTAR
   1086 am__leading_dot
   1087 SET_MAKE
   1088 AWK
   1089 mkdir_p
   1090 MKDIR_P
   1091 INSTALL_STRIP_PROGRAM
   1092 STRIP
   1093 install_sh
   1094 MAKEINFO
   1095 AUTOHEADER
   1096 AUTOMAKE
   1097 AUTOCONF
   1098 ACLOCAL
   1099 VERSION
   1100 PACKAGE
   1101 CYGPATH_W
   1102 am__isrc
   1103 INSTALL_DATA
   1104 INSTALL_SCRIPT
   1105 INSTALL_PROGRAM
   1106 target_os
   1107 target_vendor
   1108 target_cpu
   1109 target
   1110 host_os
   1111 host_vendor
   1112 host_cpu
   1113 host
   1114 build_os
   1115 build_vendor
   1116 build_cpu
   1117 build
   1118 target_alias
   1119 host_alias
   1120 build_alias
   1121 LIBS
   1122 ECHO_T
   1123 ECHO_N
   1124 ECHO_C
   1125 DEFS
   1126 mandir
   1127 localedir
   1128 libdir
   1129 psdir
   1130 pdfdir
   1131 dvidir
   1132 htmldir
   1133 infodir
   1134 docdir
   1135 oldincludedir
   1136 includedir
   1137 localstatedir
   1138 sharedstatedir
   1139 sysconfdir
   1140 datadir
   1141 datarootdir
   1142 libexecdir
   1143 sbindir
   1144 bindir
   1145 program_transform_name
   1146 prefix
   1147 exec_prefix
   1148 PACKAGE_URL
   1149 PACKAGE_BUGREPORT
   1150 PACKAGE_STRING
   1151 PACKAGE_VERSION
   1152 PACKAGE_TARNAME
   1153 PACKAGE_NAME
   1154 PATH_SEPARATOR
   1155 SHELL
   1156 am__quote'
   1157 ac_subst_files=''
   1158 ac_user_opts='
   1159 enable_option_checking
   1160 enable_silent_rules
   1161 enable_reproducible_build
   1162 enable_dependency_tracking
   1163 with_gnu_ld
   1164 with_dmalloc
   1165 with_gcc_arch
   1166 enable_ld_version_script
   1167 enable_bounds_checking
   1168 enable_osx_universal_binary
   1169 with_includearch_dir
   1170 with_sharearch_dir
   1171 with_pkgconfigdir
   1172 with_threads
   1173 enable_openmp
   1174 enable_opencl
   1175 enable_largefile
   1176 enable_shared
   1177 enable_static
   1178 with_pic
   1179 enable_fast_install
   1180 with_aix_soname
   1181 with_sysroot
   1182 enable_libtool_lock
   1183 with_modules
   1184 enable_delegate_build
   1185 enable_deprecated
   1186 enable_installed
   1187 enable_cipher
   1188 enable_zero_configuration
   1189 enable_hdri
   1190 enable_pipes
   1191 enable_assert
   1192 enable_maintainer_mode
   1193 enable_hugepages
   1194 enable_ccmalloc
   1195 enable_efence
   1196 enable_prof
   1197 enable_gprof
   1198 enable_gcov
   1199 with_method_prefix
   1200 enable_legacy_support
   1201 with_utilities
   1202 with_quantum_depth
   1203 with_cache
   1204 with_frozenpaths
   1205 with_magick_plus_plus
   1206 with_package_release_name
   1207 with_perl
   1208 with_perl_options
   1209 with_jemalloc
   1210 with_umem
   1211 with_libstdc
   1212 with_bzlib
   1213 with_x
   1214 with_zlib
   1215 with_zstd
   1216 with_apple_font_dir
   1217 with_autotrace
   1218 with_dps
   1219 with_dejavu_font_dir
   1220 with_fftw
   1221 with_flif
   1222 with_fpx
   1223 with_djvu
   1224 with_fontconfig
   1225 with_freetype
   1226 with_raqm
   1227 with_gslib
   1228 with_fontpath
   1229 with_gs_font_dir
   1230 with_gvc
   1231 with_heic
   1232 with_jbig
   1233 with_jpeg
   1234 with_lcms
   1235 with_openjp2
   1236 with_lqr
   1237 with_lzma
   1238 with_openexr
   1239 with_pango
   1240 with_png
   1241 with_raw
   1242 with_rsvg
   1243 with_tiff
   1244 with_urw_base35_font_dir
   1245 with_webp
   1246 with_windows_font_dir
   1247 with_wmf
   1248 with_xml
   1249 enable_docs
   1250 '
   1251       ac_precious_vars='build_alias
   1252 host_alias
   1253 target_alias
   1254 CC
   1255 CFLAGS
   1256 LDFLAGS
   1257 LIBS
   1258 CPPFLAGS
   1259 CPP
   1260 CXX
   1261 CXXFLAGS
   1262 CCC
   1263 PKG_CONFIG
   1264 PKG_CONFIG_PATH
   1265 PKG_CONFIG_LIBDIR
   1266 LT_SYS_LIBRARY_PATH
   1267 CXXCPP
   1268 XMKMF
   1269 ZLIB_CFLAGS
   1270 ZLIB_LIBS
   1271 LIBZSTD_CFLAGS
   1272 LIBZSTD_LIBS
   1273 AUTOTRACE_CFLAGS
   1274 AUTOTRACE_LIBS
   1275 fftw3_CFLAGS
   1276 fftw3_LIBS
   1277 ddjvuapi_CFLAGS
   1278 ddjvuapi_LIBS
   1279 FONTCONFIG_CFLAGS
   1280 FONTCONFIG_LIBS
   1281 FREETYPE_CFLAGS
   1282 FREETYPE_LIBS
   1283 RAQM_CFLAGS
   1284 RAQM_LIBS
   1285 GVC_CFLAGS
   1286 GVC_LIBS
   1287 HEIF_CFLAGS
   1288 HEIF_LIBS
   1289 LCMS2_CFLAGS
   1290 LCMS2_LIBS
   1291 LIBOPENJP2_CFLAGS
   1292 LIBOPENJP2_LIBS
   1293 LQR_CFLAGS
   1294 LQR_LIBS
   1295 LZMA_CFLAGS
   1296 LZMA_LIBS
   1297 OPENEXR_CFLAGS
   1298 OPENEXR_LIBS
   1299 PANGO_CFLAGS
   1300 PANGO_LIBS
   1301 PNG_CFLAGS
   1302 PNG_LIBS
   1303 RAW_R_CFLAGS
   1304 RAW_R_LIBS
   1305 RSVG_CFLAGS
   1306 RSVG_LIBS
   1307 CAIRO_SVG_CFLAGS
   1308 CAIRO_SVG_LIBS
   1309 WEBP_CFLAGS
   1310 WEBP_LIBS
   1311 WEBPMUX_CFLAGS
   1312 WEBPMUX_LIBS
   1313 XML_CFLAGS
   1314 XML_LIBS'
   1315 
   1316 
   1317 # Initialize some variables set by options.
   1318 ac_init_help=
   1319 ac_init_version=false
   1320 ac_unrecognized_opts=
   1321 ac_unrecognized_sep=
   1322 # The variables have the same names as the options, with
   1323 # dashes changed to underlines.
   1324 cache_file=/dev/null
   1325 exec_prefix=NONE
   1326 no_create=
   1327 no_recursion=
   1328 prefix=NONE
   1329 program_prefix=NONE
   1330 program_suffix=NONE
   1331 program_transform_name=s,x,x,
   1332 silent=
   1333 site=
   1334 srcdir=
   1335 verbose=
   1336 x_includes=NONE
   1337 x_libraries=NONE
   1338 
   1339 # Installation directory options.
   1340 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1341 # and all the variables that are supposed to be based on exec_prefix
   1342 # by default will actually change.
   1343 # Use braces instead of parens because sh, perl, etc. also accept them.
   1344 # (The list follows the same order as the GNU Coding Standards.)
   1345 bindir='${exec_prefix}/bin'
   1346 sbindir='${exec_prefix}/sbin'
   1347 libexecdir='${exec_prefix}/libexec'
   1348 datarootdir='${prefix}/share'
   1349 datadir='${datarootdir}'
   1350 sysconfdir='${prefix}/etc'
   1351 sharedstatedir='${prefix}/com'
   1352 localstatedir='${prefix}/var'
   1353 includedir='${prefix}/include'
   1354 oldincludedir='/usr/include'
   1355 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1356 infodir='${datarootdir}/info'
   1357 htmldir='${docdir}'
   1358 dvidir='${docdir}'
   1359 pdfdir='${docdir}'
   1360 psdir='${docdir}'
   1361 libdir='${exec_prefix}/lib'
   1362 localedir='${datarootdir}/locale'
   1363 mandir='${datarootdir}/man'
   1364 
   1365 ac_prev=
   1366 ac_dashdash=
   1367 for ac_option
   1368 do
   1369   # If the previous option needs an argument, assign it.
   1370   if test -n "$ac_prev"; then
   1371     eval $ac_prev=\$ac_option
   1372     ac_prev=
   1373     continue
   1374   fi
   1375 
   1376   case $ac_option in
   1377   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1378   *=)   ac_optarg= ;;
   1379   *)    ac_optarg=yes ;;
   1380   esac
   1381 
   1382   # Accept the important Cygnus configure options, so we can diagnose typos.
   1383 
   1384   case $ac_dashdash$ac_option in
   1385   --)
   1386     ac_dashdash=yes ;;
   1387 
   1388   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1389     ac_prev=bindir ;;
   1390   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1391     bindir=$ac_optarg ;;
   1392 
   1393   -build | --build | --buil | --bui | --bu)
   1394     ac_prev=build_alias ;;
   1395   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1396     build_alias=$ac_optarg ;;
   1397 
   1398   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1399   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1400     ac_prev=cache_file ;;
   1401   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1402   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1403     cache_file=$ac_optarg ;;
   1404 
   1405   --config-cache | -C)
   1406     cache_file=config.cache ;;
   1407 
   1408   -datadir | --datadir | --datadi | --datad)
   1409     ac_prev=datadir ;;
   1410   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1411     datadir=$ac_optarg ;;
   1412 
   1413   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1414   | --dataroo | --dataro | --datar)
   1415     ac_prev=datarootdir ;;
   1416   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1417   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1418     datarootdir=$ac_optarg ;;
   1419 
   1420   -disable-* | --disable-*)
   1421     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1422     # Reject names that are not valid shell variable names.
   1423     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1424       as_fn_error $? "invalid feature name: $ac_useropt"
   1425     ac_useropt_orig=$ac_useropt
   1426     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1427     case $ac_user_opts in
   1428       *"
   1429 "enable_$ac_useropt"
   1430 "*) ;;
   1431       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1432 	 ac_unrecognized_sep=', ';;
   1433     esac
   1434     eval enable_$ac_useropt=no ;;
   1435 
   1436   -docdir | --docdir | --docdi | --doc | --do)
   1437     ac_prev=docdir ;;
   1438   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1439     docdir=$ac_optarg ;;
   1440 
   1441   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1442     ac_prev=dvidir ;;
   1443   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1444     dvidir=$ac_optarg ;;
   1445 
   1446   -enable-* | --enable-*)
   1447     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1448     # Reject names that are not valid shell variable names.
   1449     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1450       as_fn_error $? "invalid feature name: $ac_useropt"
   1451     ac_useropt_orig=$ac_useropt
   1452     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1453     case $ac_user_opts in
   1454       *"
   1455 "enable_$ac_useropt"
   1456 "*) ;;
   1457       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1458 	 ac_unrecognized_sep=', ';;
   1459     esac
   1460     eval enable_$ac_useropt=\$ac_optarg ;;
   1461 
   1462   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1463   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1464   | --exec | --exe | --ex)
   1465     ac_prev=exec_prefix ;;
   1466   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1467   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1468   | --exec=* | --exe=* | --ex=*)
   1469     exec_prefix=$ac_optarg ;;
   1470 
   1471   -gas | --gas | --ga | --g)
   1472     # Obsolete; use --with-gas.
   1473     with_gas=yes ;;
   1474 
   1475   -help | --help | --hel | --he | -h)
   1476     ac_init_help=long ;;
   1477   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1478     ac_init_help=recursive ;;
   1479   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1480     ac_init_help=short ;;
   1481 
   1482   -host | --host | --hos | --ho)
   1483     ac_prev=host_alias ;;
   1484   -host=* | --host=* | --hos=* | --ho=*)
   1485     host_alias=$ac_optarg ;;
   1486 
   1487   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1488     ac_prev=htmldir ;;
   1489   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1490   | --ht=*)
   1491     htmldir=$ac_optarg ;;
   1492 
   1493   -includedir | --includedir | --includedi | --included | --include \
   1494   | --includ | --inclu | --incl | --inc)
   1495     ac_prev=includedir ;;
   1496   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1497   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1498     includedir=$ac_optarg ;;
   1499 
   1500   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1501     ac_prev=infodir ;;
   1502   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1503     infodir=$ac_optarg ;;
   1504 
   1505   -libdir | --libdir | --libdi | --libd)
   1506     ac_prev=libdir ;;
   1507   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1508     libdir=$ac_optarg ;;
   1509 
   1510   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1511   | --libexe | --libex | --libe)
   1512     ac_prev=libexecdir ;;
   1513   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1514   | --libexe=* | --libex=* | --libe=*)
   1515     libexecdir=$ac_optarg ;;
   1516 
   1517   -localedir | --localedir | --localedi | --localed | --locale)
   1518     ac_prev=localedir ;;
   1519   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1520     localedir=$ac_optarg ;;
   1521 
   1522   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1523   | --localstate | --localstat | --localsta | --localst | --locals)
   1524     ac_prev=localstatedir ;;
   1525   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1526   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1527     localstatedir=$ac_optarg ;;
   1528 
   1529   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1530     ac_prev=mandir ;;
   1531   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1532     mandir=$ac_optarg ;;
   1533 
   1534   -nfp | --nfp | --nf)
   1535     # Obsolete; use --without-fp.
   1536     with_fp=no ;;
   1537 
   1538   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1539   | --no-cr | --no-c | -n)
   1540     no_create=yes ;;
   1541 
   1542   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1543   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1544     no_recursion=yes ;;
   1545 
   1546   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1547   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1548   | --oldin | --oldi | --old | --ol | --o)
   1549     ac_prev=oldincludedir ;;
   1550   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1551   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1552   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1553     oldincludedir=$ac_optarg ;;
   1554 
   1555   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1556     ac_prev=prefix ;;
   1557   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1558     prefix=$ac_optarg ;;
   1559 
   1560   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1561   | --program-pre | --program-pr | --program-p)
   1562     ac_prev=program_prefix ;;
   1563   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1564   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1565     program_prefix=$ac_optarg ;;
   1566 
   1567   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1568   | --program-suf | --program-su | --program-s)
   1569     ac_prev=program_suffix ;;
   1570   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1571   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1572     program_suffix=$ac_optarg ;;
   1573 
   1574   -program-transform-name | --program-transform-name \
   1575   | --program-transform-nam | --program-transform-na \
   1576   | --program-transform-n | --program-transform- \
   1577   | --program-transform | --program-transfor \
   1578   | --program-transfo | --program-transf \
   1579   | --program-trans | --program-tran \
   1580   | --progr-tra | --program-tr | --program-t)
   1581     ac_prev=program_transform_name ;;
   1582   -program-transform-name=* | --program-transform-name=* \
   1583   | --program-transform-nam=* | --program-transform-na=* \
   1584   | --program-transform-n=* | --program-transform-=* \
   1585   | --program-transform=* | --program-transfor=* \
   1586   | --program-transfo=* | --program-transf=* \
   1587   | --program-trans=* | --program-tran=* \
   1588   | --progr-tra=* | --program-tr=* | --program-t=*)
   1589     program_transform_name=$ac_optarg ;;
   1590 
   1591   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1592     ac_prev=pdfdir ;;
   1593   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1594     pdfdir=$ac_optarg ;;
   1595 
   1596   -psdir | --psdir | --psdi | --psd | --ps)
   1597     ac_prev=psdir ;;
   1598   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1599     psdir=$ac_optarg ;;
   1600 
   1601   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1602   | -silent | --silent | --silen | --sile | --sil)
   1603     silent=yes ;;
   1604 
   1605   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1606     ac_prev=sbindir ;;
   1607   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1608   | --sbi=* | --sb=*)
   1609     sbindir=$ac_optarg ;;
   1610 
   1611   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1612   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1613   | --sharedst | --shareds | --shared | --share | --shar \
   1614   | --sha | --sh)
   1615     ac_prev=sharedstatedir ;;
   1616   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1617   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1618   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1619   | --sha=* | --sh=*)
   1620     sharedstatedir=$ac_optarg ;;
   1621 
   1622   -site | --site | --sit)
   1623     ac_prev=site ;;
   1624   -site=* | --site=* | --sit=*)
   1625     site=$ac_optarg ;;
   1626 
   1627   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1628     ac_prev=srcdir ;;
   1629   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1630     srcdir=$ac_optarg ;;
   1631 
   1632   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1633   | --syscon | --sysco | --sysc | --sys | --sy)
   1634     ac_prev=sysconfdir ;;
   1635   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1636   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1637     sysconfdir=$ac_optarg ;;
   1638 
   1639   -target | --target | --targe | --targ | --tar | --ta | --t)
   1640     ac_prev=target_alias ;;
   1641   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1642     target_alias=$ac_optarg ;;
   1643 
   1644   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1645     verbose=yes ;;
   1646 
   1647   -version | --version | --versio | --versi | --vers | -V)
   1648     ac_init_version=: ;;
   1649 
   1650   -with-* | --with-*)
   1651     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1652     # Reject names that are not valid shell variable names.
   1653     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1654       as_fn_error $? "invalid package name: $ac_useropt"
   1655     ac_useropt_orig=$ac_useropt
   1656     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1657     case $ac_user_opts in
   1658       *"
   1659 "with_$ac_useropt"
   1660 "*) ;;
   1661       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1662 	 ac_unrecognized_sep=', ';;
   1663     esac
   1664     eval with_$ac_useropt=\$ac_optarg ;;
   1665 
   1666   -without-* | --without-*)
   1667     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1668     # Reject names that are not valid shell variable names.
   1669     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1670       as_fn_error $? "invalid package name: $ac_useropt"
   1671     ac_useropt_orig=$ac_useropt
   1672     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1673     case $ac_user_opts in
   1674       *"
   1675 "with_$ac_useropt"
   1676 "*) ;;
   1677       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1678 	 ac_unrecognized_sep=', ';;
   1679     esac
   1680     eval with_$ac_useropt=no ;;
   1681 
   1682   --x)
   1683     # Obsolete; use --with-x.
   1684     with_x=yes ;;
   1685 
   1686   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1687   | --x-incl | --x-inc | --x-in | --x-i)
   1688     ac_prev=x_includes ;;
   1689   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1690   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1691     x_includes=$ac_optarg ;;
   1692 
   1693   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1694   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1695     ac_prev=x_libraries ;;
   1696   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1697   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1698     x_libraries=$ac_optarg ;;
   1699 
   1700   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1701 Try \`$0 --help' for more information"
   1702     ;;
   1703 
   1704   *=*)
   1705     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1706     # Reject names that are not valid shell variable names.
   1707     case $ac_envvar in #(
   1708       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1709       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1710     esac
   1711     eval $ac_envvar=\$ac_optarg
   1712     export $ac_envvar ;;
   1713 
   1714   *)
   1715     # FIXME: should be removed in autoconf 3.0.
   1716     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1717     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1718       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1719     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1720     ;;
   1721 
   1722   esac
   1723 done
   1724 
   1725 if test -n "$ac_prev"; then
   1726   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1727   as_fn_error $? "missing argument to $ac_option"
   1728 fi
   1729 
   1730 if test -n "$ac_unrecognized_opts"; then
   1731   case $enable_option_checking in
   1732     no) ;;
   1733     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1734     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1735   esac
   1736 fi
   1737 
   1738 # Check all directory arguments for consistency.
   1739 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1740 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1741 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1742 		libdir localedir mandir
   1743 do
   1744   eval ac_val=\$$ac_var
   1745   # Remove trailing slashes.
   1746   case $ac_val in
   1747     */ )
   1748       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1749       eval $ac_var=\$ac_val;;
   1750   esac
   1751   # Be sure to have absolute directory names.
   1752   case $ac_val in
   1753     [\\/$]* | ?:[\\/]* )  continue;;
   1754     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1755   esac
   1756   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1757 done
   1758 
   1759 # There might be people who depend on the old broken behavior: `$host'
   1760 # used to hold the argument of --host etc.
   1761 # FIXME: To remove some day.
   1762 build=$build_alias
   1763 host=$host_alias
   1764 target=$target_alias
   1765 
   1766 # FIXME: To remove some day.
   1767 if test "x$host_alias" != x; then
   1768   if test "x$build_alias" = x; then
   1769     cross_compiling=maybe
   1770   elif test "x$build_alias" != "x$host_alias"; then
   1771     cross_compiling=yes
   1772   fi
   1773 fi
   1774 
   1775 ac_tool_prefix=
   1776 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1777 
   1778 test "$silent" = yes && exec 6>/dev/null
   1779 
   1780 
   1781 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1782 ac_ls_di=`ls -di .` &&
   1783 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1784   as_fn_error $? "working directory cannot be determined"
   1785 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1786   as_fn_error $? "pwd does not report name of working directory"
   1787 
   1788 
   1789 # Find the source files, if location was not specified.
   1790 if test -z "$srcdir"; then
   1791   ac_srcdir_defaulted=yes
   1792   # Try the directory containing this script, then the parent directory.
   1793   ac_confdir=`$as_dirname -- "$as_myself" ||
   1794 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1795 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1796 	 X"$as_myself" : 'X\(//\)$' \| \
   1797 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1798 $as_echo X"$as_myself" |
   1799     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1800 	    s//\1/
   1801 	    q
   1802 	  }
   1803 	  /^X\(\/\/\)[^/].*/{
   1804 	    s//\1/
   1805 	    q
   1806 	  }
   1807 	  /^X\(\/\/\)$/{
   1808 	    s//\1/
   1809 	    q
   1810 	  }
   1811 	  /^X\(\/\).*/{
   1812 	    s//\1/
   1813 	    q
   1814 	  }
   1815 	  s/.*/./; q'`
   1816   srcdir=$ac_confdir
   1817   if test ! -r "$srcdir/$ac_unique_file"; then
   1818     srcdir=..
   1819   fi
   1820 else
   1821   ac_srcdir_defaulted=no
   1822 fi
   1823 if test ! -r "$srcdir/$ac_unique_file"; then
   1824   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1825   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1826 fi
   1827 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1828 ac_abs_confdir=`(
   1829 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1830 	pwd)`
   1831 # When building in place, set srcdir=.
   1832 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1833   srcdir=.
   1834 fi
   1835 # Remove unnecessary trailing slashes from srcdir.
   1836 # Double slashes in file names in object file debugging info
   1837 # mess up M-x gdb in Emacs.
   1838 case $srcdir in
   1839 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1840 esac
   1841 for ac_var in $ac_precious_vars; do
   1842   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1843   eval ac_env_${ac_var}_value=\$${ac_var}
   1844   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1845   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1846 done
   1847 
   1848 #
   1849 # Report the --help message.
   1850 #
   1851 if test "$ac_init_help" = "long"; then
   1852   # Omit some internal or obsolete options to make the list less imposing.
   1853   # This message is too long to be a string in the A/UX 3.1 sh.
   1854   cat <<_ACEOF
   1855 \`configure' configures ImageMagick 7.0.8-32 to adapt to many kinds of systems.
   1856 
   1857 Usage: $0 [OPTION]... [VAR=VALUE]...
   1858 
   1859 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1860 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1861 
   1862 Defaults for the options are specified in brackets.
   1863 
   1864 Configuration:
   1865   -h, --help              display this help and exit
   1866       --help=short        display options specific to this package
   1867       --help=recursive    display the short help of all the included packages
   1868   -V, --version           display version information and exit
   1869   -q, --quiet, --silent   do not print \`checking ...' messages
   1870       --cache-file=FILE   cache test results in FILE [disabled]
   1871   -C, --config-cache      alias for \`--cache-file=config.cache'
   1872   -n, --no-create         do not create output files
   1873       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1874 
   1875 Installation directories:
   1876   --prefix=PREFIX         install architecture-independent files in PREFIX
   1877                           [$ac_default_prefix]
   1878   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1879                           [PREFIX]
   1880 
   1881 By default, \`make install' will install all the files in
   1882 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1883 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1884 for instance \`--prefix=\$HOME'.
   1885 
   1886 For better control, use the options below.
   1887 
   1888 Fine tuning of the installation directories:
   1889   --bindir=DIR            user executables [EPREFIX/bin]
   1890   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1891   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1892   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1893   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1894   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1895   --libdir=DIR            object code libraries [EPREFIX/lib]
   1896   --includedir=DIR        C header files [PREFIX/include]
   1897   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1898   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1899   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1900   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1901   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1902   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1903   --docdir=DIR            documentation root [DATAROOTDIR/doc/ImageMagick]
   1904   --htmldir=DIR           html documentation [DOCDIR]
   1905   --dvidir=DIR            dvi documentation [DOCDIR]
   1906   --pdfdir=DIR            pdf documentation [DOCDIR]
   1907   --psdir=DIR             ps documentation [DOCDIR]
   1908 _ACEOF
   1909 
   1910   cat <<\_ACEOF
   1911 
   1912 Program names:
   1913   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1914   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1915   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1916 
   1917 X features:
   1918   --x-includes=DIR    X include files are in DIR
   1919   --x-libraries=DIR   X library files are in DIR
   1920 
   1921 System types:
   1922   --build=BUILD     configure for building on BUILD [guessed]
   1923   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1924   --target=TARGET   configure for building compilers for TARGET [HOST]
   1925 _ACEOF
   1926 fi
   1927 
   1928 if test -n "$ac_init_help"; then
   1929   case $ac_init_help in
   1930      short | recursive ) echo "Configuration of ImageMagick 7.0.8-32:";;
   1931    esac
   1932   cat <<\_ACEOF
   1933 
   1934 Optional Features:
   1935   --disable-option-checking  ignore unrecognized --enable/--with options
   1936   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1937   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1938   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1939   --disable-silent-rules  verbose build output (undo: "make V=0")
   1940   --enable-reproducible-build
   1941                           enable reproducible build
   1942   --enable-dependency-tracking
   1943                           do not reject slow dependency extractors
   1944   --disable-dependency-tracking
   1945                           speeds up one-time build
   1946   --enable-ld-version-script
   1947                           enable linker version script (default is enabled
   1948                           when possible)
   1949   --enable-bounds-checking
   1950                           enable run-time bounds-checking
   1951   --enable-osx-universal-binary
   1952                           build universal binary on OS X [[default=no]]
   1953   --disable-openmp        do not use OpenMP
   1954   --disable-opencl        do not use OpenCL
   1955   --disable-largefile     omit support for large files
   1956   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1957   --enable-static[=PKGS]  build static libraries [default=yes]
   1958   --enable-fast-install[=PKGS]
   1959                           optimize for fast installation [default=yes]
   1960   --disable-libtool-lock  avoid locking (might break parallel builds)
   1961   --enable-delegate-build look for delegate libraries in build directory
   1962   --disable-deprecated    exclude deprecated methods in MagickCore and
   1963                           MagickWand APIs
   1964   --disable-installed     Formally install ImageMagick under PREFIX
   1965   --disable-cipher        disable enciphering and deciphering image pixels
   1966   --enable-zero-configuration
   1967                           enable self-contained, embeddable,
   1968                           zero-configuration ImageMagick
   1969   --enable-hdri           accurately represent the wide range of intensity
   1970                           levels found in real scenes
   1971   --enable-pipes          enable pipes (|) in filenames
   1972   --disable-assert        disable assert() statements in build
   1973   --enable-maintainer-mode
   1974                           enable make rules and dependencies not useful (and
   1975                           sometimes confusing) to the casual installer
   1976   --enable-hugepages      enable 'huge pages' support
   1977   --enable-ccmalloc       enable 'ccmalloc' memory debug support
   1978   --enable-efence         enable 'efence' memory debug support
   1979   --enable-prof           enable 'prof' profiling support
   1980   --enable-gprof          enable 'gprof' profiling support
   1981   --enable-gcov           enable 'gcov' profiling support
   1982   --enable-legacy-support install legacy command-line utilities (default disabled)
   1983   --disable-assert        turn off assertions
   1984   --disable-docs          disable building of documentation
   1985 
   1986 Optional Packages:
   1987   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1988   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1989   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1990   --with-dmalloc          use dmalloc, as in http://www.dmalloc.com
   1991   --with-gcc-arch=<arch>  use architecture <arch> for gcc -march/-mtune,
   1992                           instead of guessing
   1993   --includearch-dir=DIR   ARCH specific include directory
   1994   --sharearch-dir=DIR     ARCH specific config directory
   1995   --with-pkgconfigdir=DIR Path to the pkgconfig directory [LIBDIR/pkgconfig]
   1996   --without-threads       disable POSIX threads API support
   1997   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1998                           both]
   1999   --with-aix-soname=aix|svr4|both
   2000                           shared library versioning (aka "SONAME") variant to
   2001                           provide on AIX, [default=aix].
   2002   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   2003                           compiler's sysroot if not specified).
   2004   --with-modules          enable building dynamically loadable modules
   2005   --with-method-prefix=PREFIX
   2006                           prefix MagickCore API methods
   2007   --with-utilities enable building command-line utilities (default yes)
   2008   --with-quantum-depth=DEPTH
   2009                           number of bits in a pixel quantum (default 16)
   2010   --with-cache=THRESHOLD  set pixel cache threshhold in MB (default available
   2011                           memory)
   2012   --with-frozenpaths      freeze delegate paths
   2013   --without-magick-plus-plus
   2014                           disable build/install of Magick++
   2015   --with-package-release-name=NAME
   2016                           encode this name into the shared library
   2017   --with-perl             enable build/install of PerlMagick
   2018   --with-perl-options=OPTIONS
   2019                           options to pass on command-line when generating
   2020                           PerlMagick build file
   2021   --with-jemalloc         enable jemalloc memory allocation library support
   2022   --with-umem             enable umem memory allocation library support
   2023   --with-libstdc=DIR      use libstdc++ in DIR (for GNU C++)
   2024   --without-bzlib         disable BZLIB support
   2025   --with-x                use the X Window System
   2026   --without-zlib          disable ZLIB support
   2027   --without-zstd          disable ZSTD support
   2028   --with-apple-font-dir=DIR
   2029                           Apple font directory
   2030   --with-autotrace        enable autotrace support
   2031   --without-dps           disable Display Postscript support
   2032   --with-dejavu-font-dir=DIR
   2033                           DejaVu font directory
   2034   --without-fftw          disable FFTW support
   2035   --without-flif          disable FLIF support
   2036   --without-fpx           disable FlashPIX support
   2037   --without-djvu          disable DjVu support
   2038   --without-fontconfig    disable fontconfig support
   2039   --without-freetype      disable Freetype support
   2040   --without-raqm          disable Raqm support
   2041   --with-gslib            enable Ghostscript library support
   2042   --with-fontpath=DIR     prepend to default font search path
   2043   --with-gs-font-dir=DIR  Ghostscript font directory
   2044   --with-gvc              enable GVC support
   2045   --without-heic          disable HEIC support
   2046   --without-jbig          disable JBIG support
   2047   --without-jpeg          disable JPEG support
   2048   --without-lcms          disable lcms (v1.1X) support
   2049   --without-openjp2       disable OpenJP2 support
   2050   --without-lqr           disable Liquid Rescale support
   2051   --without-lzma          disable LZMA support
   2052   --without-openexr       disable OpenEXR support
   2053   --without-pango         disable PANGO support
   2054   --without-png           disable PNG support
   2055   --without-raw           disable Raw support
   2056   --with-rsvg             enable RSVG support
   2057   --without-tiff          disable TIFF support
   2058   --with-urw-base35-font-dir=DIR
   2059                           URW-base35 font directory
   2060   --without-webp          disable WEBP support
   2061   --with-windows-font-dir=DIR
   2062                           Windows font directory
   2063   --with-wmf              enable WMF support
   2064   --without-xml           disable XML support
   2065 
   2066 Some influential environment variables:
   2067   CC          C compiler command
   2068   CFLAGS      C compiler flags
   2069   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   2070               nonstandard directory <lib dir>
   2071   LIBS        libraries to pass to the linker, e.g. -l<library>
   2072   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   2073               you have headers in a nonstandard directory <include dir>
   2074   CPP         C preprocessor
   2075   CXX         C++ compiler command
   2076   CXXFLAGS    C++ compiler flags
   2077   PKG_CONFIG  path to pkg-config utility
   2078   PKG_CONFIG_PATH
   2079               directories to add to pkg-config's search path
   2080   PKG_CONFIG_LIBDIR
   2081               path overriding pkg-config's built-in search path
   2082   LT_SYS_LIBRARY_PATH
   2083               User-defined run-time library search path.
   2084   CXXCPP      C++ preprocessor
   2085   XMKMF       Path to xmkmf, Makefile generator for X Window System
   2086   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
   2087   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
   2088   LIBZSTD_CFLAGS
   2089               C compiler flags for LIBZSTD, overriding pkg-config
   2090   LIBZSTD_LIBS
   2091               linker flags for LIBZSTD, overriding pkg-config
   2092   AUTOTRACE_CFLAGS
   2093               C compiler flags for AUTOTRACE, overriding pkg-config
   2094   AUTOTRACE_LIBS
   2095               linker flags for AUTOTRACE, overriding pkg-config
   2096   fftw3_CFLAGS
   2097               C compiler flags for fftw3, overriding pkg-config
   2098   fftw3_LIBS  linker flags for fftw3, overriding pkg-config
   2099   ddjvuapi_CFLAGS
   2100               C compiler flags for ddjvuapi, overriding pkg-config
   2101   ddjvuapi_LIBS
   2102               linker flags for ddjvuapi, overriding pkg-config
   2103   FONTCONFIG_CFLAGS
   2104               C compiler flags for FONTCONFIG, overriding pkg-config
   2105   FONTCONFIG_LIBS
   2106               linker flags for FONTCONFIG, overriding pkg-config
   2107   FREETYPE_CFLAGS
   2108               C compiler flags for FREETYPE, overriding pkg-config
   2109   FREETYPE_LIBS
   2110               linker flags for FREETYPE, overriding pkg-config
   2111   RAQM_CFLAGS C compiler flags for RAQM, overriding pkg-config
   2112   RAQM_LIBS   linker flags for RAQM, overriding pkg-config
   2113   GVC_CFLAGS  C compiler flags for GVC, overriding pkg-config
   2114   GVC_LIBS    linker flags for GVC, overriding pkg-config
   2115   HEIF_CFLAGS C compiler flags for HEIF, overriding pkg-config
   2116   HEIF_LIBS   linker flags for HEIF, overriding pkg-config
   2117   LCMS2_CFLAGS
   2118               C compiler flags for LCMS2, overriding pkg-config
   2119   LCMS2_LIBS  linker flags for LCMS2, overriding pkg-config
   2120   LIBOPENJP2_CFLAGS
   2121               C compiler flags for LIBOPENJP2, overriding pkg-config
   2122   LIBOPENJP2_LIBS
   2123               linker flags for LIBOPENJP2, overriding pkg-config
   2124   LQR_CFLAGS  C compiler flags for LQR, overriding pkg-config
   2125   LQR_LIBS    linker flags for LQR, overriding pkg-config
   2126   LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config
   2127   LZMA_LIBS   linker flags for LZMA, overriding pkg-config
   2128   OPENEXR_CFLAGS
   2129               C compiler flags for OPENEXR, overriding pkg-config
   2130   OPENEXR_LIBS
   2131               linker flags for OPENEXR, overriding pkg-config
   2132   PANGO_CFLAGS
   2133               C compiler flags for PANGO, overriding pkg-config
   2134   PANGO_LIBS  linker flags for PANGO, overriding pkg-config
   2135   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
   2136   PNG_LIBS    linker flags for PNG, overriding pkg-config
   2137   RAW_R_CFLAGS
   2138               C compiler flags for RAW_R, overriding pkg-config
   2139   RAW_R_LIBS  linker flags for RAW_R, overriding pkg-config
   2140   RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
   2141   RSVG_LIBS   linker flags for RSVG, overriding pkg-config
   2142   CAIRO_SVG_CFLAGS
   2143               C compiler flags for CAIRO_SVG, overriding pkg-config
   2144   CAIRO_SVG_LIBS
   2145               linker flags for CAIRO_SVG, overriding pkg-config
   2146   WEBP_CFLAGS C compiler flags for WEBP, overriding pkg-config
   2147   WEBP_LIBS   linker flags for WEBP, overriding pkg-config
   2148   WEBPMUX_CFLAGS
   2149               C compiler flags for WEBPMUX, overriding pkg-config
   2150   WEBPMUX_LIBS
   2151               linker flags for WEBPMUX, overriding pkg-config
   2152   XML_CFLAGS  C compiler flags for XML, overriding pkg-config
   2153   XML_LIBS    linker flags for XML, overriding pkg-config
   2154 
   2155 Use these variables to override the choices made by `configure' or to help
   2156 it to find libraries and programs with nonstandard names/locations.
   2157 
   2158 Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
   2159 ImageMagick home page: <https://imagemagick.org>.
   2160 _ACEOF
   2161 ac_status=$?
   2162 fi
   2163 
   2164 if test "$ac_init_help" = "recursive"; then
   2165   # If there are subdirs, report their specific --help.
   2166   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   2167     test -d "$ac_dir" ||
   2168       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   2169       continue
   2170     ac_builddir=.
   2171 
   2172 case "$ac_dir" in
   2173 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2174 *)
   2175   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   2176   # A ".." for each directory in $ac_dir_suffix.
   2177   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   2178   case $ac_top_builddir_sub in
   2179   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2180   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   2181   esac ;;
   2182 esac
   2183 ac_abs_top_builddir=$ac_pwd
   2184 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   2185 # for backward compatibility:
   2186 ac_top_builddir=$ac_top_build_prefix
   2187 
   2188 case $srcdir in
   2189   .)  # We are building in place.
   2190     ac_srcdir=.
   2191     ac_top_srcdir=$ac_top_builddir_sub
   2192     ac_abs_top_srcdir=$ac_pwd ;;
   2193   [\\/]* | ?:[\\/]* )  # Absolute name.
   2194     ac_srcdir=$srcdir$ac_dir_suffix;
   2195     ac_top_srcdir=$srcdir
   2196     ac_abs_top_srcdir=$srcdir ;;
   2197   *) # Relative name.
   2198     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   2199     ac_top_srcdir=$ac_top_build_prefix$srcdir
   2200     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   2201 esac
   2202 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   2203 
   2204     cd "$ac_dir" || { ac_status=$?; continue; }
   2205     # Check for guested configure.
   2206     if test -f "$ac_srcdir/configure.gnu"; then
   2207       echo &&
   2208       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   2209     elif test -f "$ac_srcdir/configure"; then
   2210       echo &&
   2211       $SHELL "$ac_srcdir/configure" --help=recursive
   2212     else
   2213       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   2214     fi || ac_status=$?
   2215     cd "$ac_pwd" || { ac_status=$?; break; }
   2216   done
   2217 fi
   2218 
   2219 test -n "$ac_init_help" && exit $ac_status
   2220 if $ac_init_version; then
   2221   cat <<\_ACEOF
   2222 ImageMagick configure 7.0.8-32
   2223 generated by GNU Autoconf 2.69
   2224 
   2225 Copyright (C) 2012 Free Software Foundation, Inc.
   2226 This configure script is free software; the Free Software Foundation
   2227 gives unlimited permission to copy, distribute and modify it.
   2228 _ACEOF
   2229   exit
   2230 fi
   2231 
   2232 ## ------------------------ ##
   2233 ## Autoconf initialization. ##
   2234 ## ------------------------ ##
   2235 
   2236 # ac_fn_c_try_compile LINENO
   2237 # --------------------------
   2238 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   2239 ac_fn_c_try_compile ()
   2240 {
   2241   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2242   rm -f conftest.$ac_objext
   2243   if { { ac_try="$ac_compile"
   2244 case "(($ac_try" in
   2245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2246   *) ac_try_echo=$ac_try;;
   2247 esac
   2248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2249 $as_echo "$ac_try_echo"; } >&5
   2250   (eval "$ac_compile") 2>conftest.err
   2251   ac_status=$?
   2252   if test -s conftest.err; then
   2253     grep -v '^ *+' conftest.err >conftest.er1
   2254     cat conftest.er1 >&5
   2255     mv -f conftest.er1 conftest.err
   2256   fi
   2257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2258   test $ac_status = 0; } && {
   2259 	 test -z "$ac_c_werror_flag" ||
   2260 	 test ! -s conftest.err
   2261        } && test -s conftest.$ac_objext; then :
   2262   ac_retval=0
   2263 else
   2264   $as_echo "$as_me: failed program was:" >&5
   2265 sed 's/^/| /' conftest.$ac_ext >&5
   2266 
   2267 	ac_retval=1
   2268 fi
   2269   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2270   as_fn_set_status $ac_retval
   2271 
   2272 } # ac_fn_c_try_compile
   2273 
   2274 # ac_fn_c_try_cpp LINENO
   2275 # ----------------------
   2276 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2277 ac_fn_c_try_cpp ()
   2278 {
   2279   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2280   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2281 case "(($ac_try" in
   2282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2283   *) ac_try_echo=$ac_try;;
   2284 esac
   2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2286 $as_echo "$ac_try_echo"; } >&5
   2287   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2288   ac_status=$?
   2289   if test -s conftest.err; then
   2290     grep -v '^ *+' conftest.err >conftest.er1
   2291     cat conftest.er1 >&5
   2292     mv -f conftest.er1 conftest.err
   2293   fi
   2294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2295   test $ac_status = 0; } > conftest.i && {
   2296 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2297 	 test ! -s conftest.err
   2298        }; then :
   2299   ac_retval=0
   2300 else
   2301   $as_echo "$as_me: failed program was:" >&5
   2302 sed 's/^/| /' conftest.$ac_ext >&5
   2303 
   2304     ac_retval=1
   2305 fi
   2306   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2307   as_fn_set_status $ac_retval
   2308 
   2309 } # ac_fn_c_try_cpp
   2310 
   2311 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2312 # -------------------------------------------------------
   2313 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2314 # the include files in INCLUDES and setting the cache variable VAR
   2315 # accordingly.
   2316 ac_fn_c_check_header_mongrel ()
   2317 {
   2318   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2319   if eval \${$3+:} false; then :
   2320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2321 $as_echo_n "checking for $2... " >&6; }
   2322 if eval \${$3+:} false; then :
   2323   $as_echo_n "(cached) " >&6
   2324 fi
   2325 eval ac_res=\$$3
   2326 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2327 $as_echo "$ac_res" >&6; }
   2328 else
   2329   # Is the header compilable?
   2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2331 $as_echo_n "checking $2 usability... " >&6; }
   2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2333 /* end confdefs.h.  */
   2334 $4
   2335 #include <$2>
   2336 _ACEOF
   2337 if ac_fn_c_try_compile "$LINENO"; then :
   2338   ac_header_compiler=yes
   2339 else
   2340   ac_header_compiler=no
   2341 fi
   2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2344 $as_echo "$ac_header_compiler" >&6; }
   2345 
   2346 # Is the header present?
   2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2348 $as_echo_n "checking $2 presence... " >&6; }
   2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2350 /* end confdefs.h.  */
   2351 #include <$2>
   2352 _ACEOF
   2353 if ac_fn_c_try_cpp "$LINENO"; then :
   2354   ac_header_preproc=yes
   2355 else
   2356   ac_header_preproc=no
   2357 fi
   2358 rm -f conftest.err conftest.i conftest.$ac_ext
   2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2360 $as_echo "$ac_header_preproc" >&6; }
   2361 
   2362 # So?  What about this header?
   2363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2364   yes:no: )
   2365     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2366 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2367     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2368 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2369     ;;
   2370   no:yes:* )
   2371     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2372 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2373     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2374 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2375     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2376 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2377     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2378 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2379     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2380 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2381 ( $as_echo "## ---------------------------------------------------------------- ##
   2382 ## Report this to https://github.com/ImageMagick/ImageMagick/issues ##
   2383 ## ---------------------------------------------------------------- ##"
   2384      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2385     ;;
   2386 esac
   2387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2388 $as_echo_n "checking for $2... " >&6; }
   2389 if eval \${$3+:} false; then :
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   eval "$3=\$ac_header_compiler"
   2393 fi
   2394 eval ac_res=\$$3
   2395 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2396 $as_echo "$ac_res" >&6; }
   2397 fi
   2398   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2399 
   2400 } # ac_fn_c_check_header_mongrel
   2401 
   2402 # ac_fn_c_try_run LINENO
   2403 # ----------------------
   2404 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   2405 # that executables *can* be run.
   2406 ac_fn_c_try_run ()
   2407 {
   2408   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2409   if { { ac_try="$ac_link"
   2410 case "(($ac_try" in
   2411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2412   *) ac_try_echo=$ac_try;;
   2413 esac
   2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2415 $as_echo "$ac_try_echo"; } >&5
   2416   (eval "$ac_link") 2>&5
   2417   ac_status=$?
   2418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2419   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2420   { { case "(($ac_try" in
   2421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2422   *) ac_try_echo=$ac_try;;
   2423 esac
   2424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2425 $as_echo "$ac_try_echo"; } >&5
   2426   (eval "$ac_try") 2>&5
   2427   ac_status=$?
   2428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2429   test $ac_status = 0; }; }; then :
   2430   ac_retval=0
   2431 else
   2432   $as_echo "$as_me: program exited with status $ac_status" >&5
   2433        $as_echo "$as_me: failed program was:" >&5
   2434 sed 's/^/| /' conftest.$ac_ext >&5
   2435 
   2436        ac_retval=$ac_status
   2437 fi
   2438   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2439   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2440   as_fn_set_status $ac_retval
   2441 
   2442 } # ac_fn_c_try_run
   2443 
   2444 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   2445 # -------------------------------------------------------
   2446 # Tests whether HEADER exists and can be compiled using the include files in
   2447 # INCLUDES, setting the cache variable VAR accordingly.
   2448 ac_fn_c_check_header_compile ()
   2449 {
   2450   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2452 $as_echo_n "checking for $2... " >&6; }
   2453 if eval \${$3+:} false; then :
   2454   $as_echo_n "(cached) " >&6
   2455 else
   2456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2457 /* end confdefs.h.  */
   2458 $4
   2459 #include <$2>
   2460 _ACEOF
   2461 if ac_fn_c_try_compile "$LINENO"; then :
   2462   eval "$3=yes"
   2463 else
   2464   eval "$3=no"
   2465 fi
   2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2467 fi
   2468 eval ac_res=\$$3
   2469 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2470 $as_echo "$ac_res" >&6; }
   2471   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2472 
   2473 } # ac_fn_c_check_header_compile
   2474 
   2475 # ac_fn_cxx_try_compile LINENO
   2476 # ----------------------------
   2477 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   2478 ac_fn_cxx_try_compile ()
   2479 {
   2480   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2481   rm -f conftest.$ac_objext
   2482   if { { ac_try="$ac_compile"
   2483 case "(($ac_try" in
   2484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2485   *) ac_try_echo=$ac_try;;
   2486 esac
   2487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2488 $as_echo "$ac_try_echo"; } >&5
   2489   (eval "$ac_compile") 2>conftest.err
   2490   ac_status=$?
   2491   if test -s conftest.err; then
   2492     grep -v '^ *+' conftest.err >conftest.er1
   2493     cat conftest.er1 >&5
   2494     mv -f conftest.er1 conftest.err
   2495   fi
   2496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2497   test $ac_status = 0; } && {
   2498 	 test -z "$ac_cxx_werror_flag" ||
   2499 	 test ! -s conftest.err
   2500        } && test -s conftest.$ac_objext; then :
   2501   ac_retval=0
   2502 else
   2503   $as_echo "$as_me: failed program was:" >&5
   2504 sed 's/^/| /' conftest.$ac_ext >&5
   2505 
   2506 	ac_retval=1
   2507 fi
   2508   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2509   as_fn_set_status $ac_retval
   2510 
   2511 } # ac_fn_cxx_try_compile
   2512 
   2513 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2514 # --------------------------------------------
   2515 # Tries to find the compile-time value of EXPR in a program that includes
   2516 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2517 # computed
   2518 ac_fn_c_compute_int ()
   2519 {
   2520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2521   if test "$cross_compiling" = yes; then
   2522     # Depending upon the size, compute the lo and hi bounds.
   2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2524 /* end confdefs.h.  */
   2525 $4
   2526 int
   2527 main ()
   2528 {
   2529 static int test_array [1 - 2 * !(($2) >= 0)];
   2530 test_array [0] = 0;
   2531 return test_array [0];
   2532 
   2533   ;
   2534   return 0;
   2535 }
   2536 _ACEOF
   2537 if ac_fn_c_try_compile "$LINENO"; then :
   2538   ac_lo=0 ac_mid=0
   2539   while :; do
   2540     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2541 /* end confdefs.h.  */
   2542 $4
   2543 int
   2544 main ()
   2545 {
   2546 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2547 test_array [0] = 0;
   2548 return test_array [0];
   2549 
   2550   ;
   2551   return 0;
   2552 }
   2553 _ACEOF
   2554 if ac_fn_c_try_compile "$LINENO"; then :
   2555   ac_hi=$ac_mid; break
   2556 else
   2557   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2558 			if test $ac_lo -le $ac_mid; then
   2559 			  ac_lo= ac_hi=
   2560 			  break
   2561 			fi
   2562 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2563 fi
   2564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2565   done
   2566 else
   2567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2568 /* end confdefs.h.  */
   2569 $4
   2570 int
   2571 main ()
   2572 {
   2573 static int test_array [1 - 2 * !(($2) < 0)];
   2574 test_array [0] = 0;
   2575 return test_array [0];
   2576 
   2577   ;
   2578   return 0;
   2579 }
   2580 _ACEOF
   2581 if ac_fn_c_try_compile "$LINENO"; then :
   2582   ac_hi=-1 ac_mid=-1
   2583   while :; do
   2584     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2585 /* end confdefs.h.  */
   2586 $4
   2587 int
   2588 main ()
   2589 {
   2590 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2591 test_array [0] = 0;
   2592 return test_array [0];
   2593 
   2594   ;
   2595   return 0;
   2596 }
   2597 _ACEOF
   2598 if ac_fn_c_try_compile "$LINENO"; then :
   2599   ac_lo=$ac_mid; break
   2600 else
   2601   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2602 			if test $ac_mid -le $ac_hi; then
   2603 			  ac_lo= ac_hi=
   2604 			  break
   2605 			fi
   2606 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2607 fi
   2608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2609   done
   2610 else
   2611   ac_lo= ac_hi=
   2612 fi
   2613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2614 fi
   2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2616 # Binary search between lo and hi bounds.
   2617 while test "x$ac_lo" != "x$ac_hi"; do
   2618   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2620 /* end confdefs.h.  */
   2621 $4
   2622 int
   2623 main ()
   2624 {
   2625 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2626 test_array [0] = 0;
   2627 return test_array [0];
   2628 
   2629   ;
   2630   return 0;
   2631 }
   2632 _ACEOF
   2633 if ac_fn_c_try_compile "$LINENO"; then :
   2634   ac_hi=$ac_mid
   2635 else
   2636   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2637 fi
   2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2639 done
   2640 case $ac_lo in #((
   2641 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2642 '') ac_retval=1 ;;
   2643 esac
   2644   else
   2645     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2646 /* end confdefs.h.  */
   2647 $4
   2648 static long int longval () { return $2; }
   2649 static unsigned long int ulongval () { return $2; }
   2650 #include <stdio.h>
   2651 #include <stdlib.h>
   2652 int
   2653 main ()
   2654 {
   2655 
   2656   FILE *f = fopen ("conftest.val", "w");
   2657   if (! f)
   2658     return 1;
   2659   if (($2) < 0)
   2660     {
   2661       long int i = longval ();
   2662       if (i != ($2))
   2663 	return 1;
   2664       fprintf (f, "%ld", i);
   2665     }
   2666   else
   2667     {
   2668       unsigned long int i = ulongval ();
   2669       if (i != ($2))
   2670 	return 1;
   2671       fprintf (f, "%lu", i);
   2672     }
   2673   /* Do not output a trailing newline, as this causes \r\n confusion
   2674      on some platforms.  */
   2675   return ferror (f) || fclose (f) != 0;
   2676 
   2677   ;
   2678   return 0;
   2679 }
   2680 _ACEOF
   2681 if ac_fn_c_try_run "$LINENO"; then :
   2682   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2683 else
   2684   ac_retval=1
   2685 fi
   2686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2687   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2688 rm -f conftest.val
   2689 
   2690   fi
   2691   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2692   as_fn_set_status $ac_retval
   2693 
   2694 } # ac_fn_c_compute_int
   2695 
   2696 # ac_fn_c_try_link LINENO
   2697 # -----------------------
   2698 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2699 ac_fn_c_try_link ()
   2700 {
   2701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2702   rm -f conftest.$ac_objext conftest$ac_exeext
   2703   if { { ac_try="$ac_link"
   2704 case "(($ac_try" in
   2705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2706   *) ac_try_echo=$ac_try;;
   2707 esac
   2708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2709 $as_echo "$ac_try_echo"; } >&5
   2710   (eval "$ac_link") 2>conftest.err
   2711   ac_status=$?
   2712   if test -s conftest.err; then
   2713     grep -v '^ *+' conftest.err >conftest.er1
   2714     cat conftest.er1 >&5
   2715     mv -f conftest.er1 conftest.err
   2716   fi
   2717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2718   test $ac_status = 0; } && {
   2719 	 test -z "$ac_c_werror_flag" ||
   2720 	 test ! -s conftest.err
   2721        } && test -s conftest$ac_exeext && {
   2722 	 test "$cross_compiling" = yes ||
   2723 	 test -x conftest$ac_exeext
   2724        }; then :
   2725   ac_retval=0
   2726 else
   2727   $as_echo "$as_me: failed program was:" >&5
   2728 sed 's/^/| /' conftest.$ac_ext >&5
   2729 
   2730 	ac_retval=1
   2731 fi
   2732   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2733   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2734   # interfere with the next link command; also delete a directory that is
   2735   # left behind by Apple's compiler.  We do this before executing the actions.
   2736   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2738   as_fn_set_status $ac_retval
   2739 
   2740 } # ac_fn_c_try_link
   2741 
   2742 # ac_fn_c_check_func LINENO FUNC VAR
   2743 # ----------------------------------
   2744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2745 ac_fn_c_check_func ()
   2746 {
   2747   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2749 $as_echo_n "checking for $2... " >&6; }
   2750 if eval \${$3+:} false; then :
   2751   $as_echo_n "(cached) " >&6
   2752 else
   2753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2754 /* end confdefs.h.  */
   2755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2757 #define $2 innocuous_$2
   2758 
   2759 /* System header to define __stub macros and hopefully few prototypes,
   2760     which can conflict with char $2 (); below.
   2761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2762     <limits.h> exists even on freestanding compilers.  */
   2763 
   2764 #ifdef __STDC__
   2765 # include <limits.h>
   2766 #else
   2767 # include <assert.h>
   2768 #endif
   2769 
   2770 #undef $2
   2771 
   2772 /* Override any GCC internal prototype to avoid an error.
   2773    Use char because int might match the return type of a GCC
   2774    builtin and then its argument prototype would still apply.  */
   2775 #ifdef __cplusplus
   2776 extern "C"
   2777 #endif
   2778 char $2 ();
   2779 /* The GNU C library defines this for functions which it implements
   2780     to always fail with ENOSYS.  Some functions are actually named
   2781     something starting with __ and the normal name is an alias.  */
   2782 #if defined __stub_$2 || defined __stub___$2
   2783 choke me
   2784 #endif
   2785 
   2786 int
   2787 main ()
   2788 {
   2789 return $2 ();
   2790   ;
   2791   return 0;
   2792 }
   2793 _ACEOF
   2794 if ac_fn_c_try_link "$LINENO"; then :
   2795   eval "$3=yes"
   2796 else
   2797   eval "$3=no"
   2798 fi
   2799 rm -f core conftest.err conftest.$ac_objext \
   2800     conftest$ac_exeext conftest.$ac_ext
   2801 fi
   2802 eval ac_res=\$$3
   2803 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2804 $as_echo "$ac_res" >&6; }
   2805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2806 
   2807 } # ac_fn_c_check_func
   2808 
   2809 # ac_fn_cxx_try_cpp LINENO
   2810 # ------------------------
   2811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2812 ac_fn_cxx_try_cpp ()
   2813 {
   2814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2815   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2816 case "(($ac_try" in
   2817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2818   *) ac_try_echo=$ac_try;;
   2819 esac
   2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2821 $as_echo "$ac_try_echo"; } >&5
   2822   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2823   ac_status=$?
   2824   if test -s conftest.err; then
   2825     grep -v '^ *+' conftest.err >conftest.er1
   2826     cat conftest.er1 >&5
   2827     mv -f conftest.er1 conftest.err
   2828   fi
   2829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2830   test $ac_status = 0; } > conftest.i && {
   2831 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   2832 	 test ! -s conftest.err
   2833        }; then :
   2834   ac_retval=0
   2835 else
   2836   $as_echo "$as_me: failed program was:" >&5
   2837 sed 's/^/| /' conftest.$ac_ext >&5
   2838 
   2839     ac_retval=1
   2840 fi
   2841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2842   as_fn_set_status $ac_retval
   2843 
   2844 } # ac_fn_cxx_try_cpp
   2845 
   2846 # ac_fn_cxx_try_link LINENO
   2847 # -------------------------
   2848 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2849 ac_fn_cxx_try_link ()
   2850 {
   2851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2852   rm -f conftest.$ac_objext conftest$ac_exeext
   2853   if { { ac_try="$ac_link"
   2854 case "(($ac_try" in
   2855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2856   *) ac_try_echo=$ac_try;;
   2857 esac
   2858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2859 $as_echo "$ac_try_echo"; } >&5
   2860   (eval "$ac_link") 2>conftest.err
   2861   ac_status=$?
   2862   if test -s conftest.err; then
   2863     grep -v '^ *+' conftest.err >conftest.er1
   2864     cat conftest.er1 >&5
   2865     mv -f conftest.er1 conftest.err
   2866   fi
   2867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2868   test $ac_status = 0; } && {
   2869 	 test -z "$ac_cxx_werror_flag" ||
   2870 	 test ! -s conftest.err
   2871        } && test -s conftest$ac_exeext && {
   2872 	 test "$cross_compiling" = yes ||
   2873 	 test -x conftest$ac_exeext
   2874        }; then :
   2875   ac_retval=0
   2876 else
   2877   $as_echo "$as_me: failed program was:" >&5
   2878 sed 's/^/| /' conftest.$ac_ext >&5
   2879 
   2880 	ac_retval=1
   2881 fi
   2882   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2883   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2884   # interfere with the next link command; also delete a directory that is
   2885   # left behind by Apple's compiler.  We do this before executing the actions.
   2886   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2887   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2888   as_fn_set_status $ac_retval
   2889 
   2890 } # ac_fn_cxx_try_link
   2891 
   2892 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2893 # -------------------------------------------
   2894 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2895 # variable VAR accordingly.
   2896 ac_fn_c_check_type ()
   2897 {
   2898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2900 $as_echo_n "checking for $2... " >&6; }
   2901 if eval \${$3+:} false; then :
   2902   $as_echo_n "(cached) " >&6
   2903 else
   2904   eval "$3=no"
   2905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2906 /* end confdefs.h.  */
   2907 $4
   2908 int
   2909 main ()
   2910 {
   2911 if (sizeof ($2))
   2912 	 return 0;
   2913   ;
   2914   return 0;
   2915 }
   2916 _ACEOF
   2917 if ac_fn_c_try_compile "$LINENO"; then :
   2918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2919 /* end confdefs.h.  */
   2920 $4
   2921 int
   2922 main ()
   2923 {
   2924 if (sizeof (($2)))
   2925 	    return 0;
   2926   ;
   2927   return 0;
   2928 }
   2929 _ACEOF
   2930 if ac_fn_c_try_compile "$LINENO"; then :
   2931 
   2932 else
   2933   eval "$3=yes"
   2934 fi
   2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2936 fi
   2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2938 fi
   2939 eval ac_res=\$$3
   2940 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2941 $as_echo "$ac_res" >&6; }
   2942   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2943 
   2944 } # ac_fn_c_check_type
   2945 
   2946 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2947 # ----------------------------------------------------
   2948 # Tries to find if the field MEMBER exists in type AGGR, after including
   2949 # INCLUDES, setting cache variable VAR accordingly.
   2950 ac_fn_c_check_member ()
   2951 {
   2952   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2954 $as_echo_n "checking for $2.$3... " >&6; }
   2955 if eval \${$4+:} false; then :
   2956   $as_echo_n "(cached) " >&6
   2957 else
   2958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2959 /* end confdefs.h.  */
   2960 $5
   2961 int
   2962 main ()
   2963 {
   2964 static $2 ac_aggr;
   2965 if (ac_aggr.$3)
   2966 return 0;
   2967   ;
   2968   return 0;
   2969 }
   2970 _ACEOF
   2971 if ac_fn_c_try_compile "$LINENO"; then :
   2972   eval "$4=yes"
   2973 else
   2974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2975 /* end confdefs.h.  */
   2976 $5
   2977 int
   2978 main ()
   2979 {
   2980 static $2 ac_aggr;
   2981 if (sizeof ac_aggr.$3)
   2982 return 0;
   2983   ;
   2984   return 0;
   2985 }
   2986 _ACEOF
   2987 if ac_fn_c_try_compile "$LINENO"; then :
   2988   eval "$4=yes"
   2989 else
   2990   eval "$4=no"
   2991 fi
   2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2993 fi
   2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2995 fi
   2996 eval ac_res=\$$4
   2997 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2998 $as_echo "$ac_res" >&6; }
   2999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3000 
   3001 } # ac_fn_c_check_member
   3002 
   3003 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   3004 # ---------------------------------------------
   3005 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   3006 # accordingly.
   3007 ac_fn_c_check_decl ()
   3008 {
   3009   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3010   as_decl_name=`echo $2|sed 's/ *(.*//'`
   3011   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   3012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   3013 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   3014 if eval \${$3+:} false; then :
   3015   $as_echo_n "(cached) " >&6
   3016 else
   3017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3018 /* end confdefs.h.  */
   3019 $4
   3020 int
   3021 main ()
   3022 {
   3023 #ifndef $as_decl_name
   3024 #ifdef __cplusplus
   3025   (void) $as_decl_use;
   3026 #else
   3027   (void) $as_decl_name;
   3028 #endif
   3029 #endif
   3030 
   3031   ;
   3032   return 0;
   3033 }
   3034 _ACEOF
   3035 if ac_fn_c_try_compile "$LINENO"; then :
   3036   eval "$3=yes"
   3037 else
   3038   eval "$3=no"
   3039 fi
   3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3041 fi
   3042 eval ac_res=\$$3
   3043 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3044 $as_echo "$ac_res" >&6; }
   3045   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3046 
   3047 } # ac_fn_c_check_decl
   3048 
   3049 # ac_fn_c_find_intX_t LINENO BITS VAR
   3050 # -----------------------------------
   3051 # Finds a signed integer type with width BITS, setting cache variable VAR
   3052 # accordingly.
   3053 ac_fn_c_find_intX_t ()
   3054 {
   3055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   3057 $as_echo_n "checking for int$2_t... " >&6; }
   3058 if eval \${$3+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   eval "$3=no"
   3062      # Order is important - never check a type that is potentially smaller
   3063      # than half of the expected target width.
   3064      for ac_type in int$2_t 'int' 'long int' \
   3065 	 'long long int' 'short int' 'signed char'; do
   3066        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3067 /* end confdefs.h.  */
   3068 $ac_includes_default
   3069 	     enum { N = $2 / 2 - 1 };
   3070 int
   3071 main ()
   3072 {
   3073 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   3074 test_array [0] = 0;
   3075 return test_array [0];
   3076 
   3077   ;
   3078   return 0;
   3079 }
   3080 _ACEOF
   3081 if ac_fn_c_try_compile "$LINENO"; then :
   3082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3083 /* end confdefs.h.  */
   3084 $ac_includes_default
   3085 	        enum { N = $2 / 2 - 1 };
   3086 int
   3087 main ()
   3088 {
   3089 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   3090 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   3091 test_array [0] = 0;
   3092 return test_array [0];
   3093 
   3094   ;
   3095   return 0;
   3096 }
   3097 _ACEOF
   3098 if ac_fn_c_try_compile "$LINENO"; then :
   3099 
   3100 else
   3101   case $ac_type in #(
   3102   int$2_t) :
   3103     eval "$3=yes" ;; #(
   3104   *) :
   3105     eval "$3=\$ac_type" ;;
   3106 esac
   3107 fi
   3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3109 fi
   3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3111        if eval test \"x\$"$3"\" = x"no"; then :
   3112 
   3113 else
   3114   break
   3115 fi
   3116      done
   3117 fi
   3118 eval ac_res=\$$3
   3119 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3120 $as_echo "$ac_res" >&6; }
   3121   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3122 
   3123 } # ac_fn_c_find_intX_t
   3124 
   3125 # ac_fn_c_find_uintX_t LINENO BITS VAR
   3126 # ------------------------------------
   3127 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   3128 # accordingly.
   3129 ac_fn_c_find_uintX_t ()
   3130 {
   3131   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   3133 $as_echo_n "checking for uint$2_t... " >&6; }
   3134 if eval \${$3+:} false; then :
   3135   $as_echo_n "(cached) " >&6
   3136 else
   3137   eval "$3=no"
   3138      # Order is important - never check a type that is potentially smaller
   3139      # than half of the expected target width.
   3140      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   3141 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   3142        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3143 /* end confdefs.h.  */
   3144 $ac_includes_default
   3145 int
   3146 main ()
   3147 {
   3148 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   3149 test_array [0] = 0;
   3150 return test_array [0];
   3151 
   3152   ;
   3153   return 0;
   3154 }
   3155 _ACEOF
   3156 if ac_fn_c_try_compile "$LINENO"; then :
   3157   case $ac_type in #(
   3158   uint$2_t) :
   3159     eval "$3=yes" ;; #(
   3160   *) :
   3161     eval "$3=\$ac_type" ;;
   3162 esac
   3163 fi
   3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3165        if eval test \"x\$"$3"\" = x"no"; then :
   3166 
   3167 else
   3168   break
   3169 fi
   3170      done
   3171 fi
   3172 eval ac_res=\$$3
   3173 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3174 $as_echo "$ac_res" >&6; }
   3175   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3176 
   3177 } # ac_fn_c_find_uintX_t
   3178 
   3179 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
   3180 # ---------------------------------------------------------
   3181 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   3182 # the include files in INCLUDES and setting the cache variable VAR
   3183 # accordingly.
   3184 ac_fn_cxx_check_header_mongrel ()
   3185 {
   3186   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3187   if eval \${$3+:} false; then :
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   3189 $as_echo_n "checking for $2... " >&6; }
   3190 if eval \${$3+:} false; then :
   3191   $as_echo_n "(cached) " >&6
   3192 fi
   3193 eval ac_res=\$$3
   3194 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3195 $as_echo "$ac_res" >&6; }
   3196 else
   3197   # Is the header compilable?
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   3199 $as_echo_n "checking $2 usability... " >&6; }
   3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3201 /* end confdefs.h.  */
   3202 $4
   3203 #include <$2>
   3204 _ACEOF
   3205 if ac_fn_cxx_try_compile "$LINENO"; then :
   3206   ac_header_compiler=yes
   3207 else
   3208   ac_header_compiler=no
   3209 fi
   3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   3212 $as_echo "$ac_header_compiler" >&6; }
   3213 
   3214 # Is the header present?
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   3216 $as_echo_n "checking $2 presence... " >&6; }
   3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3218 /* end confdefs.h.  */
   3219 #include <$2>
   3220 _ACEOF
   3221 if ac_fn_cxx_try_cpp "$LINENO"; then :
   3222   ac_header_preproc=yes
   3223 else
   3224   ac_header_preproc=no
   3225 fi
   3226 rm -f conftest.err conftest.i conftest.$ac_ext
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   3228 $as_echo "$ac_header_preproc" >&6; }
   3229 
   3230 # So?  What about this header?
   3231 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
   3232   yes:no: )
   3233     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   3234 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3235     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   3236 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   3237     ;;
   3238   no:yes:* )
   3239     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   3240 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   3241     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   3242 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   3243     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   3244 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   3245     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   3246 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   3247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   3248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   3249 ( $as_echo "## ---------------------------------------------------------------- ##
   3250 ## Report this to https://github.com/ImageMagick/ImageMagick/issues ##
   3251 ## ---------------------------------------------------------------- ##"
   3252      ) | sed "s/^/$as_me: WARNING:     /" >&2
   3253     ;;
   3254 esac
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   3256 $as_echo_n "checking for $2... " >&6; }
   3257 if eval \${$3+:} false; then :
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   eval "$3=\$ac_header_compiler"
   3261 fi
   3262 eval ac_res=\$$3
   3263 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3264 $as_echo "$ac_res" >&6; }
   3265 fi
   3266   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3267 
   3268 } # ac_fn_cxx_check_header_mongrel
   3269 cat >config.log <<_ACEOF
   3270 This file contains any messages produced by compilers while
   3271 running configure, to aid debugging if configure makes a mistake.
   3272 
   3273 It was created by ImageMagick $as_me 7.0.8-32, which was
   3274 generated by GNU Autoconf 2.69.  Invocation command line was
   3275 
   3276   $ $0 $@
   3277 
   3278 _ACEOF
   3279 exec 5>>config.log
   3280 {
   3281 cat <<_ASUNAME
   3282 ## --------- ##
   3283 ## Platform. ##
   3284 ## --------- ##
   3285 
   3286 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   3287 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   3288 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   3289 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   3290 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   3291 
   3292 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   3293 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   3294 
   3295 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   3296 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   3297 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   3298 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   3299 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   3300 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   3301 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   3302 
   3303 _ASUNAME
   3304 
   3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3306 for as_dir in $PATH
   3307 do
   3308   IFS=$as_save_IFS
   3309   test -z "$as_dir" && as_dir=.
   3310     $as_echo "PATH: $as_dir"
   3311   done
   3312 IFS=$as_save_IFS
   3313 
   3314 } >&5
   3315 
   3316 cat >&5 <<_ACEOF
   3317 
   3318 
   3319 ## ----------- ##
   3320 ## Core tests. ##
   3321 ## ----------- ##
   3322 
   3323 _ACEOF
   3324 
   3325 
   3326 # Keep a trace of the command line.
   3327 # Strip out --no-create and --no-recursion so they do not pile up.
   3328 # Strip out --silent because we don't want to record it for future runs.
   3329 # Also quote any args containing shell meta-characters.
   3330 # Make two passes to allow for proper duplicate-argument suppression.
   3331 ac_configure_args=
   3332 ac_configure_args0=
   3333 ac_configure_args1=
   3334 ac_must_keep_next=false
   3335 for ac_pass in 1 2
   3336 do
   3337   for ac_arg
   3338   do
   3339     case $ac_arg in
   3340     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   3341     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   3342     | -silent | --silent | --silen | --sile | --sil)
   3343       continue ;;
   3344     *\'*)
   3345       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   3346     esac
   3347     case $ac_pass in
   3348     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   3349     2)
   3350       as_fn_append ac_configure_args1 " '$ac_arg'"
   3351       if test $ac_must_keep_next = true; then
   3352 	ac_must_keep_next=false # Got value, back to normal.
   3353       else
   3354 	case $ac_arg in
   3355 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   3356 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   3357 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   3358 	  | -with-* | --with-* | -without-* | --without-* | --x)
   3359 	    case "$ac_configure_args0 " in
   3360 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   3361 	    esac
   3362 	    ;;
   3363 	  -* ) ac_must_keep_next=true ;;
   3364 	esac
   3365       fi
   3366       as_fn_append ac_configure_args " '$ac_arg'"
   3367       ;;
   3368     esac
   3369   done
   3370 done
   3371 { ac_configure_args0=; unset ac_configure_args0;}
   3372 { ac_configure_args1=; unset ac_configure_args1;}
   3373 
   3374 # When interrupted or exit'd, cleanup temporary files, and complete
   3375 # config.log.  We remove comments because anyway the quotes in there
   3376 # would cause problems or look ugly.
   3377 # WARNING: Use '\'' to represent an apostrophe within the trap.
   3378 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   3379 trap 'exit_status=$?
   3380   # Save into config.log some information that might help in debugging.
   3381   {
   3382     echo
   3383 
   3384     $as_echo "## ---------------- ##
   3385 ## Cache variables. ##
   3386 ## ---------------- ##"
   3387     echo
   3388     # The following way of writing the cache mishandles newlines in values,
   3389 (
   3390   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   3391     eval ac_val=\$$ac_var
   3392     case $ac_val in #(
   3393     *${as_nl}*)
   3394       case $ac_var in #(
   3395       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   3396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   3397       esac
   3398       case $ac_var in #(
   3399       _ | IFS | as_nl) ;; #(
   3400       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   3401       *) { eval $ac_var=; unset $ac_var;} ;;
   3402       esac ;;
   3403     esac
   3404   done
   3405   (set) 2>&1 |
   3406     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   3407     *${as_nl}ac_space=\ *)
   3408       sed -n \
   3409 	"s/'\''/'\''\\\\'\'''\''/g;
   3410 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   3411       ;; #(
   3412     *)
   3413       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   3414       ;;
   3415     esac |
   3416     sort
   3417 )
   3418     echo
   3419 
   3420     $as_echo "## ----------------- ##
   3421 ## Output variables. ##
   3422 ## ----------------- ##"
   3423     echo
   3424     for ac_var in $ac_subst_vars
   3425     do
   3426       eval ac_val=\$$ac_var
   3427       case $ac_val in
   3428       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   3429       esac
   3430       $as_echo "$ac_var='\''$ac_val'\''"
   3431     done | sort
   3432     echo
   3433 
   3434     if test -n "$ac_subst_files"; then
   3435       $as_echo "## ------------------- ##
   3436 ## File substitutions. ##
   3437 ## ------------------- ##"
   3438       echo
   3439       for ac_var in $ac_subst_files
   3440       do
   3441 	eval ac_val=\$$ac_var
   3442 	case $ac_val in
   3443 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   3444 	esac
   3445 	$as_echo "$ac_var='\''$ac_val'\''"
   3446       done | sort
   3447       echo
   3448     fi
   3449 
   3450     if test -s confdefs.h; then
   3451       $as_echo "## ----------- ##
   3452 ## confdefs.h. ##
   3453 ## ----------- ##"
   3454       echo
   3455       cat confdefs.h
   3456       echo
   3457     fi
   3458     test "$ac_signal" != 0 &&
   3459       $as_echo "$as_me: caught signal $ac_signal"
   3460     $as_echo "$as_me: exit $exit_status"
   3461   } >&5
   3462   rm -f core *.core core.conftest.* &&
   3463     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   3464     exit $exit_status
   3465 ' 0
   3466 for ac_signal in 1 2 13 15; do
   3467   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   3468 done
   3469 ac_signal=0
   3470 
   3471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   3472 rm -f -r conftest* confdefs.h
   3473 
   3474 $as_echo "/* confdefs.h */" > confdefs.h
   3475 
   3476 # Predefined preprocessor variables.
   3477 
   3478 cat >>confdefs.h <<_ACEOF
   3479 #define PACKAGE_NAME "$PACKAGE_NAME"
   3480 _ACEOF
   3481 
   3482 cat >>confdefs.h <<_ACEOF
   3483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   3484 _ACEOF
   3485 
   3486 cat >>confdefs.h <<_ACEOF
   3487 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   3488 _ACEOF
   3489 
   3490 cat >>confdefs.h <<_ACEOF
   3491 #define PACKAGE_STRING "$PACKAGE_STRING"
   3492 _ACEOF
   3493 
   3494 cat >>confdefs.h <<_ACEOF
   3495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   3496 _ACEOF
   3497 
   3498 cat >>confdefs.h <<_ACEOF
   3499 #define PACKAGE_URL "$PACKAGE_URL"
   3500 _ACEOF
   3501 
   3502 
   3503 # Let the site file select an alternate cache file if it wants to.
   3504 # Prefer an explicitly selected file to automatically selected ones.
   3505 ac_site_file1=NONE
   3506 ac_site_file2=NONE
   3507 if test -n "$CONFIG_SITE"; then
   3508   # We do not want a PATH search for config.site.
   3509   case $CONFIG_SITE in #((
   3510     -*)  ac_site_file1=./$CONFIG_SITE;;
   3511     */*) ac_site_file1=$CONFIG_SITE;;
   3512     *)   ac_site_file1=./$CONFIG_SITE;;
   3513   esac
   3514 elif test "x$prefix" != xNONE; then
   3515   ac_site_file1=$prefix/share/config.site
   3516   ac_site_file2=$prefix/etc/config.site
   3517 else
   3518   ac_site_file1=$ac_default_prefix/share/config.site
   3519   ac_site_file2=$ac_default_prefix/etc/config.site
   3520 fi
   3521 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   3522 do
   3523   test "x$ac_site_file" = xNONE && continue
   3524   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   3525     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   3526 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   3527     sed 's/^/| /' "$ac_site_file" >&5
   3528     . "$ac_site_file" \
   3529       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3531 as_fn_error $? "failed to load site script $ac_site_file
   3532 See \`config.log' for more details" "$LINENO" 5; }
   3533   fi
   3534 done
   3535 
   3536 if test -r "$cache_file"; then
   3537   # Some versions of bash will fail to source /dev/null (special files
   3538   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   3539   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   3540     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   3541 $as_echo "$as_me: loading cache $cache_file" >&6;}
   3542     case $cache_file in
   3543       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   3544       *)                      . "./$cache_file";;
   3545     esac
   3546   fi
   3547 else
   3548   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   3549 $as_echo "$as_me: creating cache $cache_file" >&6;}
   3550   >$cache_file
   3551 fi
   3552 
   3553 as_fn_append ac_header_list " stdlib.h"
   3554 as_fn_append ac_header_list " unistd.h"
   3555 as_fn_append ac_header_list " sys/param.h"
   3556 # Check that the precious variables saved in the cache have kept the same
   3557 # value.
   3558 ac_cache_corrupted=false
   3559 for ac_var in $ac_precious_vars; do
   3560   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3561   eval ac_new_set=\$ac_env_${ac_var}_set
   3562   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3563   eval ac_new_val=\$ac_env_${ac_var}_value
   3564   case $ac_old_set,$ac_new_set in
   3565     set,)
   3566       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3567 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3568       ac_cache_corrupted=: ;;
   3569     ,set)
   3570       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3571 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3572       ac_cache_corrupted=: ;;
   3573     ,);;
   3574     *)
   3575       if test "x$ac_old_val" != "x$ac_new_val"; then
   3576 	# differences in whitespace do not lead to failure.
   3577 	ac_old_val_w=`echo x $ac_old_val`
   3578 	ac_new_val_w=`echo x $ac_new_val`
   3579 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3580 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3581 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3582 	  ac_cache_corrupted=:
   3583 	else
   3584 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3585 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3586 	  eval $ac_var=\$ac_old_val
   3587 	fi
   3588 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3589 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3590 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3591 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   3592       fi;;
   3593   esac
   3594   # Pass precious variables to config.status.
   3595   if test "$ac_new_set" = set; then
   3596     case $ac_new_val in
   3597     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3598     *) ac_arg=$ac_var=$ac_new_val ;;
   3599     esac
   3600     case " $ac_configure_args " in
   3601       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3602       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3603     esac
   3604   fi
   3605 done
   3606 if $ac_cache_corrupted; then
   3607   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3609   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3610 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   3611   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   3612 fi
   3613 ## -------------------- ##
   3614 ## Main body of script. ##
   3615 ## -------------------- ##
   3616 
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 
   3623 
   3624 
   3625 ac_aux_dir=
   3626 for ac_dir in config "$srcdir"/config; do
   3627   if test -f "$ac_dir/install-sh"; then
   3628     ac_aux_dir=$ac_dir
   3629     ac_install_sh="$ac_aux_dir/install-sh -c"
   3630     break
   3631   elif test -f "$ac_dir/install.sh"; then
   3632     ac_aux_dir=$ac_dir
   3633     ac_install_sh="$ac_aux_dir/install.sh -c"
   3634     break
   3635   elif test -f "$ac_dir/shtool"; then
   3636     ac_aux_dir=$ac_dir
   3637     ac_install_sh="$ac_aux_dir/shtool install -c"
   3638     break
   3639   fi
   3640 done
   3641 if test -z "$ac_aux_dir"; then
   3642   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
   3643 fi
   3644 
   3645 # These three variables are undocumented and unsupported,
   3646 # and are intended to be withdrawn in a future Autoconf release.
   3647 # They can cause serious problems if a builder's source tree is in a directory
   3648 # whose full name contains unusual characters.
   3649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3651 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3652 
   3653 
   3654 
   3655 
   3656 ac_config_headers="$ac_config_headers config/config.h"
   3657 
   3658 
   3659 ac_config_commands="$ac_config_commands MagickCore/magick-baseconfig.h"
   3660 
   3661 # Make sure we can run config.sub.
   3662 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3663   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3664 
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3666 $as_echo_n "checking build system type... " >&6; }
   3667 if ${ac_cv_build+:} false; then :
   3668   $as_echo_n "(cached) " >&6
   3669 else
   3670   ac_build_alias=$build_alias
   3671 test "x$ac_build_alias" = x &&
   3672   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3673 test "x$ac_build_alias" = x &&
   3674   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3675 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3676   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3677 
   3678 fi
   3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3680 $as_echo "$ac_cv_build" >&6; }
   3681 case $ac_cv_build in
   3682 *-*-*) ;;
   3683 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3684 esac
   3685 build=$ac_cv_build
   3686 ac_save_IFS=$IFS; IFS='-'
   3687 set x $ac_cv_build
   3688 shift
   3689 build_cpu=$1
   3690 build_vendor=$2
   3691 shift; shift
   3692 # Remember, the first character of IFS is used to create $*,
   3693 # except with old shells:
   3694 build_os=$*
   3695 IFS=$ac_save_IFS
   3696 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3697 
   3698 
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3700 $as_echo_n "checking host system type... " >&6; }
   3701 if ${ac_cv_host+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   if test "x$host_alias" = x; then
   3705   ac_cv_host=$ac_cv_build
   3706 else
   3707   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3708     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3709 fi
   3710 
   3711 fi
   3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3713 $as_echo "$ac_cv_host" >&6; }
   3714 case $ac_cv_host in
   3715 *-*-*) ;;
   3716 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3717 esac
   3718 host=$ac_cv_host
   3719 ac_save_IFS=$IFS; IFS='-'
   3720 set x $ac_cv_host
   3721 shift
   3722 host_cpu=$1
   3723 host_vendor=$2
   3724 shift; shift
   3725 # Remember, the first character of IFS is used to create $*,
   3726 # except with old shells:
   3727 host_os=$*
   3728 IFS=$ac_save_IFS
   3729 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3730 
   3731 
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   3733 $as_echo_n "checking target system type... " >&6; }
   3734 if ${ac_cv_target+:} false; then :
   3735   $as_echo_n "(cached) " >&6
   3736 else
   3737   if test "x$target_alias" = x; then
   3738   ac_cv_target=$ac_cv_host
   3739 else
   3740   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   3741     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   3742 fi
   3743 
   3744 fi
   3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   3746 $as_echo "$ac_cv_target" >&6; }
   3747 case $ac_cv_target in
   3748 *-*-*) ;;
   3749 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   3750 esac
   3751 target=$ac_cv_target
   3752 ac_save_IFS=$IFS; IFS='-'
   3753 set x $ac_cv_target
   3754 shift
   3755 target_cpu=$1
   3756 target_vendor=$2
   3757 shift; shift
   3758 # Remember, the first character of IFS is used to create $*,
   3759 # except with old shells:
   3760 target_os=$*
   3761 IFS=$ac_save_IFS
   3762 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   3763 
   3764 
   3765 # The aliases save the names the user supplied, while $host etc.
   3766 # will get canonicalized.
   3767 test -n "$target_alias" &&
   3768   test "$program_prefix$program_suffix$program_transform_name" = \
   3769     NONENONEs,x,x, &&
   3770   program_prefix=${target_alias}-
   3771 
   3772 
   3773 am__api_version='1.16'
   3774 
   3775 # Find a good install program.  We prefer a C program (faster),
   3776 # so one script is as good as another.  But avoid the broken or
   3777 # incompatible versions:
   3778 # SysV /etc/install, /usr/sbin/install
   3779 # SunOS /usr/etc/install
   3780 # IRIX /sbin/install
   3781 # AIX /bin/install
   3782 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3783 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3784 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3785 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3786 # OS/2's system install, which has a completely different semantic
   3787 # ./install, which can be erroneously created by make from ./install.sh.
   3788 # Reject install programs that cannot install multiple files.
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3790 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3791 if test -z "$INSTALL"; then
   3792 if ${ac_cv_path_install+:} false; then :
   3793   $as_echo_n "(cached) " >&6
   3794 else
   3795   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3796 for as_dir in $PATH
   3797 do
   3798   IFS=$as_save_IFS
   3799   test -z "$as_dir" && as_dir=.
   3800     # Account for people who put trailing slashes in PATH elements.
   3801 case $as_dir/ in #((
   3802   ./ | .// | /[cC]/* | \
   3803   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3804   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3805   /usr/ucb/* ) ;;
   3806   *)
   3807     # OSF1 and SCO ODT 3.0 have their own names for install.
   3808     # Don't use installbsd from OSF since it installs stuff as root
   3809     # by default.
   3810     for ac_prog in ginstall scoinst install; do
   3811       for ac_exec_ext in '' $ac_executable_extensions; do
   3812 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3813 	  if test $ac_prog = install &&
   3814 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3815 	    # AIX install.  It has an incompatible calling convention.
   3816 	    :
   3817 	  elif test $ac_prog = install &&
   3818 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3819 	    # program-specific install script used by HP pwplus--don't use.
   3820 	    :
   3821 	  else
   3822 	    rm -rf conftest.one conftest.two conftest.dir
   3823 	    echo one > conftest.one
   3824 	    echo two > conftest.two
   3825 	    mkdir conftest.dir
   3826 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3827 	      test -s conftest.one && test -s conftest.two &&
   3828 	      test -s conftest.dir/conftest.one &&
   3829 	      test -s conftest.dir/conftest.two
   3830 	    then
   3831 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3832 	      break 3
   3833 	    fi
   3834 	  fi
   3835 	fi
   3836       done
   3837     done
   3838     ;;
   3839 esac
   3840 
   3841   done
   3842 IFS=$as_save_IFS
   3843 
   3844 rm -rf conftest.one conftest.two conftest.dir
   3845 
   3846 fi
   3847   if test "${ac_cv_path_install+set}" = set; then
   3848     INSTALL=$ac_cv_path_install
   3849   else
   3850     # As a last resort, use the slow shell script.  Don't cache a
   3851     # value for INSTALL within a source directory, because that will
   3852     # break other packages using the cache if that directory is
   3853     # removed, or if the value is a relative name.
   3854     INSTALL=$ac_install_sh
   3855   fi
   3856 fi
   3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3858 $as_echo "$INSTALL" >&6; }
   3859 
   3860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3861 # It thinks the first close brace ends the variable substitution.
   3862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3863 
   3864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3865 
   3866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3867 
   3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3869 $as_echo_n "checking whether build environment is sane... " >&6; }
   3870 # Reject unsafe characters in $srcdir or the absolute working directory
   3871 # name.  Accept space and tab only in the latter.
   3872 am_lf='
   3873 '
   3874 case `pwd` in
   3875   *[\\\"\#\$\&\'\`$am_lf]*)
   3876     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3877 esac
   3878 case $srcdir in
   3879   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3880     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3881 esac
   3882 
   3883 # Do 'set' in a subshell so we don't clobber the current shell's
   3884 # arguments.  Must try -L first in case configure is actually a
   3885 # symlink; some systems play weird games with the mod time of symlinks
   3886 # (eg FreeBSD returns the mod time of the symlink's containing
   3887 # directory).
   3888 if (
   3889    am_has_slept=no
   3890    for am_try in 1 2; do
   3891      echo "timestamp, slept: $am_has_slept" > conftest.file
   3892      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3893      if test "$*" = "X"; then
   3894 	# -L didn't work.
   3895 	set X `ls -t "$srcdir/configure" conftest.file`
   3896      fi
   3897      if test "$*" != "X $srcdir/configure conftest.file" \
   3898 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3899 
   3900 	# If neither matched, then we have a broken ls.  This can happen
   3901 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3902 	# broken ls alias from the environment.  This has actually
   3903 	# happened.  Such a system could not be considered "sane".
   3904 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3905   alias in your environment" "$LINENO" 5
   3906      fi
   3907      if test "$2" = conftest.file || test $am_try -eq 2; then
   3908        break
   3909      fi
   3910      # Just in case.
   3911      sleep 1
   3912      am_has_slept=yes
   3913    done
   3914    test "$2" = conftest.file
   3915    )
   3916 then
   3917    # Ok.
   3918    :
   3919 else
   3920    as_fn_error $? "newly created file is older than distributed files!
   3921 Check your system clock" "$LINENO" 5
   3922 fi
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3924 $as_echo "yes" >&6; }
   3925 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3926 # generated files are strictly newer.
   3927 am_sleep_pid=
   3928 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3929   ( sleep 1 ) &
   3930   am_sleep_pid=$!
   3931 fi
   3932 
   3933 rm -f conftest.file
   3934 
   3935 test "$program_prefix" != NONE &&
   3936   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3937 # Use a double $ so make ignores it.
   3938 test "$program_suffix" != NONE &&
   3939   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3940 # Double any \ or $.
   3941 # By default was `s,x,x', remove it if useless.
   3942 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3943 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3944 
   3945 # Expand $ac_aux_dir to an absolute path.
   3946 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3947 
   3948 if test x"${MISSING+set}" != xset; then
   3949   case $am_aux_dir in
   3950   *\ * | *\	*)
   3951     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3952   *)
   3953     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3954   esac
   3955 fi
   3956 # Use eval to expand $SHELL
   3957 if eval "$MISSING --is-lightweight"; then
   3958   am_missing_run="$MISSING "
   3959 else
   3960   am_missing_run=
   3961   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3962 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3963 fi
   3964 
   3965 if test x"${install_sh+set}" != xset; then
   3966   case $am_aux_dir in
   3967   *\ * | *\	*)
   3968     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3969   *)
   3970     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3971   esac
   3972 fi
   3973 
   3974 # Installed binaries are usually stripped using 'strip' when the user
   3975 # run "make install-strip".  However 'strip' might not be the right
   3976 # tool to use in cross-compilation environments, therefore Automake
   3977 # will honor the 'STRIP' environment variable to overrule this program.
   3978 if test "$cross_compiling" != no; then
   3979   if test -n "$ac_tool_prefix"; then
   3980   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3981 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3983 $as_echo_n "checking for $ac_word... " >&6; }
   3984 if ${ac_cv_prog_STRIP+:} false; then :
   3985   $as_echo_n "(cached) " >&6
   3986 else
   3987   if test -n "$STRIP"; then
   3988   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3989 else
   3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3991 for as_dir in $PATH
   3992 do
   3993   IFS=$as_save_IFS
   3994   test -z "$as_dir" && as_dir=.
   3995     for ac_exec_ext in '' $ac_executable_extensions; do
   3996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3997     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3999     break 2
   4000   fi
   4001 done
   4002   done
   4003 IFS=$as_save_IFS
   4004 
   4005 fi
   4006 fi
   4007 STRIP=$ac_cv_prog_STRIP
   4008 if test -n "$STRIP"; then
   4009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4010 $as_echo "$STRIP" >&6; }
   4011 else
   4012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4013 $as_echo "no" >&6; }
   4014 fi
   4015 
   4016 
   4017 fi
   4018 if test -z "$ac_cv_prog_STRIP"; then
   4019   ac_ct_STRIP=$STRIP
   4020   # Extract the first word of "strip", so it can be a program name with args.
   4021 set dummy strip; ac_word=$2
   4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4023 $as_echo_n "checking for $ac_word... " >&6; }
   4024 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4025   $as_echo_n "(cached) " >&6
   4026 else
   4027   if test -n "$ac_ct_STRIP"; then
   4028   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4029 else
   4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4031 for as_dir in $PATH
   4032 do
   4033   IFS=$as_save_IFS
   4034   test -z "$as_dir" && as_dir=.
   4035     for ac_exec_ext in '' $ac_executable_extensions; do
   4036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4037     ac_cv_prog_ac_ct_STRIP="strip"
   4038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4039     break 2
   4040   fi
   4041 done
   4042   done
   4043 IFS=$as_save_IFS
   4044 
   4045 fi
   4046 fi
   4047 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4048 if test -n "$ac_ct_STRIP"; then
   4049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4050 $as_echo "$ac_ct_STRIP" >&6; }
   4051 else
   4052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4053 $as_echo "no" >&6; }
   4054 fi
   4055 
   4056   if test "x$ac_ct_STRIP" = x; then
   4057     STRIP=":"
   4058   else
   4059     case $cross_compiling:$ac_tool_warned in
   4060 yes:)
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4063 ac_tool_warned=yes ;;
   4064 esac
   4065     STRIP=$ac_ct_STRIP
   4066   fi
   4067 else
   4068   STRIP="$ac_cv_prog_STRIP"
   4069 fi
   4070 
   4071 fi
   4072 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4073 
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4075 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4076 if test -z "$MKDIR_P"; then
   4077   if ${ac_cv_path_mkdir+:} false; then :
   4078   $as_echo_n "(cached) " >&6
   4079 else
   4080   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4081 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4082 do
   4083   IFS=$as_save_IFS
   4084   test -z "$as_dir" && as_dir=.
   4085     for ac_prog in mkdir gmkdir; do
   4086 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4087 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4088 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4089 	     'mkdir (GNU coreutils) '* | \
   4090 	     'mkdir (coreutils) '* | \
   4091 	     'mkdir (fileutils) '4.1*)
   4092 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4093 	       break 3;;
   4094 	   esac
   4095 	 done
   4096        done
   4097   done
   4098 IFS=$as_save_IFS
   4099 
   4100 fi
   4101 
   4102   test -d ./--version && rmdir ./--version
   4103   if test "${ac_cv_path_mkdir+set}" = set; then
   4104     MKDIR_P="$ac_cv_path_mkdir -p"
   4105   else
   4106     # As a last resort, use the slow shell script.  Don't cache a
   4107     # value for MKDIR_P within a source directory, because that will
   4108     # break other packages using the cache if that directory is
   4109     # removed, or if the value is a relative name.
   4110     MKDIR_P="$ac_install_sh -d"
   4111   fi
   4112 fi
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4114 $as_echo "$MKDIR_P" >&6; }
   4115 
   4116 for ac_prog in gawk mawk nawk awk
   4117 do
   4118   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4119 set dummy $ac_prog; ac_word=$2
   4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4121 $as_echo_n "checking for $ac_word... " >&6; }
   4122 if ${ac_cv_prog_AWK+:} false; then :
   4123   $as_echo_n "(cached) " >&6
   4124 else
   4125   if test -n "$AWK"; then
   4126   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4127 else
   4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4129 for as_dir in $PATH
   4130 do
   4131   IFS=$as_save_IFS
   4132   test -z "$as_dir" && as_dir=.
   4133     for ac_exec_ext in '' $ac_executable_extensions; do
   4134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4135     ac_cv_prog_AWK="$ac_prog"
   4136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4137     break 2
   4138   fi
   4139 done
   4140   done
   4141 IFS=$as_save_IFS
   4142 
   4143 fi
   4144 fi
   4145 AWK=$ac_cv_prog_AWK
   4146 if test -n "$AWK"; then
   4147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4148 $as_echo "$AWK" >&6; }
   4149 else
   4150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4151 $as_echo "no" >&6; }
   4152 fi
   4153 
   4154 
   4155   test -n "$AWK" && break
   4156 done
   4157 
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4159 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4160 set x ${MAKE-make}
   4161 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4162 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4163   $as_echo_n "(cached) " >&6
   4164 else
   4165   cat >conftest.make <<\_ACEOF
   4166 SHELL = /bin/sh
   4167 all:
   4168 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4169 _ACEOF
   4170 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4171 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4172   *@@@%%%=?*=@@@%%%*)
   4173     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4174   *)
   4175     eval ac_cv_prog_make_${ac_make}_set=no;;
   4176 esac
   4177 rm -f conftest.make
   4178 fi
   4179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4181 $as_echo "yes" >&6; }
   4182   SET_MAKE=
   4183 else
   4184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4185 $as_echo "no" >&6; }
   4186   SET_MAKE="MAKE=${MAKE-make}"
   4187 fi
   4188 
   4189 rm -rf .tst 2>/dev/null
   4190 mkdir .tst 2>/dev/null
   4191 if test -d .tst; then
   4192   am__leading_dot=.
   4193 else
   4194   am__leading_dot=_
   4195 fi
   4196 rmdir .tst 2>/dev/null
   4197 
   4198 # Check whether --enable-silent-rules was given.
   4199 if test "${enable_silent_rules+set}" = set; then :
   4200   enableval=$enable_silent_rules;
   4201 fi
   4202 
   4203 case $enable_silent_rules in # (((
   4204   yes) AM_DEFAULT_VERBOSITY=0;;
   4205    no) AM_DEFAULT_VERBOSITY=1;;
   4206     *) AM_DEFAULT_VERBOSITY=1;;
   4207 esac
   4208 am_make=${MAKE-make}
   4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4210 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4211 if ${am_cv_make_support_nested_variables+:} false; then :
   4212   $as_echo_n "(cached) " >&6
   4213 else
   4214   if $as_echo 'TRUE=$(BAR$(V))
   4215 BAR0=false
   4216 BAR1=true
   4217 V=1
   4218 am__doit:
   4219 	@$(TRUE)
   4220 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4221   am_cv_make_support_nested_variables=yes
   4222 else
   4223   am_cv_make_support_nested_variables=no
   4224 fi
   4225 fi
   4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4227 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4228 if test $am_cv_make_support_nested_variables = yes; then
   4229     AM_V='$(V)'
   4230   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4231 else
   4232   AM_V=$AM_DEFAULT_VERBOSITY
   4233   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4234 fi
   4235 AM_BACKSLASH='\'
   4236 
   4237 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4238   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4239   # is not polluted with repeated "-I."
   4240   am__isrc=' -I$(srcdir)'
   4241   # test to see if srcdir already configured
   4242   if test -f $srcdir/config.status; then
   4243     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4244   fi
   4245 fi
   4246 
   4247 # test whether we have cygpath
   4248 if test -z "$CYGPATH_W"; then
   4249   if (cygpath --version) >/dev/null 2>/dev/null; then
   4250     CYGPATH_W='cygpath -w'
   4251   else
   4252     CYGPATH_W=echo
   4253   fi
   4254 fi
   4255 
   4256 
   4257 # Define the identity of the package.
   4258  PACKAGE='ImageMagick'
   4259  VERSION='7.0.8-32'
   4260 
   4261 
   4262 cat >>confdefs.h <<_ACEOF
   4263 #define PACKAGE "$PACKAGE"
   4264 _ACEOF
   4265 
   4266 
   4267 cat >>confdefs.h <<_ACEOF
   4268 #define VERSION "$VERSION"
   4269 _ACEOF
   4270 
   4271 # Some tools Automake needs.
   4272 
   4273 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4274 
   4275 
   4276 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4277 
   4278 
   4279 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4280 
   4281 
   4282 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4283 
   4284 
   4285 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4286 
   4287 # For better backward compatibility.  To be removed once Automake 1.9.x
   4288 # dies out for good.  For more background, see:
   4289 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4290 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4291 mkdir_p='$(MKDIR_P)'
   4292 
   4293 # We need awk for the "check" target (and possibly the TAP driver).  The
   4294 # system "awk" is bad on some platforms.
   4295 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4296 # in the wild :-(  We should find a proper way to deprecate it ...
   4297 AMTAR='$${TAR-tar}'
   4298 
   4299 
   4300 # We'll loop over all known methods to create a tar archive until one works.
   4301 _am_tools='gnutar plaintar pax cpio none'
   4302 
   4303 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   4304       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   4305       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   4306       # and bug#13588).
   4307       am_max_uid=2097151 # 2^21 - 1
   4308       am_max_gid=$am_max_uid
   4309       # The $UID and $GID variables are not portable, so we need to resort
   4310       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   4311       # below are definitely unexpected, so allow the users to see them
   4312       # (that is, avoid stderr redirection).
   4313       am_uid=`id -u || echo unknown`
   4314       am_gid=`id -g || echo unknown`
   4315       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   4316 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   4317       if test $am_uid -le $am_max_uid; then
   4318          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4319 $as_echo "yes" >&6; }
   4320       else
   4321          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4322 $as_echo "no" >&6; }
   4323          _am_tools=none
   4324       fi
   4325       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   4326 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   4327       if test $am_gid -le $am_max_gid; then
   4328          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4329 $as_echo "yes" >&6; }
   4330       else
   4331         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4332 $as_echo "no" >&6; }
   4333         _am_tools=none
   4334       fi
   4335 
   4336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   4337 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
   4338 
   4339   # Go ahead even if we have the value already cached.  We do so because we
   4340   # need to set the values for the 'am__tar' and 'am__untar' variables.
   4341   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   4342 
   4343   for _am_tool in $_am_tools; do
   4344     case $_am_tool in
   4345     gnutar)
   4346       for _am_tar in tar gnutar gtar; do
   4347         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   4348    ($_am_tar --version) >&5 2>&5
   4349    ac_status=$?
   4350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4351    (exit $ac_status); } && break
   4352       done
   4353       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   4354       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   4355       am__untar="$_am_tar -xf -"
   4356       ;;
   4357     plaintar)
   4358       # Must skip GNU tar: if it does not support --format= it doesn't create
   4359       # ustar tarball either.
   4360       (tar --version) >/dev/null 2>&1 && continue
   4361       am__tar='tar chf - "$$tardir"'
   4362       am__tar_='tar chf - "$tardir"'
   4363       am__untar='tar xf -'
   4364       ;;
   4365     pax)
   4366       am__tar='pax -L -x ustar -w "$$tardir"'
   4367       am__tar_='pax -L -x ustar -w "$tardir"'
   4368       am__untar='pax -r'
   4369       ;;
   4370     cpio)
   4371       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   4372       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   4373       am__untar='cpio -i -H ustar -d'
   4374       ;;
   4375     none)
   4376       am__tar=false
   4377       am__tar_=false
   4378       am__untar=false
   4379       ;;
   4380     esac
   4381 
   4382     # If the value was cached, stop now.  We just wanted to have am__tar
   4383     # and am__untar set.
   4384     test -n "${am_cv_prog_tar_ustar}" && break
   4385 
   4386     # tar/untar a dummy directory, and stop if the command works.
   4387     rm -rf conftest.dir
   4388     mkdir conftest.dir
   4389     echo GrepMe > conftest.dir/file
   4390     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   4391    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   4392    ac_status=$?
   4393    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4394    (exit $ac_status); }
   4395     rm -rf conftest.dir
   4396     if test -s conftest.tar; then
   4397       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   4398    ($am__untar <conftest.tar) >&5 2>&5
   4399    ac_status=$?
   4400    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4401    (exit $ac_status); }
   4402       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   4403    (cat conftest.dir/file) >&5 2>&5
   4404    ac_status=$?
   4405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4406    (exit $ac_status); }
   4407       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   4408     fi
   4409   done
   4410   rm -rf conftest.dir
   4411 
   4412   if ${am_cv_prog_tar_ustar+:} false; then :
   4413   $as_echo_n "(cached) " >&6
   4414 else
   4415   am_cv_prog_tar_ustar=$_am_tool
   4416 fi
   4417 
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   4419 $as_echo "$am_cv_prog_tar_ustar" >&6; }
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 
   4426 # POSIX will say in a future version that running "rm -f" with no argument
   4427 # is OK; and we want to be able to make that assumption in our Makefile
   4428 # recipes.  So use an aggressive probe to check that the usage we want is
   4429 # actually supported "in the wild" to an acceptable degree.
   4430 # See automake bug#10828.
   4431 # To make any issue more visible, cause the running configure to be aborted
   4432 # by default if the 'rm' program in use doesn't match our expectations; the
   4433 # user can still override this though.
   4434 if rm -f && rm -fr && rm -rf; then : OK; else
   4435   cat >&2 <<'END'
   4436 Oops!
   4437 
   4438 Your 'rm' program seems unable to run without file operands specified
   4439 on the command line, even when the '-f' option is present.  This is contrary
   4440 to the behaviour of most rm programs out there, and not conforming with
   4441 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4442 
   4443 Please tell bug-automake@gnu.org about your system, including the value
   4444 of your $PATH and any error possibly output before this message.  This
   4445 can help us improve future automake versions.
   4446 
   4447 END
   4448   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4449     echo 'Configuration will proceed anyway, since you have set the' >&2
   4450     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4451     echo >&2
   4452   else
   4453     cat >&2 <<'END'
   4454 Aborting the configuration process, to ensure you take notice of the issue.
   4455 
   4456 You can download and install GNU coreutils to get an 'rm' implementation
   4457 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4458 
   4459 If you want to complete the configuration process using your problematic
   4460 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4461 to "yes", and re-run configure.
   4462 
   4463 END
   4464     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4465   fi
   4466 fi
   4467 
   4468 # Check whether --enable-silent-rules was given.
   4469 if test "${enable_silent_rules+set}" = set; then :
   4470   enableval=$enable_silent_rules;
   4471 fi
   4472 
   4473 case $enable_silent_rules in # (((
   4474   yes) AM_DEFAULT_VERBOSITY=0;;
   4475    no) AM_DEFAULT_VERBOSITY=1;;
   4476     *) AM_DEFAULT_VERBOSITY=0;;
   4477 esac
   4478 am_make=${MAKE-make}
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4480 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4481 if ${am_cv_make_support_nested_variables+:} false; then :
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   if $as_echo 'TRUE=$(BAR$(V))
   4485 BAR0=false
   4486 BAR1=true
   4487 V=1
   4488 am__doit:
   4489 	@$(TRUE)
   4490 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4491   am_cv_make_support_nested_variables=yes
   4492 else
   4493   am_cv_make_support_nested_variables=no
   4494 fi
   4495 fi
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4497 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4498 if test $am_cv_make_support_nested_variables = yes; then
   4499     AM_V='$(V)'
   4500   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4501 else
   4502   AM_V=$AM_DEFAULT_VERBOSITY
   4503   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4504 fi
   4505 AM_BACKSLASH='\'
   4506 
   4507 
   4508 #
   4509 # Save initial user-tunable values
   4510 #
   4511 USER_LIBS=$LIBS
   4512 for var in CC CFLAGS CPPFLAGS CXX CXXCPP LDFLAGS LIBS ; do
   4513   eval isset=\${$var+set}
   4514     if test "$isset" = 'set'; then
   4515         eval val=$`echo $var`
   4516         DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS}'${var}=${val}' "
   4517     fi
   4518 done
   4519 
   4520 
   4521 CONFIGURE_ARGS="$0 ${ac_configure_args}"
   4522 
   4523 
   4524 # Check whether --enable-reproducible-build was given.
   4525 if test "${enable_reproducible_build+set}" = set; then :
   4526   enableval=$enable_reproducible_build; enable_reproducible_build=$enableval
   4527 else
   4528   enable_reproducible_build='no'
   4529 fi
   4530 
   4531 
   4532 # Source file containing package/library versioning information.
   4533 . ${srcdir}/version.sh
   4534 
   4535 echo "configuring ${PACKAGE_NAME} ${PACKAGE_VERSION}${PACKAGE_VERSION_ADDENDUM}"
   4536 
   4537 MAGICK_TARGET_CPU=$host_cpu
   4538 
   4539 
   4540 cat >>confdefs.h <<_ACEOF
   4541 #define MAGICK_TARGET_CPU $MAGICK_TARGET_CPU
   4542 _ACEOF
   4543 
   4544 
   4545 MAGICK_TARGET_VENDOR=$host_vendor
   4546 
   4547 
   4548 cat >>confdefs.h <<_ACEOF
   4549 #define MAGICK_TARGET_VENDOR $MAGICK_TARGET_VENDOR
   4550 _ACEOF
   4551 
   4552 
   4553 MAGICK_TARGET_OS=$host_os
   4554 
   4555 
   4556 cat >>confdefs.h <<_ACEOF
   4557 #define MAGICK_TARGET_OS $MAGICK_TARGET_OS
   4558 _ACEOF
   4559 
   4560 
   4561 
   4562 # Substitute versioning
   4563 MAGICK_MAJOR_VERSION=7
   4564 
   4565 MAGICK_MINOR_VERSION=0
   4566 
   4567 MAGICK_MICRO_VERSION=8
   4568 
   4569 MAGICK_PATCHLEVEL_VERSION=32
   4570 
   4571 MAGICK_VERSION=7.0.8-32
   4572 
   4573 MAGICK_GIT_REVISION=15382:c0ce8818e:20190304
   4574 
   4575 
   4576 # Substitute library versioning
   4577 MAGICK_LIBRARY_CURRENT_MIN=`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE`
   4578 
   4579 MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
   4580 
   4581 
   4582 MAGICKPP_LIBRARY_CURRENT_MIN=`expr $MAGICKPP_LIBRARY_CURRENT - $MAGICKPP_LIBRARY_AGE`
   4583 
   4584 MAGICKPP_LIBRARY_VERSION_INFO=$MAGICKPP_LIBRARY_CURRENT:$MAGICKPP_LIBRARY_REVISION:$MAGICKPP_LIBRARY_AGE
   4585 
   4586 
   4587 if test X$enable_reproducible_build = Xyes; then :
   4588   PACKAGE_RELEASE_DATE=$PACKAGE_RELEASE_DATE_REPRODUCIBLE
   4589 elif PACKAGE_RELEASE_DATE=$PACKAGE_RELEASE_DATE_RAW; then :
   4590 
   4591 fi
   4592 
   4593 
   4594 # Ensure that make can run correctly
   4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4596 $as_echo_n "checking whether build environment is sane... " >&6; }
   4597 # Reject unsafe characters in $srcdir or the absolute working directory
   4598 # name.  Accept space and tab only in the latter.
   4599 am_lf='
   4600 '
   4601 case `pwd` in
   4602   *[\\\"\#\$\&\'\`$am_lf]*)
   4603     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4604 esac
   4605 case $srcdir in
   4606   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4607     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4608 esac
   4609 
   4610 # Do 'set' in a subshell so we don't clobber the current shell's
   4611 # arguments.  Must try -L first in case configure is actually a
   4612 # symlink; some systems play weird games with the mod time of symlinks
   4613 # (eg FreeBSD returns the mod time of the symlink's containing
   4614 # directory).
   4615 if (
   4616    am_has_slept=no
   4617    for am_try in 1 2; do
   4618      echo "timestamp, slept: $am_has_slept" > conftest.file
   4619      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4620      if test "$*" = "X"; then
   4621 	# -L didn't work.
   4622 	set X `ls -t "$srcdir/configure" conftest.file`
   4623      fi
   4624      if test "$*" != "X $srcdir/configure conftest.file" \
   4625 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4626 
   4627 	# If neither matched, then we have a broken ls.  This can happen
   4628 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4629 	# broken ls alias from the environment.  This has actually
   4630 	# happened.  Such a system could not be considered "sane".
   4631 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4632   alias in your environment" "$LINENO" 5
   4633      fi
   4634      if test "$2" = conftest.file || test $am_try -eq 2; then
   4635        break
   4636      fi
   4637      # Just in case.
   4638      sleep 1
   4639      am_has_slept=yes
   4640    done
   4641    test "$2" = conftest.file
   4642    )
   4643 then
   4644    # Ok.
   4645    :
   4646 else
   4647    as_fn_error $? "newly created file is older than distributed files!
   4648 Check your system clock" "$LINENO" 5
   4649 fi
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4651 $as_echo "yes" >&6; }
   4652 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4653 # generated files are strictly newer.
   4654 am_sleep_pid=
   4655 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4656   ( sleep 1 ) &
   4657   am_sleep_pid=$!
   4658 fi
   4659 
   4660 rm -f conftest.file
   4661 
   4662 
   4663 # versioning of library
   4664 MAGICK_LIB_VERSION="0x"
   4665 if test ${MAGICK_LIBRARY_CURRENT} -lt 10 ; then
   4666   MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}0
   4667 fi
   4668 MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}${MAGICK_LIBRARY_CURRENT}
   4669 if test ${MAGICK_LIBRARY_AGE} -lt 10 ; then
   4670   MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}0
   4671 fi
   4672 MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}${MAGICK_LIBRARY_AGE}
   4673 if test ${MAGICK_LIBRARY_REVISION} -lt 10 ; then
   4674   MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}0
   4675 fi
   4676 MAGICK_LIB_VERSION=${MAGICK_LIB_VERSION}${MAGICK_LIBRARY_REVISION}
   4677 
   4678 
   4679 # Definition used to define MagickLibVersionText in version.h
   4680 MAGICK_LIB_VERSION_TEXT="${PACKAGE_VERSION}"
   4681 
   4682 
   4683 # Definition used to define MagickLibVersionNumber in version.h
   4684 MAGICK_LIB_VERSION_NUMBER="${MAGICK_LIBRARY_CURRENT},${MAGICK_LIBRARY_AGE},${MAGICK_LIBRARY_REVISION}"
   4685 
   4686 
   4687 MAGICKPP_LIB_VERSION="0x"
   4688 if test ${MAGICKPP_LIBRARY_CURRENT} -lt 10 ; then
   4689   MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}0
   4690 fi
   4691 MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}${MAGICKPP_LIBRARY_CURRENT}
   4692 if test ${MAGICKPP_LIBRARY_AGE} -lt 10 ; then
   4693   MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}0
   4694 fi
   4695 MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}${MAGICKPP_LIBRARY_AGE}
   4696 if test ${MAGICKPP_LIBRARY_REVISION} -lt 10 ; then
   4697   MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}0
   4698 fi
   4699 MAGICKPP_LIB_VERSION=${MAGICKPP_LIB_VERSION}${MAGICKPP_LIBRARY_REVISION}
   4700 
   4701 
   4702 # Definition used to define MagickLibVersionText in version.h
   4703 MAGICKPP_LIB_VERSION_TEXT="${PACKAGE_VERSION}"
   4704 
   4705 
   4706 # Definition used to define MagickLibVersionNumber in version.h
   4707 MAGICK_LIB_VERSION_NUMBER="${MAGICK_LIBRARY_CURRENT},${MAGICK_LIBRARY_AGE},${MAGICK_LIBRARY_REVISION}"
   4708 
   4709 
   4710 
   4711 
   4712 # Regenerate config.status if ChangeLog or version.sh is updated.
   4713 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/version.sh'
   4714 
   4715 
   4716 PERLMAINCC=$CC
   4717 
   4718 MAGICK_CFLAGS=''
   4719 MAGICK_CPPFLAGS=$CPPFLAGS_USER
   4720 MAGICK_PCFLAGS=$CPPFLAGS_USER
   4721 MAGICK_LDFLAGS=''
   4722 MAGICK_LIBS=''
   4723 MAGICK_FEATURES=''
   4724 
   4725 #
   4726 # Evaluate shell variable equivalents to Makefile directory variables
   4727 #
   4728 if test "x$prefix" = xNONE; then
   4729     prefix=$ac_default_prefix
   4730 fi
   4731 # Let make expand exec_prefix.
   4732 if test "x$exec_prefix" = xNONE; then
   4733     exec_prefix='${prefix}'
   4734 fi
   4735 
   4736 #
   4737 eval "eval PREFIX_DIR=${prefix}"
   4738 
   4739 eval "eval EXEC_PREFIX_DIR=${exec_prefix}"
   4740 
   4741 eval "eval BIN_DIR=$bindir"
   4742 
   4743 eval "eval SBIN_DIR=$sbindir"
   4744 
   4745 eval "eval LIBEXEC_DIR=$libexecdir"
   4746 
   4747 eval "eval DATA_DIR=$datadir"
   4748 
   4749 eval "eval DOC_DIR=$datadir/doc"
   4750 
   4751 eval "eval SYSCONF_DIR=$sysconfdir"
   4752 
   4753 eval "eval SHAREDSTATE_DIR=$sharedstatedir"
   4754 
   4755 eval "eval LOCALSTATE_DIR=$localstatedir"
   4756 
   4757 eval "eval LIB_DIR=$libdir"
   4758 
   4759 eval "eval INCLUDE_DIR=$includedir"
   4760 
   4761 eval "eval PERSISTINCLUDE_DIR=$oldincludedir"
   4762 
   4763 eval "eval INFO_DIR=$infodir"
   4764 
   4765 eval "eval MAN_DIR=$mandir"
   4766 
   4767 
   4768 # Get full paths to source and build directories
   4769 srcdirfull="`cd $srcdir && pwd`"
   4770 builddir="`pwd`"
   4771 
   4772 #
   4773 # Compute variables useful for running uninstalled software.
   4774 #
   4775 MAGICK_CODER_MODULE_PATH="${builddir}/coders"
   4776 MAGICK_CONFIGURE_SRC_PATH="${srcdirfull}/config"
   4777 MAGICK_CONFIGURE_BUILD_PATH="${builddir}/config"
   4778 MAGICK_FILTER_MODULE_PATH="${builddir}/filters"
   4779 DIRSEP=':'
   4780 case "${build_os}" in
   4781     mingw* )
   4782         MAGICK_CODER_MODULE_PATH=`$WinPathScript "${MAGICK_CODER_MODULE_PATH}" 0`
   4783         MAGICK_CONFIGURE_SRC_PATH=`$WinPathScript "${MAGICK_CONFIGURE_SRC_PATH}" 0`
   4784         MAGICK_CONFIGURE_BUILD_PATH=`$WinPathScript "${MAGICK_CONFIGURE_BUILD_PATH}" 0`
   4785         MAGICK_FILTER_MODULE_PATH=`$WinPathScript "${MAGICK_FILTER_MODULE_PATH}" 0`
   4786         DIRSEP=';'
   4787     ;;
   4788 esac
   4789 case "${host_os}" in
   4790   mingw* )
   4791     DIRSEP=';'
   4792     ;;
   4793 esac
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 #
   4802 # Enable OS features.
   4803 #
   4804 DEPDIR="${am__leading_dot}deps"
   4805 
   4806 ac_config_commands="$ac_config_commands depfiles"
   4807 
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4809 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4810 cat > confinc.mk << 'END'
   4811 am__doit:
   4812 	@echo this is the am__doit target >confinc.out
   4813 .PHONY: am__doit
   4814 END
   4815 am__include="#"
   4816 am__quote=
   4817 # BSD make does it like this.
   4818 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4819 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4820 echo 'include confinc.mk # ignored' > confmf.GNU
   4821 _am_result=no
   4822 for s in GNU BSD; do
   4823   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4824    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4825    ac_status=$?
   4826    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4827    (exit $ac_status); }
   4828   case $?:`cat confinc.out 2>/dev/null` in #(
   4829   '0:this is the am__doit target') :
   4830     case $s in #(
   4831   BSD) :
   4832     am__include='.include' am__quote='"' ;; #(
   4833   *) :
   4834     am__include='include' am__quote='' ;;
   4835 esac ;; #(
   4836   *) :
   4837      ;;
   4838 esac
   4839   if test "$am__include" != "#"; then
   4840     _am_result="yes ($s style)"
   4841     break
   4842   fi
   4843 done
   4844 rm -f confinc.* confmf.*
   4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4846 $as_echo "${_am_result}" >&6; }
   4847 
   4848 # Check whether --enable-dependency-tracking was given.
   4849 if test "${enable_dependency_tracking+set}" = set; then :
   4850   enableval=$enable_dependency_tracking;
   4851 fi
   4852 
   4853 if test "x$enable_dependency_tracking" != xno; then
   4854   am_depcomp="$ac_aux_dir/depcomp"
   4855   AMDEPBACKSLASH='\'
   4856   am__nodep='_no'
   4857 fi
   4858  if test "x$enable_dependency_tracking" != xno; then
   4859   AMDEP_TRUE=
   4860   AMDEP_FALSE='#'
   4861 else
   4862   AMDEP_TRUE='#'
   4863   AMDEP_FALSE=
   4864 fi
   4865 
   4866 
   4867 ac_ext=c
   4868 ac_cpp='$CPP $CPPFLAGS'
   4869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4872 if test -n "$ac_tool_prefix"; then
   4873   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4874 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4876 $as_echo_n "checking for $ac_word... " >&6; }
   4877 if ${ac_cv_prog_CC+:} false; then :
   4878   $as_echo_n "(cached) " >&6
   4879 else
   4880   if test -n "$CC"; then
   4881   ac_cv_prog_CC="$CC" # Let the user override the test.
   4882 else
   4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4884 for as_dir in $PATH
   4885 do
   4886   IFS=$as_save_IFS
   4887   test -z "$as_dir" && as_dir=.
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4890     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4892     break 2
   4893   fi
   4894 done
   4895   done
   4896 IFS=$as_save_IFS
   4897 
   4898 fi
   4899 fi
   4900 CC=$ac_cv_prog_CC
   4901 if test -n "$CC"; then
   4902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4903 $as_echo "$CC" >&6; }
   4904 else
   4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4906 $as_echo "no" >&6; }
   4907 fi
   4908 
   4909 
   4910 fi
   4911 if test -z "$ac_cv_prog_CC"; then
   4912   ac_ct_CC=$CC
   4913   # Extract the first word of "gcc", so it can be a program name with args.
   4914 set dummy gcc; ac_word=$2
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4916 $as_echo_n "checking for $ac_word... " >&6; }
   4917 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   if test -n "$ac_ct_CC"; then
   4921   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4922 else
   4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4924 for as_dir in $PATH
   4925 do
   4926   IFS=$as_save_IFS
   4927   test -z "$as_dir" && as_dir=.
   4928     for ac_exec_ext in '' $ac_executable_extensions; do
   4929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4930     ac_cv_prog_ac_ct_CC="gcc"
   4931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4932     break 2
   4933   fi
   4934 done
   4935   done
   4936 IFS=$as_save_IFS
   4937 
   4938 fi
   4939 fi
   4940 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4941 if test -n "$ac_ct_CC"; then
   4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4943 $as_echo "$ac_ct_CC" >&6; }
   4944 else
   4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4946 $as_echo "no" >&6; }
   4947 fi
   4948 
   4949   if test "x$ac_ct_CC" = x; then
   4950     CC=""
   4951   else
   4952     case $cross_compiling:$ac_tool_warned in
   4953 yes:)
   4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4956 ac_tool_warned=yes ;;
   4957 esac
   4958     CC=$ac_ct_CC
   4959   fi
   4960 else
   4961   CC="$ac_cv_prog_CC"
   4962 fi
   4963 
   4964 if test -z "$CC"; then
   4965           if test -n "$ac_tool_prefix"; then
   4966     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4967 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4969 $as_echo_n "checking for $ac_word... " >&6; }
   4970 if ${ac_cv_prog_CC+:} false; then :
   4971   $as_echo_n "(cached) " >&6
   4972 else
   4973   if test -n "$CC"; then
   4974   ac_cv_prog_CC="$CC" # Let the user override the test.
   4975 else
   4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4977 for as_dir in $PATH
   4978 do
   4979   IFS=$as_save_IFS
   4980   test -z "$as_dir" && as_dir=.
   4981     for ac_exec_ext in '' $ac_executable_extensions; do
   4982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4983     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4985     break 2
   4986   fi
   4987 done
   4988   done
   4989 IFS=$as_save_IFS
   4990 
   4991 fi
   4992 fi
   4993 CC=$ac_cv_prog_CC
   4994 if test -n "$CC"; then
   4995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4996 $as_echo "$CC" >&6; }
   4997 else
   4998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4999 $as_echo "no" >&6; }
   5000 fi
   5001 
   5002 
   5003   fi
   5004 fi
   5005 if test -z "$CC"; then
   5006   # Extract the first word of "cc", so it can be a program name with args.
   5007 set dummy cc; ac_word=$2
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5009 $as_echo_n "checking for $ac_word... " >&6; }
   5010 if ${ac_cv_prog_CC+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   if test -n "$CC"; then
   5014   ac_cv_prog_CC="$CC" # Let the user override the test.
   5015 else
   5016   ac_prog_rejected=no
   5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5018 for as_dir in $PATH
   5019 do
   5020   IFS=$as_save_IFS
   5021   test -z "$as_dir" && as_dir=.
   5022     for ac_exec_ext in '' $ac_executable_extensions; do
   5023   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5024     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5025        ac_prog_rejected=yes
   5026        continue
   5027      fi
   5028     ac_cv_prog_CC="cc"
   5029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5030     break 2
   5031   fi
   5032 done
   5033   done
   5034 IFS=$as_save_IFS
   5035 
   5036 if test $ac_prog_rejected = yes; then
   5037   # We found a bogon in the path, so make sure we never use it.
   5038   set dummy $ac_cv_prog_CC
   5039   shift
   5040   if test $# != 0; then
   5041     # We chose a different compiler from the bogus one.
   5042     # However, it has the same basename, so the bogon will be chosen
   5043     # first if we set CC to just the basename; use the full file name.
   5044     shift
   5045     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   5046   fi
   5047 fi
   5048 fi
   5049 fi
   5050 CC=$ac_cv_prog_CC
   5051 if test -n "$CC"; then
   5052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5053 $as_echo "$CC" >&6; }
   5054 else
   5055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5056 $as_echo "no" >&6; }
   5057 fi
   5058 
   5059 
   5060 fi
   5061 if test -z "$CC"; then
   5062   if test -n "$ac_tool_prefix"; then
   5063   for ac_prog in cl.exe
   5064   do
   5065     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5068 $as_echo_n "checking for $ac_word... " >&6; }
   5069 if ${ac_cv_prog_CC+:} false; then :
   5070   $as_echo_n "(cached) " >&6
   5071 else
   5072   if test -n "$CC"; then
   5073   ac_cv_prog_CC="$CC" # Let the user override the test.
   5074 else
   5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5076 for as_dir in $PATH
   5077 do
   5078   IFS=$as_save_IFS
   5079   test -z "$as_dir" && as_dir=.
   5080     for ac_exec_ext in '' $ac_executable_extensions; do
   5081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5082     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5084     break 2
   5085   fi
   5086 done
   5087   done
   5088 IFS=$as_save_IFS
   5089 
   5090 fi
   5091 fi
   5092 CC=$ac_cv_prog_CC
   5093 if test -n "$CC"; then
   5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5095 $as_echo "$CC" >&6; }
   5096 else
   5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5098 $as_echo "no" >&6; }
   5099 fi
   5100 
   5101 
   5102     test -n "$CC" && break
   5103   done
   5104 fi
   5105 if test -z "$CC"; then
   5106   ac_ct_CC=$CC
   5107   for ac_prog in cl.exe
   5108 do
   5109   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5110 set dummy $ac_prog; ac_word=$2
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5112 $as_echo_n "checking for $ac_word... " >&6; }
   5113 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5114   $as_echo_n "(cached) " >&6
   5115 else
   5116   if test -n "$ac_ct_CC"; then
   5117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5118 else
   5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5120 for as_dir in $PATH
   5121 do
   5122   IFS=$as_save_IFS
   5123   test -z "$as_dir" && as_dir=.
   5124     for ac_exec_ext in '' $ac_executable_extensions; do
   5125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5126     ac_cv_prog_ac_ct_CC="$ac_prog"
   5127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5128     break 2
   5129   fi
   5130 done
   5131   done
   5132 IFS=$as_save_IFS
   5133 
   5134 fi
   5135 fi
   5136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5137 if test -n "$ac_ct_CC"; then
   5138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5139 $as_echo "$ac_ct_CC" >&6; }
   5140 else
   5141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5142 $as_echo "no" >&6; }
   5143 fi
   5144 
   5145 
   5146   test -n "$ac_ct_CC" && break
   5147 done
   5148 
   5149   if test "x$ac_ct_CC" = x; then
   5150     CC=""
   5151   else
   5152     case $cross_compiling:$ac_tool_warned in
   5153 yes:)
   5154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5156 ac_tool_warned=yes ;;
   5157 esac
   5158     CC=$ac_ct_CC
   5159   fi
   5160 fi
   5161 
   5162 fi
   5163 
   5164 
   5165 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5167 as_fn_error $? "no acceptable C compiler found in \$PATH
   5168 See \`config.log' for more details" "$LINENO" 5; }
   5169 
   5170 # Provide some information about the compiler.
   5171 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5172 set X $ac_compile
   5173 ac_compiler=$2
   5174 for ac_option in --version -v -V -qversion; do
   5175   { { ac_try="$ac_compiler $ac_option >&5"
   5176 case "(($ac_try" in
   5177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5178   *) ac_try_echo=$ac_try;;
   5179 esac
   5180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5181 $as_echo "$ac_try_echo"; } >&5
   5182   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5183   ac_status=$?
   5184   if test -s conftest.err; then
   5185     sed '10a\
   5186 ... rest of stderr output deleted ...
   5187          10q' conftest.err >conftest.er1
   5188     cat conftest.er1 >&5
   5189   fi
   5190   rm -f conftest.er1 conftest.err
   5191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5192   test $ac_status = 0; }
   5193 done
   5194 
   5195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5196 /* end confdefs.h.  */
   5197 
   5198 int
   5199 main ()
   5200 {
   5201 
   5202   ;
   5203   return 0;
   5204 }
   5205 _ACEOF
   5206 ac_clean_files_save=$ac_clean_files
   5207 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   5208 # Try to create an executable without -o first, disregard a.out.
   5209 # It will help us diagnose broken compilers, and finding out an intuition
   5210 # of exeext.
   5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   5212 $as_echo_n "checking whether the C compiler works... " >&6; }
   5213 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   5214 
   5215 # The possible output files:
   5216 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   5217 
   5218 ac_rmfiles=
   5219 for ac_file in $ac_files
   5220 do
   5221   case $ac_file in
   5222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   5223     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   5224   esac
   5225 done
   5226 rm -f $ac_rmfiles
   5227 
   5228 if { { ac_try="$ac_link_default"
   5229 case "(($ac_try" in
   5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5231   *) ac_try_echo=$ac_try;;
   5232 esac
   5233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5234 $as_echo "$ac_try_echo"; } >&5
   5235   (eval "$ac_link_default") 2>&5
   5236   ac_status=$?
   5237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5238   test $ac_status = 0; }; then :
   5239   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   5240 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   5241 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   5242 # so that the user can short-circuit this test for compilers unknown to
   5243 # Autoconf.
   5244 for ac_file in $ac_files ''
   5245 do
   5246   test -f "$ac_file" || continue
   5247   case $ac_file in
   5248     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   5249 	;;
   5250     [ab].out )
   5251 	# We found the default executable, but exeext='' is most
   5252 	# certainly right.
   5253 	break;;
   5254     *.* )
   5255 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   5256 	then :; else
   5257 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   5258 	fi
   5259 	# We set ac_cv_exeext here because the later test for it is not
   5260 	# safe: cross compilers may not add the suffix if given an `-o'
   5261 	# argument, so we may need to know it at that point already.
   5262 	# Even if this section looks crufty: it has the advantage of
   5263 	# actually working.
   5264 	break;;
   5265     * )
   5266 	break;;
   5267   esac
   5268 done
   5269 test "$ac_cv_exeext" = no && ac_cv_exeext=
   5270 
   5271 else
   5272   ac_file=''
   5273 fi
   5274 if test -z "$ac_file"; then :
   5275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5276 $as_echo "no" >&6; }
   5277 $as_echo "$as_me: failed program was:" >&5
   5278 sed 's/^/| /' conftest.$ac_ext >&5
   5279 
   5280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5282 as_fn_error 77 "C compiler cannot create executables
   5283 See \`config.log' for more details" "$LINENO" 5; }
   5284 else
   5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5286 $as_echo "yes" >&6; }
   5287 fi
   5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   5289 $as_echo_n "checking for C compiler default output file name... " >&6; }
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   5291 $as_echo "$ac_file" >&6; }
   5292 ac_exeext=$ac_cv_exeext
   5293 
   5294 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   5295 ac_clean_files=$ac_clean_files_save
   5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   5297 $as_echo_n "checking for suffix of executables... " >&6; }
   5298 if { { ac_try="$ac_link"
   5299 case "(($ac_try" in
   5300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5301   *) ac_try_echo=$ac_try;;
   5302 esac
   5303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5304 $as_echo "$ac_try_echo"; } >&5
   5305   (eval "$ac_link") 2>&5
   5306   ac_status=$?
   5307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5308   test $ac_status = 0; }; then :
   5309   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   5310 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   5311 # work properly (i.e., refer to `conftest.exe'), while it won't with
   5312 # `rm'.
   5313 for ac_file in conftest.exe conftest conftest.*; do
   5314   test -f "$ac_file" || continue
   5315   case $ac_file in
   5316     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   5317     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   5318 	  break;;
   5319     * ) break;;
   5320   esac
   5321 done
   5322 else
   5323   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5325 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   5326 See \`config.log' for more details" "$LINENO" 5; }
   5327 fi
   5328 rm -f conftest conftest$ac_cv_exeext
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   5330 $as_echo "$ac_cv_exeext" >&6; }
   5331 
   5332 rm -f conftest.$ac_ext
   5333 EXEEXT=$ac_cv_exeext
   5334 ac_exeext=$EXEEXT
   5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 #include <stdio.h>
   5338 int
   5339 main ()
   5340 {
   5341 FILE *f = fopen ("conftest.out", "w");
   5342  return ferror (f) || fclose (f) != 0;
   5343 
   5344   ;
   5345   return 0;
   5346 }
   5347 _ACEOF
   5348 ac_clean_files="$ac_clean_files conftest.out"
   5349 # Check that the compiler produces executables we can run.  If not, either
   5350 # the compiler is broken, or we cross compile.
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   5352 $as_echo_n "checking whether we are cross compiling... " >&6; }
   5353 if test "$cross_compiling" != yes; then
   5354   { { ac_try="$ac_link"
   5355 case "(($ac_try" in
   5356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5357   *) ac_try_echo=$ac_try;;
   5358 esac
   5359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5360 $as_echo "$ac_try_echo"; } >&5
   5361   (eval "$ac_link") 2>&5
   5362   ac_status=$?
   5363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5364   test $ac_status = 0; }
   5365   if { ac_try='./conftest$ac_cv_exeext'
   5366   { { case "(($ac_try" in
   5367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5368   *) ac_try_echo=$ac_try;;
   5369 esac
   5370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5371 $as_echo "$ac_try_echo"; } >&5
   5372   (eval "$ac_try") 2>&5
   5373   ac_status=$?
   5374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5375   test $ac_status = 0; }; }; then
   5376     cross_compiling=no
   5377   else
   5378     if test "$cross_compiling" = maybe; then
   5379 	cross_compiling=yes
   5380     else
   5381 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5383 as_fn_error $? "cannot run C compiled programs.
   5384 If you meant to cross compile, use \`--host'.
   5385 See \`config.log' for more details" "$LINENO" 5; }
   5386     fi
   5387   fi
   5388 fi
   5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   5390 $as_echo "$cross_compiling" >&6; }
   5391 
   5392 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   5393 ac_clean_files=$ac_clean_files_save
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   5395 $as_echo_n "checking for suffix of object files... " >&6; }
   5396 if ${ac_cv_objext+:} false; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5400 /* end confdefs.h.  */
   5401 
   5402 int
   5403 main ()
   5404 {
   5405 
   5406   ;
   5407   return 0;
   5408 }
   5409 _ACEOF
   5410 rm -f conftest.o conftest.obj
   5411 if { { ac_try="$ac_compile"
   5412 case "(($ac_try" in
   5413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5414   *) ac_try_echo=$ac_try;;
   5415 esac
   5416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5417 $as_echo "$ac_try_echo"; } >&5
   5418   (eval "$ac_compile") 2>&5
   5419   ac_status=$?
   5420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5421   test $ac_status = 0; }; then :
   5422   for ac_file in conftest.o conftest.obj conftest.*; do
   5423   test -f "$ac_file" || continue;
   5424   case $ac_file in
   5425     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   5426     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   5427        break;;
   5428   esac
   5429 done
   5430 else
   5431   $as_echo "$as_me: failed program was:" >&5
   5432 sed 's/^/| /' conftest.$ac_ext >&5
   5433 
   5434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5436 as_fn_error $? "cannot compute suffix of object files: cannot compile
   5437 See \`config.log' for more details" "$LINENO" 5; }
   5438 fi
   5439 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   5440 fi
   5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   5442 $as_echo "$ac_cv_objext" >&6; }
   5443 OBJEXT=$ac_cv_objext
   5444 ac_objext=$OBJEXT
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5446 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5447 if ${ac_cv_c_compiler_gnu+:} false; then :
   5448   $as_echo_n "(cached) " >&6
   5449 else
   5450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5451 /* end confdefs.h.  */
   5452 
   5453 int
   5454 main ()
   5455 {
   5456 #ifndef __GNUC__
   5457        choke me
   5458 #endif
   5459 
   5460   ;
   5461   return 0;
   5462 }
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"; then :
   5465   ac_compiler_gnu=yes
   5466 else
   5467   ac_compiler_gnu=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5471 
   5472 fi
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5474 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5475 if test $ac_compiler_gnu = yes; then
   5476   GCC=yes
   5477 else
   5478   GCC=
   5479 fi
   5480 ac_test_CFLAGS=${CFLAGS+set}
   5481 ac_save_CFLAGS=$CFLAGS
   5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5483 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5484 if ${ac_cv_prog_cc_g+:} false; then :
   5485   $as_echo_n "(cached) " >&6
   5486 else
   5487   ac_save_c_werror_flag=$ac_c_werror_flag
   5488    ac_c_werror_flag=yes
   5489    ac_cv_prog_cc_g=no
   5490    CFLAGS="-g"
   5491    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 
   5494 int
   5495 main ()
   5496 {
   5497 
   5498   ;
   5499   return 0;
   5500 }
   5501 _ACEOF
   5502 if ac_fn_c_try_compile "$LINENO"; then :
   5503   ac_cv_prog_cc_g=yes
   5504 else
   5505   CFLAGS=""
   5506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5507 /* end confdefs.h.  */
   5508 
   5509 int
   5510 main ()
   5511 {
   5512 
   5513   ;
   5514   return 0;
   5515 }
   5516 _ACEOF
   5517 if ac_fn_c_try_compile "$LINENO"; then :
   5518 
   5519 else
   5520   ac_c_werror_flag=$ac_save_c_werror_flag
   5521 	 CFLAGS="-g"
   5522 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5523 /* end confdefs.h.  */
   5524 
   5525 int
   5526 main ()
   5527 {
   5528 
   5529   ;
   5530   return 0;
   5531 }
   5532 _ACEOF
   5533 if ac_fn_c_try_compile "$LINENO"; then :
   5534   ac_cv_prog_cc_g=yes
   5535 fi
   5536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5537 fi
   5538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5539 fi
   5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5541    ac_c_werror_flag=$ac_save_c_werror_flag
   5542 fi
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5544 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5545 if test "$ac_test_CFLAGS" = set; then
   5546   CFLAGS=$ac_save_CFLAGS
   5547 elif test $ac_cv_prog_cc_g = yes; then
   5548   if test "$GCC" = yes; then
   5549     CFLAGS="-g -O2"
   5550   else
   5551     CFLAGS="-g"
   5552   fi
   5553 else
   5554   if test "$GCC" = yes; then
   5555     CFLAGS="-O2"
   5556   else
   5557     CFLAGS=
   5558   fi
   5559 fi
   5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5561 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5562 if ${ac_cv_prog_cc_c89+:} false; then :
   5563   $as_echo_n "(cached) " >&6
   5564 else
   5565   ac_cv_prog_cc_c89=no
   5566 ac_save_CC=$CC
   5567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5568 /* end confdefs.h.  */
   5569 #include <stdarg.h>
   5570 #include <stdio.h>
   5571 struct stat;
   5572 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5573 struct buf { int x; };
   5574 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5575 static char *e (p, i)
   5576      char **p;
   5577      int i;
   5578 {
   5579   return p[i];
   5580 }
   5581 static char *f (char * (*g) (char **, int), char **p, ...)
   5582 {
   5583   char *s;
   5584   va_list v;
   5585   va_start (v,p);
   5586   s = g (p, va_arg (v,int));
   5587   va_end (v);
   5588   return s;
   5589 }
   5590 
   5591 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5592    function prototypes and stuff, but not '\xHH' hex character constants.
   5593    These don't provoke an error unfortunately, instead are silently treated
   5594    as 'x'.  The following induces an error, until -std is added to get
   5595    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5596    array size at least.  It's necessary to write '\x00'==0 to get something
   5597    that's true only with -std.  */
   5598 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5599 
   5600 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5601    inside strings and character constants.  */
   5602 #define FOO(x) 'x'
   5603 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5604 
   5605 int test (int i, double x);
   5606 struct s1 {int (*f) (int a);};
   5607 struct s2 {int (*f) (double a);};
   5608 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5609 int argc;
   5610 char **argv;
   5611 int
   5612 main ()
   5613 {
   5614 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5615   ;
   5616   return 0;
   5617 }
   5618 _ACEOF
   5619 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5620 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5621 do
   5622   CC="$ac_save_CC $ac_arg"
   5623   if ac_fn_c_try_compile "$LINENO"; then :
   5624   ac_cv_prog_cc_c89=$ac_arg
   5625 fi
   5626 rm -f core conftest.err conftest.$ac_objext
   5627   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5628 done
   5629 rm -f conftest.$ac_ext
   5630 CC=$ac_save_CC
   5631 
   5632 fi
   5633 # AC_CACHE_VAL
   5634 case "x$ac_cv_prog_cc_c89" in
   5635   x)
   5636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5637 $as_echo "none needed" >&6; } ;;
   5638   xno)
   5639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5640 $as_echo "unsupported" >&6; } ;;
   5641   *)
   5642     CC="$CC $ac_cv_prog_cc_c89"
   5643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5644 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5645 esac
   5646 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5647 
   5648 fi
   5649 
   5650 ac_ext=c
   5651 ac_cpp='$CPP $CPPFLAGS'
   5652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5655 
   5656 ac_ext=c
   5657 ac_cpp='$CPP $CPPFLAGS'
   5658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5662 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5663 if ${am_cv_prog_cc_c_o+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5667 /* end confdefs.h.  */
   5668 
   5669 int
   5670 main ()
   5671 {
   5672 
   5673   ;
   5674   return 0;
   5675 }
   5676 _ACEOF
   5677   # Make sure it works both with $CC and with simple cc.
   5678   # Following AC_PROG_CC_C_O, we do the test twice because some
   5679   # compilers refuse to overwrite an existing .o file with -o,
   5680   # though they will create one.
   5681   am_cv_prog_cc_c_o=yes
   5682   for am_i in 1 2; do
   5683     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5684    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5685    ac_status=$?
   5686    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5687    (exit $ac_status); } \
   5688          && test -f conftest2.$ac_objext; then
   5689       : OK
   5690     else
   5691       am_cv_prog_cc_c_o=no
   5692       break
   5693     fi
   5694   done
   5695   rm -f core conftest*
   5696   unset am_i
   5697 fi
   5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5699 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5700 if test "$am_cv_prog_cc_c_o" != yes; then
   5701    # Losing compiler, so override with the script.
   5702    # FIXME: It is wrong to rewrite CC.
   5703    # But if we don't then we get into trouble of one sort or another.
   5704    # A longer-term fix would be to have automake use am__CC in this case,
   5705    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5706    CC="$am_aux_dir/compile $CC"
   5707 fi
   5708 ac_ext=c
   5709 ac_cpp='$CPP $CPPFLAGS'
   5710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5713 
   5714 
   5715 depcc="$CC"   am_compiler_list=
   5716 
   5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5718 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5719 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5720   $as_echo_n "(cached) " >&6
   5721 else
   5722   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5723   # We make a subdir and do the tests there.  Otherwise we can end up
   5724   # making bogus files that we don't know about and never remove.  For
   5725   # instance it was reported that on HP-UX the gcc test will end up
   5726   # making a dummy file named 'D' -- because '-MD' means "put the output
   5727   # in D".
   5728   rm -rf conftest.dir
   5729   mkdir conftest.dir
   5730   # Copy depcomp to subdir because otherwise we won't find it if we're
   5731   # using a relative directory.
   5732   cp "$am_depcomp" conftest.dir
   5733   cd conftest.dir
   5734   # We will build objects and dependencies in a subdirectory because
   5735   # it helps to detect inapplicable dependency modes.  For instance
   5736   # both Tru64's cc and ICC support -MD to output dependencies as a
   5737   # side effect of compilation, but ICC will put the dependencies in
   5738   # the current directory while Tru64 will put them in the object
   5739   # directory.
   5740   mkdir sub
   5741 
   5742   am_cv_CC_dependencies_compiler_type=none
   5743   if test "$am_compiler_list" = ""; then
   5744      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5745   fi
   5746   am__universal=false
   5747   case " $depcc " in #(
   5748      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5749      esac
   5750 
   5751   for depmode in $am_compiler_list; do
   5752     # Setup a source with many dependencies, because some compilers
   5753     # like to wrap large dependency lists on column 80 (with \), and
   5754     # we should not choose a depcomp mode which is confused by this.
   5755     #
   5756     # We need to recreate these files for each test, as the compiler may
   5757     # overwrite some of them when testing with obscure command lines.
   5758     # This happens at least with the AIX C compiler.
   5759     : > sub/conftest.c
   5760     for i in 1 2 3 4 5 6; do
   5761       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5762       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5763       # Solaris 10 /bin/sh.
   5764       echo '/* dummy */' > sub/conftst$i.h
   5765     done
   5766     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5767 
   5768     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5769     # mode.  It turns out that the SunPro C++ compiler does not properly
   5770     # handle '-M -o', and we need to detect this.  Also, some Intel
   5771     # versions had trouble with output in subdirs.
   5772     am__obj=sub/conftest.${OBJEXT-o}
   5773     am__minus_obj="-o $am__obj"
   5774     case $depmode in
   5775     gcc)
   5776       # This depmode causes a compiler race in universal mode.
   5777       test "$am__universal" = false || continue
   5778       ;;
   5779     nosideeffect)
   5780       # After this tag, mechanisms are not by side-effect, so they'll
   5781       # only be used when explicitly requested.
   5782       if test "x$enable_dependency_tracking" = xyes; then
   5783 	continue
   5784       else
   5785 	break
   5786       fi
   5787       ;;
   5788     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5789       # This compiler won't grok '-c -o', but also, the minuso test has
   5790       # not run yet.  These depmodes are late enough in the game, and
   5791       # so weak that their functioning should not be impacted.
   5792       am__obj=conftest.${OBJEXT-o}
   5793       am__minus_obj=
   5794       ;;
   5795     none) break ;;
   5796     esac
   5797     if depmode=$depmode \
   5798        source=sub/conftest.c object=$am__obj \
   5799        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5800        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5801          >/dev/null 2>conftest.err &&
   5802        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5803        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5804        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5805        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5806       # icc doesn't choke on unknown options, it will just issue warnings
   5807       # or remarks (even with -Werror).  So we grep stderr for any message
   5808       # that says an option was ignored or not supported.
   5809       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5810       #   icc: Command line warning: ignoring option '-M'; no argument required
   5811       # The diagnosis changed in icc 8.0:
   5812       #   icc: Command line remark: option '-MP' not supported
   5813       if (grep 'ignoring option' conftest.err ||
   5814           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5815         am_cv_CC_dependencies_compiler_type=$depmode
   5816         break
   5817       fi
   5818     fi
   5819   done
   5820 
   5821   cd ..
   5822   rm -rf conftest.dir
   5823 else
   5824   am_cv_CC_dependencies_compiler_type=none
   5825 fi
   5826 
   5827 fi
   5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5829 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5830 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5831 
   5832  if
   5833   test "x$enable_dependency_tracking" != xno \
   5834   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5835   am__fastdepCC_TRUE=
   5836   am__fastdepCC_FALSE='#'
   5837 else
   5838   am__fastdepCC_TRUE='#'
   5839   am__fastdepCC_FALSE=
   5840 fi
   5841 
   5842 
   5843 
   5844 ac_ext=c
   5845 ac_cpp='$CPP $CPPFLAGS'
   5846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5850 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   5851 # On Suns, sometimes $CPP names a directory.
   5852 if test -n "$CPP" && test -d "$CPP"; then
   5853   CPP=
   5854 fi
   5855 if test -z "$CPP"; then
   5856   if ${ac_cv_prog_CPP+:} false; then :
   5857   $as_echo_n "(cached) " >&6
   5858 else
   5859       # Double quotes because CPP needs to be expanded
   5860     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5861     do
   5862       ac_preproc_ok=false
   5863 for ac_c_preproc_warn_flag in '' yes
   5864 do
   5865   # Use a header file that comes with gcc, so configuring glibc
   5866   # with a fresh cross-compiler works.
   5867   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5868   # <limits.h> exists even on freestanding compilers.
   5869   # On the NeXT, cc -E runs the code through the compiler's parser,
   5870   # not just through cpp. "Syntax error" is here to catch this case.
   5871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5872 /* end confdefs.h.  */
   5873 #ifdef __STDC__
   5874 # include <limits.h>
   5875 #else
   5876 # include <assert.h>
   5877 #endif
   5878 		     Syntax error
   5879 _ACEOF
   5880 if ac_fn_c_try_cpp "$LINENO"; then :
   5881 
   5882 else
   5883   # Broken: fails on valid input.
   5884 continue
   5885 fi
   5886 rm -f conftest.err conftest.i conftest.$ac_ext
   5887 
   5888   # OK, works on sane cases.  Now check whether nonexistent headers
   5889   # can be detected and how.
   5890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5891 /* end confdefs.h.  */
   5892 #include <ac_nonexistent.h>
   5893 _ACEOF
   5894 if ac_fn_c_try_cpp "$LINENO"; then :
   5895   # Broken: success on invalid input.
   5896 continue
   5897 else
   5898   # Passes both tests.
   5899 ac_preproc_ok=:
   5900 break
   5901 fi
   5902 rm -f conftest.err conftest.i conftest.$ac_ext
   5903 
   5904 done
   5905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5906 rm -f conftest.i conftest.err conftest.$ac_ext
   5907 if $ac_preproc_ok; then :
   5908   break
   5909 fi
   5910 
   5911     done
   5912     ac_cv_prog_CPP=$CPP
   5913 
   5914 fi
   5915   CPP=$ac_cv_prog_CPP
   5916 else
   5917   ac_cv_prog_CPP=$CPP
   5918 fi
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5920 $as_echo "$CPP" >&6; }
   5921 ac_preproc_ok=false
   5922 for ac_c_preproc_warn_flag in '' yes
   5923 do
   5924   # Use a header file that comes with gcc, so configuring glibc
   5925   # with a fresh cross-compiler works.
   5926   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5927   # <limits.h> exists even on freestanding compilers.
   5928   # On the NeXT, cc -E runs the code through the compiler's parser,
   5929   # not just through cpp. "Syntax error" is here to catch this case.
   5930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5931 /* end confdefs.h.  */
   5932 #ifdef __STDC__
   5933 # include <limits.h>
   5934 #else
   5935 # include <assert.h>
   5936 #endif
   5937 		     Syntax error
   5938 _ACEOF
   5939 if ac_fn_c_try_cpp "$LINENO"; then :
   5940 
   5941 else
   5942   # Broken: fails on valid input.
   5943 continue
   5944 fi
   5945 rm -f conftest.err conftest.i conftest.$ac_ext
   5946 
   5947   # OK, works on sane cases.  Now check whether nonexistent headers
   5948   # can be detected and how.
   5949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5950 /* end confdefs.h.  */
   5951 #include <ac_nonexistent.h>
   5952 _ACEOF
   5953 if ac_fn_c_try_cpp "$LINENO"; then :
   5954   # Broken: success on invalid input.
   5955 continue
   5956 else
   5957   # Passes both tests.
   5958 ac_preproc_ok=:
   5959 break
   5960 fi
   5961 rm -f conftest.err conftest.i conftest.$ac_ext
   5962 
   5963 done
   5964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5965 rm -f conftest.i conftest.err conftest.$ac_ext
   5966 if $ac_preproc_ok; then :
   5967 
   5968 else
   5969   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5971 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5972 See \`config.log' for more details" "$LINENO" 5; }
   5973 fi
   5974 
   5975 ac_ext=c
   5976 ac_cpp='$CPP $CPPFLAGS'
   5977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5980 
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5983 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5984 if ${ac_cv_path_GREP+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   if test -z "$GREP"; then
   5988   ac_path_GREP_found=false
   5989   # Loop through the user's path and test for each of PROGNAME-LIST
   5990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5992 do
   5993   IFS=$as_save_IFS
   5994   test -z "$as_dir" && as_dir=.
   5995     for ac_prog in grep ggrep; do
   5996     for ac_exec_ext in '' $ac_executable_extensions; do
   5997       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5998       as_fn_executable_p "$ac_path_GREP" || continue
   5999 # Check for GNU ac_path_GREP and select it if it is found.
   6000   # Check for GNU $ac_path_GREP
   6001 case `"$ac_path_GREP" --version 2>&1` in
   6002 *GNU*)
   6003   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   6004 *)
   6005   ac_count=0
   6006   $as_echo_n 0123456789 >"conftest.in"
   6007   while :
   6008   do
   6009     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6010     mv "conftest.tmp" "conftest.in"
   6011     cp "conftest.in" "conftest.nl"
   6012     $as_echo 'GREP' >> "conftest.nl"
   6013     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6014     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6015     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6016     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   6017       # Best one so far, save it but keep looking for a better one
   6018       ac_cv_path_GREP="$ac_path_GREP"
   6019       ac_path_GREP_max=$ac_count
   6020     fi
   6021     # 10*(2^10) chars as input seems more than enough
   6022     test $ac_count -gt 10 && break
   6023   done
   6024   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6025 esac
   6026 
   6027       $ac_path_GREP_found && break 3
   6028     done
   6029   done
   6030   done
   6031 IFS=$as_save_IFS
   6032   if test -z "$ac_cv_path_GREP"; then
   6033     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6034   fi
   6035 else
   6036   ac_cv_path_GREP=$GREP
   6037 fi
   6038 
   6039 fi
   6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   6041 $as_echo "$ac_cv_path_GREP" >&6; }
   6042  GREP="$ac_cv_path_GREP"
   6043 
   6044 
   6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   6046 $as_echo_n "checking for egrep... " >&6; }
   6047 if ${ac_cv_path_EGREP+:} false; then :
   6048   $as_echo_n "(cached) " >&6
   6049 else
   6050   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6051    then ac_cv_path_EGREP="$GREP -E"
   6052    else
   6053      if test -z "$EGREP"; then
   6054   ac_path_EGREP_found=false
   6055   # Loop through the user's path and test for each of PROGNAME-LIST
   6056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6057 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6058 do
   6059   IFS=$as_save_IFS
   6060   test -z "$as_dir" && as_dir=.
   6061     for ac_prog in egrep; do
   6062     for ac_exec_ext in '' $ac_executable_extensions; do
   6063       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   6064       as_fn_executable_p "$ac_path_EGREP" || continue
   6065 # Check for GNU ac_path_EGREP and select it if it is found.
   6066   # Check for GNU $ac_path_EGREP
   6067 case `"$ac_path_EGREP" --version 2>&1` in
   6068 *GNU*)
   6069   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6070 *)
   6071   ac_count=0
   6072   $as_echo_n 0123456789 >"conftest.in"
   6073   while :
   6074   do
   6075     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6076     mv "conftest.tmp" "conftest.in"
   6077     cp "conftest.in" "conftest.nl"
   6078     $as_echo 'EGREP' >> "conftest.nl"
   6079     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6080     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6081     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6082     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6083       # Best one so far, save it but keep looking for a better one
   6084       ac_cv_path_EGREP="$ac_path_EGREP"
   6085       ac_path_EGREP_max=$ac_count
   6086     fi
   6087     # 10*(2^10) chars as input seems more than enough
   6088     test $ac_count -gt 10 && break
   6089   done
   6090   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6091 esac
   6092 
   6093       $ac_path_EGREP_found && break 3
   6094     done
   6095   done
   6096   done
   6097 IFS=$as_save_IFS
   6098   if test -z "$ac_cv_path_EGREP"; then
   6099     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6100   fi
   6101 else
   6102   ac_cv_path_EGREP=$EGREP
   6103 fi
   6104 
   6105    fi
   6106 fi
   6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6108 $as_echo "$ac_cv_path_EGREP" >&6; }
   6109  EGREP="$ac_cv_path_EGREP"
   6110 
   6111 
   6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6113 $as_echo_n "checking for ANSI C header files... " >&6; }
   6114 if ${ac_cv_header_stdc+:} false; then :
   6115   $as_echo_n "(cached) " >&6
   6116 else
   6117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6118 /* end confdefs.h.  */
   6119 #include <stdlib.h>
   6120 #include <stdarg.h>
   6121 #include <string.h>
   6122 #include <float.h>
   6123 
   6124 int
   6125 main ()
   6126 {
   6127 
   6128   ;
   6129   return 0;
   6130 }
   6131 _ACEOF
   6132 if ac_fn_c_try_compile "$LINENO"; then :
   6133   ac_cv_header_stdc=yes
   6134 else
   6135   ac_cv_header_stdc=no
   6136 fi
   6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6138 
   6139 if test $ac_cv_header_stdc = yes; then
   6140   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6142 /* end confdefs.h.  */
   6143 #include <string.h>
   6144 
   6145 _ACEOF
   6146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6147   $EGREP "memchr" >/dev/null 2>&1; then :
   6148 
   6149 else
   6150   ac_cv_header_stdc=no
   6151 fi
   6152 rm -f conftest*
   6153 
   6154 fi
   6155 
   6156 if test $ac_cv_header_stdc = yes; then
   6157   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6159 /* end confdefs.h.  */
   6160 #include <stdlib.h>
   6161 
   6162 _ACEOF
   6163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6164   $EGREP "free" >/dev/null 2>&1; then :
   6165 
   6166 else
   6167   ac_cv_header_stdc=no
   6168 fi
   6169 rm -f conftest*
   6170 
   6171 fi
   6172 
   6173 if test $ac_cv_header_stdc = yes; then
   6174   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6175   if test "$cross_compiling" = yes; then :
   6176   :
   6177 else
   6178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 #include <ctype.h>
   6181 #include <stdlib.h>
   6182 #if ((' ' & 0x0FF) == 0x020)
   6183 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6184 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6185 #else
   6186 # define ISLOWER(c) \
   6187 		   (('a' <= (c) && (c) <= 'i') \
   6188 		     || ('j' <= (c) && (c) <= 'r') \
   6189 		     || ('s' <= (c) && (c) <= 'z'))
   6190 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6191 #endif
   6192 
   6193 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6194 int
   6195 main ()
   6196 {
   6197   int i;
   6198   for (i = 0; i < 256; i++)
   6199     if (XOR (islower (i), ISLOWER (i))
   6200 	|| toupper (i) != TOUPPER (i))
   6201       return 2;
   6202   return 0;
   6203 }
   6204 _ACEOF
   6205 if ac_fn_c_try_run "$LINENO"; then :
   6206 
   6207 else
   6208   ac_cv_header_stdc=no
   6209 fi
   6210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6211   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6212 fi
   6213 
   6214 fi
   6215 fi
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6217 $as_echo "$ac_cv_header_stdc" >&6; }
   6218 if test $ac_cv_header_stdc = yes; then
   6219 
   6220 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6221 
   6222 fi
   6223 
   6224 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6225 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6226 		  inttypes.h stdint.h unistd.h
   6227 do :
   6228   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6229 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6230 "
   6231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   6232   cat >>confdefs.h <<_ACEOF
   6233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6234 _ACEOF
   6235 
   6236 fi
   6237 
   6238 done
   6239 
   6240 
   6241 
   6242   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   6243 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   6244   MINIX=yes
   6245 else
   6246   MINIX=
   6247 fi
   6248 
   6249 
   6250   if test "$MINIX" = yes; then
   6251 
   6252 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   6253 
   6254 
   6255 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   6256 
   6257 
   6258 $as_echo "#define _MINIX 1" >>confdefs.h
   6259 
   6260   fi
   6261 
   6262 
   6263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   6264 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   6265 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6269 /* end confdefs.h.  */
   6270 
   6271 #         define __EXTENSIONS__ 1
   6272           $ac_includes_default
   6273 int
   6274 main ()
   6275 {
   6276 
   6277   ;
   6278   return 0;
   6279 }
   6280 _ACEOF
   6281 if ac_fn_c_try_compile "$LINENO"; then :
   6282   ac_cv_safe_to_define___extensions__=yes
   6283 else
   6284   ac_cv_safe_to_define___extensions__=no
   6285 fi
   6286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6287 fi
   6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   6289 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   6290   test $ac_cv_safe_to_define___extensions__ = yes &&
   6291     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   6292 
   6293   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   6294 
   6295   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   6296 
   6297   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   6298 
   6299   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   6300 
   6301 
   6302 
   6303 # ==============================================================================
   6304 # Find required base packages
   6305 # ==============================================================================
   6306 if test -n "$ac_tool_prefix"; then
   6307   for ac_prog in ar lib "link -lib"
   6308   do
   6309     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6312 $as_echo_n "checking for $ac_word... " >&6; }
   6313 if ${ac_cv_prog_AR+:} false; then :
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   if test -n "$AR"; then
   6317   ac_cv_prog_AR="$AR" # Let the user override the test.
   6318 else
   6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6320 for as_dir in $PATH
   6321 do
   6322   IFS=$as_save_IFS
   6323   test -z "$as_dir" && as_dir=.
   6324     for ac_exec_ext in '' $ac_executable_extensions; do
   6325   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6326     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6328     break 2
   6329   fi
   6330 done
   6331   done
   6332 IFS=$as_save_IFS
   6333 
   6334 fi
   6335 fi
   6336 AR=$ac_cv_prog_AR
   6337 if test -n "$AR"; then
   6338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6339 $as_echo "$AR" >&6; }
   6340 else
   6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6342 $as_echo "no" >&6; }
   6343 fi
   6344 
   6345 
   6346     test -n "$AR" && break
   6347   done
   6348 fi
   6349 if test -z "$AR"; then
   6350   ac_ct_AR=$AR
   6351   for ac_prog in ar lib "link -lib"
   6352 do
   6353   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6354 set dummy $ac_prog; ac_word=$2
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6356 $as_echo_n "checking for $ac_word... " >&6; }
   6357 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6358   $as_echo_n "(cached) " >&6
   6359 else
   6360   if test -n "$ac_ct_AR"; then
   6361   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6362 else
   6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6364 for as_dir in $PATH
   6365 do
   6366   IFS=$as_save_IFS
   6367   test -z "$as_dir" && as_dir=.
   6368     for ac_exec_ext in '' $ac_executable_extensions; do
   6369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6370     ac_cv_prog_ac_ct_AR="$ac_prog"
   6371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6372     break 2
   6373   fi
   6374 done
   6375   done
   6376 IFS=$as_save_IFS
   6377 
   6378 fi
   6379 fi
   6380 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6381 if test -n "$ac_ct_AR"; then
   6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6383 $as_echo "$ac_ct_AR" >&6; }
   6384 else
   6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6386 $as_echo "no" >&6; }
   6387 fi
   6388 
   6389 
   6390   test -n "$ac_ct_AR" && break
   6391 done
   6392 
   6393   if test "x$ac_ct_AR" = x; then
   6394     AR="false"
   6395   else
   6396     case $cross_compiling:$ac_tool_warned in
   6397 yes:)
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6400 ac_tool_warned=yes ;;
   6401 esac
   6402     AR=$ac_ct_AR
   6403   fi
   6404 fi
   6405 
   6406 : ${AR=ar}
   6407 
   6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   6409 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   6410 if ${am_cv_ar_interface+:} false; then :
   6411   $as_echo_n "(cached) " >&6
   6412 else
   6413   ac_ext=c
   6414 ac_cpp='$CPP $CPPFLAGS'
   6415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6418 
   6419    am_cv_ar_interface=ar
   6420    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6421 /* end confdefs.h.  */
   6422 int some_variable = 0;
   6423 _ACEOF
   6424 if ac_fn_c_try_compile "$LINENO"; then :
   6425   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   6426       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6427   (eval $am_ar_try) 2>&5
   6428   ac_status=$?
   6429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6430   test $ac_status = 0; }
   6431       if test "$ac_status" -eq 0; then
   6432         am_cv_ar_interface=ar
   6433       else
   6434         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   6435         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6436   (eval $am_ar_try) 2>&5
   6437   ac_status=$?
   6438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6439   test $ac_status = 0; }
   6440         if test "$ac_status" -eq 0; then
   6441           am_cv_ar_interface=lib
   6442         else
   6443           am_cv_ar_interface=unknown
   6444         fi
   6445       fi
   6446       rm -f conftest.lib libconftest.a
   6447 
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6450    ac_ext=c
   6451 ac_cpp='$CPP $CPPFLAGS'
   6452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6455 
   6456 fi
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   6458 $as_echo "$am_cv_ar_interface" >&6; }
   6459 
   6460 case $am_cv_ar_interface in
   6461 ar)
   6462   ;;
   6463 lib)
   6464   # Microsoft lib, so override with the ar-lib wrapper script.
   6465   # FIXME: It is wrong to rewrite AR.
   6466   # But if we don't then we get into trouble of one sort or another.
   6467   # A longer-term fix would be to have automake use am__AR in this case,
   6468   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   6469   # similar.
   6470   AR="$am_aux_dir/ar-lib $AR"
   6471   ;;
   6472 unknown)
   6473   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   6474   ;;
   6475 esac
   6476 
   6477 ac_ext=c
   6478 ac_cpp='$CPP $CPPFLAGS'
   6479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6482 if test -n "$ac_tool_prefix"; then
   6483   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   6484 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6486 $as_echo_n "checking for $ac_word... " >&6; }
   6487 if ${ac_cv_prog_CC+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   if test -n "$CC"; then
   6491   ac_cv_prog_CC="$CC" # Let the user override the test.
   6492 else
   6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6494 for as_dir in $PATH
   6495 do
   6496   IFS=$as_save_IFS
   6497   test -z "$as_dir" && as_dir=.
   6498     for ac_exec_ext in '' $ac_executable_extensions; do
   6499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6500     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   6501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6502     break 2
   6503   fi
   6504 done
   6505   done
   6506 IFS=$as_save_IFS
   6507 
   6508 fi
   6509 fi
   6510 CC=$ac_cv_prog_CC
   6511 if test -n "$CC"; then
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6513 $as_echo "$CC" >&6; }
   6514 else
   6515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6516 $as_echo "no" >&6; }
   6517 fi
   6518 
   6519 
   6520 fi
   6521 if test -z "$ac_cv_prog_CC"; then
   6522   ac_ct_CC=$CC
   6523   # Extract the first word of "gcc", so it can be a program name with args.
   6524 set dummy gcc; ac_word=$2
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6526 $as_echo_n "checking for $ac_word... " >&6; }
   6527 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   6528   $as_echo_n "(cached) " >&6
   6529 else
   6530   if test -n "$ac_ct_CC"; then
   6531   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6532 else
   6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6534 for as_dir in $PATH
   6535 do
   6536   IFS=$as_save_IFS
   6537   test -z "$as_dir" && as_dir=.
   6538     for ac_exec_ext in '' $ac_executable_extensions; do
   6539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6540     ac_cv_prog_ac_ct_CC="gcc"
   6541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6542     break 2
   6543   fi
   6544 done
   6545   done
   6546 IFS=$as_save_IFS
   6547 
   6548 fi
   6549 fi
   6550 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6551 if test -n "$ac_ct_CC"; then
   6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6553 $as_echo "$ac_ct_CC" >&6; }
   6554 else
   6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6556 $as_echo "no" >&6; }
   6557 fi
   6558 
   6559   if test "x$ac_ct_CC" = x; then
   6560     CC=""
   6561   else
   6562     case $cross_compiling:$ac_tool_warned in
   6563 yes:)
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6566 ac_tool_warned=yes ;;
   6567 esac
   6568     CC=$ac_ct_CC
   6569   fi
   6570 else
   6571   CC="$ac_cv_prog_CC"
   6572 fi
   6573 
   6574 if test -z "$CC"; then
   6575           if test -n "$ac_tool_prefix"; then
   6576     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   6577 set dummy ${ac_tool_prefix}cc; ac_word=$2
   6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6579 $as_echo_n "checking for $ac_word... " >&6; }
   6580 if ${ac_cv_prog_CC+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   if test -n "$CC"; then
   6584   ac_cv_prog_CC="$CC" # Let the user override the test.
   6585 else
   6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6587 for as_dir in $PATH
   6588 do
   6589   IFS=$as_save_IFS
   6590   test -z "$as_dir" && as_dir=.
   6591     for ac_exec_ext in '' $ac_executable_extensions; do
   6592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6593     ac_cv_prog_CC="${ac_tool_prefix}cc"
   6594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6595     break 2
   6596   fi
   6597 done
   6598   done
   6599 IFS=$as_save_IFS
   6600 
   6601 fi
   6602 fi
   6603 CC=$ac_cv_prog_CC
   6604 if test -n "$CC"; then
   6605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6606 $as_echo "$CC" >&6; }
   6607 else
   6608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6609 $as_echo "no" >&6; }
   6610 fi
   6611 
   6612 
   6613   fi
   6614 fi
   6615 if test -z "$CC"; then
   6616   # Extract the first word of "cc", so it can be a program name with args.
   6617 set dummy cc; ac_word=$2
   6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6619 $as_echo_n "checking for $ac_word... " >&6; }
   6620 if ${ac_cv_prog_CC+:} false; then :
   6621   $as_echo_n "(cached) " >&6
   6622 else
   6623   if test -n "$CC"; then
   6624   ac_cv_prog_CC="$CC" # Let the user override the test.
   6625 else
   6626   ac_prog_rejected=no
   6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6628 for as_dir in $PATH
   6629 do
   6630   IFS=$as_save_IFS
   6631   test -z "$as_dir" && as_dir=.
   6632     for ac_exec_ext in '' $ac_executable_extensions; do
   6633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6634     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   6635        ac_prog_rejected=yes
   6636        continue
   6637      fi
   6638     ac_cv_prog_CC="cc"
   6639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6640     break 2
   6641   fi
   6642 done
   6643   done
   6644 IFS=$as_save_IFS
   6645 
   6646 if test $ac_prog_rejected = yes; then
   6647   # We found a bogon in the path, so make sure we never use it.
   6648   set dummy $ac_cv_prog_CC
   6649   shift
   6650   if test $# != 0; then
   6651     # We chose a different compiler from the bogus one.
   6652     # However, it has the same basename, so the bogon will be chosen
   6653     # first if we set CC to just the basename; use the full file name.
   6654     shift
   6655     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   6656   fi
   6657 fi
   6658 fi
   6659 fi
   6660 CC=$ac_cv_prog_CC
   6661 if test -n "$CC"; then
   6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6663 $as_echo "$CC" >&6; }
   6664 else
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6666 $as_echo "no" >&6; }
   6667 fi
   6668 
   6669 
   6670 fi
   6671 if test -z "$CC"; then
   6672   if test -n "$ac_tool_prefix"; then
   6673   for ac_prog in cl.exe
   6674   do
   6675     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6678 $as_echo_n "checking for $ac_word... " >&6; }
   6679 if ${ac_cv_prog_CC+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   if test -n "$CC"; then
   6683   ac_cv_prog_CC="$CC" # Let the user override the test.
   6684 else
   6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6686 for as_dir in $PATH
   6687 do
   6688   IFS=$as_save_IFS
   6689   test -z "$as_dir" && as_dir=.
   6690     for ac_exec_ext in '' $ac_executable_extensions; do
   6691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6692     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   6693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6694     break 2
   6695   fi
   6696 done
   6697   done
   6698 IFS=$as_save_IFS
   6699 
   6700 fi
   6701 fi
   6702 CC=$ac_cv_prog_CC
   6703 if test -n "$CC"; then
   6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   6705 $as_echo "$CC" >&6; }
   6706 else
   6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6708 $as_echo "no" >&6; }
   6709 fi
   6710 
   6711 
   6712     test -n "$CC" && break
   6713   done
   6714 fi
   6715 if test -z "$CC"; then
   6716   ac_ct_CC=$CC
   6717   for ac_prog in cl.exe
   6718 do
   6719   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6720 set dummy $ac_prog; ac_word=$2
   6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6722 $as_echo_n "checking for $ac_word... " >&6; }
   6723 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   if test -n "$ac_ct_CC"; then
   6727   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734     for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6736     ac_cv_prog_ac_ct_CC="$ac_prog"
   6737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741   done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   6747 if test -n "$ac_ct_CC"; then
   6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   6749 $as_echo "$ac_ct_CC" >&6; }
   6750 else
   6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6752 $as_echo "no" >&6; }
   6753 fi
   6754 
   6755 
   6756   test -n "$ac_ct_CC" && break
   6757 done
   6758 
   6759   if test "x$ac_ct_CC" = x; then
   6760     CC=""
   6761   else
   6762     case $cross_compiling:$ac_tool_warned in
   6763 yes:)
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6766 ac_tool_warned=yes ;;
   6767 esac
   6768     CC=$ac_ct_CC
   6769   fi
   6770 fi
   6771 
   6772 fi
   6773 
   6774 
   6775 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6777 as_fn_error $? "no acceptable C compiler found in \$PATH
   6778 See \`config.log' for more details" "$LINENO" 5; }
   6779 
   6780 # Provide some information about the compiler.
   6781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   6782 set X $ac_compile
   6783 ac_compiler=$2
   6784 for ac_option in --version -v -V -qversion; do
   6785   { { ac_try="$ac_compiler $ac_option >&5"
   6786 case "(($ac_try" in
   6787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6788   *) ac_try_echo=$ac_try;;
   6789 esac
   6790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   6791 $as_echo "$ac_try_echo"; } >&5
   6792   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   6793   ac_status=$?
   6794   if test -s conftest.err; then
   6795     sed '10a\
   6796 ... rest of stderr output deleted ...
   6797          10q' conftest.err >conftest.er1
   6798     cat conftest.er1 >&5
   6799   fi
   6800   rm -f conftest.er1 conftest.err
   6801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6802   test $ac_status = 0; }
   6803 done
   6804 
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   6806 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   6807 if ${ac_cv_c_compiler_gnu+:} false; then :
   6808   $as_echo_n "(cached) " >&6
   6809 else
   6810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6811 /* end confdefs.h.  */
   6812 
   6813 int
   6814 main ()
   6815 {
   6816 #ifndef __GNUC__
   6817        choke me
   6818 #endif
   6819 
   6820   ;
   6821   return 0;
   6822 }
   6823 _ACEOF
   6824 if ac_fn_c_try_compile "$LINENO"; then :
   6825   ac_compiler_gnu=yes
   6826 else
   6827   ac_compiler_gnu=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   6831 
   6832 fi
   6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   6834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   6835 if test $ac_compiler_gnu = yes; then
   6836   GCC=yes
   6837 else
   6838   GCC=
   6839 fi
   6840 ac_test_CFLAGS=${CFLAGS+set}
   6841 ac_save_CFLAGS=$CFLAGS
   6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   6843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   6844 if ${ac_cv_prog_cc_g+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   ac_save_c_werror_flag=$ac_c_werror_flag
   6848    ac_c_werror_flag=yes
   6849    ac_cv_prog_cc_g=no
   6850    CFLAGS="-g"
   6851    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6852 /* end confdefs.h.  */
   6853 
   6854 int
   6855 main ()
   6856 {
   6857 
   6858   ;
   6859   return 0;
   6860 }
   6861 _ACEOF
   6862 if ac_fn_c_try_compile "$LINENO"; then :
   6863   ac_cv_prog_cc_g=yes
   6864 else
   6865   CFLAGS=""
   6866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6867 /* end confdefs.h.  */
   6868 
   6869 int
   6870 main ()
   6871 {
   6872 
   6873   ;
   6874   return 0;
   6875 }
   6876 _ACEOF
   6877 if ac_fn_c_try_compile "$LINENO"; then :
   6878 
   6879 else
   6880   ac_c_werror_flag=$ac_save_c_werror_flag
   6881 	 CFLAGS="-g"
   6882 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 
   6885 int
   6886 main ()
   6887 {
   6888 
   6889   ;
   6890   return 0;
   6891 }
   6892 _ACEOF
   6893 if ac_fn_c_try_compile "$LINENO"; then :
   6894   ac_cv_prog_cc_g=yes
   6895 fi
   6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6897 fi
   6898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6901    ac_c_werror_flag=$ac_save_c_werror_flag
   6902 fi
   6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   6904 $as_echo "$ac_cv_prog_cc_g" >&6; }
   6905 if test "$ac_test_CFLAGS" = set; then
   6906   CFLAGS=$ac_save_CFLAGS
   6907 elif test $ac_cv_prog_cc_g = yes; then
   6908   if test "$GCC" = yes; then
   6909     CFLAGS="-g -O2"
   6910   else
   6911     CFLAGS="-g"
   6912   fi
   6913 else
   6914   if test "$GCC" = yes; then
   6915     CFLAGS="-O2"
   6916   else
   6917     CFLAGS=
   6918   fi
   6919 fi
   6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   6921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   6922 if ${ac_cv_prog_cc_c89+:} false; then :
   6923   $as_echo_n "(cached) " >&6
   6924 else
   6925   ac_cv_prog_cc_c89=no
   6926 ac_save_CC=$CC
   6927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6928 /* end confdefs.h.  */
   6929 #include <stdarg.h>
   6930 #include <stdio.h>
   6931 struct stat;
   6932 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   6933 struct buf { int x; };
   6934 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   6935 static char *e (p, i)
   6936      char **p;
   6937      int i;
   6938 {
   6939   return p[i];
   6940 }
   6941 static char *f (char * (*g) (char **, int), char **p, ...)
   6942 {
   6943   char *s;
   6944   va_list v;
   6945   va_start (v,p);
   6946   s = g (p, va_arg (v,int));
   6947   va_end (v);
   6948   return s;
   6949 }
   6950 
   6951 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   6952    function prototypes and stuff, but not '\xHH' hex character constants.
   6953    These don't provoke an error unfortunately, instead are silently treated
   6954    as 'x'.  The following induces an error, until -std is added to get
   6955    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   6956    array size at least.  It's necessary to write '\x00'==0 to get something
   6957    that's true only with -std.  */
   6958 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   6959 
   6960 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   6961    inside strings and character constants.  */
   6962 #define FOO(x) 'x'
   6963 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   6964 
   6965 int test (int i, double x);
   6966 struct s1 {int (*f) (int a);};
   6967 struct s2 {int (*f) (double a);};
   6968 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   6969 int argc;
   6970 char **argv;
   6971 int
   6972 main ()
   6973 {
   6974 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   6975   ;
   6976   return 0;
   6977 }
   6978 _ACEOF
   6979 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   6980 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6981 do
   6982   CC="$ac_save_CC $ac_arg"
   6983   if ac_fn_c_try_compile "$LINENO"; then :
   6984   ac_cv_prog_cc_c89=$ac_arg
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext
   6987   test "x$ac_cv_prog_cc_c89" != "xno" && break
   6988 done
   6989 rm -f conftest.$ac_ext
   6990 CC=$ac_save_CC
   6991 
   6992 fi
   6993 # AC_CACHE_VAL
   6994 case "x$ac_cv_prog_cc_c89" in
   6995   x)
   6996     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   6997 $as_echo "none needed" >&6; } ;;
   6998   xno)
   6999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7000 $as_echo "unsupported" >&6; } ;;
   7001   *)
   7002     CC="$CC $ac_cv_prog_cc_c89"
   7003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   7004 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   7005 esac
   7006 if test "x$ac_cv_prog_cc_c89" != xno; then :
   7007 
   7008 fi
   7009 
   7010 ac_ext=c
   7011 ac_cpp='$CPP $CPPFLAGS'
   7012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7015 
   7016 ac_ext=c
   7017 ac_cpp='$CPP $CPPFLAGS'
   7018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   7022 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   7023 if ${am_cv_prog_cc_c_o+:} false; then :
   7024   $as_echo_n "(cached) " >&6
   7025 else
   7026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7027 /* end confdefs.h.  */
   7028 
   7029 int
   7030 main ()
   7031 {
   7032 
   7033   ;
   7034   return 0;
   7035 }
   7036 _ACEOF
   7037   # Make sure it works both with $CC and with simple cc.
   7038   # Following AC_PROG_CC_C_O, we do the test twice because some
   7039   # compilers refuse to overwrite an existing .o file with -o,
   7040   # though they will create one.
   7041   am_cv_prog_cc_c_o=yes
   7042   for am_i in 1 2; do
   7043     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   7044    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   7045    ac_status=$?
   7046    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7047    (exit $ac_status); } \
   7048          && test -f conftest2.$ac_objext; then
   7049       : OK
   7050     else
   7051       am_cv_prog_cc_c_o=no
   7052       break
   7053     fi
   7054   done
   7055   rm -f core conftest*
   7056   unset am_i
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   7059 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   7060 if test "$am_cv_prog_cc_c_o" != yes; then
   7061    # Losing compiler, so override with the script.
   7062    # FIXME: It is wrong to rewrite CC.
   7063    # But if we don't then we get into trouble of one sort or another.
   7064    # A longer-term fix would be to have automake use am__CC in this case,
   7065    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   7066    CC="$am_aux_dir/compile $CC"
   7067 fi
   7068 ac_ext=c
   7069 ac_cpp='$CPP $CPPFLAGS'
   7070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7073 
   7074 
   7075 depcc="$CC"   am_compiler_list=
   7076 
   7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7078 $as_echo_n "checking dependency style of $depcc... " >&6; }
   7079 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7083   # We make a subdir and do the tests there.  Otherwise we can end up
   7084   # making bogus files that we don't know about and never remove.  For
   7085   # instance it was reported that on HP-UX the gcc test will end up
   7086   # making a dummy file named 'D' -- because '-MD' means "put the output
   7087   # in D".
   7088   rm -rf conftest.dir
   7089   mkdir conftest.dir
   7090   # Copy depcomp to subdir because otherwise we won't find it if we're
   7091   # using a relative directory.
   7092   cp "$am_depcomp" conftest.dir
   7093   cd conftest.dir
   7094   # We will build objects and dependencies in a subdirectory because
   7095   # it helps to detect inapplicable dependency modes.  For instance
   7096   # both Tru64's cc and ICC support -MD to output dependencies as a
   7097   # side effect of compilation, but ICC will put the dependencies in
   7098   # the current directory while Tru64 will put them in the object
   7099   # directory.
   7100   mkdir sub
   7101 
   7102   am_cv_CC_dependencies_compiler_type=none
   7103   if test "$am_compiler_list" = ""; then
   7104      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7105   fi
   7106   am__universal=false
   7107   case " $depcc " in #(
   7108      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7109      esac
   7110 
   7111   for depmode in $am_compiler_list; do
   7112     # Setup a source with many dependencies, because some compilers
   7113     # like to wrap large dependency lists on column 80 (with \), and
   7114     # we should not choose a depcomp mode which is confused by this.
   7115     #
   7116     # We need to recreate these files for each test, as the compiler may
   7117     # overwrite some of them when testing with obscure command lines.
   7118     # This happens at least with the AIX C compiler.
   7119     : > sub/conftest.c
   7120     for i in 1 2 3 4 5 6; do
   7121       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7122       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7123       # Solaris 10 /bin/sh.
   7124       echo '/* dummy */' > sub/conftst$i.h
   7125     done
   7126     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7127 
   7128     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7129     # mode.  It turns out that the SunPro C++ compiler does not properly
   7130     # handle '-M -o', and we need to detect this.  Also, some Intel
   7131     # versions had trouble with output in subdirs.
   7132     am__obj=sub/conftest.${OBJEXT-o}
   7133     am__minus_obj="-o $am__obj"
   7134     case $depmode in
   7135     gcc)
   7136       # This depmode causes a compiler race in universal mode.
   7137       test "$am__universal" = false || continue
   7138       ;;
   7139     nosideeffect)
   7140       # After this tag, mechanisms are not by side-effect, so they'll
   7141       # only be used when explicitly requested.
   7142       if test "x$enable_dependency_tracking" = xyes; then
   7143 	continue
   7144       else
   7145 	break
   7146       fi
   7147       ;;
   7148     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7149       # This compiler won't grok '-c -o', but also, the minuso test has
   7150       # not run yet.  These depmodes are late enough in the game, and
   7151       # so weak that their functioning should not be impacted.
   7152       am__obj=conftest.${OBJEXT-o}
   7153       am__minus_obj=
   7154       ;;
   7155     none) break ;;
   7156     esac
   7157     if depmode=$depmode \
   7158        source=sub/conftest.c object=$am__obj \
   7159        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7160        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7161          >/dev/null 2>conftest.err &&
   7162        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7163        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7164        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7165        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7166       # icc doesn't choke on unknown options, it will just issue warnings
   7167       # or remarks (even with -Werror).  So we grep stderr for any message
   7168       # that says an option was ignored or not supported.
   7169       # When given -MP, icc 7.0 and 7.1 complain thusly:
   7170       #   icc: Command line warning: ignoring option '-M'; no argument required
   7171       # The diagnosis changed in icc 8.0:
   7172       #   icc: Command line remark: option '-MP' not supported
   7173       if (grep 'ignoring option' conftest.err ||
   7174           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7175         am_cv_CC_dependencies_compiler_type=$depmode
   7176         break
   7177       fi
   7178     fi
   7179   done
   7180 
   7181   cd ..
   7182   rm -rf conftest.dir
   7183 else
   7184   am_cv_CC_dependencies_compiler_type=none
   7185 fi
   7186 
   7187 fi
   7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   7189 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   7190 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   7191 
   7192  if
   7193   test "x$enable_dependency_tracking" != xno \
   7194   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   7195   am__fastdepCC_TRUE=
   7196   am__fastdepCC_FALSE='#'
   7197 else
   7198   am__fastdepCC_TRUE='#'
   7199   am__fastdepCC_FALSE=
   7200 fi
   7201 
   7202 
   7203 ac_ext=cpp
   7204 ac_cpp='$CXXCPP $CPPFLAGS'
   7205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7208 if test -z "$CXX"; then
   7209   if test -n "$CCC"; then
   7210     CXX=$CCC
   7211   else
   7212     if test -n "$ac_tool_prefix"; then
   7213   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7214   do
   7215     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7218 $as_echo_n "checking for $ac_word... " >&6; }
   7219 if ${ac_cv_prog_CXX+:} false; then :
   7220   $as_echo_n "(cached) " >&6
   7221 else
   7222   if test -n "$CXX"; then
   7223   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   7224 else
   7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7226 for as_dir in $PATH
   7227 do
   7228   IFS=$as_save_IFS
   7229   test -z "$as_dir" && as_dir=.
   7230     for ac_exec_ext in '' $ac_executable_extensions; do
   7231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7232     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   7233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7234     break 2
   7235   fi
   7236 done
   7237   done
   7238 IFS=$as_save_IFS
   7239 
   7240 fi
   7241 fi
   7242 CXX=$ac_cv_prog_CXX
   7243 if test -n "$CXX"; then
   7244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   7245 $as_echo "$CXX" >&6; }
   7246 else
   7247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7248 $as_echo "no" >&6; }
   7249 fi
   7250 
   7251 
   7252     test -n "$CXX" && break
   7253   done
   7254 fi
   7255 if test -z "$CXX"; then
   7256   ac_ct_CXX=$CXX
   7257   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7258 do
   7259   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7260 set dummy $ac_prog; ac_word=$2
   7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7262 $as_echo_n "checking for $ac_word... " >&6; }
   7263 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   7264   $as_echo_n "(cached) " >&6
   7265 else
   7266   if test -n "$ac_ct_CXX"; then
   7267   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   7268 else
   7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7270 for as_dir in $PATH
   7271 do
   7272   IFS=$as_save_IFS
   7273   test -z "$as_dir" && as_dir=.
   7274     for ac_exec_ext in '' $ac_executable_extensions; do
   7275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7276     ac_cv_prog_ac_ct_CXX="$ac_prog"
   7277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7278     break 2
   7279   fi
   7280 done
   7281   done
   7282 IFS=$as_save_IFS
   7283 
   7284 fi
   7285 fi
   7286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   7287 if test -n "$ac_ct_CXX"; then
   7288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   7289 $as_echo "$ac_ct_CXX" >&6; }
   7290 else
   7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7292 $as_echo "no" >&6; }
   7293 fi
   7294 
   7295 
   7296   test -n "$ac_ct_CXX" && break
   7297 done
   7298 
   7299   if test "x$ac_ct_CXX" = x; then
   7300     CXX="g++"
   7301   else
   7302     case $cross_compiling:$ac_tool_warned in
   7303 yes:)
   7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7306 ac_tool_warned=yes ;;
   7307 esac
   7308     CXX=$ac_ct_CXX
   7309   fi
   7310 fi
   7311 
   7312   fi
   7313 fi
   7314 # Provide some information about the compiler.
   7315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   7316 set X $ac_compile
   7317 ac_compiler=$2
   7318 for ac_option in --version -v -V -qversion; do
   7319   { { ac_try="$ac_compiler $ac_option >&5"
   7320 case "(($ac_try" in
   7321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7322   *) ac_try_echo=$ac_try;;
   7323 esac
   7324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7325 $as_echo "$ac_try_echo"; } >&5
   7326   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   7327   ac_status=$?
   7328   if test -s conftest.err; then
   7329     sed '10a\
   7330 ... rest of stderr output deleted ...
   7331          10q' conftest.err >conftest.er1
   7332     cat conftest.er1 >&5
   7333   fi
   7334   rm -f conftest.er1 conftest.err
   7335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7336   test $ac_status = 0; }
   7337 done
   7338 
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   7340 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   7341 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7345 /* end confdefs.h.  */
   7346 
   7347 int
   7348 main ()
   7349 {
   7350 #ifndef __GNUC__
   7351        choke me
   7352 #endif
   7353 
   7354   ;
   7355   return 0;
   7356 }
   7357 _ACEOF
   7358 if ac_fn_cxx_try_compile "$LINENO"; then :
   7359   ac_compiler_gnu=yes
   7360 else
   7361   ac_compiler_gnu=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7364 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   7365 
   7366 fi
   7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   7368 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   7369 if test $ac_compiler_gnu = yes; then
   7370   GXX=yes
   7371 else
   7372   GXX=
   7373 fi
   7374 ac_test_CXXFLAGS=${CXXFLAGS+set}
   7375 ac_save_CXXFLAGS=$CXXFLAGS
   7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   7377 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   7378 if ${ac_cv_prog_cxx_g+:} false; then :
   7379   $as_echo_n "(cached) " >&6
   7380 else
   7381   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   7382    ac_cxx_werror_flag=yes
   7383    ac_cv_prog_cxx_g=no
   7384    CXXFLAGS="-g"
   7385    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7386 /* end confdefs.h.  */
   7387 
   7388 int
   7389 main ()
   7390 {
   7391 
   7392   ;
   7393   return 0;
   7394 }
   7395 _ACEOF
   7396 if ac_fn_cxx_try_compile "$LINENO"; then :
   7397   ac_cv_prog_cxx_g=yes
   7398 else
   7399   CXXFLAGS=""
   7400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 
   7403 int
   7404 main ()
   7405 {
   7406 
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_cxx_try_compile "$LINENO"; then :
   7412 
   7413 else
   7414   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7415 	 CXXFLAGS="-g"
   7416 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7417 /* end confdefs.h.  */
   7418 
   7419 int
   7420 main ()
   7421 {
   7422 
   7423   ;
   7424   return 0;
   7425 }
   7426 _ACEOF
   7427 if ac_fn_cxx_try_compile "$LINENO"; then :
   7428   ac_cv_prog_cxx_g=yes
   7429 fi
   7430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7431 fi
   7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7433 fi
   7434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7435    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7436 fi
   7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   7438 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   7439 if test "$ac_test_CXXFLAGS" = set; then
   7440   CXXFLAGS=$ac_save_CXXFLAGS
   7441 elif test $ac_cv_prog_cxx_g = yes; then
   7442   if test "$GXX" = yes; then
   7443     CXXFLAGS="-g -O2"
   7444   else
   7445     CXXFLAGS="-g"
   7446   fi
   7447 else
   7448   if test "$GXX" = yes; then
   7449     CXXFLAGS="-O2"
   7450   else
   7451     CXXFLAGS=
   7452   fi
   7453 fi
   7454 ac_ext=c
   7455 ac_cpp='$CPP $CPPFLAGS'
   7456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7459 
   7460 depcc="$CXX"  am_compiler_list=
   7461 
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7463 $as_echo_n "checking dependency style of $depcc... " >&6; }
   7464 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   7465   $as_echo_n "(cached) " >&6
   7466 else
   7467   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   7468   # We make a subdir and do the tests there.  Otherwise we can end up
   7469   # making bogus files that we don't know about and never remove.  For
   7470   # instance it was reported that on HP-UX the gcc test will end up
   7471   # making a dummy file named 'D' -- because '-MD' means "put the output
   7472   # in D".
   7473   rm -rf conftest.dir
   7474   mkdir conftest.dir
   7475   # Copy depcomp to subdir because otherwise we won't find it if we're
   7476   # using a relative directory.
   7477   cp "$am_depcomp" conftest.dir
   7478   cd conftest.dir
   7479   # We will build objects and dependencies in a subdirectory because
   7480   # it helps to detect inapplicable dependency modes.  For instance
   7481   # both Tru64's cc and ICC support -MD to output dependencies as a
   7482   # side effect of compilation, but ICC will put the dependencies in
   7483   # the current directory while Tru64 will put them in the object
   7484   # directory.
   7485   mkdir sub
   7486 
   7487   am_cv_CXX_dependencies_compiler_type=none
   7488   if test "$am_compiler_list" = ""; then
   7489      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   7490   fi
   7491   am__universal=false
   7492   case " $depcc " in #(
   7493      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   7494      esac
   7495 
   7496   for depmode in $am_compiler_list; do
   7497     # Setup a source with many dependencies, because some compilers
   7498     # like to wrap large dependency lists on column 80 (with \), and
   7499     # we should not choose a depcomp mode which is confused by this.
   7500     #
   7501     # We need to recreate these files for each test, as the compiler may
   7502     # overwrite some of them when testing with obscure command lines.
   7503     # This happens at least with the AIX C compiler.
   7504     : > sub/conftest.c
   7505     for i in 1 2 3 4 5 6; do
   7506       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   7507       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   7508       # Solaris 10 /bin/sh.
   7509       echo '/* dummy */' > sub/conftst$i.h
   7510     done
   7511     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   7512 
   7513     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   7514     # mode.  It turns out that the SunPro C++ compiler does not properly
   7515     # handle '-M -o', and we need to detect this.  Also, some Intel
   7516     # versions had trouble with output in subdirs.
   7517     am__obj=sub/conftest.${OBJEXT-o}
   7518     am__minus_obj="-o $am__obj"
   7519     case $depmode in
   7520     gcc)
   7521       # This depmode causes a compiler race in universal mode.
   7522       test "$am__universal" = false || continue
   7523       ;;
   7524     nosideeffect)
   7525       # After this tag, mechanisms are not by side-effect, so they'll
   7526       # only be used when explicitly requested.
   7527       if test "x$enable_dependency_tracking" = xyes; then
   7528 	continue
   7529       else
   7530 	break
   7531       fi
   7532       ;;
   7533     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   7534       # This compiler won't grok '-c -o', but also, the minuso test has
   7535       # not run yet.  These depmodes are late enough in the game, and
   7536       # so weak that their functioning should not be impacted.
   7537       am__obj=conftest.${OBJEXT-o}
   7538       am__minus_obj=
   7539       ;;
   7540     none) break ;;
   7541     esac
   7542     if depmode=$depmode \
   7543        source=sub/conftest.c object=$am__obj \
   7544        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   7545        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   7546          >/dev/null 2>conftest.err &&
   7547        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   7548        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   7549        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   7550        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   7551       # icc doesn't choke on unknown options, it will just issue warnings
   7552       # or remarks (even with -Werror).  So we grep stderr for any message
   7553       # that says an option was ignored or not supported.
   7554       # When given -MP, icc 7.0 and 7.1 complain thusly:
   7555       #   icc: Command line warning: ignoring option '-M'; no argument required
   7556       # The diagnosis changed in icc 8.0:
   7557       #   icc: Command line remark: option '-MP' not supported
   7558       if (grep 'ignoring option' conftest.err ||
   7559           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   7560         am_cv_CXX_dependencies_compiler_type=$depmode
   7561         break
   7562       fi
   7563     fi
   7564   done
   7565 
   7566   cd ..
   7567   rm -rf conftest.dir
   7568 else
   7569   am_cv_CXX_dependencies_compiler_type=none
   7570 fi
   7571 
   7572 fi
   7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   7574 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   7575 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   7576 
   7577  if
   7578   test "x$enable_dependency_tracking" != xno \
   7579   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   7580   am__fastdepCXX_TRUE=
   7581   am__fastdepCXX_FALSE='#'
   7582 else
   7583   am__fastdepCXX_TRUE='#'
   7584   am__fastdepCXX_FALSE=
   7585 fi
   7586 
   7587 
   7588    case $ac_cv_prog_cc_stdc in #(
   7589   no) :
   7590     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
   7591   *) :
   7592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   7593 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   7594 if ${ac_cv_prog_cc_c99+:} false; then :
   7595   $as_echo_n "(cached) " >&6
   7596 else
   7597   ac_cv_prog_cc_c99=no
   7598 ac_save_CC=$CC
   7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7600 /* end confdefs.h.  */
   7601 #include <stdarg.h>
   7602 #include <stdbool.h>
   7603 #include <stdlib.h>
   7604 #include <wchar.h>
   7605 #include <stdio.h>
   7606 
   7607 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   7608 #define debug(...) fprintf (stderr, __VA_ARGS__)
   7609 #define showlist(...) puts (#__VA_ARGS__)
   7610 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   7611 static void
   7612 test_varargs_macros (void)
   7613 {
   7614   int x = 1234;
   7615   int y = 5678;
   7616   debug ("Flag");
   7617   debug ("X = %d\n", x);
   7618   showlist (The first, second, and third items.);
   7619   report (x>y, "x is %d but y is %d", x, y);
   7620 }
   7621 
   7622 // Check long long types.
   7623 #define BIG64 18446744073709551615ull
   7624 #define BIG32 4294967295ul
   7625 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   7626 #if !BIG_OK
   7627   your preprocessor is broken;
   7628 #endif
   7629 #if BIG_OK
   7630 #else
   7631   your preprocessor is broken;
   7632 #endif
   7633 static long long int bignum = -9223372036854775807LL;
   7634 static unsigned long long int ubignum = BIG64;
   7635 
   7636 struct incomplete_array
   7637 {
   7638   int datasize;
   7639   double data[];
   7640 };
   7641 
   7642 struct named_init {
   7643   int number;
   7644   const wchar_t *name;
   7645   double average;
   7646 };
   7647 
   7648 typedef const char *ccp;
   7649 
   7650 static inline int
   7651 test_restrict (ccp restrict text)
   7652 {
   7653   // See if C++-style comments work.
   7654   // Iterate through items via the restricted pointer.
   7655   // Also check for declarations in for loops.
   7656   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   7657     continue;
   7658   return 0;
   7659 }
   7660 
   7661 // Check varargs and va_copy.
   7662 static void
   7663 test_varargs (const char *format, ...)
   7664 {
   7665   va_list args;
   7666   va_start (args, format);
   7667   va_list args_copy;
   7668   va_copy (args_copy, args);
   7669 
   7670   const char *str;
   7671   int number;
   7672   float fnumber;
   7673 
   7674   while (*format)
   7675     {
   7676       switch (*format++)
   7677 	{
   7678 	case 's': // string
   7679 	  str = va_arg (args_copy, const char *);
   7680 	  break;
   7681 	case 'd': // int
   7682 	  number = va_arg (args_copy, int);
   7683 	  break;
   7684 	case 'f': // float
   7685 	  fnumber = va_arg (args_copy, double);
   7686 	  break;
   7687 	default:
   7688 	  break;
   7689 	}
   7690     }
   7691   va_end (args_copy);
   7692   va_end (args);
   7693 }
   7694 
   7695 int
   7696 main ()
   7697 {
   7698 
   7699   // Check bool.
   7700   _Bool success = false;
   7701 
   7702   // Check restrict.
   7703   if (test_restrict ("String literal") == 0)
   7704     success = true;
   7705   char *restrict newvar = "Another string";
   7706 
   7707   // Check varargs.
   7708   test_varargs ("s, d' f .", "string", 65, 34.234);
   7709   test_varargs_macros ();
   7710 
   7711   // Check flexible array members.
   7712   struct incomplete_array *ia =
   7713     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   7714   ia->datasize = 10;
   7715   for (int i = 0; i < ia->datasize; ++i)
   7716     ia->data[i] = i * 1.234;
   7717 
   7718   // Check named initializers.
   7719   struct named_init ni = {
   7720     .number = 34,
   7721     .name = L"Test wide string",
   7722     .average = 543.34343,
   7723   };
   7724 
   7725   ni.number = 58;
   7726 
   7727   int dynamic_array[ni.number];
   7728   dynamic_array[ni.number - 1] = 543;
   7729 
   7730   // work around unused variable warnings
   7731   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   7732 	  || dynamic_array[ni.number - 1] != 543);
   7733 
   7734   ;
   7735   return 0;
   7736 }
   7737 _ACEOF
   7738 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   7739 do
   7740   CC="$ac_save_CC $ac_arg"
   7741   if ac_fn_c_try_compile "$LINENO"; then :
   7742   ac_cv_prog_cc_c99=$ac_arg
   7743 fi
   7744 rm -f core conftest.err conftest.$ac_objext
   7745   test "x$ac_cv_prog_cc_c99" != "xno" && break
   7746 done
   7747 rm -f conftest.$ac_ext
   7748 CC=$ac_save_CC
   7749 
   7750 fi
   7751 # AC_CACHE_VAL
   7752 case "x$ac_cv_prog_cc_c99" in
   7753   x)
   7754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7755 $as_echo "none needed" >&6; } ;;
   7756   xno)
   7757     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7758 $as_echo "unsupported" >&6; } ;;
   7759   *)
   7760     CC="$CC $ac_cv_prog_cc_c99"
   7761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   7762 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   7763 esac
   7764 if test "x$ac_cv_prog_cc_c99" != xno; then :
   7765   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   7766 else
   7767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   7768 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   7769 if ${ac_cv_prog_cc_c89+:} false; then :
   7770   $as_echo_n "(cached) " >&6
   7771 else
   7772   ac_cv_prog_cc_c89=no
   7773 ac_save_CC=$CC
   7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7775 /* end confdefs.h.  */
   7776 #include <stdarg.h>
   7777 #include <stdio.h>
   7778 struct stat;
   7779 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   7780 struct buf { int x; };
   7781 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   7782 static char *e (p, i)
   7783      char **p;
   7784      int i;
   7785 {
   7786   return p[i];
   7787 }
   7788 static char *f (char * (*g) (char **, int), char **p, ...)
   7789 {
   7790   char *s;
   7791   va_list v;
   7792   va_start (v,p);
   7793   s = g (p, va_arg (v,int));
   7794   va_end (v);
   7795   return s;
   7796 }
   7797 
   7798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   7799    function prototypes and stuff, but not '\xHH' hex character constants.
   7800    These don't provoke an error unfortunately, instead are silently treated
   7801    as 'x'.  The following induces an error, until -std is added to get
   7802    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   7803    array size at least.  It's necessary to write '\x00'==0 to get something
   7804    that's true only with -std.  */
   7805 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   7806 
   7807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   7808    inside strings and character constants.  */
   7809 #define FOO(x) 'x'
   7810 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   7811 
   7812 int test (int i, double x);
   7813 struct s1 {int (*f) (int a);};
   7814 struct s2 {int (*f) (double a);};
   7815 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   7816 int argc;
   7817 char **argv;
   7818 int
   7819 main ()
   7820 {
   7821 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   7822   ;
   7823   return 0;
   7824 }
   7825 _ACEOF
   7826 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   7827 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   7828 do
   7829   CC="$ac_save_CC $ac_arg"
   7830   if ac_fn_c_try_compile "$LINENO"; then :
   7831   ac_cv_prog_cc_c89=$ac_arg
   7832 fi
   7833 rm -f core conftest.err conftest.$ac_objext
   7834   test "x$ac_cv_prog_cc_c89" != "xno" && break
   7835 done
   7836 rm -f conftest.$ac_ext
   7837 CC=$ac_save_CC
   7838 
   7839 fi
   7840 # AC_CACHE_VAL
   7841 case "x$ac_cv_prog_cc_c89" in
   7842   x)
   7843     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7844 $as_echo "none needed" >&6; } ;;
   7845   xno)
   7846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7847 $as_echo "unsupported" >&6; } ;;
   7848   *)
   7849     CC="$CC $ac_cv_prog_cc_c89"
   7850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   7851 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   7852 esac
   7853 if test "x$ac_cv_prog_cc_c89" != xno; then :
   7854   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   7855 else
   7856   ac_cv_prog_cc_stdc=no
   7857 fi
   7858 
   7859 fi
   7860  ;;
   7861 esac
   7862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
   7863 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
   7864   if ${ac_cv_prog_cc_stdc+:} false; then :
   7865   $as_echo_n "(cached) " >&6
   7866 fi
   7867 
   7868   case $ac_cv_prog_cc_stdc in #(
   7869   no) :
   7870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   7871 $as_echo "unsupported" >&6; } ;; #(
   7872   '') :
   7873     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   7874 $as_echo "none needed" >&6; } ;; #(
   7875   *) :
   7876     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
   7877 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
   7878 esac
   7879 
   7880 ac_ext=c
   7881 ac_cpp='$CPP $CPPFLAGS'
   7882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7886 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7887 # On Suns, sometimes $CPP names a directory.
   7888 if test -n "$CPP" && test -d "$CPP"; then
   7889   CPP=
   7890 fi
   7891 if test -z "$CPP"; then
   7892   if ${ac_cv_prog_CPP+:} false; then :
   7893   $as_echo_n "(cached) " >&6
   7894 else
   7895       # Double quotes because CPP needs to be expanded
   7896     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7897     do
   7898       ac_preproc_ok=false
   7899 for ac_c_preproc_warn_flag in '' yes
   7900 do
   7901   # Use a header file that comes with gcc, so configuring glibc
   7902   # with a fresh cross-compiler works.
   7903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7904   # <limits.h> exists even on freestanding compilers.
   7905   # On the NeXT, cc -E runs the code through the compiler's parser,
   7906   # not just through cpp. "Syntax error" is here to catch this case.
   7907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 #ifdef __STDC__
   7910 # include <limits.h>
   7911 #else
   7912 # include <assert.h>
   7913 #endif
   7914 		     Syntax error
   7915 _ACEOF
   7916 if ac_fn_c_try_cpp "$LINENO"; then :
   7917 
   7918 else
   7919   # Broken: fails on valid input.
   7920 continue
   7921 fi
   7922 rm -f conftest.err conftest.i conftest.$ac_ext
   7923 
   7924   # OK, works on sane cases.  Now check whether nonexistent headers
   7925   # can be detected and how.
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 #include <ac_nonexistent.h>
   7929 _ACEOF
   7930 if ac_fn_c_try_cpp "$LINENO"; then :
   7931   # Broken: success on invalid input.
   7932 continue
   7933 else
   7934   # Passes both tests.
   7935 ac_preproc_ok=:
   7936 break
   7937 fi
   7938 rm -f conftest.err conftest.i conftest.$ac_ext
   7939 
   7940 done
   7941 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7942 rm -f conftest.i conftest.err conftest.$ac_ext
   7943 if $ac_preproc_ok; then :
   7944   break
   7945 fi
   7946 
   7947     done
   7948     ac_cv_prog_CPP=$CPP
   7949 
   7950 fi
   7951   CPP=$ac_cv_prog_CPP
   7952 else
   7953   ac_cv_prog_CPP=$CPP
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7956 $as_echo "$CPP" >&6; }
   7957 ac_preproc_ok=false
   7958 for ac_c_preproc_warn_flag in '' yes
   7959 do
   7960   # Use a header file that comes with gcc, so configuring glibc
   7961   # with a fresh cross-compiler works.
   7962   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7963   # <limits.h> exists even on freestanding compilers.
   7964   # On the NeXT, cc -E runs the code through the compiler's parser,
   7965   # not just through cpp. "Syntax error" is here to catch this case.
   7966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 #ifdef __STDC__
   7969 # include <limits.h>
   7970 #else
   7971 # include <assert.h>
   7972 #endif
   7973 		     Syntax error
   7974 _ACEOF
   7975 if ac_fn_c_try_cpp "$LINENO"; then :
   7976 
   7977 else
   7978   # Broken: fails on valid input.
   7979 continue
   7980 fi
   7981 rm -f conftest.err conftest.i conftest.$ac_ext
   7982 
   7983   # OK, works on sane cases.  Now check whether nonexistent headers
   7984   # can be detected and how.
   7985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 #include <ac_nonexistent.h>
   7988 _ACEOF
   7989 if ac_fn_c_try_cpp "$LINENO"; then :
   7990   # Broken: success on invalid input.
   7991 continue
   7992 else
   7993   # Passes both tests.
   7994 ac_preproc_ok=:
   7995 break
   7996 fi
   7997 rm -f conftest.err conftest.i conftest.$ac_ext
   7998 
   7999 done
   8000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8001 rm -f conftest.i conftest.err conftest.$ac_ext
   8002 if $ac_preproc_ok; then :
   8003 
   8004 else
   8005   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   8006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   8007 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   8008 See \`config.log' for more details" "$LINENO" 5; }
   8009 fi
   8010 
   8011 ac_ext=c
   8012 ac_cpp='$CPP $CPPFLAGS'
   8013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8016 
   8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   8018 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   8019 if ${ac_cv_path_SED+:} false; then :
   8020   $as_echo_n "(cached) " >&6
   8021 else
   8022             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   8023      for ac_i in 1 2 3 4 5 6 7; do
   8024        ac_script="$ac_script$as_nl$ac_script"
   8025      done
   8026      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   8027      { ac_script=; unset ac_script;}
   8028      if test -z "$SED"; then
   8029   ac_path_SED_found=false
   8030   # Loop through the user's path and test for each of PROGNAME-LIST
   8031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8032 for as_dir in $PATH
   8033 do
   8034   IFS=$as_save_IFS
   8035   test -z "$as_dir" && as_dir=.
   8036     for ac_prog in sed gsed; do
   8037     for ac_exec_ext in '' $ac_executable_extensions; do
   8038       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   8039       as_fn_executable_p "$ac_path_SED" || continue
   8040 # Check for GNU ac_path_SED and select it if it is found.
   8041   # Check for GNU $ac_path_SED
   8042 case `"$ac_path_SED" --version 2>&1` in
   8043 *GNU*)
   8044   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   8045 *)
   8046   ac_count=0
   8047   $as_echo_n 0123456789 >"conftest.in"
   8048   while :
   8049   do
   8050     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8051     mv "conftest.tmp" "conftest.in"
   8052     cp "conftest.in" "conftest.nl"
   8053     $as_echo '' >> "conftest.nl"
   8054     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8055     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8056     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8057     if test $ac_count -gt ${ac_path_SED_max-0}; then
   8058       # Best one so far, save it but keep looking for a better one
   8059       ac_cv_path_SED="$ac_path_SED"
   8060       ac_path_SED_max=$ac_count
   8061     fi
   8062     # 10*(2^10) chars as input seems more than enough
   8063     test $ac_count -gt 10 && break
   8064   done
   8065   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8066 esac
   8067 
   8068       $ac_path_SED_found && break 3
   8069     done
   8070   done
   8071   done
   8072 IFS=$as_save_IFS
   8073   if test -z "$ac_cv_path_SED"; then
   8074     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   8075   fi
   8076 else
   8077   ac_cv_path_SED=$SED
   8078 fi
   8079 
   8080 fi
   8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   8082 $as_echo "$ac_cv_path_SED" >&6; }
   8083  SED="$ac_cv_path_SED"
   8084   rm -f conftest.sed
   8085 
   8086 test -z "$SED" && SED=sed
   8087 Xsed="$SED -e 1s/^X//"
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   8100 $as_echo_n "checking for fgrep... " >&6; }
   8101 if ${ac_cv_path_FGREP+:} false; then :
   8102   $as_echo_n "(cached) " >&6
   8103 else
   8104   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   8105    then ac_cv_path_FGREP="$GREP -F"
   8106    else
   8107      if test -z "$FGREP"; then
   8108   ac_path_FGREP_found=false
   8109   # Loop through the user's path and test for each of PROGNAME-LIST
   8110   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8111 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   8112 do
   8113   IFS=$as_save_IFS
   8114   test -z "$as_dir" && as_dir=.
   8115     for ac_prog in fgrep; do
   8116     for ac_exec_ext in '' $ac_executable_extensions; do
   8117       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   8118       as_fn_executable_p "$ac_path_FGREP" || continue
   8119 # Check for GNU ac_path_FGREP and select it if it is found.
   8120   # Check for GNU $ac_path_FGREP
   8121 case `"$ac_path_FGREP" --version 2>&1` in
   8122 *GNU*)
   8123   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   8124 *)
   8125   ac_count=0
   8126   $as_echo_n 0123456789 >"conftest.in"
   8127   while :
   8128   do
   8129     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8130     mv "conftest.tmp" "conftest.in"
   8131     cp "conftest.in" "conftest.nl"
   8132     $as_echo 'FGREP' >> "conftest.nl"
   8133     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8134     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8135     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8136     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   8137       # Best one so far, save it but keep looking for a better one
   8138       ac_cv_path_FGREP="$ac_path_FGREP"
   8139       ac_path_FGREP_max=$ac_count
   8140     fi
   8141     # 10*(2^10) chars as input seems more than enough
   8142     test $ac_count -gt 10 && break
   8143   done
   8144   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8145 esac
   8146 
   8147       $ac_path_FGREP_found && break 3
   8148     done
   8149   done
   8150   done
   8151 IFS=$as_save_IFS
   8152   if test -z "$ac_cv_path_FGREP"; then
   8153     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   8154   fi
   8155 else
   8156   ac_cv_path_FGREP=$FGREP
   8157 fi
   8158 
   8159    fi
   8160 fi
   8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   8162 $as_echo "$ac_cv_path_FGREP" >&6; }
   8163  FGREP="$ac_cv_path_FGREP"
   8164 
   8165 
   8166 test -z "$GREP" && GREP=grep
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   8185 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   8186 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   8187 
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   8189 $as_echo_n "checking how to print strings... " >&6; }
   8190 # Test print first, because it will be a builtin if present.
   8191 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   8192    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   8193   ECHO='print -r --'
   8194 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   8195   ECHO='printf %s\n'
   8196 else
   8197   # Use this function as a fallback that always works.
   8198   func_fallback_echo ()
   8199   {
   8200     eval 'cat <<_LTECHO_EOF
   8201 $1
   8202 _LTECHO_EOF'
   8203   }
   8204   ECHO='func_fallback_echo'
   8205 fi
   8206 
   8207 # func_echo_all arg...
   8208 # Invoke $ECHO with all args, space-separated.
   8209 func_echo_all ()
   8210 {
   8211     $ECHO ""
   8212 }
   8213 
   8214 case $ECHO in
   8215   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   8216 $as_echo "printf" >&6; } ;;
   8217   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   8218 $as_echo "print -r" >&6; } ;;
   8219   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   8220 $as_echo "cat" >&6; } ;;
   8221 esac
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 # Check whether --with-gnu-ld was given.
   8239 if test "${with_gnu_ld+set}" = set; then :
   8240   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   8241 else
   8242   with_gnu_ld=no
   8243 fi
   8244 
   8245 ac_prog=ld
   8246 if test yes = "$GCC"; then
   8247   # Check if gcc -print-prog-name=ld gives a path.
   8248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   8249 $as_echo_n "checking for ld used by $CC... " >&6; }
   8250   case $host in
   8251   *-*-mingw*)
   8252     # gcc leaves a trailing carriage return, which upsets mingw
   8253     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   8254   *)
   8255     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   8256   esac
   8257   case $ac_prog in
   8258     # Accept absolute paths.
   8259     [\\/]* | ?:[\\/]*)
   8260       re_direlt='/[^/][^/]*/\.\./'
   8261       # Canonicalize the pathname of ld
   8262       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   8263       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   8264 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   8265       done
   8266       test -z "$LD" && LD=$ac_prog
   8267       ;;
   8268   "")
   8269     # If it fails, then pretend we aren't using GCC.
   8270     ac_prog=ld
   8271     ;;
   8272   *)
   8273     # If it is relative, then search for the first ld in PATH.
   8274     with_gnu_ld=unknown
   8275     ;;
   8276   esac
   8277 elif test yes = "$with_gnu_ld"; then
   8278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   8279 $as_echo_n "checking for GNU ld... " >&6; }
   8280 else
   8281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   8282 $as_echo_n "checking for non-GNU ld... " >&6; }
   8283 fi
   8284 if ${lt_cv_path_LD+:} false; then :
   8285   $as_echo_n "(cached) " >&6
   8286 else
   8287   if test -z "$LD"; then
   8288   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8289   for ac_dir in $PATH; do
   8290     IFS=$lt_save_ifs
   8291     test -z "$ac_dir" && ac_dir=.
   8292     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   8293       lt_cv_path_LD=$ac_dir/$ac_prog
   8294       # Check to see if the program is GNU ld.  I'd rather use --version,
   8295       # but apparently some variants of GNU ld only accept -v.
   8296       # Break only if it was the GNU/non-GNU ld that we prefer.
   8297       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   8298       *GNU* | *'with BFD'*)
   8299 	test no != "$with_gnu_ld" && break
   8300 	;;
   8301       *)
   8302 	test yes != "$with_gnu_ld" && break
   8303 	;;
   8304       esac
   8305     fi
   8306   done
   8307   IFS=$lt_save_ifs
   8308 else
   8309   lt_cv_path_LD=$LD # Let the user override the test with a path.
   8310 fi
   8311 fi
   8312 
   8313 LD=$lt_cv_path_LD
   8314 if test -n "$LD"; then
   8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   8316 $as_echo "$LD" >&6; }
   8317 else
   8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8319 $as_echo "no" >&6; }
   8320 fi
   8321 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   8323 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   8324 if ${lt_cv_prog_gnu_ld+:} false; then :
   8325   $as_echo_n "(cached) " >&6
   8326 else
   8327   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   8328 case `$LD -v 2>&1 </dev/null` in
   8329 *GNU* | *'with BFD'*)
   8330   lt_cv_prog_gnu_ld=yes
   8331   ;;
   8332 *)
   8333   lt_cv_prog_gnu_ld=no
   8334   ;;
   8335 esac
   8336 fi
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   8338 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   8339 with_gnu_ld=$lt_cv_prog_gnu_ld
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   8351 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   8352 if ${ac_cv_prog_cc_c99+:} false; then :
   8353   $as_echo_n "(cached) " >&6
   8354 else
   8355   ac_cv_prog_cc_c99=no
   8356 ac_save_CC=$CC
   8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 #include <stdarg.h>
   8360 #include <stdbool.h>
   8361 #include <stdlib.h>
   8362 #include <wchar.h>
   8363 #include <stdio.h>
   8364 
   8365 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   8366 #define debug(...) fprintf (stderr, __VA_ARGS__)
   8367 #define showlist(...) puts (#__VA_ARGS__)
   8368 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   8369 static void
   8370 test_varargs_macros (void)
   8371 {
   8372   int x = 1234;
   8373   int y = 5678;
   8374   debug ("Flag");
   8375   debug ("X = %d\n", x);
   8376   showlist (The first, second, and third items.);
   8377   report (x>y, "x is %d but y is %d", x, y);
   8378 }
   8379 
   8380 // Check long long types.
   8381 #define BIG64 18446744073709551615ull
   8382 #define BIG32 4294967295ul
   8383 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   8384 #if !BIG_OK
   8385   your preprocessor is broken;
   8386 #endif
   8387 #if BIG_OK
   8388 #else
   8389   your preprocessor is broken;
   8390 #endif
   8391 static long long int bignum = -9223372036854775807LL;
   8392 static unsigned long long int ubignum = BIG64;
   8393 
   8394 struct incomplete_array
   8395 {
   8396   int datasize;
   8397   double data[];
   8398 };
   8399 
   8400 struct named_init {
   8401   int number;
   8402   const wchar_t *name;
   8403   double average;
   8404 };
   8405 
   8406 typedef const char *ccp;
   8407 
   8408 static inline int
   8409 test_restrict (ccp restrict text)
   8410 {
   8411   // See if C++-style comments work.
   8412   // Iterate through items via the restricted pointer.
   8413   // Also check for declarations in for loops.
   8414   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   8415     continue;
   8416   return 0;
   8417 }
   8418 
   8419 // Check varargs and va_copy.
   8420 static void
   8421 test_varargs (const char *format, ...)
   8422 {
   8423   va_list args;
   8424   va_start (args, format);
   8425   va_list args_copy;
   8426   va_copy (args_copy, args);
   8427 
   8428   const char *str;
   8429   int number;
   8430   float fnumber;
   8431 
   8432   while (*format)
   8433     {
   8434       switch (*format++)
   8435 	{
   8436 	case 's': // string
   8437 	  str = va_arg (args_copy, const char *);
   8438 	  break;
   8439 	case 'd': // int
   8440 	  number = va_arg (args_copy, int);
   8441 	  break;
   8442 	case 'f': // float
   8443 	  fnumber = va_arg (args_copy, double);
   8444 	  break;
   8445 	default:
   8446 	  break;
   8447 	}
   8448     }
   8449   va_end (args_copy);
   8450   va_end (args);
   8451 }
   8452 
   8453 int
   8454 main ()
   8455 {
   8456 
   8457   // Check bool.
   8458   _Bool success = false;
   8459 
   8460   // Check restrict.
   8461   if (test_restrict ("String literal") == 0)
   8462     success = true;
   8463   char *restrict newvar = "Another string";
   8464 
   8465   // Check varargs.
   8466   test_varargs ("s, d' f .", "string", 65, 34.234);
   8467   test_varargs_macros ();
   8468 
   8469   // Check flexible array members.
   8470   struct incomplete_array *ia =
   8471     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   8472   ia->datasize = 10;
   8473   for (int i = 0; i < ia->datasize; ++i)
   8474     ia->data[i] = i * 1.234;
   8475 
   8476   // Check named initializers.
   8477   struct named_init ni = {
   8478     .number = 34,
   8479     .name = L"Test wide string",
   8480     .average = 543.34343,
   8481   };
   8482 
   8483   ni.number = 58;
   8484 
   8485   int dynamic_array[ni.number];
   8486   dynamic_array[ni.number - 1] = 543;
   8487 
   8488   // work around unused variable warnings
   8489   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   8490 	  || dynamic_array[ni.number - 1] != 543);
   8491 
   8492   ;
   8493   return 0;
   8494 }
   8495 _ACEOF
   8496 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   8497 do
   8498   CC="$ac_save_CC $ac_arg"
   8499   if ac_fn_c_try_compile "$LINENO"; then :
   8500   ac_cv_prog_cc_c99=$ac_arg
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext
   8503   test "x$ac_cv_prog_cc_c99" != "xno" && break
   8504 done
   8505 rm -f conftest.$ac_ext
   8506 CC=$ac_save_CC
   8507 
   8508 fi
   8509 # AC_CACHE_VAL
   8510 case "x$ac_cv_prog_cc_c99" in
   8511   x)
   8512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   8513 $as_echo "none needed" >&6; } ;;
   8514   xno)
   8515     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   8516 $as_echo "unsupported" >&6; } ;;
   8517   *)
   8518     CC="$CC $ac_cv_prog_cc_c99"
   8519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   8520 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   8521 esac
   8522 if test "x$ac_cv_prog_cc_c99" != xno; then :
   8523 
   8524 fi
   8525 
   8526 
   8527 
   8528 ac_ext=c
   8529 ac_cpp='$CPP $CPPFLAGS'
   8530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8533 
   8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
   8535 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
   8536 if ${ac_cv_cflags_warn_all+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   ac_cv_cflags_warn_all="no, unknown"
   8540 ac_save_CFLAGS="$CFLAGS"
   8541 for ac_arg in "-warn all  % -warn all"      "-pedantic  % -Wall"          "-xstrconst % -v"             "-std1      % -verbose -w0 -warnprotos"    "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"    "-ansi -ansiE % -fullwarn"    "+ESlit     % +w1"            "-Xc        % -pvctl,fullmsg"    "-h conform % -h msglevel 2"    #
   8542 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
   8543    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 
   8546 int
   8547 main ()
   8548 {
   8549 
   8550   ;
   8551   return 0;
   8552 }
   8553 _ACEOF
   8554 if ac_fn_c_try_compile "$LINENO"; then :
   8555   ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
   8556 fi
   8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8558 done
   8559 CFLAGS="$ac_save_CFLAGS"
   8560 
   8561 fi
   8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
   8563 $as_echo "$ac_cv_cflags_warn_all" >&6; }
   8564 
   8565 
   8566 case ".$ac_cv_cflags_warn_all" in
   8567      .ok|.ok,*)  ;;
   8568    .|.no|.no,*)  ;;
   8569    *)
   8570 if ${CFLAGS+:} false; then :
   8571 
   8572   case " $CFLAGS " in #(
   8573   *" $ac_cv_cflags_warn_all "*) :
   8574     { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
   8575   (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
   8576   ac_status=$?
   8577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8578   test $ac_status = 0; } ;; #(
   8579   *) :
   8580 
   8581      as_fn_append CFLAGS " $ac_cv_cflags_warn_all"
   8582      { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
   8583   (: CFLAGS="$CFLAGS") 2>&5
   8584   ac_status=$?
   8585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8586   test $ac_status = 0; }
   8587      ;;
   8588 esac
   8589 
   8590 else
   8591 
   8592   CFLAGS=$ac_cv_cflags_warn_all
   8593   { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
   8594   (: CFLAGS="$CFLAGS") 2>&5
   8595   ac_status=$?
   8596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8597   test $ac_status = 0; }
   8598 
   8599 fi
   8600  ;;
   8601 esac
   8602 
   8603 ac_ext=c
   8604 ac_cpp='$CPP $CPPFLAGS'
   8605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8608 
   8609 
   8610 
   8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   8612 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   8613 set x ${MAKE-make}
   8614 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   8615 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   8616   $as_echo_n "(cached) " >&6
   8617 else
   8618   cat >conftest.make <<\_ACEOF
   8619 SHELL = /bin/sh
   8620 all:
   8621 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   8622 _ACEOF
   8623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   8624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   8625   *@@@%%%=?*=@@@%%%*)
   8626     eval ac_cv_prog_make_${ac_make}_set=yes;;
   8627   *)
   8628     eval ac_cv_prog_make_${ac_make}_set=no;;
   8629 esac
   8630 rm -f conftest.make
   8631 fi
   8632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   8633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8634 $as_echo "yes" >&6; }
   8635   SET_MAKE=
   8636 else
   8637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8638 $as_echo "no" >&6; }
   8639   SET_MAKE="MAKE=${MAKE-make}"
   8640 fi
   8641 
   8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   8643 $as_echo_n "checking whether ln -s works... " >&6; }
   8644 LN_S=$as_ln_s
   8645 if test "$LN_S" = "ln -s"; then
   8646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8647 $as_echo "yes" >&6; }
   8648 else
   8649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   8650 $as_echo "no, using $LN_S" >&6; }
   8651 fi
   8652 
   8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   8654 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   8655 if ${ac_cv_path_SED+:} false; then :
   8656   $as_echo_n "(cached) " >&6
   8657 else
   8658             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   8659      for ac_i in 1 2 3 4 5 6 7; do
   8660        ac_script="$ac_script$as_nl$ac_script"
   8661      done
   8662      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   8663      { ac_script=; unset ac_script;}
   8664      if test -z "$SED"; then
   8665   ac_path_SED_found=false
   8666   # Loop through the user's path and test for each of PROGNAME-LIST
   8667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8668 for as_dir in $PATH
   8669 do
   8670   IFS=$as_save_IFS
   8671   test -z "$as_dir" && as_dir=.
   8672     for ac_prog in sed gsed; do
   8673     for ac_exec_ext in '' $ac_executable_extensions; do
   8674       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   8675       as_fn_executable_p "$ac_path_SED" || continue
   8676 # Check for GNU ac_path_SED and select it if it is found.
   8677   # Check for GNU $ac_path_SED
   8678 case `"$ac_path_SED" --version 2>&1` in
   8679 *GNU*)
   8680   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   8681 *)
   8682   ac_count=0
   8683   $as_echo_n 0123456789 >"conftest.in"
   8684   while :
   8685   do
   8686     cat "conftest.in" "conftest.in" >"conftest.tmp"
   8687     mv "conftest.tmp" "conftest.in"
   8688     cp "conftest.in" "conftest.nl"
   8689     $as_echo '' >> "conftest.nl"
   8690     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   8691     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   8692     as_fn_arith $ac_count + 1 && ac_count=$as_val
   8693     if test $ac_count -gt ${ac_path_SED_max-0}; then
   8694       # Best one so far, save it but keep looking for a better one
   8695       ac_cv_path_SED="$ac_path_SED"
   8696       ac_path_SED_max=$ac_count
   8697     fi
   8698     # 10*(2^10) chars as input seems more than enough
   8699     test $ac_count -gt 10 && break
   8700   done
   8701   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   8702 esac
   8703 
   8704       $ac_path_SED_found && break 3
   8705     done
   8706   done
   8707   done
   8708 IFS=$as_save_IFS
   8709   if test -z "$ac_cv_path_SED"; then
   8710     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   8711   fi
   8712 else
   8713   ac_cv_path_SED=$SED
   8714 fi
   8715 
   8716 fi
   8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   8718 $as_echo "$ac_cv_path_SED" >&6; }
   8719  SED="$ac_cv_path_SED"
   8720   rm -f conftest.sed
   8721 
   8722 for ac_prog in gawk mawk nawk awk
   8723 do
   8724   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8725 set dummy $ac_prog; ac_word=$2
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8727 $as_echo_n "checking for $ac_word... " >&6; }
   8728 if ${ac_cv_prog_AWK+:} false; then :
   8729   $as_echo_n "(cached) " >&6
   8730 else
   8731   if test -n "$AWK"; then
   8732   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   8733 else
   8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8735 for as_dir in $PATH
   8736 do
   8737   IFS=$as_save_IFS
   8738   test -z "$as_dir" && as_dir=.
   8739     for ac_exec_ext in '' $ac_executable_extensions; do
   8740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8741     ac_cv_prog_AWK="$ac_prog"
   8742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8743     break 2
   8744   fi
   8745 done
   8746   done
   8747 IFS=$as_save_IFS
   8748 
   8749 fi
   8750 fi
   8751 AWK=$ac_cv_prog_AWK
   8752 if test -n "$AWK"; then
   8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   8754 $as_echo "$AWK" >&6; }
   8755 else
   8756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8757 $as_echo "no" >&6; }
   8758 fi
   8759 
   8760 
   8761   test -n "$AWK" && break
   8762 done
   8763 
   8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
   8765 $as_echo_n "checking if malloc debugging is wanted... " >&6; }
   8766 
   8767 # Check whether --with-dmalloc was given.
   8768 if test "${with_dmalloc+set}" = set; then :
   8769   withval=$with_dmalloc; if test "$withval" = yes; then
   8770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   8771 $as_echo "yes" >&6; }
   8772 
   8773 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
   8774 
   8775   LIBS="$LIBS -ldmalloc"
   8776   LDFLAGS="$LDFLAGS -g"
   8777 else
   8778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8779 $as_echo "no" >&6; }
   8780 fi
   8781 else
   8782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8783 $as_echo "no" >&6; }
   8784 fi
   8785 
   8786 
   8787 
   8788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
   8789 $as_echo_n "checking for __attribute__... " >&6; }
   8790 if ${ax_cv___attribute__+:} false; then :
   8791   $as_echo_n "(cached) " >&6
   8792 else
   8793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8794 /* end confdefs.h.  */
   8795 #include <stdlib.h>
   8796 	  static void foo(void) __attribute__ ((unused));
   8797 	  static void
   8798 	  foo(void) {
   8799 	      exit(1);
   8800 	  }
   8801 
   8802 int
   8803 main ()
   8804 {
   8805 
   8806   ;
   8807   return 0;
   8808 }
   8809 _ACEOF
   8810 if ac_fn_c_try_compile "$LINENO"; then :
   8811   ax_cv___attribute__=yes
   8812 else
   8813   ax_cv___attribute__=no
   8814 
   8815 fi
   8816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8817 
   8818 fi
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv___attribute__" >&5
   8820 $as_echo "$ax_cv___attribute__" >&6; }
   8821   if test "$ax_cv___attribute__" = "yes"; then
   8822 
   8823 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
   8824 
   8825   fi
   8826 
   8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
   8828 $as_echo_n "checking for C compiler vendor... " >&6; }
   8829 if ${ax_cv_c_compiler_vendor+:} false; then :
   8830   $as_echo_n "(cached) " >&6
   8831 else
   8832     # note: don't check for gcc first since some other compilers define __GNUC__
   8833   vendors="intel:     __ICC,__ECC,__INTEL_COMPILER
   8834            ibm:       __xlc__,__xlC__,__IBMC__,__IBMCPP__
   8835            pathscale: __PATHCC__,__PATHSCALE__
   8836            clang:     __clang__
   8837            cray:      _CRAYC
   8838            fujitsu:   __FUJITSU
   8839            sdcc:      SDCC, __SDCC
   8840            gnu:       __GNUC__
   8841            sun:       __SUNPRO_C,__SUNPRO_CC
   8842            hp:        __HP_cc,__HP_aCC
   8843            dec:       __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
   8844            borland:   __BORLANDC__,__CODEGEARC__,__TURBOC__
   8845            comeau:    __COMO__
   8846            kai:       __KCC
   8847            lcc:       __LCC__
   8848            sgi:       __sgi,sgi
   8849            microsoft: _MSC_VER
   8850            metrowerks: __MWERKS__
   8851            watcom:    __WATCOMC__
   8852            portland:  __PGI
   8853 	   tcc:       __TINYC__
   8854            unknown:   UNKNOWN"
   8855   for ventest in $vendors; do
   8856     case $ventest in
   8857       *:) vendor=$ventest; continue ;;
   8858       *)  vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
   8859     esac
   8860     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 
   8863 int
   8864 main ()
   8865 {
   8866 
   8867       #if !($vencpp)
   8868         thisisanerror;
   8869       #endif
   8870 
   8871   ;
   8872   return 0;
   8873 }
   8874 _ACEOF
   8875 if ac_fn_c_try_compile "$LINENO"; then :
   8876   break
   8877 fi
   8878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8879   done
   8880   ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
   8881 
   8882 fi
   8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
   8884 $as_echo "$ax_cv_c_compiler_vendor" >&6; }
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 # Check whether --with-gcc-arch was given.
   8893 if test "${with_gcc_arch+set}" = set; then :
   8894   withval=$with_gcc_arch; ax_gcc_arch=$withval
   8895 else
   8896   ax_gcc_arch=yes
   8897 fi
   8898 
   8899 
   8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
   8901 $as_echo_n "checking for gcc architecture flag... " >&6; }
   8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   8903 $as_echo "" >&6; }
   8904 if ${ax_cv_gcc_archflag+:} false; then :
   8905   $as_echo_n "(cached) " >&6
   8906 else
   8907 
   8908 ax_cv_gcc_archflag="unknown"
   8909 
   8910 if test "$GCC" = yes; then
   8911 
   8912 if test "x$ax_gcc_arch" = xyes; then
   8913 ax_gcc_arch=""
   8914 if test "$cross_compiling" = no; then
   8915 case $host_cpu in
   8916   i[3456]86*|x86_64*|amd64*) # use cpuid codes
   8917 
   8918 ac_ext=c
   8919 ac_cpp='$CPP $CPPFLAGS'
   8920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8923 
   8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0 output" >&5
   8925 $as_echo_n "checking for x86 cpuid 0 output... " >&6; }
   8926 if ${ax_cv_gcc_x86_cpuid_0+:} false; then :
   8927   $as_echo_n "(cached) " >&6
   8928 else
   8929   if test "$cross_compiling" = yes; then :
   8930   ax_cv_gcc_x86_cpuid_0=unknown
   8931 else
   8932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8933 /* end confdefs.h.  */
   8934 #include <stdio.h>
   8935 int
   8936 main ()
   8937 {
   8938 
   8939      int op = 0, level = 0, eax, ebx, ecx, edx;
   8940      FILE *f;
   8941       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   8942         "cpuid\n"
   8943         "xchg %%ebx, %1\n"
   8944         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   8945         : "a" (op), "2" (level));
   8946 
   8947      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   8948      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   8949      fclose(f);
   8950      return 0;
   8951 
   8952   ;
   8953   return 0;
   8954 }
   8955 _ACEOF
   8956 if ac_fn_c_try_run "$LINENO"; then :
   8957   ax_cv_gcc_x86_cpuid_0=`cat conftest_cpuid`; rm -f conftest_cpuid
   8958 else
   8959   ax_cv_gcc_x86_cpuid_0=unknown; rm -f conftest_cpuid
   8960 fi
   8961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   8962   conftest.$ac_objext conftest.beam conftest.$ac_ext
   8963 fi
   8964 
   8965 fi
   8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0" >&5
   8967 $as_echo "$ax_cv_gcc_x86_cpuid_0" >&6; }
   8968 ac_ext=c
   8969 ac_cpp='$CPP $CPPFLAGS'
   8970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8973 
   8974 
   8975 
   8976 
   8977 ac_ext=c
   8978 ac_cpp='$CPP $CPPFLAGS'
   8979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8982 
   8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 1 output" >&5
   8984 $as_echo_n "checking for x86 cpuid 1 output... " >&6; }
   8985 if ${ax_cv_gcc_x86_cpuid_1+:} false; then :
   8986   $as_echo_n "(cached) " >&6
   8987 else
   8988   if test "$cross_compiling" = yes; then :
   8989   ax_cv_gcc_x86_cpuid_1=unknown
   8990 else
   8991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8992 /* end confdefs.h.  */
   8993 #include <stdio.h>
   8994 int
   8995 main ()
   8996 {
   8997 
   8998      int op = 1, level = 0, eax, ebx, ecx, edx;
   8999      FILE *f;
   9000       __asm__ __volatile__ ("xchg %%ebx, %1\n"
   9001         "cpuid\n"
   9002         "xchg %%ebx, %1\n"
   9003         : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
   9004         : "a" (op), "2" (level));
   9005 
   9006      f = fopen("conftest_cpuid", "w"); if (!f) return 1;
   9007      fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
   9008      fclose(f);
   9009      return 0;
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_run "$LINENO"; then :
   9016   ax_cv_gcc_x86_cpuid_1=`cat conftest_cpuid`; rm -f conftest_cpuid
   9017 else
   9018   ax_cv_gcc_x86_cpuid_1=unknown; rm -f conftest_cpuid
   9019 fi
   9020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   9021   conftest.$ac_objext conftest.beam conftest.$ac_ext
   9022 fi
   9023 
   9024 fi
   9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_1" >&5
   9026 $as_echo "$ax_cv_gcc_x86_cpuid_1" >&6; }
   9027 ac_ext=c
   9028 ac_cpp='$CPP $CPPFLAGS'
   9029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9032 
   9033 
   9034 
   9035      case $ax_cv_gcc_x86_cpuid_0 in
   9036        *:756e6547:6c65746e:49656e69) # Intel
   9037           case $ax_cv_gcc_x86_cpuid_1 in
   9038 	    *5[4578]?:*:*:*) ax_gcc_arch="pentium-mmx pentium" ;;
   9039 	    *5[123]?:*:*:*) ax_gcc_arch=pentium ;;
   9040 	    *0?61?:*:*:*|?61?:*:*:*|61?:*:*:*) ax_gcc_arch=pentiumpro ;;
   9041 	    *0?6[356]?:*:*:*|?6[356]?:*:*:*|6[356]?:*:*:*) ax_gcc_arch="pentium2 pentiumpro" ;;
   9042 	    *0?6[78ab]?:*:*:*|?6[78ab]?:*:*:*|6[78ab]?:*:*:*) ax_gcc_arch="pentium3 pentiumpro" ;;
   9043 	    *0?6[9d]?:*:*:*|?6[9d]?:*:*:*|6[9d]?:*:*:*|*1?65?:*:*:*) ax_gcc_arch="pentium-m pentium3 pentiumpro" ;;
   9044 	    *0?6e?:*:*:*|?6e?:*:*:*|6e?:*:*:*) ax_gcc_arch="yonah pentium-m pentium3 pentiumpro" ;;
   9045 	    *0?6f?:*:*:*|?6f?:*:*:*|6f?:*:*:*|*1?66?:*:*:*) ax_gcc_arch="core2 pentium-m pentium3 pentiumpro" ;;
   9046 	    *1?6[7d]?:*:*:*) ax_gcc_arch="penryn core2 pentium-m pentium3 pentiumpro" ;;
   9047 	    *1?6[aef]?:*:*:*|*2?6e?:*:*:*) ax_gcc_arch="nehalem corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9048 	    *2?6[5cf]?:*:*:*) ax_gcc_arch="westmere corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9049 	    *2?6[ad]?:*:*:*) ax_gcc_arch="sandybridge corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9050 	    *3?6[ae]?:*:*:*) ax_gcc_arch="ivybridge core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9051 	    *3?6[cf]?:*:*:*|*4?6[56]?:*:*:*) ax_gcc_arch="haswell core-avx2 core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9052 	    *3?6d?:*:*:*|*4?6[7f]?:*:*:*|*5?66?:*:*:*) ax_gcc_arch="broadwell core-avx2 core-avx-i corei7-avx corei7 core2 pentium-m pentium3 pentiumpro" ;;
   9053 	    *1?6c?:*:*:*|*2?6[67]?:*:*:*|*3?6[56]?:*:*:*) ax_gcc_arch="bonnell atom core2 pentium-m pentium3 pentiumpro" ;;
   9054 	    *3?67?:*:*:*|*[45]?6[ad]?:*:*:*) ax_gcc_arch="silvermont atom core2 pentium-m pentium3 pentiumpro" ;;
   9055 	    *000?f[012]?:*:*:*|?f[012]?:*:*:*|f[012]?:*:*:*) ax_gcc_arch="pentium4 pentiumpro" ;;
   9056 	    *000?f[346]?:*:*:*|?f[346]?:*:*:*|f[346]?:*:*:*) ax_gcc_arch="nocona prescott pentium4 pentiumpro" ;;
   9057 	    # fallback
   9058 	    *5??:*:*:*) ax_gcc_arch=pentium ;;
   9059 	    *??6??:*:*:*) ax_gcc_arch="core2 pentiumpro" ;;
   9060 	    *6??:*:*:*) ax_gcc_arch=pentiumpro ;;
   9061 	    *00??f??:*:*:*|??f??:*:*:*|?f??:*:*:*|f??:*:*:*) ax_gcc_arch="pentium4 pentiumpro" ;;
   9062           esac ;;
   9063        *:68747541:444d4163:69746e65) # AMD
   9064           case $ax_cv_gcc_x86_cpuid_1 in
   9065 	    *5[67]?:*:*:*) ax_gcc_arch=k6 ;;
   9066 	    *5[8]?:*:*:*) ax_gcc_arch="k6-2 k6" ;;
   9067 	    *5[9d]?:*:*:*) ax_gcc_arch="k6-3 k6" ;;
   9068 	    *6[12]?:*:*:*) ax_gcc_arch="athlon k7" ;;
   9069 	    *6[34]?:*:*:*) ax_gcc_arch="athlon-tbird k7" ;;
   9070 	    *6[678a]?:*:*:*) ax_gcc_arch="athlon-xp athlon-4 athlon k7" ;;
   9071 	    *000?f[4578bcef]?:*:*:*|?f[4578bcef]?:*:*:*|f[4578bcef]?:*:*:*|*001?f[4578bcf]?:*:*:*|1?f[4578bcf]?:*:*:*) ax_gcc_arch="athlon64 k8" ;;
   9072 	    *002?f[13457bcf]?:*:*:*|2?f[13457bcf]?:*:*:*|*004?f[138bcf]?:*:*:*|4?f[138bcf]?:*:*:*|*005?f[df]?:*:*:*|5?f[df]?:*:*:*|*006?f[8bcf]?:*:*:*|6?f[8bcf]?:*:*:*|*007?f[cf]?:*:*:*|7?f[cf]?:*:*:*|*00c?f1?:*:*:*|c?f1?:*:*:*|*020?f3?:*:*:*|20?f3?:*:*:*) ax_gcc_arch="athlon64-sse3 k8-sse3 athlon64 k8" ;;
   9073 	    *010?f[245689a]?:*:*:*|10?f[245689a]?:*:*:*|*030?f1?:*:*:*|30?f1?:*:*:*) ax_gcc_arch="barcelona amdfam10 k8" ;;
   9074 	    *050?f[12]?:*:*:*|50?f[12]?:*:*:*) ax_gcc_arch="btver1 amdfam10 k8" ;;
   9075 	    *060?f1?:*:*:*|60?f1?:*:*:*) ax_gcc_arch="bdver1 amdfam10 k8" ;;
   9076 	    *060?f2?:*:*:*|60?f2?:*:*:*|*061?f[03]?:*:*:*|61?f[03]?:*:*:*) ax_gcc_arch="bdver2 bdver1 amdfam10 k8" ;;
   9077 	    *063?f0?:*:*:*|63?f0?:*:*:*) ax_gcc_arch="bdver3 bdver2 bdver1 amdfam10 k8" ;;
   9078 	    *07[03]?f0?:*:*:*|7[03]?f0?:*:*:*) ax_gcc_arch="btver2 btver1 amdfam10 k8" ;;
   9079 	    # fallback
   9080 	    *0[13]??f??:*:*:*|[13]??f??:*:*:*) ax_gcc_arch="barcelona amdfam10 k8" ;;
   9081 	    *020?f??:*:*:*|20?f??:*:*:*) ax_gcc_arch="athlon64-sse3 k8-sse3 athlon64 k8" ;;
   9082 	    *05??f??:*:*:*|5??f??:*:*:*) ax_gcc_arch="btver1 amdfam10 k8" ;;
   9083 	    *060?f??:*:*:*|60?f??:*:*:*) ax_gcc_arch="bdver1 amdfam10 k8" ;;
   9084 	    *061?f??:*:*:*|61?f??:*:*:*) ax_gcc_arch="bdver2 bdver1 amdfam10 k8" ;;
   9085 	    *06??f??:*:*:*|6??f??:*:*:*) ax_gcc_arch="bdver3 bdver2 bdver1 amdfam10 k8" ;;
   9086 	    *070?f??:*:*:*|70?f??:*:*:*) ax_gcc_arch="btver2 btver1 amdfam10 k8" ;;
   9087 	    *???f??:*:*:*) ax_gcc_arch="amdfam10 k8" ;;
   9088           esac ;;
   9089 	*:746e6543:736c7561:48727561) # IDT / VIA (Centaur)
   9090 	   case $ax_cv_gcc_x86_cpuid_1 in
   9091 	     *54?:*:*:*) ax_gcc_arch=winchip-c6 ;;
   9092 	     *5[89]?:*:*:*) ax_gcc_arch=winchip2 ;;
   9093 	     *66?:*:*:*) ax_gcc_arch=winchip2 ;;
   9094 	     *6[78]?:*:*:*) ax_gcc_arch=c3 ;;
   9095 	     *6[9adf]?:*:*:*) ax_gcc_arch="c3-2 c3" ;;
   9096 	   esac ;;
   9097      esac
   9098      if test x"$ax_gcc_arch" = x; then # fallback
   9099 	case $host_cpu in
   9100 	  i586*) ax_gcc_arch=pentium ;;
   9101 	  i686*) ax_gcc_arch=pentiumpro ;;
   9102         esac
   9103      fi
   9104      ;;
   9105 
   9106   sparc*)
   9107      # Extract the first word of "prtdiag", so it can be a program name with args.
   9108 set dummy prtdiag; ac_word=$2
   9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9110 $as_echo_n "checking for $ac_word... " >&6; }
   9111 if ${ac_cv_path_PRTDIAG+:} false; then :
   9112   $as_echo_n "(cached) " >&6
   9113 else
   9114   case $PRTDIAG in
   9115   [\\/]* | ?:[\\/]*)
   9116   ac_cv_path_PRTDIAG="$PRTDIAG" # Let the user override the test with a path.
   9117   ;;
   9118   *)
   9119   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9120 as_dummy="$PATH:/usr/platform/`uname -i`/sbin/:/usr/platform/`uname -m`/sbin/"
   9121 for as_dir in $as_dummy
   9122 do
   9123   IFS=$as_save_IFS
   9124   test -z "$as_dir" && as_dir=.
   9125     for ac_exec_ext in '' $ac_executable_extensions; do
   9126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9127     ac_cv_path_PRTDIAG="$as_dir/$ac_word$ac_exec_ext"
   9128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9129     break 2
   9130   fi
   9131 done
   9132   done
   9133 IFS=$as_save_IFS
   9134 
   9135   test -z "$ac_cv_path_PRTDIAG" && ac_cv_path_PRTDIAG="prtdiag"
   9136   ;;
   9137 esac
   9138 fi
   9139 PRTDIAG=$ac_cv_path_PRTDIAG
   9140 if test -n "$PRTDIAG"; then
   9141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRTDIAG" >&5
   9142 $as_echo "$PRTDIAG" >&6; }
   9143 else
   9144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9145 $as_echo "no" >&6; }
   9146 fi
   9147 
   9148 
   9149      cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /var/run/dmesg.boot ) | head -n 1) 2> /dev/null`
   9150      cputype=`echo "$cputype" | tr -d ' -' | $SED 's/SPARCIIi/SPARCII/' |tr $as_cr_LETTERS $as_cr_letters`
   9151      case $cputype in
   9152          *ultrasparciv*) ax_gcc_arch="ultrasparc4 ultrasparc3 ultrasparc v9" ;;
   9153          *ultrasparciii*) ax_gcc_arch="ultrasparc3 ultrasparc v9" ;;
   9154          *ultrasparc*) ax_gcc_arch="ultrasparc v9" ;;
   9155          *supersparc*|*tms390z5[05]*) ax_gcc_arch="supersparc v8" ;;
   9156          *hypersparc*|*rt62[056]*) ax_gcc_arch="hypersparc v8" ;;
   9157          *cypress*) ax_gcc_arch=cypress ;;
   9158      esac ;;
   9159 
   9160   alphaev5) ax_gcc_arch=ev5 ;;
   9161   alphaev56) ax_gcc_arch=ev56 ;;
   9162   alphapca56) ax_gcc_arch="pca56 ev56" ;;
   9163   alphapca57) ax_gcc_arch="pca57 pca56 ev56" ;;
   9164   alphaev6) ax_gcc_arch=ev6 ;;
   9165   alphaev67) ax_gcc_arch=ev67 ;;
   9166   alphaev68) ax_gcc_arch="ev68 ev67" ;;
   9167   alphaev69) ax_gcc_arch="ev69 ev68 ev67" ;;
   9168   alphaev7) ax_gcc_arch="ev7 ev69 ev68 ev67" ;;
   9169   alphaev79) ax_gcc_arch="ev79 ev7 ev69 ev68 ev67" ;;
   9170 
   9171   powerpc*)
   9172      cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | $SED 's/ //g') ; /usr/bin/machine ; /bin/machine; grep CPU /var/run/dmesg.boot | head -n 1 | cut -d" " -f2) 2> /dev/null`
   9173      cputype=`echo $cputype | $SED -e 's/ppc//g;s/ *//g'`
   9174      case $cputype in
   9175        *750*) ax_gcc_arch="750 G3" ;;
   9176        *740[0-9]*) ax_gcc_arch="$cputype 7400 G4" ;;
   9177        *74[4-5][0-9]*) ax_gcc_arch="$cputype 7450 G4" ;;
   9178        *74[0-9][0-9]*) ax_gcc_arch="$cputype G4" ;;
   9179        *970*) ax_gcc_arch="970 G5 power4";;
   9180        *POWER4*|*power4*|*gq*) ax_gcc_arch="power4 970";;
   9181        *POWER5*|*power5*|*gr*|*gs*) ax_gcc_arch="power5 power4 970";;
   9182        603ev|8240) ax_gcc_arch="$cputype 603e 603";;
   9183        *POWER7*) ax_gcc_arch="power7";;
   9184        *POWER8*) ax_gcc_arch="power8";;
   9185        *POWER9*) ax_gcc_arch="power9";;
   9186        *POWER10*) ax_gcc_arch="power10";;
   9187        *) ax_gcc_arch=$cputype ;;
   9188      esac
   9189      ax_gcc_arch="$ax_gcc_arch powerpc"
   9190      ;;
   9191   aarch64)
   9192      cpuimpl=`grep 'CPU implementer' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   9193      cpuarch=`grep 'CPU architecture' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   9194      cpuvar=`grep 'CPU variant' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
   9195      case $cpuimpl in
   9196        0x42) case $cpuarch in
   9197                8) case $cpuvar in
   9198                     0x0) ax_gcc_arch="thunderx2t99 vulcan armv8.1-a armv8-a+lse armv8-a native" ;;
   9199                   esac
   9200                   ;;
   9201              esac
   9202              ;;
   9203        0x43) case $cpuarch in
   9204                8) case $cpuvar in
   9205                     0x0) ax_gcc_arch="thunderx armv8-a native" ;;
   9206                     0x1) ax_gcc_arch="thunderx+lse armv8.1-a armv8-a+lse armv8-a native" ;;
   9207                   esac
   9208                   ;;
   9209              esac
   9210              ;;
   9211       esac
   9212       ;;
   9213 esac
   9214 fi # not cross-compiling
   9215 fi # guess arch
   9216 
   9217 if test "x$ax_gcc_arch" != x -a "x$ax_gcc_arch" != xno; then
   9218 if test "xyes" = xyes; then # if we require portable code
   9219   flag_prefixes="-mtune="
   9220   if test "x$ax_cv_c_compiler_vendor" = xclang; then flag_prefixes="-march="; fi
   9221   # -mcpu=$arch and m$arch generate nonportable code on every arch except
   9222   # x86.  And some other arches (e.g. Alpha) don't accept -mtune.  Grrr.
   9223   case $host_cpu in i*86|x86_64*|amd64*) flag_prefixes="$flag_prefixes -mcpu= -m";; esac
   9224 else
   9225   flag_prefixes="-march= -mcpu= -m"
   9226 fi
   9227 for flag_prefix in $flag_prefixes; do
   9228   for arch in $ax_gcc_arch; do
   9229     flag="$flag_prefix$arch"
   9230     as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$flag" | $as_tr_sh`
   9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
   9232 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
   9233 if eval \${$as_CACHEVAR+:} false; then :
   9234   $as_echo_n "(cached) " >&6
   9235 else
   9236 
   9237   ax_check_save_flags=$CFLAGS
   9238   CFLAGS="$CFLAGS  $flag"
   9239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9240 /* end confdefs.h.  */
   9241 
   9242 int
   9243 main ()
   9244 {
   9245 
   9246   ;
   9247   return 0;
   9248 }
   9249 _ACEOF
   9250 if ac_fn_c_try_compile "$LINENO"; then :
   9251   eval "$as_CACHEVAR=yes"
   9252 else
   9253   eval "$as_CACHEVAR=no"
   9254 fi
   9255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9256   CFLAGS=$ax_check_save_flags
   9257 fi
   9258 eval ac_res=\$$as_CACHEVAR
   9259 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   9260 $as_echo "$ac_res" >&6; }
   9261 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
   9262   if test "x$ax_cv_c_compiler_vendor" = xclang; then
   9263       if test "xyes" = xyes; then
   9264 	if test "x$flag" = "x-march=$arch"; then flag=-mtune=$arch; fi
   9265       fi
   9266     fi; ax_cv_gcc_archflag=$flag; break
   9267 else
   9268   :
   9269 fi
   9270 
   9271   done
   9272   test "x$ax_cv_gcc_archflag" = xunknown || break
   9273 done
   9274 fi
   9275 
   9276 fi # $GCC=yes
   9277 
   9278 fi
   9279 
   9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc architecture flag" >&5
   9281 $as_echo_n "checking for gcc architecture flag... " >&6; }
   9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_archflag" >&5
   9283 $as_echo "$ax_cv_gcc_archflag" >&6; }
   9284 if test "x$ax_cv_gcc_archflag" = xunknown; then
   9285   :
   9286 else
   9287   CFLAGS="$CFLAGS $ax_cv_gcc_archflag"
   9288 fi
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   9298 	if test -n "$ac_tool_prefix"; then
   9299   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   9300 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9302 $as_echo_n "checking for $ac_word... " >&6; }
   9303 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   9304   $as_echo_n "(cached) " >&6
   9305 else
   9306   case $PKG_CONFIG in
   9307   [\\/]* | ?:[\\/]*)
   9308   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   9309   ;;
   9310   *)
   9311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9312 for as_dir in $PATH
   9313 do
   9314   IFS=$as_save_IFS
   9315   test -z "$as_dir" && as_dir=.
   9316     for ac_exec_ext in '' $ac_executable_extensions; do
   9317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9318     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   9319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9320     break 2
   9321   fi
   9322 done
   9323   done
   9324 IFS=$as_save_IFS
   9325 
   9326   ;;
   9327 esac
   9328 fi
   9329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   9330 if test -n "$PKG_CONFIG"; then
   9331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   9332 $as_echo "$PKG_CONFIG" >&6; }
   9333 else
   9334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9335 $as_echo "no" >&6; }
   9336 fi
   9337 
   9338 
   9339 fi
   9340 if test -z "$ac_cv_path_PKG_CONFIG"; then
   9341   ac_pt_PKG_CONFIG=$PKG_CONFIG
   9342   # Extract the first word of "pkg-config", so it can be a program name with args.
   9343 set dummy pkg-config; ac_word=$2
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9345 $as_echo_n "checking for $ac_word... " >&6; }
   9346 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   case $ac_pt_PKG_CONFIG in
   9350   [\\/]* | ?:[\\/]*)
   9351   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   9352   ;;
   9353   *)
   9354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9355 for as_dir in $PATH
   9356 do
   9357   IFS=$as_save_IFS
   9358   test -z "$as_dir" && as_dir=.
   9359     for ac_exec_ext in '' $ac_executable_extensions; do
   9360   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9361     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   9362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9363     break 2
   9364   fi
   9365 done
   9366   done
   9367 IFS=$as_save_IFS
   9368 
   9369   ;;
   9370 esac
   9371 fi
   9372 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   9373 if test -n "$ac_pt_PKG_CONFIG"; then
   9374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   9375 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   9376 else
   9377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9378 $as_echo "no" >&6; }
   9379 fi
   9380 
   9381   if test "x$ac_pt_PKG_CONFIG" = x; then
   9382     PKG_CONFIG=""
   9383   else
   9384     case $cross_compiling:$ac_tool_warned in
   9385 yes:)
   9386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9388 ac_tool_warned=yes ;;
   9389 esac
   9390     PKG_CONFIG=$ac_pt_PKG_CONFIG
   9391   fi
   9392 else
   9393   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   9394 fi
   9395 
   9396 fi
   9397 if test -n "$PKG_CONFIG"; then
   9398 	_pkg_min_version=0.20
   9399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   9400 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   9401 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   9402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   9403 $as_echo "yes" >&6; }
   9404 	else
   9405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9406 $as_echo "no" >&6; }
   9407 		PKG_CONFIG=""
   9408 	fi
   9409 fi
   9410 
   9411 
   9412 
   9413 # Test for 64-bit build.
   9414 # The cast to long int works around a bug in the HP C Compiler
   9415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   9416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   9417 # This bug is HP SR number 8606223364.
   9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
   9419 $as_echo_n "checking size of size_t... " >&6; }
   9420 if ${ac_cv_sizeof_size_t+:} false; then :
   9421   $as_echo_n "(cached) " >&6
   9422 else
   9423   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
   9424 
   9425 else
   9426   if test "$ac_cv_type_size_t" = yes; then
   9427      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   9428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   9429 as_fn_error 77 "cannot compute sizeof (size_t)
   9430 See \`config.log' for more details" "$LINENO" 5; }
   9431    else
   9432      ac_cv_sizeof_size_t=0
   9433    fi
   9434 fi
   9435 
   9436 fi
   9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
   9438 $as_echo "$ac_cv_sizeof_size_t" >&6; }
   9439 
   9440 
   9441 
   9442 cat >>confdefs.h <<_ACEOF
   9443 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
   9444 _ACEOF
   9445 
   9446 
   9447 
   9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler vendor" >&5
   9449 $as_echo_n "checking for C compiler vendor... " >&6; }
   9450 if ${ax_cv_c_compiler_vendor+:} false; then :
   9451   $as_echo_n "(cached) " >&6
   9452 else
   9453     # note: don't check for gcc first since some other compilers define __GNUC__
   9454   vendors="intel:     __ICC,__ECC,__INTEL_COMPILER
   9455            ibm:       __xlc__,__xlC__,__IBMC__,__IBMCPP__
   9456            pathscale: __PATHCC__,__PATHSCALE__
   9457            clang:     __clang__
   9458            cray:      _CRAYC
   9459            fujitsu:   __FUJITSU
   9460            sdcc:      SDCC, __SDCC
   9461            gnu:       __GNUC__
   9462            sun:       __SUNPRO_C,__SUNPRO_CC
   9463            hp:        __HP_cc,__HP_aCC
   9464            dec:       __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
   9465            borland:   __BORLANDC__,__CODEGEARC__,__TURBOC__
   9466            comeau:    __COMO__
   9467            kai:       __KCC
   9468            lcc:       __LCC__
   9469            sgi:       __sgi,sgi
   9470            microsoft: _MSC_VER
   9471            metrowerks: __MWERKS__
   9472            watcom:    __WATCOMC__
   9473            portland:  __PGI
   9474 	   tcc:       __TINYC__
   9475            unknown:   UNKNOWN"
   9476   for ventest in $vendors; do
   9477     case $ventest in
   9478       *:) vendor=$ventest; continue ;;
   9479       *)  vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
   9480     esac
   9481     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9482 /* end confdefs.h.  */
   9483 
   9484 int
   9485 main ()
   9486 {
   9487 
   9488       #if !($vencpp)
   9489         thisisanerror;
   9490       #endif
   9491 
   9492   ;
   9493   return 0;
   9494 }
   9495 _ACEOF
   9496 if ac_fn_c_try_compile "$LINENO"; then :
   9497   break
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9500   done
   9501   ax_cv_c_compiler_vendor=`echo $vendor | cut -d: -f1`
   9502 
   9503 fi
   9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_vendor" >&5
   9505 $as_echo "$ax_cv_c_compiler_vendor" >&6; }
   9506 
   9507 
   9508 if test "x$GCC" = "xyes"; then
   9509   CFLAGS="$CFLAGS -fexceptions"
   9510   touch local.exp
   9511 else
   9512   cat > local.exp <<EOF
   9513 set CC_FOR_TARGET "$CC"
   9514 EOF
   9515 fi
   9516 
   9517 # Check for linker script support
   9518 
   9519   # Check whether --enable-ld-version-script was given.
   9520 if test "${enable_ld_version_script+set}" = set; then :
   9521   enableval=$enable_ld_version_script; have_ld_version_script=$enableval
   9522 else
   9523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5
   9524 $as_echo_n "checking if LD -Wl,--version-script works... " >&6; }
   9525 if ${gl_cv_sys_ld_version_script+:} false; then :
   9526   $as_echo_n "(cached) " >&6
   9527 else
   9528   gl_cv_sys_ld_version_script=no
   9529         save_LDFLAGS=$LDFLAGS
   9530         LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
   9531         echo foo >conftest.map
   9532         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9533 /* end confdefs.h.  */
   9534 
   9535 int
   9536 main ()
   9537 {
   9538 
   9539   ;
   9540   return 0;
   9541 }
   9542 _ACEOF
   9543 if ac_fn_c_try_link "$LINENO"; then :
   9544 
   9545 else
   9546   cat > conftest.map <<EOF
   9547 VERS_1 {
   9548         global: sym;
   9549 };
   9550 
   9551 VERS_2 {
   9552         global: sym;
   9553 } VERS_1;
   9554 EOF
   9555            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9556 /* end confdefs.h.  */
   9557 
   9558 int
   9559 main ()
   9560 {
   9561 
   9562   ;
   9563   return 0;
   9564 }
   9565 _ACEOF
   9566 if ac_fn_c_try_link "$LINENO"; then :
   9567   gl_cv_sys_ld_version_script=yes
   9568 fi
   9569 rm -f core conftest.err conftest.$ac_objext \
   9570     conftest$ac_exeext conftest.$ac_ext
   9571 fi
   9572 rm -f core conftest.err conftest.$ac_objext \
   9573     conftest$ac_exeext conftest.$ac_ext
   9574         rm -f conftest.map
   9575         LDFLAGS=$save_LDFLAGS
   9576 fi
   9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_ld_version_script" >&5
   9578 $as_echo "$gl_cv_sys_ld_version_script" >&6; }
   9579      have_ld_version_script=$gl_cv_sys_ld_version_script
   9580 fi
   9581 
   9582    if test "$have_ld_version_script" = yes; then
   9583   HAVE_LD_VERSION_SCRIPT_TRUE=
   9584   HAVE_LD_VERSION_SCRIPT_FALSE='#'
   9585 else
   9586   HAVE_LD_VERSION_SCRIPT_TRUE='#'
   9587   HAVE_LD_VERSION_SCRIPT_FALSE=
   9588 fi
   9589 
   9590 
   9591 
   9592 #
   9593 # Enable run-time checking.
   9594 #
   9595 # Check whether --enable-bounds-checking was given.
   9596 if test "${enable_bounds_checking+set}" = set; then :
   9597   enableval=$enable_bounds_checking; enable_bounds_checking=$enableval
   9598 else
   9599   enable_bounds_checking='no'
   9600 fi
   9601 
   9602 
   9603 if test "$enable_bounds_checking" = yes; then
   9604 
   9605 $as_echo "#define _FORTIFY_SOURCE 2" >>confdefs.h
   9606 
   9607 fi
   9608 
   9609 #
   9610 # Tests for Windows
   9611 #
   9612 
   9613 
   9614 
   9615 GDI32_LIBS=''
   9616 WS2_32_LIBS=''
   9617 native_win32_build='no'
   9618 cygwin_build='no'
   9619 case "${host_os}" in
   9620     cygwin* )
   9621         cygwin_build='yes'
   9622         GDI32_LIBS='-lgdi32'
   9623     ;;
   9624     mingw* )
   9625         native_win32_build='yes'
   9626         GDI32_LIBS='-lgdi32'
   9627         OLE_LIBS='-loleaut32'
   9628         WS2_32_LIBS="-lws2_32"
   9629     ;;
   9630 esac
   9631 if test "${GDI32_LIBS}x" != 'x'; then
   9632 
   9633 $as_echo "#define WINGDI32_DELEGATE 1" >>confdefs.h
   9634 
   9635 fi
   9636 
   9637 
   9638 
   9639  if test "${GDI32_LIBS}x" != 'x' ; then
   9640   WINGDI32_DELEGATE_TRUE=
   9641   WINGDI32_DELEGATE_FALSE='#'
   9642 else
   9643   WINGDI32_DELEGATE_TRUE='#'
   9644   WINGDI32_DELEGATE_FALSE=
   9645 fi
   9646 
   9647  if test "${native_win32_build}" = 'yes' ; then
   9648   WIN32_NATIVE_BUILD_TRUE=
   9649   WIN32_NATIVE_BUILD_FALSE='#'
   9650 else
   9651   WIN32_NATIVE_BUILD_TRUE='#'
   9652   WIN32_NATIVE_BUILD_FALSE=
   9653 fi
   9654 
   9655  if test "${cygwin_build}" = 'yes' ; then
   9656   CYGWIN_BUILD_TRUE=
   9657   CYGWIN_BUILD_FALSE='#'
   9658 else
   9659   CYGWIN_BUILD_TRUE='#'
   9660   CYGWIN_BUILD_FALSE=
   9661 fi
   9662 
   9663  if test "x${CC}" = 'xcl.exe' ; then
   9664   USING_CL_TRUE=
   9665   USING_CL_FALSE='#'
   9666 else
   9667   USING_CL_TRUE='#'
   9668   USING_CL_FALSE=
   9669 fi
   9670 
   9671 
   9672 WinPathScript="${srcdirfull}/winpath.sh"
   9673 
   9674 
   9675 #
   9676 # Compiler flags tweaks
   9677 #
   9678 if test "${GCC}" != "yes"; then
   9679     case "${host}" in
   9680         *-*-hpux* )
   9681             # aCC: HP ANSI C++ B3910B A.03.34
   9682             CFLAGS="${CFLAGS} -Wp,-H30000"
   9683             if test -n "${CXXFLAGS}"; then
   9684                 CXXFLAGS='-AA'
   9685             else
   9686                 CXXFLAGS="${CXXFLAGS} -AA"
   9687             fi
   9688         ;;
   9689         *-dec-osf5.* )
   9690             # Compaq alphaev68-dec-osf5.1 compiler
   9691             if test -n "${CXXFLAGS}"; then
   9692                 CXXFLAGS='-std strict_ansi -noimplicit_include'
   9693             else
   9694                 CXXFLAGS="${CXXFLAGS} -std strict_ansi -noimplicit_include"
   9695             fi
   9696   esac
   9697 fi
   9698 
   9699 # Check for lazy-loading.
   9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker lazyload option" >&5
   9701 $as_echo_n "checking for linker lazyload option... " >&6; }
   9702 if ${im_cv_ld_lazyload+:} false; then :
   9703   $as_echo_n "(cached) " >&6
   9704 else
   9705 
   9706 im_cv_ld_lazyload='none'
   9707 case "${host}" in
   9708   *-*-solaris2.8 | *-*-solaris2.9 | *-*-solaris2.1? )
   9709     if test "$lt_cv_prog_gnu_ld" != 'yes' ; then
   9710        im_cv_ld_lazyload='-Wl,-zlazyload'
   9711     fi
   9712     ;;
   9713 esac
   9714 
   9715 fi
   9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $im_cv_ld_lazyload" >&5
   9717 $as_echo "$im_cv_ld_lazyload" >&6; }
   9718 if test "${im_cv_ld_lazyload}" != 'none' ; then
   9719   if test -z "${LDFLAGS}" ; then
   9720     LDFLAGS="${im_cv_ld_lazyload}"
   9721   else
   9722     LDFLAGS="${im_cv_ld_lazyload} ${LDFLAGS}"
   9723   fi
   9724 fi
   9725 
   9726 case "$host" in
   9727   *darwin* | *-macos10*)
   9728         CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0"
   9729         # Check whether --enable-osx-universal-binary was given.
   9730 if test "${enable_osx_universal_binary+set}" = set; then :
   9731   enableval=$enable_osx_universal_binary; build_osxuniversal="${enableval}"
   9732 else
   9733   build_osxuniversal=no
   9734 fi
   9735 
   9736 
   9737     if test "${build_osxuniversal}" != no ; then
   9738       if test "$enable_dependency_tracking" != no ; then
   9739         as_fn_error $? "--enable-osx-universal-binary requires --disable-dependency-tracking.
   9740 Please re-run configure with these options:
   9741   --disable-dependency-tracking --enable-osx-universal-binary
   9742         " "$LINENO" 5
   9743       fi
   9744       CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
   9745       CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
   9746       LDFLAGS="$LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
   9747   fi
   9748   ;;
   9749 esac
   9750 
   9751 #
   9752 # ARCH specific include directory
   9753 #
   9754 
   9755 # Check whether --with-includearch-dir was given.
   9756 if test "${with_includearch_dir+set}" = set; then :
   9757   withval=$with_includearch_dir; includearch_dir=$withval
   9758 else
   9759   includearch_dir=$INCLUDE_DIR
   9760 fi
   9761 
   9762 
   9763 eval "eval INCLUDEARCH_DIR=$includearch_dir"
   9764 
   9765 
   9766 #
   9767 # ARCH specific configuration directory
   9768 #
   9769 
   9770 # Check whether --with-sharearch-dir was given.
   9771 if test "${with_sharearch_dir+set}" = set; then :
   9772   withval=$with_sharearch_dir; sharearch_dir=$withval
   9773 else
   9774   sharearch_dir="${LIB_DIR}"
   9775 fi
   9776 
   9777 
   9778 eval "eval SHAREARCH_DIR=$sharearch_dir"
   9779 
   9780 
   9781 # Path to the pkgconfig folder
   9782 
   9783 # Check whether --with-pkgconfigdir was given.
   9784 if test "${with_pkgconfigdir+set}" = set; then :
   9785   withval=$with_pkgconfigdir; pkgconfigdir="$withval"
   9786 else
   9787   pkgconfigdir='${libdir}/pkgconfig'
   9788 fi
   9789 
   9790 
   9791 
   9792 #
   9793 # Enable support for POSIX thread APIs
   9794 #
   9795 
   9796 # Check whether --with-threads was given.
   9797 if test "${with_threads+set}" = set; then :
   9798   withval=$with_threads; with_threads=$withval
   9799 else
   9800   with_threads='yes'
   9801 fi
   9802 
   9803 
   9804 THREAD_LIBS=''
   9805 have_threads=no
   9806 if test "$with_threads" != 'no'; then
   9807 
   9808 
   9809 
   9810 
   9811 ac_ext=c
   9812 ac_cpp='$CPP $CPPFLAGS'
   9813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9816 
   9817 ax_pthread_ok=no
   9818 
   9819 # We used to check for pthread.h first, but this fails if pthread.h
   9820 # requires special compiler flags (e.g. on Tru64 or Sequent).
   9821 # It gets checked for in the link test anyway.
   9822 
   9823 # First of all, check if the user has set any of the PTHREAD_LIBS,
   9824 # etcetera environment variables, and if threads linking works using
   9825 # them:
   9826 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   9827         ax_pthread_save_CC="$CC"
   9828         ax_pthread_save_CFLAGS="$CFLAGS"
   9829         ax_pthread_save_LIBS="$LIBS"
   9830         if test "x$PTHREAD_CC" != "x"; then :
   9831   CC="$PTHREAD_CC"
   9832 fi
   9833         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   9834         LIBS="$PTHREAD_LIBS $LIBS"
   9835         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   9836 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   9837         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9838 /* end confdefs.h.  */
   9839 
   9840 /* Override any GCC internal prototype to avoid an error.
   9841    Use char because int might match the return type of a GCC
   9842    builtin and then its argument prototype would still apply.  */
   9843 #ifdef __cplusplus
   9844 extern "C"
   9845 #endif
   9846 char pthread_join ();
   9847 int
   9848 main ()
   9849 {
   9850 return pthread_join ();
   9851   ;
   9852   return 0;
   9853 }
   9854 _ACEOF
   9855 if ac_fn_c_try_link "$LINENO"; then :
   9856   ax_pthread_ok=yes
   9857 fi
   9858 rm -f core conftest.err conftest.$ac_objext \
   9859     conftest$ac_exeext conftest.$ac_ext
   9860         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   9861 $as_echo "$ax_pthread_ok" >&6; }
   9862         if test "x$ax_pthread_ok" = "xno"; then
   9863                 PTHREAD_LIBS=""
   9864                 PTHREAD_CFLAGS=""
   9865         fi
   9866         CC="$ax_pthread_save_CC"
   9867         CFLAGS="$ax_pthread_save_CFLAGS"
   9868         LIBS="$ax_pthread_save_LIBS"
   9869 fi
   9870 
   9871 # We must check for the threads library under a number of different
   9872 # names; the ordering is very important because some systems
   9873 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   9874 # libraries is broken (non-POSIX).
   9875 
   9876 # Create a list of thread flags to try.  Items starting with a "-" are
   9877 # C compiler flags, and other items are library names, except for "none"
   9878 # which indicates that we try without any flags at all, and "pthread-config"
   9879 # which is a program returning the flags for the Pth emulation library.
   9880 
   9881 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   9882 
   9883 # The ordering *is* (sometimes) important.  Some notes on the
   9884 # individual items follow:
   9885 
   9886 # pthreads: AIX (must check this before -lpthread)
   9887 # none: in case threads are in libc; should be tried before -Kthread and
   9888 #       other compiler flags to prevent continual compiler warnings
   9889 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   9890 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   9891 #           (Note: HP C rejects this with "bad form for `-t' option")
   9892 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   9893 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   9894 #      doesn't hurt to check since this sometimes defines pthreads and
   9895 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   9896 #      is present but should not be used directly; and before -mthreads,
   9897 #      because the compiler interprets this as "-mt" + "-hreads")
   9898 # -mthreads: Mingw32/gcc, Lynx/gcc
   9899 # pthread: Linux, etcetera
   9900 # --thread-safe: KAI C++
   9901 # pthread-config: use pthread-config program (for GNU Pth library)
   9902 
   9903 case $host_os in
   9904 
   9905         freebsd*)
   9906 
   9907         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   9908         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   9909 
   9910         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   9911         ;;
   9912 
   9913         hpux*)
   9914 
   9915         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   9916         # multi-threading and also sets -lpthread."
   9917 
   9918         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   9919         ;;
   9920 
   9921         openedition*)
   9922 
   9923         # IBM z/OS requires a feature-test macro to be defined in order to
   9924         # enable POSIX threads at all, so give the user a hint if this is
   9925         # not set. (We don't define these ourselves, as they can affect
   9926         # other portions of the system API in unpredictable ways.)
   9927 
   9928         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9929 /* end confdefs.h.  */
   9930 
   9931 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   9932              AX_PTHREAD_ZOS_MISSING
   9933 #            endif
   9934 
   9935 _ACEOF
   9936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9937   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   9938   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   9939 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   9940 fi
   9941 rm -f conftest*
   9942 
   9943         ;;
   9944 
   9945         solaris*)
   9946 
   9947         # On Solaris (at least, for some versions), libc contains stubbed
   9948         # (non-functional) versions of the pthreads routines, so link-based
   9949         # tests will erroneously succeed. (N.B.: The stubs are missing
   9950         # pthread_cleanup_push, or rather a function called by this macro,
   9951         # so we could check for that, but who knows whether they'll stub
   9952         # that too in a future libc.)  So we'll check first for the
   9953         # standard Solaris way of linking pthreads (-mt -lpthread).
   9954 
   9955         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   9956         ;;
   9957 esac
   9958 
   9959 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   9960 
   9961 if test "x$GCC" = "xyes"; then :
   9962   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   9963 fi
   9964 
   9965 # The presence of a feature test macro requesting re-entrant function
   9966 # definitions is, on some systems, a strong hint that pthreads support is
   9967 # correctly enabled
   9968 
   9969 case $host_os in
   9970         darwin* | hpux* | linux* | osf* | solaris*)
   9971         ax_pthread_check_macro="_REENTRANT"
   9972         ;;
   9973 
   9974         aix*)
   9975         ax_pthread_check_macro="_THREAD_SAFE"
   9976         ;;
   9977 
   9978         *)
   9979         ax_pthread_check_macro="--"
   9980         ;;
   9981 esac
   9982 if test "x$ax_pthread_check_macro" = "x--"; then :
   9983   ax_pthread_check_cond=0
   9984 else
   9985   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   9986 fi
   9987 
   9988 # Are we compiling with Clang?
   9989 
   9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   9991 $as_echo_n "checking whether $CC is Clang... " >&6; }
   9992 if ${ax_cv_PTHREAD_CLANG+:} false; then :
   9993   $as_echo_n "(cached) " >&6
   9994 else
   9995   ax_cv_PTHREAD_CLANG=no
   9996      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   9997      if test "x$GCC" = "xyes"; then
   9998         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   10001 #            if defined(__clang__) && defined(__llvm__)
   10002              AX_PTHREAD_CC_IS_CLANG
   10003 #            endif
   10004 
   10005 _ACEOF
   10006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10007   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   10008   ax_cv_PTHREAD_CLANG=yes
   10009 fi
   10010 rm -f conftest*
   10011 
   10012      fi
   10013 
   10014 fi
   10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   10016 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   10017 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   10018 
   10019 ax_pthread_clang_warning=no
   10020 
   10021 # Clang needs special handling, because older versions handle the -pthread
   10022 # option in a rather... idiosyncratic way
   10023 
   10024 if test "x$ax_pthread_clang" = "xyes"; then
   10025 
   10026         # Clang takes -pthread; it has never supported any other flag
   10027 
   10028         # (Note 1: This will need to be revisited if a system that Clang
   10029         # supports has POSIX threads in a separate library.  This tends not
   10030         # to be the way of modern systems, but it's conceivable.)
   10031 
   10032         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   10033         # to get POSIX threads support; the API is always present and
   10034         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   10035         # -pthread does define _REENTRANT, and while the Darwin headers
   10036         # ignore this macro, third-party headers might not.)
   10037 
   10038         PTHREAD_CFLAGS="-pthread"
   10039         PTHREAD_LIBS=
   10040 
   10041         ax_pthread_ok=yes
   10042 
   10043         # However, older versions of Clang make a point of warning the user
   10044         # that, in an invocation where only linking and no compilation is
   10045         # taking place, the -pthread option has no effect ("argument unused
   10046         # during compilation").  They expect -pthread to be passed in only
   10047         # when source code is being compiled.
   10048         #
   10049         # Problem is, this is at odds with the way Automake and most other
   10050         # C build frameworks function, which is that the same flags used in
   10051         # compilation (CFLAGS) are also used in linking.  Many systems
   10052         # supported by AX_PTHREAD require exactly this for POSIX threads
   10053         # support, and in fact it is often not straightforward to specify a
   10054         # flag that is used only in the compilation phase and not in
   10055         # linking.  Such a scenario is extremely rare in practice.
   10056         #
   10057         # Even though use of the -pthread flag in linking would only print
   10058         # a warning, this can be a nuisance for well-run software projects
   10059         # that build with -Werror.  So if the active version of Clang has
   10060         # this misfeature, we search for an option to squash it.
   10061 
   10062         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   10063 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   10064 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   10068              # Create an alternate version of $ac_link that compiles and
   10069              # links in two steps (.c -> .o, .o -> exe) instead of one
   10070              # (.c -> exe), because the warning occurs only in the second
   10071              # step
   10072              ax_pthread_save_ac_link="$ac_link"
   10073              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   10074              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   10075              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   10076              ax_pthread_save_CFLAGS="$CFLAGS"
   10077              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   10078                 if test "x$ax_pthread_try" = "xunknown"; then :
   10079   break
   10080 fi
   10081                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   10082                 ac_link="$ax_pthread_save_ac_link"
   10083                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10084 /* end confdefs.h.  */
   10085 int main(void){return 0;}
   10086 _ACEOF
   10087 if ac_fn_c_try_link "$LINENO"; then :
   10088   ac_link="$ax_pthread_2step_ac_link"
   10089                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10090 /* end confdefs.h.  */
   10091 int main(void){return 0;}
   10092 _ACEOF
   10093 if ac_fn_c_try_link "$LINENO"; then :
   10094   break
   10095 fi
   10096 rm -f core conftest.err conftest.$ac_objext \
   10097     conftest$ac_exeext conftest.$ac_ext
   10098 
   10099 fi
   10100 rm -f core conftest.err conftest.$ac_objext \
   10101     conftest$ac_exeext conftest.$ac_ext
   10102              done
   10103              ac_link="$ax_pthread_save_ac_link"
   10104              CFLAGS="$ax_pthread_save_CFLAGS"
   10105              if test "x$ax_pthread_try" = "x"; then :
   10106   ax_pthread_try=no
   10107 fi
   10108              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   10109 
   10110 fi
   10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   10112 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   10113 
   10114         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   10115                 no | unknown) ;;
   10116                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   10117         esac
   10118 
   10119 fi # $ax_pthread_clang = yes
   10120 
   10121 if test "x$ax_pthread_ok" = "xno"; then
   10122 for ax_pthread_try_flag in $ax_pthread_flags; do
   10123 
   10124         case $ax_pthread_try_flag in
   10125                 none)
   10126                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   10127 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   10128                 ;;
   10129 
   10130                 -mt,pthread)
   10131                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   10132 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   10133                 PTHREAD_CFLAGS="-mt"
   10134                 PTHREAD_LIBS="-lpthread"
   10135                 ;;
   10136 
   10137                 -*)
   10138                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   10139 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   10140                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   10141                 ;;
   10142 
   10143                 pthread-config)
   10144                 # Extract the first word of "pthread-config", so it can be a program name with args.
   10145 set dummy pthread-config; ac_word=$2
   10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10147 $as_echo_n "checking for $ac_word... " >&6; }
   10148 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   10149   $as_echo_n "(cached) " >&6
   10150 else
   10151   if test -n "$ax_pthread_config"; then
   10152   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   10153 else
   10154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10155 for as_dir in $PATH
   10156 do
   10157   IFS=$as_save_IFS
   10158   test -z "$as_dir" && as_dir=.
   10159     for ac_exec_ext in '' $ac_executable_extensions; do
   10160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10161     ac_cv_prog_ax_pthread_config="yes"
   10162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10163     break 2
   10164   fi
   10165 done
   10166   done
   10167 IFS=$as_save_IFS
   10168 
   10169   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   10170 fi
   10171 fi
   10172 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   10173 if test -n "$ax_pthread_config"; then
   10174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   10175 $as_echo "$ax_pthread_config" >&6; }
   10176 else
   10177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10178 $as_echo "no" >&6; }
   10179 fi
   10180 
   10181 
   10182                 if test "x$ax_pthread_config" = "xno"; then :
   10183   continue
   10184 fi
   10185                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   10186                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   10187                 ;;
   10188 
   10189                 *)
   10190                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   10191 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   10192                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   10193                 ;;
   10194         esac
   10195 
   10196         ax_pthread_save_CFLAGS="$CFLAGS"
   10197         ax_pthread_save_LIBS="$LIBS"
   10198         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   10199         LIBS="$PTHREAD_LIBS $LIBS"
   10200 
   10201         # Check for various functions.  We must include pthread.h,
   10202         # since some functions may be macros.  (On the Sequent, we
   10203         # need a special flag -Kthread to make this header compile.)
   10204         # We check for pthread_join because it is in -lpthread on IRIX
   10205         # while pthread_create is in libc.  We check for pthread_attr_init
   10206         # due to DEC craziness with -lpthreads.  We check for
   10207         # pthread_cleanup_push because it is one of the few pthread
   10208         # functions on Solaris that doesn't have a non-functional libc stub.
   10209         # We try pthread_create on general principles.
   10210 
   10211         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10212 /* end confdefs.h.  */
   10213 #include <pthread.h>
   10214 #                       if $ax_pthread_check_cond
   10215 #                        error "$ax_pthread_check_macro must be defined"
   10216 #                       endif
   10217                         static void routine(void *a) { a = 0; }
   10218                         static void *start_routine(void *a) { return a; }
   10219 int
   10220 main ()
   10221 {
   10222 pthread_t th; pthread_attr_t attr;
   10223                         pthread_create(&th, 0, start_routine, 0);
   10224                         pthread_join(th, 0);
   10225                         pthread_attr_init(&attr);
   10226                         pthread_cleanup_push(routine, 0);
   10227                         pthread_cleanup_pop(0) /* ; */
   10228   ;
   10229   return 0;
   10230 }
   10231 _ACEOF
   10232 if ac_fn_c_try_link "$LINENO"; then :
   10233   ax_pthread_ok=yes
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext \
   10236     conftest$ac_exeext conftest.$ac_ext
   10237 
   10238         CFLAGS="$ax_pthread_save_CFLAGS"
   10239         LIBS="$ax_pthread_save_LIBS"
   10240 
   10241         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   10242 $as_echo "$ax_pthread_ok" >&6; }
   10243         if test "x$ax_pthread_ok" = "xyes"; then :
   10244   break
   10245 fi
   10246 
   10247         PTHREAD_LIBS=""
   10248         PTHREAD_CFLAGS=""
   10249 done
   10250 fi
   10251 
   10252 # Various other checks:
   10253 if test "x$ax_pthread_ok" = "xyes"; then
   10254         ax_pthread_save_CFLAGS="$CFLAGS"
   10255         ax_pthread_save_LIBS="$LIBS"
   10256         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   10257         LIBS="$PTHREAD_LIBS $LIBS"
   10258 
   10259         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   10260         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   10261 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   10262 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   10263   $as_echo_n "(cached) " >&6
   10264 else
   10265   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   10266              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   10267                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10268 /* end confdefs.h.  */
   10269 #include <pthread.h>
   10270 int
   10271 main ()
   10272 {
   10273 int attr = $ax_pthread_attr; return attr /* ; */
   10274   ;
   10275   return 0;
   10276 }
   10277 _ACEOF
   10278 if ac_fn_c_try_link "$LINENO"; then :
   10279   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   10280 fi
   10281 rm -f core conftest.err conftest.$ac_objext \
   10282     conftest$ac_exeext conftest.$ac_ext
   10283              done
   10284 
   10285 fi
   10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   10287 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   10288         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   10289                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   10290                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   10291 
   10292 cat >>confdefs.h <<_ACEOF
   10293 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   10294 _ACEOF
   10295 
   10296                ax_pthread_joinable_attr_defined=yes
   10297 
   10298 fi
   10299 
   10300         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   10301 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   10302 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   10303   $as_echo_n "(cached) " >&6
   10304 else
   10305   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   10306              case $host_os in
   10307              solaris*)
   10308              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   10309              ;;
   10310              esac
   10311 
   10312 fi
   10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   10314 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   10315         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   10316                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   10317   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   10318                ax_pthread_special_flags_added=yes
   10319 fi
   10320 
   10321         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   10322 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   10323 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   10324   $as_echo_n "(cached) " >&6
   10325 else
   10326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10327 /* end confdefs.h.  */
   10328 #include <pthread.h>
   10329 int
   10330 main ()
   10331 {
   10332 int i = PTHREAD_PRIO_INHERIT;
   10333   ;
   10334   return 0;
   10335 }
   10336 _ACEOF
   10337 if ac_fn_c_try_link "$LINENO"; then :
   10338   ax_cv_PTHREAD_PRIO_INHERIT=yes
   10339 else
   10340   ax_cv_PTHREAD_PRIO_INHERIT=no
   10341 fi
   10342 rm -f core conftest.err conftest.$ac_objext \
   10343     conftest$ac_exeext conftest.$ac_ext
   10344 
   10345 fi
   10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   10347 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   10348         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   10349                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   10350 
   10351 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   10352 
   10353                ax_pthread_prio_inherit_defined=yes
   10354 
   10355 fi
   10356 
   10357         CFLAGS="$ax_pthread_save_CFLAGS"
   10358         LIBS="$ax_pthread_save_LIBS"
   10359 
   10360         # More AIX lossage: compile with *_r variant
   10361         if test "x$GCC" != "xyes"; then
   10362             case $host_os in
   10363                 aix*)
   10364                 case "x/$CC" in #(
   10365   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   10366     #handle absolute path differently from PATH based program lookup
   10367                      case "x$CC" in #(
   10368   x/*) :
   10369     if as_fn_executable_p ${CC}_r; then :
   10370   PTHREAD_CC="${CC}_r"
   10371 fi ;; #(
   10372   *) :
   10373     for ac_prog in ${CC}_r
   10374 do
   10375   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10376 set dummy $ac_prog; ac_word=$2
   10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10378 $as_echo_n "checking for $ac_word... " >&6; }
   10379 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   10380   $as_echo_n "(cached) " >&6
   10381 else
   10382   if test -n "$PTHREAD_CC"; then
   10383   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   10384 else
   10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10386 for as_dir in $PATH
   10387 do
   10388   IFS=$as_save_IFS
   10389   test -z "$as_dir" && as_dir=.
   10390     for ac_exec_ext in '' $ac_executable_extensions; do
   10391   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10392     ac_cv_prog_PTHREAD_CC="$ac_prog"
   10393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10394     break 2
   10395   fi
   10396 done
   10397   done
   10398 IFS=$as_save_IFS
   10399 
   10400 fi
   10401 fi
   10402 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   10403 if test -n "$PTHREAD_CC"; then
   10404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   10405 $as_echo "$PTHREAD_CC" >&6; }
   10406 else
   10407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10408 $as_echo "no" >&6; }
   10409 fi
   10410 
   10411 
   10412   test -n "$PTHREAD_CC" && break
   10413 done
   10414 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   10415  ;;
   10416 esac ;; #(
   10417   *) :
   10418      ;;
   10419 esac
   10420                 ;;
   10421             esac
   10422         fi
   10423 fi
   10424 
   10425 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   10432 if test "x$ax_pthread_ok" = "xyes"; then
   10433 
   10434 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   10435 
   10436         :
   10437 else
   10438         ax_pthread_ok=no
   10439 
   10440 fi
   10441 ac_ext=c
   10442 ac_cpp='$CPP $CPPFLAGS'
   10443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10446 
   10447 
   10448     if test "$ax_pthread_ok" = yes; then
   10449         have_threads=yes
   10450         DEF_THREAD="$PTHREAD_CFLAGS"
   10451         CFLAGS="$CFLAGS $DEF_THREAD"
   10452         CXXFLAGS="$CXXFLAGS $DEF_THREAD"
   10453         THREAD_LIBS="$PTHREAD_LIBS"
   10454         if test "$CC" != "$PTHREAD_CC"; then
   10455             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Replacing compiler $CC with compiler $PTHREAD_CC to support pthreads." >&5
   10456 $as_echo "$as_me: WARNING: Replacing compiler $CC with compiler $PTHREAD_CC to support pthreads." >&2;}
   10457             CC="$PTHREAD_CC"
   10458         fi
   10459 
   10460 $as_echo "#define THREAD_SUPPORT 1" >>confdefs.h
   10461 
   10462     fi
   10463 fi
   10464 LIBS="$LIBS $THREAD_LIBS"
   10465 
   10466 
   10467 # Enable support for OpenMP
   10468 if test "$have_threads" != 'yes'; then
   10469   ac_cv_prog_c_openmp=unsupported
   10470 fi
   10471 
   10472   OPENMP_CFLAGS=
   10473   # Check whether --enable-openmp was given.
   10474 if test "${enable_openmp+set}" = set; then :
   10475   enableval=$enable_openmp;
   10476 fi
   10477 
   10478   if test "$enable_openmp" != no; then
   10479     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to support OpenMP" >&5
   10480 $as_echo_n "checking for $CC option to support OpenMP... " >&6; }
   10481 if ${ac_cv_prog_c_openmp+:} false; then :
   10482   $as_echo_n "(cached) " >&6
   10483 else
   10484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 
   10487 #ifndef _OPENMP
   10488  choke me
   10489 #endif
   10490 #include <omp.h>
   10491 int main () { return omp_get_num_threads (); }
   10492 
   10493 _ACEOF
   10494 if ac_fn_c_try_link "$LINENO"; then :
   10495   ac_cv_prog_c_openmp='none needed'
   10496 else
   10497   ac_cv_prog_c_openmp='unsupported'
   10498 	  	  	  	  	  	  	                                	  	  	  	  	  	  for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp \
   10499                            -Popenmp --openmp; do
   10500 	    ac_save_CFLAGS=$CFLAGS
   10501 	    CFLAGS="$CFLAGS $ac_option"
   10502 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10503 /* end confdefs.h.  */
   10504 
   10505 #ifndef _OPENMP
   10506  choke me
   10507 #endif
   10508 #include <omp.h>
   10509 int main () { return omp_get_num_threads (); }
   10510 
   10511 _ACEOF
   10512 if ac_fn_c_try_link "$LINENO"; then :
   10513   ac_cv_prog_c_openmp=$ac_option
   10514 fi
   10515 rm -f core conftest.err conftest.$ac_objext \
   10516     conftest$ac_exeext conftest.$ac_ext
   10517 	    CFLAGS=$ac_save_CFLAGS
   10518 	    if test "$ac_cv_prog_c_openmp" != unsupported; then
   10519 	      break
   10520 	    fi
   10521 	  done
   10522 fi
   10523 rm -f core conftest.err conftest.$ac_objext \
   10524     conftest$ac_exeext conftest.$ac_ext
   10525 fi
   10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_c_openmp" >&5
   10527 $as_echo "$ac_cv_prog_c_openmp" >&6; }
   10528     case $ac_cv_prog_c_openmp in #(
   10529       "none needed" | unsupported)
   10530 	;; #(
   10531       *)
   10532 	OPENMP_CFLAGS=$ac_cv_prog_c_openmp ;;
   10533     esac
   10534   fi
   10535 
   10536 
   10537 CFLAGS="$OPENMP_CFLAGS $CFLAGS"
   10538 MAGICK_PCFLAGS="$MAGICK_PCFLAGS $OPENMP_CFLAGS"
   10539 
   10540 if test "$enable_openmp" != no; then
   10541   if test "$ac_cv_prog_c_openmp" != 'unsupported'; then
   10542     MAGICK_FEATURES="OpenMP $MAGICK_FEATURES"
   10543   fi
   10544 fi
   10545 
   10546 # Enable support for OpenCL
   10547 
   10548 
   10549 
   10550 
   10551 ac_ext=c
   10552 ac_cpp='$CPP $CPPFLAGS'
   10553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10556 
   10557 ax_pthread_ok=no
   10558 
   10559 # We used to check for pthread.h first, but this fails if pthread.h
   10560 # requires special compiler flags (e.g. on Tru64 or Sequent).
   10561 # It gets checked for in the link test anyway.
   10562 
   10563 # First of all, check if the user has set any of the PTHREAD_LIBS,
   10564 # etcetera environment variables, and if threads linking works using
   10565 # them:
   10566 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   10567         ax_pthread_save_CC="$CC"
   10568         ax_pthread_save_CFLAGS="$CFLAGS"
   10569         ax_pthread_save_LIBS="$LIBS"
   10570         if test "x$PTHREAD_CC" != "x"; then :
   10571   CC="$PTHREAD_CC"
   10572 fi
   10573         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   10574         LIBS="$PTHREAD_LIBS $LIBS"
   10575         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   10576 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   10577         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10578 /* end confdefs.h.  */
   10579 
   10580 /* Override any GCC internal prototype to avoid an error.
   10581    Use char because int might match the return type of a GCC
   10582    builtin and then its argument prototype would still apply.  */
   10583 #ifdef __cplusplus
   10584 extern "C"
   10585 #endif
   10586 char pthread_join ();
   10587 int
   10588 main ()
   10589 {
   10590 return pthread_join ();
   10591   ;
   10592   return 0;
   10593 }
   10594 _ACEOF
   10595 if ac_fn_c_try_link "$LINENO"; then :
   10596   ax_pthread_ok=yes
   10597 fi
   10598 rm -f core conftest.err conftest.$ac_objext \
   10599     conftest$ac_exeext conftest.$ac_ext
   10600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   10601 $as_echo "$ax_pthread_ok" >&6; }
   10602         if test "x$ax_pthread_ok" = "xno"; then
   10603                 PTHREAD_LIBS=""
   10604                 PTHREAD_CFLAGS=""
   10605         fi
   10606         CC="$ax_pthread_save_CC"
   10607         CFLAGS="$ax_pthread_save_CFLAGS"
   10608         LIBS="$ax_pthread_save_LIBS"
   10609 fi
   10610 
   10611 # We must check for the threads library under a number of different
   10612 # names; the ordering is very important because some systems
   10613 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   10614 # libraries is broken (non-POSIX).
   10615 
   10616 # Create a list of thread flags to try.  Items starting with a "-" are
   10617 # C compiler flags, and other items are library names, except for "none"
   10618 # which indicates that we try without any flags at all, and "pthread-config"
   10619 # which is a program returning the flags for the Pth emulation library.
   10620 
   10621 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   10622 
   10623 # The ordering *is* (sometimes) important.  Some notes on the
   10624 # individual items follow:
   10625 
   10626 # pthreads: AIX (must check this before -lpthread)
   10627 # none: in case threads are in libc; should be tried before -Kthread and
   10628 #       other compiler flags to prevent continual compiler warnings
   10629 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   10630 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   10631 #           (Note: HP C rejects this with "bad form for `-t' option")
   10632 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   10633 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   10634 #      doesn't hurt to check since this sometimes defines pthreads and
   10635 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   10636 #      is present but should not be used directly; and before -mthreads,
   10637 #      because the compiler interprets this as "-mt" + "-hreads")
   10638 # -mthreads: Mingw32/gcc, Lynx/gcc
   10639 # pthread: Linux, etcetera
   10640 # --thread-safe: KAI C++
   10641 # pthread-config: use pthread-config program (for GNU Pth library)
   10642 
   10643 case $host_os in
   10644 
   10645         freebsd*)
   10646 
   10647         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   10648         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   10649 
   10650         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   10651         ;;
   10652 
   10653         hpux*)
   10654 
   10655         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   10656         # multi-threading and also sets -lpthread."
   10657 
   10658         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   10659         ;;
   10660 
   10661         openedition*)
   10662 
   10663         # IBM z/OS requires a feature-test macro to be defined in order to
   10664         # enable POSIX threads at all, so give the user a hint if this is
   10665         # not set. (We don't define these ourselves, as they can affect
   10666         # other portions of the system API in unpredictable ways.)
   10667 
   10668         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10669 /* end confdefs.h.  */
   10670 
   10671 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   10672              AX_PTHREAD_ZOS_MISSING
   10673 #            endif
   10674 
   10675 _ACEOF
   10676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10677   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   10678   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   10679 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   10680 fi
   10681 rm -f conftest*
   10682 
   10683         ;;
   10684 
   10685         solaris*)
   10686 
   10687         # On Solaris (at least, for some versions), libc contains stubbed
   10688         # (non-functional) versions of the pthreads routines, so link-based
   10689         # tests will erroneously succeed. (N.B.: The stubs are missing
   10690         # pthread_cleanup_push, or rather a function called by this macro,
   10691         # so we could check for that, but who knows whether they'll stub
   10692         # that too in a future libc.)  So we'll check first for the
   10693         # standard Solaris way of linking pthreads (-mt -lpthread).
   10694 
   10695         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   10696         ;;
   10697 esac
   10698 
   10699 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   10700 
   10701 if test "x$GCC" = "xyes"; then :
   10702   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   10703 fi
   10704 
   10705 # The presence of a feature test macro requesting re-entrant function
   10706 # definitions is, on some systems, a strong hint that pthreads support is
   10707 # correctly enabled
   10708 
   10709 case $host_os in
   10710         darwin* | hpux* | linux* | osf* | solaris*)
   10711         ax_pthread_check_macro="_REENTRANT"
   10712         ;;
   10713 
   10714         aix*)
   10715         ax_pthread_check_macro="_THREAD_SAFE"
   10716         ;;
   10717 
   10718         *)
   10719         ax_pthread_check_macro="--"
   10720         ;;
   10721 esac
   10722 if test "x$ax_pthread_check_macro" = "x--"; then :
   10723   ax_pthread_check_cond=0
   10724 else
   10725   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   10726 fi
   10727 
   10728 # Are we compiling with Clang?
   10729 
   10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   10731 $as_echo_n "checking whether $CC is Clang... " >&6; }
   10732 if ${ax_cv_PTHREAD_CLANG+:} false; then :
   10733   $as_echo_n "(cached) " >&6
   10734 else
   10735   ax_cv_PTHREAD_CLANG=no
   10736      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   10737      if test "x$GCC" = "xyes"; then
   10738         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10739 /* end confdefs.h.  */
   10740 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   10741 #            if defined(__clang__) && defined(__llvm__)
   10742              AX_PTHREAD_CC_IS_CLANG
   10743 #            endif
   10744 
   10745 _ACEOF
   10746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   10747   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   10748   ax_cv_PTHREAD_CLANG=yes
   10749 fi
   10750 rm -f conftest*
   10751 
   10752      fi
   10753 
   10754 fi
   10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   10756 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   10757 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   10758 
   10759 ax_pthread_clang_warning=no
   10760 
   10761 # Clang needs special handling, because older versions handle the -pthread
   10762 # option in a rather... idiosyncratic way
   10763 
   10764 if test "x$ax_pthread_clang" = "xyes"; then
   10765 
   10766         # Clang takes -pthread; it has never supported any other flag
   10767 
   10768         # (Note 1: This will need to be revisited if a system that Clang
   10769         # supports has POSIX threads in a separate library.  This tends not
   10770         # to be the way of modern systems, but it's conceivable.)
   10771 
   10772         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   10773         # to get POSIX threads support; the API is always present and
   10774         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   10775         # -pthread does define _REENTRANT, and while the Darwin headers
   10776         # ignore this macro, third-party headers might not.)
   10777 
   10778         PTHREAD_CFLAGS="-pthread"
   10779         PTHREAD_LIBS=
   10780 
   10781         ax_pthread_ok=yes
   10782 
   10783         # However, older versions of Clang make a point of warning the user
   10784         # that, in an invocation where only linking and no compilation is
   10785         # taking place, the -pthread option has no effect ("argument unused
   10786         # during compilation").  They expect -pthread to be passed in only
   10787         # when source code is being compiled.
   10788         #
   10789         # Problem is, this is at odds with the way Automake and most other
   10790         # C build frameworks function, which is that the same flags used in
   10791         # compilation (CFLAGS) are also used in linking.  Many systems
   10792         # supported by AX_PTHREAD require exactly this for POSIX threads
   10793         # support, and in fact it is often not straightforward to specify a
   10794         # flag that is used only in the compilation phase and not in
   10795         # linking.  Such a scenario is extremely rare in practice.
   10796         #
   10797         # Even though use of the -pthread flag in linking would only print
   10798         # a warning, this can be a nuisance for well-run software projects
   10799         # that build with -Werror.  So if the active version of Clang has
   10800         # this misfeature, we search for an option to squash it.
   10801 
   10802         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   10803 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   10804 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   10805   $as_echo_n "(cached) " >&6
   10806 else
   10807   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   10808              # Create an alternate version of $ac_link that compiles and
   10809              # links in two steps (.c -> .o, .o -> exe) instead of one
   10810              # (.c -> exe), because the warning occurs only in the second
   10811              # step
   10812              ax_pthread_save_ac_link="$ac_link"
   10813              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   10814              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   10815              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   10816              ax_pthread_save_CFLAGS="$CFLAGS"
   10817              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   10818                 if test "x$ax_pthread_try" = "xunknown"; then :
   10819   break
   10820 fi
   10821                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   10822                 ac_link="$ax_pthread_save_ac_link"
   10823                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10824 /* end confdefs.h.  */
   10825 int main(void){return 0;}
   10826 _ACEOF
   10827 if ac_fn_c_try_link "$LINENO"; then :
   10828   ac_link="$ax_pthread_2step_ac_link"
   10829                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10830 /* end confdefs.h.  */
   10831 int main(void){return 0;}
   10832 _ACEOF
   10833 if ac_fn_c_try_link "$LINENO"; then :
   10834   break
   10835 fi
   10836 rm -f core conftest.err conftest.$ac_objext \
   10837     conftest$ac_exeext conftest.$ac_ext
   10838 
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext \
   10841     conftest$ac_exeext conftest.$ac_ext
   10842              done
   10843              ac_link="$ax_pthread_save_ac_link"
   10844              CFLAGS="$ax_pthread_save_CFLAGS"
   10845              if test "x$ax_pthread_try" = "x"; then :
   10846   ax_pthread_try=no
   10847 fi
   10848              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   10849 
   10850 fi
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   10852 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   10853 
   10854         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   10855                 no | unknown) ;;
   10856                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   10857         esac
   10858 
   10859 fi # $ax_pthread_clang = yes
   10860 
   10861 if test "x$ax_pthread_ok" = "xno"; then
   10862 for ax_pthread_try_flag in $ax_pthread_flags; do
   10863 
   10864         case $ax_pthread_try_flag in
   10865                 none)
   10866                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   10867 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   10868                 ;;
   10869 
   10870                 -mt,pthread)
   10871                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   10872 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   10873                 PTHREAD_CFLAGS="-mt"
   10874                 PTHREAD_LIBS="-lpthread"
   10875                 ;;
   10876 
   10877                 -*)
   10878                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   10879 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   10880                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   10881                 ;;
   10882 
   10883                 pthread-config)
   10884                 # Extract the first word of "pthread-config", so it can be a program name with args.
   10885 set dummy pthread-config; ac_word=$2
   10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10887 $as_echo_n "checking for $ac_word... " >&6; }
   10888 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   10889   $as_echo_n "(cached) " >&6
   10890 else
   10891   if test -n "$ax_pthread_config"; then
   10892   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   10893 else
   10894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10895 for as_dir in $PATH
   10896 do
   10897   IFS=$as_save_IFS
   10898   test -z "$as_dir" && as_dir=.
   10899     for ac_exec_ext in '' $ac_executable_extensions; do
   10900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10901     ac_cv_prog_ax_pthread_config="yes"
   10902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10903     break 2
   10904   fi
   10905 done
   10906   done
   10907 IFS=$as_save_IFS
   10908 
   10909   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   10910 fi
   10911 fi
   10912 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   10913 if test -n "$ax_pthread_config"; then
   10914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   10915 $as_echo "$ax_pthread_config" >&6; }
   10916 else
   10917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10918 $as_echo "no" >&6; }
   10919 fi
   10920 
   10921 
   10922                 if test "x$ax_pthread_config" = "xno"; then :
   10923   continue
   10924 fi
   10925                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   10926                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   10927                 ;;
   10928 
   10929                 *)
   10930                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   10931 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   10932                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   10933                 ;;
   10934         esac
   10935 
   10936         ax_pthread_save_CFLAGS="$CFLAGS"
   10937         ax_pthread_save_LIBS="$LIBS"
   10938         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   10939         LIBS="$PTHREAD_LIBS $LIBS"
   10940 
   10941         # Check for various functions.  We must include pthread.h,
   10942         # since some functions may be macros.  (On the Sequent, we
   10943         # need a special flag -Kthread to make this header compile.)
   10944         # We check for pthread_join because it is in -lpthread on IRIX
   10945         # while pthread_create is in libc.  We check for pthread_attr_init
   10946         # due to DEC craziness with -lpthreads.  We check for
   10947         # pthread_cleanup_push because it is one of the few pthread
   10948         # functions on Solaris that doesn't have a non-functional libc stub.
   10949         # We try pthread_create on general principles.
   10950 
   10951         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10952 /* end confdefs.h.  */
   10953 #include <pthread.h>
   10954 #                       if $ax_pthread_check_cond
   10955 #                        error "$ax_pthread_check_macro must be defined"
   10956 #                       endif
   10957                         static void routine(void *a) { a = 0; }
   10958                         static void *start_routine(void *a) { return a; }
   10959 int
   10960 main ()
   10961 {
   10962 pthread_t th; pthread_attr_t attr;
   10963                         pthread_create(&th, 0, start_routine, 0);
   10964                         pthread_join(th, 0);
   10965                         pthread_attr_init(&attr);
   10966                         pthread_cleanup_push(routine, 0);
   10967                         pthread_cleanup_pop(0) /* ; */
   10968   ;
   10969   return 0;
   10970 }
   10971 _ACEOF
   10972 if ac_fn_c_try_link "$LINENO"; then :
   10973   ax_pthread_ok=yes
   10974 fi
   10975 rm -f core conftest.err conftest.$ac_objext \
   10976     conftest$ac_exeext conftest.$ac_ext
   10977 
   10978         CFLAGS="$ax_pthread_save_CFLAGS"
   10979         LIBS="$ax_pthread_save_LIBS"
   10980 
   10981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   10982 $as_echo "$ax_pthread_ok" >&6; }
   10983         if test "x$ax_pthread_ok" = "xyes"; then :
   10984   break
   10985 fi
   10986 
   10987         PTHREAD_LIBS=""
   10988         PTHREAD_CFLAGS=""
   10989 done
   10990 fi
   10991 
   10992 # Various other checks:
   10993 if test "x$ax_pthread_ok" = "xyes"; then
   10994         ax_pthread_save_CFLAGS="$CFLAGS"
   10995         ax_pthread_save_LIBS="$LIBS"
   10996         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   10997         LIBS="$PTHREAD_LIBS $LIBS"
   10998 
   10999         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   11000         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   11001 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   11002 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   11003   $as_echo_n "(cached) " >&6
   11004 else
   11005   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   11006              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   11007                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11008 /* end confdefs.h.  */
   11009 #include <pthread.h>
   11010 int
   11011 main ()
   11012 {
   11013 int attr = $ax_pthread_attr; return attr /* ; */
   11014   ;
   11015   return 0;
   11016 }
   11017 _ACEOF
   11018 if ac_fn_c_try_link "$LINENO"; then :
   11019   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   11020 fi
   11021 rm -f core conftest.err conftest.$ac_objext \
   11022     conftest$ac_exeext conftest.$ac_ext
   11023              done
   11024 
   11025 fi
   11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   11027 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   11028         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   11029                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   11030                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   11031 
   11032 cat >>confdefs.h <<_ACEOF
   11033 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   11034 _ACEOF
   11035 
   11036                ax_pthread_joinable_attr_defined=yes
   11037 
   11038 fi
   11039 
   11040         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   11041 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   11042 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   11043   $as_echo_n "(cached) " >&6
   11044 else
   11045   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   11046              case $host_os in
   11047              solaris*)
   11048              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   11049              ;;
   11050              esac
   11051 
   11052 fi
   11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   11054 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   11055         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   11056                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   11057   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   11058                ax_pthread_special_flags_added=yes
   11059 fi
   11060 
   11061         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   11062 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   11063 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   11064   $as_echo_n "(cached) " >&6
   11065 else
   11066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11067 /* end confdefs.h.  */
   11068 #include <pthread.h>
   11069 int
   11070 main ()
   11071 {
   11072 int i = PTHREAD_PRIO_INHERIT;
   11073   ;
   11074   return 0;
   11075 }
   11076 _ACEOF
   11077 if ac_fn_c_try_link "$LINENO"; then :
   11078   ax_cv_PTHREAD_PRIO_INHERIT=yes
   11079 else
   11080   ax_cv_PTHREAD_PRIO_INHERIT=no
   11081 fi
   11082 rm -f core conftest.err conftest.$ac_objext \
   11083     conftest$ac_exeext conftest.$ac_ext
   11084 
   11085 fi
   11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   11087 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   11088         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   11089                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   11090 
   11091 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   11092 
   11093                ax_pthread_prio_inherit_defined=yes
   11094 
   11095 fi
   11096 
   11097         CFLAGS="$ax_pthread_save_CFLAGS"
   11098         LIBS="$ax_pthread_save_LIBS"
   11099 
   11100         # More AIX lossage: compile with *_r variant
   11101         if test "x$GCC" != "xyes"; then
   11102             case $host_os in
   11103                 aix*)
   11104                 case "x/$CC" in #(
   11105   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   11106     #handle absolute path differently from PATH based program lookup
   11107                      case "x$CC" in #(
   11108   x/*) :
   11109     if as_fn_executable_p ${CC}_r; then :
   11110   PTHREAD_CC="${CC}_r"
   11111 fi ;; #(
   11112   *) :
   11113     for ac_prog in ${CC}_r
   11114 do
   11115   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11116 set dummy $ac_prog; ac_word=$2
   11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11118 $as_echo_n "checking for $ac_word... " >&6; }
   11119 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   11120   $as_echo_n "(cached) " >&6
   11121 else
   11122   if test -n "$PTHREAD_CC"; then
   11123   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   11124 else
   11125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11126 for as_dir in $PATH
   11127 do
   11128   IFS=$as_save_IFS
   11129   test -z "$as_dir" && as_dir=.
   11130     for ac_exec_ext in '' $ac_executable_extensions; do
   11131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11132     ac_cv_prog_PTHREAD_CC="$ac_prog"
   11133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11134     break 2
   11135   fi
   11136 done
   11137   done
   11138 IFS=$as_save_IFS
   11139 
   11140 fi
   11141 fi
   11142 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   11143 if test -n "$PTHREAD_CC"; then
   11144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   11145 $as_echo "$PTHREAD_CC" >&6; }
   11146 else
   11147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11148 $as_echo "no" >&6; }
   11149 fi
   11150 
   11151 
   11152   test -n "$PTHREAD_CC" && break
   11153 done
   11154 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   11155  ;;
   11156 esac ;; #(
   11157   *) :
   11158      ;;
   11159 esac
   11160                 ;;
   11161             esac
   11162         fi
   11163 fi
   11164 
   11165 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   11172 if test "x$ax_pthread_ok" = "xyes"; then
   11173 
   11174 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   11175 
   11176         :
   11177 else
   11178         ax_pthread_ok=no
   11179 
   11180 fi
   11181 ac_ext=c
   11182 ac_cpp='$CPP $CPPFLAGS'
   11183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11186 
   11187 
   11188 
   11189 # Check whether --enable-opencl was given.
   11190 if test "${enable_opencl+set}" = set; then :
   11191   enableval=$enable_opencl; disable_opencl=$enableval
   11192 else
   11193   disable_opencl='yes'
   11194 fi
   11195 
   11196 
   11197 if test "$disable_opencl" = 'yes'; then
   11198   ac_ext=c
   11199 ac_cpp='$CPP $CPPFLAGS'
   11200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11203 
   11204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Microsoft C compiler" >&5
   11205 $as_echo_n "checking whether we are using the Microsoft C compiler... " >&6; }
   11206 if ${ax_cv_c_compiler_ms+:} false; then :
   11207   $as_echo_n "(cached) " >&6
   11208 else
   11209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11210 /* end confdefs.h.  */
   11211 
   11212 int
   11213 main ()
   11214 {
   11215 #ifndef _MSC_VER
   11216        choke me
   11217 #endif
   11218 
   11219   ;
   11220   return 0;
   11221 }
   11222 _ACEOF
   11223 if ac_fn_c_try_compile "$LINENO"; then :
   11224   ax_compiler_ms=yes
   11225 else
   11226   ax_compiler_ms=no
   11227 fi
   11228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11229 ax_cv_c_compiler_ms=$ax_compiler_ms
   11230 
   11231 fi
   11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_compiler_ms" >&5
   11233 $as_echo "$ax_cv_c_compiler_ms" >&6; }
   11234   if test X$ax_compiler_ms = Xno; then :
   11235   CL_CFLAGS="${PTHREAD_CFLAGS}"; CL_LIBS="${PTHREAD_LIBS} -lm"
   11236 fi
   11237 
   11238   ax_save_CPPFLAGS=$CPPFLAGS
   11239   CPPFLAGS="$CL_CFLAGS $CPPFLAGS"
   11240   for ac_header in CL/cl.h OpenCL/cl.h
   11241 do :
   11242   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11243 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   11244 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   11245   cat >>confdefs.h <<_ACEOF
   11246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11247 _ACEOF
   11248 
   11249 fi
   11250 
   11251 done
   11252 
   11253   CPPFLAGS=$ax_save_CPPFLAGS
   11254 
   11255   for ac_header in windows.h
   11256 do :
   11257   ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
   11258 if test "x$ac_cv_header_windows_h" = xyes; then :
   11259   cat >>confdefs.h <<_ACEOF
   11260 #define HAVE_WINDOWS_H 1
   11261 _ACEOF
   11262 
   11263 fi
   11264 
   11265 done
   11266 
   11267 
   11268 
   11269 
   11270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenCL library" >&5
   11271 $as_echo_n "checking for OpenCL library... " >&6; }
   11272 if ${ax_cv_check_cl_libcl+:} false; then :
   11273   $as_echo_n "(cached) " >&6
   11274 else
   11275   ax_cv_check_cl_libcl=no
   11276   case $host_cpu in
   11277     x86_64) ax_check_cl_libdir=lib64 ;;
   11278     *)      ax_check_cl_libdir=lib ;;
   11279   esac
   11280   ax_save_CPPFLAGS=$CPPFLAGS
   11281   CPPFLAGS="$CL_CFLAGS $CPPFLAGS"
   11282   ax_save_LIBS=$LIBS
   11283   LIBS=""
   11284   ax_check_libs="-lOpenCL -lCL -lclparser"
   11285   for ax_lib in $ax_check_libs; do
   11286     if test X$ax_compiler_ms = Xyes; then :
   11287   ax_try_lib=`echo $ax_lib | $SED -e 's/^-l//' -e 's/$/.lib/'`
   11288 else
   11289   ax_try_lib=$ax_lib
   11290 fi
   11291     LIBS="$ax_try_lib $CL_LIBS $ax_save_LIBS"
   11292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11293 /* end confdefs.h.  */
   11294 
   11295   # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
   11296   #   include <windows.h>
   11297   # endif
   11298   # ifdef HAVE_CL_CL_H
   11299   #   include <CL/cl.h>
   11300   # elif defined(HAVE_OPENCL_CL_H)
   11301   #   include <OpenCL/cl.h>
   11302   # else
   11303   #   error no CL.h
   11304   # endif
   11305 int
   11306 main ()
   11307 {
   11308 clCreateContextFromType(0,0,0,0,0)
   11309   ;
   11310   return 0;
   11311 }
   11312 _ACEOF
   11313 if ac_fn_c_try_link "$LINENO"; then :
   11314   ax_cv_check_cl_libcl=$ax_try_lib; break
   11315 else
   11316   ax_check_cl_nvidia_flags="-L/usr/$ax_check_cl_libdir/nvidia" LIBS="$ax_try_lib $ax_check_cl_nvidia_flags $CL_LIBS $ax_save_LIBS"
   11317                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11318 /* end confdefs.h.  */
   11319 
   11320   # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
   11321   #   include <windows.h>
   11322   # endif
   11323   # ifdef HAVE_CL_CL_H
   11324   #   include <CL/cl.h>
   11325   # elif defined(HAVE_OPENCL_CL_H)
   11326   #   include <OpenCL/cl.h>
   11327   # else
   11328   #   error no CL.h
   11329   # endif
   11330 int
   11331 main ()
   11332 {
   11333 clCreateContextFromType(0,0,0,0,0)
   11334   ;
   11335   return 0;
   11336 }
   11337 _ACEOF
   11338 if ac_fn_c_try_link "$LINENO"; then :
   11339   ax_cv_check_cl_libcl="$ax_try_lib $ax_check_cl_nvidia_flags"; break
   11340 else
   11341   ax_check_cl_dylib_flag='-framework OpenCL -L/System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries' LIBS="$ax_try_lib $ax_check_cl_dylib_flag $CL_LIBS $ax_save_LIBS"
   11342                                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11343 /* end confdefs.h.  */
   11344 
   11345   # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
   11346   #   include <windows.h>
   11347   # endif
   11348   # ifdef HAVE_CL_CL_H
   11349   #   include <CL/cl.h>
   11350   # elif defined(HAVE_OPENCL_CL_H)
   11351   #   include <OpenCL/cl.h>
   11352   # else
   11353   #   error no CL.h
   11354   # endif
   11355 int
   11356 main ()
   11357 {
   11358 clCreateContextFromType(0,0,0,0,0)
   11359   ;
   11360   return 0;
   11361 }
   11362 _ACEOF
   11363 if ac_fn_c_try_link "$LINENO"; then :
   11364   ax_cv_check_cl_libcl="$ax_try_lib $ax_check_cl_dylib_flag"; break
   11365 fi
   11366 rm -f core conftest.err conftest.$ac_objext \
   11367     conftest$ac_exeext conftest.$ac_ext
   11368 fi
   11369 rm -f core conftest.err conftest.$ac_objext \
   11370     conftest$ac_exeext conftest.$ac_ext
   11371 fi
   11372 rm -f core conftest.err conftest.$ac_objext \
   11373     conftest$ac_exeext conftest.$ac_ext
   11374   done
   11375 
   11376   if test "X$ax_cv_check_cl_libcl" = Xno -a X$no_x = Xyes; then :
   11377   LIBS='-framework OpenCL'
   11378         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11379 /* end confdefs.h.  */
   11380 
   11381   # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
   11382   #   include <windows.h>
   11383   # endif
   11384   # ifdef HAVE_CL_CL_H
   11385   #   include <CL/cl.h>
   11386   # elif defined(HAVE_OPENCL_CL_H)
   11387   #   include <OpenCL/cl.h>
   11388   # else
   11389   #   error no CL.h
   11390   # endif
   11391 int
   11392 main ()
   11393 {
   11394 clCreateContextFromType(0,0,0,0,0)
   11395   ;
   11396   return 0;
   11397 }
   11398 _ACEOF
   11399 if ac_fn_c_try_link "$LINENO"; then :
   11400   ax_cv_check_cl_libcl=$LIBS
   11401 fi
   11402 rm -f core conftest.err conftest.$ac_objext \
   11403     conftest$ac_exeext conftest.$ac_ext
   11404 fi
   11405 
   11406   LIBS=$ax_save_LIBS
   11407   CPPFLAGS=$ax_save_CPPFLAGS
   11408 fi
   11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cl_libcl" >&5
   11410 $as_echo "$ax_cv_check_cl_libcl" >&6; }
   11411 
   11412   if test "X$ax_cv_check_cl_libcl" = Xno; then :
   11413   no_cl=yes; CL_CFLAGS=""; CL_LIBS=""
   11414 else
   11415   CL_LIBS="$ax_cv_check_cl_libcl $CL_LIBS";
   11416 $as_echo "#define _OPENCL 1" >>confdefs.h
   11417 
   11418 fi
   11419   ac_ext=c
   11420 ac_cpp='$CPP $CPPFLAGS'
   11421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11424 
   11425 fi
   11426 
   11427 
   11428 
   11429 
   11430 CFLAGS="$CL_CFLAGS $CFLAGS"
   11431 CPPFLAGS="$CL_CFLAGS $CPPFLAGS"
   11432 LIBS="$CL_LIBS $LIBS"
   11433 
   11434 if test "$enable_opencl" != no; then
   11435   if test "X$ax_cv_check_cl_libcl" != Xno; then :
   11436     MAGICK_FEATURES="OpenCL $MAGICK_FEATURES"
   11437   fi
   11438 fi
   11439 
   11440 ########
   11441 #
   11442 # Check for large file support
   11443 #
   11444 ########
   11445 # Check whether --enable-largefile was given.
   11446 if test "${enable_largefile+set}" = set; then :
   11447   enableval=$enable_largefile;
   11448 fi
   11449 
   11450 if test "$enable_largefile" != no; then
   11451 
   11452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11453 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11454 if ${ac_cv_sys_largefile_CC+:} false; then :
   11455   $as_echo_n "(cached) " >&6
   11456 else
   11457   ac_cv_sys_largefile_CC=no
   11458      if test "$GCC" != yes; then
   11459        ac_save_CC=$CC
   11460        while :; do
   11461 	 # IRIX 6.2 and later do not support large files by default,
   11462 	 # so use the C compiler's -n32 option if that helps.
   11463 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11464 /* end confdefs.h.  */
   11465 #include <sys/types.h>
   11466  /* Check that off_t can represent 2**63 - 1 correctly.
   11467     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11468     since some C++ compilers masquerading as C compilers
   11469     incorrectly reject 9223372036854775807.  */
   11470 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11471   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11472 		       && LARGE_OFF_T % 2147483647 == 1)
   11473 		      ? 1 : -1];
   11474 int
   11475 main ()
   11476 {
   11477 
   11478   ;
   11479   return 0;
   11480 }
   11481 _ACEOF
   11482 	 if ac_fn_c_try_compile "$LINENO"; then :
   11483   break
   11484 fi
   11485 rm -f core conftest.err conftest.$ac_objext
   11486 	 CC="$CC -n32"
   11487 	 if ac_fn_c_try_compile "$LINENO"; then :
   11488   ac_cv_sys_largefile_CC=' -n32'; break
   11489 fi
   11490 rm -f core conftest.err conftest.$ac_objext
   11491 	 break
   11492        done
   11493        CC=$ac_save_CC
   11494        rm -f conftest.$ac_ext
   11495     fi
   11496 fi
   11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11498 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11499   if test "$ac_cv_sys_largefile_CC" != no; then
   11500     CC=$CC$ac_cv_sys_largefile_CC
   11501   fi
   11502 
   11503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11504 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11505 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11506   $as_echo_n "(cached) " >&6
   11507 else
   11508   while :; do
   11509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11510 /* end confdefs.h.  */
   11511 #include <sys/types.h>
   11512  /* Check that off_t can represent 2**63 - 1 correctly.
   11513     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11514     since some C++ compilers masquerading as C compilers
   11515     incorrectly reject 9223372036854775807.  */
   11516 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11517   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11518 		       && LARGE_OFF_T % 2147483647 == 1)
   11519 		      ? 1 : -1];
   11520 int
   11521 main ()
   11522 {
   11523 
   11524   ;
   11525   return 0;
   11526 }
   11527 _ACEOF
   11528 if ac_fn_c_try_compile "$LINENO"; then :
   11529   ac_cv_sys_file_offset_bits=no; break
   11530 fi
   11531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11533 /* end confdefs.h.  */
   11534 #define _FILE_OFFSET_BITS 64
   11535 #include <sys/types.h>
   11536  /* Check that off_t can represent 2**63 - 1 correctly.
   11537     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11538     since some C++ compilers masquerading as C compilers
   11539     incorrectly reject 9223372036854775807.  */
   11540 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11541   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11542 		       && LARGE_OFF_T % 2147483647 == 1)
   11543 		      ? 1 : -1];
   11544 int
   11545 main ()
   11546 {
   11547 
   11548   ;
   11549   return 0;
   11550 }
   11551 _ACEOF
   11552 if ac_fn_c_try_compile "$LINENO"; then :
   11553   ac_cv_sys_file_offset_bits=64; break
   11554 fi
   11555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11556   ac_cv_sys_file_offset_bits=unknown
   11557   break
   11558 done
   11559 fi
   11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11561 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11562 case $ac_cv_sys_file_offset_bits in #(
   11563   no | unknown) ;;
   11564   *)
   11565 cat >>confdefs.h <<_ACEOF
   11566 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11567 _ACEOF
   11568 ;;
   11569 esac
   11570 rm -rf conftest*
   11571   if test $ac_cv_sys_file_offset_bits = unknown; then
   11572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11573 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11574 if ${ac_cv_sys_large_files+:} false; then :
   11575   $as_echo_n "(cached) " >&6
   11576 else
   11577   while :; do
   11578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11579 /* end confdefs.h.  */
   11580 #include <sys/types.h>
   11581  /* Check that off_t can represent 2**63 - 1 correctly.
   11582     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11583     since some C++ compilers masquerading as C compilers
   11584     incorrectly reject 9223372036854775807.  */
   11585 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11586   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11587 		       && LARGE_OFF_T % 2147483647 == 1)
   11588 		      ? 1 : -1];
   11589 int
   11590 main ()
   11591 {
   11592 
   11593   ;
   11594   return 0;
   11595 }
   11596 _ACEOF
   11597 if ac_fn_c_try_compile "$LINENO"; then :
   11598   ac_cv_sys_large_files=no; break
   11599 fi
   11600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11602 /* end confdefs.h.  */
   11603 #define _LARGE_FILES 1
   11604 #include <sys/types.h>
   11605  /* Check that off_t can represent 2**63 - 1 correctly.
   11606     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11607     since some C++ compilers masquerading as C compilers
   11608     incorrectly reject 9223372036854775807.  */
   11609 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11610   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11611 		       && LARGE_OFF_T % 2147483647 == 1)
   11612 		      ? 1 : -1];
   11613 int
   11614 main ()
   11615 {
   11616 
   11617   ;
   11618   return 0;
   11619 }
   11620 _ACEOF
   11621 if ac_fn_c_try_compile "$LINENO"; then :
   11622   ac_cv_sys_large_files=1; break
   11623 fi
   11624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11625   ac_cv_sys_large_files=unknown
   11626   break
   11627 done
   11628 fi
   11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11630 $as_echo "$ac_cv_sys_large_files" >&6; }
   11631 case $ac_cv_sys_large_files in #(
   11632   no | unknown) ;;
   11633   *)
   11634 cat >>confdefs.h <<_ACEOF
   11635 #define _LARGE_FILES $ac_cv_sys_large_files
   11636 _ACEOF
   11637 ;;
   11638 esac
   11639 rm -rf conftest*
   11640   fi
   11641 
   11642 
   11643 fi
   11644 
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
   11646 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
   11647 if ${ac_cv_sys_largefile_source+:} false; then :
   11648   $as_echo_n "(cached) " >&6
   11649 else
   11650   while :; do
   11651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11652 /* end confdefs.h.  */
   11653 #include <sys/types.h> /* for off_t */
   11654      #include <stdio.h>
   11655 int
   11656 main ()
   11657 {
   11658 int (*fp) (FILE *, off_t, int) = fseeko;
   11659      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   11660   ;
   11661   return 0;
   11662 }
   11663 _ACEOF
   11664 if ac_fn_c_try_link "$LINENO"; then :
   11665   ac_cv_sys_largefile_source=no; break
   11666 fi
   11667 rm -f core conftest.err conftest.$ac_objext \
   11668     conftest$ac_exeext conftest.$ac_ext
   11669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11670 /* end confdefs.h.  */
   11671 #define _LARGEFILE_SOURCE 1
   11672 #include <sys/types.h> /* for off_t */
   11673      #include <stdio.h>
   11674 int
   11675 main ()
   11676 {
   11677 int (*fp) (FILE *, off_t, int) = fseeko;
   11678      return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   11679   ;
   11680   return 0;
   11681 }
   11682 _ACEOF
   11683 if ac_fn_c_try_link "$LINENO"; then :
   11684   ac_cv_sys_largefile_source=1; break
   11685 fi
   11686 rm -f core conftest.err conftest.$ac_objext \
   11687     conftest$ac_exeext conftest.$ac_ext
   11688   ac_cv_sys_largefile_source=unknown
   11689   break
   11690 done
   11691 fi
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
   11693 $as_echo "$ac_cv_sys_largefile_source" >&6; }
   11694 case $ac_cv_sys_largefile_source in #(
   11695   no | unknown) ;;
   11696   *)
   11697 cat >>confdefs.h <<_ACEOF
   11698 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
   11699 _ACEOF
   11700 ;;
   11701 esac
   11702 rm -rf conftest*
   11703 
   11704 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
   11705 # in glibc 2.1.3, but that breaks too many other things.
   11706 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
   11707 if test $ac_cv_sys_largefile_source != unknown; then
   11708 
   11709 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
   11710 
   11711 fi
   11712 
   11713 LFS_CPPFLAGS=''
   11714 if test "$enable_largefile" != no; then
   11715     case $ac_cv_sys_file_offset_bits in
   11716     no)
   11717         # nothing to do here as the host supports LFS fine
   11718         ;;
   11719     unknown)
   11720         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native large file support" >&5
   11721 $as_echo_n "checking for native large file support... " >&6; }
   11722         if test "$cross_compiling" = yes; then :
   11723   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11725 as_fn_error $? "cannot run test program while cross compiling
   11726 See \`config.log' for more details" "$LINENO" 5; }
   11727 else
   11728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11729 /* end confdefs.h.  */
   11730 #include <unistd.h>
   11731           main () {
   11732           exit(!(sizeof(off_t) == 8));
   11733         }
   11734 int
   11735 main ()
   11736 {
   11737 
   11738   ;
   11739   return 0;
   11740 }
   11741 _ACEOF
   11742 if ac_fn_c_try_run "$LINENO"; then :
   11743   ac_cv_sys_file_offset_bits=64; $as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   11744 
   11745          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11746 $as_echo "yes" >&6; }
   11747 else
   11748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11749 $as_echo "no" >&6; }
   11750 fi
   11751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   11752   conftest.$ac_objext conftest.beam conftest.$ac_ext
   11753 fi
   11754 
   11755         ;;
   11756     *)
   11757         LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
   11758         ;;
   11759     esac
   11760     if test "$ac_cv_sys_large_files" != 'no'; then
   11761         LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1"
   11762     fi
   11763     if test "$ac_cv_sys_largefile_source" != 'no'; then
   11764         LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGEFILE_SOURCE=1"
   11765     fi
   11766 fi
   11767 
   11768 
   11769 # Configure libtool
   11770 enable_dlopen=yes
   11771 
   11772 
   11773 
   11774 case `pwd` in
   11775   *\ * | *\	*)
   11776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11777 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11778 esac
   11779 
   11780 
   11781 
   11782 macro_version='2.4.6'
   11783 macro_revision='2.4.6'
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 ltmain=$ac_aux_dir/ltmain.sh
   11798 
   11799 # Backslashify metacharacters that are still active within
   11800 # double-quoted strings.
   11801 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11802 
   11803 # Same as above, but do not quote variable references.
   11804 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11805 
   11806 # Sed substitution to delay expansion of an escaped shell variable in a
   11807 # double_quote_subst'ed string.
   11808 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11809 
   11810 # Sed substitution to delay expansion of an escaped single quote.
   11811 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11812 
   11813 # Sed substitution to avoid accidental globbing in evaled expressions
   11814 no_glob_subst='s/\*/\\\*/g'
   11815 
   11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11817 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11818 if ${lt_cv_path_NM+:} false; then :
   11819   $as_echo_n "(cached) " >&6
   11820 else
   11821   if test -n "$NM"; then
   11822   # Let the user override the test.
   11823   lt_cv_path_NM=$NM
   11824 else
   11825   lt_nm_to_check=${ac_tool_prefix}nm
   11826   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11827     lt_nm_to_check="$lt_nm_to_check nm"
   11828   fi
   11829   for lt_tmp_nm in $lt_nm_to_check; do
   11830     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11831     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11832       IFS=$lt_save_ifs
   11833       test -z "$ac_dir" && ac_dir=.
   11834       tmp_nm=$ac_dir/$lt_tmp_nm
   11835       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11836 	# Check to see if the nm accepts a BSD-compat flag.
   11837 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11838 	#   nm: unknown option "B" ignored
   11839 	# Tru64's nm complains that /dev/null is an invalid object file
   11840 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11841 	case $build_os in
   11842 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11843 	*) lt_bad_file=/dev/null ;;
   11844 	esac
   11845 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11846 	*$lt_bad_file* | *'Invalid file or object type'*)
   11847 	  lt_cv_path_NM="$tmp_nm -B"
   11848 	  break 2
   11849 	  ;;
   11850 	*)
   11851 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11852 	  */dev/null*)
   11853 	    lt_cv_path_NM="$tmp_nm -p"
   11854 	    break 2
   11855 	    ;;
   11856 	  *)
   11857 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11858 	    continue # so that we can try to find one that supports BSD flags
   11859 	    ;;
   11860 	  esac
   11861 	  ;;
   11862 	esac
   11863       fi
   11864     done
   11865     IFS=$lt_save_ifs
   11866   done
   11867   : ${lt_cv_path_NM=no}
   11868 fi
   11869 fi
   11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11871 $as_echo "$lt_cv_path_NM" >&6; }
   11872 if test no != "$lt_cv_path_NM"; then
   11873   NM=$lt_cv_path_NM
   11874 else
   11875   # Didn't find any BSD compatible name lister, look for dumpbin.
   11876   if test -n "$DUMPBIN"; then :
   11877     # Let the user override the test.
   11878   else
   11879     if test -n "$ac_tool_prefix"; then
   11880   for ac_prog in dumpbin "link -dump"
   11881   do
   11882     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11885 $as_echo_n "checking for $ac_word... " >&6; }
   11886 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11887   $as_echo_n "(cached) " >&6
   11888 else
   11889   if test -n "$DUMPBIN"; then
   11890   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11891 else
   11892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11893 for as_dir in $PATH
   11894 do
   11895   IFS=$as_save_IFS
   11896   test -z "$as_dir" && as_dir=.
   11897     for ac_exec_ext in '' $ac_executable_extensions; do
   11898   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11899     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11901     break 2
   11902   fi
   11903 done
   11904   done
   11905 IFS=$as_save_IFS
   11906 
   11907 fi
   11908 fi
   11909 DUMPBIN=$ac_cv_prog_DUMPBIN
   11910 if test -n "$DUMPBIN"; then
   11911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11912 $as_echo "$DUMPBIN" >&6; }
   11913 else
   11914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11915 $as_echo "no" >&6; }
   11916 fi
   11917 
   11918 
   11919     test -n "$DUMPBIN" && break
   11920   done
   11921 fi
   11922 if test -z "$DUMPBIN"; then
   11923   ac_ct_DUMPBIN=$DUMPBIN
   11924   for ac_prog in dumpbin "link -dump"
   11925 do
   11926   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11927 set dummy $ac_prog; ac_word=$2
   11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11929 $as_echo_n "checking for $ac_word... " >&6; }
   11930 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11931   $as_echo_n "(cached) " >&6
   11932 else
   11933   if test -n "$ac_ct_DUMPBIN"; then
   11934   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11935 else
   11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11937 for as_dir in $PATH
   11938 do
   11939   IFS=$as_save_IFS
   11940   test -z "$as_dir" && as_dir=.
   11941     for ac_exec_ext in '' $ac_executable_extensions; do
   11942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11943     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11945     break 2
   11946   fi
   11947 done
   11948   done
   11949 IFS=$as_save_IFS
   11950 
   11951 fi
   11952 fi
   11953 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11954 if test -n "$ac_ct_DUMPBIN"; then
   11955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11956 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11957 else
   11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11959 $as_echo "no" >&6; }
   11960 fi
   11961 
   11962 
   11963   test -n "$ac_ct_DUMPBIN" && break
   11964 done
   11965 
   11966   if test "x$ac_ct_DUMPBIN" = x; then
   11967     DUMPBIN=":"
   11968   else
   11969     case $cross_compiling:$ac_tool_warned in
   11970 yes:)
   11971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11973 ac_tool_warned=yes ;;
   11974 esac
   11975     DUMPBIN=$ac_ct_DUMPBIN
   11976   fi
   11977 fi
   11978 
   11979     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11980     *COFF*)
   11981       DUMPBIN="$DUMPBIN -symbols -headers"
   11982       ;;
   11983     *)
   11984       DUMPBIN=:
   11985       ;;
   11986     esac
   11987   fi
   11988 
   11989   if test : != "$DUMPBIN"; then
   11990     NM=$DUMPBIN
   11991   fi
   11992 fi
   11993 test -z "$NM" && NM=nm
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12001 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   12002 if ${lt_cv_nm_interface+:} false; then :
   12003   $as_echo_n "(cached) " >&6
   12004 else
   12005   lt_cv_nm_interface="BSD nm"
   12006   echo "int some_variable = 0;" > conftest.$ac_ext
   12007   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12008   (eval "$ac_compile" 2>conftest.err)
   12009   cat conftest.err >&5
   12010   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12011   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12012   cat conftest.err >&5
   12013   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12014   cat conftest.out >&5
   12015   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12016     lt_cv_nm_interface="MS dumpbin"
   12017   fi
   12018   rm -f conftest*
   12019 fi
   12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12021 $as_echo "$lt_cv_nm_interface" >&6; }
   12022 
   12023 # find the maximum length of command line arguments
   12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12025 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   12026 if ${lt_cv_sys_max_cmd_len+:} false; then :
   12027   $as_echo_n "(cached) " >&6
   12028 else
   12029     i=0
   12030   teststring=ABCD
   12031 
   12032   case $build_os in
   12033   msdosdjgpp*)
   12034     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12035     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12036     # during glob expansion).  Even if it were fixed, the result of this
   12037     # check would be larger than it should be.
   12038     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12039     ;;
   12040 
   12041   gnu*)
   12042     # Under GNU Hurd, this test is not required because there is
   12043     # no limit to the length of command line arguments.
   12044     # Libtool will interpret -1 as no limit whatsoever
   12045     lt_cv_sys_max_cmd_len=-1;
   12046     ;;
   12047 
   12048   cygwin* | mingw* | cegcc*)
   12049     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12050     # about 5 minutes as the teststring grows exponentially.
   12051     # Worse, since 9x/ME are not pre-emptively multitasking,
   12052     # you end up with a "frozen" computer, even though with patience
   12053     # the test eventually succeeds (with a max line length of 256k).
   12054     # Instead, let's just punt: use the minimum linelength reported by
   12055     # all of the supported platforms: 8192 (on NT/2K/XP).
   12056     lt_cv_sys_max_cmd_len=8192;
   12057     ;;
   12058 
   12059   mint*)
   12060     # On MiNT this can take a long time and run out of memory.
   12061     lt_cv_sys_max_cmd_len=8192;
   12062     ;;
   12063 
   12064   amigaos*)
   12065     # On AmigaOS with pdksh, this test takes hours, literally.
   12066     # So we just punt and use a minimum line length of 8192.
   12067     lt_cv_sys_max_cmd_len=8192;
   12068     ;;
   12069 
   12070   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   12071     # This has been around since 386BSD, at least.  Likely further.
   12072     if test -x /sbin/sysctl; then
   12073       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12074     elif test -x /usr/sbin/sysctl; then
   12075       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12076     else
   12077       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12078     fi
   12079     # And add a safety zone
   12080     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12081     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12082     ;;
   12083 
   12084   interix*)
   12085     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12086     lt_cv_sys_max_cmd_len=196608
   12087     ;;
   12088 
   12089   os2*)
   12090     # The test takes a long time on OS/2.
   12091     lt_cv_sys_max_cmd_len=8192
   12092     ;;
   12093 
   12094   osf*)
   12095     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12096     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12097     # nice to cause kernel panics so lets avoid the loop below.
   12098     # First set a reasonable default.
   12099     lt_cv_sys_max_cmd_len=16384
   12100     #
   12101     if test -x /sbin/sysconfig; then
   12102       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12103         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12104       esac
   12105     fi
   12106     ;;
   12107   sco3.2v5*)
   12108     lt_cv_sys_max_cmd_len=102400
   12109     ;;
   12110   sysv5* | sco5v6* | sysv4.2uw2*)
   12111     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12112     if test -n "$kargmax"; then
   12113       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   12114     else
   12115       lt_cv_sys_max_cmd_len=32768
   12116     fi
   12117     ;;
   12118   *)
   12119     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12120     if test -n "$lt_cv_sys_max_cmd_len" && \
   12121        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12122       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12123       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12124     else
   12125       # Make teststring a little bigger before we do anything with it.
   12126       # a 1K string should be a reasonable start.
   12127       for i in 1 2 3 4 5 6 7 8; do
   12128         teststring=$teststring$teststring
   12129       done
   12130       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12131       # If test is not a shell built-in, we'll probably end up computing a
   12132       # maximum length that is only half of the actual maximum length, but
   12133       # we can't tell.
   12134       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12135 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12136 	      test 17 != "$i" # 1/2 MB should be enough
   12137       do
   12138         i=`expr $i + 1`
   12139         teststring=$teststring$teststring
   12140       done
   12141       # Only check the string length outside the loop.
   12142       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12143       teststring=
   12144       # Add a significant safety factor because C++ compilers can tack on
   12145       # massive amounts of additional arguments before passing them to the
   12146       # linker.  It appears as though 1/2 is a usable value.
   12147       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12148     fi
   12149     ;;
   12150   esac
   12151 
   12152 fi
   12153 
   12154 if test -n "$lt_cv_sys_max_cmd_len"; then
   12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12156 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   12157 else
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12159 $as_echo "none" >&6; }
   12160 fi
   12161 max_cmd_len=$lt_cv_sys_max_cmd_len
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 : ${CP="cp -f"}
   12169 : ${MV="mv -f"}
   12170 : ${RM="rm -f"}
   12171 
   12172 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12173   lt_unset=unset
   12174 else
   12175   lt_unset=false
   12176 fi
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 # test EBCDIC or ASCII
   12183 case `echo X|tr X '\101'` in
   12184  A) # ASCII based system
   12185     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12186   lt_SP2NL='tr \040 \012'
   12187   lt_NL2SP='tr \015\012 \040\040'
   12188   ;;
   12189  *) # EBCDIC based system
   12190   lt_SP2NL='tr \100 \n'
   12191   lt_NL2SP='tr \r\n \100\100'
   12192   ;;
   12193 esac
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12204 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   12205 if ${lt_cv_to_host_file_cmd+:} false; then :
   12206   $as_echo_n "(cached) " >&6
   12207 else
   12208   case $host in
   12209   *-*-mingw* )
   12210     case $build in
   12211       *-*-mingw* ) # actually msys
   12212         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12213         ;;
   12214       *-*-cygwin* )
   12215         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12216         ;;
   12217       * ) # otherwise, assume *nix
   12218         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12219         ;;
   12220     esac
   12221     ;;
   12222   *-*-cygwin* )
   12223     case $build in
   12224       *-*-mingw* ) # actually msys
   12225         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12226         ;;
   12227       *-*-cygwin* )
   12228         lt_cv_to_host_file_cmd=func_convert_file_noop
   12229         ;;
   12230       * ) # otherwise, assume *nix
   12231         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12232         ;;
   12233     esac
   12234     ;;
   12235   * ) # unhandled hosts (and "normal" native builds)
   12236     lt_cv_to_host_file_cmd=func_convert_file_noop
   12237     ;;
   12238 esac
   12239 
   12240 fi
   12241 
   12242 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12244 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12251 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   12252 if ${lt_cv_to_tool_file_cmd+:} false; then :
   12253   $as_echo_n "(cached) " >&6
   12254 else
   12255   #assume ordinary cross tools, or native build.
   12256 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12257 case $host in
   12258   *-*-mingw* )
   12259     case $build in
   12260       *-*-mingw* ) # actually msys
   12261         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12262         ;;
   12263     esac
   12264     ;;
   12265 esac
   12266 
   12267 fi
   12268 
   12269 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12271 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12278 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   12279 if ${lt_cv_ld_reload_flag+:} false; then :
   12280   $as_echo_n "(cached) " >&6
   12281 else
   12282   lt_cv_ld_reload_flag='-r'
   12283 fi
   12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12285 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   12286 reload_flag=$lt_cv_ld_reload_flag
   12287 case $reload_flag in
   12288 "" | " "*) ;;
   12289 *) reload_flag=" $reload_flag" ;;
   12290 esac
   12291 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12292 case $host_os in
   12293   cygwin* | mingw* | pw32* | cegcc*)
   12294     if test yes != "$GCC"; then
   12295       reload_cmds=false
   12296     fi
   12297     ;;
   12298   darwin*)
   12299     if test yes = "$GCC"; then
   12300       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12301     else
   12302       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12303     fi
   12304     ;;
   12305 esac
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 if test -n "$ac_tool_prefix"; then
   12316   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12317 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12319 $as_echo_n "checking for $ac_word... " >&6; }
   12320 if ${ac_cv_prog_OBJDUMP+:} false; then :
   12321   $as_echo_n "(cached) " >&6
   12322 else
   12323   if test -n "$OBJDUMP"; then
   12324   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12325 else
   12326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12327 for as_dir in $PATH
   12328 do
   12329   IFS=$as_save_IFS
   12330   test -z "$as_dir" && as_dir=.
   12331     for ac_exec_ext in '' $ac_executable_extensions; do
   12332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12333     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12335     break 2
   12336   fi
   12337 done
   12338   done
   12339 IFS=$as_save_IFS
   12340 
   12341 fi
   12342 fi
   12343 OBJDUMP=$ac_cv_prog_OBJDUMP
   12344 if test -n "$OBJDUMP"; then
   12345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12346 $as_echo "$OBJDUMP" >&6; }
   12347 else
   12348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12349 $as_echo "no" >&6; }
   12350 fi
   12351 
   12352 
   12353 fi
   12354 if test -z "$ac_cv_prog_OBJDUMP"; then
   12355   ac_ct_OBJDUMP=$OBJDUMP
   12356   # Extract the first word of "objdump", so it can be a program name with args.
   12357 set dummy objdump; ac_word=$2
   12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12359 $as_echo_n "checking for $ac_word... " >&6; }
   12360 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   12361   $as_echo_n "(cached) " >&6
   12362 else
   12363   if test -n "$ac_ct_OBJDUMP"; then
   12364   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12365 else
   12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12367 for as_dir in $PATH
   12368 do
   12369   IFS=$as_save_IFS
   12370   test -z "$as_dir" && as_dir=.
   12371     for ac_exec_ext in '' $ac_executable_extensions; do
   12372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12373     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12375     break 2
   12376   fi
   12377 done
   12378   done
   12379 IFS=$as_save_IFS
   12380 
   12381 fi
   12382 fi
   12383 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12384 if test -n "$ac_ct_OBJDUMP"; then
   12385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12386 $as_echo "$ac_ct_OBJDUMP" >&6; }
   12387 else
   12388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12389 $as_echo "no" >&6; }
   12390 fi
   12391 
   12392   if test "x$ac_ct_OBJDUMP" = x; then
   12393     OBJDUMP="false"
   12394   else
   12395     case $cross_compiling:$ac_tool_warned in
   12396 yes:)
   12397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12399 ac_tool_warned=yes ;;
   12400 esac
   12401     OBJDUMP=$ac_ct_OBJDUMP
   12402   fi
   12403 else
   12404   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12405 fi
   12406 
   12407 test -z "$OBJDUMP" && OBJDUMP=objdump
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12415 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   12416 if ${lt_cv_deplibs_check_method+:} false; then :
   12417   $as_echo_n "(cached) " >&6
   12418 else
   12419   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12420 lt_cv_file_magic_test_file=
   12421 lt_cv_deplibs_check_method='unknown'
   12422 # Need to set the preceding variable on all platforms that support
   12423 # interlibrary dependencies.
   12424 # 'none' -- dependencies not supported.
   12425 # 'unknown' -- same as none, but documents that we really don't know.
   12426 # 'pass_all' -- all dependencies passed with no checks.
   12427 # 'test_compile' -- check by making test program.
   12428 # 'file_magic [[regex]]' -- check by looking for files in library path
   12429 # that responds to the $file_magic_cmd with a given extended regex.
   12430 # If you have 'file' or equivalent on your system and you're not sure
   12431 # whether 'pass_all' will *always* work, you probably want this one.
   12432 
   12433 case $host_os in
   12434 aix[4-9]*)
   12435   lt_cv_deplibs_check_method=pass_all
   12436   ;;
   12437 
   12438 beos*)
   12439   lt_cv_deplibs_check_method=pass_all
   12440   ;;
   12441 
   12442 bsdi[45]*)
   12443   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12444   lt_cv_file_magic_cmd='/usr/bin/file -L'
   12445   lt_cv_file_magic_test_file=/shlib/libc.so
   12446   ;;
   12447 
   12448 cygwin*)
   12449   # func_win32_libid is a shell function defined in ltmain.sh
   12450   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12451   lt_cv_file_magic_cmd='func_win32_libid'
   12452   ;;
   12453 
   12454 mingw* | pw32*)
   12455   # Base MSYS/MinGW do not provide the 'file' command needed by
   12456   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12457   # unless we find 'file', for example because we are cross-compiling.
   12458   if ( file / ) >/dev/null 2>&1; then
   12459     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12460     lt_cv_file_magic_cmd='func_win32_libid'
   12461   else
   12462     # Keep this pattern in sync with the one in func_win32_libid.
   12463     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12464     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12465   fi
   12466   ;;
   12467 
   12468 cegcc*)
   12469   # use the weaker test based on 'objdump'. See mingw*.
   12470   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12471   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12472   ;;
   12473 
   12474 darwin* | rhapsody*)
   12475   lt_cv_deplibs_check_method=pass_all
   12476   ;;
   12477 
   12478 freebsd* | dragonfly*)
   12479   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12480     case $host_cpu in
   12481     i*86 )
   12482       # Not sure whether the presence of OpenBSD here was a mistake.
   12483       # Let's accept both of them until this is cleared up.
   12484       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12485       lt_cv_file_magic_cmd=/usr/bin/file
   12486       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12487       ;;
   12488     esac
   12489   else
   12490     lt_cv_deplibs_check_method=pass_all
   12491   fi
   12492   ;;
   12493 
   12494 haiku*)
   12495   lt_cv_deplibs_check_method=pass_all
   12496   ;;
   12497 
   12498 hpux10.20* | hpux11*)
   12499   lt_cv_file_magic_cmd=/usr/bin/file
   12500   case $host_cpu in
   12501   ia64*)
   12502     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12503     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12504     ;;
   12505   hppa*64*)
   12506     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   12507     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12508     ;;
   12509   *)
   12510     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12511     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12512     ;;
   12513   esac
   12514   ;;
   12515 
   12516 interix[3-9]*)
   12517   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12518   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12519   ;;
   12520 
   12521 irix5* | irix6* | nonstopux*)
   12522   case $LD in
   12523   *-32|*"-32 ") libmagic=32-bit;;
   12524   *-n32|*"-n32 ") libmagic=N32;;
   12525   *-64|*"-64 ") libmagic=64-bit;;
   12526   *) libmagic=never-match;;
   12527   esac
   12528   lt_cv_deplibs_check_method=pass_all
   12529   ;;
   12530 
   12531 # This must be glibc/ELF.
   12532 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12533   lt_cv_deplibs_check_method=pass_all
   12534   ;;
   12535 
   12536 netbsd*)
   12537   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12538     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12539   else
   12540     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12541   fi
   12542   ;;
   12543 
   12544 newos6*)
   12545   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12546   lt_cv_file_magic_cmd=/usr/bin/file
   12547   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12548   ;;
   12549 
   12550 *nto* | *qnx*)
   12551   lt_cv_deplibs_check_method=pass_all
   12552   ;;
   12553 
   12554 openbsd* | bitrig*)
   12555   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12556     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12557   else
   12558     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12559   fi
   12560   ;;
   12561 
   12562 osf3* | osf4* | osf5*)
   12563   lt_cv_deplibs_check_method=pass_all
   12564   ;;
   12565 
   12566 rdos*)
   12567   lt_cv_deplibs_check_method=pass_all
   12568   ;;
   12569 
   12570 solaris*)
   12571   lt_cv_deplibs_check_method=pass_all
   12572   ;;
   12573 
   12574 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12575   lt_cv_deplibs_check_method=pass_all
   12576   ;;
   12577 
   12578 sysv4 | sysv4.3*)
   12579   case $host_vendor in
   12580   motorola)
   12581     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   12582     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12583     ;;
   12584   ncr)
   12585     lt_cv_deplibs_check_method=pass_all
   12586     ;;
   12587   sequent)
   12588     lt_cv_file_magic_cmd='/bin/file'
   12589     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12590     ;;
   12591   sni)
   12592     lt_cv_file_magic_cmd='/bin/file'
   12593     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12594     lt_cv_file_magic_test_file=/lib/libc.so
   12595     ;;
   12596   siemens)
   12597     lt_cv_deplibs_check_method=pass_all
   12598     ;;
   12599   pc)
   12600     lt_cv_deplibs_check_method=pass_all
   12601     ;;
   12602   esac
   12603   ;;
   12604 
   12605 tpf*)
   12606   lt_cv_deplibs_check_method=pass_all
   12607   ;;
   12608 os2*)
   12609   lt_cv_deplibs_check_method=pass_all
   12610   ;;
   12611 esac
   12612 
   12613 fi
   12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12615 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12616 
   12617 file_magic_glob=
   12618 want_nocaseglob=no
   12619 if test "$build" = "$host"; then
   12620   case $host_os in
   12621   mingw* | pw32*)
   12622     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12623       want_nocaseglob=yes
   12624     else
   12625       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12626     fi
   12627     ;;
   12628   esac
   12629 fi
   12630 
   12631 file_magic_cmd=$lt_cv_file_magic_cmd
   12632 deplibs_check_method=$lt_cv_deplibs_check_method
   12633 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 if test -n "$ac_tool_prefix"; then
   12657   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12658 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12660 $as_echo_n "checking for $ac_word... " >&6; }
   12661 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12662   $as_echo_n "(cached) " >&6
   12663 else
   12664   if test -n "$DLLTOOL"; then
   12665   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12666 else
   12667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12668 for as_dir in $PATH
   12669 do
   12670   IFS=$as_save_IFS
   12671   test -z "$as_dir" && as_dir=.
   12672     for ac_exec_ext in '' $ac_executable_extensions; do
   12673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12674     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12676     break 2
   12677   fi
   12678 done
   12679   done
   12680 IFS=$as_save_IFS
   12681 
   12682 fi
   12683 fi
   12684 DLLTOOL=$ac_cv_prog_DLLTOOL
   12685 if test -n "$DLLTOOL"; then
   12686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12687 $as_echo "$DLLTOOL" >&6; }
   12688 else
   12689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12690 $as_echo "no" >&6; }
   12691 fi
   12692 
   12693 
   12694 fi
   12695 if test -z "$ac_cv_prog_DLLTOOL"; then
   12696   ac_ct_DLLTOOL=$DLLTOOL
   12697   # Extract the first word of "dlltool", so it can be a program name with args.
   12698 set dummy dlltool; ac_word=$2
   12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12700 $as_echo_n "checking for $ac_word... " >&6; }
   12701 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12702   $as_echo_n "(cached) " >&6
   12703 else
   12704   if test -n "$ac_ct_DLLTOOL"; then
   12705   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12706 else
   12707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12708 for as_dir in $PATH
   12709 do
   12710   IFS=$as_save_IFS
   12711   test -z "$as_dir" && as_dir=.
   12712     for ac_exec_ext in '' $ac_executable_extensions; do
   12713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12714     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12716     break 2
   12717   fi
   12718 done
   12719   done
   12720 IFS=$as_save_IFS
   12721 
   12722 fi
   12723 fi
   12724 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12725 if test -n "$ac_ct_DLLTOOL"; then
   12726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12727 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12728 else
   12729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12730 $as_echo "no" >&6; }
   12731 fi
   12732 
   12733   if test "x$ac_ct_DLLTOOL" = x; then
   12734     DLLTOOL="false"
   12735   else
   12736     case $cross_compiling:$ac_tool_warned in
   12737 yes:)
   12738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12740 ac_tool_warned=yes ;;
   12741 esac
   12742     DLLTOOL=$ac_ct_DLLTOOL
   12743   fi
   12744 else
   12745   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12746 fi
   12747 
   12748 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12757 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12758 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12759   $as_echo_n "(cached) " >&6
   12760 else
   12761   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12762 
   12763 case $host_os in
   12764 cygwin* | mingw* | pw32* | cegcc*)
   12765   # two different shell functions defined in ltmain.sh;
   12766   # decide which one to use based on capabilities of $DLLTOOL
   12767   case `$DLLTOOL --help 2>&1` in
   12768   *--identify-strict*)
   12769     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12770     ;;
   12771   *)
   12772     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12773     ;;
   12774   esac
   12775   ;;
   12776 *)
   12777   # fallback: assume linklib IS sharedlib
   12778   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12779   ;;
   12780 esac
   12781 
   12782 fi
   12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12784 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12785 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12786 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 if test -n "$ac_tool_prefix"; then
   12795   for ac_prog in ar
   12796   do
   12797     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12798 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12800 $as_echo_n "checking for $ac_word... " >&6; }
   12801 if ${ac_cv_prog_AR+:} false; then :
   12802   $as_echo_n "(cached) " >&6
   12803 else
   12804   if test -n "$AR"; then
   12805   ac_cv_prog_AR="$AR" # Let the user override the test.
   12806 else
   12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12808 for as_dir in $PATH
   12809 do
   12810   IFS=$as_save_IFS
   12811   test -z "$as_dir" && as_dir=.
   12812     for ac_exec_ext in '' $ac_executable_extensions; do
   12813   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12814     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12816     break 2
   12817   fi
   12818 done
   12819   done
   12820 IFS=$as_save_IFS
   12821 
   12822 fi
   12823 fi
   12824 AR=$ac_cv_prog_AR
   12825 if test -n "$AR"; then
   12826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12827 $as_echo "$AR" >&6; }
   12828 else
   12829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12830 $as_echo "no" >&6; }
   12831 fi
   12832 
   12833 
   12834     test -n "$AR" && break
   12835   done
   12836 fi
   12837 if test -z "$AR"; then
   12838   ac_ct_AR=$AR
   12839   for ac_prog in ar
   12840 do
   12841   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12842 set dummy $ac_prog; ac_word=$2
   12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12844 $as_echo_n "checking for $ac_word... " >&6; }
   12845 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12846   $as_echo_n "(cached) " >&6
   12847 else
   12848   if test -n "$ac_ct_AR"; then
   12849   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12850 else
   12851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12852 for as_dir in $PATH
   12853 do
   12854   IFS=$as_save_IFS
   12855   test -z "$as_dir" && as_dir=.
   12856     for ac_exec_ext in '' $ac_executable_extensions; do
   12857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12858     ac_cv_prog_ac_ct_AR="$ac_prog"
   12859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12860     break 2
   12861   fi
   12862 done
   12863   done
   12864 IFS=$as_save_IFS
   12865 
   12866 fi
   12867 fi
   12868 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12869 if test -n "$ac_ct_AR"; then
   12870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12871 $as_echo "$ac_ct_AR" >&6; }
   12872 else
   12873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12874 $as_echo "no" >&6; }
   12875 fi
   12876 
   12877 
   12878   test -n "$ac_ct_AR" && break
   12879 done
   12880 
   12881   if test "x$ac_ct_AR" = x; then
   12882     AR="false"
   12883   else
   12884     case $cross_compiling:$ac_tool_warned in
   12885 yes:)
   12886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12888 ac_tool_warned=yes ;;
   12889 esac
   12890     AR=$ac_ct_AR
   12891   fi
   12892 fi
   12893 
   12894 : ${AR=ar}
   12895 : ${AR_FLAGS=cru}
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12908 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12909 if ${lt_cv_ar_at_file+:} false; then :
   12910   $as_echo_n "(cached) " >&6
   12911 else
   12912   lt_cv_ar_at_file=no
   12913    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 
   12916 int
   12917 main ()
   12918 {
   12919 
   12920   ;
   12921   return 0;
   12922 }
   12923 _ACEOF
   12924 if ac_fn_c_try_compile "$LINENO"; then :
   12925   echo conftest.$ac_objext > conftest.lst
   12926       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12927       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12928   (eval $lt_ar_try) 2>&5
   12929   ac_status=$?
   12930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12931   test $ac_status = 0; }
   12932       if test 0 -eq "$ac_status"; then
   12933 	# Ensure the archiver fails upon bogus file names.
   12934 	rm -f conftest.$ac_objext libconftest.a
   12935 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12936   (eval $lt_ar_try) 2>&5
   12937   ac_status=$?
   12938   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12939   test $ac_status = 0; }
   12940 	if test 0 -ne "$ac_status"; then
   12941           lt_cv_ar_at_file=@
   12942         fi
   12943       fi
   12944       rm -f conftest.* libconftest.a
   12945 
   12946 fi
   12947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12948 
   12949 fi
   12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12951 $as_echo "$lt_cv_ar_at_file" >&6; }
   12952 
   12953 if test no = "$lt_cv_ar_at_file"; then
   12954   archiver_list_spec=
   12955 else
   12956   archiver_list_spec=$lt_cv_ar_at_file
   12957 fi
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 if test -n "$ac_tool_prefix"; then
   12966   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12967 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12969 $as_echo_n "checking for $ac_word... " >&6; }
   12970 if ${ac_cv_prog_STRIP+:} false; then :
   12971   $as_echo_n "(cached) " >&6
   12972 else
   12973   if test -n "$STRIP"; then
   12974   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12975 else
   12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12977 for as_dir in $PATH
   12978 do
   12979   IFS=$as_save_IFS
   12980   test -z "$as_dir" && as_dir=.
   12981     for ac_exec_ext in '' $ac_executable_extensions; do
   12982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12983     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12985     break 2
   12986   fi
   12987 done
   12988   done
   12989 IFS=$as_save_IFS
   12990 
   12991 fi
   12992 fi
   12993 STRIP=$ac_cv_prog_STRIP
   12994 if test -n "$STRIP"; then
   12995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12996 $as_echo "$STRIP" >&6; }
   12997 else
   12998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12999 $as_echo "no" >&6; }
   13000 fi
   13001 
   13002 
   13003 fi
   13004 if test -z "$ac_cv_prog_STRIP"; then
   13005   ac_ct_STRIP=$STRIP
   13006   # Extract the first word of "strip", so it can be a program name with args.
   13007 set dummy strip; ac_word=$2
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13009 $as_echo_n "checking for $ac_word... " >&6; }
   13010 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   13011   $as_echo_n "(cached) " >&6
   13012 else
   13013   if test -n "$ac_ct_STRIP"; then
   13014   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13015 else
   13016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13017 for as_dir in $PATH
   13018 do
   13019   IFS=$as_save_IFS
   13020   test -z "$as_dir" && as_dir=.
   13021     for ac_exec_ext in '' $ac_executable_extensions; do
   13022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13023     ac_cv_prog_ac_ct_STRIP="strip"
   13024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13025     break 2
   13026   fi
   13027 done
   13028   done
   13029 IFS=$as_save_IFS
   13030 
   13031 fi
   13032 fi
   13033 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13034 if test -n "$ac_ct_STRIP"; then
   13035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13036 $as_echo "$ac_ct_STRIP" >&6; }
   13037 else
   13038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13039 $as_echo "no" >&6; }
   13040 fi
   13041 
   13042   if test "x$ac_ct_STRIP" = x; then
   13043     STRIP=":"
   13044   else
   13045     case $cross_compiling:$ac_tool_warned in
   13046 yes:)
   13047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13049 ac_tool_warned=yes ;;
   13050 esac
   13051     STRIP=$ac_ct_STRIP
   13052   fi
   13053 else
   13054   STRIP="$ac_cv_prog_STRIP"
   13055 fi
   13056 
   13057 test -z "$STRIP" && STRIP=:
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 if test -n "$ac_tool_prefix"; then
   13065   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13066 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13068 $as_echo_n "checking for $ac_word... " >&6; }
   13069 if ${ac_cv_prog_RANLIB+:} false; then :
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   if test -n "$RANLIB"; then
   13073   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13074 else
   13075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13076 for as_dir in $PATH
   13077 do
   13078   IFS=$as_save_IFS
   13079   test -z "$as_dir" && as_dir=.
   13080     for ac_exec_ext in '' $ac_executable_extensions; do
   13081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13082     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13084     break 2
   13085   fi
   13086 done
   13087   done
   13088 IFS=$as_save_IFS
   13089 
   13090 fi
   13091 fi
   13092 RANLIB=$ac_cv_prog_RANLIB
   13093 if test -n "$RANLIB"; then
   13094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13095 $as_echo "$RANLIB" >&6; }
   13096 else
   13097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13098 $as_echo "no" >&6; }
   13099 fi
   13100 
   13101 
   13102 fi
   13103 if test -z "$ac_cv_prog_RANLIB"; then
   13104   ac_ct_RANLIB=$RANLIB
   13105   # Extract the first word of "ranlib", so it can be a program name with args.
   13106 set dummy ranlib; ac_word=$2
   13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13108 $as_echo_n "checking for $ac_word... " >&6; }
   13109 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   13110   $as_echo_n "(cached) " >&6
   13111 else
   13112   if test -n "$ac_ct_RANLIB"; then
   13113   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13114 else
   13115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13116 for as_dir in $PATH
   13117 do
   13118   IFS=$as_save_IFS
   13119   test -z "$as_dir" && as_dir=.
   13120     for ac_exec_ext in '' $ac_executable_extensions; do
   13121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13122     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13124     break 2
   13125   fi
   13126 done
   13127   done
   13128 IFS=$as_save_IFS
   13129 
   13130 fi
   13131 fi
   13132 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13133 if test -n "$ac_ct_RANLIB"; then
   13134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13135 $as_echo "$ac_ct_RANLIB" >&6; }
   13136 else
   13137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13138 $as_echo "no" >&6; }
   13139 fi
   13140 
   13141   if test "x$ac_ct_RANLIB" = x; then
   13142     RANLIB=":"
   13143   else
   13144     case $cross_compiling:$ac_tool_warned in
   13145 yes:)
   13146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13148 ac_tool_warned=yes ;;
   13149 esac
   13150     RANLIB=$ac_ct_RANLIB
   13151   fi
   13152 else
   13153   RANLIB="$ac_cv_prog_RANLIB"
   13154 fi
   13155 
   13156 test -z "$RANLIB" && RANLIB=:
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 # Determine commands to create old-style static archives.
   13164 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13165 old_postinstall_cmds='chmod 644 $oldlib'
   13166 old_postuninstall_cmds=
   13167 
   13168 if test -n "$RANLIB"; then
   13169   case $host_os in
   13170   bitrig* | openbsd*)
   13171     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13172     ;;
   13173   *)
   13174     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13175     ;;
   13176   esac
   13177   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13178 fi
   13179 
   13180 case $host_os in
   13181   darwin*)
   13182     lock_old_archive_extraction=yes ;;
   13183   *)
   13184     lock_old_archive_extraction=no ;;
   13185 esac
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 # If no C compiler was specified, use CC.
   13226 LTCC=${LTCC-"$CC"}
   13227 
   13228 # If no C compiler flags were specified, use CFLAGS.
   13229 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13230 
   13231 # Allow CC to be a program name with arguments.
   13232 compiler=$CC
   13233 
   13234 
   13235 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13237 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   13238 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   13239   $as_echo_n "(cached) " >&6
   13240 else
   13241 
   13242 # These are sane defaults that work on at least a few old systems.
   13243 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13244 
   13245 # Character class describing NM global symbol codes.
   13246 symcode='[BCDEGRST]'
   13247 
   13248 # Regexp to match symbols that can be accessed directly from C.
   13249 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13250 
   13251 # Define system-specific variables.
   13252 case $host_os in
   13253 aix*)
   13254   symcode='[BCDT]'
   13255   ;;
   13256 cygwin* | mingw* | pw32* | cegcc*)
   13257   symcode='[ABCDGISTW]'
   13258   ;;
   13259 hpux*)
   13260   if test ia64 = "$host_cpu"; then
   13261     symcode='[ABCDEGRST]'
   13262   fi
   13263   ;;
   13264 irix* | nonstopux*)
   13265   symcode='[BCDEGRST]'
   13266   ;;
   13267 osf*)
   13268   symcode='[BCDEGQRST]'
   13269   ;;
   13270 solaris*)
   13271   symcode='[BDRT]'
   13272   ;;
   13273 sco3.2v5*)
   13274   symcode='[DT]'
   13275   ;;
   13276 sysv4.2uw2*)
   13277   symcode='[DT]'
   13278   ;;
   13279 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13280   symcode='[ABDT]'
   13281   ;;
   13282 sysv4)
   13283   symcode='[DFNSTU]'
   13284   ;;
   13285 esac
   13286 
   13287 # If we're using GNU nm, then use its standard symbol codes.
   13288 case `$NM -V 2>&1` in
   13289 *GNU* | *'with BFD'*)
   13290   symcode='[ABCDGIRSTW]' ;;
   13291 esac
   13292 
   13293 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13294   # Gets list of data symbols to import.
   13295   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   13296   # Adjust the below global symbol transforms to fixup imported variables.
   13297   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13298   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13299   lt_c_name_lib_hook="\
   13300   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13301   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13302 else
   13303   # Disable hooks by default.
   13304   lt_cv_sys_global_symbol_to_import=
   13305   lt_cdecl_hook=
   13306   lt_c_name_hook=
   13307   lt_c_name_lib_hook=
   13308 fi
   13309 
   13310 # Transform an extracted symbol line into a proper C declaration.
   13311 # Some systems (esp. on ia64) link data and code symbols differently,
   13312 # so use this general approach.
   13313 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   13314 $lt_cdecl_hook\
   13315 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13316 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13317 
   13318 # Transform an extracted symbol line into symbol name and symbol address
   13319 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   13320 $lt_c_name_hook\
   13321 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13322 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13323 
   13324 # Transform an extracted symbol line into symbol name with lib prefix and
   13325 # symbol address.
   13326 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   13327 $lt_c_name_lib_hook\
   13328 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13329 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13330 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13331 
   13332 # Handle CRLF in mingw tool chain
   13333 opt_cr=
   13334 case $build_os in
   13335 mingw*)
   13336   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13337   ;;
   13338 esac
   13339 
   13340 # Try without a prefix underscore, then with it.
   13341 for ac_symprfx in "" "_"; do
   13342 
   13343   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13344   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13345 
   13346   # Write the raw and C identifiers.
   13347   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13348     # Fake it for dumpbin and say T for any non-static function,
   13349     # D for any global variable and I for any imported variable.
   13350     # Also find C++ and __fastcall symbols from MSVC++,
   13351     # which start with @ or ?.
   13352     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13353 "     {last_section=section; section=\$ 3};"\
   13354 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13355 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13356 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13357 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13358 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13359 "     \$ 0!~/External *\|/{next};"\
   13360 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13361 "     {if(hide[section]) next};"\
   13362 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13363 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13364 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13365 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13366 "     ' prfx=^$ac_symprfx"
   13367   else
   13368     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13369   fi
   13370   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   13371 
   13372   # Check to see that the pipe works correctly.
   13373   pipe_works=no
   13374 
   13375   rm -f conftest*
   13376   cat > conftest.$ac_ext <<_LT_EOF
   13377 #ifdef __cplusplus
   13378 extern "C" {
   13379 #endif
   13380 char nm_test_var;
   13381 void nm_test_func(void);
   13382 void nm_test_func(void){}
   13383 #ifdef __cplusplus
   13384 }
   13385 #endif
   13386 int main(){nm_test_var='a';nm_test_func();return(0);}
   13387 _LT_EOF
   13388 
   13389   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13390   (eval $ac_compile) 2>&5
   13391   ac_status=$?
   13392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13393   test $ac_status = 0; }; then
   13394     # Now try to grab the symbols.
   13395     nlist=conftest.nm
   13396     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13397   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13398   ac_status=$?
   13399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13400   test $ac_status = 0; } && test -s "$nlist"; then
   13401       # Try sorting and uniquifying the output.
   13402       if sort "$nlist" | uniq > "$nlist"T; then
   13403 	mv -f "$nlist"T "$nlist"
   13404       else
   13405 	rm -f "$nlist"T
   13406       fi
   13407 
   13408       # Make sure that we snagged all the symbols we need.
   13409       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13410 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13411 	  cat <<_LT_EOF > conftest.$ac_ext
   13412 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13413 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13414 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13415    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13416 # define LT_DLSYM_CONST
   13417 #elif defined __osf__
   13418 /* This system does not cope well with relocations in const data.  */
   13419 # define LT_DLSYM_CONST
   13420 #else
   13421 # define LT_DLSYM_CONST const
   13422 #endif
   13423 
   13424 #ifdef __cplusplus
   13425 extern "C" {
   13426 #endif
   13427 
   13428 _LT_EOF
   13429 	  # Now generate the symbol file.
   13430 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13431 
   13432 	  cat <<_LT_EOF >> conftest.$ac_ext
   13433 
   13434 /* The mapping between symbol names and symbols.  */
   13435 LT_DLSYM_CONST struct {
   13436   const char *name;
   13437   void       *address;
   13438 }
   13439 lt__PROGRAM__LTX_preloaded_symbols[] =
   13440 {
   13441   { "@PROGRAM@", (void *) 0 },
   13442 _LT_EOF
   13443 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13444 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13445   {0, (void *) 0}
   13446 };
   13447 
   13448 /* This works around a problem in FreeBSD linker */
   13449 #ifdef FREEBSD_WORKAROUND
   13450 static const void *lt_preloaded_setup() {
   13451   return lt__PROGRAM__LTX_preloaded_symbols;
   13452 }
   13453 #endif
   13454 
   13455 #ifdef __cplusplus
   13456 }
   13457 #endif
   13458 _LT_EOF
   13459 	  # Now try linking the two files.
   13460 	  mv conftest.$ac_objext conftstm.$ac_objext
   13461 	  lt_globsym_save_LIBS=$LIBS
   13462 	  lt_globsym_save_CFLAGS=$CFLAGS
   13463 	  LIBS=conftstm.$ac_objext
   13464 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13465 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13466   (eval $ac_link) 2>&5
   13467   ac_status=$?
   13468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13469   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13470 	    pipe_works=yes
   13471 	  fi
   13472 	  LIBS=$lt_globsym_save_LIBS
   13473 	  CFLAGS=$lt_globsym_save_CFLAGS
   13474 	else
   13475 	  echo "cannot find nm_test_func in $nlist" >&5
   13476 	fi
   13477       else
   13478 	echo "cannot find nm_test_var in $nlist" >&5
   13479       fi
   13480     else
   13481       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13482     fi
   13483   else
   13484     echo "$progname: failed program was:" >&5
   13485     cat conftest.$ac_ext >&5
   13486   fi
   13487   rm -rf conftest* conftst*
   13488 
   13489   # Do not use the global_symbol_pipe unless it works.
   13490   if test yes = "$pipe_works"; then
   13491     break
   13492   else
   13493     lt_cv_sys_global_symbol_pipe=
   13494   fi
   13495 done
   13496 
   13497 fi
   13498 
   13499 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13500   lt_cv_sys_global_symbol_to_cdecl=
   13501 fi
   13502 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13504 $as_echo "failed" >&6; }
   13505 else
   13506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13507 $as_echo "ok" >&6; }
   13508 fi
   13509 
   13510 # Response file support.
   13511 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13512   nm_file_list_spec='@'
   13513 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13514   nm_file_list_spec='@'
   13515 fi
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13554 $as_echo_n "checking for sysroot... " >&6; }
   13555 
   13556 # Check whether --with-sysroot was given.
   13557 if test "${with_sysroot+set}" = set; then :
   13558   withval=$with_sysroot;
   13559 else
   13560   with_sysroot=no
   13561 fi
   13562 
   13563 
   13564 lt_sysroot=
   13565 case $with_sysroot in #(
   13566  yes)
   13567    if test yes = "$GCC"; then
   13568      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13569    fi
   13570    ;; #(
   13571  /*)
   13572    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13573    ;; #(
   13574  no|'')
   13575    ;; #(
   13576  *)
   13577    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13578 $as_echo "$with_sysroot" >&6; }
   13579    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13580    ;;
   13581 esac
   13582 
   13583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13584 $as_echo "${lt_sysroot:-no}" >&6; }
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13591 $as_echo_n "checking for a working dd... " >&6; }
   13592 if ${ac_cv_path_lt_DD+:} false; then :
   13593   $as_echo_n "(cached) " >&6
   13594 else
   13595   printf 0123456789abcdef0123456789abcdef >conftest.i
   13596 cat conftest.i conftest.i >conftest2.i
   13597 : ${lt_DD:=$DD}
   13598 if test -z "$lt_DD"; then
   13599   ac_path_lt_DD_found=false
   13600   # Loop through the user's path and test for each of PROGNAME-LIST
   13601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13602 for as_dir in $PATH
   13603 do
   13604   IFS=$as_save_IFS
   13605   test -z "$as_dir" && as_dir=.
   13606     for ac_prog in dd; do
   13607     for ac_exec_ext in '' $ac_executable_extensions; do
   13608       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13609       as_fn_executable_p "$ac_path_lt_DD" || continue
   13610 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13611   cmp -s conftest.i conftest.out \
   13612   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13613 fi
   13614       $ac_path_lt_DD_found && break 3
   13615     done
   13616   done
   13617   done
   13618 IFS=$as_save_IFS
   13619   if test -z "$ac_cv_path_lt_DD"; then
   13620     :
   13621   fi
   13622 else
   13623   ac_cv_path_lt_DD=$lt_DD
   13624 fi
   13625 
   13626 rm -f conftest.i conftest2.i conftest.out
   13627 fi
   13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13629 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13630 
   13631 
   13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13633 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13634 if ${lt_cv_truncate_bin+:} false; then :
   13635   $as_echo_n "(cached) " >&6
   13636 else
   13637   printf 0123456789abcdef0123456789abcdef >conftest.i
   13638 cat conftest.i conftest.i >conftest2.i
   13639 lt_cv_truncate_bin=
   13640 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13641   cmp -s conftest.i conftest.out \
   13642   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13643 fi
   13644 rm -f conftest.i conftest2.i conftest.out
   13645 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13646 fi
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13648 $as_echo "$lt_cv_truncate_bin" >&6; }
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13657 func_cc_basename ()
   13658 {
   13659     for cc_temp in $*""; do
   13660       case $cc_temp in
   13661         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13662         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13663         \-*) ;;
   13664         *) break;;
   13665       esac
   13666     done
   13667     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13668 }
   13669 
   13670 # Check whether --enable-libtool-lock was given.
   13671 if test "${enable_libtool_lock+set}" = set; then :
   13672   enableval=$enable_libtool_lock;
   13673 fi
   13674 
   13675 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13676 
   13677 # Some flags need to be propagated to the compiler or linker for good
   13678 # libtool support.
   13679 case $host in
   13680 ia64-*-hpux*)
   13681   # Find out what ABI is being produced by ac_compile, and set mode
   13682   # options accordingly.
   13683   echo 'int i;' > conftest.$ac_ext
   13684   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13685   (eval $ac_compile) 2>&5
   13686   ac_status=$?
   13687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13688   test $ac_status = 0; }; then
   13689     case `/usr/bin/file conftest.$ac_objext` in
   13690       *ELF-32*)
   13691 	HPUX_IA64_MODE=32
   13692 	;;
   13693       *ELF-64*)
   13694 	HPUX_IA64_MODE=64
   13695 	;;
   13696     esac
   13697   fi
   13698   rm -rf conftest*
   13699   ;;
   13700 *-*-irix6*)
   13701   # Find out what ABI is being produced by ac_compile, and set linker
   13702   # options accordingly.
   13703   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13704   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13705   (eval $ac_compile) 2>&5
   13706   ac_status=$?
   13707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13708   test $ac_status = 0; }; then
   13709     if test yes = "$lt_cv_prog_gnu_ld"; then
   13710       case `/usr/bin/file conftest.$ac_objext` in
   13711 	*32-bit*)
   13712 	  LD="${LD-ld} -melf32bsmip"
   13713 	  ;;
   13714 	*N32*)
   13715 	  LD="${LD-ld} -melf32bmipn32"
   13716 	  ;;
   13717 	*64-bit*)
   13718 	  LD="${LD-ld} -melf64bmip"
   13719 	;;
   13720       esac
   13721     else
   13722       case `/usr/bin/file conftest.$ac_objext` in
   13723 	*32-bit*)
   13724 	  LD="${LD-ld} -32"
   13725 	  ;;
   13726 	*N32*)
   13727 	  LD="${LD-ld} -n32"
   13728 	  ;;
   13729 	*64-bit*)
   13730 	  LD="${LD-ld} -64"
   13731 	  ;;
   13732       esac
   13733     fi
   13734   fi
   13735   rm -rf conftest*
   13736   ;;
   13737 
   13738 mips64*-*linux*)
   13739   # Find out what ABI is being produced by ac_compile, and set linker
   13740   # options accordingly.
   13741   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13742   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13743   (eval $ac_compile) 2>&5
   13744   ac_status=$?
   13745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13746   test $ac_status = 0; }; then
   13747     emul=elf
   13748     case `/usr/bin/file conftest.$ac_objext` in
   13749       *32-bit*)
   13750 	emul="${emul}32"
   13751 	;;
   13752       *64-bit*)
   13753 	emul="${emul}64"
   13754 	;;
   13755     esac
   13756     case `/usr/bin/file conftest.$ac_objext` in
   13757       *MSB*)
   13758 	emul="${emul}btsmip"
   13759 	;;
   13760       *LSB*)
   13761 	emul="${emul}ltsmip"
   13762 	;;
   13763     esac
   13764     case `/usr/bin/file conftest.$ac_objext` in
   13765       *N32*)
   13766 	emul="${emul}n32"
   13767 	;;
   13768     esac
   13769     LD="${LD-ld} -m $emul"
   13770   fi
   13771   rm -rf conftest*
   13772   ;;
   13773 
   13774 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13775 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13776   # Find out what ABI is being produced by ac_compile, and set linker
   13777   # options accordingly.  Note that the listed cases only cover the
   13778   # situations where additional linker options are needed (such as when
   13779   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13780   # vice versa); the common cases where no linker options are needed do
   13781   # not appear in the list.
   13782   echo 'int i;' > conftest.$ac_ext
   13783   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13784   (eval $ac_compile) 2>&5
   13785   ac_status=$?
   13786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13787   test $ac_status = 0; }; then
   13788     case `/usr/bin/file conftest.o` in
   13789       *32-bit*)
   13790 	case $host in
   13791 	  x86_64-*kfreebsd*-gnu)
   13792 	    LD="${LD-ld} -m elf_i386_fbsd"
   13793 	    ;;
   13794 	  x86_64-*linux*)
   13795 	    case `/usr/bin/file conftest.o` in
   13796 	      *x86-64*)
   13797 		LD="${LD-ld} -m elf32_x86_64"
   13798 		;;
   13799 	      *)
   13800 		LD="${LD-ld} -m elf_i386"
   13801 		;;
   13802 	    esac
   13803 	    ;;
   13804 	  powerpc64le-*linux*)
   13805 	    LD="${LD-ld} -m elf32lppclinux"
   13806 	    ;;
   13807 	  powerpc64-*linux*)
   13808 	    LD="${LD-ld} -m elf32ppclinux"
   13809 	    ;;
   13810 	  s390x-*linux*)
   13811 	    LD="${LD-ld} -m elf_s390"
   13812 	    ;;
   13813 	  sparc64-*linux*)
   13814 	    LD="${LD-ld} -m elf32_sparc"
   13815 	    ;;
   13816 	esac
   13817 	;;
   13818       *64-bit*)
   13819 	case $host in
   13820 	  x86_64-*kfreebsd*-gnu)
   13821 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13822 	    ;;
   13823 	  x86_64-*linux*)
   13824 	    LD="${LD-ld} -m elf_x86_64"
   13825 	    ;;
   13826 	  powerpcle-*linux*)
   13827 	    LD="${LD-ld} -m elf64lppc"
   13828 	    ;;
   13829 	  powerpc-*linux*)
   13830 	    LD="${LD-ld} -m elf64ppc"
   13831 	    ;;
   13832 	  s390*-*linux*|s390*-*tpf*)
   13833 	    LD="${LD-ld} -m elf64_s390"
   13834 	    ;;
   13835 	  sparc*-*linux*)
   13836 	    LD="${LD-ld} -m elf64_sparc"
   13837 	    ;;
   13838 	esac
   13839 	;;
   13840     esac
   13841   fi
   13842   rm -rf conftest*
   13843   ;;
   13844 
   13845 *-*-sco3.2v5*)
   13846   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13847   SAVE_CFLAGS=$CFLAGS
   13848   CFLAGS="$CFLAGS -belf"
   13849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13850 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13851 if ${lt_cv_cc_needs_belf+:} false; then :
   13852   $as_echo_n "(cached) " >&6
   13853 else
   13854   ac_ext=c
   13855 ac_cpp='$CPP $CPPFLAGS'
   13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13859 
   13860      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13861 /* end confdefs.h.  */
   13862 
   13863 int
   13864 main ()
   13865 {
   13866 
   13867   ;
   13868   return 0;
   13869 }
   13870 _ACEOF
   13871 if ac_fn_c_try_link "$LINENO"; then :
   13872   lt_cv_cc_needs_belf=yes
   13873 else
   13874   lt_cv_cc_needs_belf=no
   13875 fi
   13876 rm -f core conftest.err conftest.$ac_objext \
   13877     conftest$ac_exeext conftest.$ac_ext
   13878      ac_ext=c
   13879 ac_cpp='$CPP $CPPFLAGS'
   13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13883 
   13884 fi
   13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13886 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13887   if test yes != "$lt_cv_cc_needs_belf"; then
   13888     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13889     CFLAGS=$SAVE_CFLAGS
   13890   fi
   13891   ;;
   13892 *-*solaris*)
   13893   # Find out what ABI is being produced by ac_compile, and set linker
   13894   # options accordingly.
   13895   echo 'int i;' > conftest.$ac_ext
   13896   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13897   (eval $ac_compile) 2>&5
   13898   ac_status=$?
   13899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13900   test $ac_status = 0; }; then
   13901     case `/usr/bin/file conftest.o` in
   13902     *64-bit*)
   13903       case $lt_cv_prog_gnu_ld in
   13904       yes*)
   13905         case $host in
   13906         i?86-*-solaris*|x86_64-*-solaris*)
   13907           LD="${LD-ld} -m elf_x86_64"
   13908           ;;
   13909         sparc*-*-solaris*)
   13910           LD="${LD-ld} -m elf64_sparc"
   13911           ;;
   13912         esac
   13913         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13914         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13915           LD=${LD-ld}_sol2
   13916         fi
   13917         ;;
   13918       *)
   13919 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13920 	  LD="${LD-ld} -64"
   13921 	fi
   13922 	;;
   13923       esac
   13924       ;;
   13925     esac
   13926   fi
   13927   rm -rf conftest*
   13928   ;;
   13929 esac
   13930 
   13931 need_locks=$enable_libtool_lock
   13932 
   13933 if test -n "$ac_tool_prefix"; then
   13934   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13935 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13937 $as_echo_n "checking for $ac_word... " >&6; }
   13938 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13939   $as_echo_n "(cached) " >&6
   13940 else
   13941   if test -n "$MANIFEST_TOOL"; then
   13942   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13943 else
   13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13945 for as_dir in $PATH
   13946 do
   13947   IFS=$as_save_IFS
   13948   test -z "$as_dir" && as_dir=.
   13949     for ac_exec_ext in '' $ac_executable_extensions; do
   13950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13951     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13953     break 2
   13954   fi
   13955 done
   13956   done
   13957 IFS=$as_save_IFS
   13958 
   13959 fi
   13960 fi
   13961 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13962 if test -n "$MANIFEST_TOOL"; then
   13963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13964 $as_echo "$MANIFEST_TOOL" >&6; }
   13965 else
   13966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13967 $as_echo "no" >&6; }
   13968 fi
   13969 
   13970 
   13971 fi
   13972 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13973   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13974   # Extract the first word of "mt", so it can be a program name with args.
   13975 set dummy mt; ac_word=$2
   13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13977 $as_echo_n "checking for $ac_word... " >&6; }
   13978 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13979   $as_echo_n "(cached) " >&6
   13980 else
   13981   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13982   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13983 else
   13984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13985 for as_dir in $PATH
   13986 do
   13987   IFS=$as_save_IFS
   13988   test -z "$as_dir" && as_dir=.
   13989     for ac_exec_ext in '' $ac_executable_extensions; do
   13990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13991     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13993     break 2
   13994   fi
   13995 done
   13996   done
   13997 IFS=$as_save_IFS
   13998 
   13999 fi
   14000 fi
   14001 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14002 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14004 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   14005 else
   14006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14007 $as_echo "no" >&6; }
   14008 fi
   14009 
   14010   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14011     MANIFEST_TOOL=":"
   14012   else
   14013     case $cross_compiling:$ac_tool_warned in
   14014 yes:)
   14015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14017 ac_tool_warned=yes ;;
   14018 esac
   14019     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14020   fi
   14021 else
   14022   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14023 fi
   14024 
   14025 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14027 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14028 if ${lt_cv_path_mainfest_tool+:} false; then :
   14029   $as_echo_n "(cached) " >&6
   14030 else
   14031   lt_cv_path_mainfest_tool=no
   14032   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14033   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14034   cat conftest.err >&5
   14035   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14036     lt_cv_path_mainfest_tool=yes
   14037   fi
   14038   rm -f conftest*
   14039 fi
   14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14041 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   14042 if test yes != "$lt_cv_path_mainfest_tool"; then
   14043   MANIFEST_TOOL=:
   14044 fi
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051   case $host_os in
   14052     rhapsody* | darwin*)
   14053     if test -n "$ac_tool_prefix"; then
   14054   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14055 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14057 $as_echo_n "checking for $ac_word... " >&6; }
   14058 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   14059   $as_echo_n "(cached) " >&6
   14060 else
   14061   if test -n "$DSYMUTIL"; then
   14062   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14063 else
   14064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14065 for as_dir in $PATH
   14066 do
   14067   IFS=$as_save_IFS
   14068   test -z "$as_dir" && as_dir=.
   14069     for ac_exec_ext in '' $ac_executable_extensions; do
   14070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14071     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14073     break 2
   14074   fi
   14075 done
   14076   done
   14077 IFS=$as_save_IFS
   14078 
   14079 fi
   14080 fi
   14081 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14082 if test -n "$DSYMUTIL"; then
   14083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14084 $as_echo "$DSYMUTIL" >&6; }
   14085 else
   14086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14087 $as_echo "no" >&6; }
   14088 fi
   14089 
   14090 
   14091 fi
   14092 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14093   ac_ct_DSYMUTIL=$DSYMUTIL
   14094   # Extract the first word of "dsymutil", so it can be a program name with args.
   14095 set dummy dsymutil; ac_word=$2
   14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14097 $as_echo_n "checking for $ac_word... " >&6; }
   14098 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   14099   $as_echo_n "(cached) " >&6
   14100 else
   14101   if test -n "$ac_ct_DSYMUTIL"; then
   14102   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14103 else
   14104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14105 for as_dir in $PATH
   14106 do
   14107   IFS=$as_save_IFS
   14108   test -z "$as_dir" && as_dir=.
   14109     for ac_exec_ext in '' $ac_executable_extensions; do
   14110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14111     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14113     break 2
   14114   fi
   14115 done
   14116   done
   14117 IFS=$as_save_IFS
   14118 
   14119 fi
   14120 fi
   14121 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14122 if test -n "$ac_ct_DSYMUTIL"; then
   14123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14124 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   14125 else
   14126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14127 $as_echo "no" >&6; }
   14128 fi
   14129 
   14130   if test "x$ac_ct_DSYMUTIL" = x; then
   14131     DSYMUTIL=":"
   14132   else
   14133     case $cross_compiling:$ac_tool_warned in
   14134 yes:)
   14135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14137 ac_tool_warned=yes ;;
   14138 esac
   14139     DSYMUTIL=$ac_ct_DSYMUTIL
   14140   fi
   14141 else
   14142   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14143 fi
   14144 
   14145     if test -n "$ac_tool_prefix"; then
   14146   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14147 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14149 $as_echo_n "checking for $ac_word... " >&6; }
   14150 if ${ac_cv_prog_NMEDIT+:} false; then :
   14151   $as_echo_n "(cached) " >&6
   14152 else
   14153   if test -n "$NMEDIT"; then
   14154   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14155 else
   14156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14157 for as_dir in $PATH
   14158 do
   14159   IFS=$as_save_IFS
   14160   test -z "$as_dir" && as_dir=.
   14161     for ac_exec_ext in '' $ac_executable_extensions; do
   14162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14163     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14165     break 2
   14166   fi
   14167 done
   14168   done
   14169 IFS=$as_save_IFS
   14170 
   14171 fi
   14172 fi
   14173 NMEDIT=$ac_cv_prog_NMEDIT
   14174 if test -n "$NMEDIT"; then
   14175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14176 $as_echo "$NMEDIT" >&6; }
   14177 else
   14178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14179 $as_echo "no" >&6; }
   14180 fi
   14181 
   14182 
   14183 fi
   14184 if test -z "$ac_cv_prog_NMEDIT"; then
   14185   ac_ct_NMEDIT=$NMEDIT
   14186   # Extract the first word of "nmedit", so it can be a program name with args.
   14187 set dummy nmedit; ac_word=$2
   14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14189 $as_echo_n "checking for $ac_word... " >&6; }
   14190 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   14191   $as_echo_n "(cached) " >&6
   14192 else
   14193   if test -n "$ac_ct_NMEDIT"; then
   14194   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14195 else
   14196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14197 for as_dir in $PATH
   14198 do
   14199   IFS=$as_save_IFS
   14200   test -z "$as_dir" && as_dir=.
   14201     for ac_exec_ext in '' $ac_executable_extensions; do
   14202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14203     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14205     break 2
   14206   fi
   14207 done
   14208   done
   14209 IFS=$as_save_IFS
   14210 
   14211 fi
   14212 fi
   14213 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14214 if test -n "$ac_ct_NMEDIT"; then
   14215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14216 $as_echo "$ac_ct_NMEDIT" >&6; }
   14217 else
   14218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14219 $as_echo "no" >&6; }
   14220 fi
   14221 
   14222   if test "x$ac_ct_NMEDIT" = x; then
   14223     NMEDIT=":"
   14224   else
   14225     case $cross_compiling:$ac_tool_warned in
   14226 yes:)
   14227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14229 ac_tool_warned=yes ;;
   14230 esac
   14231     NMEDIT=$ac_ct_NMEDIT
   14232   fi
   14233 else
   14234   NMEDIT="$ac_cv_prog_NMEDIT"
   14235 fi
   14236 
   14237     if test -n "$ac_tool_prefix"; then
   14238   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14239 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14241 $as_echo_n "checking for $ac_word... " >&6; }
   14242 if ${ac_cv_prog_LIPO+:} false; then :
   14243   $as_echo_n "(cached) " >&6
   14244 else
   14245   if test -n "$LIPO"; then
   14246   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14247 else
   14248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14249 for as_dir in $PATH
   14250 do
   14251   IFS=$as_save_IFS
   14252   test -z "$as_dir" && as_dir=.
   14253     for ac_exec_ext in '' $ac_executable_extensions; do
   14254   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14255     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14257     break 2
   14258   fi
   14259 done
   14260   done
   14261 IFS=$as_save_IFS
   14262 
   14263 fi
   14264 fi
   14265 LIPO=$ac_cv_prog_LIPO
   14266 if test -n "$LIPO"; then
   14267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14268 $as_echo "$LIPO" >&6; }
   14269 else
   14270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14271 $as_echo "no" >&6; }
   14272 fi
   14273 
   14274 
   14275 fi
   14276 if test -z "$ac_cv_prog_LIPO"; then
   14277   ac_ct_LIPO=$LIPO
   14278   # Extract the first word of "lipo", so it can be a program name with args.
   14279 set dummy lipo; ac_word=$2
   14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14281 $as_echo_n "checking for $ac_word... " >&6; }
   14282 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   14283   $as_echo_n "(cached) " >&6
   14284 else
   14285   if test -n "$ac_ct_LIPO"; then
   14286   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14287 else
   14288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14289 for as_dir in $PATH
   14290 do
   14291   IFS=$as_save_IFS
   14292   test -z "$as_dir" && as_dir=.
   14293     for ac_exec_ext in '' $ac_executable_extensions; do
   14294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14295     ac_cv_prog_ac_ct_LIPO="lipo"
   14296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14297     break 2
   14298   fi
   14299 done
   14300   done
   14301 IFS=$as_save_IFS
   14302 
   14303 fi
   14304 fi
   14305 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14306 if test -n "$ac_ct_LIPO"; then
   14307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14308 $as_echo "$ac_ct_LIPO" >&6; }
   14309 else
   14310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14311 $as_echo "no" >&6; }
   14312 fi
   14313 
   14314   if test "x$ac_ct_LIPO" = x; then
   14315     LIPO=":"
   14316   else
   14317     case $cross_compiling:$ac_tool_warned in
   14318 yes:)
   14319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14321 ac_tool_warned=yes ;;
   14322 esac
   14323     LIPO=$ac_ct_LIPO
   14324   fi
   14325 else
   14326   LIPO="$ac_cv_prog_LIPO"
   14327 fi
   14328 
   14329     if test -n "$ac_tool_prefix"; then
   14330   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14331 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14333 $as_echo_n "checking for $ac_word... " >&6; }
   14334 if ${ac_cv_prog_OTOOL+:} false; then :
   14335   $as_echo_n "(cached) " >&6
   14336 else
   14337   if test -n "$OTOOL"; then
   14338   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14339 else
   14340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14341 for as_dir in $PATH
   14342 do
   14343   IFS=$as_save_IFS
   14344   test -z "$as_dir" && as_dir=.
   14345     for ac_exec_ext in '' $ac_executable_extensions; do
   14346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14347     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14349     break 2
   14350   fi
   14351 done
   14352   done
   14353 IFS=$as_save_IFS
   14354 
   14355 fi
   14356 fi
   14357 OTOOL=$ac_cv_prog_OTOOL
   14358 if test -n "$OTOOL"; then
   14359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14360 $as_echo "$OTOOL" >&6; }
   14361 else
   14362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14363 $as_echo "no" >&6; }
   14364 fi
   14365 
   14366 
   14367 fi
   14368 if test -z "$ac_cv_prog_OTOOL"; then
   14369   ac_ct_OTOOL=$OTOOL
   14370   # Extract the first word of "otool", so it can be a program name with args.
   14371 set dummy otool; ac_word=$2
   14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14373 $as_echo_n "checking for $ac_word... " >&6; }
   14374 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   14375   $as_echo_n "(cached) " >&6
   14376 else
   14377   if test -n "$ac_ct_OTOOL"; then
   14378   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14379 else
   14380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14381 for as_dir in $PATH
   14382 do
   14383   IFS=$as_save_IFS
   14384   test -z "$as_dir" && as_dir=.
   14385     for ac_exec_ext in '' $ac_executable_extensions; do
   14386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14387     ac_cv_prog_ac_ct_OTOOL="otool"
   14388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14389     break 2
   14390   fi
   14391 done
   14392   done
   14393 IFS=$as_save_IFS
   14394 
   14395 fi
   14396 fi
   14397 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14398 if test -n "$ac_ct_OTOOL"; then
   14399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14400 $as_echo "$ac_ct_OTOOL" >&6; }
   14401 else
   14402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14403 $as_echo "no" >&6; }
   14404 fi
   14405 
   14406   if test "x$ac_ct_OTOOL" = x; then
   14407     OTOOL=":"
   14408   else
   14409     case $cross_compiling:$ac_tool_warned in
   14410 yes:)
   14411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14413 ac_tool_warned=yes ;;
   14414 esac
   14415     OTOOL=$ac_ct_OTOOL
   14416   fi
   14417 else
   14418   OTOOL="$ac_cv_prog_OTOOL"
   14419 fi
   14420 
   14421     if test -n "$ac_tool_prefix"; then
   14422   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14423 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14425 $as_echo_n "checking for $ac_word... " >&6; }
   14426 if ${ac_cv_prog_OTOOL64+:} false; then :
   14427   $as_echo_n "(cached) " >&6
   14428 else
   14429   if test -n "$OTOOL64"; then
   14430   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14431 else
   14432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14433 for as_dir in $PATH
   14434 do
   14435   IFS=$as_save_IFS
   14436   test -z "$as_dir" && as_dir=.
   14437     for ac_exec_ext in '' $ac_executable_extensions; do
   14438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14439     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14441     break 2
   14442   fi
   14443 done
   14444   done
   14445 IFS=$as_save_IFS
   14446 
   14447 fi
   14448 fi
   14449 OTOOL64=$ac_cv_prog_OTOOL64
   14450 if test -n "$OTOOL64"; then
   14451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14452 $as_echo "$OTOOL64" >&6; }
   14453 else
   14454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14455 $as_echo "no" >&6; }
   14456 fi
   14457 
   14458 
   14459 fi
   14460 if test -z "$ac_cv_prog_OTOOL64"; then
   14461   ac_ct_OTOOL64=$OTOOL64
   14462   # Extract the first word of "otool64", so it can be a program name with args.
   14463 set dummy otool64; ac_word=$2
   14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14465 $as_echo_n "checking for $ac_word... " >&6; }
   14466 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   14467   $as_echo_n "(cached) " >&6
   14468 else
   14469   if test -n "$ac_ct_OTOOL64"; then
   14470   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14471 else
   14472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14473 for as_dir in $PATH
   14474 do
   14475   IFS=$as_save_IFS
   14476   test -z "$as_dir" && as_dir=.
   14477     for ac_exec_ext in '' $ac_executable_extensions; do
   14478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14479     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14481     break 2
   14482   fi
   14483 done
   14484   done
   14485 IFS=$as_save_IFS
   14486 
   14487 fi
   14488 fi
   14489 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14490 if test -n "$ac_ct_OTOOL64"; then
   14491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14492 $as_echo "$ac_ct_OTOOL64" >&6; }
   14493 else
   14494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14495 $as_echo "no" >&6; }
   14496 fi
   14497 
   14498   if test "x$ac_ct_OTOOL64" = x; then
   14499     OTOOL64=":"
   14500   else
   14501     case $cross_compiling:$ac_tool_warned in
   14502 yes:)
   14503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14505 ac_tool_warned=yes ;;
   14506 esac
   14507     OTOOL64=$ac_ct_OTOOL64
   14508   fi
   14509 else
   14510   OTOOL64="$ac_cv_prog_OTOOL64"
   14511 fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14540 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14541 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14542   $as_echo_n "(cached) " >&6
   14543 else
   14544   lt_cv_apple_cc_single_mod=no
   14545       if test -z "$LT_MULTI_MODULE"; then
   14546 	# By default we will add the -single_module flag. You can override
   14547 	# by either setting the environment variable LT_MULTI_MODULE
   14548 	# non-empty at configure time, or by adding -multi_module to the
   14549 	# link flags.
   14550 	rm -rf libconftest.dylib*
   14551 	echo "int foo(void){return 1;}" > conftest.c
   14552 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14553 -dynamiclib -Wl,-single_module conftest.c" >&5
   14554 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14555 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14556         _lt_result=$?
   14557 	# If there is a non-empty error log, and "single_module"
   14558 	# appears in it, assume the flag caused a linker warning
   14559         if test -s conftest.err && $GREP single_module conftest.err; then
   14560 	  cat conftest.err >&5
   14561 	# Otherwise, if the output was created with a 0 exit code from
   14562 	# the compiler, it worked.
   14563 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14564 	  lt_cv_apple_cc_single_mod=yes
   14565 	else
   14566 	  cat conftest.err >&5
   14567 	fi
   14568 	rm -rf libconftest.dylib*
   14569 	rm -f conftest.*
   14570       fi
   14571 fi
   14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14573 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14574 
   14575     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14576 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14577 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14578   $as_echo_n "(cached) " >&6
   14579 else
   14580   lt_cv_ld_exported_symbols_list=no
   14581       save_LDFLAGS=$LDFLAGS
   14582       echo "_main" > conftest.sym
   14583       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14585 /* end confdefs.h.  */
   14586 
   14587 int
   14588 main ()
   14589 {
   14590 
   14591   ;
   14592   return 0;
   14593 }
   14594 _ACEOF
   14595 if ac_fn_c_try_link "$LINENO"; then :
   14596   lt_cv_ld_exported_symbols_list=yes
   14597 else
   14598   lt_cv_ld_exported_symbols_list=no
   14599 fi
   14600 rm -f core conftest.err conftest.$ac_objext \
   14601     conftest$ac_exeext conftest.$ac_ext
   14602 	LDFLAGS=$save_LDFLAGS
   14603 
   14604 fi
   14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14606 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14607 
   14608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14609 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14610 if ${lt_cv_ld_force_load+:} false; then :
   14611   $as_echo_n "(cached) " >&6
   14612 else
   14613   lt_cv_ld_force_load=no
   14614       cat > conftest.c << _LT_EOF
   14615 int forced_loaded() { return 2;}
   14616 _LT_EOF
   14617       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14618       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14619       echo "$AR cru libconftest.a conftest.o" >&5
   14620       $AR cru libconftest.a conftest.o 2>&5
   14621       echo "$RANLIB libconftest.a" >&5
   14622       $RANLIB libconftest.a 2>&5
   14623       cat > conftest.c << _LT_EOF
   14624 int main() { return 0;}
   14625 _LT_EOF
   14626       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14627       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14628       _lt_result=$?
   14629       if test -s conftest.err && $GREP force_load conftest.err; then
   14630 	cat conftest.err >&5
   14631       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14632 	lt_cv_ld_force_load=yes
   14633       else
   14634 	cat conftest.err >&5
   14635       fi
   14636         rm -f conftest.err libconftest.a conftest conftest.c
   14637         rm -rf conftest.dSYM
   14638 
   14639 fi
   14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14641 $as_echo "$lt_cv_ld_force_load" >&6; }
   14642     case $host_os in
   14643     rhapsody* | darwin1.[012])
   14644       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14645     darwin1.*)
   14646       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14647     darwin*) # darwin 5.x on
   14648       # if running on 10.5 or later, the deployment target defaults
   14649       # to the OS version, if on x86, and 10.4, the deployment
   14650       # target defaults to 10.4. Don't you love it?
   14651       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14652 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14653 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14654 	10.[012][,.]*)
   14655 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14656 	10.*)
   14657 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14658       esac
   14659     ;;
   14660   esac
   14661     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14662       _lt_dar_single_mod='$single_module'
   14663     fi
   14664     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14665       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14666     else
   14667       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14668     fi
   14669     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14670       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14671     else
   14672       _lt_dsymutil=
   14673     fi
   14674     ;;
   14675   esac
   14676 
   14677 # func_munge_path_list VARIABLE PATH
   14678 # -----------------------------------
   14679 # VARIABLE is name of variable containing _space_ separated list of
   14680 # directories to be munged by the contents of PATH, which is string
   14681 # having a format:
   14682 # "DIR[:DIR]:"
   14683 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14684 # ":DIR[:DIR]"
   14685 #       string "DIR[ DIR]" will be appended to VARIABLE
   14686 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14687 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14688 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14689 # "DIR[:DIR]"
   14690 #       VARIABLE will be replaced by "DIR[ DIR]"
   14691 func_munge_path_list ()
   14692 {
   14693     case x$2 in
   14694     x)
   14695         ;;
   14696     *:)
   14697         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14698         ;;
   14699     x:*)
   14700         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14701         ;;
   14702     *::*)
   14703         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14704         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14705         ;;
   14706     *)
   14707         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14708         ;;
   14709     esac
   14710 }
   14711 
   14712 for ac_header in dlfcn.h
   14713 do :
   14714   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14715 "
   14716 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14717   cat >>confdefs.h <<_ACEOF
   14718 #define HAVE_DLFCN_H 1
   14719 _ACEOF
   14720 
   14721 fi
   14722 
   14723 done
   14724 
   14725 
   14726 
   14727 
   14728 func_stripname_cnf ()
   14729 {
   14730   case $2 in
   14731   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
   14732   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
   14733   esac
   14734 } # func_stripname_cnf
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 # Set options
   14741 enable_win32_dll=yes
   14742 
   14743 case $host in
   14744 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   14745   if test -n "$ac_tool_prefix"; then
   14746   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   14747 set dummy ${ac_tool_prefix}as; ac_word=$2
   14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14749 $as_echo_n "checking for $ac_word... " >&6; }
   14750 if ${ac_cv_prog_AS+:} false; then :
   14751   $as_echo_n "(cached) " >&6
   14752 else
   14753   if test -n "$AS"; then
   14754   ac_cv_prog_AS="$AS" # Let the user override the test.
   14755 else
   14756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14757 for as_dir in $PATH
   14758 do
   14759   IFS=$as_save_IFS
   14760   test -z "$as_dir" && as_dir=.
   14761     for ac_exec_ext in '' $ac_executable_extensions; do
   14762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14763     ac_cv_prog_AS="${ac_tool_prefix}as"
   14764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14765     break 2
   14766   fi
   14767 done
   14768   done
   14769 IFS=$as_save_IFS
   14770 
   14771 fi
   14772 fi
   14773 AS=$ac_cv_prog_AS
   14774 if test -n "$AS"; then
   14775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   14776 $as_echo "$AS" >&6; }
   14777 else
   14778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14779 $as_echo "no" >&6; }
   14780 fi
   14781 
   14782 
   14783 fi
   14784 if test -z "$ac_cv_prog_AS"; then
   14785   ac_ct_AS=$AS
   14786   # Extract the first word of "as", so it can be a program name with args.
   14787 set dummy as; ac_word=$2
   14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14789 $as_echo_n "checking for $ac_word... " >&6; }
   14790 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   14791   $as_echo_n "(cached) " >&6
   14792 else
   14793   if test -n "$ac_ct_AS"; then
   14794   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   14795 else
   14796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14797 for as_dir in $PATH
   14798 do
   14799   IFS=$as_save_IFS
   14800   test -z "$as_dir" && as_dir=.
   14801     for ac_exec_ext in '' $ac_executable_extensions; do
   14802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14803     ac_cv_prog_ac_ct_AS="as"
   14804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14805     break 2
   14806   fi
   14807 done
   14808   done
   14809 IFS=$as_save_IFS
   14810 
   14811 fi
   14812 fi
   14813 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   14814 if test -n "$ac_ct_AS"; then
   14815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   14816 $as_echo "$ac_ct_AS" >&6; }
   14817 else
   14818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14819 $as_echo "no" >&6; }
   14820 fi
   14821 
   14822   if test "x$ac_ct_AS" = x; then
   14823     AS="false"
   14824   else
   14825     case $cross_compiling:$ac_tool_warned in
   14826 yes:)
   14827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14829 ac_tool_warned=yes ;;
   14830 esac
   14831     AS=$ac_ct_AS
   14832   fi
   14833 else
   14834   AS="$ac_cv_prog_AS"
   14835 fi
   14836 
   14837   if test -n "$ac_tool_prefix"; then
   14838   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   14839 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14841 $as_echo_n "checking for $ac_word... " >&6; }
   14842 if ${ac_cv_prog_DLLTOOL+:} false; then :
   14843   $as_echo_n "(cached) " >&6
   14844 else
   14845   if test -n "$DLLTOOL"; then
   14846   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   14847 else
   14848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14849 for as_dir in $PATH
   14850 do
   14851   IFS=$as_save_IFS
   14852   test -z "$as_dir" && as_dir=.
   14853     for ac_exec_ext in '' $ac_executable_extensions; do
   14854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14855     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   14856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14857     break 2
   14858   fi
   14859 done
   14860   done
   14861 IFS=$as_save_IFS
   14862 
   14863 fi
   14864 fi
   14865 DLLTOOL=$ac_cv_prog_DLLTOOL
   14866 if test -n "$DLLTOOL"; then
   14867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   14868 $as_echo "$DLLTOOL" >&6; }
   14869 else
   14870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14871 $as_echo "no" >&6; }
   14872 fi
   14873 
   14874 
   14875 fi
   14876 if test -z "$ac_cv_prog_DLLTOOL"; then
   14877   ac_ct_DLLTOOL=$DLLTOOL
   14878   # Extract the first word of "dlltool", so it can be a program name with args.
   14879 set dummy dlltool; ac_word=$2
   14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14881 $as_echo_n "checking for $ac_word... " >&6; }
   14882 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   14883   $as_echo_n "(cached) " >&6
   14884 else
   14885   if test -n "$ac_ct_DLLTOOL"; then
   14886   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   14887 else
   14888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14889 for as_dir in $PATH
   14890 do
   14891   IFS=$as_save_IFS
   14892   test -z "$as_dir" && as_dir=.
   14893     for ac_exec_ext in '' $ac_executable_extensions; do
   14894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14895     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   14896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14897     break 2
   14898   fi
   14899 done
   14900   done
   14901 IFS=$as_save_IFS
   14902 
   14903 fi
   14904 fi
   14905 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   14906 if test -n "$ac_ct_DLLTOOL"; then
   14907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   14908 $as_echo "$ac_ct_DLLTOOL" >&6; }
   14909 else
   14910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14911 $as_echo "no" >&6; }
   14912 fi
   14913 
   14914   if test "x$ac_ct_DLLTOOL" = x; then
   14915     DLLTOOL="false"
   14916   else
   14917     case $cross_compiling:$ac_tool_warned in
   14918 yes:)
   14919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14921 ac_tool_warned=yes ;;
   14922 esac
   14923     DLLTOOL=$ac_ct_DLLTOOL
   14924   fi
   14925 else
   14926   DLLTOOL="$ac_cv_prog_DLLTOOL"
   14927 fi
   14928 
   14929   if test -n "$ac_tool_prefix"; then
   14930   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   14931 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14933 $as_echo_n "checking for $ac_word... " >&6; }
   14934 if ${ac_cv_prog_OBJDUMP+:} false; then :
   14935   $as_echo_n "(cached) " >&6
   14936 else
   14937   if test -n "$OBJDUMP"; then
   14938   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   14939 else
   14940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14941 for as_dir in $PATH
   14942 do
   14943   IFS=$as_save_IFS
   14944   test -z "$as_dir" && as_dir=.
   14945     for ac_exec_ext in '' $ac_executable_extensions; do
   14946   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14947     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   14948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14949     break 2
   14950   fi
   14951 done
   14952   done
   14953 IFS=$as_save_IFS
   14954 
   14955 fi
   14956 fi
   14957 OBJDUMP=$ac_cv_prog_OBJDUMP
   14958 if test -n "$OBJDUMP"; then
   14959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   14960 $as_echo "$OBJDUMP" >&6; }
   14961 else
   14962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14963 $as_echo "no" >&6; }
   14964 fi
   14965 
   14966 
   14967 fi
   14968 if test -z "$ac_cv_prog_OBJDUMP"; then
   14969   ac_ct_OBJDUMP=$OBJDUMP
   14970   # Extract the first word of "objdump", so it can be a program name with args.
   14971 set dummy objdump; ac_word=$2
   14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14973 $as_echo_n "checking for $ac_word... " >&6; }
   14974 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   14975   $as_echo_n "(cached) " >&6
   14976 else
   14977   if test -n "$ac_ct_OBJDUMP"; then
   14978   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   14979 else
   14980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14981 for as_dir in $PATH
   14982 do
   14983   IFS=$as_save_IFS
   14984   test -z "$as_dir" && as_dir=.
   14985     for ac_exec_ext in '' $ac_executable_extensions; do
   14986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14987     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   14988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14989     break 2
   14990   fi
   14991 done
   14992   done
   14993 IFS=$as_save_IFS
   14994 
   14995 fi
   14996 fi
   14997 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   14998 if test -n "$ac_ct_OBJDUMP"; then
   14999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   15000 $as_echo "$ac_ct_OBJDUMP" >&6; }
   15001 else
   15002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15003 $as_echo "no" >&6; }
   15004 fi
   15005 
   15006   if test "x$ac_ct_OBJDUMP" = x; then
   15007     OBJDUMP="false"
   15008   else
   15009     case $cross_compiling:$ac_tool_warned in
   15010 yes:)
   15011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15013 ac_tool_warned=yes ;;
   15014 esac
   15015     OBJDUMP=$ac_ct_OBJDUMP
   15016   fi
   15017 else
   15018   OBJDUMP="$ac_cv_prog_OBJDUMP"
   15019 fi
   15020 
   15021   ;;
   15022 esac
   15023 
   15024 test -z "$AS" && AS=as
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 test -z "$DLLTOOL" && DLLTOOL=dlltool
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 test -z "$OBJDUMP" && OBJDUMP=objdump
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046             # Check whether --enable-shared was given.
   15047 if test "${enable_shared+set}" = set; then :
   15048   enableval=$enable_shared; p=${PACKAGE-default}
   15049     case $enableval in
   15050     yes) enable_shared=yes ;;
   15051     no) enable_shared=no ;;
   15052     *)
   15053       enable_shared=no
   15054       # Look at the argument we got.  We use all the common list separators.
   15055       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15056       for pkg in $enableval; do
   15057 	IFS=$lt_save_ifs
   15058 	if test "X$pkg" = "X$p"; then
   15059 	  enable_shared=yes
   15060 	fi
   15061       done
   15062       IFS=$lt_save_ifs
   15063       ;;
   15064     esac
   15065 else
   15066   enable_shared=yes
   15067 fi
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077   # Check whether --enable-static was given.
   15078 if test "${enable_static+set}" = set; then :
   15079   enableval=$enable_static; p=${PACKAGE-default}
   15080     case $enableval in
   15081     yes) enable_static=yes ;;
   15082     no) enable_static=no ;;
   15083     *)
   15084      enable_static=no
   15085       # Look at the argument we got.  We use all the common list separators.
   15086       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15087       for pkg in $enableval; do
   15088 	IFS=$lt_save_ifs
   15089 	if test "X$pkg" = "X$p"; then
   15090 	  enable_static=yes
   15091 	fi
   15092       done
   15093       IFS=$lt_save_ifs
   15094       ;;
   15095     esac
   15096 else
   15097   enable_static=yes
   15098 fi
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 # Check whether --with-pic was given.
   15110 if test "${with_pic+set}" = set; then :
   15111   withval=$with_pic; lt_p=${PACKAGE-default}
   15112     case $withval in
   15113     yes|no) pic_mode=$withval ;;
   15114     *)
   15115       pic_mode=default
   15116       # Look at the argument we got.  We use all the common list separators.
   15117       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15118       for lt_pkg in $withval; do
   15119 	IFS=$lt_save_ifs
   15120 	if test "X$lt_pkg" = "X$lt_p"; then
   15121 	  pic_mode=yes
   15122 	fi
   15123       done
   15124       IFS=$lt_save_ifs
   15125       ;;
   15126     esac
   15127 else
   15128   pic_mode=default
   15129 fi
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138   # Check whether --enable-fast-install was given.
   15139 if test "${enable_fast_install+set}" = set; then :
   15140   enableval=$enable_fast_install; p=${PACKAGE-default}
   15141     case $enableval in
   15142     yes) enable_fast_install=yes ;;
   15143     no) enable_fast_install=no ;;
   15144     *)
   15145       enable_fast_install=no
   15146       # Look at the argument we got.  We use all the common list separators.
   15147       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15148       for pkg in $enableval; do
   15149 	IFS=$lt_save_ifs
   15150 	if test "X$pkg" = "X$p"; then
   15151 	  enable_fast_install=yes
   15152 	fi
   15153       done
   15154       IFS=$lt_save_ifs
   15155       ;;
   15156     esac
   15157 else
   15158   enable_fast_install=yes
   15159 fi
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168   shared_archive_member_spec=
   15169 case $host,$enable_shared in
   15170 power*-*-aix[5-9]*,yes)
   15171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15172 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   15173 
   15174 # Check whether --with-aix-soname was given.
   15175 if test "${with_aix_soname+set}" = set; then :
   15176   withval=$with_aix_soname; case $withval in
   15177     aix|svr4|both)
   15178       ;;
   15179     *)
   15180       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15181       ;;
   15182     esac
   15183     lt_cv_with_aix_soname=$with_aix_soname
   15184 else
   15185   if ${lt_cv_with_aix_soname+:} false; then :
   15186   $as_echo_n "(cached) " >&6
   15187 else
   15188   lt_cv_with_aix_soname=aix
   15189 fi
   15190 
   15191     with_aix_soname=$lt_cv_with_aix_soname
   15192 fi
   15193 
   15194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15195 $as_echo "$with_aix_soname" >&6; }
   15196   if test aix != "$with_aix_soname"; then
   15197     # For the AIX way of multilib, we name the shared archive member
   15198     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15199     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15200     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15201     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15202     if test 64 = "${OBJECT_MODE-32}"; then
   15203       shared_archive_member_spec=shr_64
   15204     else
   15205       shared_archive_member_spec=shr
   15206     fi
   15207   fi
   15208   ;;
   15209 *)
   15210   with_aix_soname=aix
   15211   ;;
   15212 esac
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 # This can be used to rebuild libtool when needed
   15224 LIBTOOL_DEPS=$ltmain
   15225 
   15226 # Always use our own libtool.
   15227 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 test -z "$LN_S" && LN_S="ln -s"
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 if test -n "${ZSH_VERSION+set}"; then
   15274    setopt NO_GLOB_SUBST
   15275 fi
   15276 
   15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15278 $as_echo_n "checking for objdir... " >&6; }
   15279 if ${lt_cv_objdir+:} false; then :
   15280   $as_echo_n "(cached) " >&6
   15281 else
   15282   rm -f .libs 2>/dev/null
   15283 mkdir .libs 2>/dev/null
   15284 if test -d .libs; then
   15285   lt_cv_objdir=.libs
   15286 else
   15287   # MS-DOS does not allow filenames that begin with a dot.
   15288   lt_cv_objdir=_libs
   15289 fi
   15290 rmdir .libs 2>/dev/null
   15291 fi
   15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15293 $as_echo "$lt_cv_objdir" >&6; }
   15294 objdir=$lt_cv_objdir
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 cat >>confdefs.h <<_ACEOF
   15301 #define LT_OBJDIR "$lt_cv_objdir/"
   15302 _ACEOF
   15303 
   15304 
   15305 
   15306 
   15307 case $host_os in
   15308 aix3*)
   15309   # AIX sometimes has problems with the GCC collect2 program.  For some
   15310   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15311   # vanish in a puff of smoke.
   15312   if test set != "${COLLECT_NAMES+set}"; then
   15313     COLLECT_NAMES=
   15314     export COLLECT_NAMES
   15315   fi
   15316   ;;
   15317 esac
   15318 
   15319 # Global variables:
   15320 ofile=libtool
   15321 can_build_shared=yes
   15322 
   15323 # All known linkers require a '.a' archive for static linking (except MSVC,
   15324 # which needs '.lib').
   15325 libext=a
   15326 
   15327 with_gnu_ld=$lt_cv_prog_gnu_ld
   15328 
   15329 old_CC=$CC
   15330 old_CFLAGS=$CFLAGS
   15331 
   15332 # Set sane defaults for various variables
   15333 test -z "$CC" && CC=cc
   15334 test -z "$LTCC" && LTCC=$CC
   15335 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15336 test -z "$LD" && LD=ld
   15337 test -z "$ac_objext" && ac_objext=o
   15338 
   15339 func_cc_basename $compiler
   15340 cc_basename=$func_cc_basename_result
   15341 
   15342 
   15343 # Only perform the check for file, if the check method requires it
   15344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15345 case $deplibs_check_method in
   15346 file_magic*)
   15347   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   15350 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   15351   $as_echo_n "(cached) " >&6
   15352 else
   15353   case $MAGIC_CMD in
   15354 [\\/*] |  ?:[\\/]*)
   15355   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15356   ;;
   15357 *)
   15358   lt_save_MAGIC_CMD=$MAGIC_CMD
   15359   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15360   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15361   for ac_dir in $ac_dummy; do
   15362     IFS=$lt_save_ifs
   15363     test -z "$ac_dir" && ac_dir=.
   15364     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15365       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15366       if test -n "$file_magic_test_file"; then
   15367 	case $deplibs_check_method in
   15368 	"file_magic "*)
   15369 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15370 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15371 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15372 	    $EGREP "$file_magic_regex" > /dev/null; then
   15373 	    :
   15374 	  else
   15375 	    cat <<_LT_EOF 1>&2
   15376 
   15377 *** Warning: the command libtool uses to detect shared libraries,
   15378 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15379 *** The result is that libtool may fail to recognize shared libraries
   15380 *** as such.  This will affect the creation of libtool libraries that
   15381 *** depend on shared libraries, but programs linked with such libtool
   15382 *** libraries will work regardless of this problem.  Nevertheless, you
   15383 *** may want to report the problem to your system manager and/or to
   15384 *** bug-libtool (at] gnu.org
   15385 
   15386 _LT_EOF
   15387 	  fi ;;
   15388 	esac
   15389       fi
   15390       break
   15391     fi
   15392   done
   15393   IFS=$lt_save_ifs
   15394   MAGIC_CMD=$lt_save_MAGIC_CMD
   15395   ;;
   15396 esac
   15397 fi
   15398 
   15399 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15400 if test -n "$MAGIC_CMD"; then
   15401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15402 $as_echo "$MAGIC_CMD" >&6; }
   15403 else
   15404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15405 $as_echo "no" >&6; }
   15406 fi
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15413   if test -n "$ac_tool_prefix"; then
   15414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15415 $as_echo_n "checking for file... " >&6; }
   15416 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   15417   $as_echo_n "(cached) " >&6
   15418 else
   15419   case $MAGIC_CMD in
   15420 [\\/*] |  ?:[\\/]*)
   15421   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15422   ;;
   15423 *)
   15424   lt_save_MAGIC_CMD=$MAGIC_CMD
   15425   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15426   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15427   for ac_dir in $ac_dummy; do
   15428     IFS=$lt_save_ifs
   15429     test -z "$ac_dir" && ac_dir=.
   15430     if test -f "$ac_dir/file"; then
   15431       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15432       if test -n "$file_magic_test_file"; then
   15433 	case $deplibs_check_method in
   15434 	"file_magic "*)
   15435 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15436 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15437 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15438 	    $EGREP "$file_magic_regex" > /dev/null; then
   15439 	    :
   15440 	  else
   15441 	    cat <<_LT_EOF 1>&2
   15442 
   15443 *** Warning: the command libtool uses to detect shared libraries,
   15444 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15445 *** The result is that libtool may fail to recognize shared libraries
   15446 *** as such.  This will affect the creation of libtool libraries that
   15447 *** depend on shared libraries, but programs linked with such libtool
   15448 *** libraries will work regardless of this problem.  Nevertheless, you
   15449 *** may want to report the problem to your system manager and/or to
   15450 *** bug-libtool (at] gnu.org
   15451 
   15452 _LT_EOF
   15453 	  fi ;;
   15454 	esac
   15455       fi
   15456       break
   15457     fi
   15458   done
   15459   IFS=$lt_save_ifs
   15460   MAGIC_CMD=$lt_save_MAGIC_CMD
   15461   ;;
   15462 esac
   15463 fi
   15464 
   15465 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15466 if test -n "$MAGIC_CMD"; then
   15467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15468 $as_echo "$MAGIC_CMD" >&6; }
   15469 else
   15470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15471 $as_echo "no" >&6; }
   15472 fi
   15473 
   15474 
   15475   else
   15476     MAGIC_CMD=:
   15477   fi
   15478 fi
   15479 
   15480   fi
   15481   ;;
   15482 esac
   15483 
   15484 # Use C for the default configuration in the libtool script
   15485 
   15486 lt_save_CC=$CC
   15487 ac_ext=c
   15488 ac_cpp='$CPP $CPPFLAGS'
   15489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15492 
   15493 
   15494 # Source file extension for C test sources.
   15495 ac_ext=c
   15496 
   15497 # Object file extension for compiled C test sources.
   15498 objext=o
   15499 objext=$objext
   15500 
   15501 # Code to be used in simple compile tests
   15502 lt_simple_compile_test_code="int some_variable = 0;"
   15503 
   15504 # Code to be used in simple link tests
   15505 lt_simple_link_test_code='int main(){return(0);}'
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 # If no C compiler was specified, use CC.
   15514 LTCC=${LTCC-"$CC"}
   15515 
   15516 # If no C compiler flags were specified, use CFLAGS.
   15517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15518 
   15519 # Allow CC to be a program name with arguments.
   15520 compiler=$CC
   15521 
   15522 # Save the default compiler, since it gets overwritten when the other
   15523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15524 compiler_DEFAULT=$CC
   15525 
   15526 # save warnings/boilerplate of simple test code
   15527 ac_outfile=conftest.$ac_objext
   15528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15530 _lt_compiler_boilerplate=`cat conftest.err`
   15531 $RM conftest*
   15532 
   15533 ac_outfile=conftest.$ac_objext
   15534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15536 _lt_linker_boilerplate=`cat conftest.err`
   15537 $RM -r conftest*
   15538 
   15539 
   15540 ## CAVEAT EMPTOR:
   15541 ## There is no encapsulation within the following macros, do not change
   15542 ## the running order or otherwise move them around unless you know exactly
   15543 ## what you are doing...
   15544 if test -n "$compiler"; then
   15545 
   15546 lt_prog_compiler_no_builtin_flag=
   15547 
   15548 if test yes = "$GCC"; then
   15549   case $cc_basename in
   15550   nvcc*)
   15551     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15552   *)
   15553     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15554   esac
   15555 
   15556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15558 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   15559   $as_echo_n "(cached) " >&6
   15560 else
   15561   lt_cv_prog_compiler_rtti_exceptions=no
   15562    ac_outfile=conftest.$ac_objext
   15563    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15564    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15565    # Insert the option either (1) after the last *FLAGS variable, or
   15566    # (2) before a word containing "conftest.", or (3) at the end.
   15567    # Note that $ac_compile itself does not contain backslashes and begins
   15568    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15569    # The option is referenced via a variable to avoid confusing sed.
   15570    lt_compile=`echo "$ac_compile" | $SED \
   15571    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15572    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15573    -e 's:$: $lt_compiler_flag:'`
   15574    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15575    (eval "$lt_compile" 2>conftest.err)
   15576    ac_status=$?
   15577    cat conftest.err >&5
   15578    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15579    if (exit $ac_status) && test -s "$ac_outfile"; then
   15580      # The compiler can only warn and ignore the option if not recognized
   15581      # So say no if there are warnings other than the usual output.
   15582      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15583      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15584      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15585        lt_cv_prog_compiler_rtti_exceptions=yes
   15586      fi
   15587    fi
   15588    $RM conftest*
   15589 
   15590 fi
   15591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15593 
   15594 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15595     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15596 else
   15597     :
   15598 fi
   15599 
   15600 fi
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607   lt_prog_compiler_wl=
   15608 lt_prog_compiler_pic=
   15609 lt_prog_compiler_static=
   15610 
   15611 
   15612   if test yes = "$GCC"; then
   15613     lt_prog_compiler_wl='-Wl,'
   15614     lt_prog_compiler_static='-static'
   15615 
   15616     case $host_os in
   15617       aix*)
   15618       # All AIX code is PIC.
   15619       if test ia64 = "$host_cpu"; then
   15620 	# AIX 5 now supports IA64 processor
   15621 	lt_prog_compiler_static='-Bstatic'
   15622       fi
   15623       lt_prog_compiler_pic='-fPIC'
   15624       ;;
   15625 
   15626     amigaos*)
   15627       case $host_cpu in
   15628       powerpc)
   15629             # see comment about AmigaOS4 .so support
   15630             lt_prog_compiler_pic='-fPIC'
   15631         ;;
   15632       m68k)
   15633             # FIXME: we need at least 68020 code to build shared libraries, but
   15634             # adding the '-m68020' flag to GCC prevents building anything better,
   15635             # like '-m68040'.
   15636             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15637         ;;
   15638       esac
   15639       ;;
   15640 
   15641     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15642       # PIC is the default for these OSes.
   15643       ;;
   15644 
   15645     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15646       # This hack is so that the source file can tell whether it is being
   15647       # built for inclusion in a dll (and should export symbols for example).
   15648       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15649       # (--disable-auto-import) libraries
   15650       lt_prog_compiler_pic='-DDLL_EXPORT'
   15651       case $host_os in
   15652       os2*)
   15653 	lt_prog_compiler_static='$wl-static'
   15654 	;;
   15655       esac
   15656       ;;
   15657 
   15658     darwin* | rhapsody*)
   15659       # PIC is the default on this platform
   15660       # Common symbols not allowed in MH_DYLIB files
   15661       lt_prog_compiler_pic='-fno-common'
   15662       ;;
   15663 
   15664     haiku*)
   15665       # PIC is the default for Haiku.
   15666       # The "-static" flag exists, but is broken.
   15667       lt_prog_compiler_static=
   15668       ;;
   15669 
   15670     hpux*)
   15671       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15672       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15673       # sets the default TLS model and affects inlining.
   15674       case $host_cpu in
   15675       hppa*64*)
   15676 	# +Z the default
   15677 	;;
   15678       *)
   15679 	lt_prog_compiler_pic='-fPIC'
   15680 	;;
   15681       esac
   15682       ;;
   15683 
   15684     interix[3-9]*)
   15685       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15686       # Instead, we relocate shared libraries at runtime.
   15687       ;;
   15688 
   15689     msdosdjgpp*)
   15690       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15691       # on systems that don't support them.
   15692       lt_prog_compiler_can_build_shared=no
   15693       enable_shared=no
   15694       ;;
   15695 
   15696     *nto* | *qnx*)
   15697       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15698       # it will coredump.
   15699       lt_prog_compiler_pic='-fPIC -shared'
   15700       ;;
   15701 
   15702     sysv4*MP*)
   15703       if test -d /usr/nec; then
   15704 	lt_prog_compiler_pic=-Kconform_pic
   15705       fi
   15706       ;;
   15707 
   15708     *)
   15709       lt_prog_compiler_pic='-fPIC'
   15710       ;;
   15711     esac
   15712 
   15713     case $cc_basename in
   15714     nvcc*) # Cuda Compiler Driver 2.2
   15715       lt_prog_compiler_wl='-Xlinker '
   15716       if test -n "$lt_prog_compiler_pic"; then
   15717         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15718       fi
   15719       ;;
   15720     esac
   15721   else
   15722     # PORTME Check for flag to pass linker flags through the system compiler.
   15723     case $host_os in
   15724     aix*)
   15725       lt_prog_compiler_wl='-Wl,'
   15726       if test ia64 = "$host_cpu"; then
   15727 	# AIX 5 now supports IA64 processor
   15728 	lt_prog_compiler_static='-Bstatic'
   15729       else
   15730 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15731       fi
   15732       ;;
   15733 
   15734     darwin* | rhapsody*)
   15735       # PIC is the default on this platform
   15736       # Common symbols not allowed in MH_DYLIB files
   15737       lt_prog_compiler_pic='-fno-common'
   15738       case $cc_basename in
   15739       nagfor*)
   15740         # NAG Fortran compiler
   15741         lt_prog_compiler_wl='-Wl,-Wl,,'
   15742         lt_prog_compiler_pic='-PIC'
   15743         lt_prog_compiler_static='-Bstatic'
   15744         ;;
   15745       esac
   15746       ;;
   15747 
   15748     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15749       # This hack is so that the source file can tell whether it is being
   15750       # built for inclusion in a dll (and should export symbols for example).
   15751       lt_prog_compiler_pic='-DDLL_EXPORT'
   15752       case $host_os in
   15753       os2*)
   15754 	lt_prog_compiler_static='$wl-static'
   15755 	;;
   15756       esac
   15757       ;;
   15758 
   15759     hpux9* | hpux10* | hpux11*)
   15760       lt_prog_compiler_wl='-Wl,'
   15761       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15762       # not for PA HP-UX.
   15763       case $host_cpu in
   15764       hppa*64*|ia64*)
   15765 	# +Z the default
   15766 	;;
   15767       *)
   15768 	lt_prog_compiler_pic='+Z'
   15769 	;;
   15770       esac
   15771       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15772       lt_prog_compiler_static='$wl-a ${wl}archive'
   15773       ;;
   15774 
   15775     irix5* | irix6* | nonstopux*)
   15776       lt_prog_compiler_wl='-Wl,'
   15777       # PIC (with -KPIC) is the default.
   15778       lt_prog_compiler_static='-non_shared'
   15779       ;;
   15780 
   15781     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15782       case $cc_basename in
   15783       # old Intel for x86_64, which still supported -KPIC.
   15784       ecc*)
   15785 	lt_prog_compiler_wl='-Wl,'
   15786 	lt_prog_compiler_pic='-KPIC'
   15787 	lt_prog_compiler_static='-static'
   15788         ;;
   15789       # icc used to be incompatible with GCC.
   15790       # ICC 10 doesn't accept -KPIC any more.
   15791       icc* | ifort*)
   15792 	lt_prog_compiler_wl='-Wl,'
   15793 	lt_prog_compiler_pic='-fPIC'
   15794 	lt_prog_compiler_static='-static'
   15795         ;;
   15796       # Lahey Fortran 8.1.
   15797       lf95*)
   15798 	lt_prog_compiler_wl='-Wl,'
   15799 	lt_prog_compiler_pic='--shared'
   15800 	lt_prog_compiler_static='--static'
   15801 	;;
   15802       nagfor*)
   15803 	# NAG Fortran compiler
   15804 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15805 	lt_prog_compiler_pic='-PIC'
   15806 	lt_prog_compiler_static='-Bstatic'
   15807 	;;
   15808       tcc*)
   15809 	# Fabrice Bellard et al's Tiny C Compiler
   15810 	lt_prog_compiler_wl='-Wl,'
   15811 	lt_prog_compiler_pic='-fPIC'
   15812 	lt_prog_compiler_static='-static'
   15813 	;;
   15814       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15815         # Portland Group compilers (*not* the Pentium gcc compiler,
   15816 	# which looks to be a dead project)
   15817 	lt_prog_compiler_wl='-Wl,'
   15818 	lt_prog_compiler_pic='-fpic'
   15819 	lt_prog_compiler_static='-Bstatic'
   15820         ;;
   15821       ccc*)
   15822         lt_prog_compiler_wl='-Wl,'
   15823         # All Alpha code is PIC.
   15824         lt_prog_compiler_static='-non_shared'
   15825         ;;
   15826       xl* | bgxl* | bgf* | mpixl*)
   15827 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15828 	lt_prog_compiler_wl='-Wl,'
   15829 	lt_prog_compiler_pic='-qpic'
   15830 	lt_prog_compiler_static='-qstaticlink'
   15831 	;;
   15832       *)
   15833 	case `$CC -V 2>&1 | sed 5q` in
   15834 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15835 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15836 	  lt_prog_compiler_pic='-KPIC'
   15837 	  lt_prog_compiler_static='-Bstatic'
   15838 	  lt_prog_compiler_wl=''
   15839 	  ;;
   15840 	*Sun\ F* | *Sun*Fortran*)
   15841 	  lt_prog_compiler_pic='-KPIC'
   15842 	  lt_prog_compiler_static='-Bstatic'
   15843 	  lt_prog_compiler_wl='-Qoption ld '
   15844 	  ;;
   15845 	*Sun\ C*)
   15846 	  # Sun C 5.9
   15847 	  lt_prog_compiler_pic='-KPIC'
   15848 	  lt_prog_compiler_static='-Bstatic'
   15849 	  lt_prog_compiler_wl='-Wl,'
   15850 	  ;;
   15851         *Intel*\ [CF]*Compiler*)
   15852 	  lt_prog_compiler_wl='-Wl,'
   15853 	  lt_prog_compiler_pic='-fPIC'
   15854 	  lt_prog_compiler_static='-static'
   15855 	  ;;
   15856 	*Portland\ Group*)
   15857 	  lt_prog_compiler_wl='-Wl,'
   15858 	  lt_prog_compiler_pic='-fpic'
   15859 	  lt_prog_compiler_static='-Bstatic'
   15860 	  ;;
   15861 	esac
   15862 	;;
   15863       esac
   15864       ;;
   15865 
   15866     newsos6)
   15867       lt_prog_compiler_pic='-KPIC'
   15868       lt_prog_compiler_static='-Bstatic'
   15869       ;;
   15870 
   15871     *nto* | *qnx*)
   15872       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15873       # it will coredump.
   15874       lt_prog_compiler_pic='-fPIC -shared'
   15875       ;;
   15876 
   15877     osf3* | osf4* | osf5*)
   15878       lt_prog_compiler_wl='-Wl,'
   15879       # All OSF/1 code is PIC.
   15880       lt_prog_compiler_static='-non_shared'
   15881       ;;
   15882 
   15883     rdos*)
   15884       lt_prog_compiler_static='-non_shared'
   15885       ;;
   15886 
   15887     solaris*)
   15888       lt_prog_compiler_pic='-KPIC'
   15889       lt_prog_compiler_static='-Bstatic'
   15890       case $cc_basename in
   15891       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15892 	lt_prog_compiler_wl='-Qoption ld ';;
   15893       *)
   15894 	lt_prog_compiler_wl='-Wl,';;
   15895       esac
   15896       ;;
   15897 
   15898     sunos4*)
   15899       lt_prog_compiler_wl='-Qoption ld '
   15900       lt_prog_compiler_pic='-PIC'
   15901       lt_prog_compiler_static='-Bstatic'
   15902       ;;
   15903 
   15904     sysv4 | sysv4.2uw2* | sysv4.3*)
   15905       lt_prog_compiler_wl='-Wl,'
   15906       lt_prog_compiler_pic='-KPIC'
   15907       lt_prog_compiler_static='-Bstatic'
   15908       ;;
   15909 
   15910     sysv4*MP*)
   15911       if test -d /usr/nec; then
   15912 	lt_prog_compiler_pic='-Kconform_pic'
   15913 	lt_prog_compiler_static='-Bstatic'
   15914       fi
   15915       ;;
   15916 
   15917     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15918       lt_prog_compiler_wl='-Wl,'
   15919       lt_prog_compiler_pic='-KPIC'
   15920       lt_prog_compiler_static='-Bstatic'
   15921       ;;
   15922 
   15923     unicos*)
   15924       lt_prog_compiler_wl='-Wl,'
   15925       lt_prog_compiler_can_build_shared=no
   15926       ;;
   15927 
   15928     uts4*)
   15929       lt_prog_compiler_pic='-pic'
   15930       lt_prog_compiler_static='-Bstatic'
   15931       ;;
   15932 
   15933     *)
   15934       lt_prog_compiler_can_build_shared=no
   15935       ;;
   15936     esac
   15937   fi
   15938 
   15939 case $host_os in
   15940   # For platforms that do not support PIC, -DPIC is meaningless:
   15941   *djgpp*)
   15942     lt_prog_compiler_pic=
   15943     ;;
   15944   *)
   15945     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15946     ;;
   15947 esac
   15948 
   15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15950 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15951 if ${lt_cv_prog_compiler_pic+:} false; then :
   15952   $as_echo_n "(cached) " >&6
   15953 else
   15954   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15955 fi
   15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15957 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15958 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15959 
   15960 #
   15961 # Check to make sure the PIC flag actually works.
   15962 #
   15963 if test -n "$lt_prog_compiler_pic"; then
   15964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15965 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15966 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15967   $as_echo_n "(cached) " >&6
   15968 else
   15969   lt_cv_prog_compiler_pic_works=no
   15970    ac_outfile=conftest.$ac_objext
   15971    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15972    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15973    # Insert the option either (1) after the last *FLAGS variable, or
   15974    # (2) before a word containing "conftest.", or (3) at the end.
   15975    # Note that $ac_compile itself does not contain backslashes and begins
   15976    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15977    # The option is referenced via a variable to avoid confusing sed.
   15978    lt_compile=`echo "$ac_compile" | $SED \
   15979    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15980    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15981    -e 's:$: $lt_compiler_flag:'`
   15982    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15983    (eval "$lt_compile" 2>conftest.err)
   15984    ac_status=$?
   15985    cat conftest.err >&5
   15986    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15987    if (exit $ac_status) && test -s "$ac_outfile"; then
   15988      # The compiler can only warn and ignore the option if not recognized
   15989      # So say no if there are warnings other than the usual output.
   15990      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15991      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15992      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15993        lt_cv_prog_compiler_pic_works=yes
   15994      fi
   15995    fi
   15996    $RM conftest*
   15997 
   15998 fi
   15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16000 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   16001 
   16002 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16003     case $lt_prog_compiler_pic in
   16004      "" | " "*) ;;
   16005      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16006      esac
   16007 else
   16008     lt_prog_compiler_pic=
   16009      lt_prog_compiler_can_build_shared=no
   16010 fi
   16011 
   16012 fi
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 #
   16025 # Check to make sure the static flag actually works.
   16026 #
   16027 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16029 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16030 if ${lt_cv_prog_compiler_static_works+:} false; then :
   16031   $as_echo_n "(cached) " >&6
   16032 else
   16033   lt_cv_prog_compiler_static_works=no
   16034    save_LDFLAGS=$LDFLAGS
   16035    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16036    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16037    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16038      # The linker can only warn and ignore the option if not recognized
   16039      # So say no if there are warnings
   16040      if test -s conftest.err; then
   16041        # Append any errors to the config.log.
   16042        cat conftest.err 1>&5
   16043        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16044        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16045        if diff conftest.exp conftest.er2 >/dev/null; then
   16046          lt_cv_prog_compiler_static_works=yes
   16047        fi
   16048      else
   16049        lt_cv_prog_compiler_static_works=yes
   16050      fi
   16051    fi
   16052    $RM -r conftest*
   16053    LDFLAGS=$save_LDFLAGS
   16054 
   16055 fi
   16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16057 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   16058 
   16059 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16060     :
   16061 else
   16062     lt_prog_compiler_static=
   16063 fi
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16072 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16073 if ${lt_cv_prog_compiler_c_o+:} false; then :
   16074   $as_echo_n "(cached) " >&6
   16075 else
   16076   lt_cv_prog_compiler_c_o=no
   16077    $RM -r conftest 2>/dev/null
   16078    mkdir conftest
   16079    cd conftest
   16080    mkdir out
   16081    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16082 
   16083    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16084    # Insert the option either (1) after the last *FLAGS variable, or
   16085    # (2) before a word containing "conftest.", or (3) at the end.
   16086    # Note that $ac_compile itself does not contain backslashes and begins
   16087    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16088    lt_compile=`echo "$ac_compile" | $SED \
   16089    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16090    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16091    -e 's:$: $lt_compiler_flag:'`
   16092    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16093    (eval "$lt_compile" 2>out/conftest.err)
   16094    ac_status=$?
   16095    cat out/conftest.err >&5
   16096    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16097    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16098    then
   16099      # The compiler can only warn and ignore the option if not recognized
   16100      # So say no if there are warnings
   16101      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16102      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16103      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16104        lt_cv_prog_compiler_c_o=yes
   16105      fi
   16106    fi
   16107    chmod u+w . 2>&5
   16108    $RM conftest*
   16109    # SGI C++ compiler will create directory out/ii_files/ for
   16110    # template instantiation
   16111    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16112    $RM out/* && rmdir out
   16113    cd ..
   16114    $RM -r conftest
   16115    $RM conftest*
   16116 
   16117 fi
   16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16119 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16127 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16128 if ${lt_cv_prog_compiler_c_o+:} false; then :
   16129   $as_echo_n "(cached) " >&6
   16130 else
   16131   lt_cv_prog_compiler_c_o=no
   16132    $RM -r conftest 2>/dev/null
   16133    mkdir conftest
   16134    cd conftest
   16135    mkdir out
   16136    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16137 
   16138    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16139    # Insert the option either (1) after the last *FLAGS variable, or
   16140    # (2) before a word containing "conftest.", or (3) at the end.
   16141    # Note that $ac_compile itself does not contain backslashes and begins
   16142    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16143    lt_compile=`echo "$ac_compile" | $SED \
   16144    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16145    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16146    -e 's:$: $lt_compiler_flag:'`
   16147    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16148    (eval "$lt_compile" 2>out/conftest.err)
   16149    ac_status=$?
   16150    cat out/conftest.err >&5
   16151    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16152    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16153    then
   16154      # The compiler can only warn and ignore the option if not recognized
   16155      # So say no if there are warnings
   16156      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16157      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16158      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16159        lt_cv_prog_compiler_c_o=yes
   16160      fi
   16161    fi
   16162    chmod u+w . 2>&5
   16163    $RM conftest*
   16164    # SGI C++ compiler will create directory out/ii_files/ for
   16165    # template instantiation
   16166    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16167    $RM out/* && rmdir out
   16168    cd ..
   16169    $RM -r conftest
   16170    $RM conftest*
   16171 
   16172 fi
   16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16174 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   16175 
   16176 
   16177 
   16178 
   16179 hard_links=nottested
   16180 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16181   # do not overwrite the value of need_locks provided by the user
   16182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16183 $as_echo_n "checking if we can lock with hard links... " >&6; }
   16184   hard_links=yes
   16185   $RM conftest*
   16186   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16187   touch conftest.a
   16188   ln conftest.a conftest.b 2>&5 || hard_links=no
   16189   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16191 $as_echo "$hard_links" >&6; }
   16192   if test no = "$hard_links"; then
   16193     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16194 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16195     need_locks=warn
   16196   fi
   16197 else
   16198   need_locks=no
   16199 fi
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16207 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16208 
   16209   runpath_var=
   16210   allow_undefined_flag=
   16211   always_export_symbols=no
   16212   archive_cmds=
   16213   archive_expsym_cmds=
   16214   compiler_needs_object=no
   16215   enable_shared_with_static_runtimes=no
   16216   export_dynamic_flag_spec=
   16217   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16218   hardcode_automatic=no
   16219   hardcode_direct=no
   16220   hardcode_direct_absolute=no
   16221   hardcode_libdir_flag_spec=
   16222   hardcode_libdir_separator=
   16223   hardcode_minus_L=no
   16224   hardcode_shlibpath_var=unsupported
   16225   inherit_rpath=no
   16226   link_all_deplibs=unknown
   16227   module_cmds=
   16228   module_expsym_cmds=
   16229   old_archive_from_new_cmds=
   16230   old_archive_from_expsyms_cmds=
   16231   thread_safe_flag_spec=
   16232   whole_archive_flag_spec=
   16233   # include_expsyms should be a list of space-separated symbols to be *always*
   16234   # included in the symbol list
   16235   include_expsyms=
   16236   # exclude_expsyms can be an extended regexp of symbols to exclude
   16237   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16238   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16239   # as well as any symbol that contains 'd'.
   16240   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16241   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16242   # platforms (ab)use it in PIC code, but their linkers get confused if
   16243   # the symbol is explicitly referenced.  Since portable code cannot
   16244   # rely on this symbol name, it's probably fine to never include it in
   16245   # preloaded symbol tables.
   16246   # Exclude shared library initialization/finalization symbols.
   16247   extract_expsyms_cmds=
   16248 
   16249   case $host_os in
   16250   cygwin* | mingw* | pw32* | cegcc*)
   16251     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   16252     # When not using gcc, we currently assume that we are using
   16253     # Microsoft Visual C++.
   16254     if test yes != "$GCC"; then
   16255       with_gnu_ld=no
   16256     fi
   16257     ;;
   16258   interix*)
   16259     # we just hope/assume this is gcc and not c89 (= MSVC++)
   16260     with_gnu_ld=yes
   16261     ;;
   16262   openbsd* | bitrig*)
   16263     with_gnu_ld=no
   16264     ;;
   16265   esac
   16266 
   16267   ld_shlibs=yes
   16268 
   16269   # On some targets, GNU ld is compatible enough with the native linker
   16270   # that we're better off using the native interface for both.
   16271   lt_use_gnu_ld_interface=no
   16272   if test yes = "$with_gnu_ld"; then
   16273     case $host_os in
   16274       aix*)
   16275 	# The AIX port of GNU ld has always aspired to compatibility
   16276 	# with the native linker.  However, as the warning in the GNU ld
   16277 	# block says, versions before 2.19.5* couldn't really create working
   16278 	# shared libraries, regardless of the interface used.
   16279 	case `$LD -v 2>&1` in
   16280 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16281 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16282 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16283 	  *)
   16284 	    lt_use_gnu_ld_interface=yes
   16285 	    ;;
   16286 	esac
   16287 	;;
   16288       *)
   16289 	lt_use_gnu_ld_interface=yes
   16290 	;;
   16291     esac
   16292   fi
   16293 
   16294   if test yes = "$lt_use_gnu_ld_interface"; then
   16295     # If archive_cmds runs LD, not CC, wlarc should be empty
   16296     wlarc='$wl'
   16297 
   16298     # Set some defaults for GNU ld with shared library support. These
   16299     # are reset later if shared libraries are not supported. Putting them
   16300     # here allows them to be overridden if necessary.
   16301     runpath_var=LD_RUN_PATH
   16302     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16303     export_dynamic_flag_spec='$wl--export-dynamic'
   16304     # ancient GNU ld didn't support --whole-archive et. al.
   16305     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16306       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16307     else
   16308       whole_archive_flag_spec=
   16309     fi
   16310     supports_anon_versioning=no
   16311     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   16312       *GNU\ gold*) supports_anon_versioning=yes ;;
   16313       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16314       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16315       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16316       *\ 2.11.*) ;; # other 2.11 versions
   16317       *) supports_anon_versioning=yes ;;
   16318     esac
   16319 
   16320     # See if GNU ld supports shared libraries.
   16321     case $host_os in
   16322     aix[3-9]*)
   16323       # On AIX/PPC, the GNU linker is very broken
   16324       if test ia64 != "$host_cpu"; then
   16325 	ld_shlibs=no
   16326 	cat <<_LT_EOF 1>&2
   16327 
   16328 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16329 *** to be unable to reliably create shared libraries on AIX.
   16330 *** Therefore, libtool is disabling shared libraries support.  If you
   16331 *** really care for shared libraries, you may want to install binutils
   16332 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16333 *** You will then need to restart the configuration process.
   16334 
   16335 _LT_EOF
   16336       fi
   16337       ;;
   16338 
   16339     amigaos*)
   16340       case $host_cpu in
   16341       powerpc)
   16342             # see comment about AmigaOS4 .so support
   16343             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16344             archive_expsym_cmds=''
   16345         ;;
   16346       m68k)
   16347             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   16348             hardcode_libdir_flag_spec='-L$libdir'
   16349             hardcode_minus_L=yes
   16350         ;;
   16351       esac
   16352       ;;
   16353 
   16354     beos*)
   16355       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16356 	allow_undefined_flag=unsupported
   16357 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16358 	# support --undefined.  This deserves some investigation.  FIXME
   16359 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16360       else
   16361 	ld_shlibs=no
   16362       fi
   16363       ;;
   16364 
   16365     cygwin* | mingw* | pw32* | cegcc*)
   16366       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16367       # as there is no search path for DLLs.
   16368       hardcode_libdir_flag_spec='-L$libdir'
   16369       export_dynamic_flag_spec='$wl--export-all-symbols'
   16370       allow_undefined_flag=unsupported
   16371       always_export_symbols=no
   16372       enable_shared_with_static_runtimes=yes
   16373       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   16374       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16375 
   16376       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16377         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16378 	# If the export-symbols file already is a .def file, use it as
   16379 	# is; otherwise, prepend EXPORTS...
   16380 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16381           cp $export_symbols $output_objdir/$soname.def;
   16382         else
   16383           echo EXPORTS > $output_objdir/$soname.def;
   16384           cat $export_symbols >> $output_objdir/$soname.def;
   16385         fi~
   16386         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16387       else
   16388 	ld_shlibs=no
   16389       fi
   16390       ;;
   16391 
   16392     haiku*)
   16393       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16394       link_all_deplibs=yes
   16395       ;;
   16396 
   16397     os2*)
   16398       hardcode_libdir_flag_spec='-L$libdir'
   16399       hardcode_minus_L=yes
   16400       allow_undefined_flag=unsupported
   16401       shrext_cmds=.dll
   16402       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16403 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16404 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16405 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16406 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16407 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16408 	emximp -o $lib $output_objdir/$libname.def'
   16409       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16410 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16411 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16412 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16413 	prefix_cmds="$SED"~
   16414 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16415 	  prefix_cmds="$prefix_cmds -e 1d";
   16416 	fi~
   16417 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16418 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16419 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16420 	emximp -o $lib $output_objdir/$libname.def'
   16421       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16422       enable_shared_with_static_runtimes=yes
   16423       ;;
   16424 
   16425     interix[3-9]*)
   16426       hardcode_direct=no
   16427       hardcode_shlibpath_var=no
   16428       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16429       export_dynamic_flag_spec='$wl-E'
   16430       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16431       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16432       # default) and relocated if they conflict, which is a slow very memory
   16433       # consuming and fragmenting process.  To avoid this, we pick a random,
   16434       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16435       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16436       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16437       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16438       ;;
   16439 
   16440     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16441       tmp_diet=no
   16442       if test linux-dietlibc = "$host_os"; then
   16443 	case $cc_basename in
   16444 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16445 	esac
   16446       fi
   16447       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16448 	 && test no = "$tmp_diet"
   16449       then
   16450 	tmp_addflag=' $pic_flag'
   16451 	tmp_sharedflag='-shared'
   16452 	case $cc_basename,$host_cpu in
   16453         pgcc*)				# Portland Group C compiler
   16454 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   16455 	  tmp_addflag=' $pic_flag'
   16456 	  ;;
   16457 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16458 					# Portland Group f77 and f90 compilers
   16459 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   16460 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16461 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16462 	  tmp_addflag=' -i_dynamic' ;;
   16463 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16464 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16465 	ifc* | ifort*)			# Intel Fortran compiler
   16466 	  tmp_addflag=' -nofor_main' ;;
   16467 	lf95*)				# Lahey Fortran 8.1
   16468 	  whole_archive_flag_spec=
   16469 	  tmp_sharedflag='--shared' ;;
   16470         nagfor*)                        # NAGFOR 5.3
   16471           tmp_sharedflag='-Wl,-shared' ;;
   16472 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16473 	  tmp_sharedflag='-qmkshrobj'
   16474 	  tmp_addflag= ;;
   16475 	nvcc*)	# Cuda Compiler Driver 2.2
   16476 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   16477 	  compiler_needs_object=yes
   16478 	  ;;
   16479 	esac
   16480 	case `$CC -V 2>&1 | sed 5q` in
   16481 	*Sun\ C*)			# Sun C 5.9
   16482 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   16483 	  compiler_needs_object=yes
   16484 	  tmp_sharedflag='-G' ;;
   16485 	*Sun\ F*)			# Sun Fortran 8.3
   16486 	  tmp_sharedflag='-G' ;;
   16487 	esac
   16488 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16489 
   16490         if test yes = "$supports_anon_versioning"; then
   16491           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16492             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16493             echo "local: *; };" >> $output_objdir/$libname.ver~
   16494             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16495         fi
   16496 
   16497 	case $cc_basename in
   16498 	tcc*)
   16499 	  export_dynamic_flag_spec='-rdynamic'
   16500 	  ;;
   16501 	xlf* | bgf* | bgxlf* | mpixlf*)
   16502 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16503 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16504 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16505 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16506 	  if test yes = "$supports_anon_versioning"; then
   16507 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16508               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16509               echo "local: *; };" >> $output_objdir/$libname.ver~
   16510               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16511 	  fi
   16512 	  ;;
   16513 	esac
   16514       else
   16515         ld_shlibs=no
   16516       fi
   16517       ;;
   16518 
   16519     netbsd*)
   16520       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16521 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16522 	wlarc=
   16523       else
   16524 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16525 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16526       fi
   16527       ;;
   16528 
   16529     solaris*)
   16530       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16531 	ld_shlibs=no
   16532 	cat <<_LT_EOF 1>&2
   16533 
   16534 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16535 *** create shared libraries on Solaris systems.  Therefore, libtool
   16536 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16537 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16538 *** your PATH or compiler configuration so that the native linker is
   16539 *** used, and then restart.
   16540 
   16541 _LT_EOF
   16542       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16543 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16544 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16545       else
   16546 	ld_shlibs=no
   16547       fi
   16548       ;;
   16549 
   16550     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16551       case `$LD -v 2>&1` in
   16552         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16553 	ld_shlibs=no
   16554 	cat <<_LT_EOF 1>&2
   16555 
   16556 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16557 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16558 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16559 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16560 *** your PATH or compiler configuration so that the native linker is
   16561 *** used, and then restart.
   16562 
   16563 _LT_EOF
   16564 	;;
   16565 	*)
   16566 	  # For security reasons, it is highly recommended that you always
   16567 	  # use absolute paths for naming shared libraries, and exclude the
   16568 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16569 	  # requires that you compile everything twice, which is a pain.
   16570 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16571 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16572 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16573 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16574 	  else
   16575 	    ld_shlibs=no
   16576 	  fi
   16577 	;;
   16578       esac
   16579       ;;
   16580 
   16581     sunos4*)
   16582       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16583       wlarc=
   16584       hardcode_direct=yes
   16585       hardcode_shlibpath_var=no
   16586       ;;
   16587 
   16588     *)
   16589       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16590 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16591 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16592       else
   16593 	ld_shlibs=no
   16594       fi
   16595       ;;
   16596     esac
   16597 
   16598     if test no = "$ld_shlibs"; then
   16599       runpath_var=
   16600       hardcode_libdir_flag_spec=
   16601       export_dynamic_flag_spec=
   16602       whole_archive_flag_spec=
   16603     fi
   16604   else
   16605     # PORTME fill in a description of your system's linker (not GNU ld)
   16606     case $host_os in
   16607     aix3*)
   16608       allow_undefined_flag=unsupported
   16609       always_export_symbols=yes
   16610       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   16611       # Note: this linker hardcodes the directories in LIBPATH if there
   16612       # are no directories specified by -L.
   16613       hardcode_minus_L=yes
   16614       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16615 	# Neither direct hardcoding nor static linking is supported with a
   16616 	# broken collect2.
   16617 	hardcode_direct=unsupported
   16618       fi
   16619       ;;
   16620 
   16621     aix[4-9]*)
   16622       if test ia64 = "$host_cpu"; then
   16623 	# On IA64, the linker does run time linking by default, so we don't
   16624 	# have to do anything special.
   16625 	aix_use_runtimelinking=no
   16626 	exp_sym_flag='-Bexport'
   16627 	no_entry_flag=
   16628       else
   16629 	# If we're using GNU nm, then we don't want the "-C" option.
   16630 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16631 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16632 	# weak defined symbols like other global defined symbols, whereas
   16633 	# GNU nm marks them as "W".
   16634 	# While the 'weak' keyword is ignored in the Export File, we need
   16635 	# it in the Import File for the 'aix-soname' feature, so we have
   16636 	# to replace the "-B" option with "-P" for AIX nm.
   16637 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16638 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   16639 	else
   16640 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   16641 	fi
   16642 	aix_use_runtimelinking=no
   16643 
   16644 	# Test if we are trying to use run time linking or normal
   16645 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16646 	# have runtime linking enabled, and use it for executables.
   16647 	# For shared libraries, we enable/disable runtime linking
   16648 	# depending on the kind of the shared library created -
   16649 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16650 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16651 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16652 	#            lib.a           static archive
   16653 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16654 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16655 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16656 	#            lib.a(lib.so.V) shared, rtl:no
   16657 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16658 	#            lib.a           static archive
   16659 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16660 	  for ld_flag in $LDFLAGS; do
   16661 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16662 	    aix_use_runtimelinking=yes
   16663 	    break
   16664 	  fi
   16665 	  done
   16666 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16667 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16668 	    # so we don't have lib.a shared libs to link our executables.
   16669 	    # We have to force runtime linking in this case.
   16670 	    aix_use_runtimelinking=yes
   16671 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16672 	  fi
   16673 	  ;;
   16674 	esac
   16675 
   16676 	exp_sym_flag='-bexport'
   16677 	no_entry_flag='-bnoentry'
   16678       fi
   16679 
   16680       # When large executables or shared objects are built, AIX ld can
   16681       # have problems creating the table of contents.  If linking a library
   16682       # or program results in "error TOC overflow" add -mminimal-toc to
   16683       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16684       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16685 
   16686       archive_cmds=''
   16687       hardcode_direct=yes
   16688       hardcode_direct_absolute=yes
   16689       hardcode_libdir_separator=':'
   16690       link_all_deplibs=yes
   16691       file_list_spec='$wl-f,'
   16692       case $with_aix_soname,$aix_use_runtimelinking in
   16693       aix,*) ;; # traditional, no import file
   16694       svr4,* | *,yes) # use import file
   16695 	# The Import File defines what to hardcode.
   16696 	hardcode_direct=no
   16697 	hardcode_direct_absolute=no
   16698 	;;
   16699       esac
   16700 
   16701       if test yes = "$GCC"; then
   16702 	case $host_os in aix4.[012]|aix4.[012].*)
   16703 	# We only want to do this on AIX 4.2 and lower, the check
   16704 	# below for broken collect2 doesn't work under 4.3+
   16705 	  collect2name=`$CC -print-prog-name=collect2`
   16706 	  if test -f "$collect2name" &&
   16707 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16708 	  then
   16709 	  # We have reworked collect2
   16710 	  :
   16711 	  else
   16712 	  # We have old collect2
   16713 	  hardcode_direct=unsupported
   16714 	  # It fails to find uninstalled libraries when the uninstalled
   16715 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16716 	  # to unsupported forces relinking
   16717 	  hardcode_minus_L=yes
   16718 	  hardcode_libdir_flag_spec='-L$libdir'
   16719 	  hardcode_libdir_separator=
   16720 	  fi
   16721 	  ;;
   16722 	esac
   16723 	shared_flag='-shared'
   16724 	if test yes = "$aix_use_runtimelinking"; then
   16725 	  shared_flag="$shared_flag "'$wl-G'
   16726 	fi
   16727 	# Need to ensure runtime linking is disabled for the traditional
   16728 	# shared library, or the linker may eventually find shared libraries
   16729 	# /with/ Import File - we do not want to mix them.
   16730 	shared_flag_aix='-shared'
   16731 	shared_flag_svr4='-shared $wl-G'
   16732       else
   16733 	# not using gcc
   16734 	if test ia64 = "$host_cpu"; then
   16735 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16736 	# chokes on -Wl,-G. The following line is correct:
   16737 	  shared_flag='-G'
   16738 	else
   16739 	  if test yes = "$aix_use_runtimelinking"; then
   16740 	    shared_flag='$wl-G'
   16741 	  else
   16742 	    shared_flag='$wl-bM:SRE'
   16743 	  fi
   16744 	  shared_flag_aix='$wl-bM:SRE'
   16745 	  shared_flag_svr4='$wl-G'
   16746 	fi
   16747       fi
   16748 
   16749       export_dynamic_flag_spec='$wl-bexpall'
   16750       # It seems that -bexpall does not export symbols beginning with
   16751       # underscore (_), so it is better to generate a list of symbols to export.
   16752       always_export_symbols=yes
   16753       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16754 	# Warning - without using the other runtime loading flags (-brtl),
   16755 	# -berok will link without error, but may produce a broken library.
   16756 	allow_undefined_flag='-berok'
   16757         # Determine the default libpath from the value encoded in an
   16758         # empty executable.
   16759         if test set = "${lt_cv_aix_libpath+set}"; then
   16760   aix_libpath=$lt_cv_aix_libpath
   16761 else
   16762   if ${lt_cv_aix_libpath_+:} false; then :
   16763   $as_echo_n "(cached) " >&6
   16764 else
   16765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16766 /* end confdefs.h.  */
   16767 
   16768 int
   16769 main ()
   16770 {
   16771 
   16772   ;
   16773   return 0;
   16774 }
   16775 _ACEOF
   16776 if ac_fn_c_try_link "$LINENO"; then :
   16777 
   16778   lt_aix_libpath_sed='
   16779       /Import File Strings/,/^$/ {
   16780 	  /^0/ {
   16781 	      s/^0  *\([^ ]*\) *$/\1/
   16782 	      p
   16783 	  }
   16784       }'
   16785   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16786   # Check for a 64-bit object if we didn't find anything.
   16787   if test -z "$lt_cv_aix_libpath_"; then
   16788     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16789   fi
   16790 fi
   16791 rm -f core conftest.err conftest.$ac_objext \
   16792     conftest$ac_exeext conftest.$ac_ext
   16793   if test -z "$lt_cv_aix_libpath_"; then
   16794     lt_cv_aix_libpath_=/usr/lib:/lib
   16795   fi
   16796 
   16797 fi
   16798 
   16799   aix_libpath=$lt_cv_aix_libpath_
   16800 fi
   16801 
   16802         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16803         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   16804       else
   16805 	if test ia64 = "$host_cpu"; then
   16806 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16807 	  allow_undefined_flag="-z nodefs"
   16808 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   16809 	else
   16810 	 # Determine the default libpath from the value encoded in an
   16811 	 # empty executable.
   16812 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16813   aix_libpath=$lt_cv_aix_libpath
   16814 else
   16815   if ${lt_cv_aix_libpath_+:} false; then :
   16816   $as_echo_n "(cached) " >&6
   16817 else
   16818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16819 /* end confdefs.h.  */
   16820 
   16821 int
   16822 main ()
   16823 {
   16824 
   16825   ;
   16826   return 0;
   16827 }
   16828 _ACEOF
   16829 if ac_fn_c_try_link "$LINENO"; then :
   16830 
   16831   lt_aix_libpath_sed='
   16832       /Import File Strings/,/^$/ {
   16833 	  /^0/ {
   16834 	      s/^0  *\([^ ]*\) *$/\1/
   16835 	      p
   16836 	  }
   16837       }'
   16838   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16839   # Check for a 64-bit object if we didn't find anything.
   16840   if test -z "$lt_cv_aix_libpath_"; then
   16841     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16842   fi
   16843 fi
   16844 rm -f core conftest.err conftest.$ac_objext \
   16845     conftest$ac_exeext conftest.$ac_ext
   16846   if test -z "$lt_cv_aix_libpath_"; then
   16847     lt_cv_aix_libpath_=/usr/lib:/lib
   16848   fi
   16849 
   16850 fi
   16851 
   16852   aix_libpath=$lt_cv_aix_libpath_
   16853 fi
   16854 
   16855 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16856 	  # Warning - without using the other run time loading flags,
   16857 	  # -berok will link without error, but may produce a broken library.
   16858 	  no_undefined_flag=' $wl-bernotok'
   16859 	  allow_undefined_flag=' $wl-berok'
   16860 	  if test yes = "$with_gnu_ld"; then
   16861 	    # We only use this code for GNU lds that support --whole-archive.
   16862 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16863 	  else
   16864 	    # Exported symbols can be pulled into shared objects from archives
   16865 	    whole_archive_flag_spec='$convenience'
   16866 	  fi
   16867 	  archive_cmds_need_lc=yes
   16868 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16869 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16870 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16871 	  if test svr4 != "$with_aix_soname"; then
   16872 	    # This is similar to how AIX traditionally builds its shared libraries.
   16873 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   16874 	  fi
   16875 	  if test aix != "$with_aix_soname"; then
   16876 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   16877 	  else
   16878 	    # used by -dlpreopen to get the symbols
   16879 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16880 	  fi
   16881 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16882 	fi
   16883       fi
   16884       ;;
   16885 
   16886     amigaos*)
   16887       case $host_cpu in
   16888       powerpc)
   16889             # see comment about AmigaOS4 .so support
   16890             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16891             archive_expsym_cmds=''
   16892         ;;
   16893       m68k)
   16894             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   16895             hardcode_libdir_flag_spec='-L$libdir'
   16896             hardcode_minus_L=yes
   16897         ;;
   16898       esac
   16899       ;;
   16900 
   16901     bsdi[45]*)
   16902       export_dynamic_flag_spec=-rdynamic
   16903       ;;
   16904 
   16905     cygwin* | mingw* | pw32* | cegcc*)
   16906       # When not using gcc, we currently assume that we are using
   16907       # Microsoft Visual C++.
   16908       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16909       # no search path for DLLs.
   16910       case $cc_basename in
   16911       cl*)
   16912 	# Native MSVC
   16913 	hardcode_libdir_flag_spec=' '
   16914 	allow_undefined_flag=unsupported
   16915 	always_export_symbols=yes
   16916 	file_list_spec='@'
   16917 	# Tell ltmain to make .lib files, not .a files.
   16918 	libext=lib
   16919 	# Tell ltmain to make .dll files, not .so files.
   16920 	shrext_cmds=.dll
   16921 	# FIXME: Setting linknames here is a bad hack.
   16922 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16923 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16924             cp "$export_symbols" "$output_objdir/$soname.def";
   16925             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16926           else
   16927             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16928           fi~
   16929           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16930           linknames='
   16931 	# The linker will not automatically build a static lib if we build a DLL.
   16932 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16933 	enable_shared_with_static_runtimes=yes
   16934 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16935 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16936 	# Don't use ranlib
   16937 	old_postinstall_cmds='chmod 644 $oldlib'
   16938 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16939           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16940           case $lt_outputfile in
   16941             *.exe|*.EXE) ;;
   16942             *)
   16943               lt_outputfile=$lt_outputfile.exe
   16944               lt_tool_outputfile=$lt_tool_outputfile.exe
   16945               ;;
   16946           esac~
   16947           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16948             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16949             $RM "$lt_outputfile.manifest";
   16950           fi'
   16951 	;;
   16952       *)
   16953 	# Assume MSVC wrapper
   16954 	hardcode_libdir_flag_spec=' '
   16955 	allow_undefined_flag=unsupported
   16956 	# Tell ltmain to make .lib files, not .a files.
   16957 	libext=lib
   16958 	# Tell ltmain to make .dll files, not .so files.
   16959 	shrext_cmds=.dll
   16960 	# FIXME: Setting linknames here is a bad hack.
   16961 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16962 	# The linker will automatically build a .lib file if we build a DLL.
   16963 	old_archive_from_new_cmds='true'
   16964 	# FIXME: Should let the user specify the lib program.
   16965 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16966 	enable_shared_with_static_runtimes=yes
   16967 	;;
   16968       esac
   16969       ;;
   16970 
   16971     darwin* | rhapsody*)
   16972 
   16973 
   16974   archive_cmds_need_lc=no
   16975   hardcode_direct=no
   16976   hardcode_automatic=yes
   16977   hardcode_shlibpath_var=unsupported
   16978   if test yes = "$lt_cv_ld_force_load"; then
   16979     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   16980 
   16981   else
   16982     whole_archive_flag_spec=''
   16983   fi
   16984   link_all_deplibs=yes
   16985   allow_undefined_flag=$_lt_dar_allow_undefined
   16986   case $cc_basename in
   16987      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16988      *) _lt_dar_can_shared=$GCC ;;
   16989   esac
   16990   if test yes = "$_lt_dar_can_shared"; then
   16991     output_verbose_link_cmd=func_echo_all
   16992     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16993     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16994     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   16995     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   16996 
   16997   else
   16998   ld_shlibs=no
   16999   fi
   17000 
   17001       ;;
   17002 
   17003     dgux*)
   17004       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17005       hardcode_libdir_flag_spec='-L$libdir'
   17006       hardcode_shlibpath_var=no
   17007       ;;
   17008 
   17009     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17010     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17011     # does not break anything, and helps significantly (at the cost of a little
   17012     # extra space).
   17013     freebsd2.2*)
   17014       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17015       hardcode_libdir_flag_spec='-R$libdir'
   17016       hardcode_direct=yes
   17017       hardcode_shlibpath_var=no
   17018       ;;
   17019 
   17020     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17021     freebsd2.*)
   17022       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17023       hardcode_direct=yes
   17024       hardcode_minus_L=yes
   17025       hardcode_shlibpath_var=no
   17026       ;;
   17027 
   17028     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17029     freebsd* | dragonfly*)
   17030       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17031       hardcode_libdir_flag_spec='-R$libdir'
   17032       hardcode_direct=yes
   17033       hardcode_shlibpath_var=no
   17034       ;;
   17035 
   17036     hpux9*)
   17037       if test yes = "$GCC"; then
   17038 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   17039       else
   17040 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   17041       fi
   17042       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17043       hardcode_libdir_separator=:
   17044       hardcode_direct=yes
   17045 
   17046       # hardcode_minus_L: Not really in the search PATH,
   17047       # but as the default location of the library.
   17048       hardcode_minus_L=yes
   17049       export_dynamic_flag_spec='$wl-E'
   17050       ;;
   17051 
   17052     hpux10*)
   17053       if test yes,no = "$GCC,$with_gnu_ld"; then
   17054 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17055       else
   17056 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17057       fi
   17058       if test no = "$with_gnu_ld"; then
   17059 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17060 	hardcode_libdir_separator=:
   17061 	hardcode_direct=yes
   17062 	hardcode_direct_absolute=yes
   17063 	export_dynamic_flag_spec='$wl-E'
   17064 	# hardcode_minus_L: Not really in the search PATH,
   17065 	# but as the default location of the library.
   17066 	hardcode_minus_L=yes
   17067       fi
   17068       ;;
   17069 
   17070     hpux11*)
   17071       if test yes,no = "$GCC,$with_gnu_ld"; then
   17072 	case $host_cpu in
   17073 	hppa*64*)
   17074 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17075 	  ;;
   17076 	ia64*)
   17077 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17078 	  ;;
   17079 	*)
   17080 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17081 	  ;;
   17082 	esac
   17083       else
   17084 	case $host_cpu in
   17085 	hppa*64*)
   17086 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17087 	  ;;
   17088 	ia64*)
   17089 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17090 	  ;;
   17091 	*)
   17092 
   17093 	  # Older versions of the 11.00 compiler do not understand -b yet
   17094 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17095 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17096 $as_echo_n "checking if $CC understands -b... " >&6; }
   17097 if ${lt_cv_prog_compiler__b+:} false; then :
   17098   $as_echo_n "(cached) " >&6
   17099 else
   17100   lt_cv_prog_compiler__b=no
   17101    save_LDFLAGS=$LDFLAGS
   17102    LDFLAGS="$LDFLAGS -b"
   17103    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17104    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17105      # The linker can only warn and ignore the option if not recognized
   17106      # So say no if there are warnings
   17107      if test -s conftest.err; then
   17108        # Append any errors to the config.log.
   17109        cat conftest.err 1>&5
   17110        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17111        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17112        if diff conftest.exp conftest.er2 >/dev/null; then
   17113          lt_cv_prog_compiler__b=yes
   17114        fi
   17115      else
   17116        lt_cv_prog_compiler__b=yes
   17117      fi
   17118    fi
   17119    $RM -r conftest*
   17120    LDFLAGS=$save_LDFLAGS
   17121 
   17122 fi
   17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17124 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   17125 
   17126 if test yes = "$lt_cv_prog_compiler__b"; then
   17127     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17128 else
   17129     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17130 fi
   17131 
   17132 	  ;;
   17133 	esac
   17134       fi
   17135       if test no = "$with_gnu_ld"; then
   17136 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17137 	hardcode_libdir_separator=:
   17138 
   17139 	case $host_cpu in
   17140 	hppa*64*|ia64*)
   17141 	  hardcode_direct=no
   17142 	  hardcode_shlibpath_var=no
   17143 	  ;;
   17144 	*)
   17145 	  hardcode_direct=yes
   17146 	  hardcode_direct_absolute=yes
   17147 	  export_dynamic_flag_spec='$wl-E'
   17148 
   17149 	  # hardcode_minus_L: Not really in the search PATH,
   17150 	  # but as the default location of the library.
   17151 	  hardcode_minus_L=yes
   17152 	  ;;
   17153 	esac
   17154       fi
   17155       ;;
   17156 
   17157     irix5* | irix6* | nonstopux*)
   17158       if test yes = "$GCC"; then
   17159 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   17160 	# Try to use the -exported_symbol ld option, if it does not
   17161 	# work, assume that -exports_file does not work either and
   17162 	# implicitly export all symbols.
   17163 	# This should be the same for all languages, so no per-tag cache variable.
   17164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17165 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17166 if ${lt_cv_irix_exported_symbol+:} false; then :
   17167   $as_echo_n "(cached) " >&6
   17168 else
   17169   save_LDFLAGS=$LDFLAGS
   17170 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17171 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17172 /* end confdefs.h.  */
   17173 int foo (void) { return 0; }
   17174 _ACEOF
   17175 if ac_fn_c_try_link "$LINENO"; then :
   17176   lt_cv_irix_exported_symbol=yes
   17177 else
   17178   lt_cv_irix_exported_symbol=no
   17179 fi
   17180 rm -f core conftest.err conftest.$ac_objext \
   17181     conftest$ac_exeext conftest.$ac_ext
   17182            LDFLAGS=$save_LDFLAGS
   17183 fi
   17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17185 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   17186 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17187           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   17188 	fi
   17189       else
   17190 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17191 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
   17192       fi
   17193       archive_cmds_need_lc='no'
   17194       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17195       hardcode_libdir_separator=:
   17196       inherit_rpath=yes
   17197       link_all_deplibs=yes
   17198       ;;
   17199 
   17200     linux*)
   17201       case $cc_basename in
   17202       tcc*)
   17203 	# Fabrice Bellard et al's Tiny C Compiler
   17204 	ld_shlibs=yes
   17205 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17206 	;;
   17207       esac
   17208       ;;
   17209 
   17210     netbsd*)
   17211       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17212 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17213       else
   17214 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17215       fi
   17216       hardcode_libdir_flag_spec='-R$libdir'
   17217       hardcode_direct=yes
   17218       hardcode_shlibpath_var=no
   17219       ;;
   17220 
   17221     newsos6)
   17222       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17223       hardcode_direct=yes
   17224       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17225       hardcode_libdir_separator=:
   17226       hardcode_shlibpath_var=no
   17227       ;;
   17228 
   17229     *nto* | *qnx*)
   17230       ;;
   17231 
   17232     openbsd* | bitrig*)
   17233       if test -f /usr/libexec/ld.so; then
   17234 	hardcode_direct=yes
   17235 	hardcode_shlibpath_var=no
   17236 	hardcode_direct_absolute=yes
   17237 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17238 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17239 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17240 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17241 	  export_dynamic_flag_spec='$wl-E'
   17242 	else
   17243 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17244 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17245 	fi
   17246       else
   17247 	ld_shlibs=no
   17248       fi
   17249       ;;
   17250 
   17251     os2*)
   17252       hardcode_libdir_flag_spec='-L$libdir'
   17253       hardcode_minus_L=yes
   17254       allow_undefined_flag=unsupported
   17255       shrext_cmds=.dll
   17256       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17257 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17258 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17259 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17260 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17261 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17262 	emximp -o $lib $output_objdir/$libname.def'
   17263       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17264 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17265 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17266 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17267 	prefix_cmds="$SED"~
   17268 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17269 	  prefix_cmds="$prefix_cmds -e 1d";
   17270 	fi~
   17271 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17272 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17273 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17274 	emximp -o $lib $output_objdir/$libname.def'
   17275       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17276       enable_shared_with_static_runtimes=yes
   17277       ;;
   17278 
   17279     osf3*)
   17280       if test yes = "$GCC"; then
   17281 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17282 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   17283       else
   17284 	allow_undefined_flag=' -expect_unresolved \*'
   17285 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17286       fi
   17287       archive_cmds_need_lc='no'
   17288       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17289       hardcode_libdir_separator=:
   17290       ;;
   17291 
   17292     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17293       if test yes = "$GCC"; then
   17294 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17295 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   17296 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17297       else
   17298 	allow_undefined_flag=' -expect_unresolved \*'
   17299 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   17300 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   17301           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   17302 
   17303 	# Both c and cxx compiler support -rpath directly
   17304 	hardcode_libdir_flag_spec='-rpath $libdir'
   17305       fi
   17306       archive_cmds_need_lc='no'
   17307       hardcode_libdir_separator=:
   17308       ;;
   17309 
   17310     solaris*)
   17311       no_undefined_flag=' -z defs'
   17312       if test yes = "$GCC"; then
   17313 	wlarc='$wl'
   17314 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17315 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17316           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17317       else
   17318 	case `$CC -V 2>&1` in
   17319 	*"Compilers 5.0"*)
   17320 	  wlarc=''
   17321 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17322 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17323             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17324 	  ;;
   17325 	*)
   17326 	  wlarc='$wl'
   17327 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17328 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17329             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17330 	  ;;
   17331 	esac
   17332       fi
   17333       hardcode_libdir_flag_spec='-R$libdir'
   17334       hardcode_shlibpath_var=no
   17335       case $host_os in
   17336       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17337       *)
   17338 	# The compiler driver will combine and reorder linker options,
   17339 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17340 	# but is careful enough not to reorder.
   17341 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17342 	if test yes = "$GCC"; then
   17343 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17344 	else
   17345 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17346 	fi
   17347 	;;
   17348       esac
   17349       link_all_deplibs=yes
   17350       ;;
   17351 
   17352     sunos4*)
   17353       if test sequent = "$host_vendor"; then
   17354 	# Use $CC to link under sequent, because it throws in some extra .o
   17355 	# files that make .init and .fini sections work.
   17356 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17357       else
   17358 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17359       fi
   17360       hardcode_libdir_flag_spec='-L$libdir'
   17361       hardcode_direct=yes
   17362       hardcode_minus_L=yes
   17363       hardcode_shlibpath_var=no
   17364       ;;
   17365 
   17366     sysv4)
   17367       case $host_vendor in
   17368 	sni)
   17369 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17370 	  hardcode_direct=yes # is this really true???
   17371 	;;
   17372 	siemens)
   17373 	  ## LD is ld it makes a PLAMLIB
   17374 	  ## CC just makes a GrossModule.
   17375 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17376 	  reload_cmds='$CC -r -o $output$reload_objs'
   17377 	  hardcode_direct=no
   17378         ;;
   17379 	motorola)
   17380 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17381 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17382 	;;
   17383       esac
   17384       runpath_var='LD_RUN_PATH'
   17385       hardcode_shlibpath_var=no
   17386       ;;
   17387 
   17388     sysv4.3*)
   17389       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17390       hardcode_shlibpath_var=no
   17391       export_dynamic_flag_spec='-Bexport'
   17392       ;;
   17393 
   17394     sysv4*MP*)
   17395       if test -d /usr/nec; then
   17396 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17397 	hardcode_shlibpath_var=no
   17398 	runpath_var=LD_RUN_PATH
   17399 	hardcode_runpath_var=yes
   17400 	ld_shlibs=yes
   17401       fi
   17402       ;;
   17403 
   17404     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17405       no_undefined_flag='$wl-z,text'
   17406       archive_cmds_need_lc=no
   17407       hardcode_shlibpath_var=no
   17408       runpath_var='LD_RUN_PATH'
   17409 
   17410       if test yes = "$GCC"; then
   17411 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17412 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17413       else
   17414 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17415 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17416       fi
   17417       ;;
   17418 
   17419     sysv5* | sco3.2v5* | sco5v6*)
   17420       # Note: We CANNOT use -z defs as we might desire, because we do not
   17421       # link with -lc, and that would cause any symbols used from libc to
   17422       # always be unresolved, which means just about no library would
   17423       # ever link correctly.  If we're not using GNU ld we use -z text
   17424       # though, which does catch some bad symbols but isn't as heavy-handed
   17425       # as -z defs.
   17426       no_undefined_flag='$wl-z,text'
   17427       allow_undefined_flag='$wl-z,nodefs'
   17428       archive_cmds_need_lc=no
   17429       hardcode_shlibpath_var=no
   17430       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17431       hardcode_libdir_separator=':'
   17432       link_all_deplibs=yes
   17433       export_dynamic_flag_spec='$wl-Bexport'
   17434       runpath_var='LD_RUN_PATH'
   17435 
   17436       if test yes = "$GCC"; then
   17437 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17438 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17439       else
   17440 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17441 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17442       fi
   17443       ;;
   17444 
   17445     uts4*)
   17446       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17447       hardcode_libdir_flag_spec='-L$libdir'
   17448       hardcode_shlibpath_var=no
   17449       ;;
   17450 
   17451     *)
   17452       ld_shlibs=no
   17453       ;;
   17454     esac
   17455 
   17456     if test sni = "$host_vendor"; then
   17457       case $host in
   17458       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17459 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17460 	;;
   17461       esac
   17462     fi
   17463   fi
   17464 
   17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17466 $as_echo "$ld_shlibs" >&6; }
   17467 test no = "$ld_shlibs" && can_build_shared=no
   17468 
   17469 with_gnu_ld=$with_gnu_ld
   17470 
   17471 
   17472 
   17473 
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 #
   17486 # Do we need to explicitly link libc?
   17487 #
   17488 case "x$archive_cmds_need_lc" in
   17489 x|xyes)
   17490   # Assume -lc should be added
   17491   archive_cmds_need_lc=yes
   17492 
   17493   if test yes,yes = "$GCC,$enable_shared"; then
   17494     case $archive_cmds in
   17495     *'~'*)
   17496       # FIXME: we may have to deal with multi-command sequences.
   17497       ;;
   17498     '$CC '*)
   17499       # Test whether the compiler implicitly links with -lc since on some
   17500       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17501       # to ld, don't add -lc before -lgcc.
   17502       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17503 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   17504 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   17505   $as_echo_n "(cached) " >&6
   17506 else
   17507   $RM conftest*
   17508 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17509 
   17510 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17511   (eval $ac_compile) 2>&5
   17512   ac_status=$?
   17513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17514   test $ac_status = 0; } 2>conftest.err; then
   17515 	  soname=conftest
   17516 	  lib=conftest
   17517 	  libobjs=conftest.$ac_objext
   17518 	  deplibs=
   17519 	  wl=$lt_prog_compiler_wl
   17520 	  pic_flag=$lt_prog_compiler_pic
   17521 	  compiler_flags=-v
   17522 	  linker_flags=-v
   17523 	  verstring=
   17524 	  output_objdir=.
   17525 	  libname=conftest
   17526 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17527 	  allow_undefined_flag=
   17528 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17529   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17530   ac_status=$?
   17531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17532   test $ac_status = 0; }
   17533 	  then
   17534 	    lt_cv_archive_cmds_need_lc=no
   17535 	  else
   17536 	    lt_cv_archive_cmds_need_lc=yes
   17537 	  fi
   17538 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17539 	else
   17540 	  cat conftest.err 1>&5
   17541 	fi
   17542 	$RM conftest*
   17543 
   17544 fi
   17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17546 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   17547       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17548       ;;
   17549     esac
   17550   fi
   17551   ;;
   17552 esac
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17706 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   17707 
   17708 if test yes = "$GCC"; then
   17709   case $host_os in
   17710     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17711     *) lt_awk_arg='/^libraries:/' ;;
   17712   esac
   17713   case $host_os in
   17714     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17715     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17716   esac
   17717   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17718   case $lt_search_path_spec in
   17719   *\;*)
   17720     # if the path contains ";" then we assume it to be the separator
   17721     # otherwise default to the standard path separator (i.e. ":") - it is
   17722     # assumed that no part of a normal pathname contains ";" but that should
   17723     # okay in the real world where ";" in dirpaths is itself problematic.
   17724     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17725     ;;
   17726   *)
   17727     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17728     ;;
   17729   esac
   17730   # Ok, now we have the path, separated by spaces, we can step through it
   17731   # and add multilib dir if necessary...
   17732   lt_tmp_lt_search_path_spec=
   17733   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17734   # ...but if some path component already ends with the multilib dir we assume
   17735   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17736   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17737   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17738     lt_multi_os_dir=
   17739     ;;
   17740   esac
   17741   for lt_sys_path in $lt_search_path_spec; do
   17742     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17743       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17744     elif test -n "$lt_multi_os_dir"; then
   17745       test -d "$lt_sys_path" && \
   17746 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17747     fi
   17748   done
   17749   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17750 BEGIN {RS = " "; FS = "/|\n";} {
   17751   lt_foo = "";
   17752   lt_count = 0;
   17753   for (lt_i = NF; lt_i > 0; lt_i--) {
   17754     if ($lt_i != "" && $lt_i != ".") {
   17755       if ($lt_i == "..") {
   17756         lt_count++;
   17757       } else {
   17758         if (lt_count == 0) {
   17759           lt_foo = "/" $lt_i lt_foo;
   17760         } else {
   17761           lt_count--;
   17762         }
   17763       }
   17764     }
   17765   }
   17766   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17767   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17768 }'`
   17769   # AWK program above erroneously prepends '/' to C:/dos/paths
   17770   # for these hosts.
   17771   case $host_os in
   17772     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17773       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17774   esac
   17775   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17776 else
   17777   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17778 fi
   17779 library_names_spec=
   17780 libname_spec='lib$name'
   17781 soname_spec=
   17782 shrext_cmds=.so
   17783 postinstall_cmds=
   17784 postuninstall_cmds=
   17785 finish_cmds=
   17786 finish_eval=
   17787 shlibpath_var=
   17788 shlibpath_overrides_runpath=unknown
   17789 version_type=none
   17790 dynamic_linker="$host_os ld.so"
   17791 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17792 need_lib_prefix=unknown
   17793 hardcode_into_libs=no
   17794 
   17795 # when you set need_version to no, make sure it does not cause -set_version
   17796 # flags to be left without arguments
   17797 need_version=unknown
   17798 
   17799 
   17800 
   17801 case $host_os in
   17802 aix3*)
   17803   version_type=linux # correct to gnu/linux during the next big refactor
   17804   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17805   shlibpath_var=LIBPATH
   17806 
   17807   # AIX 3 has no versioning support, so we append a major version to the name.
   17808   soname_spec='$libname$release$shared_ext$major'
   17809   ;;
   17810 
   17811 aix[4-9]*)
   17812   version_type=linux # correct to gnu/linux during the next big refactor
   17813   need_lib_prefix=no
   17814   need_version=no
   17815   hardcode_into_libs=yes
   17816   if test ia64 = "$host_cpu"; then
   17817     # AIX 5 supports IA64
   17818     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17819     shlibpath_var=LD_LIBRARY_PATH
   17820   else
   17821     # With GCC up to 2.95.x, collect2 would create an import file
   17822     # for dependence libraries.  The import file would start with
   17823     # the line '#! .'.  This would cause the generated library to
   17824     # depend on '.', always an invalid library.  This was fixed in
   17825     # development snapshots of GCC prior to 3.0.
   17826     case $host_os in
   17827       aix4 | aix4.[01] | aix4.[01].*)
   17828       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17829 	   echo ' yes '
   17830 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17831 	:
   17832       else
   17833 	can_build_shared=no
   17834       fi
   17835       ;;
   17836     esac
   17837     # Using Import Files as archive members, it is possible to support
   17838     # filename-based versioning of shared library archives on AIX. While
   17839     # this would work for both with and without runtime linking, it will
   17840     # prevent static linking of such archives. So we do filename-based
   17841     # shared library versioning with .so extension only, which is used
   17842     # when both runtime linking and shared linking is enabled.
   17843     # Unfortunately, runtime linking may impact performance, so we do
   17844     # not want this to be the default eventually. Also, we use the
   17845     # versioned .so libs for executables only if there is the -brtl
   17846     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17847     # To allow for filename-based versioning support, we need to create
   17848     # libNAME.so.V as an archive file, containing:
   17849     # *) an Import File, referring to the versioned filename of the
   17850     #    archive as well as the shared archive member, telling the
   17851     #    bitwidth (32 or 64) of that shared object, and providing the
   17852     #    list of exported symbols of that shared object, eventually
   17853     #    decorated with the 'weak' keyword
   17854     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17855     #    it being seen by the linker.
   17856     # At run time we better use the real file rather than another symlink,
   17857     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17858 
   17859     case $with_aix_soname,$aix_use_runtimelinking in
   17860     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17861     # soname into executable. Probably we can add versioning support to
   17862     # collect2, so additional links can be useful in future.
   17863     aix,yes) # traditional libtool
   17864       dynamic_linker='AIX unversionable lib.so'
   17865       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17866       # instead of lib<name>.a to let people know that these are not
   17867       # typical AIX shared libraries.
   17868       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17869       ;;
   17870     aix,no) # traditional AIX only
   17871       dynamic_linker='AIX lib.a(lib.so.V)'
   17872       # We preserve .a as extension for shared libraries through AIX4.2
   17873       # and later when we are not doing run time linking.
   17874       library_names_spec='$libname$release.a $libname.a'
   17875       soname_spec='$libname$release$shared_ext$major'
   17876       ;;
   17877     svr4,*) # full svr4 only
   17878       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17879       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17880       # We do not specify a path in Import Files, so LIBPATH fires.
   17881       shlibpath_overrides_runpath=yes
   17882       ;;
   17883     *,yes) # both, prefer svr4
   17884       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17885       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17886       # unpreferred sharedlib libNAME.a needs extra handling
   17887       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17888       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17889       # We do not specify a path in Import Files, so LIBPATH fires.
   17890       shlibpath_overrides_runpath=yes
   17891       ;;
   17892     *,no) # both, prefer aix
   17893       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17894       library_names_spec='$libname$release.a $libname.a'
   17895       soname_spec='$libname$release$shared_ext$major'
   17896       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17897       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17898       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17899       ;;
   17900     esac
   17901     shlibpath_var=LIBPATH
   17902   fi
   17903   ;;
   17904 
   17905 amigaos*)
   17906   case $host_cpu in
   17907   powerpc)
   17908     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17909     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17910     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17911     ;;
   17912   m68k)
   17913     library_names_spec='$libname.ixlibrary $libname.a'
   17914     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17915     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   17916     ;;
   17917   esac
   17918   ;;
   17919 
   17920 beos*)
   17921   library_names_spec='$libname$shared_ext'
   17922   dynamic_linker="$host_os ld.so"
   17923   shlibpath_var=LIBRARY_PATH
   17924   ;;
   17925 
   17926 bsdi[45]*)
   17927   version_type=linux # correct to gnu/linux during the next big refactor
   17928   need_version=no
   17929   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17930   soname_spec='$libname$release$shared_ext$major'
   17931   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17932   shlibpath_var=LD_LIBRARY_PATH
   17933   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17934   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17935   # the default ld.so.conf also contains /usr/contrib/lib and
   17936   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17937   # libtool to hard-code these into programs
   17938   ;;
   17939 
   17940 cygwin* | mingw* | pw32* | cegcc*)
   17941   version_type=windows
   17942   shrext_cmds=.dll
   17943   need_version=no
   17944   need_lib_prefix=no
   17945 
   17946   case $GCC,$cc_basename in
   17947   yes,*)
   17948     # gcc
   17949     library_names_spec='$libname.dll.a'
   17950     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17951     postinstall_cmds='base_file=`basename \$file`~
   17952       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17953       dldir=$destdir/`dirname \$dlpath`~
   17954       test -d \$dldir || mkdir -p \$dldir~
   17955       $install_prog $dir/$dlname \$dldir/$dlname~
   17956       chmod a+x \$dldir/$dlname~
   17957       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17958         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17959       fi'
   17960     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17961       dlpath=$dir/\$dldll~
   17962        $RM \$dlpath'
   17963     shlibpath_overrides_runpath=yes
   17964 
   17965     case $host_os in
   17966     cygwin*)
   17967       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17968       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17969 
   17970       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17971       ;;
   17972     mingw* | cegcc*)
   17973       # MinGW DLLs use traditional 'lib' prefix
   17974       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17975       ;;
   17976     pw32*)
   17977       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17978       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17979       ;;
   17980     esac
   17981     dynamic_linker='Win32 ld.exe'
   17982     ;;
   17983 
   17984   *,cl*)
   17985     # Native MSVC
   17986     libname_spec='$name'
   17987     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17988     library_names_spec='$libname.dll.lib'
   17989 
   17990     case $build_os in
   17991     mingw*)
   17992       sys_lib_search_path_spec=
   17993       lt_save_ifs=$IFS
   17994       IFS=';'
   17995       for lt_path in $LIB
   17996       do
   17997         IFS=$lt_save_ifs
   17998         # Let DOS variable expansion print the short 8.3 style file name.
   17999         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18000         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18001       done
   18002       IFS=$lt_save_ifs
   18003       # Convert to MSYS style.
   18004       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18005       ;;
   18006     cygwin*)
   18007       # Convert to unix form, then to dos form, then back to unix form
   18008       # but this time dos style (no spaces!) so that the unix form looks
   18009       # like /cygdrive/c/PROGRA~1:/cygdr...
   18010       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18011       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18012       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18013       ;;
   18014     *)
   18015       sys_lib_search_path_spec=$LIB
   18016       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18017         # It is most probably a Windows format PATH.
   18018         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18019       else
   18020         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18021       fi
   18022       # FIXME: find the short name or the path components, as spaces are
   18023       # common. (e.g. "Program Files" -> "PROGRA~1")
   18024       ;;
   18025     esac
   18026 
   18027     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18028     postinstall_cmds='base_file=`basename \$file`~
   18029       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18030       dldir=$destdir/`dirname \$dlpath`~
   18031       test -d \$dldir || mkdir -p \$dldir~
   18032       $install_prog $dir/$dlname \$dldir/$dlname'
   18033     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18034       dlpath=$dir/\$dldll~
   18035        $RM \$dlpath'
   18036     shlibpath_overrides_runpath=yes
   18037     dynamic_linker='Win32 link.exe'
   18038     ;;
   18039 
   18040   *)
   18041     # Assume MSVC wrapper
   18042     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18043     dynamic_linker='Win32 ld.exe'
   18044     ;;
   18045   esac
   18046   # FIXME: first we should search . and the directory the executable is in
   18047   shlibpath_var=PATH
   18048   ;;
   18049 
   18050 darwin* | rhapsody*)
   18051   dynamic_linker="$host_os dyld"
   18052   version_type=darwin
   18053   need_lib_prefix=no
   18054   need_version=no
   18055   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18056   soname_spec='$libname$release$major$shared_ext'
   18057   shlibpath_overrides_runpath=yes
   18058   shlibpath_var=DYLD_LIBRARY_PATH
   18059   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18060 
   18061   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18062   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18063   ;;
   18064 
   18065 dgux*)
   18066   version_type=linux # correct to gnu/linux during the next big refactor
   18067   need_lib_prefix=no
   18068   need_version=no
   18069   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18070   soname_spec='$libname$release$shared_ext$major'
   18071   shlibpath_var=LD_LIBRARY_PATH
   18072   ;;
   18073 
   18074 freebsd* | dragonfly*)
   18075   # DragonFly does not have aout.  When/if they implement a new
   18076   # versioning mechanism, adjust this.
   18077   if test -x /usr/bin/objformat; then
   18078     objformat=`/usr/bin/objformat`
   18079   else
   18080     case $host_os in
   18081     freebsd[23].*) objformat=aout ;;
   18082     *) objformat=elf ;;
   18083     esac
   18084   fi
   18085   version_type=freebsd-$objformat
   18086   case $version_type in
   18087     freebsd-elf*)
   18088       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18089       soname_spec='$libname$release$shared_ext$major'
   18090       need_version=no
   18091       need_lib_prefix=no
   18092       ;;
   18093     freebsd-*)
   18094       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18095       need_version=yes
   18096       ;;
   18097   esac
   18098   shlibpath_var=LD_LIBRARY_PATH
   18099   case $host_os in
   18100   freebsd2.*)
   18101     shlibpath_overrides_runpath=yes
   18102     ;;
   18103   freebsd3.[01]* | freebsdelf3.[01]*)
   18104     shlibpath_overrides_runpath=yes
   18105     hardcode_into_libs=yes
   18106     ;;
   18107   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18108   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18109     shlibpath_overrides_runpath=no
   18110     hardcode_into_libs=yes
   18111     ;;
   18112   *) # from 4.6 on, and DragonFly
   18113     shlibpath_overrides_runpath=yes
   18114     hardcode_into_libs=yes
   18115     ;;
   18116   esac
   18117   ;;
   18118 
   18119 haiku*)
   18120   version_type=linux # correct to gnu/linux during the next big refactor
   18121   need_lib_prefix=no
   18122   need_version=no
   18123   dynamic_linker="$host_os runtime_loader"
   18124   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18125   soname_spec='$libname$release$shared_ext$major'
   18126   shlibpath_var=LIBRARY_PATH
   18127   shlibpath_overrides_runpath=no
   18128   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18129   hardcode_into_libs=yes
   18130   ;;
   18131 
   18132 hpux9* | hpux10* | hpux11*)
   18133   # Give a soname corresponding to the major version so that dld.sl refuses to
   18134   # link against other versions.
   18135   version_type=sunos
   18136   need_lib_prefix=no
   18137   need_version=no
   18138   case $host_cpu in
   18139   ia64*)
   18140     shrext_cmds='.so'
   18141     hardcode_into_libs=yes
   18142     dynamic_linker="$host_os dld.so"
   18143     shlibpath_var=LD_LIBRARY_PATH
   18144     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18145     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18146     soname_spec='$libname$release$shared_ext$major'
   18147     if test 32 = "$HPUX_IA64_MODE"; then
   18148       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18149       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18150     else
   18151       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18152       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18153     fi
   18154     ;;
   18155   hppa*64*)
   18156     shrext_cmds='.sl'
   18157     hardcode_into_libs=yes
   18158     dynamic_linker="$host_os dld.sl"
   18159     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18160     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18161     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18162     soname_spec='$libname$release$shared_ext$major'
   18163     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18164     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18165     ;;
   18166   *)
   18167     shrext_cmds='.sl'
   18168     dynamic_linker="$host_os dld.sl"
   18169     shlibpath_var=SHLIB_PATH
   18170     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18171     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18172     soname_spec='$libname$release$shared_ext$major'
   18173     ;;
   18174   esac
   18175   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18176   postinstall_cmds='chmod 555 $lib'
   18177   # or fails outright, so override atomically:
   18178   install_override_mode=555
   18179   ;;
   18180 
   18181 interix[3-9]*)
   18182   version_type=linux # correct to gnu/linux during the next big refactor
   18183   need_lib_prefix=no
   18184   need_version=no
   18185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18186   soname_spec='$libname$release$shared_ext$major'
   18187   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18188   shlibpath_var=LD_LIBRARY_PATH
   18189   shlibpath_overrides_runpath=no
   18190   hardcode_into_libs=yes
   18191   ;;
   18192 
   18193 irix5* | irix6* | nonstopux*)
   18194   case $host_os in
   18195     nonstopux*) version_type=nonstopux ;;
   18196     *)
   18197 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18198 		version_type=linux # correct to gnu/linux during the next big refactor
   18199 	else
   18200 		version_type=irix
   18201 	fi ;;
   18202   esac
   18203   need_lib_prefix=no
   18204   need_version=no
   18205   soname_spec='$libname$release$shared_ext$major'
   18206   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18207   case $host_os in
   18208   irix5* | nonstopux*)
   18209     libsuff= shlibsuff=
   18210     ;;
   18211   *)
   18212     case $LD in # libtool.m4 will add one of these switches to LD
   18213     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18214       libsuff= shlibsuff= libmagic=32-bit;;
   18215     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18216       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18217     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18218       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18219     *) libsuff= shlibsuff= libmagic=never-match;;
   18220     esac
   18221     ;;
   18222   esac
   18223   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18224   shlibpath_overrides_runpath=no
   18225   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18226   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18227   hardcode_into_libs=yes
   18228   ;;
   18229 
   18230 # No shared lib support for Linux oldld, aout, or coff.
   18231 linux*oldld* | linux*aout* | linux*coff*)
   18232   dynamic_linker=no
   18233   ;;
   18234 
   18235 linux*android*)
   18236   version_type=none # Android doesn't support versioned libraries.
   18237   need_lib_prefix=no
   18238   need_version=no
   18239   library_names_spec='$libname$release$shared_ext'
   18240   soname_spec='$libname$release$shared_ext'
   18241   finish_cmds=
   18242   shlibpath_var=LD_LIBRARY_PATH
   18243   shlibpath_overrides_runpath=yes
   18244 
   18245   # This implies no fast_install, which is unacceptable.
   18246   # Some rework will be needed to allow for fast_install
   18247   # before this can be enabled.
   18248   hardcode_into_libs=yes
   18249 
   18250   dynamic_linker='Android linker'
   18251   # Don't embed -rpath directories since the linker doesn't support them.
   18252   hardcode_libdir_flag_spec='-L$libdir'
   18253   ;;
   18254 
   18255 # This must be glibc/ELF.
   18256 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18257   version_type=linux # correct to gnu/linux during the next big refactor
   18258   need_lib_prefix=no
   18259   need_version=no
   18260   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18261   soname_spec='$libname$release$shared_ext$major'
   18262   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18263   shlibpath_var=LD_LIBRARY_PATH
   18264   shlibpath_overrides_runpath=no
   18265 
   18266   # Some binutils ld are patched to set DT_RUNPATH
   18267   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   18268   $as_echo_n "(cached) " >&6
   18269 else
   18270   lt_cv_shlibpath_overrides_runpath=no
   18271     save_LDFLAGS=$LDFLAGS
   18272     save_libdir=$libdir
   18273     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18274 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18275     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18276 /* end confdefs.h.  */
   18277 
   18278 int
   18279 main ()
   18280 {
   18281 
   18282   ;
   18283   return 0;
   18284 }
   18285 _ACEOF
   18286 if ac_fn_c_try_link "$LINENO"; then :
   18287   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   18288   lt_cv_shlibpath_overrides_runpath=yes
   18289 fi
   18290 fi
   18291 rm -f core conftest.err conftest.$ac_objext \
   18292     conftest$ac_exeext conftest.$ac_ext
   18293     LDFLAGS=$save_LDFLAGS
   18294     libdir=$save_libdir
   18295 
   18296 fi
   18297 
   18298   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18299 
   18300   # This implies no fast_install, which is unacceptable.
   18301   # Some rework will be needed to allow for fast_install
   18302   # before this can be enabled.
   18303   hardcode_into_libs=yes
   18304 
   18305   # Add ABI-specific directories to the system library path.
   18306   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   18307 
   18308   # Ideally, we could use ldconfig to report *all* directores which are
   18309   # searched for libraries, however this is still not possible.  Aside from not
   18310   # being certain /sbin/ldconfig is available, command
   18311   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18312   # even though it is searched at run-time.  Try to do the best guess by
   18313   # appending ld.so.conf contents (and includes) to the search path.
   18314   if test -f /etc/ld.so.conf; then
   18315     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   18316     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18317   fi
   18318 
   18319   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18320   # powerpc, because MkLinux only supported shared libraries with the
   18321   # GNU dynamic linker.  Since this was broken with cross compilers,
   18322   # most powerpc-linux boxes support dynamic linking these days and
   18323   # people can always --disable-shared, the test was removed, and we
   18324   # assume the GNU/Linux dynamic linker is in use.
   18325   dynamic_linker='GNU/Linux ld.so'
   18326   ;;
   18327 
   18328 netbsd*)
   18329   version_type=sunos
   18330   need_lib_prefix=no
   18331   need_version=no
   18332   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18333     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18334     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18335     dynamic_linker='NetBSD (a.out) ld.so'
   18336   else
   18337     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18338     soname_spec='$libname$release$shared_ext$major'
   18339     dynamic_linker='NetBSD ld.elf_so'
   18340   fi
   18341   shlibpath_var=LD_LIBRARY_PATH
   18342   shlibpath_overrides_runpath=yes
   18343   hardcode_into_libs=yes
   18344   ;;
   18345 
   18346 newsos6)
   18347   version_type=linux # correct to gnu/linux during the next big refactor
   18348   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18349   shlibpath_var=LD_LIBRARY_PATH
   18350   shlibpath_overrides_runpath=yes
   18351   ;;
   18352 
   18353 *nto* | *qnx*)
   18354   version_type=qnx
   18355   need_lib_prefix=no
   18356   need_version=no
   18357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18358   soname_spec='$libname$release$shared_ext$major'
   18359   shlibpath_var=LD_LIBRARY_PATH
   18360   shlibpath_overrides_runpath=no
   18361   hardcode_into_libs=yes
   18362   dynamic_linker='ldqnx.so'
   18363   ;;
   18364 
   18365 openbsd* | bitrig*)
   18366   version_type=sunos
   18367   sys_lib_dlsearch_path_spec=/usr/lib
   18368   need_lib_prefix=no
   18369   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18370     need_version=no
   18371   else
   18372     need_version=yes
   18373   fi
   18374   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18375   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18376   shlibpath_var=LD_LIBRARY_PATH
   18377   shlibpath_overrides_runpath=yes
   18378   ;;
   18379 
   18380 os2*)
   18381   libname_spec='$name'
   18382   version_type=windows
   18383   shrext_cmds=.dll
   18384   need_version=no
   18385   need_lib_prefix=no
   18386   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18387   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18388     v=$($ECHO $release$versuffix | tr -d .-);
   18389     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18390     $ECHO $n$v`$shared_ext'
   18391   library_names_spec='${libname}_dll.$libext'
   18392   dynamic_linker='OS/2 ld.exe'
   18393   shlibpath_var=BEGINLIBPATH
   18394   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18395   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18396   postinstall_cmds='base_file=`basename \$file`~
   18397     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18398     dldir=$destdir/`dirname \$dlpath`~
   18399     test -d \$dldir || mkdir -p \$dldir~
   18400     $install_prog $dir/$dlname \$dldir/$dlname~
   18401     chmod a+x \$dldir/$dlname~
   18402     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18403       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18404     fi'
   18405   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18406     dlpath=$dir/\$dldll~
   18407     $RM \$dlpath'
   18408   ;;
   18409 
   18410 osf3* | osf4* | osf5*)
   18411   version_type=osf
   18412   need_lib_prefix=no
   18413   need_version=no
   18414   soname_spec='$libname$release$shared_ext$major'
   18415   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18416   shlibpath_var=LD_LIBRARY_PATH
   18417   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18418   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18419   ;;
   18420 
   18421 rdos*)
   18422   dynamic_linker=no
   18423   ;;
   18424 
   18425 solaris*)
   18426   version_type=linux # correct to gnu/linux during the next big refactor
   18427   need_lib_prefix=no
   18428   need_version=no
   18429   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18430   soname_spec='$libname$release$shared_ext$major'
   18431   shlibpath_var=LD_LIBRARY_PATH
   18432   shlibpath_overrides_runpath=yes
   18433   hardcode_into_libs=yes
   18434   # ldd complains unless libraries are executable
   18435   postinstall_cmds='chmod +x $lib'
   18436   ;;
   18437 
   18438 sunos4*)
   18439   version_type=sunos
   18440   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18441   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18442   shlibpath_var=LD_LIBRARY_PATH
   18443   shlibpath_overrides_runpath=yes
   18444   if test yes = "$with_gnu_ld"; then
   18445     need_lib_prefix=no
   18446   fi
   18447   need_version=yes
   18448   ;;
   18449 
   18450 sysv4 | sysv4.3*)
   18451   version_type=linux # correct to gnu/linux during the next big refactor
   18452   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18453   soname_spec='$libname$release$shared_ext$major'
   18454   shlibpath_var=LD_LIBRARY_PATH
   18455   case $host_vendor in
   18456     sni)
   18457       shlibpath_overrides_runpath=no
   18458       need_lib_prefix=no
   18459       runpath_var=LD_RUN_PATH
   18460       ;;
   18461     siemens)
   18462       need_lib_prefix=no
   18463       ;;
   18464     motorola)
   18465       need_lib_prefix=no
   18466       need_version=no
   18467       shlibpath_overrides_runpath=no
   18468       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18469       ;;
   18470   esac
   18471   ;;
   18472 
   18473 sysv4*MP*)
   18474   if test -d /usr/nec; then
   18475     version_type=linux # correct to gnu/linux during the next big refactor
   18476     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18477     soname_spec='$libname$shared_ext.$major'
   18478     shlibpath_var=LD_LIBRARY_PATH
   18479   fi
   18480   ;;
   18481 
   18482 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18483   version_type=sco
   18484   need_lib_prefix=no
   18485   need_version=no
   18486   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18487   soname_spec='$libname$release$shared_ext$major'
   18488   shlibpath_var=LD_LIBRARY_PATH
   18489   shlibpath_overrides_runpath=yes
   18490   hardcode_into_libs=yes
   18491   if test yes = "$with_gnu_ld"; then
   18492     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18493   else
   18494     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18495     case $host_os in
   18496       sco3.2v5*)
   18497         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18498 	;;
   18499     esac
   18500   fi
   18501   sys_lib_dlsearch_path_spec='/usr/lib'
   18502   ;;
   18503 
   18504 tpf*)
   18505   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18506   version_type=linux # correct to gnu/linux during the next big refactor
   18507   need_lib_prefix=no
   18508   need_version=no
   18509   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18510   shlibpath_var=LD_LIBRARY_PATH
   18511   shlibpath_overrides_runpath=no
   18512   hardcode_into_libs=yes
   18513   ;;
   18514 
   18515 uts4*)
   18516   version_type=linux # correct to gnu/linux during the next big refactor
   18517   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18518   soname_spec='$libname$release$shared_ext$major'
   18519   shlibpath_var=LD_LIBRARY_PATH
   18520   ;;
   18521 
   18522 *)
   18523   dynamic_linker=no
   18524   ;;
   18525 esac
   18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18527 $as_echo "$dynamic_linker" >&6; }
   18528 test no = "$dynamic_linker" && can_build_shared=no
   18529 
   18530 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18531 if test yes = "$GCC"; then
   18532   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18533 fi
   18534 
   18535 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18536   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18537 fi
   18538 
   18539 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18540   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18541 fi
   18542 
   18543 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18544 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18545 
   18546 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18547 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18548 
   18549 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18550 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18649 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   18650 hardcode_action=
   18651 if test -n "$hardcode_libdir_flag_spec" ||
   18652    test -n "$runpath_var" ||
   18653    test yes = "$hardcode_automatic"; then
   18654 
   18655   # We can hardcode non-existent directories.
   18656   if test no != "$hardcode_direct" &&
   18657      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18658      # have to relink, otherwise we might link with an installed library
   18659      # when we should be linking with a yet-to-be-installed one
   18660      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18661      test no != "$hardcode_minus_L"; then
   18662     # Linking always hardcodes the temporary library directory.
   18663     hardcode_action=relink
   18664   else
   18665     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18666     hardcode_action=immediate
   18667   fi
   18668 else
   18669   # We cannot hardcode anything, or else we can only hardcode existing
   18670   # directories.
   18671   hardcode_action=unsupported
   18672 fi
   18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18674 $as_echo "$hardcode_action" >&6; }
   18675 
   18676 if test relink = "$hardcode_action" ||
   18677    test yes = "$inherit_rpath"; then
   18678   # Fast installation is not supported
   18679   enable_fast_install=no
   18680 elif test yes = "$shlibpath_overrides_runpath" ||
   18681      test no = "$enable_shared"; then
   18682   # Fast installation is not necessary
   18683   enable_fast_install=needless
   18684 fi
   18685 
   18686 
   18687 
   18688 
   18689 
   18690 
   18691   if test yes != "$enable_dlopen"; then
   18692   enable_dlopen=unknown
   18693   enable_dlopen_self=unknown
   18694   enable_dlopen_self_static=unknown
   18695 else
   18696   lt_cv_dlopen=no
   18697   lt_cv_dlopen_libs=
   18698 
   18699   case $host_os in
   18700   beos*)
   18701     lt_cv_dlopen=load_add_on
   18702     lt_cv_dlopen_libs=
   18703     lt_cv_dlopen_self=yes
   18704     ;;
   18705 
   18706   mingw* | pw32* | cegcc*)
   18707     lt_cv_dlopen=LoadLibrary
   18708     lt_cv_dlopen_libs=
   18709     ;;
   18710 
   18711   cygwin*)
   18712     lt_cv_dlopen=dlopen
   18713     lt_cv_dlopen_libs=
   18714     ;;
   18715 
   18716   darwin*)
   18717     # if libdl is installed we need to link against it
   18718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18719 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18720 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18721   $as_echo_n "(cached) " >&6
   18722 else
   18723   ac_check_lib_save_LIBS=$LIBS
   18724 LIBS="-ldl  $LIBS"
   18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18726 /* end confdefs.h.  */
   18727 
   18728 /* Override any GCC internal prototype to avoid an error.
   18729    Use char because int might match the return type of a GCC
   18730    builtin and then its argument prototype would still apply.  */
   18731 #ifdef __cplusplus
   18732 extern "C"
   18733 #endif
   18734 char dlopen ();
   18735 int
   18736 main ()
   18737 {
   18738 return dlopen ();
   18739   ;
   18740   return 0;
   18741 }
   18742 _ACEOF
   18743 if ac_fn_c_try_link "$LINENO"; then :
   18744   ac_cv_lib_dl_dlopen=yes
   18745 else
   18746   ac_cv_lib_dl_dlopen=no
   18747 fi
   18748 rm -f core conftest.err conftest.$ac_objext \
   18749     conftest$ac_exeext conftest.$ac_ext
   18750 LIBS=$ac_check_lib_save_LIBS
   18751 fi
   18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18753 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18754 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18755   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18756 else
   18757 
   18758     lt_cv_dlopen=dyld
   18759     lt_cv_dlopen_libs=
   18760     lt_cv_dlopen_self=yes
   18761 
   18762 fi
   18763 
   18764     ;;
   18765 
   18766   tpf*)
   18767     # Don't try to run any link tests for TPF.  We know it's impossible
   18768     # because TPF is a cross-compiler, and we know how we open DSOs.
   18769     lt_cv_dlopen=dlopen
   18770     lt_cv_dlopen_libs=
   18771     lt_cv_dlopen_self=no
   18772     ;;
   18773 
   18774   *)
   18775     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18776 if test "x$ac_cv_func_shl_load" = xyes; then :
   18777   lt_cv_dlopen=shl_load
   18778 else
   18779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18780 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   18781 if ${ac_cv_lib_dld_shl_load+:} false; then :
   18782   $as_echo_n "(cached) " >&6
   18783 else
   18784   ac_check_lib_save_LIBS=$LIBS
   18785 LIBS="-ldld  $LIBS"
   18786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18787 /* end confdefs.h.  */
   18788 
   18789 /* Override any GCC internal prototype to avoid an error.
   18790    Use char because int might match the return type of a GCC
   18791    builtin and then its argument prototype would still apply.  */
   18792 #ifdef __cplusplus
   18793 extern "C"
   18794 #endif
   18795 char shl_load ();
   18796 int
   18797 main ()
   18798 {
   18799 return shl_load ();
   18800   ;
   18801   return 0;
   18802 }
   18803 _ACEOF
   18804 if ac_fn_c_try_link "$LINENO"; then :
   18805   ac_cv_lib_dld_shl_load=yes
   18806 else
   18807   ac_cv_lib_dld_shl_load=no
   18808 fi
   18809 rm -f core conftest.err conftest.$ac_objext \
   18810     conftest$ac_exeext conftest.$ac_ext
   18811 LIBS=$ac_check_lib_save_LIBS
   18812 fi
   18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18814 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   18815 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   18816   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18817 else
   18818   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18819 if test "x$ac_cv_func_dlopen" = xyes; then :
   18820   lt_cv_dlopen=dlopen
   18821 else
   18822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18823 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   18824 if ${ac_cv_lib_dl_dlopen+:} false; then :
   18825   $as_echo_n "(cached) " >&6
   18826 else
   18827   ac_check_lib_save_LIBS=$LIBS
   18828 LIBS="-ldl  $LIBS"
   18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18830 /* end confdefs.h.  */
   18831 
   18832 /* Override any GCC internal prototype to avoid an error.
   18833    Use char because int might match the return type of a GCC
   18834    builtin and then its argument prototype would still apply.  */
   18835 #ifdef __cplusplus
   18836 extern "C"
   18837 #endif
   18838 char dlopen ();
   18839 int
   18840 main ()
   18841 {
   18842 return dlopen ();
   18843   ;
   18844   return 0;
   18845 }
   18846 _ACEOF
   18847 if ac_fn_c_try_link "$LINENO"; then :
   18848   ac_cv_lib_dl_dlopen=yes
   18849 else
   18850   ac_cv_lib_dl_dlopen=no
   18851 fi
   18852 rm -f core conftest.err conftest.$ac_objext \
   18853     conftest$ac_exeext conftest.$ac_ext
   18854 LIBS=$ac_check_lib_save_LIBS
   18855 fi
   18856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18857 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18858 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18859   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18860 else
   18861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18862 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18863 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18864   $as_echo_n "(cached) " >&6
   18865 else
   18866   ac_check_lib_save_LIBS=$LIBS
   18867 LIBS="-lsvld  $LIBS"
   18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18869 /* end confdefs.h.  */
   18870 
   18871 /* Override any GCC internal prototype to avoid an error.
   18872    Use char because int might match the return type of a GCC
   18873    builtin and then its argument prototype would still apply.  */
   18874 #ifdef __cplusplus
   18875 extern "C"
   18876 #endif
   18877 char dlopen ();
   18878 int
   18879 main ()
   18880 {
   18881 return dlopen ();
   18882   ;
   18883   return 0;
   18884 }
   18885 _ACEOF
   18886 if ac_fn_c_try_link "$LINENO"; then :
   18887   ac_cv_lib_svld_dlopen=yes
   18888 else
   18889   ac_cv_lib_svld_dlopen=no
   18890 fi
   18891 rm -f core conftest.err conftest.$ac_objext \
   18892     conftest$ac_exeext conftest.$ac_ext
   18893 LIBS=$ac_check_lib_save_LIBS
   18894 fi
   18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18896 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18897 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18898   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18899 else
   18900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18901 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18902 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18903   $as_echo_n "(cached) " >&6
   18904 else
   18905   ac_check_lib_save_LIBS=$LIBS
   18906 LIBS="-ldld  $LIBS"
   18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18908 /* end confdefs.h.  */
   18909 
   18910 /* Override any GCC internal prototype to avoid an error.
   18911    Use char because int might match the return type of a GCC
   18912    builtin and then its argument prototype would still apply.  */
   18913 #ifdef __cplusplus
   18914 extern "C"
   18915 #endif
   18916 char dld_link ();
   18917 int
   18918 main ()
   18919 {
   18920 return dld_link ();
   18921   ;
   18922   return 0;
   18923 }
   18924 _ACEOF
   18925 if ac_fn_c_try_link "$LINENO"; then :
   18926   ac_cv_lib_dld_dld_link=yes
   18927 else
   18928   ac_cv_lib_dld_dld_link=no
   18929 fi
   18930 rm -f core conftest.err conftest.$ac_objext \
   18931     conftest$ac_exeext conftest.$ac_ext
   18932 LIBS=$ac_check_lib_save_LIBS
   18933 fi
   18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18935 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18936 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18937   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18938 fi
   18939 
   18940 
   18941 fi
   18942 
   18943 
   18944 fi
   18945 
   18946 
   18947 fi
   18948 
   18949 
   18950 fi
   18951 
   18952 
   18953 fi
   18954 
   18955     ;;
   18956   esac
   18957 
   18958   if test no = "$lt_cv_dlopen"; then
   18959     enable_dlopen=no
   18960   else
   18961     enable_dlopen=yes
   18962   fi
   18963 
   18964   case $lt_cv_dlopen in
   18965   dlopen)
   18966     save_CPPFLAGS=$CPPFLAGS
   18967     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18968 
   18969     save_LDFLAGS=$LDFLAGS
   18970     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18971 
   18972     save_LIBS=$LIBS
   18973     LIBS="$lt_cv_dlopen_libs $LIBS"
   18974 
   18975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18976 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18977 if ${lt_cv_dlopen_self+:} false; then :
   18978   $as_echo_n "(cached) " >&6
   18979 else
   18980   	  if test yes = "$cross_compiling"; then :
   18981   lt_cv_dlopen_self=cross
   18982 else
   18983   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18984   lt_status=$lt_dlunknown
   18985   cat > conftest.$ac_ext <<_LT_EOF
   18986 #line $LINENO "configure"
   18987 #include "confdefs.h"
   18988 
   18989 #if HAVE_DLFCN_H
   18990 #include <dlfcn.h>
   18991 #endif
   18992 
   18993 #include <stdio.h>
   18994 
   18995 #ifdef RTLD_GLOBAL
   18996 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18997 #else
   18998 #  ifdef DL_GLOBAL
   18999 #    define LT_DLGLOBAL		DL_GLOBAL
   19000 #  else
   19001 #    define LT_DLGLOBAL		0
   19002 #  endif
   19003 #endif
   19004 
   19005 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19006    find out it does not work in some platform. */
   19007 #ifndef LT_DLLAZY_OR_NOW
   19008 #  ifdef RTLD_LAZY
   19009 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19010 #  else
   19011 #    ifdef DL_LAZY
   19012 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19013 #    else
   19014 #      ifdef RTLD_NOW
   19015 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19016 #      else
   19017 #        ifdef DL_NOW
   19018 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19019 #        else
   19020 #          define LT_DLLAZY_OR_NOW	0
   19021 #        endif
   19022 #      endif
   19023 #    endif
   19024 #  endif
   19025 #endif
   19026 
   19027 /* When -fvisibility=hidden is used, assume the code has been annotated
   19028    correspondingly for the symbols needed.  */
   19029 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19030 int fnord () __attribute__((visibility("default")));
   19031 #endif
   19032 
   19033 int fnord () { return 42; }
   19034 int main ()
   19035 {
   19036   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19037   int status = $lt_dlunknown;
   19038 
   19039   if (self)
   19040     {
   19041       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19042       else
   19043         {
   19044 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19045           else puts (dlerror ());
   19046 	}
   19047       /* dlclose (self); */
   19048     }
   19049   else
   19050     puts (dlerror ());
   19051 
   19052   return status;
   19053 }
   19054 _LT_EOF
   19055   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19056   (eval $ac_link) 2>&5
   19057   ac_status=$?
   19058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19059   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19060     (./conftest; exit; ) >&5 2>/dev/null
   19061     lt_status=$?
   19062     case x$lt_status in
   19063       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19064       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19065       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19066     esac
   19067   else :
   19068     # compilation failed
   19069     lt_cv_dlopen_self=no
   19070   fi
   19071 fi
   19072 rm -fr conftest*
   19073 
   19074 
   19075 fi
   19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19077 $as_echo "$lt_cv_dlopen_self" >&6; }
   19078 
   19079     if test yes = "$lt_cv_dlopen_self"; then
   19080       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19081       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19082 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   19083 if ${lt_cv_dlopen_self_static+:} false; then :
   19084   $as_echo_n "(cached) " >&6
   19085 else
   19086   	  if test yes = "$cross_compiling"; then :
   19087   lt_cv_dlopen_self_static=cross
   19088 else
   19089   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19090   lt_status=$lt_dlunknown
   19091   cat > conftest.$ac_ext <<_LT_EOF
   19092 #line $LINENO "configure"
   19093 #include "confdefs.h"
   19094 
   19095 #if HAVE_DLFCN_H
   19096 #include <dlfcn.h>
   19097 #endif
   19098 
   19099 #include <stdio.h>
   19100 
   19101 #ifdef RTLD_GLOBAL
   19102 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19103 #else
   19104 #  ifdef DL_GLOBAL
   19105 #    define LT_DLGLOBAL		DL_GLOBAL
   19106 #  else
   19107 #    define LT_DLGLOBAL		0
   19108 #  endif
   19109 #endif
   19110 
   19111 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19112    find out it does not work in some platform. */
   19113 #ifndef LT_DLLAZY_OR_NOW
   19114 #  ifdef RTLD_LAZY
   19115 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19116 #  else
   19117 #    ifdef DL_LAZY
   19118 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19119 #    else
   19120 #      ifdef RTLD_NOW
   19121 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19122 #      else
   19123 #        ifdef DL_NOW
   19124 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19125 #        else
   19126 #          define LT_DLLAZY_OR_NOW	0
   19127 #        endif
   19128 #      endif
   19129 #    endif
   19130 #  endif
   19131 #endif
   19132 
   19133 /* When -fvisibility=hidden is used, assume the code has been annotated
   19134    correspondingly for the symbols needed.  */
   19135 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19136 int fnord () __attribute__((visibility("default")));
   19137 #endif
   19138 
   19139 int fnord () { return 42; }
   19140 int main ()
   19141 {
   19142   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19143   int status = $lt_dlunknown;
   19144 
   19145   if (self)
   19146     {
   19147       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19148       else
   19149         {
   19150 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19151           else puts (dlerror ());
   19152 	}
   19153       /* dlclose (self); */
   19154     }
   19155   else
   19156     puts (dlerror ());
   19157 
   19158   return status;
   19159 }
   19160 _LT_EOF
   19161   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19162   (eval $ac_link) 2>&5
   19163   ac_status=$?
   19164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19165   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19166     (./conftest; exit; ) >&5 2>/dev/null
   19167     lt_status=$?
   19168     case x$lt_status in
   19169       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19170       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19171       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19172     esac
   19173   else :
   19174     # compilation failed
   19175     lt_cv_dlopen_self_static=no
   19176   fi
   19177 fi
   19178 rm -fr conftest*
   19179 
   19180 
   19181 fi
   19182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19183 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   19184     fi
   19185 
   19186     CPPFLAGS=$save_CPPFLAGS
   19187     LDFLAGS=$save_LDFLAGS
   19188     LIBS=$save_LIBS
   19189     ;;
   19190   esac
   19191 
   19192   case $lt_cv_dlopen_self in
   19193   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19194   *) enable_dlopen_self=unknown ;;
   19195   esac
   19196 
   19197   case $lt_cv_dlopen_self_static in
   19198   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19199   *) enable_dlopen_self_static=unknown ;;
   19200   esac
   19201 fi
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 
   19217 
   19218 
   19219 striplib=
   19220 old_striplib=
   19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19222 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   19223 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19224   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   19225   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   19226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19227 $as_echo "yes" >&6; }
   19228 else
   19229 # FIXME - insert some real tests, host_os isn't really good enough
   19230   case $host_os in
   19231   darwin*)
   19232     if test -n "$STRIP"; then
   19233       striplib="$STRIP -x"
   19234       old_striplib="$STRIP -S"
   19235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19236 $as_echo "yes" >&6; }
   19237     else
   19238       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19239 $as_echo "no" >&6; }
   19240     fi
   19241     ;;
   19242   *)
   19243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19244 $as_echo "no" >&6; }
   19245     ;;
   19246   esac
   19247 fi
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258 
   19259 
   19260   # Report what library types will actually be built
   19261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19262 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   19263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19264 $as_echo "$can_build_shared" >&6; }
   19265 
   19266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19267 $as_echo_n "checking whether to build shared libraries... " >&6; }
   19268   test no = "$can_build_shared" && enable_shared=no
   19269 
   19270   # On AIX, shared libraries and static libraries use the same namespace, and
   19271   # are all built from PIC.
   19272   case $host_os in
   19273   aix3*)
   19274     test yes = "$enable_shared" && enable_static=no
   19275     if test -n "$RANLIB"; then
   19276       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19277       postinstall_cmds='$RANLIB $lib'
   19278     fi
   19279     ;;
   19280 
   19281   aix[4-9]*)
   19282     if test ia64 != "$host_cpu"; then
   19283       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19284       yes,aix,yes) ;;			# shared object as lib.so file only
   19285       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19286       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19287       esac
   19288     fi
   19289     ;;
   19290   esac
   19291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19292 $as_echo "$enable_shared" >&6; }
   19293 
   19294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19295 $as_echo_n "checking whether to build static libraries... " >&6; }
   19296   # Make sure either enable_shared or enable_static is yes.
   19297   test yes = "$enable_shared" || enable_static=yes
   19298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19299 $as_echo "$enable_static" >&6; }
   19300 
   19301 
   19302 
   19303 
   19304 fi
   19305 ac_ext=c
   19306 ac_cpp='$CPP $CPPFLAGS'
   19307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19310 
   19311 CC=$lt_save_CC
   19312 
   19313       if test -n "$CXX" && ( test no != "$CXX" &&
   19314     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
   19315     (test g++ != "$CXX"))); then
   19316   ac_ext=cpp
   19317 ac_cpp='$CXXCPP $CPPFLAGS'
   19318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   19322 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   19323 if test -z "$CXXCPP"; then
   19324   if ${ac_cv_prog_CXXCPP+:} false; then :
   19325   $as_echo_n "(cached) " >&6
   19326 else
   19327       # Double quotes because CXXCPP needs to be expanded
   19328     for CXXCPP in "$CXX -E" "/lib/cpp"
   19329     do
   19330       ac_preproc_ok=false
   19331 for ac_cxx_preproc_warn_flag in '' yes
   19332 do
   19333   # Use a header file that comes with gcc, so configuring glibc
   19334   # with a fresh cross-compiler works.
   19335   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   19336   # <limits.h> exists even on freestanding compilers.
   19337   # On the NeXT, cc -E runs the code through the compiler's parser,
   19338   # not just through cpp. "Syntax error" is here to catch this case.
   19339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19340 /* end confdefs.h.  */
   19341 #ifdef __STDC__
   19342 # include <limits.h>
   19343 #else
   19344 # include <assert.h>
   19345 #endif
   19346 		     Syntax error
   19347 _ACEOF
   19348 if ac_fn_cxx_try_cpp "$LINENO"; then :
   19349 
   19350 else
   19351   # Broken: fails on valid input.
   19352 continue
   19353 fi
   19354 rm -f conftest.err conftest.i conftest.$ac_ext
   19355 
   19356   # OK, works on sane cases.  Now check whether nonexistent headers
   19357   # can be detected and how.
   19358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19359 /* end confdefs.h.  */
   19360 #include <ac_nonexistent.h>
   19361 _ACEOF
   19362 if ac_fn_cxx_try_cpp "$LINENO"; then :
   19363   # Broken: success on invalid input.
   19364 continue
   19365 else
   19366   # Passes both tests.
   19367 ac_preproc_ok=:
   19368 break
   19369 fi
   19370 rm -f conftest.err conftest.i conftest.$ac_ext
   19371 
   19372 done
   19373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   19374 rm -f conftest.i conftest.err conftest.$ac_ext
   19375 if $ac_preproc_ok; then :
   19376   break
   19377 fi
   19378 
   19379     done
   19380     ac_cv_prog_CXXCPP=$CXXCPP
   19381 
   19382 fi
   19383   CXXCPP=$ac_cv_prog_CXXCPP
   19384 else
   19385   ac_cv_prog_CXXCPP=$CXXCPP
   19386 fi
   19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   19388 $as_echo "$CXXCPP" >&6; }
   19389 ac_preproc_ok=false
   19390 for ac_cxx_preproc_warn_flag in '' yes
   19391 do
   19392   # Use a header file that comes with gcc, so configuring glibc
   19393   # with a fresh cross-compiler works.
   19394   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   19395   # <limits.h> exists even on freestanding compilers.
   19396   # On the NeXT, cc -E runs the code through the compiler's parser,
   19397   # not just through cpp. "Syntax error" is here to catch this case.
   19398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19399 /* end confdefs.h.  */
   19400 #ifdef __STDC__
   19401 # include <limits.h>
   19402 #else
   19403 # include <assert.h>
   19404 #endif
   19405 		     Syntax error
   19406 _ACEOF
   19407 if ac_fn_cxx_try_cpp "$LINENO"; then :
   19408 
   19409 else
   19410   # Broken: fails on valid input.
   19411 continue
   19412 fi
   19413 rm -f conftest.err conftest.i conftest.$ac_ext
   19414 
   19415   # OK, works on sane cases.  Now check whether nonexistent headers
   19416   # can be detected and how.
   19417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19418 /* end confdefs.h.  */
   19419 #include <ac_nonexistent.h>
   19420 _ACEOF
   19421 if ac_fn_cxx_try_cpp "$LINENO"; then :
   19422   # Broken: success on invalid input.
   19423 continue
   19424 else
   19425   # Passes both tests.
   19426 ac_preproc_ok=:
   19427 break
   19428 fi
   19429 rm -f conftest.err conftest.i conftest.$ac_ext
   19430 
   19431 done
   19432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   19433 rm -f conftest.i conftest.err conftest.$ac_ext
   19434 if $ac_preproc_ok; then :
   19435 
   19436 else
   19437   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19439 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   19440 See \`config.log' for more details" "$LINENO" 5; }
   19441 fi
   19442 
   19443 ac_ext=c
   19444 ac_cpp='$CPP $CPPFLAGS'
   19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19448 
   19449 else
   19450   _lt_caught_CXX_error=yes
   19451 fi
   19452 
   19453 ac_ext=cpp
   19454 ac_cpp='$CXXCPP $CPPFLAGS'
   19455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   19458 
   19459 archive_cmds_need_lc_CXX=no
   19460 allow_undefined_flag_CXX=
   19461 always_export_symbols_CXX=no
   19462 archive_expsym_cmds_CXX=
   19463 compiler_needs_object_CXX=no
   19464 export_dynamic_flag_spec_CXX=
   19465 hardcode_direct_CXX=no
   19466 hardcode_direct_absolute_CXX=no
   19467 hardcode_libdir_flag_spec_CXX=
   19468 hardcode_libdir_separator_CXX=
   19469 hardcode_minus_L_CXX=no
   19470 hardcode_shlibpath_var_CXX=unsupported
   19471 hardcode_automatic_CXX=no
   19472 inherit_rpath_CXX=no
   19473 module_cmds_CXX=
   19474 module_expsym_cmds_CXX=
   19475 link_all_deplibs_CXX=unknown
   19476 old_archive_cmds_CXX=$old_archive_cmds
   19477 reload_flag_CXX=$reload_flag
   19478 reload_cmds_CXX=$reload_cmds
   19479 no_undefined_flag_CXX=
   19480 whole_archive_flag_spec_CXX=
   19481 enable_shared_with_static_runtimes_CXX=no
   19482 
   19483 # Source file extension for C++ test sources.
   19484 ac_ext=cpp
   19485 
   19486 # Object file extension for compiled C++ test sources.
   19487 objext=o
   19488 objext_CXX=$objext
   19489 
   19490 # No sense in running all these tests if we already determined that
   19491 # the CXX compiler isn't working.  Some variables (like enable_shared)
   19492 # are currently assumed to apply to all compilers on this platform,
   19493 # and will be corrupted by setting them based on a non-working compiler.
   19494 if test yes != "$_lt_caught_CXX_error"; then
   19495   # Code to be used in simple compile tests
   19496   lt_simple_compile_test_code="int some_variable = 0;"
   19497 
   19498   # Code to be used in simple link tests
   19499   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   19500 
   19501   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19502 
   19503 
   19504 
   19505 
   19506 
   19507 
   19508 # If no C compiler was specified, use CC.
   19509 LTCC=${LTCC-"$CC"}
   19510 
   19511 # If no C compiler flags were specified, use CFLAGS.
   19512 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19513 
   19514 # Allow CC to be a program name with arguments.
   19515 compiler=$CC
   19516 
   19517 
   19518   # save warnings/boilerplate of simple test code
   19519   ac_outfile=conftest.$ac_objext
   19520 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19521 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19522 _lt_compiler_boilerplate=`cat conftest.err`
   19523 $RM conftest*
   19524 
   19525   ac_outfile=conftest.$ac_objext
   19526 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19527 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19528 _lt_linker_boilerplate=`cat conftest.err`
   19529 $RM -r conftest*
   19530 
   19531 
   19532   # Allow CC to be a program name with arguments.
   19533   lt_save_CC=$CC
   19534   lt_save_CFLAGS=$CFLAGS
   19535   lt_save_LD=$LD
   19536   lt_save_GCC=$GCC
   19537   GCC=$GXX
   19538   lt_save_with_gnu_ld=$with_gnu_ld
   19539   lt_save_path_LD=$lt_cv_path_LD
   19540   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   19541     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   19542   else
   19543     $as_unset lt_cv_prog_gnu_ld
   19544   fi
   19545   if test -n "${lt_cv_path_LDCXX+set}"; then
   19546     lt_cv_path_LD=$lt_cv_path_LDCXX
   19547   else
   19548     $as_unset lt_cv_path_LD
   19549   fi
   19550   test -z "${LDCXX+set}" || LD=$LDCXX
   19551   CC=${CXX-"c++"}
   19552   CFLAGS=$CXXFLAGS
   19553   compiler=$CC
   19554   compiler_CXX=$CC
   19555   func_cc_basename $compiler
   19556 cc_basename=$func_cc_basename_result
   19557 
   19558 
   19559   if test -n "$compiler"; then
   19560     # We don't want -fno-exception when compiling C++ code, so set the
   19561     # no_builtin_flag separately
   19562     if test yes = "$GXX"; then
   19563       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   19564     else
   19565       lt_prog_compiler_no_builtin_flag_CXX=
   19566     fi
   19567 
   19568     if test yes = "$GXX"; then
   19569       # Set up default GNU C++ configuration
   19570 
   19571 
   19572 
   19573 # Check whether --with-gnu-ld was given.
   19574 if test "${with_gnu_ld+set}" = set; then :
   19575   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   19576 else
   19577   with_gnu_ld=no
   19578 fi
   19579 
   19580 ac_prog=ld
   19581 if test yes = "$GCC"; then
   19582   # Check if gcc -print-prog-name=ld gives a path.
   19583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   19584 $as_echo_n "checking for ld used by $CC... " >&6; }
   19585   case $host in
   19586   *-*-mingw*)
   19587     # gcc leaves a trailing carriage return, which upsets mingw
   19588     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   19589   *)
   19590     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   19591   esac
   19592   case $ac_prog in
   19593     # Accept absolute paths.
   19594     [\\/]* | ?:[\\/]*)
   19595       re_direlt='/[^/][^/]*/\.\./'
   19596       # Canonicalize the pathname of ld
   19597       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   19598       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   19599 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   19600       done
   19601       test -z "$LD" && LD=$ac_prog
   19602       ;;
   19603   "")
   19604     # If it fails, then pretend we aren't using GCC.
   19605     ac_prog=ld
   19606     ;;
   19607   *)
   19608     # If it is relative, then search for the first ld in PATH.
   19609     with_gnu_ld=unknown
   19610     ;;
   19611   esac
   19612 elif test yes = "$with_gnu_ld"; then
   19613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   19614 $as_echo_n "checking for GNU ld... " >&6; }
   19615 else
   19616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   19617 $as_echo_n "checking for non-GNU ld... " >&6; }
   19618 fi
   19619 if ${lt_cv_path_LD+:} false; then :
   19620   $as_echo_n "(cached) " >&6
   19621 else
   19622   if test -z "$LD"; then
   19623   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   19624   for ac_dir in $PATH; do
   19625     IFS=$lt_save_ifs
   19626     test -z "$ac_dir" && ac_dir=.
   19627     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   19628       lt_cv_path_LD=$ac_dir/$ac_prog
   19629       # Check to see if the program is GNU ld.  I'd rather use --version,
   19630       # but apparently some variants of GNU ld only accept -v.
   19631       # Break only if it was the GNU/non-GNU ld that we prefer.
   19632       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   19633       *GNU* | *'with BFD'*)
   19634 	test no != "$with_gnu_ld" && break
   19635 	;;
   19636       *)
   19637 	test yes != "$with_gnu_ld" && break
   19638 	;;
   19639       esac
   19640     fi
   19641   done
   19642   IFS=$lt_save_ifs
   19643 else
   19644   lt_cv_path_LD=$LD # Let the user override the test with a path.
   19645 fi
   19646 fi
   19647 
   19648 LD=$lt_cv_path_LD
   19649 if test -n "$LD"; then
   19650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   19651 $as_echo "$LD" >&6; }
   19652 else
   19653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19654 $as_echo "no" >&6; }
   19655 fi
   19656 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   19658 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   19659 if ${lt_cv_prog_gnu_ld+:} false; then :
   19660   $as_echo_n "(cached) " >&6
   19661 else
   19662   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   19663 case `$LD -v 2>&1 </dev/null` in
   19664 *GNU* | *'with BFD'*)
   19665   lt_cv_prog_gnu_ld=yes
   19666   ;;
   19667 *)
   19668   lt_cv_prog_gnu_ld=no
   19669   ;;
   19670 esac
   19671 fi
   19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   19673 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   19674 with_gnu_ld=$lt_cv_prog_gnu_ld
   19675 
   19676 
   19677 
   19678 
   19679 
   19680 
   19681 
   19682       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   19683       # archiving commands below assume that GNU ld is being used.
   19684       if test yes = "$with_gnu_ld"; then
   19685         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   19686         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   19687 
   19688         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   19689         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   19690 
   19691         # If archive_cmds runs LD, not CC, wlarc should be empty
   19692         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   19693         #     investigate it a little bit more. (MM)
   19694         wlarc='$wl'
   19695 
   19696         # ancient GNU ld didn't support --whole-archive et. al.
   19697         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   19698 	  $GREP 'no-whole-archive' > /dev/null; then
   19699           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   19700         else
   19701           whole_archive_flag_spec_CXX=
   19702         fi
   19703       else
   19704         with_gnu_ld=no
   19705         wlarc=
   19706 
   19707         # A generic and very simple default shared library creation
   19708         # command for GNU C++ for the case where it uses the native
   19709         # linker, instead of GNU ld.  If possible, this setting should
   19710         # overridden to take advantage of the native linker features on
   19711         # the platform it is being used on.
   19712         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   19713       fi
   19714 
   19715       # Commands to make compiler produce verbose output that lists
   19716       # what "hidden" libraries, object files and flags are used when
   19717       # linking a shared library.
   19718       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   19719 
   19720     else
   19721       GXX=no
   19722       with_gnu_ld=no
   19723       wlarc=
   19724     fi
   19725 
   19726     # PORTME: fill in a description of your system's C++ link characteristics
   19727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   19728 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   19729     ld_shlibs_CXX=yes
   19730     case $host_os in
   19731       aix3*)
   19732         # FIXME: insert proper C++ library support
   19733         ld_shlibs_CXX=no
   19734         ;;
   19735       aix[4-9]*)
   19736         if test ia64 = "$host_cpu"; then
   19737           # On IA64, the linker does run time linking by default, so we don't
   19738           # have to do anything special.
   19739           aix_use_runtimelinking=no
   19740           exp_sym_flag='-Bexport'
   19741           no_entry_flag=
   19742         else
   19743           aix_use_runtimelinking=no
   19744 
   19745           # Test if we are trying to use run time linking or normal
   19746           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   19747           # have runtime linking enabled, and use it for executables.
   19748           # For shared libraries, we enable/disable runtime linking
   19749           # depending on the kind of the shared library created -
   19750           # when "with_aix_soname,aix_use_runtimelinking" is:
   19751           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   19752           # "aix,yes"  lib.so          shared, rtl:yes, for executables
   19753           #            lib.a           static archive
   19754           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
   19755           #            lib.a(lib.so.V) shared, rtl:no,  for executables
   19756           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   19757           #            lib.a(lib.so.V) shared, rtl:no
   19758           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   19759           #            lib.a           static archive
   19760           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   19761 	    for ld_flag in $LDFLAGS; do
   19762 	      case $ld_flag in
   19763 	      *-brtl*)
   19764 	        aix_use_runtimelinking=yes
   19765 	        break
   19766 	        ;;
   19767 	      esac
   19768 	    done
   19769 	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   19770 	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
   19771 	      # so we don't have lib.a shared libs to link our executables.
   19772 	      # We have to force runtime linking in this case.
   19773 	      aix_use_runtimelinking=yes
   19774 	      LDFLAGS="$LDFLAGS -Wl,-brtl"
   19775 	    fi
   19776 	    ;;
   19777           esac
   19778 
   19779           exp_sym_flag='-bexport'
   19780           no_entry_flag='-bnoentry'
   19781         fi
   19782 
   19783         # When large executables or shared objects are built, AIX ld can
   19784         # have problems creating the table of contents.  If linking a library
   19785         # or program results in "error TOC overflow" add -mminimal-toc to
   19786         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   19787         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   19788 
   19789         archive_cmds_CXX=''
   19790         hardcode_direct_CXX=yes
   19791         hardcode_direct_absolute_CXX=yes
   19792         hardcode_libdir_separator_CXX=':'
   19793         link_all_deplibs_CXX=yes
   19794         file_list_spec_CXX='$wl-f,'
   19795         case $with_aix_soname,$aix_use_runtimelinking in
   19796         aix,*) ;;	# no import file
   19797         svr4,* | *,yes) # use import file
   19798           # The Import File defines what to hardcode.
   19799           hardcode_direct_CXX=no
   19800           hardcode_direct_absolute_CXX=no
   19801           ;;
   19802         esac
   19803 
   19804         if test yes = "$GXX"; then
   19805           case $host_os in aix4.[012]|aix4.[012].*)
   19806           # We only want to do this on AIX 4.2 and lower, the check
   19807           # below for broken collect2 doesn't work under 4.3+
   19808 	  collect2name=`$CC -print-prog-name=collect2`
   19809 	  if test -f "$collect2name" &&
   19810 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   19811 	  then
   19812 	    # We have reworked collect2
   19813 	    :
   19814 	  else
   19815 	    # We have old collect2
   19816 	    hardcode_direct_CXX=unsupported
   19817 	    # It fails to find uninstalled libraries when the uninstalled
   19818 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   19819 	    # to unsupported forces relinking
   19820 	    hardcode_minus_L_CXX=yes
   19821 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   19822 	    hardcode_libdir_separator_CXX=
   19823 	  fi
   19824           esac
   19825           shared_flag='-shared'
   19826 	  if test yes = "$aix_use_runtimelinking"; then
   19827 	    shared_flag=$shared_flag' $wl-G'
   19828 	  fi
   19829 	  # Need to ensure runtime linking is disabled for the traditional
   19830 	  # shared library, or the linker may eventually find shared libraries
   19831 	  # /with/ Import File - we do not want to mix them.
   19832 	  shared_flag_aix='-shared'
   19833 	  shared_flag_svr4='-shared $wl-G'
   19834         else
   19835           # not using gcc
   19836           if test ia64 = "$host_cpu"; then
   19837 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   19838 	  # chokes on -Wl,-G. The following line is correct:
   19839 	  shared_flag='-G'
   19840           else
   19841 	    if test yes = "$aix_use_runtimelinking"; then
   19842 	      shared_flag='$wl-G'
   19843 	    else
   19844 	      shared_flag='$wl-bM:SRE'
   19845 	    fi
   19846 	    shared_flag_aix='$wl-bM:SRE'
   19847 	    shared_flag_svr4='$wl-G'
   19848           fi
   19849         fi
   19850 
   19851         export_dynamic_flag_spec_CXX='$wl-bexpall'
   19852         # It seems that -bexpall does not export symbols beginning with
   19853         # underscore (_), so it is better to generate a list of symbols to
   19854 	# export.
   19855         always_export_symbols_CXX=yes
   19856 	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   19857           # Warning - without using the other runtime loading flags (-brtl),
   19858           # -berok will link without error, but may produce a broken library.
   19859           # The "-G" linker flag allows undefined symbols.
   19860           no_undefined_flag_CXX='-bernotok'
   19861           # Determine the default libpath from the value encoded in an empty
   19862           # executable.
   19863           if test set = "${lt_cv_aix_libpath+set}"; then
   19864   aix_libpath=$lt_cv_aix_libpath
   19865 else
   19866   if ${lt_cv_aix_libpath__CXX+:} false; then :
   19867   $as_echo_n "(cached) " >&6
   19868 else
   19869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19870 /* end confdefs.h.  */
   19871 
   19872 int
   19873 main ()
   19874 {
   19875 
   19876   ;
   19877   return 0;
   19878 }
   19879 _ACEOF
   19880 if ac_fn_cxx_try_link "$LINENO"; then :
   19881 
   19882   lt_aix_libpath_sed='
   19883       /Import File Strings/,/^$/ {
   19884 	  /^0/ {
   19885 	      s/^0  *\([^ ]*\) *$/\1/
   19886 	      p
   19887 	  }
   19888       }'
   19889   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   19890   # Check for a 64-bit object if we didn't find anything.
   19891   if test -z "$lt_cv_aix_libpath__CXX"; then
   19892     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   19893   fi
   19894 fi
   19895 rm -f core conftest.err conftest.$ac_objext \
   19896     conftest$ac_exeext conftest.$ac_ext
   19897   if test -z "$lt_cv_aix_libpath__CXX"; then
   19898     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   19899   fi
   19900 
   19901 fi
   19902 
   19903   aix_libpath=$lt_cv_aix_libpath__CXX
   19904 fi
   19905 
   19906           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   19907 
   19908           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   19909         else
   19910           if test ia64 = "$host_cpu"; then
   19911 	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
   19912 	    allow_undefined_flag_CXX="-z nodefs"
   19913 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   19914           else
   19915 	    # Determine the default libpath from the value encoded in an
   19916 	    # empty executable.
   19917 	    if test set = "${lt_cv_aix_libpath+set}"; then
   19918   aix_libpath=$lt_cv_aix_libpath
   19919 else
   19920   if ${lt_cv_aix_libpath__CXX+:} false; then :
   19921   $as_echo_n "(cached) " >&6
   19922 else
   19923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19924 /* end confdefs.h.  */
   19925 
   19926 int
   19927 main ()
   19928 {
   19929 
   19930   ;
   19931   return 0;
   19932 }
   19933 _ACEOF
   19934 if ac_fn_cxx_try_link "$LINENO"; then :
   19935 
   19936   lt_aix_libpath_sed='
   19937       /Import File Strings/,/^$/ {
   19938 	  /^0/ {
   19939 	      s/^0  *\([^ ]*\) *$/\1/
   19940 	      p
   19941 	  }
   19942       }'
   19943   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   19944   # Check for a 64-bit object if we didn't find anything.
   19945   if test -z "$lt_cv_aix_libpath__CXX"; then
   19946     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   19947   fi
   19948 fi
   19949 rm -f core conftest.err conftest.$ac_objext \
   19950     conftest$ac_exeext conftest.$ac_ext
   19951   if test -z "$lt_cv_aix_libpath__CXX"; then
   19952     lt_cv_aix_libpath__CXX=/usr/lib:/lib
   19953   fi
   19954 
   19955 fi
   19956 
   19957   aix_libpath=$lt_cv_aix_libpath__CXX
   19958 fi
   19959 
   19960 	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
   19961 	    # Warning - without using the other run time loading flags,
   19962 	    # -berok will link without error, but may produce a broken library.
   19963 	    no_undefined_flag_CXX=' $wl-bernotok'
   19964 	    allow_undefined_flag_CXX=' $wl-berok'
   19965 	    if test yes = "$with_gnu_ld"; then
   19966 	      # We only use this code for GNU lds that support --whole-archive.
   19967 	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   19968 	    else
   19969 	      # Exported symbols can be pulled into shared objects from archives
   19970 	      whole_archive_flag_spec_CXX='$convenience'
   19971 	    fi
   19972 	    archive_cmds_need_lc_CXX=yes
   19973 	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   19974 	    # -brtl affects multiple linker settings, -berok does not and is overridden later
   19975 	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   19976 	    if test svr4 != "$with_aix_soname"; then
   19977 	      # This is similar to how AIX traditionally builds its shared
   19978 	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
   19979 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   19980 	    fi
   19981 	    if test aix != "$with_aix_soname"; then
   19982 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   19983 	    else
   19984 	      # used by -dlpreopen to get the symbols
   19985 	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   19986 	    fi
   19987 	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
   19988           fi
   19989         fi
   19990         ;;
   19991 
   19992       beos*)
   19993 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   19994 	  allow_undefined_flag_CXX=unsupported
   19995 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   19996 	  # support --undefined.  This deserves some investigation.  FIXME
   19997 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   19998 	else
   19999 	  ld_shlibs_CXX=no
   20000 	fi
   20001 	;;
   20002 
   20003       chorus*)
   20004         case $cc_basename in
   20005           *)
   20006 	  # FIXME: insert proper C++ library support
   20007 	  ld_shlibs_CXX=no
   20008 	  ;;
   20009         esac
   20010         ;;
   20011 
   20012       cygwin* | mingw* | pw32* | cegcc*)
   20013 	case $GXX,$cc_basename in
   20014 	,cl* | no,cl*)
   20015 	  # Native MSVC
   20016 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   20017 	  # no search path for DLLs.
   20018 	  hardcode_libdir_flag_spec_CXX=' '
   20019 	  allow_undefined_flag_CXX=unsupported
   20020 	  always_export_symbols_CXX=yes
   20021 	  file_list_spec_CXX='@'
   20022 	  # Tell ltmain to make .lib files, not .a files.
   20023 	  libext=lib
   20024 	  # Tell ltmain to make .dll files, not .so files.
   20025 	  shrext_cmds=.dll
   20026 	  # FIXME: Setting linknames here is a bad hack.
   20027 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   20028 	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   20029               cp "$export_symbols" "$output_objdir/$soname.def";
   20030               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   20031             else
   20032               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   20033             fi~
   20034             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   20035             linknames='
   20036 	  # The linker will not automatically build a static lib if we build a DLL.
   20037 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   20038 	  enable_shared_with_static_runtimes_CXX=yes
   20039 	  # Don't use ranlib
   20040 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   20041 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   20042             lt_tool_outputfile="@TOOL_OUTPUT@"~
   20043             case $lt_outputfile in
   20044               *.exe|*.EXE) ;;
   20045               *)
   20046                 lt_outputfile=$lt_outputfile.exe
   20047                 lt_tool_outputfile=$lt_tool_outputfile.exe
   20048                 ;;
   20049             esac~
   20050             func_to_tool_file "$lt_outputfile"~
   20051             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   20052               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   20053               $RM "$lt_outputfile.manifest";
   20054             fi'
   20055 	  ;;
   20056 	*)
   20057 	  # g++
   20058 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   20059 	  # as there is no search path for DLLs.
   20060 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   20061 	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
   20062 	  allow_undefined_flag_CXX=unsupported
   20063 	  always_export_symbols_CXX=no
   20064 	  enable_shared_with_static_runtimes_CXX=yes
   20065 
   20066 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   20067 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   20068 	    # If the export-symbols file already is a .def file, use it as
   20069 	    # is; otherwise, prepend EXPORTS...
   20070 	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   20071               cp $export_symbols $output_objdir/$soname.def;
   20072             else
   20073               echo EXPORTS > $output_objdir/$soname.def;
   20074               cat $export_symbols >> $output_objdir/$soname.def;
   20075             fi~
   20076             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   20077 	  else
   20078 	    ld_shlibs_CXX=no
   20079 	  fi
   20080 	  ;;
   20081 	esac
   20082 	;;
   20083       darwin* | rhapsody*)
   20084 
   20085 
   20086   archive_cmds_need_lc_CXX=no
   20087   hardcode_direct_CXX=no
   20088   hardcode_automatic_CXX=yes
   20089   hardcode_shlibpath_var_CXX=unsupported
   20090   if test yes = "$lt_cv_ld_force_load"; then
   20091     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   20092 
   20093   else
   20094     whole_archive_flag_spec_CXX=''
   20095   fi
   20096   link_all_deplibs_CXX=yes
   20097   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
   20098   case $cc_basename in
   20099      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   20100      *) _lt_dar_can_shared=$GCC ;;
   20101   esac
   20102   if test yes = "$_lt_dar_can_shared"; then
   20103     output_verbose_link_cmd=func_echo_all
   20104     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   20105     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   20106     archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   20107     module_expsym_cmds_CXX="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   20108        if test yes != "$lt_cv_apple_cc_single_mod"; then
   20109       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
   20110       archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
   20111     fi
   20112 
   20113   else
   20114   ld_shlibs_CXX=no
   20115   fi
   20116 
   20117 	;;
   20118 
   20119       os2*)
   20120 	hardcode_libdir_flag_spec_CXX='-L$libdir'
   20121 	hardcode_minus_L_CXX=yes
   20122 	allow_undefined_flag_CXX=unsupported
   20123 	shrext_cmds=.dll
   20124 	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   20125 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   20126 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   20127 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   20128 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   20129 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   20130 	  emximp -o $lib $output_objdir/$libname.def'
   20131 	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   20132 	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   20133 	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   20134 	  $ECHO EXPORTS >> $output_objdir/$libname.def~
   20135 	  prefix_cmds="$SED"~
   20136 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
   20137 	    prefix_cmds="$prefix_cmds -e 1d";
   20138 	  fi~
   20139 	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   20140 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   20141 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   20142 	  emximp -o $lib $output_objdir/$libname.def'
   20143 	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   20144 	enable_shared_with_static_runtimes_CXX=yes
   20145 	;;
   20146 
   20147       dgux*)
   20148         case $cc_basename in
   20149           ec++*)
   20150 	    # FIXME: insert proper C++ library support
   20151 	    ld_shlibs_CXX=no
   20152 	    ;;
   20153           ghcx*)
   20154 	    # Green Hills C++ Compiler
   20155 	    # FIXME: insert proper C++ library support
   20156 	    ld_shlibs_CXX=no
   20157 	    ;;
   20158           *)
   20159 	    # FIXME: insert proper C++ library support
   20160 	    ld_shlibs_CXX=no
   20161 	    ;;
   20162         esac
   20163         ;;
   20164 
   20165       freebsd2.*)
   20166         # C++ shared libraries reported to be fairly broken before
   20167 	# switch to ELF
   20168         ld_shlibs_CXX=no
   20169         ;;
   20170 
   20171       freebsd-elf*)
   20172         archive_cmds_need_lc_CXX=no
   20173         ;;
   20174 
   20175       freebsd* | dragonfly*)
   20176         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   20177         # conventions
   20178         ld_shlibs_CXX=yes
   20179         ;;
   20180 
   20181       haiku*)
   20182         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20183         link_all_deplibs_CXX=yes
   20184         ;;
   20185 
   20186       hpux9*)
   20187         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   20188         hardcode_libdir_separator_CXX=:
   20189         export_dynamic_flag_spec_CXX='$wl-E'
   20190         hardcode_direct_CXX=yes
   20191         hardcode_minus_L_CXX=yes # Not in the search PATH,
   20192 				             # but as the default
   20193 				             # location of the library.
   20194 
   20195         case $cc_basename in
   20196           CC*)
   20197             # FIXME: insert proper C++ library support
   20198             ld_shlibs_CXX=no
   20199             ;;
   20200           aCC*)
   20201             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   20202             # Commands to make compiler produce verbose output that lists
   20203             # what "hidden" libraries, object files and flags are used when
   20204             # linking a shared library.
   20205             #
   20206             # There doesn't appear to be a way to prevent this compiler from
   20207             # explicitly linking system object files so we need to strip them
   20208             # from the output so that they don't get included in the library
   20209             # dependencies.
   20210             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20211             ;;
   20212           *)
   20213             if test yes = "$GXX"; then
   20214               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   20215             else
   20216               # FIXME: insert proper C++ library support
   20217               ld_shlibs_CXX=no
   20218             fi
   20219             ;;
   20220         esac
   20221         ;;
   20222 
   20223       hpux10*|hpux11*)
   20224         if test no = "$with_gnu_ld"; then
   20225 	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
   20226 	  hardcode_libdir_separator_CXX=:
   20227 
   20228           case $host_cpu in
   20229             hppa*64*|ia64*)
   20230               ;;
   20231             *)
   20232 	      export_dynamic_flag_spec_CXX='$wl-E'
   20233               ;;
   20234           esac
   20235         fi
   20236         case $host_cpu in
   20237           hppa*64*|ia64*)
   20238             hardcode_direct_CXX=no
   20239             hardcode_shlibpath_var_CXX=no
   20240             ;;
   20241           *)
   20242             hardcode_direct_CXX=yes
   20243             hardcode_direct_absolute_CXX=yes
   20244             hardcode_minus_L_CXX=yes # Not in the search PATH,
   20245 					         # but as the default
   20246 					         # location of the library.
   20247             ;;
   20248         esac
   20249 
   20250         case $cc_basename in
   20251           CC*)
   20252 	    # FIXME: insert proper C++ library support
   20253 	    ld_shlibs_CXX=no
   20254 	    ;;
   20255           aCC*)
   20256 	    case $host_cpu in
   20257 	      hppa*64*)
   20258 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20259 	        ;;
   20260 	      ia64*)
   20261 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20262 	        ;;
   20263 	      *)
   20264 	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20265 	        ;;
   20266 	    esac
   20267 	    # Commands to make compiler produce verbose output that lists
   20268 	    # what "hidden" libraries, object files and flags are used when
   20269 	    # linking a shared library.
   20270 	    #
   20271 	    # There doesn't appear to be a way to prevent this compiler from
   20272 	    # explicitly linking system object files so we need to strip them
   20273 	    # from the output so that they don't get included in the library
   20274 	    # dependencies.
   20275 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20276 	    ;;
   20277           *)
   20278 	    if test yes = "$GXX"; then
   20279 	      if test no = "$with_gnu_ld"; then
   20280 	        case $host_cpu in
   20281 	          hppa*64*)
   20282 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20283 	            ;;
   20284 	          ia64*)
   20285 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20286 	            ;;
   20287 	          *)
   20288 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20289 	            ;;
   20290 	        esac
   20291 	      fi
   20292 	    else
   20293 	      # FIXME: insert proper C++ library support
   20294 	      ld_shlibs_CXX=no
   20295 	    fi
   20296 	    ;;
   20297         esac
   20298         ;;
   20299 
   20300       interix[3-9]*)
   20301 	hardcode_direct_CXX=no
   20302 	hardcode_shlibpath_var_CXX=no
   20303 	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20304 	export_dynamic_flag_spec_CXX='$wl-E'
   20305 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   20306 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   20307 	# default) and relocated if they conflict, which is a slow very memory
   20308 	# consuming and fragmenting process.  To avoid this, we pick a random,
   20309 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   20310 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   20311 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   20312 	archive_expsym_cmds_CXX='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   20313 	;;
   20314       irix5* | irix6*)
   20315         case $cc_basename in
   20316           CC*)
   20317 	    # SGI C++
   20318 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20319 
   20320 	    # Archives containing C++ object files must be created using
   20321 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   20322 	    # necessary to make sure instantiated templates are included
   20323 	    # in the archive.
   20324 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   20325 	    ;;
   20326           *)
   20327 	    if test yes = "$GXX"; then
   20328 	      if test no = "$with_gnu_ld"; then
   20329 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   20330 	      else
   20331 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
   20332 	      fi
   20333 	    fi
   20334 	    link_all_deplibs_CXX=yes
   20335 	    ;;
   20336         esac
   20337         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20338         hardcode_libdir_separator_CXX=:
   20339         inherit_rpath_CXX=yes
   20340         ;;
   20341 
   20342       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   20343         case $cc_basename in
   20344           KCC*)
   20345 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   20346 
   20347 	    # KCC will only create a shared library if the output file
   20348 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   20349 	    # to its proper name (with version) after linking.
   20350 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   20351 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
   20352 	    # Commands to make compiler produce verbose output that lists
   20353 	    # what "hidden" libraries, object files and flags are used when
   20354 	    # linking a shared library.
   20355 	    #
   20356 	    # There doesn't appear to be a way to prevent this compiler from
   20357 	    # explicitly linking system object files so we need to strip them
   20358 	    # from the output so that they don't get included in the library
   20359 	    # dependencies.
   20360 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20361 
   20362 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20363 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20364 
   20365 	    # Archives containing C++ object files must be created using
   20366 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   20367 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   20368 	    ;;
   20369 	  icpc* | ecpc* )
   20370 	    # Intel C++
   20371 	    with_gnu_ld=yes
   20372 	    # version 8.0 and above of icpc choke on multiply defined symbols
   20373 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   20374 	    # earlier do not add the objects themselves.
   20375 	    case `$CC -V 2>&1` in
   20376 	      *"Version 7."*)
   20377 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20378 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20379 		;;
   20380 	      *)  # Version 8.0 or newer
   20381 	        tmp_idyn=
   20382 	        case $host_cpu in
   20383 		  ia64*) tmp_idyn=' -i_dynamic';;
   20384 		esac
   20385 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20386 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20387 		;;
   20388 	    esac
   20389 	    archive_cmds_need_lc_CXX=no
   20390 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20391 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20392 	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
   20393 	    ;;
   20394           pgCC* | pgcpp*)
   20395             # Portland Group C++ compiler
   20396 	    case `$CC -V` in
   20397 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   20398 	      prelink_cmds_CXX='tpldir=Template.dir~
   20399                rm -rf $tpldir~
   20400                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   20401                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   20402 	      old_archive_cmds_CXX='tpldir=Template.dir~
   20403                 rm -rf $tpldir~
   20404                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   20405                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   20406                 $RANLIB $oldlib'
   20407 	      archive_cmds_CXX='tpldir=Template.dir~
   20408                 rm -rf $tpldir~
   20409                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   20410                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20411 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   20412                 rm -rf $tpldir~
   20413                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   20414                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20415 	      ;;
   20416 	    *) # Version 6 and above use weak symbols
   20417 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20418 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   20419 	      ;;
   20420 	    esac
   20421 
   20422 	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
   20423 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20424 	    whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   20425             ;;
   20426 	  cxx*)
   20427 	    # Compaq C++
   20428 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
   20429 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
   20430 
   20431 	    runpath_var=LD_RUN_PATH
   20432 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   20433 	    hardcode_libdir_separator_CXX=:
   20434 
   20435 	    # Commands to make compiler produce verbose output that lists
   20436 	    # what "hidden" libraries, object files and flags are used when
   20437 	    # linking a shared library.
   20438 	    #
   20439 	    # There doesn't appear to be a way to prevent this compiler from
   20440 	    # explicitly linking system object files so we need to strip them
   20441 	    # from the output so that they don't get included in the library
   20442 	    # dependencies.
   20443 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   20444 	    ;;
   20445 	  xl* | mpixl* | bgxl*)
   20446 	    # IBM XL 8.0 on PPC, with GNU ld
   20447 	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20448 	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
   20449 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   20450 	    if test yes = "$supports_anon_versioning"; then
   20451 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   20452                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   20453                 echo "local: *; };" >> $output_objdir/$libname.ver~
   20454                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   20455 	    fi
   20456 	    ;;
   20457 	  *)
   20458 	    case `$CC -V 2>&1 | sed 5q` in
   20459 	    *Sun\ C*)
   20460 	      # Sun C++ 5.9
   20461 	      no_undefined_flag_CXX=' -zdefs'
   20462 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20463 	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
   20464 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   20465 	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   20466 	      compiler_needs_object_CXX=yes
   20467 
   20468 	      # Not sure whether something based on
   20469 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   20470 	      # would be better.
   20471 	      output_verbose_link_cmd='func_echo_all'
   20472 
   20473 	      # Archives containing C++ object files must be created using
   20474 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   20475 	      # necessary to make sure instantiated templates are included
   20476 	      # in the archive.
   20477 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   20478 	      ;;
   20479 	    esac
   20480 	    ;;
   20481 	esac
   20482 	;;
   20483 
   20484       lynxos*)
   20485         # FIXME: insert proper C++ library support
   20486 	ld_shlibs_CXX=no
   20487 	;;
   20488 
   20489       m88k*)
   20490         # FIXME: insert proper C++ library support
   20491         ld_shlibs_CXX=no
   20492 	;;
   20493 
   20494       mvs*)
   20495         case $cc_basename in
   20496           cxx*)
   20497 	    # FIXME: insert proper C++ library support
   20498 	    ld_shlibs_CXX=no
   20499 	    ;;
   20500 	  *)
   20501 	    # FIXME: insert proper C++ library support
   20502 	    ld_shlibs_CXX=no
   20503 	    ;;
   20504 	esac
   20505 	;;
   20506 
   20507       netbsd*)
   20508         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   20509 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   20510 	  wlarc=
   20511 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   20512 	  hardcode_direct_CXX=yes
   20513 	  hardcode_shlibpath_var_CXX=no
   20514 	fi
   20515 	# Workaround some broken pre-1.5 toolchains
   20516 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   20517 	;;
   20518 
   20519       *nto* | *qnx*)
   20520         ld_shlibs_CXX=yes
   20521 	;;
   20522 
   20523       openbsd* | bitrig*)
   20524 	if test -f /usr/libexec/ld.so; then
   20525 	  hardcode_direct_CXX=yes
   20526 	  hardcode_shlibpath_var_CXX=no
   20527 	  hardcode_direct_absolute_CXX=yes
   20528 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   20529 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20530 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
   20531 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
   20532 	    export_dynamic_flag_spec_CXX='$wl-E'
   20533 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   20534 	  fi
   20535 	  output_verbose_link_cmd=func_echo_all
   20536 	else
   20537 	  ld_shlibs_CXX=no
   20538 	fi
   20539 	;;
   20540 
   20541       osf3* | osf4* | osf5*)
   20542         case $cc_basename in
   20543           KCC*)
   20544 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   20545 
   20546 	    # KCC will only create a shared library if the output file
   20547 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   20548 	    # to its proper name (with version) after linking.
   20549 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   20550 
   20551 	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
   20552 	    hardcode_libdir_separator_CXX=:
   20553 
   20554 	    # Archives containing C++ object files must be created using
   20555 	    # the KAI C++ compiler.
   20556 	    case $host in
   20557 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   20558 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   20559 	    esac
   20560 	    ;;
   20561           RCC*)
   20562 	    # Rational C++ 2.4.1
   20563 	    # FIXME: insert proper C++ library support
   20564 	    ld_shlibs_CXX=no
   20565 	    ;;
   20566           cxx*)
   20567 	    case $host in
   20568 	      osf3*)
   20569 	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   20570 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20571 	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20572 		;;
   20573 	      *)
   20574 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   20575 	        archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   20576 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   20577                   echo "-hidden">> $lib.exp~
   20578                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
   20579                   $RM $lib.exp'
   20580 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   20581 		;;
   20582 	    esac
   20583 
   20584 	    hardcode_libdir_separator_CXX=:
   20585 
   20586 	    # Commands to make compiler produce verbose output that lists
   20587 	    # what "hidden" libraries, object files and flags are used when
   20588 	    # linking a shared library.
   20589 	    #
   20590 	    # There doesn't appear to be a way to prevent this compiler from
   20591 	    # explicitly linking system object files so we need to strip them
   20592 	    # from the output so that they don't get included in the library
   20593 	    # dependencies.
   20594 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   20595 	    ;;
   20596 	  *)
   20597 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   20598 	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
   20599 	      case $host in
   20600 	        osf3*)
   20601 	          archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   20602 		  ;;
   20603 	        *)
   20604 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   20605 		  ;;
   20606 	      esac
   20607 
   20608 	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
   20609 	      hardcode_libdir_separator_CXX=:
   20610 
   20611 	      # Commands to make compiler produce verbose output that lists
   20612 	      # what "hidden" libraries, object files and flags are used when
   20613 	      # linking a shared library.
   20614 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   20615 
   20616 	    else
   20617 	      # FIXME: insert proper C++ library support
   20618 	      ld_shlibs_CXX=no
   20619 	    fi
   20620 	    ;;
   20621         esac
   20622         ;;
   20623 
   20624       psos*)
   20625         # FIXME: insert proper C++ library support
   20626         ld_shlibs_CXX=no
   20627         ;;
   20628 
   20629       sunos4*)
   20630         case $cc_basename in
   20631           CC*)
   20632 	    # Sun C++ 4.x
   20633 	    # FIXME: insert proper C++ library support
   20634 	    ld_shlibs_CXX=no
   20635 	    ;;
   20636           lcc*)
   20637 	    # Lucid
   20638 	    # FIXME: insert proper C++ library support
   20639 	    ld_shlibs_CXX=no
   20640 	    ;;
   20641           *)
   20642 	    # FIXME: insert proper C++ library support
   20643 	    ld_shlibs_CXX=no
   20644 	    ;;
   20645         esac
   20646         ;;
   20647 
   20648       solaris*)
   20649         case $cc_basename in
   20650           CC* | sunCC*)
   20651 	    # Sun C++ 4.2, 5.x and Centerline C++
   20652             archive_cmds_need_lc_CXX=yes
   20653 	    no_undefined_flag_CXX=' -zdefs'
   20654 	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   20655 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   20656               $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   20657 
   20658 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   20659 	    hardcode_shlibpath_var_CXX=no
   20660 	    case $host_os in
   20661 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   20662 	      *)
   20663 		# The compiler driver will combine and reorder linker options,
   20664 		# but understands '-z linker_flag'.
   20665 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   20666 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   20667 	        ;;
   20668 	    esac
   20669 	    link_all_deplibs_CXX=yes
   20670 
   20671 	    output_verbose_link_cmd='func_echo_all'
   20672 
   20673 	    # Archives containing C++ object files must be created using
   20674 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   20675 	    # necessary to make sure instantiated templates are included
   20676 	    # in the archive.
   20677 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   20678 	    ;;
   20679           gcx*)
   20680 	    # Green Hills C++ Compiler
   20681 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   20682 
   20683 	    # The C++ compiler must be used to create the archive.
   20684 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   20685 	    ;;
   20686           *)
   20687 	    # GNU C++ compiler with Solaris linker
   20688 	    if test yes,no = "$GXX,$with_gnu_ld"; then
   20689 	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
   20690 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   20691 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   20692 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   20693                   $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   20694 
   20695 	        # Commands to make compiler produce verbose output that lists
   20696 	        # what "hidden" libraries, object files and flags are used when
   20697 	        # linking a shared library.
   20698 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   20699 	      else
   20700 	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
   20701 	        # platform.
   20702 	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
   20703 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   20704                   $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   20705 
   20706 	        # Commands to make compiler produce verbose output that lists
   20707 	        # what "hidden" libraries, object files and flags are used when
   20708 	        # linking a shared library.
   20709 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   20710 	      fi
   20711 
   20712 	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
   20713 	      case $host_os in
   20714 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   20715 		*)
   20716 		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   20717 		  ;;
   20718 	      esac
   20719 	    fi
   20720 	    ;;
   20721         esac
   20722         ;;
   20723 
   20724     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   20725       no_undefined_flag_CXX='$wl-z,text'
   20726       archive_cmds_need_lc_CXX=no
   20727       hardcode_shlibpath_var_CXX=no
   20728       runpath_var='LD_RUN_PATH'
   20729 
   20730       case $cc_basename in
   20731         CC*)
   20732 	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20733 	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20734 	  ;;
   20735 	*)
   20736 	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20737 	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20738 	  ;;
   20739       esac
   20740       ;;
   20741 
   20742       sysv5* | sco3.2v5* | sco5v6*)
   20743 	# Note: We CANNOT use -z defs as we might desire, because we do not
   20744 	# link with -lc, and that would cause any symbols used from libc to
   20745 	# always be unresolved, which means just about no library would
   20746 	# ever link correctly.  If we're not using GNU ld we use -z text
   20747 	# though, which does catch some bad symbols but isn't as heavy-handed
   20748 	# as -z defs.
   20749 	no_undefined_flag_CXX='$wl-z,text'
   20750 	allow_undefined_flag_CXX='$wl-z,nodefs'
   20751 	archive_cmds_need_lc_CXX=no
   20752 	hardcode_shlibpath_var_CXX=no
   20753 	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
   20754 	hardcode_libdir_separator_CXX=':'
   20755 	link_all_deplibs_CXX=yes
   20756 	export_dynamic_flag_spec_CXX='$wl-Bexport'
   20757 	runpath_var='LD_RUN_PATH'
   20758 
   20759 	case $cc_basename in
   20760           CC*)
   20761 	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20762 	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20763 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   20764               '"$old_archive_cmds_CXX"
   20765 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   20766               '"$reload_cmds_CXX"
   20767 	    ;;
   20768 	  *)
   20769 	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20770 	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   20771 	    ;;
   20772 	esac
   20773       ;;
   20774 
   20775       tandem*)
   20776         case $cc_basename in
   20777           NCC*)
   20778 	    # NonStop-UX NCC 3.20
   20779 	    # FIXME: insert proper C++ library support
   20780 	    ld_shlibs_CXX=no
   20781 	    ;;
   20782           *)
   20783 	    # FIXME: insert proper C++ library support
   20784 	    ld_shlibs_CXX=no
   20785 	    ;;
   20786         esac
   20787         ;;
   20788 
   20789       vxworks*)
   20790         # FIXME: insert proper C++ library support
   20791         ld_shlibs_CXX=no
   20792         ;;
   20793 
   20794       *)
   20795         # FIXME: insert proper C++ library support
   20796         ld_shlibs_CXX=no
   20797         ;;
   20798     esac
   20799 
   20800     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   20801 $as_echo "$ld_shlibs_CXX" >&6; }
   20802     test no = "$ld_shlibs_CXX" && can_build_shared=no
   20803 
   20804     GCC_CXX=$GXX
   20805     LD_CXX=$LD
   20806 
   20807     ## CAVEAT EMPTOR:
   20808     ## There is no encapsulation within the following macros, do not change
   20809     ## the running order or otherwise move them around unless you know exactly
   20810     ## what you are doing...
   20811     # Dependencies to place before and after the object being linked:
   20812 predep_objects_CXX=
   20813 postdep_objects_CXX=
   20814 predeps_CXX=
   20815 postdeps_CXX=
   20816 compiler_lib_search_path_CXX=
   20817 
   20818 cat > conftest.$ac_ext <<_LT_EOF
   20819 class Foo
   20820 {
   20821 public:
   20822   Foo (void) { a = 0; }
   20823 private:
   20824   int a;
   20825 };
   20826 _LT_EOF
   20827 
   20828 
   20829 _lt_libdeps_save_CFLAGS=$CFLAGS
   20830 case "$CC $CFLAGS " in #(
   20831 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   20832 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   20833 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   20834 esac
   20835 
   20836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   20837   (eval $ac_compile) 2>&5
   20838   ac_status=$?
   20839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20840   test $ac_status = 0; }; then
   20841   # Parse the compiler output and extract the necessary
   20842   # objects, libraries and library flags.
   20843 
   20844   # Sentinel used to keep track of whether or not we are before
   20845   # the conftest object file.
   20846   pre_test_object_deps_done=no
   20847 
   20848   for p in `eval "$output_verbose_link_cmd"`; do
   20849     case $prev$p in
   20850 
   20851     -L* | -R* | -l*)
   20852        # Some compilers place space between "-{L,R}" and the path.
   20853        # Remove the space.
   20854        if test x-L = "$p" ||
   20855           test x-R = "$p"; then
   20856 	 prev=$p
   20857 	 continue
   20858        fi
   20859 
   20860        # Expand the sysroot to ease extracting the directories later.
   20861        if test -z "$prev"; then
   20862          case $p in
   20863          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   20864          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   20865          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   20866          esac
   20867        fi
   20868        case $p in
   20869        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   20870        esac
   20871        if test no = "$pre_test_object_deps_done"; then
   20872 	 case $prev in
   20873 	 -L | -R)
   20874 	   # Internal compiler library paths should come after those
   20875 	   # provided the user.  The postdeps already come after the
   20876 	   # user supplied libs so there is no need to process them.
   20877 	   if test -z "$compiler_lib_search_path_CXX"; then
   20878 	     compiler_lib_search_path_CXX=$prev$p
   20879 	   else
   20880 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
   20881 	   fi
   20882 	   ;;
   20883 	 # The "-l" case would never come before the object being
   20884 	 # linked, so don't bother handling this case.
   20885 	 esac
   20886        else
   20887 	 if test -z "$postdeps_CXX"; then
   20888 	   postdeps_CXX=$prev$p
   20889 	 else
   20890 	   postdeps_CXX="${postdeps_CXX} $prev$p"
   20891 	 fi
   20892        fi
   20893        prev=
   20894        ;;
   20895 
   20896     *.lto.$objext) ;; # Ignore GCC LTO objects
   20897     *.$objext)
   20898        # This assumes that the test object file only shows up
   20899        # once in the compiler output.
   20900        if test "$p" = "conftest.$objext"; then
   20901 	 pre_test_object_deps_done=yes
   20902 	 continue
   20903        fi
   20904 
   20905        if test no = "$pre_test_object_deps_done"; then
   20906 	 if test -z "$predep_objects_CXX"; then
   20907 	   predep_objects_CXX=$p
   20908 	 else
   20909 	   predep_objects_CXX="$predep_objects_CXX $p"
   20910 	 fi
   20911        else
   20912 	 if test -z "$postdep_objects_CXX"; then
   20913 	   postdep_objects_CXX=$p
   20914 	 else
   20915 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   20916 	 fi
   20917        fi
   20918        ;;
   20919 
   20920     *) ;; # Ignore the rest.
   20921 
   20922     esac
   20923   done
   20924 
   20925   # Clean up.
   20926   rm -f a.out a.exe
   20927 else
   20928   echo "libtool.m4: error: problem compiling CXX test program"
   20929 fi
   20930 
   20931 $RM -f confest.$objext
   20932 CFLAGS=$_lt_libdeps_save_CFLAGS
   20933 
   20934 # PORTME: override above test on systems where it is broken
   20935 case $host_os in
   20936 interix[3-9]*)
   20937   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   20938   # hack all around it, let's just trust "g++" to DTRT.
   20939   predep_objects_CXX=
   20940   postdep_objects_CXX=
   20941   postdeps_CXX=
   20942   ;;
   20943 esac
   20944 
   20945 
   20946 case " $postdeps_CXX " in
   20947 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   20948 esac
   20949  compiler_lib_search_dirs_CXX=
   20950 if test -n "${compiler_lib_search_path_CXX}"; then
   20951  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
   20952 fi
   20953 
   20954 
   20955 
   20956 
   20957 
   20958 
   20959 
   20960 
   20961 
   20962 
   20963 
   20964 
   20965 
   20966 
   20967 
   20968 
   20969 
   20970 
   20971 
   20972 
   20973 
   20974 
   20975 
   20976 
   20977 
   20978 
   20979 
   20980 
   20981 
   20982 
   20983 
   20984     lt_prog_compiler_wl_CXX=
   20985 lt_prog_compiler_pic_CXX=
   20986 lt_prog_compiler_static_CXX=
   20987 
   20988 
   20989   # C++ specific cases for pic, static, wl, etc.
   20990   if test yes = "$GXX"; then
   20991     lt_prog_compiler_wl_CXX='-Wl,'
   20992     lt_prog_compiler_static_CXX='-static'
   20993 
   20994     case $host_os in
   20995     aix*)
   20996       # All AIX code is PIC.
   20997       if test ia64 = "$host_cpu"; then
   20998 	# AIX 5 now supports IA64 processor
   20999 	lt_prog_compiler_static_CXX='-Bstatic'
   21000       fi
   21001       lt_prog_compiler_pic_CXX='-fPIC'
   21002       ;;
   21003 
   21004     amigaos*)
   21005       case $host_cpu in
   21006       powerpc)
   21007             # see comment about AmigaOS4 .so support
   21008             lt_prog_compiler_pic_CXX='-fPIC'
   21009         ;;
   21010       m68k)
   21011             # FIXME: we need at least 68020 code to build shared libraries, but
   21012             # adding the '-m68020' flag to GCC prevents building anything better,
   21013             # like '-m68040'.
   21014             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   21015         ;;
   21016       esac
   21017       ;;
   21018 
   21019     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   21020       # PIC is the default for these OSes.
   21021       ;;
   21022     mingw* | cygwin* | os2* | pw32* | cegcc*)
   21023       # This hack is so that the source file can tell whether it is being
   21024       # built for inclusion in a dll (and should export symbols for example).
   21025       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   21026       # (--disable-auto-import) libraries
   21027       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   21028       case $host_os in
   21029       os2*)
   21030 	lt_prog_compiler_static_CXX='$wl-static'
   21031 	;;
   21032       esac
   21033       ;;
   21034     darwin* | rhapsody*)
   21035       # PIC is the default on this platform
   21036       # Common symbols not allowed in MH_DYLIB files
   21037       lt_prog_compiler_pic_CXX='-fno-common'
   21038       ;;
   21039     *djgpp*)
   21040       # DJGPP does not support shared libraries at all
   21041       lt_prog_compiler_pic_CXX=
   21042       ;;
   21043     haiku*)
   21044       # PIC is the default for Haiku.
   21045       # The "-static" flag exists, but is broken.
   21046       lt_prog_compiler_static_CXX=
   21047       ;;
   21048     interix[3-9]*)
   21049       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   21050       # Instead, we relocate shared libraries at runtime.
   21051       ;;
   21052     sysv4*MP*)
   21053       if test -d /usr/nec; then
   21054 	lt_prog_compiler_pic_CXX=-Kconform_pic
   21055       fi
   21056       ;;
   21057     hpux*)
   21058       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   21059       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   21060       # sets the default TLS model and affects inlining.
   21061       case $host_cpu in
   21062       hppa*64*)
   21063 	;;
   21064       *)
   21065 	lt_prog_compiler_pic_CXX='-fPIC'
   21066 	;;
   21067       esac
   21068       ;;
   21069     *qnx* | *nto*)
   21070       # QNX uses GNU C++, but need to define -shared option too, otherwise
   21071       # it will coredump.
   21072       lt_prog_compiler_pic_CXX='-fPIC -shared'
   21073       ;;
   21074     *)
   21075       lt_prog_compiler_pic_CXX='-fPIC'
   21076       ;;
   21077     esac
   21078   else
   21079     case $host_os in
   21080       aix[4-9]*)
   21081 	# All AIX code is PIC.
   21082 	if test ia64 = "$host_cpu"; then
   21083 	  # AIX 5 now supports IA64 processor
   21084 	  lt_prog_compiler_static_CXX='-Bstatic'
   21085 	else
   21086 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   21087 	fi
   21088 	;;
   21089       chorus*)
   21090 	case $cc_basename in
   21091 	cxch68*)
   21092 	  # Green Hills C++ Compiler
   21093 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   21094 	  ;;
   21095 	esac
   21096 	;;
   21097       mingw* | cygwin* | os2* | pw32* | cegcc*)
   21098 	# This hack is so that the source file can tell whether it is being
   21099 	# built for inclusion in a dll (and should export symbols for example).
   21100 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   21101 	;;
   21102       dgux*)
   21103 	case $cc_basename in
   21104 	  ec++*)
   21105 	    lt_prog_compiler_pic_CXX='-KPIC'
   21106 	    ;;
   21107 	  ghcx*)
   21108 	    # Green Hills C++ Compiler
   21109 	    lt_prog_compiler_pic_CXX='-pic'
   21110 	    ;;
   21111 	  *)
   21112 	    ;;
   21113 	esac
   21114 	;;
   21115       freebsd* | dragonfly*)
   21116 	# FreeBSD uses GNU C++
   21117 	;;
   21118       hpux9* | hpux10* | hpux11*)
   21119 	case $cc_basename in
   21120 	  CC*)
   21121 	    lt_prog_compiler_wl_CXX='-Wl,'
   21122 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   21123 	    if test ia64 != "$host_cpu"; then
   21124 	      lt_prog_compiler_pic_CXX='+Z'
   21125 	    fi
   21126 	    ;;
   21127 	  aCC*)
   21128 	    lt_prog_compiler_wl_CXX='-Wl,'
   21129 	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
   21130 	    case $host_cpu in
   21131 	    hppa*64*|ia64*)
   21132 	      # +Z the default
   21133 	      ;;
   21134 	    *)
   21135 	      lt_prog_compiler_pic_CXX='+Z'
   21136 	      ;;
   21137 	    esac
   21138 	    ;;
   21139 	  *)
   21140 	    ;;
   21141 	esac
   21142 	;;
   21143       interix*)
   21144 	# This is c89, which is MS Visual C++ (no shared libs)
   21145 	# Anyone wants to do a port?
   21146 	;;
   21147       irix5* | irix6* | nonstopux*)
   21148 	case $cc_basename in
   21149 	  CC*)
   21150 	    lt_prog_compiler_wl_CXX='-Wl,'
   21151 	    lt_prog_compiler_static_CXX='-non_shared'
   21152 	    # CC pic flag -KPIC is the default.
   21153 	    ;;
   21154 	  *)
   21155 	    ;;
   21156 	esac
   21157 	;;
   21158       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   21159 	case $cc_basename in
   21160 	  KCC*)
   21161 	    # KAI C++ Compiler
   21162 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   21163 	    lt_prog_compiler_pic_CXX='-fPIC'
   21164 	    ;;
   21165 	  ecpc* )
   21166 	    # old Intel C++ for x86_64, which still supported -KPIC.
   21167 	    lt_prog_compiler_wl_CXX='-Wl,'
   21168 	    lt_prog_compiler_pic_CXX='-KPIC'
   21169 	    lt_prog_compiler_static_CXX='-static'
   21170 	    ;;
   21171 	  icpc* )
   21172 	    # Intel C++, used to be incompatible with GCC.
   21173 	    # ICC 10 doesn't accept -KPIC any more.
   21174 	    lt_prog_compiler_wl_CXX='-Wl,'
   21175 	    lt_prog_compiler_pic_CXX='-fPIC'
   21176 	    lt_prog_compiler_static_CXX='-static'
   21177 	    ;;
   21178 	  pgCC* | pgcpp*)
   21179 	    # Portland Group C++ compiler
   21180 	    lt_prog_compiler_wl_CXX='-Wl,'
   21181 	    lt_prog_compiler_pic_CXX='-fpic'
   21182 	    lt_prog_compiler_static_CXX='-Bstatic'
   21183 	    ;;
   21184 	  cxx*)
   21185 	    # Compaq C++
   21186 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   21187 	    # Linux and Compaq Tru64 Unix objects are PIC.
   21188 	    lt_prog_compiler_pic_CXX=
   21189 	    lt_prog_compiler_static_CXX='-non_shared'
   21190 	    ;;
   21191 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   21192 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   21193 	    lt_prog_compiler_wl_CXX='-Wl,'
   21194 	    lt_prog_compiler_pic_CXX='-qpic'
   21195 	    lt_prog_compiler_static_CXX='-qstaticlink'
   21196 	    ;;
   21197 	  *)
   21198 	    case `$CC -V 2>&1 | sed 5q` in
   21199 	    *Sun\ C*)
   21200 	      # Sun C++ 5.9
   21201 	      lt_prog_compiler_pic_CXX='-KPIC'
   21202 	      lt_prog_compiler_static_CXX='-Bstatic'
   21203 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   21204 	      ;;
   21205 	    esac
   21206 	    ;;
   21207 	esac
   21208 	;;
   21209       lynxos*)
   21210 	;;
   21211       m88k*)
   21212 	;;
   21213       mvs*)
   21214 	case $cc_basename in
   21215 	  cxx*)
   21216 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   21217 	    ;;
   21218 	  *)
   21219 	    ;;
   21220 	esac
   21221 	;;
   21222       netbsd*)
   21223 	;;
   21224       *qnx* | *nto*)
   21225         # QNX uses GNU C++, but need to define -shared option too, otherwise
   21226         # it will coredump.
   21227         lt_prog_compiler_pic_CXX='-fPIC -shared'
   21228         ;;
   21229       osf3* | osf4* | osf5*)
   21230 	case $cc_basename in
   21231 	  KCC*)
   21232 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   21233 	    ;;
   21234 	  RCC*)
   21235 	    # Rational C++ 2.4.1
   21236 	    lt_prog_compiler_pic_CXX='-pic'
   21237 	    ;;
   21238 	  cxx*)
   21239 	    # Digital/Compaq C++
   21240 	    lt_prog_compiler_wl_CXX='-Wl,'
   21241 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   21242 	    # Linux and Compaq Tru64 Unix objects are PIC.
   21243 	    lt_prog_compiler_pic_CXX=
   21244 	    lt_prog_compiler_static_CXX='-non_shared'
   21245 	    ;;
   21246 	  *)
   21247 	    ;;
   21248 	esac
   21249 	;;
   21250       psos*)
   21251 	;;
   21252       solaris*)
   21253 	case $cc_basename in
   21254 	  CC* | sunCC*)
   21255 	    # Sun C++ 4.2, 5.x and Centerline C++
   21256 	    lt_prog_compiler_pic_CXX='-KPIC'
   21257 	    lt_prog_compiler_static_CXX='-Bstatic'
   21258 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   21259 	    ;;
   21260 	  gcx*)
   21261 	    # Green Hills C++ Compiler
   21262 	    lt_prog_compiler_pic_CXX='-PIC'
   21263 	    ;;
   21264 	  *)
   21265 	    ;;
   21266 	esac
   21267 	;;
   21268       sunos4*)
   21269 	case $cc_basename in
   21270 	  CC*)
   21271 	    # Sun C++ 4.x
   21272 	    lt_prog_compiler_pic_CXX='-pic'
   21273 	    lt_prog_compiler_static_CXX='-Bstatic'
   21274 	    ;;
   21275 	  lcc*)
   21276 	    # Lucid
   21277 	    lt_prog_compiler_pic_CXX='-pic'
   21278 	    ;;
   21279 	  *)
   21280 	    ;;
   21281 	esac
   21282 	;;
   21283       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   21284 	case $cc_basename in
   21285 	  CC*)
   21286 	    lt_prog_compiler_wl_CXX='-Wl,'
   21287 	    lt_prog_compiler_pic_CXX='-KPIC'
   21288 	    lt_prog_compiler_static_CXX='-Bstatic'
   21289 	    ;;
   21290 	esac
   21291 	;;
   21292       tandem*)
   21293 	case $cc_basename in
   21294 	  NCC*)
   21295 	    # NonStop-UX NCC 3.20
   21296 	    lt_prog_compiler_pic_CXX='-KPIC'
   21297 	    ;;
   21298 	  *)
   21299 	    ;;
   21300 	esac
   21301 	;;
   21302       vxworks*)
   21303 	;;
   21304       *)
   21305 	lt_prog_compiler_can_build_shared_CXX=no
   21306 	;;
   21307     esac
   21308   fi
   21309 
   21310 case $host_os in
   21311   # For platforms that do not support PIC, -DPIC is meaningless:
   21312   *djgpp*)
   21313     lt_prog_compiler_pic_CXX=
   21314     ;;
   21315   *)
   21316     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   21317     ;;
   21318 esac
   21319 
   21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   21321 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   21322 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   21323   $as_echo_n "(cached) " >&6
   21324 else
   21325   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   21326 fi
   21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   21328 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   21329 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   21330 
   21331 #
   21332 # Check to make sure the PIC flag actually works.
   21333 #
   21334 if test -n "$lt_prog_compiler_pic_CXX"; then
   21335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   21336 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   21337 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   21338   $as_echo_n "(cached) " >&6
   21339 else
   21340   lt_cv_prog_compiler_pic_works_CXX=no
   21341    ac_outfile=conftest.$ac_objext
   21342    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21343    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   21344    # Insert the option either (1) after the last *FLAGS variable, or
   21345    # (2) before a word containing "conftest.", or (3) at the end.
   21346    # Note that $ac_compile itself does not contain backslashes and begins
   21347    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21348    # The option is referenced via a variable to avoid confusing sed.
   21349    lt_compile=`echo "$ac_compile" | $SED \
   21350    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21351    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21352    -e 's:$: $lt_compiler_flag:'`
   21353    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21354    (eval "$lt_compile" 2>conftest.err)
   21355    ac_status=$?
   21356    cat conftest.err >&5
   21357    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21358    if (exit $ac_status) && test -s "$ac_outfile"; then
   21359      # The compiler can only warn and ignore the option if not recognized
   21360      # So say no if there are warnings other than the usual output.
   21361      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   21362      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   21363      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   21364        lt_cv_prog_compiler_pic_works_CXX=yes
   21365      fi
   21366    fi
   21367    $RM conftest*
   21368 
   21369 fi
   21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   21371 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   21372 
   21373 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
   21374     case $lt_prog_compiler_pic_CXX in
   21375      "" | " "*) ;;
   21376      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   21377      esac
   21378 else
   21379     lt_prog_compiler_pic_CXX=
   21380      lt_prog_compiler_can_build_shared_CXX=no
   21381 fi
   21382 
   21383 fi
   21384 
   21385 
   21386 
   21387 
   21388 
   21389 #
   21390 # Check to make sure the static flag actually works.
   21391 #
   21392 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   21393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   21394 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   21395 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   21396   $as_echo_n "(cached) " >&6
   21397 else
   21398   lt_cv_prog_compiler_static_works_CXX=no
   21399    save_LDFLAGS=$LDFLAGS
   21400    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   21401    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   21402    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   21403      # The linker can only warn and ignore the option if not recognized
   21404      # So say no if there are warnings
   21405      if test -s conftest.err; then
   21406        # Append any errors to the config.log.
   21407        cat conftest.err 1>&5
   21408        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   21409        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   21410        if diff conftest.exp conftest.er2 >/dev/null; then
   21411          lt_cv_prog_compiler_static_works_CXX=yes
   21412        fi
   21413      else
   21414        lt_cv_prog_compiler_static_works_CXX=yes
   21415      fi
   21416    fi
   21417    $RM -r conftest*
   21418    LDFLAGS=$save_LDFLAGS
   21419 
   21420 fi
   21421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   21422 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   21423 
   21424 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
   21425     :
   21426 else
   21427     lt_prog_compiler_static_CXX=
   21428 fi
   21429 
   21430 
   21431 
   21432 
   21433     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   21434 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   21435 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   21436   $as_echo_n "(cached) " >&6
   21437 else
   21438   lt_cv_prog_compiler_c_o_CXX=no
   21439    $RM -r conftest 2>/dev/null
   21440    mkdir conftest
   21441    cd conftest
   21442    mkdir out
   21443    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21444 
   21445    lt_compiler_flag="-o out/conftest2.$ac_objext"
   21446    # Insert the option either (1) after the last *FLAGS variable, or
   21447    # (2) before a word containing "conftest.", or (3) at the end.
   21448    # Note that $ac_compile itself does not contain backslashes and begins
   21449    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21450    lt_compile=`echo "$ac_compile" | $SED \
   21451    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21452    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21453    -e 's:$: $lt_compiler_flag:'`
   21454    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21455    (eval "$lt_compile" 2>out/conftest.err)
   21456    ac_status=$?
   21457    cat out/conftest.err >&5
   21458    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21459    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   21460    then
   21461      # The compiler can only warn and ignore the option if not recognized
   21462      # So say no if there are warnings
   21463      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   21464      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   21465      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   21466        lt_cv_prog_compiler_c_o_CXX=yes
   21467      fi
   21468    fi
   21469    chmod u+w . 2>&5
   21470    $RM conftest*
   21471    # SGI C++ compiler will create directory out/ii_files/ for
   21472    # template instantiation
   21473    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   21474    $RM out/* && rmdir out
   21475    cd ..
   21476    $RM -r conftest
   21477    $RM conftest*
   21478 
   21479 fi
   21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   21481 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   21482 
   21483 
   21484 
   21485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   21486 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   21487 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   21488   $as_echo_n "(cached) " >&6
   21489 else
   21490   lt_cv_prog_compiler_c_o_CXX=no
   21491    $RM -r conftest 2>/dev/null
   21492    mkdir conftest
   21493    cd conftest
   21494    mkdir out
   21495    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21496 
   21497    lt_compiler_flag="-o out/conftest2.$ac_objext"
   21498    # Insert the option either (1) after the last *FLAGS variable, or
   21499    # (2) before a word containing "conftest.", or (3) at the end.
   21500    # Note that $ac_compile itself does not contain backslashes and begins
   21501    # with a dollar sign (not a hyphen), so the echo should work correctly.
   21502    lt_compile=`echo "$ac_compile" | $SED \
   21503    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   21504    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   21505    -e 's:$: $lt_compiler_flag:'`
   21506    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   21507    (eval "$lt_compile" 2>out/conftest.err)
   21508    ac_status=$?
   21509    cat out/conftest.err >&5
   21510    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21511    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   21512    then
   21513      # The compiler can only warn and ignore the option if not recognized
   21514      # So say no if there are warnings
   21515      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   21516      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   21517      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   21518        lt_cv_prog_compiler_c_o_CXX=yes
   21519      fi
   21520    fi
   21521    chmod u+w . 2>&5
   21522    $RM conftest*
   21523    # SGI C++ compiler will create directory out/ii_files/ for
   21524    # template instantiation
   21525    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   21526    $RM out/* && rmdir out
   21527    cd ..
   21528    $RM -r conftest
   21529    $RM conftest*
   21530 
   21531 fi
   21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   21533 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   21534 
   21535 
   21536 
   21537 
   21538 hard_links=nottested
   21539 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
   21540   # do not overwrite the value of need_locks provided by the user
   21541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   21542 $as_echo_n "checking if we can lock with hard links... " >&6; }
   21543   hard_links=yes
   21544   $RM conftest*
   21545   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   21546   touch conftest.a
   21547   ln conftest.a conftest.b 2>&5 || hard_links=no
   21548   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   21549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   21550 $as_echo "$hard_links" >&6; }
   21551   if test no = "$hard_links"; then
   21552     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   21553 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   21554     need_locks=warn
   21555   fi
   21556 else
   21557   need_locks=no
   21558 fi
   21559 
   21560 
   21561 
   21562     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   21563 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   21564 
   21565   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   21566   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   21567   case $host_os in
   21568   aix[4-9]*)
   21569     # If we're using GNU nm, then we don't want the "-C" option.
   21570     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
   21571     # Without the "-l" option, or with the "-B" option, AIX nm treats
   21572     # weak defined symbols like other global defined symbols, whereas
   21573     # GNU nm marks them as "W".
   21574     # While the 'weak' keyword is ignored in the Export File, we need
   21575     # it in the Import File for the 'aix-soname' feature, so we have
   21576     # to replace the "-B" option with "-P" for AIX nm.
   21577     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   21578       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   21579     else
   21580       export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   21581     fi
   21582     ;;
   21583   pw32*)
   21584     export_symbols_cmds_CXX=$ltdll_cmds
   21585     ;;
   21586   cygwin* | mingw* | cegcc*)
   21587     case $cc_basename in
   21588     cl*)
   21589       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   21590       ;;
   21591     *)
   21592       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   21593       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   21594       ;;
   21595     esac
   21596     ;;
   21597   *)
   21598     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   21599     ;;
   21600   esac
   21601 
   21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   21603 $as_echo "$ld_shlibs_CXX" >&6; }
   21604 test no = "$ld_shlibs_CXX" && can_build_shared=no
   21605 
   21606 with_gnu_ld_CXX=$with_gnu_ld
   21607 
   21608 
   21609 
   21610 
   21611 
   21612 
   21613 #
   21614 # Do we need to explicitly link libc?
   21615 #
   21616 case "x$archive_cmds_need_lc_CXX" in
   21617 x|xyes)
   21618   # Assume -lc should be added
   21619   archive_cmds_need_lc_CXX=yes
   21620 
   21621   if test yes,yes = "$GCC,$enable_shared"; then
   21622     case $archive_cmds_CXX in
   21623     *'~'*)
   21624       # FIXME: we may have to deal with multi-command sequences.
   21625       ;;
   21626     '$CC '*)
   21627       # Test whether the compiler implicitly links with -lc since on some
   21628       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   21629       # to ld, don't add -lc before -lgcc.
   21630       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   21631 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   21632 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   21633   $as_echo_n "(cached) " >&6
   21634 else
   21635   $RM conftest*
   21636 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   21637 
   21638 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   21639   (eval $ac_compile) 2>&5
   21640   ac_status=$?
   21641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21642   test $ac_status = 0; } 2>conftest.err; then
   21643 	  soname=conftest
   21644 	  lib=conftest
   21645 	  libobjs=conftest.$ac_objext
   21646 	  deplibs=
   21647 	  wl=$lt_prog_compiler_wl_CXX
   21648 	  pic_flag=$lt_prog_compiler_pic_CXX
   21649 	  compiler_flags=-v
   21650 	  linker_flags=-v
   21651 	  verstring=
   21652 	  output_objdir=.
   21653 	  libname=conftest
   21654 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   21655 	  allow_undefined_flag_CXX=
   21656 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   21657   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   21658   ac_status=$?
   21659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21660   test $ac_status = 0; }
   21661 	  then
   21662 	    lt_cv_archive_cmds_need_lc_CXX=no
   21663 	  else
   21664 	    lt_cv_archive_cmds_need_lc_CXX=yes
   21665 	  fi
   21666 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   21667 	else
   21668 	  cat conftest.err 1>&5
   21669 	fi
   21670 	$RM conftest*
   21671 
   21672 fi
   21673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   21674 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   21675       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   21676       ;;
   21677     esac
   21678   fi
   21679   ;;
   21680 esac
   21681 
   21682 
   21683 
   21684 
   21685 
   21686 
   21687 
   21688 
   21689 
   21690 
   21691 
   21692 
   21693 
   21694 
   21695 
   21696 
   21697 
   21698 
   21699 
   21700 
   21701 
   21702 
   21703 
   21704 
   21705 
   21706 
   21707 
   21708 
   21709 
   21710 
   21711 
   21712 
   21713 
   21714 
   21715 
   21716 
   21717 
   21718 
   21719 
   21720 
   21721 
   21722 
   21723 
   21724 
   21725 
   21726 
   21727 
   21728 
   21729 
   21730 
   21731 
   21732 
   21733 
   21734 
   21735 
   21736 
   21737 
   21738 
   21739 
   21740 
   21741 
   21742 
   21743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   21744 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   21745 
   21746 library_names_spec=
   21747 libname_spec='lib$name'
   21748 soname_spec=
   21749 shrext_cmds=.so
   21750 postinstall_cmds=
   21751 postuninstall_cmds=
   21752 finish_cmds=
   21753 finish_eval=
   21754 shlibpath_var=
   21755 shlibpath_overrides_runpath=unknown
   21756 version_type=none
   21757 dynamic_linker="$host_os ld.so"
   21758 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   21759 need_lib_prefix=unknown
   21760 hardcode_into_libs=no
   21761 
   21762 # when you set need_version to no, make sure it does not cause -set_version
   21763 # flags to be left without arguments
   21764 need_version=unknown
   21765 
   21766 
   21767 
   21768 case $host_os in
   21769 aix3*)
   21770   version_type=linux # correct to gnu/linux during the next big refactor
   21771   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   21772   shlibpath_var=LIBPATH
   21773 
   21774   # AIX 3 has no versioning support, so we append a major version to the name.
   21775   soname_spec='$libname$release$shared_ext$major'
   21776   ;;
   21777 
   21778 aix[4-9]*)
   21779   version_type=linux # correct to gnu/linux during the next big refactor
   21780   need_lib_prefix=no
   21781   need_version=no
   21782   hardcode_into_libs=yes
   21783   if test ia64 = "$host_cpu"; then
   21784     # AIX 5 supports IA64
   21785     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   21786     shlibpath_var=LD_LIBRARY_PATH
   21787   else
   21788     # With GCC up to 2.95.x, collect2 would create an import file
   21789     # for dependence libraries.  The import file would start with
   21790     # the line '#! .'.  This would cause the generated library to
   21791     # depend on '.', always an invalid library.  This was fixed in
   21792     # development snapshots of GCC prior to 3.0.
   21793     case $host_os in
   21794       aix4 | aix4.[01] | aix4.[01].*)
   21795       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   21796 	   echo ' yes '
   21797 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   21798 	:
   21799       else
   21800 	can_build_shared=no
   21801       fi
   21802       ;;
   21803     esac
   21804     # Using Import Files as archive members, it is possible to support
   21805     # filename-based versioning of shared library archives on AIX. While
   21806     # this would work for both with and without runtime linking, it will
   21807     # prevent static linking of such archives. So we do filename-based
   21808     # shared library versioning with .so extension only, which is used
   21809     # when both runtime linking and shared linking is enabled.
   21810     # Unfortunately, runtime linking may impact performance, so we do
   21811     # not want this to be the default eventually. Also, we use the
   21812     # versioned .so libs for executables only if there is the -brtl
   21813     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   21814     # To allow for filename-based versioning support, we need to create
   21815     # libNAME.so.V as an archive file, containing:
   21816     # *) an Import File, referring to the versioned filename of the
   21817     #    archive as well as the shared archive member, telling the
   21818     #    bitwidth (32 or 64) of that shared object, and providing the
   21819     #    list of exported symbols of that shared object, eventually
   21820     #    decorated with the 'weak' keyword
   21821     # *) the shared object with the F_LOADONLY flag set, to really avoid
   21822     #    it being seen by the linker.
   21823     # At run time we better use the real file rather than another symlink,
   21824     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   21825 
   21826     case $with_aix_soname,$aix_use_runtimelinking in
   21827     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   21828     # soname into executable. Probably we can add versioning support to
   21829     # collect2, so additional links can be useful in future.
   21830     aix,yes) # traditional libtool
   21831       dynamic_linker='AIX unversionable lib.so'
   21832       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   21833       # instead of lib<name>.a to let people know that these are not
   21834       # typical AIX shared libraries.
   21835       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   21836       ;;
   21837     aix,no) # traditional AIX only
   21838       dynamic_linker='AIX lib.a(lib.so.V)'
   21839       # We preserve .a as extension for shared libraries through AIX4.2
   21840       # and later when we are not doing run time linking.
   21841       library_names_spec='$libname$release.a $libname.a'
   21842       soname_spec='$libname$release$shared_ext$major'
   21843       ;;
   21844     svr4,*) # full svr4 only
   21845       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   21846       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   21847       # We do not specify a path in Import Files, so LIBPATH fires.
   21848       shlibpath_overrides_runpath=yes
   21849       ;;
   21850     *,yes) # both, prefer svr4
   21851       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   21852       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   21853       # unpreferred sharedlib libNAME.a needs extra handling
   21854       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   21855       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   21856       # We do not specify a path in Import Files, so LIBPATH fires.
   21857       shlibpath_overrides_runpath=yes
   21858       ;;
   21859     *,no) # both, prefer aix
   21860       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   21861       library_names_spec='$libname$release.a $libname.a'
   21862       soname_spec='$libname$release$shared_ext$major'
   21863       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   21864       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   21865       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   21866       ;;
   21867     esac
   21868     shlibpath_var=LIBPATH
   21869   fi
   21870   ;;
   21871 
   21872 amigaos*)
   21873   case $host_cpu in
   21874   powerpc)
   21875     # Since July 2007 AmigaOS4 officially supports .so libraries.
   21876     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   21877     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   21878     ;;
   21879   m68k)
   21880     library_names_spec='$libname.ixlibrary $libname.a'
   21881     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   21882     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   21883     ;;
   21884   esac
   21885   ;;
   21886 
   21887 beos*)
   21888   library_names_spec='$libname$shared_ext'
   21889   dynamic_linker="$host_os ld.so"
   21890   shlibpath_var=LIBRARY_PATH
   21891   ;;
   21892 
   21893 bsdi[45]*)
   21894   version_type=linux # correct to gnu/linux during the next big refactor
   21895   need_version=no
   21896   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   21897   soname_spec='$libname$release$shared_ext$major'
   21898   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   21899   shlibpath_var=LD_LIBRARY_PATH
   21900   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   21901   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   21902   # the default ld.so.conf also contains /usr/contrib/lib and
   21903   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   21904   # libtool to hard-code these into programs
   21905   ;;
   21906 
   21907 cygwin* | mingw* | pw32* | cegcc*)
   21908   version_type=windows
   21909   shrext_cmds=.dll
   21910   need_version=no
   21911   need_lib_prefix=no
   21912 
   21913   case $GCC,$cc_basename in
   21914   yes,*)
   21915     # gcc
   21916     library_names_spec='$libname.dll.a'
   21917     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   21918     postinstall_cmds='base_file=`basename \$file`~
   21919       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   21920       dldir=$destdir/`dirname \$dlpath`~
   21921       test -d \$dldir || mkdir -p \$dldir~
   21922       $install_prog $dir/$dlname \$dldir/$dlname~
   21923       chmod a+x \$dldir/$dlname~
   21924       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   21925         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   21926       fi'
   21927     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   21928       dlpath=$dir/\$dldll~
   21929        $RM \$dlpath'
   21930     shlibpath_overrides_runpath=yes
   21931 
   21932     case $host_os in
   21933     cygwin*)
   21934       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   21935       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   21936 
   21937       ;;
   21938     mingw* | cegcc*)
   21939       # MinGW DLLs use traditional 'lib' prefix
   21940       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   21941       ;;
   21942     pw32*)
   21943       # pw32 DLLs use 'pw' prefix rather than 'lib'
   21944       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   21945       ;;
   21946     esac
   21947     dynamic_linker='Win32 ld.exe'
   21948     ;;
   21949 
   21950   *,cl*)
   21951     # Native MSVC
   21952     libname_spec='$name'
   21953     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   21954     library_names_spec='$libname.dll.lib'
   21955 
   21956     case $build_os in
   21957     mingw*)
   21958       sys_lib_search_path_spec=
   21959       lt_save_ifs=$IFS
   21960       IFS=';'
   21961       for lt_path in $LIB
   21962       do
   21963         IFS=$lt_save_ifs
   21964         # Let DOS variable expansion print the short 8.3 style file name.
   21965         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   21966         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   21967       done
   21968       IFS=$lt_save_ifs
   21969       # Convert to MSYS style.
   21970       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   21971       ;;
   21972     cygwin*)
   21973       # Convert to unix form, then to dos form, then back to unix form
   21974       # but this time dos style (no spaces!) so that the unix form looks
   21975       # like /cygdrive/c/PROGRA~1:/cygdr...
   21976       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   21977       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   21978       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   21979       ;;
   21980     *)
   21981       sys_lib_search_path_spec=$LIB
   21982       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   21983         # It is most probably a Windows format PATH.
   21984         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   21985       else
   21986         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   21987       fi
   21988       # FIXME: find the short name or the path components, as spaces are
   21989       # common. (e.g. "Program Files" -> "PROGRA~1")
   21990       ;;
   21991     esac
   21992 
   21993     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   21994     postinstall_cmds='base_file=`basename \$file`~
   21995       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   21996       dldir=$destdir/`dirname \$dlpath`~
   21997       test -d \$dldir || mkdir -p \$dldir~
   21998       $install_prog $dir/$dlname \$dldir/$dlname'
   21999     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   22000       dlpath=$dir/\$dldll~
   22001        $RM \$dlpath'
   22002     shlibpath_overrides_runpath=yes
   22003     dynamic_linker='Win32 link.exe'
   22004     ;;
   22005 
   22006   *)
   22007     # Assume MSVC wrapper
   22008     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   22009     dynamic_linker='Win32 ld.exe'
   22010     ;;
   22011   esac
   22012   # FIXME: first we should search . and the directory the executable is in
   22013   shlibpath_var=PATH
   22014   ;;
   22015 
   22016 darwin* | rhapsody*)
   22017   dynamic_linker="$host_os dyld"
   22018   version_type=darwin
   22019   need_lib_prefix=no
   22020   need_version=no
   22021   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   22022   soname_spec='$libname$release$major$shared_ext'
   22023   shlibpath_overrides_runpath=yes
   22024   shlibpath_var=DYLD_LIBRARY_PATH
   22025   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   22026 
   22027   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   22028   ;;
   22029 
   22030 dgux*)
   22031   version_type=linux # correct to gnu/linux during the next big refactor
   22032   need_lib_prefix=no
   22033   need_version=no
   22034   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22035   soname_spec='$libname$release$shared_ext$major'
   22036   shlibpath_var=LD_LIBRARY_PATH
   22037   ;;
   22038 
   22039 freebsd* | dragonfly*)
   22040   # DragonFly does not have aout.  When/if they implement a new
   22041   # versioning mechanism, adjust this.
   22042   if test -x /usr/bin/objformat; then
   22043     objformat=`/usr/bin/objformat`
   22044   else
   22045     case $host_os in
   22046     freebsd[23].*) objformat=aout ;;
   22047     *) objformat=elf ;;
   22048     esac
   22049   fi
   22050   version_type=freebsd-$objformat
   22051   case $version_type in
   22052     freebsd-elf*)
   22053       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22054       soname_spec='$libname$release$shared_ext$major'
   22055       need_version=no
   22056       need_lib_prefix=no
   22057       ;;
   22058     freebsd-*)
   22059       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22060       need_version=yes
   22061       ;;
   22062   esac
   22063   shlibpath_var=LD_LIBRARY_PATH
   22064   case $host_os in
   22065   freebsd2.*)
   22066     shlibpath_overrides_runpath=yes
   22067     ;;
   22068   freebsd3.[01]* | freebsdelf3.[01]*)
   22069     shlibpath_overrides_runpath=yes
   22070     hardcode_into_libs=yes
   22071     ;;
   22072   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   22073   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   22074     shlibpath_overrides_runpath=no
   22075     hardcode_into_libs=yes
   22076     ;;
   22077   *) # from 4.6 on, and DragonFly
   22078     shlibpath_overrides_runpath=yes
   22079     hardcode_into_libs=yes
   22080     ;;
   22081   esac
   22082   ;;
   22083 
   22084 haiku*)
   22085   version_type=linux # correct to gnu/linux during the next big refactor
   22086   need_lib_prefix=no
   22087   need_version=no
   22088   dynamic_linker="$host_os runtime_loader"
   22089   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22090   soname_spec='$libname$release$shared_ext$major'
   22091   shlibpath_var=LIBRARY_PATH
   22092   shlibpath_overrides_runpath=no
   22093   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   22094   hardcode_into_libs=yes
   22095   ;;
   22096 
   22097 hpux9* | hpux10* | hpux11*)
   22098   # Give a soname corresponding to the major version so that dld.sl refuses to
   22099   # link against other versions.
   22100   version_type=sunos
   22101   need_lib_prefix=no
   22102   need_version=no
   22103   case $host_cpu in
   22104   ia64*)
   22105     shrext_cmds='.so'
   22106     hardcode_into_libs=yes
   22107     dynamic_linker="$host_os dld.so"
   22108     shlibpath_var=LD_LIBRARY_PATH
   22109     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   22110     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22111     soname_spec='$libname$release$shared_ext$major'
   22112     if test 32 = "$HPUX_IA64_MODE"; then
   22113       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   22114       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   22115     else
   22116       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   22117       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   22118     fi
   22119     ;;
   22120   hppa*64*)
   22121     shrext_cmds='.sl'
   22122     hardcode_into_libs=yes
   22123     dynamic_linker="$host_os dld.sl"
   22124     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   22125     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   22126     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22127     soname_spec='$libname$release$shared_ext$major'
   22128     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   22129     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22130     ;;
   22131   *)
   22132     shrext_cmds='.sl'
   22133     dynamic_linker="$host_os dld.sl"
   22134     shlibpath_var=SHLIB_PATH
   22135     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   22136     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22137     soname_spec='$libname$release$shared_ext$major'
   22138     ;;
   22139   esac
   22140   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   22141   postinstall_cmds='chmod 555 $lib'
   22142   # or fails outright, so override atomically:
   22143   install_override_mode=555
   22144   ;;
   22145 
   22146 interix[3-9]*)
   22147   version_type=linux # correct to gnu/linux during the next big refactor
   22148   need_lib_prefix=no
   22149   need_version=no
   22150   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22151   soname_spec='$libname$release$shared_ext$major'
   22152   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   22153   shlibpath_var=LD_LIBRARY_PATH
   22154   shlibpath_overrides_runpath=no
   22155   hardcode_into_libs=yes
   22156   ;;
   22157 
   22158 irix5* | irix6* | nonstopux*)
   22159   case $host_os in
   22160     nonstopux*) version_type=nonstopux ;;
   22161     *)
   22162 	if test yes = "$lt_cv_prog_gnu_ld"; then
   22163 		version_type=linux # correct to gnu/linux during the next big refactor
   22164 	else
   22165 		version_type=irix
   22166 	fi ;;
   22167   esac
   22168   need_lib_prefix=no
   22169   need_version=no
   22170   soname_spec='$libname$release$shared_ext$major'
   22171   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   22172   case $host_os in
   22173   irix5* | nonstopux*)
   22174     libsuff= shlibsuff=
   22175     ;;
   22176   *)
   22177     case $LD in # libtool.m4 will add one of these switches to LD
   22178     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   22179       libsuff= shlibsuff= libmagic=32-bit;;
   22180     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   22181       libsuff=32 shlibsuff=N32 libmagic=N32;;
   22182     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   22183       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   22184     *) libsuff= shlibsuff= libmagic=never-match;;
   22185     esac
   22186     ;;
   22187   esac
   22188   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   22189   shlibpath_overrides_runpath=no
   22190   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   22191   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   22192   hardcode_into_libs=yes
   22193   ;;
   22194 
   22195 # No shared lib support for Linux oldld, aout, or coff.
   22196 linux*oldld* | linux*aout* | linux*coff*)
   22197   dynamic_linker=no
   22198   ;;
   22199 
   22200 linux*android*)
   22201   version_type=none # Android doesn't support versioned libraries.
   22202   need_lib_prefix=no
   22203   need_version=no
   22204   library_names_spec='$libname$release$shared_ext'
   22205   soname_spec='$libname$release$shared_ext'
   22206   finish_cmds=
   22207   shlibpath_var=LD_LIBRARY_PATH
   22208   shlibpath_overrides_runpath=yes
   22209 
   22210   # This implies no fast_install, which is unacceptable.
   22211   # Some rework will be needed to allow for fast_install
   22212   # before this can be enabled.
   22213   hardcode_into_libs=yes
   22214 
   22215   dynamic_linker='Android linker'
   22216   # Don't embed -rpath directories since the linker doesn't support them.
   22217   hardcode_libdir_flag_spec_CXX='-L$libdir'
   22218   ;;
   22219 
   22220 # This must be glibc/ELF.
   22221 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   22222   version_type=linux # correct to gnu/linux during the next big refactor
   22223   need_lib_prefix=no
   22224   need_version=no
   22225   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22226   soname_spec='$libname$release$shared_ext$major'
   22227   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   22228   shlibpath_var=LD_LIBRARY_PATH
   22229   shlibpath_overrides_runpath=no
   22230 
   22231   # Some binutils ld are patched to set DT_RUNPATH
   22232   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   22233   $as_echo_n "(cached) " >&6
   22234 else
   22235   lt_cv_shlibpath_overrides_runpath=no
   22236     save_LDFLAGS=$LDFLAGS
   22237     save_libdir=$libdir
   22238     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   22239 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   22240     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22241 /* end confdefs.h.  */
   22242 
   22243 int
   22244 main ()
   22245 {
   22246 
   22247   ;
   22248   return 0;
   22249 }
   22250 _ACEOF
   22251 if ac_fn_cxx_try_link "$LINENO"; then :
   22252   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   22253   lt_cv_shlibpath_overrides_runpath=yes
   22254 fi
   22255 fi
   22256 rm -f core conftest.err conftest.$ac_objext \
   22257     conftest$ac_exeext conftest.$ac_ext
   22258     LDFLAGS=$save_LDFLAGS
   22259     libdir=$save_libdir
   22260 
   22261 fi
   22262 
   22263   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   22264 
   22265   # This implies no fast_install, which is unacceptable.
   22266   # Some rework will be needed to allow for fast_install
   22267   # before this can be enabled.
   22268   hardcode_into_libs=yes
   22269 
   22270   # Add ABI-specific directories to the system library path.
   22271   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   22272 
   22273   # Ideally, we could use ldconfig to report *all* directores which are
   22274   # searched for libraries, however this is still not possible.  Aside from not
   22275   # being certain /sbin/ldconfig is available, command
   22276   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   22277   # even though it is searched at run-time.  Try to do the best guess by
   22278   # appending ld.so.conf contents (and includes) to the search path.
   22279   if test -f /etc/ld.so.conf; then
   22280     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   22281     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   22282   fi
   22283 
   22284   # We used to test for /lib/ld.so.1 and disable shared libraries on
   22285   # powerpc, because MkLinux only supported shared libraries with the
   22286   # GNU dynamic linker.  Since this was broken with cross compilers,
   22287   # most powerpc-linux boxes support dynamic linking these days and
   22288   # people can always --disable-shared, the test was removed, and we
   22289   # assume the GNU/Linux dynamic linker is in use.
   22290   dynamic_linker='GNU/Linux ld.so'
   22291   ;;
   22292 
   22293 netbsd*)
   22294   version_type=sunos
   22295   need_lib_prefix=no
   22296   need_version=no
   22297   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   22298     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22299     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   22300     dynamic_linker='NetBSD (a.out) ld.so'
   22301   else
   22302     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22303     soname_spec='$libname$release$shared_ext$major'
   22304     dynamic_linker='NetBSD ld.elf_so'
   22305   fi
   22306   shlibpath_var=LD_LIBRARY_PATH
   22307   shlibpath_overrides_runpath=yes
   22308   hardcode_into_libs=yes
   22309   ;;
   22310 
   22311 newsos6)
   22312   version_type=linux # correct to gnu/linux during the next big refactor
   22313   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22314   shlibpath_var=LD_LIBRARY_PATH
   22315   shlibpath_overrides_runpath=yes
   22316   ;;
   22317 
   22318 *nto* | *qnx*)
   22319   version_type=qnx
   22320   need_lib_prefix=no
   22321   need_version=no
   22322   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22323   soname_spec='$libname$release$shared_ext$major'
   22324   shlibpath_var=LD_LIBRARY_PATH
   22325   shlibpath_overrides_runpath=no
   22326   hardcode_into_libs=yes
   22327   dynamic_linker='ldqnx.so'
   22328   ;;
   22329 
   22330 openbsd* | bitrig*)
   22331   version_type=sunos
   22332   sys_lib_dlsearch_path_spec=/usr/lib
   22333   need_lib_prefix=no
   22334   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   22335     need_version=no
   22336   else
   22337     need_version=yes
   22338   fi
   22339   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22340   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   22341   shlibpath_var=LD_LIBRARY_PATH
   22342   shlibpath_overrides_runpath=yes
   22343   ;;
   22344 
   22345 os2*)
   22346   libname_spec='$name'
   22347   version_type=windows
   22348   shrext_cmds=.dll
   22349   need_version=no
   22350   need_lib_prefix=no
   22351   # OS/2 can only load a DLL with a base name of 8 characters or less.
   22352   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   22353     v=$($ECHO $release$versuffix | tr -d .-);
   22354     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   22355     $ECHO $n$v`$shared_ext'
   22356   library_names_spec='${libname}_dll.$libext'
   22357   dynamic_linker='OS/2 ld.exe'
   22358   shlibpath_var=BEGINLIBPATH
   22359   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   22360   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22361   postinstall_cmds='base_file=`basename \$file`~
   22362     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   22363     dldir=$destdir/`dirname \$dlpath`~
   22364     test -d \$dldir || mkdir -p \$dldir~
   22365     $install_prog $dir/$dlname \$dldir/$dlname~
   22366     chmod a+x \$dldir/$dlname~
   22367     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   22368       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   22369     fi'
   22370   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   22371     dlpath=$dir/\$dldll~
   22372     $RM \$dlpath'
   22373   ;;
   22374 
   22375 osf3* | osf4* | osf5*)
   22376   version_type=osf
   22377   need_lib_prefix=no
   22378   need_version=no
   22379   soname_spec='$libname$release$shared_ext$major'
   22380   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22381   shlibpath_var=LD_LIBRARY_PATH
   22382   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   22383   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   22384   ;;
   22385 
   22386 rdos*)
   22387   dynamic_linker=no
   22388   ;;
   22389 
   22390 solaris*)
   22391   version_type=linux # correct to gnu/linux during the next big refactor
   22392   need_lib_prefix=no
   22393   need_version=no
   22394   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22395   soname_spec='$libname$release$shared_ext$major'
   22396   shlibpath_var=LD_LIBRARY_PATH
   22397   shlibpath_overrides_runpath=yes
   22398   hardcode_into_libs=yes
   22399   # ldd complains unless libraries are executable
   22400   postinstall_cmds='chmod +x $lib'
   22401   ;;
   22402 
   22403 sunos4*)
   22404   version_type=sunos
   22405   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   22406   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   22407   shlibpath_var=LD_LIBRARY_PATH
   22408   shlibpath_overrides_runpath=yes
   22409   if test yes = "$with_gnu_ld"; then
   22410     need_lib_prefix=no
   22411   fi
   22412   need_version=yes
   22413   ;;
   22414 
   22415 sysv4 | sysv4.3*)
   22416   version_type=linux # correct to gnu/linux during the next big refactor
   22417   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22418   soname_spec='$libname$release$shared_ext$major'
   22419   shlibpath_var=LD_LIBRARY_PATH
   22420   case $host_vendor in
   22421     sni)
   22422       shlibpath_overrides_runpath=no
   22423       need_lib_prefix=no
   22424       runpath_var=LD_RUN_PATH
   22425       ;;
   22426     siemens)
   22427       need_lib_prefix=no
   22428       ;;
   22429     motorola)
   22430       need_lib_prefix=no
   22431       need_version=no
   22432       shlibpath_overrides_runpath=no
   22433       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   22434       ;;
   22435   esac
   22436   ;;
   22437 
   22438 sysv4*MP*)
   22439   if test -d /usr/nec; then
   22440     version_type=linux # correct to gnu/linux during the next big refactor
   22441     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   22442     soname_spec='$libname$shared_ext.$major'
   22443     shlibpath_var=LD_LIBRARY_PATH
   22444   fi
   22445   ;;
   22446 
   22447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   22448   version_type=sco
   22449   need_lib_prefix=no
   22450   need_version=no
   22451   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   22452   soname_spec='$libname$release$shared_ext$major'
   22453   shlibpath_var=LD_LIBRARY_PATH
   22454   shlibpath_overrides_runpath=yes
   22455   hardcode_into_libs=yes
   22456   if test yes = "$with_gnu_ld"; then
   22457     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   22458   else
   22459     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   22460     case $host_os in
   22461       sco3.2v5*)
   22462         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   22463 	;;
   22464     esac
   22465   fi
   22466   sys_lib_dlsearch_path_spec='/usr/lib'
   22467   ;;
   22468 
   22469 tpf*)
   22470   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   22471   version_type=linux # correct to gnu/linux during the next big refactor
   22472   need_lib_prefix=no
   22473   need_version=no
   22474   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22475   shlibpath_var=LD_LIBRARY_PATH
   22476   shlibpath_overrides_runpath=no
   22477   hardcode_into_libs=yes
   22478   ;;
   22479 
   22480 uts4*)
   22481   version_type=linux # correct to gnu/linux during the next big refactor
   22482   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   22483   soname_spec='$libname$release$shared_ext$major'
   22484   shlibpath_var=LD_LIBRARY_PATH
   22485   ;;
   22486 
   22487 *)
   22488   dynamic_linker=no
   22489   ;;
   22490 esac
   22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   22492 $as_echo "$dynamic_linker" >&6; }
   22493 test no = "$dynamic_linker" && can_build_shared=no
   22494 
   22495 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   22496 if test yes = "$GCC"; then
   22497   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   22498 fi
   22499 
   22500 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   22501   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   22502 fi
   22503 
   22504 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   22505   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   22506 fi
   22507 
   22508 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   22509 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   22510 
   22511 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   22512 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   22513 
   22514 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   22515 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   22516 
   22517 
   22518 
   22519 
   22520 
   22521 
   22522 
   22523 
   22524 
   22525 
   22526 
   22527 
   22528 
   22529 
   22530 
   22531 
   22532 
   22533 
   22534 
   22535 
   22536 
   22537 
   22538 
   22539 
   22540 
   22541 
   22542 
   22543 
   22544 
   22545 
   22546 
   22547 
   22548 
   22549 
   22550 
   22551 
   22552 
   22553 
   22554 
   22555 
   22556     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   22557 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   22558 hardcode_action_CXX=
   22559 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   22560    test -n "$runpath_var_CXX" ||
   22561    test yes = "$hardcode_automatic_CXX"; then
   22562 
   22563   # We can hardcode non-existent directories.
   22564   if test no != "$hardcode_direct_CXX" &&
   22565      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   22566      # have to relink, otherwise we might link with an installed library
   22567      # when we should be linking with a yet-to-be-installed one
   22568      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
   22569      test no != "$hardcode_minus_L_CXX"; then
   22570     # Linking always hardcodes the temporary library directory.
   22571     hardcode_action_CXX=relink
   22572   else
   22573     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   22574     hardcode_action_CXX=immediate
   22575   fi
   22576 else
   22577   # We cannot hardcode anything, or else we can only hardcode existing
   22578   # directories.
   22579   hardcode_action_CXX=unsupported
   22580 fi
   22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   22582 $as_echo "$hardcode_action_CXX" >&6; }
   22583 
   22584 if test relink = "$hardcode_action_CXX" ||
   22585    test yes = "$inherit_rpath_CXX"; then
   22586   # Fast installation is not supported
   22587   enable_fast_install=no
   22588 elif test yes = "$shlibpath_overrides_runpath" ||
   22589      test no = "$enable_shared"; then
   22590   # Fast installation is not necessary
   22591   enable_fast_install=needless
   22592 fi
   22593 
   22594 
   22595 
   22596 
   22597 
   22598 
   22599 
   22600   fi # test -n "$compiler"
   22601 
   22602   CC=$lt_save_CC
   22603   CFLAGS=$lt_save_CFLAGS
   22604   LDCXX=$LD
   22605   LD=$lt_save_LD
   22606   GCC=$lt_save_GCC
   22607   with_gnu_ld=$lt_save_with_gnu_ld
   22608   lt_cv_path_LDCXX=$lt_cv_path_LD
   22609   lt_cv_path_LD=$lt_save_path_LD
   22610   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   22611   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   22612 fi # test yes != "$_lt_caught_CXX_error"
   22613 
   22614 ac_ext=c
   22615 ac_cpp='$CPP $CPPFLAGS'
   22616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   22617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   22618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   22619 
   22620 
   22621 
   22622 
   22623 
   22624 
   22625 
   22626 
   22627 
   22628 
   22629 
   22630 
   22631 
   22632 
   22633 
   22634         ac_config_commands="$ac_config_commands libtool"
   22635 
   22636 
   22637 
   22638 
   22639 # Only expand once:
   22640 
   22641 
   22642 
   22643 
   22644 
   22645 # Check to see if building shared libraries
   22646 libtool_build_shared_libs='no'
   22647 if test "$enable_shared" = 'yes'; then
   22648     libtool_build_shared_libs='yes'
   22649 fi
   22650 
   22651 # Check to see if building static libraries
   22652 libtool_build_static_libs='no'
   22653 if test "$enable_static" = 'yes'; then
   22654     libtool_build_static_libs='yes'
   22655 fi
   22656 
   22657  if test "${libtool_build_shared_libs}" = 'yes'; then
   22658   WITH_SHARED_LIBS_TRUE=
   22659   WITH_SHARED_LIBS_FALSE='#'
   22660 else
   22661   WITH_SHARED_LIBS_TRUE='#'
   22662   WITH_SHARED_LIBS_FALSE=
   22663 fi
   22664 
   22665 #
   22666 # Enable support for building loadable modules
   22667 #
   22668 build_modules='no'
   22669 
   22670 # Check whether --with-modules was given.
   22671 if test "${with_modules+set}" = set; then :
   22672   withval=$with_modules; with_modules=$withval
   22673 else
   22674   with_modules='no'
   22675 fi
   22676 
   22677 
   22678 # Only allow building loadable modules if we are building shared libraries
   22679 if test "$with_modules" != 'no' ; then
   22680     if test "$libtool_build_shared_libs" = 'no'; then
   22681         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Modules may only be built if building shared libraries is enabled." >&5
   22682 $as_echo "$as_me: WARNING: Modules may only be built if building shared libraries is enabled." >&2;}
   22683     build_modules='no'
   22684   else
   22685     build_modules='yes'
   22686   fi
   22687 fi
   22688 if test "$build_modules" != 'no' ; then
   22689 
   22690 $as_echo "#define BUILD_MODULES 1" >>confdefs.h
   22691 
   22692     MAGICK_FEATURES="$MAGICK_FEATURES Modules"
   22693 fi
   22694  if test "$build_modules" != 'no'; then
   22695   WITH_MODULES_TRUE=
   22696   WITH_MODULES_FALSE='#'
   22697 else
   22698   WITH_MODULES_TRUE='#'
   22699   WITH_MODULES_FALSE=
   22700 fi
   22701 
   22702 
   22703 # Enable build using delegate libraries built in subdirectories rather than installed
   22704 # delegate libraries (bzlib fftw fpx gslib jp2 jbig jpeg lcms lzma png tiff ttf wmf xml zlib)
   22705 # Check whether --enable-delegate-build was given.
   22706 if test "${enable_delegate_build+set}" = set; then :
   22707   enableval=$enable_delegate_build; enable_delegate_build=$enableval
   22708 else
   22709   enable_delegate_build='no'
   22710 fi
   22711 
   22712 
   22713 # Check whether --enable-deprecated was given.
   22714 if test "${enable_deprecated+set}" = set; then :
   22715   enableval=$enable_deprecated; enable_deprecated=$enableval
   22716 else
   22717   enable_deprecated='no'
   22718 fi
   22719 
   22720 
   22721 if test "$enable_deprecated" = 'yes'; then
   22722 
   22723 $as_echo "#define EXCLUDE_DEPRECATED 1" >>confdefs.h
   22724 
   22725 else
   22726   DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-deprecated "
   22727 fi
   22728 
   22729 # Build a version of ImageMagick which operates uninstalled.
   22730 # Used to build distributions located via MAGICK_HOME / executable path
   22731 # Check whether --enable-installed was given.
   22732 if test "${enable_installed+set}" = set; then :
   22733   enableval=$enable_installed; enable_installed=$enableval
   22734 else
   22735   enable_installed='yes'
   22736 fi
   22737 
   22738 
   22739 if test "$enable_installed" = 'yes'; then
   22740 
   22741 $as_echo "#define INSTALLED_SUPPORT 1" >>confdefs.h
   22742 
   22743 else
   22744     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-installed "
   22745 fi
   22746 
   22747 # Permit enciphering and deciphering image pixels.
   22748 # Check whether --enable-cipher was given.
   22749 if test "${enable_cipher+set}" = set; then :
   22750   enableval=$enable_cipher; enable_cipher=$enableval
   22751 else
   22752   enable_cipher='yes'
   22753 fi
   22754 
   22755 
   22756 if test "$enable_cipher" = 'yes'; then
   22757 
   22758 $as_echo "#define CIPHER_SUPPORT 1" >>confdefs.h
   22759 
   22760     MAGICK_FEATURES="Cipher $MAGICK_FEATURES"
   22761 fi
   22762 
   22763 # Build a zero-configuration version of ImageMagick.
   22764 # Check whether --enable-zero-configuration was given.
   22765 if test "${enable_zero_configuration+set}" = set; then :
   22766   enableval=$enable_zero_configuration; enable_zero_configuration=$enableval
   22767 else
   22768   enable_zero_configuration='no'
   22769 fi
   22770 
   22771 
   22772 if test "$enable_zero_configuration" = 'yes'; then
   22773 
   22774 $as_echo "#define ZERO_CONFIGURATION_SUPPORT 1" >>confdefs.h
   22775 
   22776     MAGICK_FEATURES="Zero-configuration $MAGICK_FEATURES"
   22777 fi
   22778 
   22779 # Build a high dynamic range version of ImageMagick.
   22780 # Check whether --enable-hdri was given.
   22781 if test "${enable_hdri+set}" = set; then :
   22782   enableval=$enable_hdri; enable_hdri=$enableval
   22783 else
   22784   enable_hdri='yes'
   22785 fi
   22786 
   22787 
   22788 MAGICK_HDRI=""
   22789 if test "$enable_hdri" = 'yes'; then
   22790     MAGICK_HDRI="HDRI"
   22791     magick_hdri_enable='1';
   22792     MAGICK_FEATURES="HDRI $MAGICK_FEATURES"
   22793 else
   22794     magick_hdri_enable='0'
   22795 fi
   22796 
   22797 cat >>confdefs.h <<_ACEOF
   22798 #define HDRI_ENABLE_OBSOLETE_IN_H $magick_hdri_enable
   22799 _ACEOF
   22800 
   22801 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
   22802 CFLAGS="$CFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
   22803 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
   22804 
   22805 # Enable pipes (|) in filenames.
   22806 # Check whether --enable-pipes was given.
   22807 if test "${enable_pipes+set}" = set; then :
   22808   enableval=$enable_pipes; enable_pipes=$enableval
   22809 else
   22810   enable_pipes='no'
   22811 fi
   22812 
   22813 
   22814 if test "$enable_pipes" = 'yes'; then
   22815 
   22816 $as_echo "#define PIPES_SUPPORT 1" >>confdefs.h
   22817 
   22818     MAGICK_FEATURES="Pipes $MAGICK_FEATURES"
   22819 fi
   22820 
   22821 # Build a version of ImageMagick with assert statements.
   22822 # Check whether --enable-assert was given.
   22823 if test "${enable_assert+set}" = set; then :
   22824   enableval=$enable_assert; enable_assert=$enableval
   22825 else
   22826   enable_assert='yes'
   22827 fi
   22828 
   22829 
   22830 if test "$enable_assert" = 'no'; then
   22831 
   22832 $as_echo "#define NDEBUG 1" >>confdefs.h
   22833 
   22834 fi
   22835 
   22836 # Don't emit "rebuild rules" for configure, Makefile.ins, etc.
   22837 
   22838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   22839 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   22840     # Check whether --enable-maintainer-mode was given.
   22841 if test "${enable_maintainer_mode+set}" = set; then :
   22842   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   22843 else
   22844   USE_MAINTAINER_MODE=no
   22845 fi
   22846 
   22847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   22848 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   22849    if test $USE_MAINTAINER_MODE = yes; then
   22850   MAINTAINER_MODE_TRUE=
   22851   MAINTAINER_MODE_FALSE='#'
   22852 else
   22853   MAINTAINER_MODE_TRUE='#'
   22854   MAINTAINER_MODE_FALSE=
   22855 fi
   22856 
   22857   MAINT=$MAINTAINER_MODE_TRUE
   22858 
   22859 
   22860 
   22861 # Enable hugepages support
   22862 # Check whether --enable-hugepages was given.
   22863 if test "${enable_hugepages+set}" = set; then :
   22864   enableval=$enable_hugepages; enable_hugepages=$enableval
   22865 else
   22866   enable_hugepages='no'
   22867 fi
   22868 
   22869 
   22870 # Enable ccmalloc memory debugging support
   22871 # Check whether --enable-ccmalloc was given.
   22872 if test "${enable_ccmalloc+set}" = set; then :
   22873   enableval=$enable_ccmalloc; enable_ccmalloc=$enableval
   22874 else
   22875   enable_ccmalloc='no'
   22876 fi
   22877 
   22878 
   22879 # Enable Electric Fence memory debugging support
   22880 # Check whether --enable-efence was given.
   22881 if test "${enable_efence+set}" = set; then :
   22882   enableval=$enable_efence; enable_efence=$enableval
   22883 else
   22884   enable_efence='no'
   22885 fi
   22886 
   22887 
   22888 # Enable prof-based profiling support
   22889 # Check whether --enable-prof was given.
   22890 if test "${enable_prof+set}" = set; then :
   22891   enableval=$enable_prof; enable_prof=$enableval
   22892 else
   22893   enable_prof='no'
   22894 fi
   22895 
   22896 
   22897 # Enable gprof-based profiling support
   22898 # Check whether --enable-gprof was given.
   22899 if test "${enable_gprof+set}" = set; then :
   22900   enableval=$enable_gprof; enable_gprof=$enableval
   22901 else
   22902   enable_gprof='no'
   22903 fi
   22904 
   22905 
   22906 # Enable gcov-based profiling support
   22907 # Check whether --enable-gcov was given.
   22908 if test "${enable_gcov+set}" = set; then :
   22909   enableval=$enable_gcov; enable_gcov=$enableval
   22910 else
   22911   enable_gcov='no'
   22912 fi
   22913 
   22914 
   22915 enable_profiling='no'
   22916 if test "$enable_prof" = 'yes' || test "$enable_gprof" = 'yes' || test "$enable_gcov" = 'yes'; then
   22917     enable_profiling='yes'
   22918     if test "$libtool_build_shared_libs" = 'yes'; then
   22919         echo "Warning: Can not profile code using shared libraries"
   22920     fi
   22921 fi
   22922 
   22923 # Magick API method prefix
   22924 
   22925 # Check whether --with-method-prefix was given.
   22926 if test "${with_method_prefix+set}" = set; then :
   22927   withval=$with_method_prefix; with_method_prefix=$withval
   22928 else
   22929   with_method_prefix='no'
   22930 fi
   22931 
   22932 
   22933 if test "$with_method_prefix" != 'no'; then
   22934 
   22935 cat >>confdefs.h <<_ACEOF
   22936 #define NAMESPACE_PREFIX $with_method_prefix
   22937 _ACEOF
   22938 
   22939 
   22940 cat >>confdefs.h <<_ACEOF
   22941 #define NAMESPACE_PREFIX_TAG "$with_method_prefix"
   22942 _ACEOF
   22943 
   22944     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-method-prefix "
   22945 fi
   22946 
   22947 # Enable legacy support (default no)
   22948 # Check whether --enable-legacy-support was given.
   22949 if test "${enable_legacy_support+set}" = set; then :
   22950   enableval=$enable_legacy_support; with_legacy_support=$enableval
   22951 else
   22952   with_legacy_support='no'
   22953 fi
   22954 
   22955  if test "$with_legacy_support" != 'no'; then
   22956   LEGACY_SUPPORT_TRUE=
   22957   LEGACY_SUPPORT_FALSE='#'
   22958 else
   22959   LEGACY_SUPPORT_TRUE='#'
   22960   LEGACY_SUPPORT_FALSE=
   22961 fi
   22962 
   22963 
   22964 # Enable building command line utilities (default yes)
   22965 
   22966 # Check whether --with-utilities was given.
   22967 if test "${with_utilities+set}" = set; then :
   22968   withval=$with_utilities; with_utilities=$withval
   22969 else
   22970   with_utilities='yes'
   22971 fi
   22972 
   22973  if test "$with_utilities" = 'yes'; then
   22974   WITH_UTILITIES_TRUE=
   22975   WITH_UTILITIES_FALSE='#'
   22976 else
   22977   WITH_UTILITIES_TRUE='#'
   22978   WITH_UTILITIES_FALSE=
   22979 fi
   22980 
   22981 
   22982 # Number of bits in a Quantum
   22983 
   22984 # Check whether --with-quantum-depth was given.
   22985 if test "${with_quantum_depth+set}" = set; then :
   22986   withval=$with_quantum_depth; with_quantum_depth=$withval
   22987 else
   22988   with_quantum_depth=16
   22989 fi
   22990 
   22991 
   22992 if test "$with_quantum_depth" != '8'; then
   22993     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-quantum-depth=$with_quantum_depth "
   22994 fi
   22995 
   22996 case "${with_quantum_depth}" in
   22997     8 ) ;;
   22998     16 ) ;;
   22999     32 ) ;;
   23000     64 ) ;;
   23001     * ) as_fn_error 16 "\"Pixel quantum depth must have value of 8" "$LINENO" 5 ;;
   23002 esac
   23003 QUANTUM_DEPTH="$with_quantum_depth"
   23004 
   23005 cat >>confdefs.h <<_ACEOF
   23006 #define QUANTUM_DEPTH_OBSOLETE_IN_H $QUANTUM_DEPTH
   23007 _ACEOF
   23008 
   23009 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
   23010 CFLAGS="$CFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
   23011 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
   23012 
   23013 # define a lib suffix for abi purpose
   23014 MAGICK_ABI_SUFFIX="Q${QUANTUM_DEPTH}"
   23015 if test "$enable_hdri" = 'yes'; then
   23016   MAGICK_ABI_SUFFIX="Q${QUANTUM_DEPTH}${MAGICK_HDRI}"
   23017 fi
   23018 
   23019 
   23020 # Set pixel cache threshold
   23021 
   23022 # Check whether --with-cache was given.
   23023 if test "${with_cache+set}" = set; then :
   23024   withval=$with_cache; with_cache=$withval
   23025 else
   23026   with_cache=''
   23027 fi
   23028 
   23029 
   23030 if test "$with_cache" != ''; then
   23031 
   23032 cat >>confdefs.h <<_ACEOF
   23033 #define PixelCacheThreshold $with_cache
   23034 _ACEOF
   23035 
   23036     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-cache=$with_cache "
   23037 fi
   23038 
   23039 # Disable/Enable support for full delegate paths
   23040 
   23041 # Check whether --with-frozenpaths was given.
   23042 if test "${with_frozenpaths+set}" = set; then :
   23043   withval=$with_frozenpaths; with_frozenpaths=$withval
   23044 else
   23045   with_frozenpaths='no'
   23046 fi
   23047 
   23048 
   23049 # Enable build/install of Magick++
   23050 
   23051 # Check whether --with-magick-plus-plus was given.
   23052 if test "${with_magick_plus_plus+set}" = set; then :
   23053   withval=$with_magick_plus_plus; with_magick_plus_plus=$withval
   23054 else
   23055   with_magick_plus_plus='yes'
   23056 fi
   23057 
   23058 
   23059 # Encode the this name into the shared library.
   23060 
   23061 # Check whether --with-package-release-name was given.
   23062 if test "${with_package_release_name+set}" = set; then :
   23063   withval=$with_package_release_name; MAGICK_LT_RELEASE_OPTS="-release $withval"
   23064 fi
   23065 
   23066 
   23067 
   23068 # Disable build/install of PerlMagick.
   23069 
   23070 # Check whether --with-perl was given.
   23071 if test "${with_perl+set}" = set; then :
   23072   withval=$with_perl; with_perl=$withval
   23073 else
   23074   with_perl='no'
   23075 fi
   23076 
   23077 
   23078 # Options to pass when configuring PerlMagick
   23079 
   23080 # Check whether --with-perl-options was given.
   23081 if test "${with_perl_options+set}" = set; then :
   23082   withval=$with_perl_options; PERL_MAKE_OPTIONS=$withval
   23083 fi
   23084 
   23085 
   23086 
   23087 # Enable jemalloc, object-caching memory allocation library.
   23088 
   23089 # Check whether --with-jemalloc was given.
   23090 if test "${with_jemalloc+set}" = set; then :
   23091   withval=$with_jemalloc; with_jemalloc=$withval
   23092 else
   23093   with_jemalloc='no'
   23094 fi
   23095 
   23096 if test "$with_jemalloc" != 'yes' ; then
   23097     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jemalloc=$with_jemalloc "
   23098 fi
   23099 
   23100 # Enable umem, object-caching memory allocation library.
   23101 
   23102 # Check whether --with-umem was given.
   23103 if test "${with_umem+set}" = set; then :
   23104   withval=$with_umem; with_umem=$withval
   23105 else
   23106   with_umem='no'
   23107 fi
   23108 
   23109 if test "$with_umem" != 'yes' ; then
   23110     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-umem=$with_umem "
   23111 fi
   23112 
   23113 #
   23114 # Specify path to shared libstdc++ if not in normal location
   23115 #
   23116 
   23117 # Check whether --with-libstdc was given.
   23118 if test "${with_libstdc+set}" = set; then :
   23119   withval=$with_libstdc; with_libstdc=$withval
   23120 else
   23121   with_libstdc=''
   23122 fi
   23123 
   23124 
   23125 if test "$with_libstdc" != ''; then
   23126     if test -d "$with_libstdc"; then
   23127         LIBSTDCLDFLAGS="-L$with_libstdc"
   23128     fi
   23129 fi
   23130 
   23131 
   23132 # Does gcc required -traditional?
   23133 if test $ac_cv_c_compiler_gnu = yes; then
   23134     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
   23135 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
   23136 if ${ac_cv_prog_gcc_traditional+:} false; then :
   23137   $as_echo_n "(cached) " >&6
   23138 else
   23139     ac_pattern="Autoconf.*'x'"
   23140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23141 /* end confdefs.h.  */
   23142 #include <sgtty.h>
   23143 Autoconf TIOCGETP
   23144 _ACEOF
   23145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   23146   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   23147   ac_cv_prog_gcc_traditional=yes
   23148 else
   23149   ac_cv_prog_gcc_traditional=no
   23150 fi
   23151 rm -f conftest*
   23152 
   23153 
   23154   if test $ac_cv_prog_gcc_traditional = no; then
   23155     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23156 /* end confdefs.h.  */
   23157 #include <termio.h>
   23158 Autoconf TCGETA
   23159 _ACEOF
   23160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   23161   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
   23162   ac_cv_prog_gcc_traditional=yes
   23163 fi
   23164 rm -f conftest*
   23165 
   23166   fi
   23167 fi
   23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
   23169 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
   23170   if test $ac_cv_prog_gcc_traditional = yes; then
   23171     CC="$CC -traditional"
   23172   fi
   23173 fi
   23174 
   23175 
   23176 ########
   23177 #
   23178 # Set defines required to build DLLs and modules using MinGW
   23179 #
   23180 ########
   23181 # These options are set for multi-thread DLL module build
   23182 #  libMagickCore:           _DLL _MAGICKMOD_ _MAGICKLIB_
   23183 #  module:              _DLL
   23184 #  executable/Magick++: _DLL _MAGICKMOD_
   23185 MODULE_EXTRA_CPPFLAGS=''
   23186 LIBRARY_EXTRA_CPPFLAGS=''
   23187 if test "${native_win32_build}" = 'yes'; then
   23188     if test "${libtool_build_shared_libs}" = 'yes'; then
   23189         CPPFLAGS="$CPPFLAGS -D_DLL"
   23190         MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
   23191         MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
   23192         LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
   23193         if test "$build_modules" = 'yes'; then
   23194             LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
   23195         else
   23196             MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
   23197         fi
   23198     else
   23199         CPPFLAGS="$CPPFLAGS -D_LIB"
   23200         MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_LIB"
   23201         MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_LIB"
   23202     fi
   23203     if test "$with_threads" = 'yes'; then
   23204          CPPFLAGS="$CPPFLAGS -D_MT"
   23205          MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_MT"
   23206          MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_MT"
   23207     fi
   23208 fi
   23209 
   23210 
   23211 
   23212 # Check standard headers
   23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   23214 $as_echo_n "checking for ANSI C header files... " >&6; }
   23215 if ${ac_cv_header_stdc+:} false; then :
   23216   $as_echo_n "(cached) " >&6
   23217 else
   23218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23219 /* end confdefs.h.  */
   23220 #include <stdlib.h>
   23221 #include <stdarg.h>
   23222 #include <string.h>
   23223 #include <float.h>
   23224 
   23225 int
   23226 main ()
   23227 {
   23228 
   23229   ;
   23230   return 0;
   23231 }
   23232 _ACEOF
   23233 if ac_fn_c_try_compile "$LINENO"; then :
   23234   ac_cv_header_stdc=yes
   23235 else
   23236   ac_cv_header_stdc=no
   23237 fi
   23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23239 
   23240 if test $ac_cv_header_stdc = yes; then
   23241   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   23242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23243 /* end confdefs.h.  */
   23244 #include <string.h>
   23245 
   23246 _ACEOF
   23247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   23248   $EGREP "memchr" >/dev/null 2>&1; then :
   23249 
   23250 else
   23251   ac_cv_header_stdc=no
   23252 fi
   23253 rm -f conftest*
   23254 
   23255 fi
   23256 
   23257 if test $ac_cv_header_stdc = yes; then
   23258   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   23259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23260 /* end confdefs.h.  */
   23261 #include <stdlib.h>
   23262 
   23263 _ACEOF
   23264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   23265   $EGREP "free" >/dev/null 2>&1; then :
   23266 
   23267 else
   23268   ac_cv_header_stdc=no
   23269 fi
   23270 rm -f conftest*
   23271 
   23272 fi
   23273 
   23274 if test $ac_cv_header_stdc = yes; then
   23275   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   23276   if test "$cross_compiling" = yes; then :
   23277   :
   23278 else
   23279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23280 /* end confdefs.h.  */
   23281 #include <ctype.h>
   23282 #include <stdlib.h>
   23283 #if ((' ' & 0x0FF) == 0x020)
   23284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   23285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   23286 #else
   23287 # define ISLOWER(c) \
   23288 		   (('a' <= (c) && (c) <= 'i') \
   23289 		     || ('j' <= (c) && (c) <= 'r') \
   23290 		     || ('s' <= (c) && (c) <= 'z'))
   23291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   23292 #endif
   23293 
   23294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   23295 int
   23296 main ()
   23297 {
   23298   int i;
   23299   for (i = 0; i < 256; i++)
   23300     if (XOR (islower (i), ISLOWER (i))
   23301 	|| toupper (i) != TOUPPER (i))
   23302       return 2;
   23303   return 0;
   23304 }
   23305 _ACEOF
   23306 if ac_fn_c_try_run "$LINENO"; then :
   23307 
   23308 else
   23309   ac_cv_header_stdc=no
   23310 fi
   23311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23312   conftest.$ac_objext conftest.beam conftest.$ac_ext
   23313 fi
   23314 
   23315 fi
   23316 fi
   23317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   23318 $as_echo "$ac_cv_header_stdc" >&6; }
   23319 if test $ac_cv_header_stdc = yes; then
   23320 
   23321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   23322 
   23323 fi
   23324 
   23325 if ! test x"$ac_cv_header_stdc" = x"yes"; then
   23326     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure has detected that you do not have the ANSI standard C
   23327     header files.  Compilation cannot proceed.  Please install the ANSI C
   23328     headers and rerun this script." >&5
   23329 $as_echo "$as_me: WARNING: configure has detected that you do not have the ANSI standard C
   23330     header files.  Compilation cannot proceed.  Please install the ANSI C
   23331     headers and rerun this script." >&2;};
   23332 fi
   23333 
   23334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
   23335 $as_echo_n "checking whether to enable assertions... " >&6; }
   23336   # Check whether --enable-assert was given.
   23337 if test "${enable_assert+set}" = set; then :
   23338   enableval=$enable_assert; ac_enable_assert=$enableval
   23339      if       test "x$enableval" = xno; then :
   23340 
   23341 $as_echo "#define NDEBUG 1" >>confdefs.h
   23342 
   23343 elif test "x$enableval" != xyes; then :
   23344   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
   23345 $as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
   23346 	ac_enable_assert=yes
   23347 fi
   23348 else
   23349   ac_enable_assert=yes
   23350 fi
   23351 
   23352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
   23353 $as_echo "$ac_enable_assert" >&6; }
   23354 
   23355 ac_header_dirent=no
   23356 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   23357   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   23359 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   23360 if eval \${$as_ac_Header+:} false; then :
   23361   $as_echo_n "(cached) " >&6
   23362 else
   23363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23364 /* end confdefs.h.  */
   23365 #include <sys/types.h>
   23366 #include <$ac_hdr>
   23367 
   23368 int
   23369 main ()
   23370 {
   23371 if ((DIR *) 0)
   23372 return 0;
   23373   ;
   23374   return 0;
   23375 }
   23376 _ACEOF
   23377 if ac_fn_c_try_compile "$LINENO"; then :
   23378   eval "$as_ac_Header=yes"
   23379 else
   23380   eval "$as_ac_Header=no"
   23381 fi
   23382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23383 fi
   23384 eval ac_res=\$$as_ac_Header
   23385 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   23386 $as_echo "$ac_res" >&6; }
   23387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   23388   cat >>confdefs.h <<_ACEOF
   23389 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   23390 _ACEOF
   23391 
   23392 ac_header_dirent=$ac_hdr; break
   23393 fi
   23394 
   23395 done
   23396 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   23397 if test $ac_header_dirent = dirent.h; then
   23398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   23399 $as_echo_n "checking for library containing opendir... " >&6; }
   23400 if ${ac_cv_search_opendir+:} false; then :
   23401   $as_echo_n "(cached) " >&6
   23402 else
   23403   ac_func_search_save_LIBS=$LIBS
   23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23405 /* end confdefs.h.  */
   23406 
   23407 /* Override any GCC internal prototype to avoid an error.
   23408    Use char because int might match the return type of a GCC
   23409    builtin and then its argument prototype would still apply.  */
   23410 #ifdef __cplusplus
   23411 extern "C"
   23412 #endif
   23413 char opendir ();
   23414 int
   23415 main ()
   23416 {
   23417 return opendir ();
   23418   ;
   23419   return 0;
   23420 }
   23421 _ACEOF
   23422 for ac_lib in '' dir; do
   23423   if test -z "$ac_lib"; then
   23424     ac_res="none required"
   23425   else
   23426     ac_res=-l$ac_lib
   23427     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23428   fi
   23429   if ac_fn_c_try_link "$LINENO"; then :
   23430   ac_cv_search_opendir=$ac_res
   23431 fi
   23432 rm -f core conftest.err conftest.$ac_objext \
   23433     conftest$ac_exeext
   23434   if ${ac_cv_search_opendir+:} false; then :
   23435   break
   23436 fi
   23437 done
   23438 if ${ac_cv_search_opendir+:} false; then :
   23439 
   23440 else
   23441   ac_cv_search_opendir=no
   23442 fi
   23443 rm conftest.$ac_ext
   23444 LIBS=$ac_func_search_save_LIBS
   23445 fi
   23446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   23447 $as_echo "$ac_cv_search_opendir" >&6; }
   23448 ac_res=$ac_cv_search_opendir
   23449 if test "$ac_res" != no; then :
   23450   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23451 
   23452 fi
   23453 
   23454 else
   23455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   23456 $as_echo_n "checking for library containing opendir... " >&6; }
   23457 if ${ac_cv_search_opendir+:} false; then :
   23458   $as_echo_n "(cached) " >&6
   23459 else
   23460   ac_func_search_save_LIBS=$LIBS
   23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23462 /* end confdefs.h.  */
   23463 
   23464 /* Override any GCC internal prototype to avoid an error.
   23465    Use char because int might match the return type of a GCC
   23466    builtin and then its argument prototype would still apply.  */
   23467 #ifdef __cplusplus
   23468 extern "C"
   23469 #endif
   23470 char opendir ();
   23471 int
   23472 main ()
   23473 {
   23474 return opendir ();
   23475   ;
   23476   return 0;
   23477 }
   23478 _ACEOF
   23479 for ac_lib in '' x; do
   23480   if test -z "$ac_lib"; then
   23481     ac_res="none required"
   23482   else
   23483     ac_res=-l$ac_lib
   23484     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23485   fi
   23486   if ac_fn_c_try_link "$LINENO"; then :
   23487   ac_cv_search_opendir=$ac_res
   23488 fi
   23489 rm -f core conftest.err conftest.$ac_objext \
   23490     conftest$ac_exeext
   23491   if ${ac_cv_search_opendir+:} false; then :
   23492   break
   23493 fi
   23494 done
   23495 if ${ac_cv_search_opendir+:} false; then :
   23496 
   23497 else
   23498   ac_cv_search_opendir=no
   23499 fi
   23500 rm conftest.$ac_ext
   23501 LIBS=$ac_func_search_save_LIBS
   23502 fi
   23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   23504 $as_echo "$ac_cv_search_opendir" >&6; }
   23505 ac_res=$ac_cv_search_opendir
   23506 if test "$ac_res" != no; then :
   23507   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23508 
   23509 fi
   23510 
   23511 fi
   23512 
   23513 
   23514 # Check additional headers
   23515 for ac_header in arm/limits.h arpa/inet.h complex.h errno.h fcntl.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h netinet/in.h OS.h process.h sun_prefetch.h stdarg.h sys/ipc.h sys/mman.h sys/resource.h sys/sendfile.h sys/socket.h sys/syslimits.h sys/time.h sys/timeb.h sys/times.h sys/wait.h utime.h wchar.h xlocale.h
   23516 do :
   23517   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   23518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   23519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   23520   cat >>confdefs.h <<_ACEOF
   23521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   23522 _ACEOF
   23523 
   23524 fi
   23525 
   23526 done
   23527 
   23528 
   23529 ########
   23530 #
   23531 # Checks for typedefs, structures, and compiler characteristics.
   23532 #
   23533 ########
   23534 
   23535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
   23536 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
   23537 if ${ac_cv_header_stdbool_h+:} false; then :
   23538   $as_echo_n "(cached) " >&6
   23539 else
   23540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23541 /* end confdefs.h.  */
   23542 
   23543              #include <stdbool.h>
   23544              #ifndef bool
   23545               "error: bool is not defined"
   23546              #endif
   23547              #ifndef false
   23548               "error: false is not defined"
   23549              #endif
   23550              #if false
   23551               "error: false is not 0"
   23552              #endif
   23553              #ifndef true
   23554               "error: true is not defined"
   23555              #endif
   23556              #if true != 1
   23557               "error: true is not 1"
   23558              #endif
   23559              #ifndef __bool_true_false_are_defined
   23560               "error: __bool_true_false_are_defined is not defined"
   23561              #endif
   23562 
   23563              struct s { _Bool s: 1; _Bool t; } s;
   23564 
   23565              char a[true == 1 ? 1 : -1];
   23566              char b[false == 0 ? 1 : -1];
   23567              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
   23568              char d[(bool) 0.5 == true ? 1 : -1];
   23569              /* See body of main program for 'e'.  */
   23570              char f[(_Bool) 0.0 == false ? 1 : -1];
   23571              char g[true];
   23572              char h[sizeof (_Bool)];
   23573              char i[sizeof s.t];
   23574              enum { j = false, k = true, l = false * true, m = true * 256 };
   23575              /* The following fails for
   23576                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
   23577              _Bool n[m];
   23578              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
   23579              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
   23580              /* Catch a bug in an HP-UX C compiler.  See
   23581                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
   23582                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
   23583               */
   23584              _Bool q = true;
   23585              _Bool *pq = &q;
   23586 
   23587 int
   23588 main ()
   23589 {
   23590 
   23591              bool e = &s;
   23592              *pq |= q;
   23593              *pq |= ! q;
   23594              /* Refer to every declared value, to avoid compiler optimizations.  */
   23595              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
   23596                      + !m + !n + !o + !p + !q + !pq);
   23597 
   23598   ;
   23599   return 0;
   23600 }
   23601 _ACEOF
   23602 if ac_fn_c_try_compile "$LINENO"; then :
   23603   ac_cv_header_stdbool_h=yes
   23604 else
   23605   ac_cv_header_stdbool_h=no
   23606 fi
   23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23608 fi
   23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
   23610 $as_echo "$ac_cv_header_stdbool_h" >&6; }
   23611    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
   23612 if test "x$ac_cv_type__Bool" = xyes; then :
   23613 
   23614 cat >>confdefs.h <<_ACEOF
   23615 #define HAVE__BOOL 1
   23616 _ACEOF
   23617 
   23618 
   23619 fi
   23620 
   23621 
   23622 if test $ac_cv_header_stdbool_h = yes; then
   23623 
   23624 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
   23625 
   23626 fi
   23627 
   23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   23629 $as_echo_n "checking for working volatile... " >&6; }
   23630 if ${ac_cv_c_volatile+:} false; then :
   23631   $as_echo_n "(cached) " >&6
   23632 else
   23633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23634 /* end confdefs.h.  */
   23635 
   23636 int
   23637 main ()
   23638 {
   23639 
   23640 volatile int x;
   23641 int * volatile y = (int *) 0;
   23642 return !x && !y;
   23643   ;
   23644   return 0;
   23645 }
   23646 _ACEOF
   23647 if ac_fn_c_try_compile "$LINENO"; then :
   23648   ac_cv_c_volatile=yes
   23649 else
   23650   ac_cv_c_volatile=no
   23651 fi
   23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23653 fi
   23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   23655 $as_echo "$ac_cv_c_volatile" >&6; }
   23656 if test $ac_cv_c_volatile = no; then
   23657 
   23658 $as_echo "#define volatile /**/" >>confdefs.h
   23659 
   23660 fi
   23661 
   23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preprocessor stringizing operator" >&5
   23663 $as_echo_n "checking for preprocessor stringizing operator... " >&6; }
   23664 if ${ac_cv_c_stringize+:} false; then :
   23665   $as_echo_n "(cached) " >&6
   23666 else
   23667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23668 /* end confdefs.h.  */
   23669 #define x(y) #y
   23670 
   23671 char *s = x(teststring);
   23672 _ACEOF
   23673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   23674   $EGREP "#teststring" >/dev/null 2>&1; then :
   23675   ac_cv_c_stringize=no
   23676 else
   23677   ac_cv_c_stringize=yes
   23678 fi
   23679 rm -f conftest*
   23680 
   23681 fi
   23682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stringize" >&5
   23683 $as_echo "$ac_cv_c_stringize" >&6; }
   23684 if test $ac_cv_c_stringize = yes; then
   23685 
   23686 $as_echo "#define HAVE_STRINGIZE 1" >>confdefs.h
   23687 
   23688 fi
   23689 
   23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
   23691 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
   23692 if ${ac_cv_header_stat_broken+:} false; then :
   23693   $as_echo_n "(cached) " >&6
   23694 else
   23695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23696 /* end confdefs.h.  */
   23697 #include <sys/types.h>
   23698 #include <sys/stat.h>
   23699 
   23700 #if defined S_ISBLK && defined S_IFDIR
   23701 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
   23702 #endif
   23703 
   23704 #if defined S_ISBLK && defined S_IFCHR
   23705 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
   23706 #endif
   23707 
   23708 #if defined S_ISLNK && defined S_IFREG
   23709 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
   23710 #endif
   23711 
   23712 #if defined S_ISSOCK && defined S_IFREG
   23713 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
   23714 #endif
   23715 
   23716 _ACEOF
   23717 if ac_fn_c_try_compile "$LINENO"; then :
   23718   ac_cv_header_stat_broken=no
   23719 else
   23720   ac_cv_header_stat_broken=yes
   23721 fi
   23722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23723 fi
   23724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
   23725 $as_echo "$ac_cv_header_stat_broken" >&6; }
   23726 if test $ac_cv_header_stat_broken = yes; then
   23727 
   23728 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
   23729 
   23730 fi
   23731 
   23732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   23733 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   23734 if ${ac_cv_header_time+:} false; then :
   23735   $as_echo_n "(cached) " >&6
   23736 else
   23737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23738 /* end confdefs.h.  */
   23739 #include <sys/types.h>
   23740 #include <sys/time.h>
   23741 #include <time.h>
   23742 
   23743 int
   23744 main ()
   23745 {
   23746 if ((struct tm *) 0)
   23747 return 0;
   23748   ;
   23749   return 0;
   23750 }
   23751 _ACEOF
   23752 if ac_fn_c_try_compile "$LINENO"; then :
   23753   ac_cv_header_time=yes
   23754 else
   23755   ac_cv_header_time=no
   23756 fi
   23757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23758 fi
   23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   23760 $as_echo "$ac_cv_header_time" >&6; }
   23761 if test $ac_cv_header_time = yes; then
   23762 
   23763 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   23764 
   23765 fi
   23766 
   23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   23768 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   23769 if ${ac_cv_struct_tm+:} false; then :
   23770   $as_echo_n "(cached) " >&6
   23771 else
   23772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23773 /* end confdefs.h.  */
   23774 #include <sys/types.h>
   23775 #include <time.h>
   23776 
   23777 int
   23778 main ()
   23779 {
   23780 struct tm tm;
   23781 				     int *p = &tm.tm_sec;
   23782 				     return !p;
   23783   ;
   23784   return 0;
   23785 }
   23786 _ACEOF
   23787 if ac_fn_c_try_compile "$LINENO"; then :
   23788   ac_cv_struct_tm=time.h
   23789 else
   23790   ac_cv_struct_tm=sys/time.h
   23791 fi
   23792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23793 fi
   23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   23795 $as_echo "$ac_cv_struct_tm" >&6; }
   23796 if test $ac_cv_struct_tm = sys/time.h; then
   23797 
   23798 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   23799 
   23800 fi
   23801 
   23802 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
   23803 #include <$ac_cv_struct_tm>
   23804 
   23805 "
   23806 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
   23807 
   23808 cat >>confdefs.h <<_ACEOF
   23809 #define HAVE_STRUCT_TM_TM_ZONE 1
   23810 _ACEOF
   23811 
   23812 
   23813 fi
   23814 
   23815 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
   23816 
   23817 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
   23818 
   23819 else
   23820   ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
   23821 "
   23822 if test "x$ac_cv_have_decl_tzname" = xyes; then :
   23823   ac_have_decl=1
   23824 else
   23825   ac_have_decl=0
   23826 fi
   23827 
   23828 cat >>confdefs.h <<_ACEOF
   23829 #define HAVE_DECL_TZNAME $ac_have_decl
   23830 _ACEOF
   23831 
   23832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   23833 $as_echo_n "checking for tzname... " >&6; }
   23834 if ${ac_cv_var_tzname+:} false; then :
   23835   $as_echo_n "(cached) " >&6
   23836 else
   23837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23838 /* end confdefs.h.  */
   23839 #include <time.h>
   23840 #if !HAVE_DECL_TZNAME
   23841 extern char *tzname[];
   23842 #endif
   23843 
   23844 int
   23845 main ()
   23846 {
   23847 return tzname[0][0];
   23848   ;
   23849   return 0;
   23850 }
   23851 _ACEOF
   23852 if ac_fn_c_try_link "$LINENO"; then :
   23853   ac_cv_var_tzname=yes
   23854 else
   23855   ac_cv_var_tzname=no
   23856 fi
   23857 rm -f core conftest.err conftest.$ac_objext \
   23858     conftest$ac_exeext conftest.$ac_ext
   23859 fi
   23860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   23861 $as_echo "$ac_cv_var_tzname" >&6; }
   23862   if test $ac_cv_var_tzname = yes; then
   23863 
   23864 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
   23865 
   23866   fi
   23867 fi
   23868 
   23869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether #! works in shell scripts" >&5
   23870 $as_echo_n "checking whether #! works in shell scripts... " >&6; }
   23871 if ${ac_cv_sys_interpreter+:} false; then :
   23872   $as_echo_n "(cached) " >&6
   23873 else
   23874   echo '#! /bin/cat
   23875 exit 69
   23876 ' >conftest
   23877 chmod u+x conftest
   23878 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
   23879 if test $? -ne 69; then
   23880    ac_cv_sys_interpreter=yes
   23881 else
   23882    ac_cv_sys_interpreter=no
   23883 fi
   23884 rm -f conftest
   23885 fi
   23886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_interpreter" >&5
   23887 $as_echo "$ac_cv_sys_interpreter" >&6; }
   23888 interpval=$ac_cv_sys_interpreter
   23889 
   23890 
   23891 #
   23892 # Checks for language qualifiers and semantics.
   23893 #
   23894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
   23895 $as_echo_n "checking whether char is unsigned... " >&6; }
   23896 if ${ac_cv_c_char_unsigned+:} false; then :
   23897   $as_echo_n "(cached) " >&6
   23898 else
   23899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23900 /* end confdefs.h.  */
   23901 $ac_includes_default
   23902 int
   23903 main ()
   23904 {
   23905 static int test_array [1 - 2 * !(((char) -1) < 0)];
   23906 test_array [0] = 0;
   23907 return test_array [0];
   23908 
   23909   ;
   23910   return 0;
   23911 }
   23912 _ACEOF
   23913 if ac_fn_c_try_compile "$LINENO"; then :
   23914   ac_cv_c_char_unsigned=no
   23915 else
   23916   ac_cv_c_char_unsigned=yes
   23917 fi
   23918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23919 fi
   23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
   23921 $as_echo "$ac_cv_c_char_unsigned" >&6; }
   23922 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
   23923   $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
   23924 
   23925 fi
   23926 
   23927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   23928 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   23929 if ${ac_cv_c_const+:} false; then :
   23930   $as_echo_n "(cached) " >&6
   23931 else
   23932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23933 /* end confdefs.h.  */
   23934 
   23935 int
   23936 main ()
   23937 {
   23938 
   23939 #ifndef __cplusplus
   23940   /* Ultrix mips cc rejects this sort of thing.  */
   23941   typedef int charset[2];
   23942   const charset cs = { 0, 0 };
   23943   /* SunOS 4.1.1 cc rejects this.  */
   23944   char const *const *pcpcc;
   23945   char **ppc;
   23946   /* NEC SVR4.0.2 mips cc rejects this.  */
   23947   struct point {int x, y;};
   23948   static struct point const zero = {0,0};
   23949   /* AIX XL C 1.02.0.0 rejects this.
   23950      It does not let you subtract one const X* pointer from another in
   23951      an arm of an if-expression whose if-part is not a constant
   23952      expression */
   23953   const char *g = "string";
   23954   pcpcc = &g + (g ? g-g : 0);
   23955   /* HPUX 7.0 cc rejects these. */
   23956   ++pcpcc;
   23957   ppc = (char**) pcpcc;
   23958   pcpcc = (char const *const *) ppc;
   23959   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   23960     char tx;
   23961     char *t = &tx;
   23962     char const *s = 0 ? (char *) 0 : (char const *) 0;
   23963 
   23964     *t++ = 0;
   23965     if (s) return 0;
   23966   }
   23967   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   23968     int x[] = {25, 17};
   23969     const int *foo = &x[0];
   23970     ++foo;
   23971   }
   23972   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   23973     typedef const int *iptr;
   23974     iptr p = 0;
   23975     ++p;
   23976   }
   23977   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   23978        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   23979     struct s { int j; const int *ap[3]; } bx;
   23980     struct s *b = &bx; b->j = 5;
   23981   }
   23982   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   23983     const int foo = 10;
   23984     if (!foo) return 0;
   23985   }
   23986   return !cs[0] && !zero.x;
   23987 #endif
   23988 
   23989   ;
   23990   return 0;
   23991 }
   23992 _ACEOF
   23993 if ac_fn_c_try_compile "$LINENO"; then :
   23994   ac_cv_c_const=yes
   23995 else
   23996   ac_cv_c_const=no
   23997 fi
   23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   23999 fi
   24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   24001 $as_echo "$ac_cv_c_const" >&6; }
   24002 if test $ac_cv_c_const = no; then
   24003 
   24004 $as_echo "#define const /**/" >>confdefs.h
   24005 
   24006 fi
   24007 
   24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   24009 $as_echo_n "checking for inline... " >&6; }
   24010 if ${ac_cv_c_inline+:} false; then :
   24011   $as_echo_n "(cached) " >&6
   24012 else
   24013   ac_cv_c_inline=no
   24014 for ac_kw in inline __inline__ __inline; do
   24015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24016 /* end confdefs.h.  */
   24017 #ifndef __cplusplus
   24018 typedef int foo_t;
   24019 static $ac_kw foo_t static_foo () {return 0; }
   24020 $ac_kw foo_t foo () {return 0; }
   24021 #endif
   24022 
   24023 _ACEOF
   24024 if ac_fn_c_try_compile "$LINENO"; then :
   24025   ac_cv_c_inline=$ac_kw
   24026 fi
   24027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24028   test "$ac_cv_c_inline" != no && break
   24029 done
   24030 
   24031 fi
   24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   24033 $as_echo "$ac_cv_c_inline" >&6; }
   24034 
   24035 case $ac_cv_c_inline in
   24036   inline | yes) ;;
   24037   *)
   24038     case $ac_cv_c_inline in
   24039       no) ac_val=;;
   24040       *) ac_val=$ac_cv_c_inline;;
   24041     esac
   24042     cat >>confdefs.h <<_ACEOF
   24043 #ifndef __cplusplus
   24044 #define inline $ac_val
   24045 #endif
   24046 _ACEOF
   24047     ;;
   24048 esac
   24049 
   24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
   24051 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
   24052 if ${ac_cv_c_restrict+:} false; then :
   24053   $as_echo_n "(cached) " >&6
   24054 else
   24055   ac_cv_c_restrict=no
   24056    # The order here caters to the fact that C++ does not require restrict.
   24057    for ac_kw in __restrict __restrict__ _Restrict restrict; do
   24058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24059 /* end confdefs.h.  */
   24060 typedef int * int_ptr;
   24061 	int foo (int_ptr $ac_kw ip) {
   24062 	return ip[0];
   24063        }
   24064 int
   24065 main ()
   24066 {
   24067 int s[1];
   24068 	int * $ac_kw t = s;
   24069 	t[0] = 0;
   24070 	return foo(t)
   24071   ;
   24072   return 0;
   24073 }
   24074 _ACEOF
   24075 if ac_fn_c_try_compile "$LINENO"; then :
   24076   ac_cv_c_restrict=$ac_kw
   24077 fi
   24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24079      test "$ac_cv_c_restrict" != no && break
   24080    done
   24081 
   24082 fi
   24083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
   24084 $as_echo "$ac_cv_c_restrict" >&6; }
   24085 
   24086  case $ac_cv_c_restrict in
   24087    restrict) ;;
   24088    no) $as_echo "#define restrict /**/" >>confdefs.h
   24089  ;;
   24090    *)  cat >>confdefs.h <<_ACEOF
   24091 #define restrict $ac_cv_c_restrict
   24092 _ACEOF
   24093  ;;
   24094  esac
   24095 
   24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   24097 $as_echo_n "checking for working volatile... " >&6; }
   24098 if ${ac_cv_c_volatile+:} false; then :
   24099   $as_echo_n "(cached) " >&6
   24100 else
   24101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24102 /* end confdefs.h.  */
   24103 
   24104 int
   24105 main ()
   24106 {
   24107 
   24108 volatile int x;
   24109 int * volatile y = (int *) 0;
   24110 return !x && !y;
   24111   ;
   24112   return 0;
   24113 }
   24114 _ACEOF
   24115 if ac_fn_c_try_compile "$LINENO"; then :
   24116   ac_cv_c_volatile=yes
   24117 else
   24118   ac_cv_c_volatile=no
   24119 fi
   24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24121 fi
   24122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   24123 $as_echo "$ac_cv_c_volatile" >&6; }
   24124 if test $ac_cv_c_volatile = no; then
   24125 
   24126 $as_echo "#define volatile /**/" >>confdefs.h
   24127 
   24128 fi
   24129 
   24130 
   24131 # If words are stored with the most significant byte first (like
   24132 # Motorola and SPARC CPUs), define `WORDS_BIGENDIAN'.
   24133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   24134 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   24135 if ${ac_cv_c_bigendian+:} false; then :
   24136   $as_echo_n "(cached) " >&6
   24137 else
   24138   ac_cv_c_bigendian=unknown
   24139     # See if we're dealing with a universal compiler.
   24140     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24141 /* end confdefs.h.  */
   24142 #ifndef __APPLE_CC__
   24143 	       not a universal capable compiler
   24144 	     #endif
   24145 	     typedef int dummy;
   24146 
   24147 _ACEOF
   24148 if ac_fn_c_try_compile "$LINENO"; then :
   24149 
   24150 	# Check for potential -arch flags.  It is not universal unless
   24151 	# there are at least two -arch flags with different values.
   24152 	ac_arch=
   24153 	ac_prev=
   24154 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   24155 	 if test -n "$ac_prev"; then
   24156 	   case $ac_word in
   24157 	     i?86 | x86_64 | ppc | ppc64)
   24158 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   24159 		 ac_arch=$ac_word
   24160 	       else
   24161 		 ac_cv_c_bigendian=universal
   24162 		 break
   24163 	       fi
   24164 	       ;;
   24165 	   esac
   24166 	   ac_prev=
   24167 	 elif test "x$ac_word" = "x-arch"; then
   24168 	   ac_prev=arch
   24169 	 fi
   24170        done
   24171 fi
   24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24173     if test $ac_cv_c_bigendian = unknown; then
   24174       # See if sys/param.h defines the BYTE_ORDER macro.
   24175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24176 /* end confdefs.h.  */
   24177 #include <sys/types.h>
   24178 	     #include <sys/param.h>
   24179 
   24180 int
   24181 main ()
   24182 {
   24183 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   24184 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   24185 		     && LITTLE_ENDIAN)
   24186 	      bogus endian macros
   24187 	     #endif
   24188 
   24189   ;
   24190   return 0;
   24191 }
   24192 _ACEOF
   24193 if ac_fn_c_try_compile "$LINENO"; then :
   24194   # It does; now see whether it defined to BIG_ENDIAN or not.
   24195 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24196 /* end confdefs.h.  */
   24197 #include <sys/types.h>
   24198 		#include <sys/param.h>
   24199 
   24200 int
   24201 main ()
   24202 {
   24203 #if BYTE_ORDER != BIG_ENDIAN
   24204 		 not big endian
   24205 		#endif
   24206 
   24207   ;
   24208   return 0;
   24209 }
   24210 _ACEOF
   24211 if ac_fn_c_try_compile "$LINENO"; then :
   24212   ac_cv_c_bigendian=yes
   24213 else
   24214   ac_cv_c_bigendian=no
   24215 fi
   24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24217 fi
   24218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24219     fi
   24220     if test $ac_cv_c_bigendian = unknown; then
   24221       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   24222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24223 /* end confdefs.h.  */
   24224 #include <limits.h>
   24225 
   24226 int
   24227 main ()
   24228 {
   24229 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   24230 	      bogus endian macros
   24231 	     #endif
   24232 
   24233   ;
   24234   return 0;
   24235 }
   24236 _ACEOF
   24237 if ac_fn_c_try_compile "$LINENO"; then :
   24238   # It does; now see whether it defined to _BIG_ENDIAN or not.
   24239 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24240 /* end confdefs.h.  */
   24241 #include <limits.h>
   24242 
   24243 int
   24244 main ()
   24245 {
   24246 #ifndef _BIG_ENDIAN
   24247 		 not big endian
   24248 		#endif
   24249 
   24250   ;
   24251   return 0;
   24252 }
   24253 _ACEOF
   24254 if ac_fn_c_try_compile "$LINENO"; then :
   24255   ac_cv_c_bigendian=yes
   24256 else
   24257   ac_cv_c_bigendian=no
   24258 fi
   24259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24260 fi
   24261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24262     fi
   24263     if test $ac_cv_c_bigendian = unknown; then
   24264       # Compile a test program.
   24265       if test "$cross_compiling" = yes; then :
   24266   # Try to guess by grepping values from an object file.
   24267 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24268 /* end confdefs.h.  */
   24269 short int ascii_mm[] =
   24270 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   24271 		short int ascii_ii[] =
   24272 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   24273 		int use_ascii (int i) {
   24274 		  return ascii_mm[i] + ascii_ii[i];
   24275 		}
   24276 		short int ebcdic_ii[] =
   24277 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   24278 		short int ebcdic_mm[] =
   24279 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   24280 		int use_ebcdic (int i) {
   24281 		  return ebcdic_mm[i] + ebcdic_ii[i];
   24282 		}
   24283 		extern int foo;
   24284 
   24285 int
   24286 main ()
   24287 {
   24288 return use_ascii (foo) == use_ebcdic (foo);
   24289   ;
   24290   return 0;
   24291 }
   24292 _ACEOF
   24293 if ac_fn_c_try_compile "$LINENO"; then :
   24294   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   24295 	      ac_cv_c_bigendian=yes
   24296 	    fi
   24297 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   24298 	      if test "$ac_cv_c_bigendian" = unknown; then
   24299 		ac_cv_c_bigendian=no
   24300 	      else
   24301 		# finding both strings is unlikely to happen, but who knows?
   24302 		ac_cv_c_bigendian=unknown
   24303 	      fi
   24304 	    fi
   24305 fi
   24306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24307 else
   24308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24309 /* end confdefs.h.  */
   24310 $ac_includes_default
   24311 int
   24312 main ()
   24313 {
   24314 
   24315 	     /* Are we little or big endian?  From Harbison&Steele.  */
   24316 	     union
   24317 	     {
   24318 	       long int l;
   24319 	       char c[sizeof (long int)];
   24320 	     } u;
   24321 	     u.l = 1;
   24322 	     return u.c[sizeof (long int) - 1] == 1;
   24323 
   24324   ;
   24325   return 0;
   24326 }
   24327 _ACEOF
   24328 if ac_fn_c_try_run "$LINENO"; then :
   24329   ac_cv_c_bigendian=no
   24330 else
   24331   ac_cv_c_bigendian=yes
   24332 fi
   24333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   24334   conftest.$ac_objext conftest.beam conftest.$ac_ext
   24335 fi
   24336 
   24337     fi
   24338 fi
   24339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   24340 $as_echo "$ac_cv_c_bigendian" >&6; }
   24341  case $ac_cv_c_bigendian in #(
   24342    yes)
   24343      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   24344 ;; #(
   24345    no)
   24346       ;; #(
   24347    universal)
   24348 
   24349 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   24350 
   24351      ;; #(
   24352    *)
   24353      as_fn_error $? "unknown endianness
   24354  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   24355  esac
   24356 
   24357 
   24358 # Define to a suitable type, if standard headers do not define it.
   24359 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
   24360 case $ac_cv_c_int8_t in #(
   24361   no|yes) ;; #(
   24362   *)
   24363 
   24364 cat >>confdefs.h <<_ACEOF
   24365 #define int8_t $ac_cv_c_int8_t
   24366 _ACEOF
   24367 ;;
   24368 esac
   24369 
   24370 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
   24371 case $ac_cv_c_int16_t in #(
   24372   no|yes) ;; #(
   24373   *)
   24374 
   24375 cat >>confdefs.h <<_ACEOF
   24376 #define int16_t $ac_cv_c_int16_t
   24377 _ACEOF
   24378 ;;
   24379 esac
   24380 
   24381 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
   24382 case $ac_cv_c_int32_t in #(
   24383   no|yes) ;; #(
   24384   *)
   24385 
   24386 cat >>confdefs.h <<_ACEOF
   24387 #define int32_t $ac_cv_c_int32_t
   24388 _ACEOF
   24389 ;;
   24390 esac
   24391 
   24392 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   24393 case $ac_cv_c_int64_t in #(
   24394   no|yes) ;; #(
   24395   *)
   24396 
   24397 cat >>confdefs.h <<_ACEOF
   24398 #define int64_t $ac_cv_c_int64_t
   24399 _ACEOF
   24400 ;;
   24401 esac
   24402 
   24403 
   24404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
   24405 $as_echo_n "checking for unsigned long long int... " >&6; }
   24406 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
   24407   $as_echo_n "(cached) " >&6
   24408 else
   24409   ac_cv_type_unsigned_long_long_int=yes
   24410      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   24411        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24412 /* end confdefs.h.  */
   24413 
   24414   /* For now, do not test the preprocessor; as of 2007 there are too many
   24415 	 implementations with broken preprocessors.  Perhaps this can
   24416 	 be revisited in 2012.  In the meantime, code should not expect
   24417 	 #if to work with literals wider than 32 bits.  */
   24418       /* Test literals.  */
   24419       long long int ll = 9223372036854775807ll;
   24420       long long int nll = -9223372036854775807LL;
   24421       unsigned long long int ull = 18446744073709551615ULL;
   24422       /* Test constant expressions.   */
   24423       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
   24424 		     ? 1 : -1)];
   24425       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
   24426 		     ? 1 : -1)];
   24427       int i = 63;
   24428 int
   24429 main ()
   24430 {
   24431 /* Test availability of runtime routines for shift and division.  */
   24432       long long int llmax = 9223372036854775807ll;
   24433       unsigned long long int ullmax = 18446744073709551615ull;
   24434       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   24435 	      | (llmax / ll) | (llmax % ll)
   24436 	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
   24437 	      | (ullmax / ull) | (ullmax % ull));
   24438   ;
   24439   return 0;
   24440 }
   24441 
   24442 _ACEOF
   24443 if ac_fn_c_try_link "$LINENO"; then :
   24444 
   24445 else
   24446   ac_cv_type_unsigned_long_long_int=no
   24447 fi
   24448 rm -f core conftest.err conftest.$ac_objext \
   24449     conftest$ac_exeext conftest.$ac_ext
   24450      fi
   24451 fi
   24452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
   24453 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
   24454   if test $ac_cv_type_unsigned_long_long_int = yes; then
   24455 
   24456 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
   24457 
   24458   fi
   24459 
   24460 
   24461 
   24462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
   24463 $as_echo_n "checking for long long int... " >&6; }
   24464 if ${ac_cv_type_long_long_int+:} false; then :
   24465   $as_echo_n "(cached) " >&6
   24466 else
   24467   ac_cv_type_long_long_int=yes
   24468       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   24469 	ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
   24470 	if test $ac_cv_type_long_long_int = yes; then
   24471 	  	  	  	  if test "$cross_compiling" = yes; then :
   24472   :
   24473 else
   24474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24475 /* end confdefs.h.  */
   24476 #include <limits.h>
   24477 		 #ifndef LLONG_MAX
   24478 		 # define HALF \
   24479 			  (1LL << (sizeof (long long int) * CHAR_BIT - 2))
   24480 		 # define LLONG_MAX (HALF - 1 + HALF)
   24481 		 #endif
   24482 int
   24483 main ()
   24484 {
   24485 long long int n = 1;
   24486 		 int i;
   24487 		 for (i = 0; ; i++)
   24488 		   {
   24489 		     long long int m = n << i;
   24490 		     if (m >> i != n)
   24491 		       return 1;
   24492 		     if (LLONG_MAX / 2 < m)
   24493 		       break;
   24494 		   }
   24495 		 return 0;
   24496   ;
   24497   return 0;
   24498 }
   24499 _ACEOF
   24500 if ac_fn_c_try_run "$LINENO"; then :
   24501 
   24502 else
   24503   ac_cv_type_long_long_int=no
   24504 fi
   24505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   24506   conftest.$ac_objext conftest.beam conftest.$ac_ext
   24507 fi
   24508 
   24509 	fi
   24510       fi
   24511 fi
   24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
   24513 $as_echo "$ac_cv_type_long_long_int" >&6; }
   24514   if test $ac_cv_type_long_long_int = yes; then
   24515 
   24516 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
   24517 
   24518   fi
   24519 
   24520 
   24521 
   24522   ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
   24523 if test "x$ac_cv_type_intmax_t" = xyes; then :
   24524 
   24525 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
   24526 
   24527 else
   24528   test $ac_cv_type_long_long_int = yes \
   24529        && ac_type='long long int' \
   24530        || ac_type='long int'
   24531 
   24532 cat >>confdefs.h <<_ACEOF
   24533 #define intmax_t $ac_type
   24534 _ACEOF
   24535 
   24536 fi
   24537 
   24538 
   24539 
   24540   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
   24541 if test "x$ac_cv_type_intptr_t" = xyes; then :
   24542 
   24543 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
   24544 
   24545 else
   24546   for ac_type in 'int' 'long int' 'long long int'; do
   24547        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24548 /* end confdefs.h.  */
   24549 $ac_includes_default
   24550 int
   24551 main ()
   24552 {
   24553 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   24554 test_array [0] = 0;
   24555 return test_array [0];
   24556 
   24557   ;
   24558   return 0;
   24559 }
   24560 _ACEOF
   24561 if ac_fn_c_try_compile "$LINENO"; then :
   24562 
   24563 cat >>confdefs.h <<_ACEOF
   24564 #define intptr_t $ac_type
   24565 _ACEOF
   24566 
   24567 	  ac_type=
   24568 fi
   24569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24570        test -z "$ac_type" && break
   24571      done
   24572 fi
   24573 
   24574 
   24575 
   24576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
   24577 $as_echo_n "checking for long double... " >&6; }
   24578 if ${ac_cv_type_long_double+:} false; then :
   24579   $as_echo_n "(cached) " >&6
   24580 else
   24581   if test "$GCC" = yes; then
   24582        ac_cv_type_long_double=yes
   24583      else
   24584        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24585 /* end confdefs.h.  */
   24586 /* The Stardent Vistra knows sizeof (long double), but does
   24587 		 not support it.  */
   24588 	      long double foo = 0.0L;
   24589 int
   24590 main ()
   24591 {
   24592 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   24593 	      sizeof (double) <= sizeof (long double))];
   24594 test_array [0] = 0;
   24595 return test_array [0];
   24596 
   24597   ;
   24598   return 0;
   24599 }
   24600 _ACEOF
   24601 if ac_fn_c_try_compile "$LINENO"; then :
   24602   ac_cv_type_long_double=yes
   24603 else
   24604   ac_cv_type_long_double=no
   24605 fi
   24606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24607      fi
   24608 fi
   24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
   24610 $as_echo "$ac_cv_type_long_double" >&6; }
   24611   if test $ac_cv_type_long_double = yes; then
   24612 
   24613 $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
   24614 
   24615   fi
   24616 
   24617 
   24618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
   24619 $as_echo_n "checking for long double with more range or precision than double... " >&6; }
   24620 if ${ac_cv_type_long_double_wider+:} false; then :
   24621   $as_echo_n "(cached) " >&6
   24622 else
   24623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24624 /* end confdefs.h.  */
   24625 #include <float.h>
   24626 	    long double const a[] =
   24627 	      {
   24628 		 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
   24629 		 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
   24630 	      };
   24631 	    long double
   24632 	    f (long double x)
   24633 	    {
   24634 	       return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
   24635 			+ (x ? f (x) : 'c'));
   24636 	    }
   24637 
   24638 int
   24639 main ()
   24640 {
   24641 static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
   24642 		   + (DBL_MANT_DIG < LDBL_MANT_DIG)
   24643 		   - (LDBL_MAX_EXP < DBL_MAX_EXP)
   24644 		   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
   24645 	    && (int) LDBL_EPSILON == 0
   24646 	  )];
   24647 test_array [0] = 0;
   24648 return test_array [0];
   24649 
   24650   ;
   24651   return 0;
   24652 }
   24653 _ACEOF
   24654 if ac_fn_c_try_compile "$LINENO"; then :
   24655   ac_cv_type_long_double_wider=yes
   24656 else
   24657   ac_cv_type_long_double_wider=no
   24658 fi
   24659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24660 fi
   24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
   24662 $as_echo "$ac_cv_type_long_double_wider" >&6; }
   24663   if test $ac_cv_type_long_double_wider = yes; then
   24664 
   24665 $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
   24666 
   24667   fi
   24668 
   24669 
   24670 
   24671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
   24672 $as_echo_n "checking for long long int... " >&6; }
   24673 if ${ac_cv_type_long_long_int+:} false; then :
   24674   $as_echo_n "(cached) " >&6
   24675 else
   24676   ac_cv_type_long_long_int=yes
   24677       if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   24678 	ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
   24679 	if test $ac_cv_type_long_long_int = yes; then
   24680 	  	  	  	  if test "$cross_compiling" = yes; then :
   24681   :
   24682 else
   24683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24684 /* end confdefs.h.  */
   24685 #include <limits.h>
   24686 		 #ifndef LLONG_MAX
   24687 		 # define HALF \
   24688 			  (1LL << (sizeof (long long int) * CHAR_BIT - 2))
   24689 		 # define LLONG_MAX (HALF - 1 + HALF)
   24690 		 #endif
   24691 int
   24692 main ()
   24693 {
   24694 long long int n = 1;
   24695 		 int i;
   24696 		 for (i = 0; ; i++)
   24697 		   {
   24698 		     long long int m = n << i;
   24699 		     if (m >> i != n)
   24700 		       return 1;
   24701 		     if (LLONG_MAX / 2 < m)
   24702 		       break;
   24703 		   }
   24704 		 return 0;
   24705   ;
   24706   return 0;
   24707 }
   24708 _ACEOF
   24709 if ac_fn_c_try_run "$LINENO"; then :
   24710 
   24711 else
   24712   ac_cv_type_long_long_int=no
   24713 fi
   24714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   24715   conftest.$ac_objext conftest.beam conftest.$ac_ext
   24716 fi
   24717 
   24718 	fi
   24719       fi
   24720 fi
   24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
   24722 $as_echo "$ac_cv_type_long_long_int" >&6; }
   24723   if test $ac_cv_type_long_long_int = yes; then
   24724 
   24725 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
   24726 
   24727   fi
   24728 
   24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
   24730 $as_echo_n "checking for mbstate_t... " >&6; }
   24731 if ${ac_cv_type_mbstate_t+:} false; then :
   24732   $as_echo_n "(cached) " >&6
   24733 else
   24734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24735 /* end confdefs.h.  */
   24736 $ac_includes_default
   24737 #	    include <wchar.h>
   24738 int
   24739 main ()
   24740 {
   24741 mbstate_t x; return sizeof x;
   24742   ;
   24743   return 0;
   24744 }
   24745 _ACEOF
   24746 if ac_fn_c_try_compile "$LINENO"; then :
   24747   ac_cv_type_mbstate_t=yes
   24748 else
   24749   ac_cv_type_mbstate_t=no
   24750 fi
   24751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24752 fi
   24753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5
   24754 $as_echo "$ac_cv_type_mbstate_t" >&6; }
   24755    if test $ac_cv_type_mbstate_t = yes; then
   24756 
   24757 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
   24758 
   24759    else
   24760 
   24761 $as_echo "#define mbstate_t int" >>confdefs.h
   24762 
   24763    fi
   24764 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
   24765 if test "x$ac_cv_type_mode_t" = xyes; then :
   24766 
   24767 else
   24768 
   24769 cat >>confdefs.h <<_ACEOF
   24770 #define mode_t int
   24771 _ACEOF
   24772 
   24773 fi
   24774 
   24775 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   24776 if test "x$ac_cv_type_off_t" = xyes; then :
   24777 
   24778 else
   24779 
   24780 cat >>confdefs.h <<_ACEOF
   24781 #define off_t long int
   24782 _ACEOF
   24783 
   24784 fi
   24785 
   24786 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   24787 if test "x$ac_cv_type_pid_t" = xyes; then :
   24788 
   24789 else
   24790 
   24791 cat >>confdefs.h <<_ACEOF
   24792 #define pid_t int
   24793 _ACEOF
   24794 
   24795 fi
   24796 
   24797 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   24798 if test "x$ac_cv_type_size_t" = xyes; then :
   24799 
   24800 else
   24801 
   24802 cat >>confdefs.h <<_ACEOF
   24803 #define size_t unsigned int
   24804 _ACEOF
   24805 
   24806 fi
   24807 
   24808 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   24809 if test "x$ac_cv_type_ssize_t" = xyes; then :
   24810 
   24811 else
   24812 
   24813 cat >>confdefs.h <<_ACEOF
   24814 #define ssize_t int
   24815 _ACEOF
   24816 
   24817 fi
   24818 
   24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
   24820 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
   24821 if ${ac_cv_type_uid_t+:} false; then :
   24822   $as_echo_n "(cached) " >&6
   24823 else
   24824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24825 /* end confdefs.h.  */
   24826 #include <sys/types.h>
   24827 
   24828 _ACEOF
   24829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   24830   $EGREP "uid_t" >/dev/null 2>&1; then :
   24831   ac_cv_type_uid_t=yes
   24832 else
   24833   ac_cv_type_uid_t=no
   24834 fi
   24835 rm -f conftest*
   24836 
   24837 fi
   24838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
   24839 $as_echo "$ac_cv_type_uid_t" >&6; }
   24840 if test $ac_cv_type_uid_t = no; then
   24841 
   24842 $as_echo "#define uid_t int" >>confdefs.h
   24843 
   24844 
   24845 $as_echo "#define gid_t int" >>confdefs.h
   24846 
   24847 fi
   24848 
   24849 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
   24850 case $ac_cv_c_uint8_t in #(
   24851   no|yes) ;; #(
   24852   *)
   24853 
   24854 $as_echo "#define _UINT8_T 1" >>confdefs.h
   24855 
   24856 
   24857 cat >>confdefs.h <<_ACEOF
   24858 #define uint8_t $ac_cv_c_uint8_t
   24859 _ACEOF
   24860 ;;
   24861   esac
   24862 
   24863 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
   24864 case $ac_cv_c_uint16_t in #(
   24865   no|yes) ;; #(
   24866   *)
   24867 
   24868 
   24869 cat >>confdefs.h <<_ACEOF
   24870 #define uint16_t $ac_cv_c_uint16_t
   24871 _ACEOF
   24872 ;;
   24873   esac
   24874 
   24875 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   24876 case $ac_cv_c_uint32_t in #(
   24877   no|yes) ;; #(
   24878   *)
   24879 
   24880 $as_echo "#define _UINT32_T 1" >>confdefs.h
   24881 
   24882 
   24883 cat >>confdefs.h <<_ACEOF
   24884 #define uint32_t $ac_cv_c_uint32_t
   24885 _ACEOF
   24886 ;;
   24887   esac
   24888 
   24889 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   24890 case $ac_cv_c_uint64_t in #(
   24891   no|yes) ;; #(
   24892   *)
   24893 
   24894 $as_echo "#define _UINT64_T 1" >>confdefs.h
   24895 
   24896 
   24897 cat >>confdefs.h <<_ACEOF
   24898 #define uint64_t $ac_cv_c_uint64_t
   24899 _ACEOF
   24900 ;;
   24901   esac
   24902 
   24903 
   24904 
   24905   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
   24906 if test "x$ac_cv_type_uintmax_t" = xyes; then :
   24907 
   24908 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
   24909 
   24910 else
   24911   test $ac_cv_type_unsigned_long_long_int = yes \
   24912        && ac_type='unsigned long long int' \
   24913        || ac_type='unsigned long int'
   24914 
   24915 cat >>confdefs.h <<_ACEOF
   24916 #define uintmax_t $ac_type
   24917 _ACEOF
   24918 
   24919 fi
   24920 
   24921 
   24922 
   24923   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   24924 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   24925 
   24926 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
   24927 
   24928 else
   24929   for ac_type in 'unsigned int' 'unsigned long int' \
   24930 	'unsigned long long int'; do
   24931        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24932 /* end confdefs.h.  */
   24933 $ac_includes_default
   24934 int
   24935 main ()
   24936 {
   24937 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   24938 test_array [0] = 0;
   24939 return test_array [0];
   24940 
   24941   ;
   24942   return 0;
   24943 }
   24944 _ACEOF
   24945 if ac_fn_c_try_compile "$LINENO"; then :
   24946 
   24947 cat >>confdefs.h <<_ACEOF
   24948 #define uintptr_t $ac_type
   24949 _ACEOF
   24950 
   24951 	  ac_type=
   24952 fi
   24953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24954        test -z "$ac_type" && break
   24955      done
   24956 fi
   24957 
   24958 
   24959 
   24960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
   24961 $as_echo_n "checking for unsigned long long int... " >&6; }
   24962 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
   24963   $as_echo_n "(cached) " >&6
   24964 else
   24965   ac_cv_type_unsigned_long_long_int=yes
   24966      if test "x${ac_cv_prog_cc_c99-no}" = xno; then
   24967        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24968 /* end confdefs.h.  */
   24969 
   24970   /* For now, do not test the preprocessor; as of 2007 there are too many
   24971 	 implementations with broken preprocessors.  Perhaps this can
   24972 	 be revisited in 2012.  In the meantime, code should not expect
   24973 	 #if to work with literals wider than 32 bits.  */
   24974       /* Test literals.  */
   24975       long long int ll = 9223372036854775807ll;
   24976       long long int nll = -9223372036854775807LL;
   24977       unsigned long long int ull = 18446744073709551615ULL;
   24978       /* Test constant expressions.   */
   24979       typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
   24980 		     ? 1 : -1)];
   24981       typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
   24982 		     ? 1 : -1)];
   24983       int i = 63;
   24984 int
   24985 main ()
   24986 {
   24987 /* Test availability of runtime routines for shift and division.  */
   24988       long long int llmax = 9223372036854775807ll;
   24989       unsigned long long int ullmax = 18446744073709551615ull;
   24990       return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
   24991 	      | (llmax / ll) | (llmax % ll)
   24992 	      | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
   24993 	      | (ullmax / ull) | (ullmax % ull));
   24994   ;
   24995   return 0;
   24996 }
   24997 
   24998 _ACEOF
   24999 if ac_fn_c_try_link "$LINENO"; then :
   25000 
   25001 else
   25002   ac_cv_type_unsigned_long_long_int=no
   25003 fi
   25004 rm -f core conftest.err conftest.$ac_objext \
   25005     conftest$ac_exeext conftest.$ac_ext
   25006      fi
   25007 fi
   25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
   25009 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
   25010   if test $ac_cv_type_unsigned_long_long_int = yes; then
   25011 
   25012 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
   25013 
   25014   fi
   25015 
   25016 
   25017 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
   25018 "
   25019 if test "x$ac_cv_type_locale_t" = xyes; then :
   25020 
   25021 cat >>confdefs.h <<_ACEOF
   25022 #define HAVE_LOCALE_T 1
   25023 _ACEOF
   25024 
   25025 
   25026 fi
   25027 
   25028 
   25029 # Float_t and double_t are intended to be the the most efficient type.
   25030 ac_fn_c_check_type "$LINENO" "float_t" "ac_cv_type_float_t" "#include <math.h>
   25031 "
   25032 if test "x$ac_cv_type_float_t" = xyes; then :
   25033 
   25034 cat >>confdefs.h <<_ACEOF
   25035 #define HAVE_FLOAT_T 1
   25036 _ACEOF
   25037 
   25038 
   25039 fi
   25040 
   25041 ac_fn_c_check_type "$LINENO" "double_t" "ac_cv_type_double_t" "#include <math.h>
   25042 "
   25043 if test "x$ac_cv_type_double_t" = xyes; then :
   25044 
   25045 cat >>confdefs.h <<_ACEOF
   25046 #define HAVE_DOUBLE_T 1
   25047 _ACEOF
   25048 
   25049 
   25050 fi
   25051 
   25052 # The cast to long int works around a bug in the HP C Compiler
   25053 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25054 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25055 # This bug is HP SR number 8606223364.
   25056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float_t" >&5
   25057 $as_echo_n "checking size of float_t... " >&6; }
   25058 if ${ac_cv_sizeof_float_t+:} false; then :
   25059   $as_echo_n "(cached) " >&6
   25060 else
   25061   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float_t))" "ac_cv_sizeof_float_t"        "#include <math.h>
   25062 "; then :
   25063 
   25064 else
   25065   if test "$ac_cv_type_float_t" = yes; then
   25066      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25068 as_fn_error 77 "cannot compute sizeof (float_t)
   25069 See \`config.log' for more details" "$LINENO" 5; }
   25070    else
   25071      ac_cv_sizeof_float_t=0
   25072    fi
   25073 fi
   25074 
   25075 fi
   25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float_t" >&5
   25077 $as_echo "$ac_cv_sizeof_float_t" >&6; }
   25078 
   25079 
   25080 
   25081 cat >>confdefs.h <<_ACEOF
   25082 #define SIZEOF_FLOAT_T $ac_cv_sizeof_float_t
   25083 _ACEOF
   25084 
   25085 
   25086 # The cast to long int works around a bug in the HP C Compiler
   25087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25089 # This bug is HP SR number 8606223364.
   25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double_t" >&5
   25091 $as_echo_n "checking size of double_t... " >&6; }
   25092 if ${ac_cv_sizeof_double_t+:} false; then :
   25093   $as_echo_n "(cached) " >&6
   25094 else
   25095   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double_t))" "ac_cv_sizeof_double_t"        "#include <math.h>
   25096 "; then :
   25097 
   25098 else
   25099   if test "$ac_cv_type_double_t" = yes; then
   25100      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25102 as_fn_error 77 "cannot compute sizeof (double_t)
   25103 See \`config.log' for more details" "$LINENO" 5; }
   25104    else
   25105      ac_cv_sizeof_double_t=0
   25106    fi
   25107 fi
   25108 
   25109 fi
   25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double_t" >&5
   25111 $as_echo "$ac_cv_sizeof_double_t" >&6; }
   25112 
   25113 
   25114 
   25115 cat >>confdefs.h <<_ACEOF
   25116 #define SIZEOF_DOUBLE_T $ac_cv_sizeof_double_t
   25117 _ACEOF
   25118 
   25119 
   25120 
   25121 # Get size of float, double and long double for comparaison.
   25122 # The cast to long int works around a bug in the HP C Compiler
   25123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25125 # This bug is HP SR number 8606223364.
   25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
   25127 $as_echo_n "checking size of float... " >&6; }
   25128 if ${ac_cv_sizeof_float+:} false; then :
   25129   $as_echo_n "(cached) " >&6
   25130 else
   25131   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
   25132 
   25133 else
   25134   if test "$ac_cv_type_float" = yes; then
   25135      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25137 as_fn_error 77 "cannot compute sizeof (float)
   25138 See \`config.log' for more details" "$LINENO" 5; }
   25139    else
   25140      ac_cv_sizeof_float=0
   25141    fi
   25142 fi
   25143 
   25144 fi
   25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
   25146 $as_echo "$ac_cv_sizeof_float" >&6; }
   25147 
   25148 
   25149 
   25150 cat >>confdefs.h <<_ACEOF
   25151 #define SIZEOF_FLOAT $ac_cv_sizeof_float
   25152 _ACEOF
   25153 
   25154 
   25155 # The cast to long int works around a bug in the HP C Compiler
   25156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25158 # This bug is HP SR number 8606223364.
   25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
   25160 $as_echo_n "checking size of double... " >&6; }
   25161 if ${ac_cv_sizeof_double+:} false; then :
   25162   $as_echo_n "(cached) " >&6
   25163 else
   25164   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double"        "$ac_includes_default"; then :
   25165 
   25166 else
   25167   if test "$ac_cv_type_double" = yes; then
   25168      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25170 as_fn_error 77 "cannot compute sizeof (double)
   25171 See \`config.log' for more details" "$LINENO" 5; }
   25172    else
   25173      ac_cv_sizeof_double=0
   25174    fi
   25175 fi
   25176 
   25177 fi
   25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
   25179 $as_echo "$ac_cv_sizeof_double" >&6; }
   25180 
   25181 
   25182 
   25183 cat >>confdefs.h <<_ACEOF
   25184 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
   25185 _ACEOF
   25186 
   25187 
   25188 # The cast to long int works around a bug in the HP C Compiler
   25189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25191 # This bug is HP SR number 8606223364.
   25192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
   25193 $as_echo_n "checking size of long double... " >&6; }
   25194 if ${ac_cv_sizeof_long_double+:} false; then :
   25195   $as_echo_n "(cached) " >&6
   25196 else
   25197   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double"        "$ac_includes_default"; then :
   25198 
   25199 else
   25200   if test "$ac_cv_type_long_double" = yes; then
   25201      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25203 as_fn_error 77 "cannot compute sizeof (long double)
   25204 See \`config.log' for more details" "$LINENO" 5; }
   25205    else
   25206      ac_cv_sizeof_long_double=0
   25207    fi
   25208 fi
   25209 
   25210 fi
   25211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
   25212 $as_echo "$ac_cv_sizeof_long_double" >&6; }
   25213 
   25214 
   25215 
   25216 cat >>confdefs.h <<_ACEOF
   25217 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
   25218 _ACEOF
   25219 
   25220 
   25221 
   25222 # Obtain size of an 'signed short' and define as SIZEOF_SIGNED_SHORT
   25223 # The cast to long int works around a bug in the HP C Compiler
   25224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25226 # This bug is HP SR number 8606223364.
   25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed short" >&5
   25228 $as_echo_n "checking size of signed short... " >&6; }
   25229 if ${ac_cv_sizeof_signed_short+:} false; then :
   25230   $as_echo_n "(cached) " >&6
   25231 else
   25232   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed short))" "ac_cv_sizeof_signed_short"        "$ac_includes_default"; then :
   25233 
   25234 else
   25235   if test "$ac_cv_type_signed_short" = yes; then
   25236      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25238 as_fn_error 77 "cannot compute sizeof (signed short)
   25239 See \`config.log' for more details" "$LINENO" 5; }
   25240    else
   25241      ac_cv_sizeof_signed_short=0
   25242    fi
   25243 fi
   25244 
   25245 fi
   25246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_short" >&5
   25247 $as_echo "$ac_cv_sizeof_signed_short" >&6; }
   25248 
   25249 
   25250 
   25251 cat >>confdefs.h <<_ACEOF
   25252 #define SIZEOF_SIGNED_SHORT $ac_cv_sizeof_signed_short
   25253 _ACEOF
   25254 
   25255 
   25256 
   25257 # Obtain size of an 'unsigned short' and define as SIZEOF_UNSIGNED_SHORT
   25258 # The cast to long int works around a bug in the HP C Compiler
   25259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25261 # This bug is HP SR number 8606223364.
   25262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
   25263 $as_echo_n "checking size of unsigned short... " >&6; }
   25264 if ${ac_cv_sizeof_unsigned_short+:} false; then :
   25265   $as_echo_n "(cached) " >&6
   25266 else
   25267   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :
   25268 
   25269 else
   25270   if test "$ac_cv_type_unsigned_short" = yes; then
   25271      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25273 as_fn_error 77 "cannot compute sizeof (unsigned short)
   25274 See \`config.log' for more details" "$LINENO" 5; }
   25275    else
   25276      ac_cv_sizeof_unsigned_short=0
   25277    fi
   25278 fi
   25279 
   25280 fi
   25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
   25282 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
   25283 
   25284 
   25285 
   25286 cat >>confdefs.h <<_ACEOF
   25287 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
   25288 _ACEOF
   25289 
   25290 
   25291 
   25292 # Obtain size of an 'signed int' and define as SIZEOF_SIGNED_INT
   25293 # The cast to long int works around a bug in the HP C Compiler
   25294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25296 # This bug is HP SR number 8606223364.
   25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed int" >&5
   25298 $as_echo_n "checking size of signed int... " >&6; }
   25299 if ${ac_cv_sizeof_signed_int+:} false; then :
   25300   $as_echo_n "(cached) " >&6
   25301 else
   25302   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed int))" "ac_cv_sizeof_signed_int"        "$ac_includes_default"; then :
   25303 
   25304 else
   25305   if test "$ac_cv_type_signed_int" = yes; then
   25306      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25308 as_fn_error 77 "cannot compute sizeof (signed int)
   25309 See \`config.log' for more details" "$LINENO" 5; }
   25310    else
   25311      ac_cv_sizeof_signed_int=0
   25312    fi
   25313 fi
   25314 
   25315 fi
   25316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_int" >&5
   25317 $as_echo "$ac_cv_sizeof_signed_int" >&6; }
   25318 
   25319 
   25320 
   25321 cat >>confdefs.h <<_ACEOF
   25322 #define SIZEOF_SIGNED_INT $ac_cv_sizeof_signed_int
   25323 _ACEOF
   25324 
   25325 
   25326 
   25327 # Obtain size of an 'unsigned int' and define as SIZEOF_UNSIGNED_INT
   25328 # The cast to long int works around a bug in the HP C Compiler
   25329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25331 # This bug is HP SR number 8606223364.
   25332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
   25333 $as_echo_n "checking size of unsigned int... " >&6; }
   25334 if ${ac_cv_sizeof_unsigned_int+:} false; then :
   25335   $as_echo_n "(cached) " >&6
   25336 else
   25337   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
   25338 
   25339 else
   25340   if test "$ac_cv_type_unsigned_int" = yes; then
   25341      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25343 as_fn_error 77 "cannot compute sizeof (unsigned int)
   25344 See \`config.log' for more details" "$LINENO" 5; }
   25345    else
   25346      ac_cv_sizeof_unsigned_int=0
   25347    fi
   25348 fi
   25349 
   25350 fi
   25351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
   25352 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
   25353 
   25354 
   25355 
   25356 cat >>confdefs.h <<_ACEOF
   25357 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
   25358 _ACEOF
   25359 
   25360 
   25361 
   25362 # Obtain size of a 'signed long' and define as SIZEOF_SIGNED_LONG
   25363 # The cast to long int works around a bug in the HP C Compiler
   25364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25366 # This bug is HP SR number 8606223364.
   25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed long" >&5
   25368 $as_echo_n "checking size of signed long... " >&6; }
   25369 if ${ac_cv_sizeof_signed_long+:} false; then :
   25370   $as_echo_n "(cached) " >&6
   25371 else
   25372   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed long))" "ac_cv_sizeof_signed_long"        "$ac_includes_default"; then :
   25373 
   25374 else
   25375   if test "$ac_cv_type_signed_long" = yes; then
   25376      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25378 as_fn_error 77 "cannot compute sizeof (signed long)
   25379 See \`config.log' for more details" "$LINENO" 5; }
   25380    else
   25381      ac_cv_sizeof_signed_long=0
   25382    fi
   25383 fi
   25384 
   25385 fi
   25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_long" >&5
   25387 $as_echo "$ac_cv_sizeof_signed_long" >&6; }
   25388 
   25389 
   25390 
   25391 cat >>confdefs.h <<_ACEOF
   25392 #define SIZEOF_SIGNED_LONG $ac_cv_sizeof_signed_long
   25393 _ACEOF
   25394 
   25395 
   25396 
   25397 # Obtain size of a 'unsigned long' and define as SIZEOF_UNSIGNED_LONG
   25398 # The cast to long int works around a bug in the HP C Compiler
   25399 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25400 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25401 # This bug is HP SR number 8606223364.
   25402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
   25403 $as_echo_n "checking size of unsigned long... " >&6; }
   25404 if ${ac_cv_sizeof_unsigned_long+:} false; then :
   25405   $as_echo_n "(cached) " >&6
   25406 else
   25407   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
   25408 
   25409 else
   25410   if test "$ac_cv_type_unsigned_long" = yes; then
   25411      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25413 as_fn_error 77 "cannot compute sizeof (unsigned long)
   25414 See \`config.log' for more details" "$LINENO" 5; }
   25415    else
   25416      ac_cv_sizeof_unsigned_long=0
   25417    fi
   25418 fi
   25419 
   25420 fi
   25421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
   25422 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
   25423 
   25424 
   25425 
   25426 cat >>confdefs.h <<_ACEOF
   25427 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
   25428 _ACEOF
   25429 
   25430 
   25431 
   25432 # Obtain size of a 'long long' and define as SIZEOF_SIGNED_LONG_LONG.  If
   25433 # 'signed long long' is not supported then the value defined is zero.
   25434 # The cast to long int works around a bug in the HP C Compiler
   25435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25437 # This bug is HP SR number 8606223364.
   25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed long long" >&5
   25439 $as_echo_n "checking size of signed long long... " >&6; }
   25440 if ${ac_cv_sizeof_signed_long_long+:} false; then :
   25441   $as_echo_n "(cached) " >&6
   25442 else
   25443   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed long long))" "ac_cv_sizeof_signed_long_long"        "$ac_includes_default"; then :
   25444 
   25445 else
   25446   if test "$ac_cv_type_signed_long_long" = yes; then
   25447      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25449 as_fn_error 77 "cannot compute sizeof (signed long long)
   25450 See \`config.log' for more details" "$LINENO" 5; }
   25451    else
   25452      ac_cv_sizeof_signed_long_long=0
   25453    fi
   25454 fi
   25455 
   25456 fi
   25457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_long_long" >&5
   25458 $as_echo "$ac_cv_sizeof_signed_long_long" >&6; }
   25459 
   25460 
   25461 
   25462 cat >>confdefs.h <<_ACEOF
   25463 #define SIZEOF_SIGNED_LONG_LONG $ac_cv_sizeof_signed_long_long
   25464 _ACEOF
   25465 
   25466 
   25467 
   25468 # Obtain size of a 'unsigned long long' and define as
   25469 # SIZEOF_UNSIGNED_LONG_LONG.  If 'unsigned long long' is not
   25470 # supported then the value defined is zero.
   25471 # The cast to long int works around a bug in the HP C Compiler
   25472 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25473 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25474 # This bug is HP SR number 8606223364.
   25475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5
   25476 $as_echo_n "checking size of unsigned long long... " >&6; }
   25477 if ${ac_cv_sizeof_unsigned_long_long+:} false; then :
   25478   $as_echo_n "(cached) " >&6
   25479 else
   25480   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long"        "$ac_includes_default"; then :
   25481 
   25482 else
   25483   if test "$ac_cv_type_unsigned_long_long" = yes; then
   25484      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25486 as_fn_error 77 "cannot compute sizeof (unsigned long long)
   25487 See \`config.log' for more details" "$LINENO" 5; }
   25488    else
   25489      ac_cv_sizeof_unsigned_long_long=0
   25490    fi
   25491 fi
   25492 
   25493 fi
   25494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5
   25495 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; }
   25496 
   25497 
   25498 
   25499 cat >>confdefs.h <<_ACEOF
   25500 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
   25501 _ACEOF
   25502 
   25503 
   25504 
   25505 # Obtain size of off_t and define as SIZEOF_OFF_T
   25506 # The cast to long int works around a bug in the HP C Compiler
   25507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25509 # This bug is HP SR number 8606223364.
   25510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
   25511 $as_echo_n "checking size of off_t... " >&6; }
   25512 if ${ac_cv_sizeof_off_t+:} false; then :
   25513   $as_echo_n "(cached) " >&6
   25514 else
   25515   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
   25516 
   25517 else
   25518   if test "$ac_cv_type_off_t" = yes; then
   25519      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25521 as_fn_error 77 "cannot compute sizeof (off_t)
   25522 See \`config.log' for more details" "$LINENO" 5; }
   25523    else
   25524      ac_cv_sizeof_off_t=0
   25525    fi
   25526 fi
   25527 
   25528 fi
   25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
   25530 $as_echo "$ac_cv_sizeof_off_t" >&6; }
   25531 
   25532 
   25533 
   25534 cat >>confdefs.h <<_ACEOF
   25535 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
   25536 _ACEOF
   25537 
   25538 
   25539 
   25540 # Obtain size of size_t and define as SIZEOF_SIZE_T
   25541 # The cast to long int works around a bug in the HP C Compiler
   25542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25544 # This bug is HP SR number 8606223364.
   25545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
   25546 $as_echo_n "checking size of size_t... " >&6; }
   25547 if ${ac_cv_sizeof_size_t+:} false; then :
   25548   $as_echo_n "(cached) " >&6
   25549 else
   25550   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
   25551 
   25552 else
   25553   if test "$ac_cv_type_size_t" = yes; then
   25554      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25556 as_fn_error 77 "cannot compute sizeof (size_t)
   25557 See \`config.log' for more details" "$LINENO" 5; }
   25558    else
   25559      ac_cv_sizeof_size_t=0
   25560    fi
   25561 fi
   25562 
   25563 fi
   25564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
   25565 $as_echo "$ac_cv_sizeof_size_t" >&6; }
   25566 
   25567 
   25568 
   25569 cat >>confdefs.h <<_ACEOF
   25570 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
   25571 _ACEOF
   25572 
   25573 
   25574 
   25575 # Obtain size of ssize_t and define as SIZEOF_SSIZE_T
   25576 # The cast to long int works around a bug in the HP C Compiler
   25577 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25578 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25579 # This bug is HP SR number 8606223364.
   25580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of ssize_t" >&5
   25581 $as_echo_n "checking size of ssize_t... " >&6; }
   25582 if ${ac_cv_sizeof_ssize_t+:} false; then :
   25583   $as_echo_n "(cached) " >&6
   25584 else
   25585   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (ssize_t))" "ac_cv_sizeof_ssize_t"        "$ac_includes_default"; then :
   25586 
   25587 else
   25588   if test "$ac_cv_type_ssize_t" = yes; then
   25589      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25591 as_fn_error 77 "cannot compute sizeof (ssize_t)
   25592 See \`config.log' for more details" "$LINENO" 5; }
   25593    else
   25594      ac_cv_sizeof_ssize_t=0
   25595    fi
   25596 fi
   25597 
   25598 fi
   25599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_ssize_t" >&5
   25600 $as_echo "$ac_cv_sizeof_ssize_t" >&6; }
   25601 
   25602 
   25603 
   25604 cat >>confdefs.h <<_ACEOF
   25605 #define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
   25606 _ACEOF
   25607 
   25608 
   25609 
   25610 # Obtain size of an unsigned int pointer and define as SIZEOF_UNSIGNED_INTP
   25611 # The cast to long int works around a bug in the HP C Compiler
   25612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   25613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   25614 # This bug is HP SR number 8606223364.
   25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int*" >&5
   25616 $as_echo_n "checking size of unsigned int*... " >&6; }
   25617 if ${ac_cv_sizeof_unsigned_intp+:} false; then :
   25618   $as_echo_n "(cached) " >&6
   25619 else
   25620   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int*))" "ac_cv_sizeof_unsigned_intp"        "$ac_includes_default"; then :
   25621 
   25622 else
   25623   if test "$ac_cv_type_unsigned_intp" = yes; then
   25624      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   25625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   25626 as_fn_error 77 "cannot compute sizeof (unsigned int*)
   25627 See \`config.log' for more details" "$LINENO" 5; }
   25628    else
   25629      ac_cv_sizeof_unsigned_intp=0
   25630    fi
   25631 fi
   25632 
   25633 fi
   25634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_intp" >&5
   25635 $as_echo "$ac_cv_sizeof_unsigned_intp" >&6; }
   25636 
   25637 
   25638 
   25639 cat >>confdefs.h <<_ACEOF
   25640 #define SIZEOF_UNSIGNED_INTP $ac_cv_sizeof_unsigned_intp
   25641 _ACEOF
   25642 
   25643 
   25644 
   25645 #
   25646 # Compute sized types for current CPU and compiler options.
   25647 #
   25648 
   25649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 8-bit type" >&5
   25650 $as_echo_n "checking for signed 8-bit type... " >&6; }
   25651 INT8_T='signed char'
   25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT8_T" >&5
   25653 $as_echo "$INT8_T" >&6; }
   25654 
   25655 
   25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 8-bit type" >&5
   25657 $as_echo_n "checking for unsigned 8-bit type... " >&6; }
   25658 UINT8_T='unsigned char'
   25659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT8_T" >&5
   25660 $as_echo "$UINT8_T" >&6; }
   25661 
   25662 
   25663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 16-bit type" >&5
   25664 $as_echo_n "checking for signed 16-bit type... " >&6; }
   25665 INT16_T='signed short'
   25666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT16_T" >&5
   25667 $as_echo "$INT16_T" >&6; }
   25668 
   25669 
   25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 16-bit type" >&5
   25671 $as_echo_n "checking for unsigned 16-bit type... " >&6; }
   25672 UINT16_T='unsigned short'
   25673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT16_T" >&5
   25674 $as_echo "$UINT16_T" >&6; }
   25675 
   25676 
   25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 32-bit type" >&5
   25678 $as_echo_n "checking for signed 32-bit type... " >&6; }
   25679 INT32_T='none'
   25680 INT32_F='none'
   25681 if test $ac_cv_sizeof_signed_int -eq 4; then
   25682   INT32_T='signed int'
   25683   INT32_F='""'
   25684 elif test $ac_cv_sizeof_signed_long -eq 4; then
   25685   INT32_T='signed long'
   25686   INT32_F='"l"'
   25687 fi
   25688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT32_T" >&5
   25689 $as_echo "$INT32_T" >&6; }
   25690 
   25691 
   25692 
   25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 32-bit type" >&5
   25694 $as_echo_n "checking for unsigned 32-bit type... " >&6; }
   25695 UINT32_T='none'
   25696 UINT32_F='none'
   25697 if test $ac_cv_sizeof_unsigned_int -eq 4; then
   25698   UINT32_T='unsigned int'
   25699   UINT32_F='""'
   25700 elif test $ac_cv_sizeof_unsigned_long -eq 4; then
   25701   UINT32_T='unsigned long'
   25702   UINT32_F='"l"'
   25703 fi
   25704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT32_T" >&5
   25705 $as_echo "$UINT32_T" >&6; }
   25706 
   25707 
   25708 
   25709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signed 64-bit type" >&5
   25710 $as_echo_n "checking for signed 64-bit type... " >&6; }
   25711 INT64_T='none'
   25712 INT64_F='none'
   25713 if test $ac_cv_sizeof_signed_long -eq 8; then
   25714   INT64_T='signed long'
   25715   INT64_F='"l"'
   25716 elif test $ac_cv_sizeof_signed_long_long -eq 8; then
   25717   INT64_T='signed long long'
   25718   INT64_F='"ll"'
   25719 fi
   25720 case "${host_os}" in
   25721   mingw* )
   25722     INT64_F='"I64"'
   25723     ;;
   25724 esac
   25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INT64_T" >&5
   25726 $as_echo "$INT64_T" >&6; }
   25727 
   25728 
   25729 
   25730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned 64-bit type" >&5
   25731 $as_echo_n "checking for unsigned 64-bit type... " >&6; }
   25732 UINT64_T='none'
   25733 UINT64_F='none'
   25734 if test $ac_cv_sizeof_unsigned_long -eq 8; then
   25735   UINT64_T='unsigned long'
   25736   UINT64_F='"l"'
   25737 elif test $ac_cv_sizeof_unsigned_long_long -eq 8; then
   25738   UINT64_T='unsigned long long'
   25739   UINT64_F='"ll"'
   25740 fi
   25741 case "${host_os}" in
   25742   mingw* )
   25743     UINT64_F='"I64"'
   25744     ;;
   25745 esac
   25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINT64_T" >&5
   25747 $as_echo "$UINT64_T" >&6; }
   25748 
   25749 
   25750 
   25751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned maximum type" >&5
   25752 $as_echo_n "checking for unsigned maximum type... " >&6; }
   25753 UINTMAX_T='none'
   25754 UINTMAX_F='none'
   25755 if test "$UINT64_T" != 'none'; then
   25756   UINTMAX_T=$UINT64_T
   25757   UINTMAX_F=$UINT64_F
   25758 elif test "$UINT32_T" != 'none'; then
   25759   UINTMAX_T=$UINT32_T
   25760   UINTMAX_F=$UINT32_F
   25761 fi
   25762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINTMAX_T" >&5
   25763 $as_echo "$UINTMAX_T" >&6; }
   25764 
   25765 
   25766 
   25767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pointer difference type" >&5
   25768 $as_echo_n "checking for pointer difference type... " >&6; }
   25769 UINTPTR_T='none'
   25770 UINTPTR_F='none'
   25771 if test $ac_cv_sizeof_unsigned_long -eq $ac_cv_sizeof_unsigned_intp; then
   25772   UINTPTR_T='unsigned long'
   25773   UINTPTR_F='"l"'
   25774 elif test $ac_cv_sizeof_unsigned_long_long -eq $ac_cv_sizeof_unsigned_intp; then
   25775   UINTPTR_T='unsigned long long'
   25776   UINTPTR_F='"ll"'
   25777 fi
   25778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UINTPTR_T" >&5
   25779 $as_echo "$UINTPTR_T" >&6; }
   25780 
   25781 
   25782 
   25783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __func__" >&5
   25784 $as_echo_n "checking whether our compiler supports __func__... " >&6; }
   25785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25786 /* end confdefs.h.  */
   25787 
   25788 int
   25789 main ()
   25790 {
   25791 { const char *func = __func__; return(func != 0 ? 0 : 1); }
   25792   ;
   25793   return 0;
   25794 }
   25795 _ACEOF
   25796 if ac_fn_c_try_compile "$LINENO"; then :
   25797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25798 $as_echo "yes" >&6; }
   25799 else
   25800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25801 $as_echo "no" >&6; }
   25802  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether our compiler supports __FUNCTION__" >&5
   25803 $as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
   25804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25805 /* end confdefs.h.  */
   25806 
   25807 int
   25808 main ()
   25809 {
   25810 { const char *func = __FUNCTION__; return(func != 0 ? 0 : 1); }
   25811   ;
   25812   return 0;
   25813 }
   25814 _ACEOF
   25815 if ac_fn_c_try_compile "$LINENO"; then :
   25816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25817 $as_echo "yes" >&6; }
   25818 
   25819 $as_echo "#define __func__ __FUNCTION__" >>confdefs.h
   25820 
   25821 else
   25822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25823 $as_echo "no" >&6; }
   25824 
   25825 $as_echo "#define __func__ __FILE__" >>confdefs.h
   25826 
   25827 fi
   25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   25829 fi
   25830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   25831 
   25832 ########
   25833 #
   25834 # Check for functions
   25835 #
   25836 ########
   25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
   25838 $as_echo_n "checking whether closedir returns void... " >&6; }
   25839 if ${ac_cv_func_closedir_void+:} false; then :
   25840   $as_echo_n "(cached) " >&6
   25841 else
   25842   if test "$cross_compiling" = yes; then :
   25843   ac_cv_func_closedir_void=yes
   25844 else
   25845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25846 /* end confdefs.h.  */
   25847 $ac_includes_default
   25848 #include <$ac_header_dirent>
   25849 #ifndef __cplusplus
   25850 int closedir ();
   25851 #endif
   25852 
   25853 int
   25854 main ()
   25855 {
   25856 return closedir (opendir (".")) != 0;
   25857   ;
   25858   return 0;
   25859 }
   25860 _ACEOF
   25861 if ac_fn_c_try_run "$LINENO"; then :
   25862   ac_cv_func_closedir_void=no
   25863 else
   25864   ac_cv_func_closedir_void=yes
   25865 fi
   25866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   25867   conftest.$ac_objext conftest.beam conftest.$ac_ext
   25868 fi
   25869 
   25870 fi
   25871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
   25872 $as_echo "$ac_cv_func_closedir_void" >&6; }
   25873 if test $ac_cv_func_closedir_void = yes; then
   25874 
   25875 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
   25876 
   25877 fi
   25878 
   25879 
   25880 
   25881 
   25882   for ac_header in $ac_header_list
   25883 do :
   25884   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   25885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   25886 "
   25887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   25888   cat >>confdefs.h <<_ACEOF
   25889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   25890 _ACEOF
   25891 
   25892 fi
   25893 
   25894 done
   25895 
   25896 
   25897 
   25898 
   25899 
   25900 
   25901 
   25902 
   25903 for ac_func in getpagesize
   25904 do :
   25905   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   25906 if test "x$ac_cv_func_getpagesize" = xyes; then :
   25907   cat >>confdefs.h <<_ACEOF
   25908 #define HAVE_GETPAGESIZE 1
   25909 _ACEOF
   25910 
   25911 fi
   25912 done
   25913 
   25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   25915 $as_echo_n "checking for working mmap... " >&6; }
   25916 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   25917   $as_echo_n "(cached) " >&6
   25918 else
   25919   if test "$cross_compiling" = yes; then :
   25920   ac_cv_func_mmap_fixed_mapped=no
   25921 else
   25922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   25923 /* end confdefs.h.  */
   25924 $ac_includes_default
   25925 /* malloc might have been renamed as rpl_malloc. */
   25926 #undef malloc
   25927 
   25928 /* Thanks to Mike Haertel and Jim Avera for this test.
   25929    Here is a matrix of mmap possibilities:
   25930 	mmap private not fixed
   25931 	mmap private fixed at somewhere currently unmapped
   25932 	mmap private fixed at somewhere already mapped
   25933 	mmap shared not fixed
   25934 	mmap shared fixed at somewhere currently unmapped
   25935 	mmap shared fixed at somewhere already mapped
   25936    For private mappings, we should verify that changes cannot be read()
   25937    back from the file, nor mmap's back from the file at a different
   25938    address.  (There have been systems where private was not correctly
   25939    implemented like the infamous i386 svr4.0, and systems where the
   25940    VM page cache was not coherent with the file system buffer cache
   25941    like early versions of FreeBSD and possibly contemporary NetBSD.)
   25942    For shared mappings, we should conversely verify that changes get
   25943    propagated back to all the places they're supposed to be.
   25944 
   25945    Grep wants private fixed already mapped.
   25946    The main things grep needs to know about mmap are:
   25947    * does it exist and is it safe to write into the mmap'd area
   25948    * how to use it (BSD variants)  */
   25949 
   25950 #include <fcntl.h>
   25951 #include <sys/mman.h>
   25952 
   25953 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   25954 char *malloc ();
   25955 #endif
   25956 
   25957 /* This mess was copied from the GNU getpagesize.h.  */
   25958 #ifndef HAVE_GETPAGESIZE
   25959 # ifdef _SC_PAGESIZE
   25960 #  define getpagesize() sysconf(_SC_PAGESIZE)
   25961 # else /* no _SC_PAGESIZE */
   25962 #  ifdef HAVE_SYS_PARAM_H
   25963 #   include <sys/param.h>
   25964 #   ifdef EXEC_PAGESIZE
   25965 #    define getpagesize() EXEC_PAGESIZE
   25966 #   else /* no EXEC_PAGESIZE */
   25967 #    ifdef NBPG
   25968 #     define getpagesize() NBPG * CLSIZE
   25969 #     ifndef CLSIZE
   25970 #      define CLSIZE 1
   25971 #     endif /* no CLSIZE */
   25972 #    else /* no NBPG */
   25973 #     ifdef NBPC
   25974 #      define getpagesize() NBPC
   25975 #     else /* no NBPC */
   25976 #      ifdef PAGESIZE
   25977 #       define getpagesize() PAGESIZE
   25978 #      endif /* PAGESIZE */
   25979 #     endif /* no NBPC */
   25980 #    endif /* no NBPG */
   25981 #   endif /* no EXEC_PAGESIZE */
   25982 #  else /* no HAVE_SYS_PARAM_H */
   25983 #   define getpagesize() 8192	/* punt totally */
   25984 #  endif /* no HAVE_SYS_PARAM_H */
   25985 # endif /* no _SC_PAGESIZE */
   25986 
   25987 #endif /* no HAVE_GETPAGESIZE */
   25988 
   25989 int
   25990 main ()
   25991 {
   25992   char *data, *data2, *data3;
   25993   const char *cdata2;
   25994   int i, pagesize;
   25995   int fd, fd2;
   25996 
   25997   pagesize = getpagesize ();
   25998 
   25999   /* First, make a file with some known garbage in it. */
   26000   data = (char *) malloc (pagesize);
   26001   if (!data)
   26002     return 1;
   26003   for (i = 0; i < pagesize; ++i)
   26004     *(data + i) = rand ();
   26005   umask (0);
   26006   fd = creat ("conftest.mmap", 0600);
   26007   if (fd < 0)
   26008     return 2;
   26009   if (write (fd, data, pagesize) != pagesize)
   26010     return 3;
   26011   close (fd);
   26012 
   26013   /* Next, check that the tail of a page is zero-filled.  File must have
   26014      non-zero length, otherwise we risk SIGBUS for entire page.  */
   26015   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   26016   if (fd2 < 0)
   26017     return 4;
   26018   cdata2 = "";
   26019   if (write (fd2, cdata2, 1) != 1)
   26020     return 5;
   26021   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   26022   if (data2 == MAP_FAILED)
   26023     return 6;
   26024   for (i = 0; i < pagesize; ++i)
   26025     if (*(data2 + i))
   26026       return 7;
   26027   close (fd2);
   26028   if (munmap (data2, pagesize))
   26029     return 8;
   26030 
   26031   /* Next, try to mmap the file at a fixed address which already has
   26032      something else allocated at it.  If we can, also make sure that
   26033      we see the same garbage.  */
   26034   fd = open ("conftest.mmap", O_RDWR);
   26035   if (fd < 0)
   26036     return 9;
   26037   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   26038 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   26039     return 10;
   26040   for (i = 0; i < pagesize; ++i)
   26041     if (*(data + i) != *(data2 + i))
   26042       return 11;
   26043 
   26044   /* Finally, make sure that changes to the mapped area do not
   26045      percolate back to the file as seen by read().  (This is a bug on
   26046      some variants of i386 svr4.0.)  */
   26047   for (i = 0; i < pagesize; ++i)
   26048     *(data2 + i) = *(data2 + i) + 1;
   26049   data3 = (char *) malloc (pagesize);
   26050   if (!data3)
   26051     return 12;
   26052   if (read (fd, data3, pagesize) != pagesize)
   26053     return 13;
   26054   for (i = 0; i < pagesize; ++i)
   26055     if (*(data + i) != *(data3 + i))
   26056       return 14;
   26057   close (fd);
   26058   return 0;
   26059 }
   26060 _ACEOF
   26061 if ac_fn_c_try_run "$LINENO"; then :
   26062   ac_cv_func_mmap_fixed_mapped=yes
   26063 else
   26064   ac_cv_func_mmap_fixed_mapped=no
   26065 fi
   26066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26067   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26068 fi
   26069 
   26070 fi
   26071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   26072 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   26073 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   26074 
   26075 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   26076 
   26077 fi
   26078 rm -f conftest.mmap conftest.txt
   26079 
   26080 for ac_header in vfork.h
   26081 do :
   26082   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
   26083 if test "x$ac_cv_header_vfork_h" = xyes; then :
   26084   cat >>confdefs.h <<_ACEOF
   26085 #define HAVE_VFORK_H 1
   26086 _ACEOF
   26087 
   26088 fi
   26089 
   26090 done
   26091 
   26092 for ac_func in fork vfork
   26093 do :
   26094   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   26095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   26096 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   26097   cat >>confdefs.h <<_ACEOF
   26098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   26099 _ACEOF
   26100 
   26101 fi
   26102 done
   26103 
   26104 if test "x$ac_cv_func_fork" = xyes; then
   26105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   26106 $as_echo_n "checking for working fork... " >&6; }
   26107 if ${ac_cv_func_fork_works+:} false; then :
   26108   $as_echo_n "(cached) " >&6
   26109 else
   26110   if test "$cross_compiling" = yes; then :
   26111   ac_cv_func_fork_works=cross
   26112 else
   26113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26114 /* end confdefs.h.  */
   26115 $ac_includes_default
   26116 int
   26117 main ()
   26118 {
   26119 
   26120 	  /* By Ruediger Kuhlmann. */
   26121 	  return fork () < 0;
   26122 
   26123   ;
   26124   return 0;
   26125 }
   26126 _ACEOF
   26127 if ac_fn_c_try_run "$LINENO"; then :
   26128   ac_cv_func_fork_works=yes
   26129 else
   26130   ac_cv_func_fork_works=no
   26131 fi
   26132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26133   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26134 fi
   26135 
   26136 fi
   26137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   26138 $as_echo "$ac_cv_func_fork_works" >&6; }
   26139 
   26140 else
   26141   ac_cv_func_fork_works=$ac_cv_func_fork
   26142 fi
   26143 if test "x$ac_cv_func_fork_works" = xcross; then
   26144   case $host in
   26145     *-*-amigaos* | *-*-msdosdjgpp*)
   26146       # Override, as these systems have only a dummy fork() stub
   26147       ac_cv_func_fork_works=no
   26148       ;;
   26149     *)
   26150       ac_cv_func_fork_works=yes
   26151       ;;
   26152   esac
   26153   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   26154 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   26155 fi
   26156 ac_cv_func_vfork_works=$ac_cv_func_vfork
   26157 if test "x$ac_cv_func_vfork" = xyes; then
   26158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   26159 $as_echo_n "checking for working vfork... " >&6; }
   26160 if ${ac_cv_func_vfork_works+:} false; then :
   26161   $as_echo_n "(cached) " >&6
   26162 else
   26163   if test "$cross_compiling" = yes; then :
   26164   ac_cv_func_vfork_works=cross
   26165 else
   26166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26167 /* end confdefs.h.  */
   26168 /* Thanks to Paul Eggert for this test.  */
   26169 $ac_includes_default
   26170 #include <sys/wait.h>
   26171 #ifdef HAVE_VFORK_H
   26172 # include <vfork.h>
   26173 #endif
   26174 /* On some sparc systems, changes by the child to local and incoming
   26175    argument registers are propagated back to the parent.  The compiler
   26176    is told about this with #include <vfork.h>, but some compilers
   26177    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   26178    static variable whose address is put into a register that is
   26179    clobbered by the vfork.  */
   26180 static void
   26181 #ifdef __cplusplus
   26182 sparc_address_test (int arg)
   26183 # else
   26184 sparc_address_test (arg) int arg;
   26185 #endif
   26186 {
   26187   static pid_t child;
   26188   if (!child) {
   26189     child = vfork ();
   26190     if (child < 0) {
   26191       perror ("vfork");
   26192       _exit(2);
   26193     }
   26194     if (!child) {
   26195       arg = getpid();
   26196       write(-1, "", 0);
   26197       _exit (arg);
   26198     }
   26199   }
   26200 }
   26201 
   26202 int
   26203 main ()
   26204 {
   26205   pid_t parent = getpid ();
   26206   pid_t child;
   26207 
   26208   sparc_address_test (0);
   26209 
   26210   child = vfork ();
   26211 
   26212   if (child == 0) {
   26213     /* Here is another test for sparc vfork register problems.  This
   26214        test uses lots of local variables, at least as many local
   26215        variables as main has allocated so far including compiler
   26216        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   26217        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   26218        reuse the register of parent for one of the local variables,
   26219        since it will think that parent can't possibly be used any more
   26220        in this routine.  Assigning to the local variable will thus
   26221        munge parent in the parent process.  */
   26222     pid_t
   26223       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   26224       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   26225     /* Convince the compiler that p..p7 are live; otherwise, it might
   26226        use the same hardware register for all 8 local variables.  */
   26227     if (p != p1 || p != p2 || p != p3 || p != p4
   26228 	|| p != p5 || p != p6 || p != p7)
   26229       _exit(1);
   26230 
   26231     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   26232        from child file descriptors.  If the child closes a descriptor
   26233        before it execs or exits, this munges the parent's descriptor
   26234        as well.  Test for this by closing stdout in the child.  */
   26235     _exit(close(fileno(stdout)) != 0);
   26236   } else {
   26237     int status;
   26238     struct stat st;
   26239 
   26240     while (wait(&status) != child)
   26241       ;
   26242     return (
   26243 	 /* Was there some problem with vforking?  */
   26244 	 child < 0
   26245 
   26246 	 /* Did the child fail?  (This shouldn't happen.)  */
   26247 	 || status
   26248 
   26249 	 /* Did the vfork/compiler bug occur?  */
   26250 	 || parent != getpid()
   26251 
   26252 	 /* Did the file descriptor bug occur?  */
   26253 	 || fstat(fileno(stdout), &st) != 0
   26254 	 );
   26255   }
   26256 }
   26257 _ACEOF
   26258 if ac_fn_c_try_run "$LINENO"; then :
   26259   ac_cv_func_vfork_works=yes
   26260 else
   26261   ac_cv_func_vfork_works=no
   26262 fi
   26263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26264   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26265 fi
   26266 
   26267 fi
   26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   26269 $as_echo "$ac_cv_func_vfork_works" >&6; }
   26270 
   26271 fi;
   26272 if test "x$ac_cv_func_fork_works" = xcross; then
   26273   ac_cv_func_vfork_works=$ac_cv_func_vfork
   26274   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   26275 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   26276 fi
   26277 
   26278 if test "x$ac_cv_func_vfork_works" = xyes; then
   26279 
   26280 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   26281 
   26282 else
   26283 
   26284 $as_echo "#define vfork fork" >>confdefs.h
   26285 
   26286 fi
   26287 if test "x$ac_cv_func_fork_works" = xyes; then
   26288 
   26289 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
   26290 
   26291 fi
   26292 
   26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
   26294 $as_echo_n "checking for working memcmp... " >&6; }
   26295 if ${ac_cv_func_memcmp_working+:} false; then :
   26296   $as_echo_n "(cached) " >&6
   26297 else
   26298   if test "$cross_compiling" = yes; then :
   26299   ac_cv_func_memcmp_working=no
   26300 else
   26301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26302 /* end confdefs.h.  */
   26303 $ac_includes_default
   26304 int
   26305 main ()
   26306 {
   26307 
   26308   /* Some versions of memcmp are not 8-bit clean.  */
   26309   char c0 = '\100', c1 = '\200', c2 = '\201';
   26310   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
   26311     return 1;
   26312 
   26313   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
   26314      or more and with at least one buffer not starting on a 4-byte boundary.
   26315      William Lewis provided this test program.   */
   26316   {
   26317     char foo[21];
   26318     char bar[21];
   26319     int i;
   26320     for (i = 0; i < 4; i++)
   26321       {
   26322 	char *a = foo + i;
   26323 	char *b = bar + i;
   26324 	strcpy (a, "--------01111111");
   26325 	strcpy (b, "--------10000000");
   26326 	if (memcmp (a, b, 16) >= 0)
   26327 	  return 1;
   26328       }
   26329     return 0;
   26330   }
   26331 
   26332   ;
   26333   return 0;
   26334 }
   26335 _ACEOF
   26336 if ac_fn_c_try_run "$LINENO"; then :
   26337   ac_cv_func_memcmp_working=yes
   26338 else
   26339   ac_cv_func_memcmp_working=no
   26340 fi
   26341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26342   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26343 fi
   26344 
   26345 fi
   26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
   26347 $as_echo "$ac_cv_func_memcmp_working" >&6; }
   26348 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
   26349   *" memcmp.$ac_objext "* ) ;;
   26350   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
   26351  ;;
   26352 esac
   26353 
   26354 
   26355 for ac_header in sys/select.h sys/socket.h
   26356 do :
   26357   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   26358 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   26359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   26360   cat >>confdefs.h <<_ACEOF
   26361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   26362 _ACEOF
   26363 
   26364 fi
   26365 
   26366 done
   26367 
   26368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
   26369 $as_echo_n "checking types of arguments for select... " >&6; }
   26370 if ${ac_cv_func_select_args+:} false; then :
   26371   $as_echo_n "(cached) " >&6
   26372 else
   26373   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
   26374  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
   26375   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
   26376    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26377 /* end confdefs.h.  */
   26378 $ac_includes_default
   26379 #ifdef HAVE_SYS_SELECT_H
   26380 # include <sys/select.h>
   26381 #endif
   26382 #ifdef HAVE_SYS_SOCKET_H
   26383 # include <sys/socket.h>
   26384 #endif
   26385 
   26386 int
   26387 main ()
   26388 {
   26389 extern int select ($ac_arg1,
   26390 					    $ac_arg234, $ac_arg234, $ac_arg234,
   26391 					    $ac_arg5);
   26392   ;
   26393   return 0;
   26394 }
   26395 _ACEOF
   26396 if ac_fn_c_try_compile "$LINENO"; then :
   26397   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
   26398 fi
   26399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   26400   done
   26401  done
   26402 done
   26403 # Provide a safe default value.
   26404 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
   26405 
   26406 fi
   26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
   26408 $as_echo "$ac_cv_func_select_args" >&6; }
   26409 ac_save_IFS=$IFS; IFS=','
   26410 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
   26411 IFS=$ac_save_IFS
   26412 shift
   26413 
   26414 cat >>confdefs.h <<_ACEOF
   26415 #define SELECT_TYPE_ARG1 $1
   26416 _ACEOF
   26417 
   26418 
   26419 cat >>confdefs.h <<_ACEOF
   26420 #define SELECT_TYPE_ARG234 ($2)
   26421 _ACEOF
   26422 
   26423 
   26424 cat >>confdefs.h <<_ACEOF
   26425 #define SELECT_TYPE_ARG5 ($3)
   26426 _ACEOF
   26427 
   26428 rm -f conftest*
   26429 
   26430 if ${ac_cv_func_setvbuf_reversed+:} false; then :
   26431   $as_echo_n "(cached) " >&6
   26432 else
   26433   ac_cv_func_setvbuf_reversed=no
   26434 fi
   26435 
   26436 
   26437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   26438 $as_echo_n "checking return type of signal handlers... " >&6; }
   26439 if ${ac_cv_type_signal+:} false; then :
   26440   $as_echo_n "(cached) " >&6
   26441 else
   26442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26443 /* end confdefs.h.  */
   26444 #include <sys/types.h>
   26445 #include <signal.h>
   26446 
   26447 int
   26448 main ()
   26449 {
   26450 return *(signal (0, 0)) (0) == 1;
   26451   ;
   26452   return 0;
   26453 }
   26454 _ACEOF
   26455 if ac_fn_c_try_compile "$LINENO"; then :
   26456   ac_cv_type_signal=int
   26457 else
   26458   ac_cv_type_signal=void
   26459 fi
   26460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   26461 fi
   26462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   26463 $as_echo "$ac_cv_type_signal" >&6; }
   26464 
   26465 cat >>confdefs.h <<_ACEOF
   26466 #define RETSIGTYPE $ac_cv_type_signal
   26467 _ACEOF
   26468 
   26469 
   26470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
   26471 $as_echo_n "checking for working strtod... " >&6; }
   26472 if ${ac_cv_func_strtod+:} false; then :
   26473   $as_echo_n "(cached) " >&6
   26474 else
   26475   if test "$cross_compiling" = yes; then :
   26476   ac_cv_func_strtod=no
   26477 else
   26478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26479 /* end confdefs.h.  */
   26480 
   26481 $ac_includes_default
   26482 #ifndef strtod
   26483 double strtod ();
   26484 #endif
   26485 int
   26486 main()
   26487 {
   26488   {
   26489     /* Some versions of Linux strtod mis-parse strings with leading '+'.  */
   26490     char *string = " +69";
   26491     char *term;
   26492     double value;
   26493     value = strtod (string, &term);
   26494     if (value != 69 || term != (string + 4))
   26495       return 1;
   26496   }
   26497 
   26498   {
   26499     /* Under Solaris 2.4, strtod returns the wrong value for the
   26500        terminating character under some conditions.  */
   26501     char *string = "NaN";
   26502     char *term;
   26503     strtod (string, &term);
   26504     if (term != string && *(term - 1) == 0)
   26505       return 1;
   26506   }
   26507   return 0;
   26508 }
   26509 
   26510 _ACEOF
   26511 if ac_fn_c_try_run "$LINENO"; then :
   26512   ac_cv_func_strtod=yes
   26513 else
   26514   ac_cv_func_strtod=no
   26515 fi
   26516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26517   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26518 fi
   26519 
   26520 fi
   26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
   26522 $as_echo "$ac_cv_func_strtod" >&6; }
   26523 if test $ac_cv_func_strtod = no; then
   26524   case " $LIBOBJS " in
   26525   *" strtod.$ac_objext "* ) ;;
   26526   *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
   26527  ;;
   26528 esac
   26529 
   26530 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
   26531 if test "x$ac_cv_func_pow" = xyes; then :
   26532 
   26533 fi
   26534 
   26535 if test $ac_cv_func_pow = no; then
   26536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
   26537 $as_echo_n "checking for pow in -lm... " >&6; }
   26538 if ${ac_cv_lib_m_pow+:} false; then :
   26539   $as_echo_n "(cached) " >&6
   26540 else
   26541   ac_check_lib_save_LIBS=$LIBS
   26542 LIBS="-lm  $LIBS"
   26543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26544 /* end confdefs.h.  */
   26545 
   26546 /* Override any GCC internal prototype to avoid an error.
   26547    Use char because int might match the return type of a GCC
   26548    builtin and then its argument prototype would still apply.  */
   26549 #ifdef __cplusplus
   26550 extern "C"
   26551 #endif
   26552 char pow ();
   26553 int
   26554 main ()
   26555 {
   26556 return pow ();
   26557   ;
   26558   return 0;
   26559 }
   26560 _ACEOF
   26561 if ac_fn_c_try_link "$LINENO"; then :
   26562   ac_cv_lib_m_pow=yes
   26563 else
   26564   ac_cv_lib_m_pow=no
   26565 fi
   26566 rm -f core conftest.err conftest.$ac_objext \
   26567     conftest$ac_exeext conftest.$ac_ext
   26568 LIBS=$ac_check_lib_save_LIBS
   26569 fi
   26570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
   26571 $as_echo "$ac_cv_lib_m_pow" >&6; }
   26572 if test "x$ac_cv_lib_m_pow" = xyes; then :
   26573   POW_LIB=-lm
   26574 else
   26575   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
   26576 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
   26577 fi
   26578 
   26579 fi
   26580 
   26581 fi
   26582 
   26583 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
   26584 if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
   26585   ac_have_decl=1
   26586 else
   26587   ac_have_decl=0
   26588 fi
   26589 
   26590 cat >>confdefs.h <<_ACEOF
   26591 #define HAVE_DECL_STRERROR_R $ac_have_decl
   26592 _ACEOF
   26593 
   26594 for ac_func in strerror_r
   26595 do :
   26596   ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
   26597 if test "x$ac_cv_func_strerror_r" = xyes; then :
   26598   cat >>confdefs.h <<_ACEOF
   26599 #define HAVE_STRERROR_R 1
   26600 _ACEOF
   26601 
   26602 fi
   26603 done
   26604 
   26605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
   26606 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
   26607 if ${ac_cv_func_strerror_r_char_p+:} false; then :
   26608   $as_echo_n "(cached) " >&6
   26609 else
   26610 
   26611     ac_cv_func_strerror_r_char_p=no
   26612     if test $ac_cv_have_decl_strerror_r = yes; then
   26613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26614 /* end confdefs.h.  */
   26615 $ac_includes_default
   26616 int
   26617 main ()
   26618 {
   26619 
   26620 	  char buf[100];
   26621 	  char x = *strerror_r (0, buf, sizeof buf);
   26622 	  char *p = strerror_r (0, buf, sizeof buf);
   26623 	  return !p || x;
   26624 
   26625   ;
   26626   return 0;
   26627 }
   26628 _ACEOF
   26629 if ac_fn_c_try_compile "$LINENO"; then :
   26630   ac_cv_func_strerror_r_char_p=yes
   26631 fi
   26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   26633     else
   26634       # strerror_r is not declared.  Choose between
   26635       # systems that have relatively inaccessible declarations for the
   26636       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
   26637       # former has a strerror_r that returns char*, while the latter
   26638       # has a strerror_r that returns `int'.
   26639       # This test should segfault on the DEC system.
   26640       if test "$cross_compiling" = yes; then :
   26641   :
   26642 else
   26643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26644 /* end confdefs.h.  */
   26645 $ac_includes_default
   26646 	extern char *strerror_r ();
   26647 int
   26648 main ()
   26649 {
   26650 char buf[100];
   26651 	  char x = *strerror_r (0, buf, sizeof buf);
   26652 	  return ! isalpha (x);
   26653   ;
   26654   return 0;
   26655 }
   26656 _ACEOF
   26657 if ac_fn_c_try_run "$LINENO"; then :
   26658   ac_cv_func_strerror_r_char_p=yes
   26659 fi
   26660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   26661   conftest.$ac_objext conftest.beam conftest.$ac_ext
   26662 fi
   26663 
   26664     fi
   26665 
   26666 fi
   26667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
   26668 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
   26669 if test $ac_cv_func_strerror_r_char_p = yes; then
   26670 
   26671 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
   26672 
   26673 fi
   26674 
   26675 for ac_func in vprintf
   26676 do :
   26677   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   26678 if test "x$ac_cv_func_vprintf" = xyes; then :
   26679   cat >>confdefs.h <<_ACEOF
   26680 #define HAVE_VPRINTF 1
   26681 _ACEOF
   26682 
   26683 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   26684 if test "x$ac_cv_func__doprnt" = xyes; then :
   26685 
   26686 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   26687 
   26688 fi
   26689 
   26690 fi
   26691 done
   26692 
   26693 
   26694 
   26695 #
   26696 # Find math library
   26697 #
   26698 MATH_LIBS=''
   26699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
   26700 $as_echo_n "checking for sqrt in -lm... " >&6; }
   26701 if ${ac_cv_lib_m_sqrt+:} false; then :
   26702   $as_echo_n "(cached) " >&6
   26703 else
   26704   ac_check_lib_save_LIBS=$LIBS
   26705 LIBS="-lm  $LIBS"
   26706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26707 /* end confdefs.h.  */
   26708 
   26709 /* Override any GCC internal prototype to avoid an error.
   26710    Use char because int might match the return type of a GCC
   26711    builtin and then its argument prototype would still apply.  */
   26712 #ifdef __cplusplus
   26713 extern "C"
   26714 #endif
   26715 char sqrt ();
   26716 int
   26717 main ()
   26718 {
   26719 return sqrt ();
   26720   ;
   26721   return 0;
   26722 }
   26723 _ACEOF
   26724 if ac_fn_c_try_link "$LINENO"; then :
   26725   ac_cv_lib_m_sqrt=yes
   26726 else
   26727   ac_cv_lib_m_sqrt=no
   26728 fi
   26729 rm -f core conftest.err conftest.$ac_objext \
   26730     conftest$ac_exeext conftest.$ac_ext
   26731 LIBS=$ac_check_lib_save_LIBS
   26732 fi
   26733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
   26734 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
   26735 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
   26736   MATH_LIBS="-lm"
   26737 fi
   26738 
   26739 LIBS="$MATH_LIBS $LIBS"
   26740 
   26741 
   26742 #
   26743 # Find socket library
   26744 #
   26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   26746 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   26747 if ${ac_cv_search_gethostbyname+:} false; then :
   26748   $as_echo_n "(cached) " >&6
   26749 else
   26750   ac_func_search_save_LIBS=$LIBS
   26751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26752 /* end confdefs.h.  */
   26753 
   26754 /* Override any GCC internal prototype to avoid an error.
   26755    Use char because int might match the return type of a GCC
   26756    builtin and then its argument prototype would still apply.  */
   26757 #ifdef __cplusplus
   26758 extern "C"
   26759 #endif
   26760 char gethostbyname ();
   26761 int
   26762 main ()
   26763 {
   26764 return gethostbyname ();
   26765   ;
   26766   return 0;
   26767 }
   26768 _ACEOF
   26769 for ac_lib in '' resolv nsl; do
   26770   if test -z "$ac_lib"; then
   26771     ac_res="none required"
   26772   else
   26773     ac_res=-l$ac_lib
   26774     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26775   fi
   26776   if ac_fn_c_try_link "$LINENO"; then :
   26777   ac_cv_search_gethostbyname=$ac_res
   26778 fi
   26779 rm -f core conftest.err conftest.$ac_objext \
   26780     conftest$ac_exeext
   26781   if ${ac_cv_search_gethostbyname+:} false; then :
   26782   break
   26783 fi
   26784 done
   26785 if ${ac_cv_search_gethostbyname+:} false; then :
   26786 
   26787 else
   26788   ac_cv_search_gethostbyname=no
   26789 fi
   26790 rm conftest.$ac_ext
   26791 LIBS=$ac_func_search_save_LIBS
   26792 fi
   26793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   26794 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   26795 ac_res=$ac_cv_search_gethostbyname
   26796 if test "$ac_res" != no; then :
   26797   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26798 
   26799 fi
   26800 
   26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   26802 $as_echo_n "checking for library containing socket... " >&6; }
   26803 if ${ac_cv_search_socket+:} false; then :
   26804   $as_echo_n "(cached) " >&6
   26805 else
   26806   ac_func_search_save_LIBS=$LIBS
   26807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26808 /* end confdefs.h.  */
   26809 
   26810 /* Override any GCC internal prototype to avoid an error.
   26811    Use char because int might match the return type of a GCC
   26812    builtin and then its argument prototype would still apply.  */
   26813 #ifdef __cplusplus
   26814 extern "C"
   26815 #endif
   26816 char socket ();
   26817 int
   26818 main ()
   26819 {
   26820 return socket ();
   26821   ;
   26822   return 0;
   26823 }
   26824 _ACEOF
   26825 for ac_lib in '' socket; do
   26826   if test -z "$ac_lib"; then
   26827     ac_res="none required"
   26828   else
   26829     ac_res=-l$ac_lib
   26830     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26831   fi
   26832   if ac_fn_c_try_link "$LINENO"; then :
   26833   ac_cv_search_socket=$ac_res
   26834 fi
   26835 rm -f core conftest.err conftest.$ac_objext \
   26836     conftest$ac_exeext
   26837   if ${ac_cv_search_socket+:} false; then :
   26838   break
   26839 fi
   26840 done
   26841 if ${ac_cv_search_socket+:} false; then :
   26842 
   26843 else
   26844   ac_cv_search_socket=no
   26845 fi
   26846 rm conftest.$ac_ext
   26847 LIBS=$ac_func_search_save_LIBS
   26848 fi
   26849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   26850 $as_echo "$ac_cv_search_socket" >&6; }
   26851 ac_res=$ac_cv_search_socket
   26852 if test "$ac_res" != no; then :
   26853   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26854 
   26855 
   26856 $as_echo "#define HAVE_SOCKET 1" >>confdefs.h
   26857 
   26858   MAGICK_FEATURES="DPC $MAGICK_FEATURES"
   26859 
   26860 fi
   26861 
   26862 
   26863 for ac_func in acosh _aligned_malloc asinh atanh atoll atexit cabs carg cimag creal clock clock_getres clock_gettime ctime_r directio erf _exit execvp fchmod floor fork ftime ftruncate getc_unlocked getcwd getpid getexecname getdtablesize getpagesize getrlimit getrusage gettimeofday gmtime_r isnan j0 j1 lltostr localtime_r lstat memmove memset mkstemp munmap nanosleep newlocale _NSGetExecutablePath pclose _pclose poll popen _popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_spawnp pow pread pwrite qsort_r raise rand_r readlink realpath select seekdir sendfile setlocale socket sqrt setvbuf stat strchr strrchr strcspn strdup strpbrk strspn strstr strtod strtod_l strtol strtoul symlink sysconf sigemptyset sigaction spawnvp strerror strlcat strlcpy strcasecmp strncasecmp telldir tempnam times ulltostr uselocale usleep utime vfprintf vfprintf_l vsprintf vsnprintf vsnprintf_l waitpid _wfopen _wstat
   26864 do :
   26865   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   26866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   26867 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   26868   cat >>confdefs.h <<_ACEOF
   26869 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   26870 _ACEOF
   26871 
   26872 fi
   26873 done
   26874 
   26875 
   26876 #
   26877 # Check for clock_gettime().
   26878 #
   26879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
   26880 $as_echo_n "checking for library containing clock_gettime... " >&6; }
   26881 if ${ac_cv_search_clock_gettime+:} false; then :
   26882   $as_echo_n "(cached) " >&6
   26883 else
   26884   ac_func_search_save_LIBS=$LIBS
   26885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26886 /* end confdefs.h.  */
   26887 
   26888 /* Override any GCC internal prototype to avoid an error.
   26889    Use char because int might match the return type of a GCC
   26890    builtin and then its argument prototype would still apply.  */
   26891 #ifdef __cplusplus
   26892 extern "C"
   26893 #endif
   26894 char clock_gettime ();
   26895 int
   26896 main ()
   26897 {
   26898 return clock_gettime ();
   26899   ;
   26900   return 0;
   26901 }
   26902 _ACEOF
   26903 for ac_lib in '' rt; do
   26904   if test -z "$ac_lib"; then
   26905     ac_res="none required"
   26906   else
   26907     ac_res=-l$ac_lib
   26908     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   26909   fi
   26910   if ac_fn_c_try_link "$LINENO"; then :
   26911   ac_cv_search_clock_gettime=$ac_res
   26912 fi
   26913 rm -f core conftest.err conftest.$ac_objext \
   26914     conftest$ac_exeext
   26915   if ${ac_cv_search_clock_gettime+:} false; then :
   26916   break
   26917 fi
   26918 done
   26919 if ${ac_cv_search_clock_gettime+:} false; then :
   26920 
   26921 else
   26922   ac_cv_search_clock_gettime=no
   26923 fi
   26924 rm conftest.$ac_ext
   26925 LIBS=$ac_func_search_save_LIBS
   26926 fi
   26927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
   26928 $as_echo "$ac_cv_search_clock_gettime" >&6; }
   26929 ac_res=$ac_cv_search_clock_gettime
   26930 if test "$ac_res" != no; then :
   26931   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   26932 
   26933 
   26934 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   26935 
   26936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether clock_gettime supports CLOCK_REALTIME" >&5
   26937 $as_echo_n "checking whether clock_gettime supports CLOCK_REALTIME... " >&6; }
   26938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   26939 /* end confdefs.h.  */
   26940 
   26941     #include <time.h>
   26942 int
   26943 main ()
   26944 {
   26945 clockid_t clockType = CLOCK_REALTIME;
   26946   ;
   26947   return 0;
   26948 }
   26949 _ACEOF
   26950 if ac_fn_c_try_compile "$LINENO"; then :
   26951 
   26952         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   26953 $as_echo "yes" >&6; }
   26954 
   26955 $as_echo "#define HAVE_CLOCK_REALTIME 1" >>confdefs.h
   26956 
   26957 
   26958 else
   26959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   26960 $as_echo "no" >&6; }
   26961 
   26962 fi
   26963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   26964 
   26965 else
   26966 
   26967     for ac_func in gettimeofday ftime
   26968 do :
   26969   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   26970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   26971 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   26972   cat >>confdefs.h <<_ACEOF
   26973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   26974 _ACEOF
   26975  break
   26976 fi
   26977 done
   26978 
   26979 
   26980 
   26981 fi
   26982 
   26983 
   26984 ########
   26985 #
   26986 # Check for function prototypes
   26987 #
   26988 ########
   26989 
   26990 ac_fn_c_check_decl "$LINENO" "pread" "ac_cv_have_decl_pread" "
   26991 #include <unistd.h>
   26992 "
   26993 if test "x$ac_cv_have_decl_pread" = xyes; then :
   26994   ac_have_decl=1
   26995 else
   26996   ac_have_decl=0
   26997 fi
   26998 
   26999 cat >>confdefs.h <<_ACEOF
   27000 #define HAVE_DECL_PREAD $ac_have_decl
   27001 _ACEOF
   27002 ac_fn_c_check_decl "$LINENO" "pwrite" "ac_cv_have_decl_pwrite" "
   27003 #include <unistd.h>
   27004 "
   27005 if test "x$ac_cv_have_decl_pwrite" = xyes; then :
   27006   ac_have_decl=1
   27007 else
   27008   ac_have_decl=0
   27009 fi
   27010 
   27011 cat >>confdefs.h <<_ACEOF
   27012 #define HAVE_DECL_PWRITE $ac_have_decl
   27013 _ACEOF
   27014 
   27015 
   27016 ac_fn_c_check_decl "$LINENO" "strlcpy" "ac_cv_have_decl_strlcpy" "
   27017 #include <strings.h>
   27018 "
   27019 if test "x$ac_cv_have_decl_strlcpy" = xyes; then :
   27020   ac_have_decl=1
   27021 else
   27022   ac_have_decl=0
   27023 fi
   27024 
   27025 cat >>confdefs.h <<_ACEOF
   27026 #define HAVE_DECL_STRLCPY $ac_have_decl
   27027 _ACEOF
   27028 
   27029 
   27030 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "
   27031 #include <stdio.h>
   27032 #include <stdarg.h>
   27033 "
   27034 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
   27035   ac_have_decl=1
   27036 else
   27037   ac_have_decl=0
   27038 fi
   27039 
   27040 cat >>confdefs.h <<_ACEOF
   27041 #define HAVE_DECL_VSNPRINTF $ac_have_decl
   27042 _ACEOF
   27043 
   27044 
   27045 ########
   27046 #
   27047 # C++ Support Tests (For Magick++)
   27048 #
   27049 ########
   27050 have_magick_plus_plus='no'
   27051 if test "$with_magick_plus_plus" = 'yes'; then
   27052     OLIBS="$LIBS"
   27053     LIBS=''
   27054     ac_ext=cpp
   27055 ac_cpp='$CXXCPP $CPPFLAGS'
   27056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27059 
   27060 
   27061     # Full set of headers used...
   27062     # algorithm cctype cerrno cmath cstdio cstdlib cstring ctime exception
   27063     # functional iomanip iosfwd iostream iterator list string strstream utility
   27064     ac_ext=cpp
   27065 ac_cpp='$CXXCPP $CPPFLAGS'
   27066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27069 
   27070     ac_ext=cpp
   27071 ac_cpp='$CXXCPP $CPPFLAGS'
   27072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27075 if test -z "$CXX"; then
   27076   if test -n "$CCC"; then
   27077     CXX=$CCC
   27078   else
   27079     if test -n "$ac_tool_prefix"; then
   27080   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   27081   do
   27082     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   27083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   27084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27085 $as_echo_n "checking for $ac_word... " >&6; }
   27086 if ${ac_cv_prog_CXX+:} false; then :
   27087   $as_echo_n "(cached) " >&6
   27088 else
   27089   if test -n "$CXX"; then
   27090   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   27091 else
   27092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27093 for as_dir in $PATH
   27094 do
   27095   IFS=$as_save_IFS
   27096   test -z "$as_dir" && as_dir=.
   27097     for ac_exec_ext in '' $ac_executable_extensions; do
   27098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   27099     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   27100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   27101     break 2
   27102   fi
   27103 done
   27104   done
   27105 IFS=$as_save_IFS
   27106 
   27107 fi
   27108 fi
   27109 CXX=$ac_cv_prog_CXX
   27110 if test -n "$CXX"; then
   27111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   27112 $as_echo "$CXX" >&6; }
   27113 else
   27114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27115 $as_echo "no" >&6; }
   27116 fi
   27117 
   27118 
   27119     test -n "$CXX" && break
   27120   done
   27121 fi
   27122 if test -z "$CXX"; then
   27123   ac_ct_CXX=$CXX
   27124   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   27125 do
   27126   # Extract the first word of "$ac_prog", so it can be a program name with args.
   27127 set dummy $ac_prog; ac_word=$2
   27128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   27129 $as_echo_n "checking for $ac_word... " >&6; }
   27130 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   27131   $as_echo_n "(cached) " >&6
   27132 else
   27133   if test -n "$ac_ct_CXX"; then
   27134   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   27135 else
   27136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   27137 for as_dir in $PATH
   27138 do
   27139   IFS=$as_save_IFS
   27140   test -z "$as_dir" && as_dir=.
   27141     for ac_exec_ext in '' $ac_executable_extensions; do
   27142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   27143     ac_cv_prog_ac_ct_CXX="$ac_prog"
   27144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   27145     break 2
   27146   fi
   27147 done
   27148   done
   27149 IFS=$as_save_IFS
   27150 
   27151 fi
   27152 fi
   27153 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   27154 if test -n "$ac_ct_CXX"; then
   27155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   27156 $as_echo "$ac_ct_CXX" >&6; }
   27157 else
   27158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   27159 $as_echo "no" >&6; }
   27160 fi
   27161 
   27162 
   27163   test -n "$ac_ct_CXX" && break
   27164 done
   27165 
   27166   if test "x$ac_ct_CXX" = x; then
   27167     CXX="g++"
   27168   else
   27169     case $cross_compiling:$ac_tool_warned in
   27170 yes:)
   27171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   27172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   27173 ac_tool_warned=yes ;;
   27174 esac
   27175     CXX=$ac_ct_CXX
   27176   fi
   27177 fi
   27178 
   27179   fi
   27180 fi
   27181 # Provide some information about the compiler.
   27182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   27183 set X $ac_compile
   27184 ac_compiler=$2
   27185 for ac_option in --version -v -V -qversion; do
   27186   { { ac_try="$ac_compiler $ac_option >&5"
   27187 case "(($ac_try" in
   27188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   27189   *) ac_try_echo=$ac_try;;
   27190 esac
   27191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   27192 $as_echo "$ac_try_echo"; } >&5
   27193   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   27194   ac_status=$?
   27195   if test -s conftest.err; then
   27196     sed '10a\
   27197 ... rest of stderr output deleted ...
   27198          10q' conftest.err >conftest.er1
   27199     cat conftest.er1 >&5
   27200   fi
   27201   rm -f conftest.er1 conftest.err
   27202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   27203   test $ac_status = 0; }
   27204 done
   27205 
   27206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   27207 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   27208 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   27209   $as_echo_n "(cached) " >&6
   27210 else
   27211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27212 /* end confdefs.h.  */
   27213 
   27214 int
   27215 main ()
   27216 {
   27217 #ifndef __GNUC__
   27218        choke me
   27219 #endif
   27220 
   27221   ;
   27222   return 0;
   27223 }
   27224 _ACEOF
   27225 if ac_fn_cxx_try_compile "$LINENO"; then :
   27226   ac_compiler_gnu=yes
   27227 else
   27228   ac_compiler_gnu=no
   27229 fi
   27230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27231 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   27232 
   27233 fi
   27234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   27235 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   27236 if test $ac_compiler_gnu = yes; then
   27237   GXX=yes
   27238 else
   27239   GXX=
   27240 fi
   27241 ac_test_CXXFLAGS=${CXXFLAGS+set}
   27242 ac_save_CXXFLAGS=$CXXFLAGS
   27243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   27244 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   27245 if ${ac_cv_prog_cxx_g+:} false; then :
   27246   $as_echo_n "(cached) " >&6
   27247 else
   27248   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   27249    ac_cxx_werror_flag=yes
   27250    ac_cv_prog_cxx_g=no
   27251    CXXFLAGS="-g"
   27252    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27253 /* end confdefs.h.  */
   27254 
   27255 int
   27256 main ()
   27257 {
   27258 
   27259   ;
   27260   return 0;
   27261 }
   27262 _ACEOF
   27263 if ac_fn_cxx_try_compile "$LINENO"; then :
   27264   ac_cv_prog_cxx_g=yes
   27265 else
   27266   CXXFLAGS=""
   27267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27268 /* end confdefs.h.  */
   27269 
   27270 int
   27271 main ()
   27272 {
   27273 
   27274   ;
   27275   return 0;
   27276 }
   27277 _ACEOF
   27278 if ac_fn_cxx_try_compile "$LINENO"; then :
   27279 
   27280 else
   27281   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   27282 	 CXXFLAGS="-g"
   27283 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27284 /* end confdefs.h.  */
   27285 
   27286 int
   27287 main ()
   27288 {
   27289 
   27290   ;
   27291   return 0;
   27292 }
   27293 _ACEOF
   27294 if ac_fn_cxx_try_compile "$LINENO"; then :
   27295   ac_cv_prog_cxx_g=yes
   27296 fi
   27297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27298 fi
   27299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27300 fi
   27301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27302    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   27303 fi
   27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   27305 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   27306 if test "$ac_test_CXXFLAGS" = set; then
   27307   CXXFLAGS=$ac_save_CXXFLAGS
   27308 elif test $ac_cv_prog_cxx_g = yes; then
   27309   if test "$GXX" = yes; then
   27310     CXXFLAGS="-g -O2"
   27311   else
   27312     CXXFLAGS="-g"
   27313   fi
   27314 else
   27315   if test "$GXX" = yes; then
   27316     CXXFLAGS="-O2"
   27317   else
   27318     CXXFLAGS=
   27319   fi
   27320 fi
   27321 ac_ext=cpp
   27322 ac_cpp='$CXXCPP $CPPFLAGS'
   27323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27326 
   27327 depcc="$CXX"  am_compiler_list=
   27328 
   27329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   27330 $as_echo_n "checking dependency style of $depcc... " >&6; }
   27331 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   27332   $as_echo_n "(cached) " >&6
   27333 else
   27334   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   27335   # We make a subdir and do the tests there.  Otherwise we can end up
   27336   # making bogus files that we don't know about and never remove.  For
   27337   # instance it was reported that on HP-UX the gcc test will end up
   27338   # making a dummy file named 'D' -- because '-MD' means "put the output
   27339   # in D".
   27340   rm -rf conftest.dir
   27341   mkdir conftest.dir
   27342   # Copy depcomp to subdir because otherwise we won't find it if we're
   27343   # using a relative directory.
   27344   cp "$am_depcomp" conftest.dir
   27345   cd conftest.dir
   27346   # We will build objects and dependencies in a subdirectory because
   27347   # it helps to detect inapplicable dependency modes.  For instance
   27348   # both Tru64's cc and ICC support -MD to output dependencies as a
   27349   # side effect of compilation, but ICC will put the dependencies in
   27350   # the current directory while Tru64 will put them in the object
   27351   # directory.
   27352   mkdir sub
   27353 
   27354   am_cv_CXX_dependencies_compiler_type=none
   27355   if test "$am_compiler_list" = ""; then
   27356      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   27357   fi
   27358   am__universal=false
   27359   case " $depcc " in #(
   27360      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   27361      esac
   27362 
   27363   for depmode in $am_compiler_list; do
   27364     # Setup a source with many dependencies, because some compilers
   27365     # like to wrap large dependency lists on column 80 (with \), and
   27366     # we should not choose a depcomp mode which is confused by this.
   27367     #
   27368     # We need to recreate these files for each test, as the compiler may
   27369     # overwrite some of them when testing with obscure command lines.
   27370     # This happens at least with the AIX C compiler.
   27371     : > sub/conftest.c
   27372     for i in 1 2 3 4 5 6; do
   27373       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   27374       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   27375       # Solaris 10 /bin/sh.
   27376       echo '/* dummy */' > sub/conftst$i.h
   27377     done
   27378     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   27379 
   27380     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   27381     # mode.  It turns out that the SunPro C++ compiler does not properly
   27382     # handle '-M -o', and we need to detect this.  Also, some Intel
   27383     # versions had trouble with output in subdirs.
   27384     am__obj=sub/conftest.${OBJEXT-o}
   27385     am__minus_obj="-o $am__obj"
   27386     case $depmode in
   27387     gcc)
   27388       # This depmode causes a compiler race in universal mode.
   27389       test "$am__universal" = false || continue
   27390       ;;
   27391     nosideeffect)
   27392       # After this tag, mechanisms are not by side-effect, so they'll
   27393       # only be used when explicitly requested.
   27394       if test "x$enable_dependency_tracking" = xyes; then
   27395 	continue
   27396       else
   27397 	break
   27398       fi
   27399       ;;
   27400     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   27401       # This compiler won't grok '-c -o', but also, the minuso test has
   27402       # not run yet.  These depmodes are late enough in the game, and
   27403       # so weak that their functioning should not be impacted.
   27404       am__obj=conftest.${OBJEXT-o}
   27405       am__minus_obj=
   27406       ;;
   27407     none) break ;;
   27408     esac
   27409     if depmode=$depmode \
   27410        source=sub/conftest.c object=$am__obj \
   27411        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   27412        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   27413          >/dev/null 2>conftest.err &&
   27414        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   27415        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   27416        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   27417        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   27418       # icc doesn't choke on unknown options, it will just issue warnings
   27419       # or remarks (even with -Werror).  So we grep stderr for any message
   27420       # that says an option was ignored or not supported.
   27421       # When given -MP, icc 7.0 and 7.1 complain thusly:
   27422       #   icc: Command line warning: ignoring option '-M'; no argument required
   27423       # The diagnosis changed in icc 8.0:
   27424       #   icc: Command line remark: option '-MP' not supported
   27425       if (grep 'ignoring option' conftest.err ||
   27426           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   27427         am_cv_CXX_dependencies_compiler_type=$depmode
   27428         break
   27429       fi
   27430     fi
   27431   done
   27432 
   27433   cd ..
   27434   rm -rf conftest.dir
   27435 else
   27436   am_cv_CXX_dependencies_compiler_type=none
   27437 fi
   27438 
   27439 fi
   27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   27441 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   27442 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   27443 
   27444  if
   27445   test "x$enable_dependency_tracking" != xno \
   27446   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   27447   am__fastdepCXX_TRUE=
   27448   am__fastdepCXX_FALSE='#'
   27449 else
   27450   am__fastdepCXX_TRUE='#'
   27451   am__fastdepCXX_FALSE=
   27452 fi
   27453 
   27454 
   27455      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler recognizes bool as a built-in type" >&5
   27456 $as_echo_n "checking whether the compiler recognizes bool as a built-in type... " >&6; }
   27457 if ${ax_cv_cxx_bool+:} false; then :
   27458   $as_echo_n "(cached) " >&6
   27459 else
   27460        ac_ext=cpp
   27461 ac_cpp='$CXXCPP $CPPFLAGS'
   27462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27465 
   27466      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27467 /* end confdefs.h.  */
   27468        int f(int  x){return 1;}
   27469                         int f(char x){return 1;}
   27470                         int f(bool x){return 1;}
   27471 int
   27472 main ()
   27473 {
   27474 bool b = true; return f(b);
   27475   ;
   27476   return 0;
   27477 }
   27478 _ACEOF
   27479 if ac_fn_cxx_try_compile "$LINENO"; then :
   27480   ax_cv_cxx_bool=yes
   27481 else
   27482   ax_cv_cxx_bool=no
   27483 fi
   27484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27485      ac_ext=cpp
   27486 ac_cpp='$CXXCPP $CPPFLAGS'
   27487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27490 
   27491 
   27492 fi
   27493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_bool" >&5
   27494 $as_echo "$ax_cv_cxx_bool" >&6; }
   27495   if test "X$ax_cv_cxx_bool" = Xyes; then :
   27496 
   27497 $as_echo "#define HAVE_BOOL /**/" >>confdefs.h
   27498 
   27499 fi
   27500 
   27501     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
   27502 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
   27503 if ${ax_cv_cxx_namespaces+:} false; then :
   27504   $as_echo_n "(cached) " >&6
   27505 else
   27506   ac_ext=cpp
   27507 ac_cpp='$CXXCPP $CPPFLAGS'
   27508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27511 
   27512  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27513 /* end confdefs.h.  */
   27514 namespace Outer { namespace Inner { int i = 0; }}
   27515                                    using namespace Outer::Inner; int foo(void) { return i;}
   27516 _ACEOF
   27517 if ac_fn_cxx_try_compile "$LINENO"; then :
   27518   ax_cv_cxx_namespaces=yes
   27519 else
   27520   ax_cv_cxx_namespaces=no
   27521 fi
   27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27523  ac_ext=cpp
   27524 ac_cpp='$CXXCPP $CPPFLAGS'
   27525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27528 
   27529 
   27530 fi
   27531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_namespaces" >&5
   27532 $as_echo "$ax_cv_cxx_namespaces" >&6; }
   27533 if test "$ax_cv_cxx_namespaces" = yes; then
   27534 
   27535 $as_echo "#define HAVE_NAMESPACES /**/" >>confdefs.h
   27536 
   27537 fi
   27538 
   27539 
   27540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports namespace std" >&5
   27541 $as_echo_n "checking if g++ supports namespace std... " >&6; }
   27542 if ${ax_cv_cxx_have_std_namespace+:} false; then :
   27543   $as_echo_n "(cached) " >&6
   27544 else
   27545   ac_ext=cpp
   27546 ac_cpp='$CXXCPP $CPPFLAGS'
   27547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27550 
   27551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27552 /* end confdefs.h.  */
   27553 #include <iostream>
   27554                   std::istream& is = std::cin;
   27555 int
   27556 main ()
   27557 {
   27558 
   27559   ;
   27560   return 0;
   27561 }
   27562 _ACEOF
   27563 if ac_fn_cxx_try_compile "$LINENO"; then :
   27564   ax_cv_cxx_have_std_namespace=yes
   27565 else
   27566   ax_cv_cxx_have_std_namespace=no
   27567 fi
   27568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27569   ac_ext=cpp
   27570 ac_cpp='$CXXCPP $CPPFLAGS'
   27571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27574 
   27575 
   27576 fi
   27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_have_std_namespace" >&5
   27578 $as_echo "$ax_cv_cxx_have_std_namespace" >&6; }
   27579   if test "$ax_cv_cxx_have_std_namespace" = yes; then
   27580 
   27581 $as_echo "#define HAVE_NAMESPACE_STD /**/" >>confdefs.h
   27582 
   27583   fi
   27584 
   27585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports ISO C++ standard library" >&5
   27586 $as_echo_n "checking whether the compiler supports ISO C++ standard library... " >&6; }
   27587 if ${ac_cv_cxx_have_std_libs+:} false; then :
   27588   $as_echo_n "(cached) " >&6
   27589 else
   27590 
   27591 
   27592  ac_ext=cpp
   27593 ac_cpp='$CXXCPP $CPPFLAGS'
   27594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27597 
   27598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27599 /* end confdefs.h.  */
   27600 #include <iostream>
   27601 #include <map>
   27602 #include <iomanip>
   27603 #include <cmath>
   27604 #ifdef HAVE_NAMESPACES
   27605 using namespace std;
   27606 #endif
   27607 int
   27608 main ()
   27609 {
   27610 return 0;
   27611   ;
   27612   return 0;
   27613 }
   27614 _ACEOF
   27615 if ac_fn_cxx_try_compile "$LINENO"; then :
   27616   ac_cv_cxx_have_std_libs=yes
   27617 else
   27618   ac_cv_cxx_have_std_libs=no
   27619 fi
   27620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   27621  ac_ext=cpp
   27622 ac_cpp='$CXXCPP $CPPFLAGS'
   27623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   27626 
   27627 
   27628 fi
   27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_have_std_libs" >&5
   27630 $as_echo "$ac_cv_cxx_have_std_libs" >&6; }
   27631 if test "$ac_cv_cxx_have_std_libs" = yes; then
   27632 
   27633 $as_echo "#define HAVE_STD_LIBS /**/" >>confdefs.h
   27634 
   27635 fi
   27636 
   27637 
   27638   OPENMP_CXXFLAGS=
   27639   # Check whether --enable-openmp was given.
   27640 if test "${enable_openmp+set}" = set; then :
   27641   enableval=$enable_openmp;
   27642 fi
   27643 
   27644   if test "$enable_openmp" != no; then
   27645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to support OpenMP" >&5
   27646 $as_echo_n "checking for $CXX option to support OpenMP... " >&6; }
   27647 if ${ac_cv_prog_cxx_openmp+:} false; then :
   27648   $as_echo_n "(cached) " >&6
   27649 else
   27650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27651 /* end confdefs.h.  */
   27652 
   27653 #ifndef _OPENMP
   27654  choke me
   27655 #endif
   27656 #include <omp.h>
   27657 int main () { return omp_get_num_threads (); }
   27658 
   27659 _ACEOF
   27660 if ac_fn_cxx_try_link "$LINENO"; then :
   27661   ac_cv_prog_cxx_openmp='none needed'
   27662 else
   27663   ac_cv_prog_cxx_openmp='unsupported'
   27664 	  	  	  	  	  	  	                                	  	  	  	  	  	  for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp \
   27665                            -Popenmp --openmp; do
   27666 	    ac_save_CXXFLAGS=$CXXFLAGS
   27667 	    CXXFLAGS="$CXXFLAGS $ac_option"
   27668 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27669 /* end confdefs.h.  */
   27670 
   27671 #ifndef _OPENMP
   27672  choke me
   27673 #endif
   27674 #include <omp.h>
   27675 int main () { return omp_get_num_threads (); }
   27676 
   27677 _ACEOF
   27678 if ac_fn_cxx_try_link "$LINENO"; then :
   27679   ac_cv_prog_cxx_openmp=$ac_option
   27680 fi
   27681 rm -f core conftest.err conftest.$ac_objext \
   27682     conftest$ac_exeext conftest.$ac_ext
   27683 	    CXXFLAGS=$ac_save_CXXFLAGS
   27684 	    if test "$ac_cv_prog_cxx_openmp" != unsupported; then
   27685 	      break
   27686 	    fi
   27687 	  done
   27688 fi
   27689 rm -f core conftest.err conftest.$ac_objext \
   27690     conftest$ac_exeext conftest.$ac_ext
   27691 fi
   27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_openmp" >&5
   27693 $as_echo "$ac_cv_prog_cxx_openmp" >&6; }
   27694     case $ac_cv_prog_cxx_openmp in #(
   27695       "none needed" | unsupported)
   27696 	;; #(
   27697       *)
   27698 	OPENMP_CXXFLAGS=$ac_cv_prog_cxx_openmp ;;
   27699     esac
   27700   fi
   27701 
   27702 
   27703     ac_ext=c
   27704 ac_cpp='$CPP $CPPFLAGS'
   27705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   27706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   27707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   27708 
   27709 
   27710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler is sufficient for Magick++" >&5
   27711 $as_echo_n "checking whether C++ compiler is sufficient for Magick++... " >&6; }
   27712     if \
   27713         test $ax_cv_cxx_bool = 'yes' && \
   27714         test $ax_cv_cxx_namespaces = 'yes' && \
   27715         test $ac_cv_cxx_have_std_libs = 'yes' && \
   27716         test $ax_cv_cxx_have_std_namespace = 'yes'; then
   27717         have_magick_plus_plus='yes'
   27718     else
   27719         have_magick_plus_plus='no (failed tests)'
   27720     fi
   27721     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_magick_plus_plus" >&5
   27722 $as_echo "$have_magick_plus_plus" >&6; }
   27723     LIBS="$OLIBS"
   27724 fi
   27725  if test "$have_magick_plus_plus" = 'yes'; then
   27726   WITH_MAGICK_PLUS_PLUS_TRUE=
   27727   WITH_MAGICK_PLUS_PLUS_FALSE='#'
   27728 else
   27729   WITH_MAGICK_PLUS_PLUS_TRUE='#'
   27730   WITH_MAGICK_PLUS_PLUS_FALSE=
   27731 fi
   27732 
   27733 
   27734 # Only check for delegate libraries in subdirectories if requested.
   27735 if test "$enable_delegate_build" != 'no'; then
   27736     # Check for delegate sub-directories and add -I & -L options as required.
   27737     # This presumes that delegates are installed as detailed in the ImageMagick
   27738     # README. If delegates are installed in a standard location where the
   27739     # compiler will automatically find them then these options should not be
   27740     # required.
   27741 
   27742     #
   27743     # Most delegates have includes in the same directory as the library, but not all...
   27744     #
   27745     # Includes
   27746     for dir in bzlib fftw fpx gslib/src jp2 jbig/libjbig jpeg lcms/include lzma magick openjp2/include png tiff/libtiff ttf/include wand webp/src wmf/include xml/include zlib; do
   27747         if test -d "$builddir/$dir"; then
   27748             CPPFLAGS="$CPPFLAGS -I$builddir/$dir"
   27749         else
   27750             if test -d "$srcdirfull/$dir"; then
   27751                 CPPFLAGS="$CPPFLAGS -I$srcdirfull/$dir"
   27752             fi
   27753         fi
   27754     done
   27755 
   27756     # Libraries
   27757     for dir in bzlib fftw fpx gslib/src jbig/libjbig jpeg lcms/src lzma magick openjp2 png tiff/libtiff ttf/objs wand webp wmf/src xml zlib; do
   27758     if test -d "$builddir/$dir/.libs"; then
   27759         LDFLAGS="$LDFLAGS -L$builddir/$dir/.libs"
   27760     else
   27761         if test -d "$srcdirfull/$dir/.libs"; then
   27762             LDFLAGS="$LDFLAGS -L$srcdirfull/$dir/.libs"
   27763         fi
   27764     fi
   27765     if test -d "$builddir/$dir"; then
   27766         LDFLAGS="$LDFLAGS -L$builddir/$dir"
   27767     else
   27768         if test -d "$srcdirfull/$dir"; then
   27769             LDFLAGS="$LDFLAGS -L$srcdirfull/$dir"
   27770         fi
   27771     fi
   27772   done
   27773 fi
   27774 
   27775 # Assume that delegate headers reside under same directory as ImageMagick
   27776 # installation prefix.
   27777 MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME}-$MAGICK_MAJOR_VERSION $MAGICK_CPPFLAGS"
   27778 
   27779 #
   27780 # Find the X11 RGB database
   27781 #
   27782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11 configure files" >&5
   27783 $as_echo_n "checking for X11 configure files... " >&6; }
   27784 if ${im_cv_x_configure+:} false; then :
   27785   $as_echo_n "(cached) " >&6
   27786 else
   27787   # Look for the header file in a standard set of common directories.
   27788 # Check X11 before X11Rn because it is often a symlink to the current release.
   27789     for ac_dir in          \
   27790     /lib/usr/lib/X11       \
   27791     /usr/X11/lib           \
   27792     /usr/X11R4/lib         \
   27793     /usr/X11R5/lib         \
   27794     /usr/X11R6/lib         \
   27795     /usr/X11R7/lib         \
   27796     /usr/X386/lib          \
   27797     /usr/XFree86/lib/X11   \
   27798     /usr/athena/lib        \
   27799     /usr/lib               \
   27800     /usr/lib/X11           \
   27801     /usr/lib/X11R4         \
   27802     /usr/lib/X11R5         \
   27803     /usr/lib/X11R6         \
   27804     /usr/lib/X11R7         \
   27805     /usr/local/X11/lib     \
   27806     /usr/local/X11R4/lib   \
   27807     /usr/local/X11R5/lib   \
   27808     /usr/local/X11R6/lib   \
   27809     /usr/local/lib         \
   27810     /usr/local/lib/X11     \
   27811     /usr/local/lib/X11R4   \
   27812     /usr/local/lib/X11R5   \
   27813     /usr/local/lib/X11R6   \
   27814     /usr/local/lib/X11R7   \
   27815     /usr/local/x11r5/lib   \
   27816     /usr/lpp/Xamples/lib   \
   27817     /usr/openwin/lib       \
   27818     /usr/openwin/share/lib \
   27819     /usr/unsupported/lib   \
   27820     /usr/x386/lib          \
   27821     ; do
   27822     if test -f "$ac_dir/X11/rgb.txt"; then
   27823       im_cv_x_configure="$ac_dir/X11/"
   27824       break
   27825     elif test -f "$ac_dir/rgb.txt"; then
   27826       im_cv_x_configure="$ac_dir/"
   27827       break
   27828     fi
   27829 
   27830   done
   27831 fi
   27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $im_cv_x_configure" >&5
   27833 $as_echo "$im_cv_x_configure" >&6; }
   27834 X11_CONFIGURE_PATH="$im_cv_x_configure"
   27835 case "${build_os}" in
   27836   mingw* )
   27837     X11ConfigurePath=`$WinPathScript "$X11ConfigurePath=" 1`
   27838   ;;
   27839 esac
   27840 
   27841 cat >>confdefs.h <<_ACEOF
   27842 #define X11_CONFIGURE_PATH "$X11ConfigurePath"
   27843 _ACEOF
   27844 
   27845 
   27846 #
   27847 # Find OpenMP library
   27848 #
   27849 GOMP_LIBS=''
   27850 if test "$enable_openmp" != 'no'; then
   27851   if test "${GCC}" = "yes"; then
   27852     # Open64 (passes for GCC but uses different OpenMP implementation)
   27853     if test "x$GOMP_LIBS" = x ; then
   27854       if $CC --version 2>&1 | grep Open64 > /dev/null ; then
   27855         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp_get_num_procs in -lopenmp" >&5
   27856 $as_echo_n "checking for omp_get_num_procs in -lopenmp... " >&6; }
   27857 if ${ac_cv_lib_openmp_omp_get_num_procs+:} false; then :
   27858   $as_echo_n "(cached) " >&6
   27859 else
   27860   ac_check_lib_save_LIBS=$LIBS
   27861 LIBS="-lopenmp  $LIBS"
   27862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27863 /* end confdefs.h.  */
   27864 
   27865 /* Override any GCC internal prototype to avoid an error.
   27866    Use char because int might match the return type of a GCC
   27867    builtin and then its argument prototype would still apply.  */
   27868 #ifdef __cplusplus
   27869 extern "C"
   27870 #endif
   27871 char omp_get_num_procs ();
   27872 int
   27873 main ()
   27874 {
   27875 return omp_get_num_procs ();
   27876   ;
   27877   return 0;
   27878 }
   27879 _ACEOF
   27880 if ac_fn_c_try_link "$LINENO"; then :
   27881   ac_cv_lib_openmp_omp_get_num_procs=yes
   27882 else
   27883   ac_cv_lib_openmp_omp_get_num_procs=no
   27884 fi
   27885 rm -f core conftest.err conftest.$ac_objext \
   27886     conftest$ac_exeext conftest.$ac_ext
   27887 LIBS=$ac_check_lib_save_LIBS
   27888 fi
   27889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openmp_omp_get_num_procs" >&5
   27890 $as_echo "$ac_cv_lib_openmp_omp_get_num_procs" >&6; }
   27891 if test "x$ac_cv_lib_openmp_omp_get_num_procs" = xyes; then :
   27892   GOMP_LIBS="-lopenmp"
   27893 fi
   27894 
   27895       fi
   27896     fi
   27897     # Clang (passes for GCC but uses different OpenMP implementation)
   27898     if test "x$LIB_OMP" = x ; then
   27899       if $CC --version 2>&1 | grep clang > /dev/null ; then
   27900         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOMP_parallel_start in -lomp" >&5
   27901 $as_echo_n "checking for GOMP_parallel_start in -lomp... " >&6; }
   27902 if ${ac_cv_lib_omp_GOMP_parallel_start+:} false; then :
   27903   $as_echo_n "(cached) " >&6
   27904 else
   27905   ac_check_lib_save_LIBS=$LIBS
   27906 LIBS="-lomp  $LIBS"
   27907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27908 /* end confdefs.h.  */
   27909 
   27910 /* Override any GCC internal prototype to avoid an error.
   27911    Use char because int might match the return type of a GCC
   27912    builtin and then its argument prototype would still apply.  */
   27913 #ifdef __cplusplus
   27914 extern "C"
   27915 #endif
   27916 char GOMP_parallel_start ();
   27917 int
   27918 main ()
   27919 {
   27920 return GOMP_parallel_start ();
   27921   ;
   27922   return 0;
   27923 }
   27924 _ACEOF
   27925 if ac_fn_c_try_link "$LINENO"; then :
   27926   ac_cv_lib_omp_GOMP_parallel_start=yes
   27927 else
   27928   ac_cv_lib_omp_GOMP_parallel_start=no
   27929 fi
   27930 rm -f core conftest.err conftest.$ac_objext \
   27931     conftest$ac_exeext conftest.$ac_ext
   27932 LIBS=$ac_check_lib_save_LIBS
   27933 fi
   27934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_omp_GOMP_parallel_start" >&5
   27935 $as_echo "$ac_cv_lib_omp_GOMP_parallel_start" >&6; }
   27936 if test "x$ac_cv_lib_omp_GOMP_parallel_start" = xyes; then :
   27937   LIB_OMP="-lomp"
   27938 fi
   27939 
   27940       fi
   27941     fi
   27942     # GCC
   27943     if test "x$GOMP_LIBS" = x ; then
   27944       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOMP_parallel_start in -lgomp" >&5
   27945 $as_echo_n "checking for GOMP_parallel_start in -lgomp... " >&6; }
   27946 if ${ac_cv_lib_gomp_GOMP_parallel_start+:} false; then :
   27947   $as_echo_n "(cached) " >&6
   27948 else
   27949   ac_check_lib_save_LIBS=$LIBS
   27950 LIBS="-lgomp  $LIBS"
   27951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27952 /* end confdefs.h.  */
   27953 
   27954 /* Override any GCC internal prototype to avoid an error.
   27955    Use char because int might match the return type of a GCC
   27956    builtin and then its argument prototype would still apply.  */
   27957 #ifdef __cplusplus
   27958 extern "C"
   27959 #endif
   27960 char GOMP_parallel_start ();
   27961 int
   27962 main ()
   27963 {
   27964 return GOMP_parallel_start ();
   27965   ;
   27966   return 0;
   27967 }
   27968 _ACEOF
   27969 if ac_fn_c_try_link "$LINENO"; then :
   27970   ac_cv_lib_gomp_GOMP_parallel_start=yes
   27971 else
   27972   ac_cv_lib_gomp_GOMP_parallel_start=no
   27973 fi
   27974 rm -f core conftest.err conftest.$ac_objext \
   27975     conftest$ac_exeext conftest.$ac_ext
   27976 LIBS=$ac_check_lib_save_LIBS
   27977 fi
   27978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gomp_GOMP_parallel_start" >&5
   27979 $as_echo "$ac_cv_lib_gomp_GOMP_parallel_start" >&6; }
   27980 if test "x$ac_cv_lib_gomp_GOMP_parallel_start" = xyes; then :
   27981   GOMP_LIBS="-lgomp"
   27982 fi
   27983 
   27984     fi
   27985   else
   27986     # Sun CC
   27987     if test "x$GOMP_LIBS" = x ; then
   27988       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sunw_mp_register_warn in -lmtsk" >&5
   27989 $as_echo_n "checking for sunw_mp_register_warn in -lmtsk... " >&6; }
   27990 if ${ac_cv_lib_mtsk_sunw_mp_register_warn+:} false; then :
   27991   $as_echo_n "(cached) " >&6
   27992 else
   27993   ac_check_lib_save_LIBS=$LIBS
   27994 LIBS="-lmtsk  $LIBS"
   27995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   27996 /* end confdefs.h.  */
   27997 
   27998 /* Override any GCC internal prototype to avoid an error.
   27999    Use char because int might match the return type of a GCC
   28000    builtin and then its argument prototype would still apply.  */
   28001 #ifdef __cplusplus
   28002 extern "C"
   28003 #endif
   28004 char sunw_mp_register_warn ();
   28005 int
   28006 main ()
   28007 {
   28008 return sunw_mp_register_warn ();
   28009   ;
   28010   return 0;
   28011 }
   28012 _ACEOF
   28013 if ac_fn_c_try_link "$LINENO"; then :
   28014   ac_cv_lib_mtsk_sunw_mp_register_warn=yes
   28015 else
   28016   ac_cv_lib_mtsk_sunw_mp_register_warn=no
   28017 fi
   28018 rm -f core conftest.err conftest.$ac_objext \
   28019     conftest$ac_exeext conftest.$ac_ext
   28020 LIBS=$ac_check_lib_save_LIBS
   28021 fi
   28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mtsk_sunw_mp_register_warn" >&5
   28023 $as_echo "$ac_cv_lib_mtsk_sunw_mp_register_warn" >&6; }
   28024 if test "x$ac_cv_lib_mtsk_sunw_mp_register_warn" = xyes; then :
   28025   GOMP_LIBS="-lmtsk"
   28026 fi
   28027 
   28028     fi
   28029     # AIX xlc
   28030     if test "x$GOMP_LIBS" = x ; then
   28031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _xlsmpFlush in -lxlsmp" >&5
   28032 $as_echo_n "checking for _xlsmpFlush in -lxlsmp... " >&6; }
   28033 if ${ac_cv_lib_xlsmp__xlsmpFlush+:} false; then :
   28034   $as_echo_n "(cached) " >&6
   28035 else
   28036   ac_check_lib_save_LIBS=$LIBS
   28037 LIBS="-lxlsmp  $LIBS"
   28038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28039 /* end confdefs.h.  */
   28040 
   28041 /* Override any GCC internal prototype to avoid an error.
   28042    Use char because int might match the return type of a GCC
   28043    builtin and then its argument prototype would still apply.  */
   28044 #ifdef __cplusplus
   28045 extern "C"
   28046 #endif
   28047 char _xlsmpFlush ();
   28048 int
   28049 main ()
   28050 {
   28051 return _xlsmpFlush ();
   28052   ;
   28053   return 0;
   28054 }
   28055 _ACEOF
   28056 if ac_fn_c_try_link "$LINENO"; then :
   28057   ac_cv_lib_xlsmp__xlsmpFlush=yes
   28058 else
   28059   ac_cv_lib_xlsmp__xlsmpFlush=no
   28060 fi
   28061 rm -f core conftest.err conftest.$ac_objext \
   28062     conftest$ac_exeext conftest.$ac_ext
   28063 LIBS=$ac_check_lib_save_LIBS
   28064 fi
   28065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xlsmp__xlsmpFlush" >&5
   28066 $as_echo "$ac_cv_lib_xlsmp__xlsmpFlush" >&6; }
   28067 if test "x$ac_cv_lib_xlsmp__xlsmpFlush" = xyes; then :
   28068   GOMP_LIBS="-lxlsmp"
   28069 fi
   28070 
   28071     fi
   28072     # SGI IRIX 6.5 MIPSpro C/C++
   28073     if test "x$GOMP_LIBS" = x ; then
   28074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_destroy in -lmp" >&5
   28075 $as_echo_n "checking for mp_destroy in -lmp... " >&6; }
   28076 if ${ac_cv_lib_mp_mp_destroy+:} false; then :
   28077   $as_echo_n "(cached) " >&6
   28078 else
   28079   ac_check_lib_save_LIBS=$LIBS
   28080 LIBS="-lmp  $LIBS"
   28081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28082 /* end confdefs.h.  */
   28083 
   28084 /* Override any GCC internal prototype to avoid an error.
   28085    Use char because int might match the return type of a GCC
   28086    builtin and then its argument prototype would still apply.  */
   28087 #ifdef __cplusplus
   28088 extern "C"
   28089 #endif
   28090 char mp_destroy ();
   28091 int
   28092 main ()
   28093 {
   28094 return mp_destroy ();
   28095   ;
   28096   return 0;
   28097 }
   28098 _ACEOF
   28099 if ac_fn_c_try_link "$LINENO"; then :
   28100   ac_cv_lib_mp_mp_destroy=yes
   28101 else
   28102   ac_cv_lib_mp_mp_destroy=no
   28103 fi
   28104 rm -f core conftest.err conftest.$ac_objext \
   28105     conftest$ac_exeext conftest.$ac_ext
   28106 LIBS=$ac_check_lib_save_LIBS
   28107 fi
   28108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp_mp_destroy" >&5
   28109 $as_echo "$ac_cv_lib_mp_mp_destroy" >&6; }
   28110 if test "x$ac_cv_lib_mp_mp_destroy" = xyes; then :
   28111   GOMP_LIBS="-lmp"
   28112 fi
   28113 
   28114     fi
   28115   fi
   28116   LIBS="$GOMP_LIBS $LIBS"
   28117 fi
   28118 
   28119 
   28120 #
   28121 # Check for jemalloc.
   28122 #
   28123 have_jemalloc='no'
   28124 JEMALLOC_LIBS=''
   28125 if test "$with_jemalloc" != 'no'; then
   28126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JEMALLOC support " >&5
   28127 $as_echo_n "checking for JEMALLOC support ... " >&6; }
   28128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   28129 $as_echo "" >&6; }
   28130   failed=0
   28131   passed=0
   28132   ac_fn_c_check_header_mongrel "$LINENO" "jemalloc/jemalloc.h" "ac_cv_header_jemalloc_jemalloc_h" "$ac_includes_default"
   28133 if test "x$ac_cv_header_jemalloc_jemalloc_h" = xyes; then :
   28134   passed=`expr $passed + 1`
   28135 else
   28136   failed=`expr $failed + 1`
   28137 fi
   28138 
   28139 
   28140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc_stats_print in -ljemalloc" >&5
   28141 $as_echo_n "checking for malloc_stats_print in -ljemalloc... " >&6; }
   28142 if ${ac_cv_lib_jemalloc_malloc_stats_print+:} false; then :
   28143   $as_echo_n "(cached) " >&6
   28144 else
   28145   ac_check_lib_save_LIBS=$LIBS
   28146 LIBS="-ljemalloc  $LIBS"
   28147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28148 /* end confdefs.h.  */
   28149 
   28150 /* Override any GCC internal prototype to avoid an error.
   28151    Use char because int might match the return type of a GCC
   28152    builtin and then its argument prototype would still apply.  */
   28153 #ifdef __cplusplus
   28154 extern "C"
   28155 #endif
   28156 char malloc_stats_print ();
   28157 int
   28158 main ()
   28159 {
   28160 return malloc_stats_print ();
   28161   ;
   28162   return 0;
   28163 }
   28164 _ACEOF
   28165 if ac_fn_c_try_link "$LINENO"; then :
   28166   ac_cv_lib_jemalloc_malloc_stats_print=yes
   28167 else
   28168   ac_cv_lib_jemalloc_malloc_stats_print=no
   28169 fi
   28170 rm -f core conftest.err conftest.$ac_objext \
   28171     conftest$ac_exeext conftest.$ac_ext
   28172 LIBS=$ac_check_lib_save_LIBS
   28173 fi
   28174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jemalloc_malloc_stats_print" >&5
   28175 $as_echo "$ac_cv_lib_jemalloc_malloc_stats_print" >&6; }
   28176 if test "x$ac_cv_lib_jemalloc_malloc_stats_print" = xyes; then :
   28177   passed=`expr $passed + 1`
   28178 else
   28179   failed=`expr $failed + 1`
   28180 fi
   28181 
   28182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if jemalloc memory allocation library is complete" >&5
   28183 $as_echo_n "checking if jemalloc memory allocation library is complete... " >&6; }
   28184   if test $passed -gt 0; then
   28185     if test $failed -gt 0; then
   28186       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   28187 $as_echo "no -- some components failed test" >&6; }
   28188       have_jemalloc='no (failed tests)'
   28189     else
   28190       JEMALLOC_LIBS='-ljemalloc'
   28191       LIBS="$JEMALLOC_LIBS $LIBS"
   28192 
   28193 $as_echo "#define HasJEMALLOC 1" >>confdefs.h
   28194 
   28195       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28196 $as_echo "yes" >&6; }
   28197       have_jemalloc='yes'
   28198     fi
   28199   else
   28200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28201 $as_echo "no" >&6; }
   28202   fi
   28203 fi
   28204  if test "$have_jemalloc" = 'yes'; then
   28205   HasJEMALLOC_TRUE=
   28206   HasJEMALLOC_FALSE='#'
   28207 else
   28208   HasJEMALLOC_TRUE='#'
   28209   HasJEMALLOC_FALSE=
   28210 fi
   28211 
   28212 
   28213 
   28214 #
   28215 # Check for umem.
   28216 #
   28217 have_umem='no'
   28218 UMEM_LIBS=''
   28219 if test "$with_umem" != 'no'; then
   28220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UMEM support " >&5
   28221 $as_echo_n "checking for UMEM support ... " >&6; }
   28222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   28223 $as_echo "" >&6; }
   28224   failed=0
   28225   passed=0
   28226   ac_fn_c_check_header_mongrel "$LINENO" "umem.h" "ac_cv_header_umem_h" "$ac_includes_default"
   28227 if test "x$ac_cv_header_umem_h" = xyes; then :
   28228   passed=`expr $passed + 1`
   28229 else
   28230   failed=`expr $failed + 1`
   28231 fi
   28232 
   28233 
   28234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   28235 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   28236 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   28237   $as_echo_n "(cached) " >&6
   28238 else
   28239   ac_check_lib_save_LIBS=$LIBS
   28240 LIBS="-lumem  $LIBS"
   28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28242 /* end confdefs.h.  */
   28243 
   28244 /* Override any GCC internal prototype to avoid an error.
   28245    Use char because int might match the return type of a GCC
   28246    builtin and then its argument prototype would still apply.  */
   28247 #ifdef __cplusplus
   28248 extern "C"
   28249 #endif
   28250 char umem_alloc ();
   28251 int
   28252 main ()
   28253 {
   28254 return umem_alloc ();
   28255   ;
   28256   return 0;
   28257 }
   28258 _ACEOF
   28259 if ac_fn_c_try_link "$LINENO"; then :
   28260   ac_cv_lib_umem_umem_alloc=yes
   28261 else
   28262   ac_cv_lib_umem_umem_alloc=no
   28263 fi
   28264 rm -f core conftest.err conftest.$ac_objext \
   28265     conftest$ac_exeext conftest.$ac_ext
   28266 LIBS=$ac_check_lib_save_LIBS
   28267 fi
   28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   28269 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   28270 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   28271   passed=`expr $passed + 1`
   28272 else
   28273   failed=`expr $failed + 1`
   28274 fi
   28275 
   28276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_free in -lumem" >&5
   28277 $as_echo_n "checking for umem_free in -lumem... " >&6; }
   28278 if ${ac_cv_lib_umem_umem_free+:} false; then :
   28279   $as_echo_n "(cached) " >&6
   28280 else
   28281   ac_check_lib_save_LIBS=$LIBS
   28282 LIBS="-lumem  $LIBS"
   28283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28284 /* end confdefs.h.  */
   28285 
   28286 /* Override any GCC internal prototype to avoid an error.
   28287    Use char because int might match the return type of a GCC
   28288    builtin and then its argument prototype would still apply.  */
   28289 #ifdef __cplusplus
   28290 extern "C"
   28291 #endif
   28292 char umem_free ();
   28293 int
   28294 main ()
   28295 {
   28296 return umem_free ();
   28297   ;
   28298   return 0;
   28299 }
   28300 _ACEOF
   28301 if ac_fn_c_try_link "$LINENO"; then :
   28302   ac_cv_lib_umem_umem_free=yes
   28303 else
   28304   ac_cv_lib_umem_umem_free=no
   28305 fi
   28306 rm -f core conftest.err conftest.$ac_objext \
   28307     conftest$ac_exeext conftest.$ac_ext
   28308 LIBS=$ac_check_lib_save_LIBS
   28309 fi
   28310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_free" >&5
   28311 $as_echo "$ac_cv_lib_umem_umem_free" >&6; }
   28312 if test "x$ac_cv_lib_umem_umem_free" = xyes; then :
   28313   passed=`expr $passed + 1`
   28314 else
   28315   failed=`expr $failed + 1`
   28316 fi
   28317 
   28318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umem memory allocation library is complete" >&5
   28319 $as_echo_n "checking if umem memory allocation library is complete... " >&6; }
   28320   if test $passed -gt 0; then
   28321     if test $failed -gt 0; then
   28322       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   28323 $as_echo "no -- some components failed test" >&6; }
   28324       have_umem='no (failed tests)'
   28325     else
   28326       UMEM_LIBS='-lumem'
   28327       LIBS="$UMEM_LIBS $LIBS"
   28328 
   28329 $as_echo "#define HasUMEM 1" >>confdefs.h
   28330 
   28331       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28332 $as_echo "yes" >&6; }
   28333       have_umem='yes'
   28334     fi
   28335   else
   28336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28337 $as_echo "no" >&6; }
   28338   fi
   28339 fi
   28340  if test "$have_umem" = 'yes'; then
   28341   HasUMEM_TRUE=
   28342   HasUMEM_FALSE='#'
   28343 else
   28344   HasUMEM_TRUE='#'
   28345   HasUMEM_FALSE=
   28346 fi
   28347 
   28348 
   28349 
   28350 #
   28351 # Add support for ccmalloc memory debugging library if requested
   28352 #
   28353 have_ccmalloc='no'
   28354 CCMALLOC_LIBS=''
   28355 if test "$enable_ccmalloc" = 'yes'; then
   28356     # Extract the first word of "ccmalloc", so it can be a program name with args.
   28357 set dummy ccmalloc; ac_word=$2
   28358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   28359 $as_echo_n "checking for $ac_word... " >&6; }
   28360 if ${ac_cv_path_CCMALLOCDelegate+:} false; then :
   28361   $as_echo_n "(cached) " >&6
   28362 else
   28363   case $CCMALLOCDelegate in
   28364   [\\/]* | ?:[\\/]*)
   28365   ac_cv_path_CCMALLOCDelegate="$CCMALLOCDelegate" # Let the user override the test with a path.
   28366   ;;
   28367   *)
   28368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   28369 for as_dir in $PATH
   28370 do
   28371   IFS=$as_save_IFS
   28372   test -z "$as_dir" && as_dir=.
   28373     for ac_exec_ext in '' $ac_executable_extensions; do
   28374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   28375     ac_cv_path_CCMALLOCDelegate="$as_dir/$ac_word$ac_exec_ext"
   28376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   28377     break 2
   28378   fi
   28379 done
   28380   done
   28381 IFS=$as_save_IFS
   28382 
   28383   ;;
   28384 esac
   28385 fi
   28386 CCMALLOCDelegate=$ac_cv_path_CCMALLOCDelegate
   28387 if test -n "$CCMALLOCDelegate"; then
   28388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCMALLOCDelegate" >&5
   28389 $as_echo "$CCMALLOCDelegate" >&6; }
   28390 else
   28391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28392 $as_echo "no" >&6; }
   28393 fi
   28394 
   28395 
   28396     if test -n "$CCMALLOCDelegate"; then
   28397         eval `grep PREFIX= $CCMALLOCDelegate | sed -e 's/PREFIX/CCMALLOC_PREFIX/'`
   28398         OLIBS="$LIBS"
   28399         # Assume that gcc is used with ccmalloc.
   28400         LIBS="$LIBS $CCMALLOC_PREFIX/lib/ccmalloc-gcc.o"
   28401        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccmalloc_malloc in -lccmalloc" >&5
   28402 $as_echo_n "checking for ccmalloc_malloc in -lccmalloc... " >&6; }
   28403 if ${ac_cv_lib_ccmalloc_ccmalloc_malloc+:} false; then :
   28404   $as_echo_n "(cached) " >&6
   28405 else
   28406   ac_check_lib_save_LIBS=$LIBS
   28407 LIBS="-lccmalloc -ldl $LIBS"
   28408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28409 /* end confdefs.h.  */
   28410 
   28411 /* Override any GCC internal prototype to avoid an error.
   28412    Use char because int might match the return type of a GCC
   28413    builtin and then its argument prototype would still apply.  */
   28414 #ifdef __cplusplus
   28415 extern "C"
   28416 #endif
   28417 char ccmalloc_malloc ();
   28418 int
   28419 main ()
   28420 {
   28421 return ccmalloc_malloc ();
   28422   ;
   28423   return 0;
   28424 }
   28425 _ACEOF
   28426 if ac_fn_c_try_link "$LINENO"; then :
   28427   ac_cv_lib_ccmalloc_ccmalloc_malloc=yes
   28428 else
   28429   ac_cv_lib_ccmalloc_ccmalloc_malloc=no
   28430 fi
   28431 rm -f core conftest.err conftest.$ac_objext \
   28432     conftest$ac_exeext conftest.$ac_ext
   28433 LIBS=$ac_check_lib_save_LIBS
   28434 fi
   28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ccmalloc_ccmalloc_malloc" >&5
   28436 $as_echo "$ac_cv_lib_ccmalloc_ccmalloc_malloc" >&6; }
   28437 if test "x$ac_cv_lib_ccmalloc_ccmalloc_malloc" = xyes; then :
   28438   CCMALLOC_LIBS="$CCMALLOC_PREFIX/lib/ccmalloc-gcc.o -lccmalloc -ldl"
   28439 fi
   28440 
   28441         if test -n "$CCMALLOC_LIBS"; then
   28442             LIBS="$OLIBS"
   28443             LIBS="$LIBS $CCMALLOC_LIBS"
   28444             have_ccmalloc='yes'
   28445         else
   28446             LIBS="$OLIBS"
   28447         fi
   28448     fi
   28449 fi
   28450 
   28451 #
   28452 # Add support for 'huge pages' if requested
   28453 #
   28454 if test "x$enable_hugepages" != "xno"; then :
   28455 
   28456 
   28457 $as_echo "#define HAVE_HUGEPAGES 1" >>confdefs.h
   28458 
   28459 
   28460 fi
   28461 
   28462 #
   28463 # Add support for efence memory debugging library if requested
   28464 #
   28465 if test "$enable_efence" = 'yes'; then
   28466     EFENCE_LIBS='-lefence'
   28467     LIBS="$EFENCE_LIBS $LIBS"
   28468 fi
   28469 
   28470 
   28471 #
   28472 # Check for BZLIB
   28473 #
   28474 
   28475 
   28476 # Check whether --with-bzlib was given.
   28477 if test "${with_bzlib+set}" = set; then :
   28478   withval=$with_bzlib; with_bzlib=$withval
   28479 else
   28480   with_bzlib='yes'
   28481 fi
   28482 
   28483 
   28484 if test "$with_bzlib" != 'yes'; then
   28485     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-bzlib=$with_bzlib "
   28486 fi
   28487 
   28488 have_bzlib='no'
   28489 if test "$with_bzlib" != 'no'; then
   28490     BZLIB_LIBS=''
   28491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   28492 $as_echo "-------------------------------------------------------------" >&6; }
   28493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZLIB" >&5
   28494 $as_echo_n "checking for BZLIB... " >&6; }
   28495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   28496 $as_echo "" >&6; }
   28497     failed=0
   28498     passed=0
   28499     found_libbz=0
   28500     ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
   28501 if test "x$ac_cv_header_bzlib_h" = xyes; then :
   28502   passed=`expr $passed + 1`
   28503 else
   28504   failed=`expr $failed + 1`
   28505 fi
   28506 
   28507 
   28508     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzDecompress in -lbz2" >&5
   28509 $as_echo_n "checking for BZ2_bzDecompress in -lbz2... " >&6; }
   28510 if ${ac_cv_lib_bz2_BZ2_bzDecompress+:} false; then :
   28511   $as_echo_n "(cached) " >&6
   28512 else
   28513   ac_check_lib_save_LIBS=$LIBS
   28514 LIBS="-lbz2  $LIBS"
   28515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28516 /* end confdefs.h.  */
   28517 
   28518 /* Override any GCC internal prototype to avoid an error.
   28519    Use char because int might match the return type of a GCC
   28520    builtin and then its argument prototype would still apply.  */
   28521 #ifdef __cplusplus
   28522 extern "C"
   28523 #endif
   28524 char BZ2_bzDecompress ();
   28525 int
   28526 main ()
   28527 {
   28528 return BZ2_bzDecompress ();
   28529   ;
   28530   return 0;
   28531 }
   28532 _ACEOF
   28533 if ac_fn_c_try_link "$LINENO"; then :
   28534   ac_cv_lib_bz2_BZ2_bzDecompress=yes
   28535 else
   28536   ac_cv_lib_bz2_BZ2_bzDecompress=no
   28537 fi
   28538 rm -f core conftest.err conftest.$ac_objext \
   28539     conftest$ac_exeext conftest.$ac_ext
   28540 LIBS=$ac_check_lib_save_LIBS
   28541 fi
   28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzDecompress" >&5
   28543 $as_echo "$ac_cv_lib_bz2_BZ2_bzDecompress" >&6; }
   28544 if test "x$ac_cv_lib_bz2_BZ2_bzDecompress" = xyes; then :
   28545   found_libbz=`expr $found_libbz + 1`
   28546 fi
   28547 
   28548     if test "$native_win32_build" = 'yes'; then
   28549       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _imp__BZ2_decompress in -lbz2" >&5
   28550 $as_echo_n "checking for _imp__BZ2_decompress in -lbz2... " >&6; }
   28551 if ${ac_cv_lib_bz2__imp__BZ2_decompress+:} false; then :
   28552   $as_echo_n "(cached) " >&6
   28553 else
   28554   ac_check_lib_save_LIBS=$LIBS
   28555 LIBS="-lbz2  $LIBS"
   28556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28557 /* end confdefs.h.  */
   28558 
   28559 /* Override any GCC internal prototype to avoid an error.
   28560    Use char because int might match the return type of a GCC
   28561    builtin and then its argument prototype would still apply.  */
   28562 #ifdef __cplusplus
   28563 extern "C"
   28564 #endif
   28565 char _imp__BZ2_decompress ();
   28566 int
   28567 main ()
   28568 {
   28569 return _imp__BZ2_decompress ();
   28570   ;
   28571   return 0;
   28572 }
   28573 _ACEOF
   28574 if ac_fn_c_try_link "$LINENO"; then :
   28575   ac_cv_lib_bz2__imp__BZ2_decompress=yes
   28576 else
   28577   ac_cv_lib_bz2__imp__BZ2_decompress=no
   28578 fi
   28579 rm -f core conftest.err conftest.$ac_objext \
   28580     conftest$ac_exeext conftest.$ac_ext
   28581 LIBS=$ac_check_lib_save_LIBS
   28582 fi
   28583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2__imp__BZ2_decompress" >&5
   28584 $as_echo "$ac_cv_lib_bz2__imp__BZ2_decompress" >&6; }
   28585 if test "x$ac_cv_lib_bz2__imp__BZ2_decompress" = xyes; then :
   28586   found_libbz=`expr $found_libbz + 1`
   28587 fi
   28588 
   28589     fi
   28590     if test $found_libbz -gt 0; then
   28591       passed=`expr $passed + 1`
   28592     else
   28593       failed=`expr $failed + 1`
   28594     fi
   28595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if BZLIB package is complete" >&5
   28596 $as_echo_n "checking if BZLIB package is complete... " >&6; }
   28597     if test $passed -gt 0; then
   28598       if test $failed -gt 0; then
   28599         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   28600 $as_echo "no -- some components failed test" >&6; }
   28601         have_bzlib='no (failed tests)'
   28602       else
   28603         BZLIB_LIBS='-lbz2'
   28604         LIBS="$BZLIB_LIBS $LIBS"
   28605 
   28606 $as_echo "#define BZLIB_DELEGATE 1" >>confdefs.h
   28607 
   28608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28609 $as_echo "yes" >&6; }
   28610         have_bzlib='yes'
   28611       fi
   28612     else
   28613       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28614 $as_echo "no" >&6; }
   28615     fi
   28616 fi
   28617  if test "$have_bzlib" = 'yes'; then
   28618   BZLIB_DELEGATE_TRUE=
   28619   BZLIB_DELEGATE_FALSE='#'
   28620 else
   28621   BZLIB_DELEGATE_TRUE='#'
   28622   BZLIB_DELEGATE_FALSE=
   28623 fi
   28624 
   28625 
   28626 
   28627 #
   28628 # Find the X11 include and library directories.
   28629 #
   28630 IPC_LIBS=''
   28631 X11_LIBS=''
   28632 XEXT_LIBS=''
   28633 XT_LIBS=''
   28634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
   28635 $as_echo_n "checking for X... " >&6; }
   28636 
   28637 
   28638 # Check whether --with-x was given.
   28639 if test "${with_x+set}" = set; then :
   28640   withval=$with_x;
   28641 fi
   28642 
   28643 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
   28644 if test "x$with_x" = xno; then
   28645   # The user explicitly disabled X.
   28646   have_x=disabled
   28647 else
   28648   case $x_includes,$x_libraries in #(
   28649     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
   28650     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
   28651   $as_echo_n "(cached) " >&6
   28652 else
   28653   # One or both of the vars are not set, and there is no cached value.
   28654 ac_x_includes=no ac_x_libraries=no
   28655 rm -f -r conftest.dir
   28656 if mkdir conftest.dir; then
   28657   cd conftest.dir
   28658   cat >Imakefile <<'_ACEOF'
   28659 incroot:
   28660 	@echo incroot='${INCROOT}'
   28661 usrlibdir:
   28662 	@echo usrlibdir='${USRLIBDIR}'
   28663 libdir:
   28664 	@echo libdir='${LIBDIR}'
   28665 _ACEOF
   28666   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
   28667     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   28668     for ac_var in incroot usrlibdir libdir; do
   28669       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
   28670     done
   28671     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
   28672     for ac_extension in a so sl dylib la dll; do
   28673       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
   28674 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
   28675 	ac_im_usrlibdir=$ac_im_libdir; break
   28676       fi
   28677     done
   28678     # Screen out bogus values from the imake configuration.  They are
   28679     # bogus both because they are the default anyway, and because
   28680     # using them would break gcc on systems where it needs fixed includes.
   28681     case $ac_im_incroot in
   28682 	/usr/include) ac_x_includes= ;;
   28683 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
   28684     esac
   28685     case $ac_im_usrlibdir in
   28686 	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
   28687 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
   28688     esac
   28689   fi
   28690   cd ..
   28691   rm -f -r conftest.dir
   28692 fi
   28693 
   28694 # Standard set of common directories for X headers.
   28695 # Check X11 before X11Rn because it is often a symlink to the current release.
   28696 ac_x_header_dirs='
   28697 /usr/X11/include
   28698 /usr/X11R7/include
   28699 /usr/X11R6/include
   28700 /usr/X11R5/include
   28701 /usr/X11R4/include
   28702 
   28703 /usr/include/X11
   28704 /usr/include/X11R7
   28705 /usr/include/X11R6
   28706 /usr/include/X11R5
   28707 /usr/include/X11R4
   28708 
   28709 /usr/local/X11/include
   28710 /usr/local/X11R7/include
   28711 /usr/local/X11R6/include
   28712 /usr/local/X11R5/include
   28713 /usr/local/X11R4/include
   28714 
   28715 /usr/local/include/X11
   28716 /usr/local/include/X11R7
   28717 /usr/local/include/X11R6
   28718 /usr/local/include/X11R5
   28719 /usr/local/include/X11R4
   28720 
   28721 /usr/X386/include
   28722 /usr/x386/include
   28723 /usr/XFree86/include/X11
   28724 
   28725 /usr/include
   28726 /usr/local/include
   28727 /usr/unsupported/include
   28728 /usr/athena/include
   28729 /usr/local/x11r5/include
   28730 /usr/lpp/Xamples/include
   28731 
   28732 /usr/openwin/include
   28733 /usr/openwin/share/include'
   28734 
   28735 if test "$ac_x_includes" = no; then
   28736   # Guess where to find include files, by looking for Xlib.h.
   28737   # First, try using that file with no special directory specified.
   28738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28739 /* end confdefs.h.  */
   28740 #include <X11/Xlib.h>
   28741 _ACEOF
   28742 if ac_fn_c_try_cpp "$LINENO"; then :
   28743   # We can compile using X headers with no special include directory.
   28744 ac_x_includes=
   28745 else
   28746   for ac_dir in $ac_x_header_dirs; do
   28747   if test -r "$ac_dir/X11/Xlib.h"; then
   28748     ac_x_includes=$ac_dir
   28749     break
   28750   fi
   28751 done
   28752 fi
   28753 rm -f conftest.err conftest.i conftest.$ac_ext
   28754 fi # $ac_x_includes = no
   28755 
   28756 if test "$ac_x_libraries" = no; then
   28757   # Check for the libraries.
   28758   # See if we find them without any special options.
   28759   # Don't add to $LIBS permanently.
   28760   ac_save_LIBS=$LIBS
   28761   LIBS="-lX11 $LIBS"
   28762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28763 /* end confdefs.h.  */
   28764 #include <X11/Xlib.h>
   28765 int
   28766 main ()
   28767 {
   28768 XrmInitialize ()
   28769   ;
   28770   return 0;
   28771 }
   28772 _ACEOF
   28773 if ac_fn_c_try_link "$LINENO"; then :
   28774   LIBS=$ac_save_LIBS
   28775 # We can link X programs with no special library path.
   28776 ac_x_libraries=
   28777 else
   28778   LIBS=$ac_save_LIBS
   28779 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
   28780 do
   28781   # Don't even attempt the hair of trying to link an X program!
   28782   for ac_extension in a so sl dylib la dll; do
   28783     if test -r "$ac_dir/libX11.$ac_extension"; then
   28784       ac_x_libraries=$ac_dir
   28785       break 2
   28786     fi
   28787   done
   28788 done
   28789 fi
   28790 rm -f core conftest.err conftest.$ac_objext \
   28791     conftest$ac_exeext conftest.$ac_ext
   28792 fi # $ac_x_libraries = no
   28793 
   28794 case $ac_x_includes,$ac_x_libraries in #(
   28795   no,* | *,no | *\'*)
   28796     # Didn't find X, or a directory has "'" in its name.
   28797     ac_cv_have_x="have_x=no";; #(
   28798   *)
   28799     # Record where we found X for the cache.
   28800     ac_cv_have_x="have_x=yes\
   28801 	ac_x_includes='$ac_x_includes'\
   28802 	ac_x_libraries='$ac_x_libraries'"
   28803 esac
   28804 fi
   28805 ;; #(
   28806     *) have_x=yes;;
   28807   esac
   28808   eval "$ac_cv_have_x"
   28809 fi # $with_x != no
   28810 
   28811 if test "$have_x" != yes; then
   28812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
   28813 $as_echo "$have_x" >&6; }
   28814   no_x=yes
   28815 else
   28816   # If each of the values was on the command line, it overrides each guess.
   28817   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
   28818   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
   28819   # Update the cache value to reflect the command line values.
   28820   ac_cv_have_x="have_x=yes\
   28821 	ac_x_includes='$x_includes'\
   28822 	ac_x_libraries='$x_libraries'"
   28823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
   28824 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
   28825 fi
   28826 
   28827 if test "$no_x" = yes; then
   28828   # Not all programs may use this symbol, but it does not hurt to define it.
   28829 
   28830 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
   28831 
   28832   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
   28833 else
   28834   if test -n "$x_includes"; then
   28835     X_CFLAGS="$X_CFLAGS -I$x_includes"
   28836   fi
   28837 
   28838   # It would also be nice to do this for all -L options, not just this one.
   28839   if test -n "$x_libraries"; then
   28840     X_LIBS="$X_LIBS -L$x_libraries"
   28841     # For Solaris; some versions of Sun CC require a space after -R and
   28842     # others require no space.  Words are not sufficient . . . .
   28843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
   28844 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
   28845     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
   28846     ac_xsave_c_werror_flag=$ac_c_werror_flag
   28847     ac_c_werror_flag=yes
   28848     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28849 /* end confdefs.h.  */
   28850 
   28851 int
   28852 main ()
   28853 {
   28854 
   28855   ;
   28856   return 0;
   28857 }
   28858 _ACEOF
   28859 if ac_fn_c_try_link "$LINENO"; then :
   28860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   28861 $as_echo "no" >&6; }
   28862        X_LIBS="$X_LIBS -R$x_libraries"
   28863 else
   28864   LIBS="$ac_xsave_LIBS -R $x_libraries"
   28865        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28866 /* end confdefs.h.  */
   28867 
   28868 int
   28869 main ()
   28870 {
   28871 
   28872   ;
   28873   return 0;
   28874 }
   28875 _ACEOF
   28876 if ac_fn_c_try_link "$LINENO"; then :
   28877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   28878 $as_echo "yes" >&6; }
   28879 	  X_LIBS="$X_LIBS -R $x_libraries"
   28880 else
   28881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
   28882 $as_echo "neither works" >&6; }
   28883 fi
   28884 rm -f core conftest.err conftest.$ac_objext \
   28885     conftest$ac_exeext conftest.$ac_ext
   28886 fi
   28887 rm -f core conftest.err conftest.$ac_objext \
   28888     conftest$ac_exeext conftest.$ac_ext
   28889     ac_c_werror_flag=$ac_xsave_c_werror_flag
   28890     LIBS=$ac_xsave_LIBS
   28891   fi
   28892 
   28893   # Check for system-dependent libraries X programs must link with.
   28894   # Do this before checking for the system-independent R6 libraries
   28895   # (-lICE), since we may need -lsocket or whatever for X linking.
   28896 
   28897   if test "$ISC" = yes; then
   28898     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
   28899   else
   28900     # Martyn Johnson says this is needed for Ultrix, if the X
   28901     # libraries were built with DECnet support.  And Karl Berry says
   28902     # the Alpha needs dnet_stub (dnet does not exist).
   28903     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
   28904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28905 /* end confdefs.h.  */
   28906 
   28907 /* Override any GCC internal prototype to avoid an error.
   28908    Use char because int might match the return type of a GCC
   28909    builtin and then its argument prototype would still apply.  */
   28910 #ifdef __cplusplus
   28911 extern "C"
   28912 #endif
   28913 char XOpenDisplay ();
   28914 int
   28915 main ()
   28916 {
   28917 return XOpenDisplay ();
   28918   ;
   28919   return 0;
   28920 }
   28921 _ACEOF
   28922 if ac_fn_c_try_link "$LINENO"; then :
   28923 
   28924 else
   28925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
   28926 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
   28927 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
   28928   $as_echo_n "(cached) " >&6
   28929 else
   28930   ac_check_lib_save_LIBS=$LIBS
   28931 LIBS="-ldnet  $LIBS"
   28932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28933 /* end confdefs.h.  */
   28934 
   28935 /* Override any GCC internal prototype to avoid an error.
   28936    Use char because int might match the return type of a GCC
   28937    builtin and then its argument prototype would still apply.  */
   28938 #ifdef __cplusplus
   28939 extern "C"
   28940 #endif
   28941 char dnet_ntoa ();
   28942 int
   28943 main ()
   28944 {
   28945 return dnet_ntoa ();
   28946   ;
   28947   return 0;
   28948 }
   28949 _ACEOF
   28950 if ac_fn_c_try_link "$LINENO"; then :
   28951   ac_cv_lib_dnet_dnet_ntoa=yes
   28952 else
   28953   ac_cv_lib_dnet_dnet_ntoa=no
   28954 fi
   28955 rm -f core conftest.err conftest.$ac_objext \
   28956     conftest$ac_exeext conftest.$ac_ext
   28957 LIBS=$ac_check_lib_save_LIBS
   28958 fi
   28959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
   28960 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
   28961 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
   28962   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
   28963 fi
   28964 
   28965     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
   28966       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
   28967 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
   28968 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
   28969   $as_echo_n "(cached) " >&6
   28970 else
   28971   ac_check_lib_save_LIBS=$LIBS
   28972 LIBS="-ldnet_stub  $LIBS"
   28973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   28974 /* end confdefs.h.  */
   28975 
   28976 /* Override any GCC internal prototype to avoid an error.
   28977    Use char because int might match the return type of a GCC
   28978    builtin and then its argument prototype would still apply.  */
   28979 #ifdef __cplusplus
   28980 extern "C"
   28981 #endif
   28982 char dnet_ntoa ();
   28983 int
   28984 main ()
   28985 {
   28986 return dnet_ntoa ();
   28987   ;
   28988   return 0;
   28989 }
   28990 _ACEOF
   28991 if ac_fn_c_try_link "$LINENO"; then :
   28992   ac_cv_lib_dnet_stub_dnet_ntoa=yes
   28993 else
   28994   ac_cv_lib_dnet_stub_dnet_ntoa=no
   28995 fi
   28996 rm -f core conftest.err conftest.$ac_objext \
   28997     conftest$ac_exeext conftest.$ac_ext
   28998 LIBS=$ac_check_lib_save_LIBS
   28999 fi
   29000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
   29001 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
   29002 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
   29003   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
   29004 fi
   29005 
   29006     fi
   29007 fi
   29008 rm -f core conftest.err conftest.$ac_objext \
   29009     conftest$ac_exeext conftest.$ac_ext
   29010     LIBS="$ac_xsave_LIBS"
   29011 
   29012     # msh (at] cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
   29013     # to get the SysV transport functions.
   29014     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
   29015     # needs -lnsl.
   29016     # The nsl library prevents programs from opening the X display
   29017     # on Irix 5.2, according to T.E. Dickey.
   29018     # The functions gethostbyname, getservbyname, and inet_addr are
   29019     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
   29020     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
   29021 if test "x$ac_cv_func_gethostbyname" = xyes; then :
   29022 
   29023 fi
   29024 
   29025     if test $ac_cv_func_gethostbyname = no; then
   29026       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
   29027 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
   29028 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
   29029   $as_echo_n "(cached) " >&6
   29030 else
   29031   ac_check_lib_save_LIBS=$LIBS
   29032 LIBS="-lnsl  $LIBS"
   29033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29034 /* end confdefs.h.  */
   29035 
   29036 /* Override any GCC internal prototype to avoid an error.
   29037    Use char because int might match the return type of a GCC
   29038    builtin and then its argument prototype would still apply.  */
   29039 #ifdef __cplusplus
   29040 extern "C"
   29041 #endif
   29042 char gethostbyname ();
   29043 int
   29044 main ()
   29045 {
   29046 return gethostbyname ();
   29047   ;
   29048   return 0;
   29049 }
   29050 _ACEOF
   29051 if ac_fn_c_try_link "$LINENO"; then :
   29052   ac_cv_lib_nsl_gethostbyname=yes
   29053 else
   29054   ac_cv_lib_nsl_gethostbyname=no
   29055 fi
   29056 rm -f core conftest.err conftest.$ac_objext \
   29057     conftest$ac_exeext conftest.$ac_ext
   29058 LIBS=$ac_check_lib_save_LIBS
   29059 fi
   29060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
   29061 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
   29062 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
   29063   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
   29064 fi
   29065 
   29066       if test $ac_cv_lib_nsl_gethostbyname = no; then
   29067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
   29068 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
   29069 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
   29070   $as_echo_n "(cached) " >&6
   29071 else
   29072   ac_check_lib_save_LIBS=$LIBS
   29073 LIBS="-lbsd  $LIBS"
   29074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29075 /* end confdefs.h.  */
   29076 
   29077 /* Override any GCC internal prototype to avoid an error.
   29078    Use char because int might match the return type of a GCC
   29079    builtin and then its argument prototype would still apply.  */
   29080 #ifdef __cplusplus
   29081 extern "C"
   29082 #endif
   29083 char gethostbyname ();
   29084 int
   29085 main ()
   29086 {
   29087 return gethostbyname ();
   29088   ;
   29089   return 0;
   29090 }
   29091 _ACEOF
   29092 if ac_fn_c_try_link "$LINENO"; then :
   29093   ac_cv_lib_bsd_gethostbyname=yes
   29094 else
   29095   ac_cv_lib_bsd_gethostbyname=no
   29096 fi
   29097 rm -f core conftest.err conftest.$ac_objext \
   29098     conftest$ac_exeext conftest.$ac_ext
   29099 LIBS=$ac_check_lib_save_LIBS
   29100 fi
   29101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
   29102 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
   29103 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
   29104   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
   29105 fi
   29106 
   29107       fi
   29108     fi
   29109 
   29110     # lieder (at] skyler.mavd.honeywell.com says without -lsocket,
   29111     # socket/setsockopt and other routines are undefined under SCO ODT
   29112     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
   29113     # on later versions), says Simon Leinen: it contains gethostby*
   29114     # variants that don't use the name server (or something).  -lsocket
   29115     # must be given before -lnsl if both are needed.  We assume that
   29116     # if connect needs -lnsl, so does gethostbyname.
   29117     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
   29118 if test "x$ac_cv_func_connect" = xyes; then :
   29119 
   29120 fi
   29121 
   29122     if test $ac_cv_func_connect = no; then
   29123       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
   29124 $as_echo_n "checking for connect in -lsocket... " >&6; }
   29125 if ${ac_cv_lib_socket_connect+:} false; then :
   29126   $as_echo_n "(cached) " >&6
   29127 else
   29128   ac_check_lib_save_LIBS=$LIBS
   29129 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
   29130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29131 /* end confdefs.h.  */
   29132 
   29133 /* Override any GCC internal prototype to avoid an error.
   29134    Use char because int might match the return type of a GCC
   29135    builtin and then its argument prototype would still apply.  */
   29136 #ifdef __cplusplus
   29137 extern "C"
   29138 #endif
   29139 char connect ();
   29140 int
   29141 main ()
   29142 {
   29143 return connect ();
   29144   ;
   29145   return 0;
   29146 }
   29147 _ACEOF
   29148 if ac_fn_c_try_link "$LINENO"; then :
   29149   ac_cv_lib_socket_connect=yes
   29150 else
   29151   ac_cv_lib_socket_connect=no
   29152 fi
   29153 rm -f core conftest.err conftest.$ac_objext \
   29154     conftest$ac_exeext conftest.$ac_ext
   29155 LIBS=$ac_check_lib_save_LIBS
   29156 fi
   29157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
   29158 $as_echo "$ac_cv_lib_socket_connect" >&6; }
   29159 if test "x$ac_cv_lib_socket_connect" = xyes; then :
   29160   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
   29161 fi
   29162 
   29163     fi
   29164 
   29165     # Guillermo Gomez says -lposix is necessary on A/UX.
   29166     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
   29167 if test "x$ac_cv_func_remove" = xyes; then :
   29168 
   29169 fi
   29170 
   29171     if test $ac_cv_func_remove = no; then
   29172       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
   29173 $as_echo_n "checking for remove in -lposix... " >&6; }
   29174 if ${ac_cv_lib_posix_remove+:} false; then :
   29175   $as_echo_n "(cached) " >&6
   29176 else
   29177   ac_check_lib_save_LIBS=$LIBS
   29178 LIBS="-lposix  $LIBS"
   29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29180 /* end confdefs.h.  */
   29181 
   29182 /* Override any GCC internal prototype to avoid an error.
   29183    Use char because int might match the return type of a GCC
   29184    builtin and then its argument prototype would still apply.  */
   29185 #ifdef __cplusplus
   29186 extern "C"
   29187 #endif
   29188 char remove ();
   29189 int
   29190 main ()
   29191 {
   29192 return remove ();
   29193   ;
   29194   return 0;
   29195 }
   29196 _ACEOF
   29197 if ac_fn_c_try_link "$LINENO"; then :
   29198   ac_cv_lib_posix_remove=yes
   29199 else
   29200   ac_cv_lib_posix_remove=no
   29201 fi
   29202 rm -f core conftest.err conftest.$ac_objext \
   29203     conftest$ac_exeext conftest.$ac_ext
   29204 LIBS=$ac_check_lib_save_LIBS
   29205 fi
   29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
   29207 $as_echo "$ac_cv_lib_posix_remove" >&6; }
   29208 if test "x$ac_cv_lib_posix_remove" = xyes; then :
   29209   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
   29210 fi
   29211 
   29212     fi
   29213 
   29214     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
   29215     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   29216 if test "x$ac_cv_func_shmat" = xyes; then :
   29217 
   29218 fi
   29219 
   29220     if test $ac_cv_func_shmat = no; then
   29221       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
   29222 $as_echo_n "checking for shmat in -lipc... " >&6; }
   29223 if ${ac_cv_lib_ipc_shmat+:} false; then :
   29224   $as_echo_n "(cached) " >&6
   29225 else
   29226   ac_check_lib_save_LIBS=$LIBS
   29227 LIBS="-lipc  $LIBS"
   29228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29229 /* end confdefs.h.  */
   29230 
   29231 /* Override any GCC internal prototype to avoid an error.
   29232    Use char because int might match the return type of a GCC
   29233    builtin and then its argument prototype would still apply.  */
   29234 #ifdef __cplusplus
   29235 extern "C"
   29236 #endif
   29237 char shmat ();
   29238 int
   29239 main ()
   29240 {
   29241 return shmat ();
   29242   ;
   29243   return 0;
   29244 }
   29245 _ACEOF
   29246 if ac_fn_c_try_link "$LINENO"; then :
   29247   ac_cv_lib_ipc_shmat=yes
   29248 else
   29249   ac_cv_lib_ipc_shmat=no
   29250 fi
   29251 rm -f core conftest.err conftest.$ac_objext \
   29252     conftest$ac_exeext conftest.$ac_ext
   29253 LIBS=$ac_check_lib_save_LIBS
   29254 fi
   29255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
   29256 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
   29257 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
   29258   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
   29259 fi
   29260 
   29261     fi
   29262   fi
   29263 
   29264   # Check for libraries that X11R6 Xt/Xaw programs need.
   29265   ac_save_LDFLAGS=$LDFLAGS
   29266   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
   29267   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
   29268   # check for ICE first), but we must link in the order -lSM -lICE or
   29269   # we get undefined symbols.  So assume we have SM if we have ICE.
   29270   # These have to be linked with before -lX11, unlike the other
   29271   # libraries we check for below, so use a different variable.
   29272   # John Interrante, Karl Berry
   29273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
   29274 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
   29275 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
   29276   $as_echo_n "(cached) " >&6
   29277 else
   29278   ac_check_lib_save_LIBS=$LIBS
   29279 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
   29280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29281 /* end confdefs.h.  */
   29282 
   29283 /* Override any GCC internal prototype to avoid an error.
   29284    Use char because int might match the return type of a GCC
   29285    builtin and then its argument prototype would still apply.  */
   29286 #ifdef __cplusplus
   29287 extern "C"
   29288 #endif
   29289 char IceConnectionNumber ();
   29290 int
   29291 main ()
   29292 {
   29293 return IceConnectionNumber ();
   29294   ;
   29295   return 0;
   29296 }
   29297 _ACEOF
   29298 if ac_fn_c_try_link "$LINENO"; then :
   29299   ac_cv_lib_ICE_IceConnectionNumber=yes
   29300 else
   29301   ac_cv_lib_ICE_IceConnectionNumber=no
   29302 fi
   29303 rm -f core conftest.err conftest.$ac_objext \
   29304     conftest$ac_exeext conftest.$ac_ext
   29305 LIBS=$ac_check_lib_save_LIBS
   29306 fi
   29307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
   29308 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
   29309 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
   29310   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
   29311 fi
   29312 
   29313   LDFLAGS=$ac_save_LDFLAGS
   29314 
   29315 fi
   29316 
   29317 if test "$no_x" != 'yes'; then
   29318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   29319 $as_echo "-------------------------------------------------------------" >&6; }
   29320     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   29321 $as_echo_n "checking for X11... " >&6; }
   29322     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   29323 $as_echo "" >&6; }
   29324     LDFLAGS="$LDFLAGS $X_LIBS"
   29325     X11_LIBS="$X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
   29326     LIBS="$X11_LIBS $LIBS"
   29327     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
   29328 
   29329 
   29330 $as_echo "#define X11_DELEGATE 1" >>confdefs.h
   29331 
   29332     #
   29333     # Check for X11 shared memory extension
   29334     #
   29335     # shmctl is required to support the shared memory extension
   29336     ac_fn_c_check_func "$LINENO" "shmctl" "ac_cv_func_shmctl"
   29337 if test "x$ac_cv_func_shmctl" = xyes; then :
   29338   have_shmctl='yes'
   29339 fi
   29340 
   29341     if test "$have_shmctl" != 'yes'; then
   29342         PERSIST_LIBS=$LIBS
   29343         LIBS="$LIBS -lcygipc"
   29344         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29345 /* end confdefs.h.  */
   29346 
   29347 /* Override any GCC internal prototype to avoid an error.
   29348    Use char because int might match the return type of a GCC
   29349    builtin and then its argument prototype would still apply.  */
   29350 #ifdef __cplusplus
   29351 extern "C"
   29352 #endif
   29353 char shmctl ();
   29354 int
   29355 main ()
   29356 {
   29357 return shmctl ();
   29358   ;
   29359   return 0;
   29360 }
   29361 _ACEOF
   29362 if ac_fn_c_try_link "$LINENO"; then :
   29363   have_shmctl='yes'; IPC_LIBS='-lcygipc'
   29364 fi
   29365 rm -f core conftest.err conftest.$ac_objext \
   29366     conftest$ac_exeext conftest.$ac_ext
   29367         LIBS=$PERSIST_LIBS
   29368     fi
   29369 
   29370     if test "$have_shmctl" = 'yes'; then
   29371         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
   29372 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
   29373 if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
   29374   $as_echo_n "(cached) " >&6
   29375 else
   29376   ac_check_lib_save_LIBS=$LIBS
   29377 LIBS="-lXext  $LIBS"
   29378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29379 /* end confdefs.h.  */
   29380 
   29381 /* Override any GCC internal prototype to avoid an error.
   29382    Use char because int might match the return type of a GCC
   29383    builtin and then its argument prototype would still apply.  */
   29384 #ifdef __cplusplus
   29385 extern "C"
   29386 #endif
   29387 char XShmAttach ();
   29388 int
   29389 main ()
   29390 {
   29391 return XShmAttach ();
   29392   ;
   29393   return 0;
   29394 }
   29395 _ACEOF
   29396 if ac_fn_c_try_link "$LINENO"; then :
   29397   ac_cv_lib_Xext_XShmAttach=yes
   29398 else
   29399   ac_cv_lib_Xext_XShmAttach=no
   29400 fi
   29401 rm -f core conftest.err conftest.$ac_objext \
   29402     conftest$ac_exeext conftest.$ac_ext
   29403 LIBS=$ac_check_lib_save_LIBS
   29404 fi
   29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
   29406 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
   29407 if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
   29408   XEXT_LIBS='-lXext' ;
   29409 $as_echo "#define HAVE_SHARED_MEMORY 1" >>confdefs.h
   29410 
   29411 fi
   29412 
   29413     fi
   29414 
   29415     #
   29416     # Check for X11 shape extension
   29417     #
   29418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeCombineMask in -lXext" >&5
   29419 $as_echo_n "checking for XShapeCombineMask in -lXext... " >&6; }
   29420 if ${ac_cv_lib_Xext_XShapeCombineMask+:} false; then :
   29421   $as_echo_n "(cached) " >&6
   29422 else
   29423   ac_check_lib_save_LIBS=$LIBS
   29424 LIBS="-lXext  $LIBS"
   29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29426 /* end confdefs.h.  */
   29427 
   29428 /* Override any GCC internal prototype to avoid an error.
   29429    Use char because int might match the return type of a GCC
   29430    builtin and then its argument prototype would still apply.  */
   29431 #ifdef __cplusplus
   29432 extern "C"
   29433 #endif
   29434 char XShapeCombineMask ();
   29435 int
   29436 main ()
   29437 {
   29438 return XShapeCombineMask ();
   29439   ;
   29440   return 0;
   29441 }
   29442 _ACEOF
   29443 if ac_fn_c_try_link "$LINENO"; then :
   29444   ac_cv_lib_Xext_XShapeCombineMask=yes
   29445 else
   29446   ac_cv_lib_Xext_XShapeCombineMask=no
   29447 fi
   29448 rm -f core conftest.err conftest.$ac_objext \
   29449     conftest$ac_exeext conftest.$ac_ext
   29450 LIBS=$ac_check_lib_save_LIBS
   29451 fi
   29452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeCombineMask" >&5
   29453 $as_echo "$ac_cv_lib_Xext_XShapeCombineMask" >&6; }
   29454 if test "x$ac_cv_lib_Xext_XShapeCombineMask" = xyes; then :
   29455   XEXT_LIBS='-lXext' ;
   29456 $as_echo "#define HAVE_SHAPE 1" >>confdefs.h
   29457 
   29458 fi
   29459 
   29460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtSetEventDispatcher in -lXt" >&5
   29461 $as_echo_n "checking for XtSetEventDispatcher in -lXt... " >&6; }
   29462 if ${ac_cv_lib_Xt_XtSetEventDispatcher+:} false; then :
   29463   $as_echo_n "(cached) " >&6
   29464 else
   29465   ac_check_lib_save_LIBS=$LIBS
   29466 LIBS="-lXt  $LIBS"
   29467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29468 /* end confdefs.h.  */
   29469 
   29470 /* Override any GCC internal prototype to avoid an error.
   29471    Use char because int might match the return type of a GCC
   29472    builtin and then its argument prototype would still apply.  */
   29473 #ifdef __cplusplus
   29474 extern "C"
   29475 #endif
   29476 char XtSetEventDispatcher ();
   29477 int
   29478 main ()
   29479 {
   29480 return XtSetEventDispatcher ();
   29481   ;
   29482   return 0;
   29483 }
   29484 _ACEOF
   29485 if ac_fn_c_try_link "$LINENO"; then :
   29486   ac_cv_lib_Xt_XtSetEventDispatcher=yes
   29487 else
   29488   ac_cv_lib_Xt_XtSetEventDispatcher=no
   29489 fi
   29490 rm -f core conftest.err conftest.$ac_objext \
   29491     conftest$ac_exeext conftest.$ac_ext
   29492 LIBS=$ac_check_lib_save_LIBS
   29493 fi
   29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtSetEventDispatcher" >&5
   29495 $as_echo "$ac_cv_lib_Xt_XtSetEventDispatcher" >&6; }
   29496 if test "x$ac_cv_lib_Xt_XtSetEventDispatcher" = xyes; then :
   29497   XT_LIBS='-lXt'
   29498 fi
   29499 
   29500     LIBS="$XEXT_LIBS $XT_LIBS $LIBS"
   29501 fi
   29502 if test "$no_x" != 'yes'; then
   29503   have_x='yes'
   29504 else
   29505   have_x='no'
   29506 fi
   29507  if test "$have_x" = 'yes'; then
   29508   X11_DELEGATE_TRUE=
   29509   X11_DELEGATE_FALSE='#'
   29510 else
   29511   X11_DELEGATE_TRUE='#'
   29512   X11_DELEGATE_FALSE=
   29513 fi
   29514 
   29515 
   29516 
   29517 
   29518 
   29519 #
   29520 # Check for ZLIB
   29521 #
   29522 
   29523 # Check whether --with-zlib was given.
   29524 if test "${with_zlib+set}" = set; then :
   29525   withval=$with_zlib; with_zlib=$withval
   29526 else
   29527   with_zlib='yes'
   29528 fi
   29529 
   29530 
   29531 if test "$with_zlib" != 'yes'; then
   29532     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zlib=$with_zlib "
   29533 fi
   29534 
   29535 have_zlib='no'
   29536 ZLIB_CFLAGS=""
   29537 ZLIB_LIBS=""
   29538 ZLIB_PKG=""
   29539 if test "x$with_zlib" = "xyes"; then
   29540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   29541 $as_echo "-------------------------------------------------------------" >&6; }
   29542 
   29543 pkg_failed=no
   29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.0.0" >&5
   29545 $as_echo_n "checking for zlib >= 1.0.0... " >&6; }
   29546 
   29547 if test -n "$ZLIB_CFLAGS"; then
   29548     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   29549  elif test -n "$PKG_CONFIG"; then
   29550     if test -n "$PKG_CONFIG" && \
   29551     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
   29552   ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
   29553   ac_status=$?
   29554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29555   test $ac_status = 0; }; then
   29556   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.0.0" 2>/dev/null`
   29557 		      test "x$?" != "x0" && pkg_failed=yes
   29558 else
   29559   pkg_failed=yes
   29560 fi
   29561  else
   29562     pkg_failed=untried
   29563 fi
   29564 if test -n "$ZLIB_LIBS"; then
   29565     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   29566  elif test -n "$PKG_CONFIG"; then
   29567     if test -n "$PKG_CONFIG" && \
   29568     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.0.0\""; } >&5
   29569   ($PKG_CONFIG --exists --print-errors "zlib >= 1.0.0") 2>&5
   29570   ac_status=$?
   29571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29572   test $ac_status = 0; }; then
   29573   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.0.0" 2>/dev/null`
   29574 		      test "x$?" != "x0" && pkg_failed=yes
   29575 else
   29576   pkg_failed=yes
   29577 fi
   29578  else
   29579     pkg_failed=untried
   29580 fi
   29581 
   29582 
   29583 
   29584 if test $pkg_failed = yes; then
   29585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29586 $as_echo "no" >&6; }
   29587 
   29588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   29589         _pkg_short_errors_supported=yes
   29590 else
   29591         _pkg_short_errors_supported=no
   29592 fi
   29593         if test $_pkg_short_errors_supported = yes; then
   29594 	        ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
   29595         else
   29596 	        ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.0.0" 2>&1`
   29597         fi
   29598 	# Put the nasty error message in config.log where it belongs
   29599 	echo "$ZLIB_PKG_ERRORS" >&5
   29600 
   29601 	have_zlib=no
   29602 elif test $pkg_failed = untried; then
   29603         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29604 $as_echo "no" >&6; }
   29605 	have_zlib=no
   29606 else
   29607 	ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   29608 	ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   29609         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29610 $as_echo "yes" >&6; }
   29611 	have_zlib=yes
   29612 fi
   29613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   29614 $as_echo "" >&6; }
   29615 fi
   29616 
   29617 if test "$have_zlib" = 'yes'; then
   29618 
   29619 $as_echo "#define ZLIB_DELEGATE 1" >>confdefs.h
   29620 
   29621   CFLAGS="$ZLIB_CFLAGS $CFLAGS"
   29622   LIBS="$ZLIB_LIBS $LIBS"
   29623 fi
   29624 
   29625  if test "$have_zlib" = 'yes'; then
   29626   ZLIB_DELEGATE_TRUE=
   29627   ZLIB_DELEGATE_FALSE='#'
   29628 else
   29629   ZLIB_DELEGATE_TRUE='#'
   29630   ZLIB_DELEGATE_FALSE=
   29631 fi
   29632 
   29633 
   29634 
   29635 
   29636 
   29637 #
   29638 # Check for ZSTD
   29639 #
   29640 
   29641 # Check whether --with-zstd was given.
   29642 if test "${with_zstd+set}" = set; then :
   29643   withval=$with_zstd; with_zstd=$withval
   29644 else
   29645   with_zstd='yes'
   29646 fi
   29647 
   29648 
   29649 if test "$with_zstd" != 'yes'; then
   29650     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zstd=$with_zstd "
   29651 fi
   29652 
   29653 have_zstd='no'
   29654 ZSTD_CFLAGS=""
   29655 ZSTD_LIBS=""
   29656 ZSTD_PKG=""
   29657 if test "x$with_zstd" = "xyes"; then
   29658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   29659 $as_echo "-------------------------------------------------------------" >&6; }
   29660 
   29661 pkg_failed=no
   29662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd >= 1.0.0" >&5
   29663 $as_echo_n "checking for libzstd >= 1.0.0... " >&6; }
   29664 
   29665 if test -n "$LIBZSTD_CFLAGS"; then
   29666     pkg_cv_LIBZSTD_CFLAGS="$LIBZSTD_CFLAGS"
   29667  elif test -n "$PKG_CONFIG"; then
   29668     if test -n "$PKG_CONFIG" && \
   29669     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.0.0\""; } >&5
   29670   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.0.0") 2>&5
   29671   ac_status=$?
   29672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29673   test $ac_status = 0; }; then
   29674   pkg_cv_LIBZSTD_CFLAGS=`$PKG_CONFIG --cflags "libzstd >= 1.0.0" 2>/dev/null`
   29675 		      test "x$?" != "x0" && pkg_failed=yes
   29676 else
   29677   pkg_failed=yes
   29678 fi
   29679  else
   29680     pkg_failed=untried
   29681 fi
   29682 if test -n "$LIBZSTD_LIBS"; then
   29683     pkg_cv_LIBZSTD_LIBS="$LIBZSTD_LIBS"
   29684  elif test -n "$PKG_CONFIG"; then
   29685     if test -n "$PKG_CONFIG" && \
   29686     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzstd >= 1.0.0\""; } >&5
   29687   ($PKG_CONFIG --exists --print-errors "libzstd >= 1.0.0") 2>&5
   29688   ac_status=$?
   29689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29690   test $ac_status = 0; }; then
   29691   pkg_cv_LIBZSTD_LIBS=`$PKG_CONFIG --libs "libzstd >= 1.0.0" 2>/dev/null`
   29692 		      test "x$?" != "x0" && pkg_failed=yes
   29693 else
   29694   pkg_failed=yes
   29695 fi
   29696  else
   29697     pkg_failed=untried
   29698 fi
   29699 
   29700 
   29701 
   29702 if test $pkg_failed = yes; then
   29703         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29704 $as_echo "no" >&6; }
   29705 
   29706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   29707         _pkg_short_errors_supported=yes
   29708 else
   29709         _pkg_short_errors_supported=no
   29710 fi
   29711         if test $_pkg_short_errors_supported = yes; then
   29712 	        LIBZSTD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzstd >= 1.0.0" 2>&1`
   29713         else
   29714 	        LIBZSTD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzstd >= 1.0.0" 2>&1`
   29715         fi
   29716 	# Put the nasty error message in config.log where it belongs
   29717 	echo "$LIBZSTD_PKG_ERRORS" >&5
   29718 
   29719 	have_zstd=no
   29720 elif test $pkg_failed = untried; then
   29721         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29722 $as_echo "no" >&6; }
   29723 	have_zstd=no
   29724 else
   29725 	LIBZSTD_CFLAGS=$pkg_cv_LIBZSTD_CFLAGS
   29726 	LIBZSTD_LIBS=$pkg_cv_LIBZSTD_LIBS
   29727         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29728 $as_echo "yes" >&6; }
   29729 	have_zstd=yes
   29730 fi
   29731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   29732 $as_echo "" >&6; }
   29733 fi
   29734 
   29735 if test "$have_zstd" = 'yes'; then
   29736 
   29737 $as_echo "#define ZSTD_DELEGATE 1" >>confdefs.h
   29738 
   29739   CFLAGS="$ZSTD_CFLAGS $CFLAGS"
   29740   LIBS="$ZSTD_LIBS $LIBS"
   29741 fi
   29742 
   29743  if test "$have_zstd" = 'yes'; then
   29744   ZSTD_DELEGATE_TRUE=
   29745   ZSTD_DELEGATE_FALSE='#'
   29746 else
   29747   ZSTD_DELEGATE_TRUE='#'
   29748   ZSTD_DELEGATE_FALSE=
   29749 fi
   29750 
   29751 
   29752 
   29753 
   29754 
   29755 # whether modules are built or not.
   29756 with_ltdl='yes'
   29757 have_ltdl='no'
   29758 LTDL_LIBS=''
   29759 if test "$build_modules" != 'no' || test "X$ax_cv_check_cl_libcl" != Xno; then
   29760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   29761 $as_echo "-------------------------------------------------------------" >&6; }
   29762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libltdl" >&5
   29763 $as_echo_n "checking for libltdl... " >&6; }
   29764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   29765 $as_echo "" >&6; }
   29766   failed=0
   29767   passed=0
   29768   ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
   29769 if test "x$ac_cv_header_ltdl_h" = xyes; then :
   29770   passed=`expr $passed + 1`
   29771 else
   29772   failed=`expr $failed + 1`
   29773 fi
   29774 
   29775 
   29776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlinit in -lltdl" >&5
   29777 $as_echo_n "checking for lt_dlinit in -lltdl... " >&6; }
   29778 if ${ac_cv_lib_ltdl_lt_dlinit+:} false; then :
   29779   $as_echo_n "(cached) " >&6
   29780 else
   29781   ac_check_lib_save_LIBS=$LIBS
   29782 LIBS="-lltdl  $LIBS"
   29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29784 /* end confdefs.h.  */
   29785 
   29786 /* Override any GCC internal prototype to avoid an error.
   29787    Use char because int might match the return type of a GCC
   29788    builtin and then its argument prototype would still apply.  */
   29789 #ifdef __cplusplus
   29790 extern "C"
   29791 #endif
   29792 char lt_dlinit ();
   29793 int
   29794 main ()
   29795 {
   29796 return lt_dlinit ();
   29797   ;
   29798   return 0;
   29799 }
   29800 _ACEOF
   29801 if ac_fn_c_try_link "$LINENO"; then :
   29802   ac_cv_lib_ltdl_lt_dlinit=yes
   29803 else
   29804   ac_cv_lib_ltdl_lt_dlinit=no
   29805 fi
   29806 rm -f core conftest.err conftest.$ac_objext \
   29807     conftest$ac_exeext conftest.$ac_ext
   29808 LIBS=$ac_check_lib_save_LIBS
   29809 fi
   29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
   29811 $as_echo "$ac_cv_lib_ltdl_lt_dlinit" >&6; }
   29812 if test "x$ac_cv_lib_ltdl_lt_dlinit" = xyes; then :
   29813   passed=`expr $passed + 1`
   29814 else
   29815   failed=`expr $failed + 1`
   29816 fi
   29817 
   29818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libltdl package is complete" >&5
   29819 $as_echo_n "checking if libltdl package is complete... " >&6; }
   29820   if test $passed -gt 0 ; then
   29821     if test $failed -gt 0 ; then
   29822       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   29823 $as_echo "no -- some components failed test" >&6; }
   29824       have_ltdl='no (failed tests)'
   29825     else
   29826       LTDL_LIBS='-lltdl'
   29827       LIBS="$LTDL_LIBS $LIBS"
   29828 
   29829 $as_echo "#define LTDL_DELEGATE 1" >>confdefs.h
   29830 
   29831 
   29832 cat >>confdefs.h <<_ACEOF
   29833 #define LTDL_MODULE_EXT "${shrext_cmds}"
   29834 _ACEOF
   29835 
   29836       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   29837 $as_echo "yes" >&6; }
   29838       have_ltdl='yes'
   29839     fi
   29840   else
   29841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29842 $as_echo "no" >&6; }
   29843   fi
   29844   if test "$have_ltdl" != 'yes' ; then
   29845     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   29846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   29847 as_fn_error 1 "libltdl is required for modules and OpenCL builds
   29848 See \`config.log' for more details" "$LINENO" 5; }
   29849   fi
   29850 fi
   29851  if test "$have_ltdl" != 'no'; then
   29852   WITH_LTDL_TRUE=
   29853   WITH_LTDL_FALSE='#'
   29854 else
   29855   WITH_LTDL_TRUE='#'
   29856   WITH_LTDL_FALSE=
   29857 fi
   29858 
   29859 
   29860 #
   29861 # If profiling, then check for -ldl and dlopen (required for Solaris & gcc)
   29862 #
   29863 LIB_DL=''
   29864 if test "$enable_profiling" = 'yes'; then
   29865     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   29866 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   29867 if ${ac_cv_lib_dl_dlopen+:} false; then :
   29868   $as_echo_n "(cached) " >&6
   29869 else
   29870   ac_check_lib_save_LIBS=$LIBS
   29871 LIBS="-ldl  $LIBS"
   29872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   29873 /* end confdefs.h.  */
   29874 
   29875 /* Override any GCC internal prototype to avoid an error.
   29876    Use char because int might match the return type of a GCC
   29877    builtin and then its argument prototype would still apply.  */
   29878 #ifdef __cplusplus
   29879 extern "C"
   29880 #endif
   29881 char dlopen ();
   29882 int
   29883 main ()
   29884 {
   29885 return dlopen ();
   29886   ;
   29887   return 0;
   29888 }
   29889 _ACEOF
   29890 if ac_fn_c_try_link "$LINENO"; then :
   29891   ac_cv_lib_dl_dlopen=yes
   29892 else
   29893   ac_cv_lib_dl_dlopen=no
   29894 fi
   29895 rm -f core conftest.err conftest.$ac_objext \
   29896     conftest$ac_exeext conftest.$ac_ext
   29897 LIBS=$ac_check_lib_save_LIBS
   29898 fi
   29899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   29900 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   29901 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   29902   LIB_DL='-ldl'
   29903 fi
   29904 
   29905     LIBS="$LIB_DL $LIBS"
   29906 fi
   29907 
   29908 
   29909 
   29910 #
   29911 # Set Apple font directory.
   29912 #
   29913 
   29914 # Check whether --with-apple-font-dir was given.
   29915 if test "${with_apple_font_dir+set}" = set; then :
   29916   withval=$with_apple_font_dir; with_apple_font_dir=$withval
   29917 else
   29918   with_apple_font_dir='default'
   29919 fi
   29920 
   29921 
   29922 if test "$with_apple_font_dir" != 'default'; then
   29923     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-apple-font-dir=$with_apple_font_dir "
   29924 fi
   29925 
   29926 
   29927 #
   29928 # Check for Autotrace delegate library.
   29929 #
   29930 
   29931 # Check whether --with-autotrace was given.
   29932 if test "${with_autotrace+set}" = set; then :
   29933   withval=$with_autotrace; with_autotrace=$withval
   29934 else
   29935   with_autotrace='no'
   29936 fi
   29937 
   29938 
   29939 if test "$with_autotrace" != 'yes'; then
   29940     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-autotrace=$with_autotrace "
   29941 fi
   29942 
   29943 have_autotrace='no'
   29944 AUTOTRACE_CFLAGS=""
   29945 AUTOTRACE_LIBS=""
   29946 AUTOTRACE_PKG=""
   29947 if test "x$with_autotrace" = "xyes"; then
   29948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   29949 $as_echo "-------------------------------------------------------------" >&6; }
   29950 
   29951 pkg_failed=no
   29952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autotrace >= 0.31.1" >&5
   29953 $as_echo_n "checking for autotrace >= 0.31.1... " >&6; }
   29954 
   29955 if test -n "$AUTOTRACE_CFLAGS"; then
   29956     pkg_cv_AUTOTRACE_CFLAGS="$AUTOTRACE_CFLAGS"
   29957  elif test -n "$PKG_CONFIG"; then
   29958     if test -n "$PKG_CONFIG" && \
   29959     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"autotrace >= 0.31.1\""; } >&5
   29960   ($PKG_CONFIG --exists --print-errors "autotrace >= 0.31.1") 2>&5
   29961   ac_status=$?
   29962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29963   test $ac_status = 0; }; then
   29964   pkg_cv_AUTOTRACE_CFLAGS=`$PKG_CONFIG --cflags "autotrace >= 0.31.1" 2>/dev/null`
   29965 		      test "x$?" != "x0" && pkg_failed=yes
   29966 else
   29967   pkg_failed=yes
   29968 fi
   29969  else
   29970     pkg_failed=untried
   29971 fi
   29972 if test -n "$AUTOTRACE_LIBS"; then
   29973     pkg_cv_AUTOTRACE_LIBS="$AUTOTRACE_LIBS"
   29974  elif test -n "$PKG_CONFIG"; then
   29975     if test -n "$PKG_CONFIG" && \
   29976     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"autotrace >= 0.31.1\""; } >&5
   29977   ($PKG_CONFIG --exists --print-errors "autotrace >= 0.31.1") 2>&5
   29978   ac_status=$?
   29979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   29980   test $ac_status = 0; }; then
   29981   pkg_cv_AUTOTRACE_LIBS=`$PKG_CONFIG --libs "autotrace >= 0.31.1" 2>/dev/null`
   29982 		      test "x$?" != "x0" && pkg_failed=yes
   29983 else
   29984   pkg_failed=yes
   29985 fi
   29986  else
   29987     pkg_failed=untried
   29988 fi
   29989 
   29990 
   29991 
   29992 if test $pkg_failed = yes; then
   29993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   29994 $as_echo "no" >&6; }
   29995 
   29996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   29997         _pkg_short_errors_supported=yes
   29998 else
   29999         _pkg_short_errors_supported=no
   30000 fi
   30001         if test $_pkg_short_errors_supported = yes; then
   30002 	        AUTOTRACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "autotrace >= 0.31.1" 2>&1`
   30003         else
   30004 	        AUTOTRACE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "autotrace >= 0.31.1" 2>&1`
   30005         fi
   30006 	# Put the nasty error message in config.log where it belongs
   30007 	echo "$AUTOTRACE_PKG_ERRORS" >&5
   30008 
   30009 	have_autotrace=no
   30010 elif test $pkg_failed = untried; then
   30011         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30012 $as_echo "no" >&6; }
   30013 	have_autotrace=no
   30014 else
   30015 	AUTOTRACE_CFLAGS=$pkg_cv_AUTOTRACE_CFLAGS
   30016 	AUTOTRACE_LIBS=$pkg_cv_AUTOTRACE_LIBS
   30017         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30018 $as_echo "yes" >&6; }
   30019 	have_autotrace=yes
   30020 fi
   30021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30022 $as_echo "" >&6; }
   30023 fi
   30024 
   30025 if test "$have_autotrace" = 'yes'; then
   30026 
   30027 $as_echo "#define AUTOTRACE_DELEGATE 1" >>confdefs.h
   30028 
   30029   CFLAGS="$AUTOTRACE_CFLAGS $CFLAGS"
   30030 fi
   30031 
   30032  if test "$have_autotrace" = 'yes'; then
   30033   AUTOTRACE_DELEGATE_TRUE=
   30034   AUTOTRACE_DELEGATE_FALSE='#'
   30035 else
   30036   AUTOTRACE_DELEGATE_TRUE='#'
   30037   AUTOTRACE_DELEGATE_FALSE=
   30038 fi
   30039 
   30040 
   30041 
   30042 
   30043 
   30044 #
   30045 # Check for Display Postscript delegate library.
   30046 #
   30047 
   30048 # Check whether --with-dps was given.
   30049 if test "${with_dps+set}" = set; then :
   30050   withval=$with_dps; with_dps=$withval
   30051 else
   30052   with_dps='yes'
   30053 fi
   30054 
   30055 
   30056 if test "$with_dps" != 'yes'; then
   30057     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dps=$with_dps "
   30058 fi
   30059 
   30060 have_dps='no'
   30061 DPS_LIBS=''
   30062 if test "$with_dps" != 'no' && test "$with_x" != 'no'; then
   30063     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30064 $as_echo "-------------------------------------------------------------" >&6; }
   30065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPS" >&5
   30066 $as_echo_n "checking for DPS... " >&6; }
   30067     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30068 $as_echo "" >&6; }
   30069     failed=0
   30070     passed=0
   30071     PERSIST_CPPFLAGS="$CPPFLAGS"
   30072     CPPFLAGS="$CPPFLAGS -I${ac_x_includes}/X11"
   30073     ac_fn_c_check_header_mongrel "$LINENO" "DPS/dpsXclient.h" "ac_cv_header_DPS_dpsXclient_h" "$ac_includes_default"
   30074 if test "x$ac_cv_header_DPS_dpsXclient_h" = xyes; then :
   30075   passed=`expr $passed + 1`
   30076 else
   30077   failed=`expr $failed + 1`
   30078 fi
   30079 
   30080 
   30081     # DPS issues:
   30082     # XFree86-4.x needs -lXt to provide XtMalloc for -ldps.
   30083     # Cygwin doesn't deliver -lXt as a DLL, which prevents a DLL build.
   30084     # Adobe DPS (as delivered on Solaris) doesn't require -lXt.
   30085     # ImageMagick itself doesn't use -lXt.
   30086     have_libdps='no'
   30087     LIBDPS_XT=''
   30088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPSInitialize in -ldps" >&5
   30089 $as_echo_n "checking for DPSInitialize in -ldps... " >&6; }
   30090 if ${ac_cv_lib_dps_DPSInitialize+:} false; then :
   30091   $as_echo_n "(cached) " >&6
   30092 else
   30093   ac_check_lib_save_LIBS=$LIBS
   30094 LIBS="-ldps  $LIBS"
   30095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   30096 /* end confdefs.h.  */
   30097 
   30098 /* Override any GCC internal prototype to avoid an error.
   30099    Use char because int might match the return type of a GCC
   30100    builtin and then its argument prototype would still apply.  */
   30101 #ifdef __cplusplus
   30102 extern "C"
   30103 #endif
   30104 char DPSInitialize ();
   30105 int
   30106 main ()
   30107 {
   30108 return DPSInitialize ();
   30109   ;
   30110   return 0;
   30111 }
   30112 _ACEOF
   30113 if ac_fn_c_try_link "$LINENO"; then :
   30114   ac_cv_lib_dps_DPSInitialize=yes
   30115 else
   30116   ac_cv_lib_dps_DPSInitialize=no
   30117 fi
   30118 rm -f core conftest.err conftest.$ac_objext \
   30119     conftest$ac_exeext conftest.$ac_ext
   30120 LIBS=$ac_check_lib_save_LIBS
   30121 fi
   30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dps_DPSInitialize" >&5
   30123 $as_echo "$ac_cv_lib_dps_DPSInitialize" >&6; }
   30124 if test "x$ac_cv_lib_dps_DPSInitialize" = xyes; then :
   30125   have_libdps='yes'
   30126 else
   30127   have_libdps='no'
   30128 fi
   30129 
   30130     if test "$have_libdps" != 'yes'; then
   30131         # Unset cache variable so we can try again.
   30132         unset ac_cv_lib_dps_DPSInitialize
   30133         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPSInitialize in -ldps" >&5
   30134 $as_echo_n "checking for DPSInitialize in -ldps... " >&6; }
   30135 if ${ac_cv_lib_dps_DPSInitialize+:} false; then :
   30136   $as_echo_n "(cached) " >&6
   30137 else
   30138   ac_check_lib_save_LIBS=$LIBS
   30139 LIBS="-ldps -lXt $LIBS"
   30140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   30141 /* end confdefs.h.  */
   30142 
   30143 /* Override any GCC internal prototype to avoid an error.
   30144    Use char because int might match the return type of a GCC
   30145    builtin and then its argument prototype would still apply.  */
   30146 #ifdef __cplusplus
   30147 extern "C"
   30148 #endif
   30149 char DPSInitialize ();
   30150 int
   30151 main ()
   30152 {
   30153 return DPSInitialize ();
   30154   ;
   30155   return 0;
   30156 }
   30157 _ACEOF
   30158 if ac_fn_c_try_link "$LINENO"; then :
   30159   ac_cv_lib_dps_DPSInitialize=yes
   30160 else
   30161   ac_cv_lib_dps_DPSInitialize=no
   30162 fi
   30163 rm -f core conftest.err conftest.$ac_objext \
   30164     conftest$ac_exeext conftest.$ac_ext
   30165 LIBS=$ac_check_lib_save_LIBS
   30166 fi
   30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dps_DPSInitialize" >&5
   30168 $as_echo "$ac_cv_lib_dps_DPSInitialize" >&6; }
   30169 if test "x$ac_cv_lib_dps_DPSInitialize" = xyes; then :
   30170   have_libdps='yes'
   30171 else
   30172   have_libdps='no'
   30173 fi
   30174 
   30175         if test "$have_libdps" = 'yes'; then
   30176             LIBDPS_XT='-lXt'
   30177         fi
   30178     fi
   30179     if test "$have_libdps" = 'yes'; then
   30180         passed=`expr $passed + 1`
   30181     else
   30182         failed=`expr $failed + 1`
   30183     fi
   30184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDPSPixelsPerPoint in -ldpstk" >&5
   30185 $as_echo_n "checking for XDPSPixelsPerPoint in -ldpstk... " >&6; }
   30186 if ${ac_cv_lib_dpstk_XDPSPixelsPerPoint+:} false; then :
   30187   $as_echo_n "(cached) " >&6
   30188 else
   30189   ac_check_lib_save_LIBS=$LIBS
   30190 LIBS="-ldpstk -ldps $LIBDPS_XT $LIBS"
   30191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   30192 /* end confdefs.h.  */
   30193 
   30194 /* Override any GCC internal prototype to avoid an error.
   30195    Use char because int might match the return type of a GCC
   30196    builtin and then its argument prototype would still apply.  */
   30197 #ifdef __cplusplus
   30198 extern "C"
   30199 #endif
   30200 char XDPSPixelsPerPoint ();
   30201 int
   30202 main ()
   30203 {
   30204 return XDPSPixelsPerPoint ();
   30205   ;
   30206   return 0;
   30207 }
   30208 _ACEOF
   30209 if ac_fn_c_try_link "$LINENO"; then :
   30210   ac_cv_lib_dpstk_XDPSPixelsPerPoint=yes
   30211 else
   30212   ac_cv_lib_dpstk_XDPSPixelsPerPoint=no
   30213 fi
   30214 rm -f core conftest.err conftest.$ac_objext \
   30215     conftest$ac_exeext conftest.$ac_ext
   30216 LIBS=$ac_check_lib_save_LIBS
   30217 fi
   30218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dpstk_XDPSPixelsPerPoint" >&5
   30219 $as_echo "$ac_cv_lib_dpstk_XDPSPixelsPerPoint" >&6; }
   30220 if test "x$ac_cv_lib_dpstk_XDPSPixelsPerPoint" = xyes; then :
   30221   passed=`expr $passed + 1`
   30222 else
   30223   failed=`expr $failed + 1`
   30224 fi
   30225 
   30226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPS package is complete" >&5
   30227 $as_echo_n "checking if DPS package is complete... " >&6; }
   30228     if test $passed -gt 0; then
   30229         if test $failed -gt 0; then
   30230             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   30231 $as_echo "no -- some components failed test" >&6; }
   30232             have_dps='no (failed tests)'
   30233             CPPFLAGS="$PERSIST_CPPFLAGS"
   30234         else
   30235             DPS_LIBS="-ldpstk -ldps ${LIBDPS_XT}"
   30236             LIBS="$DPS_LIBS $LIBS"
   30237 
   30238 $as_echo "#define DPS_DELEGATE 1" >>confdefs.h
   30239 
   30240             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30241 $as_echo "yes" >&6; }
   30242             have_dps='yes'
   30243         fi
   30244     else
   30245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30246 $as_echo "no" >&6; }
   30247         CPPFLAGS=$PERSIST_CPPFLAGS
   30248     fi
   30249 fi
   30250  if test "$have_dps" = 'yes'; then
   30251   DPS_DELEGATE_TRUE=
   30252   DPS_DELEGATE_FALSE='#'
   30253 else
   30254   DPS_DELEGATE_TRUE='#'
   30255   DPS_DELEGATE_FALSE=
   30256 fi
   30257 
   30258 
   30259 
   30260 
   30261 #
   30262 # Set DejaVu font directory.
   30263 #
   30264 
   30265 # Check whether --with-dejavu-font-dir was given.
   30266 if test "${with_dejavu_font_dir+set}" = set; then :
   30267   withval=$with_dejavu_font_dir; with_dejavu_font_dir=$withval
   30268 else
   30269   with_dejavu_font_dir='default'
   30270 fi
   30271 
   30272 
   30273 if test "$with_dejavu_font_dir" != 'default'; then
   30274     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dejavu-font-dir=$with_dejavu_font_dir "
   30275 fi
   30276 
   30277 
   30278 #
   30279 # Check for FFTW delegate library.
   30280 #
   30281 
   30282 # Check whether --with-fftw was given.
   30283 if test "${with_fftw+set}" = set; then :
   30284   withval=$with_fftw; with_fftw=$withval
   30285 else
   30286   with_fftw='yes'
   30287 fi
   30288 
   30289 
   30290 if test "$with_fftw" != 'yes'; then
   30291     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fftw=$with_fftw "
   30292 fi
   30293 
   30294 have_fftw='no'
   30295 FFTW_CFLAGS=""
   30296 FFTW_LIBS=""
   30297 FFTW_PKG=""
   30298 if test "x$with_fftw" = "xyes"; then
   30299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30300 $as_echo "-------------------------------------------------------------" >&6; }
   30301 
   30302 pkg_failed=no
   30303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3 >= 3.0.0" >&5
   30304 $as_echo_n "checking for fftw3 >= 3.0.0... " >&6; }
   30305 
   30306 if test -n "$fftw3_CFLAGS"; then
   30307     pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS"
   30308  elif test -n "$PKG_CONFIG"; then
   30309     if test -n "$PKG_CONFIG" && \
   30310     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.0.0\""; } >&5
   30311   ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.0.0") 2>&5
   30312   ac_status=$?
   30313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30314   test $ac_status = 0; }; then
   30315   pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "fftw3 >= 3.0.0" 2>/dev/null`
   30316 		      test "x$?" != "x0" && pkg_failed=yes
   30317 else
   30318   pkg_failed=yes
   30319 fi
   30320  else
   30321     pkg_failed=untried
   30322 fi
   30323 if test -n "$fftw3_LIBS"; then
   30324     pkg_cv_fftw3_LIBS="$fftw3_LIBS"
   30325  elif test -n "$PKG_CONFIG"; then
   30326     if test -n "$PKG_CONFIG" && \
   30327     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3 >= 3.0.0\""; } >&5
   30328   ($PKG_CONFIG --exists --print-errors "fftw3 >= 3.0.0") 2>&5
   30329   ac_status=$?
   30330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30331   test $ac_status = 0; }; then
   30332   pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "fftw3 >= 3.0.0" 2>/dev/null`
   30333 		      test "x$?" != "x0" && pkg_failed=yes
   30334 else
   30335   pkg_failed=yes
   30336 fi
   30337  else
   30338     pkg_failed=untried
   30339 fi
   30340 
   30341 
   30342 
   30343 if test $pkg_failed = yes; then
   30344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30345 $as_echo "no" >&6; }
   30346 
   30347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   30348         _pkg_short_errors_supported=yes
   30349 else
   30350         _pkg_short_errors_supported=no
   30351 fi
   30352         if test $_pkg_short_errors_supported = yes; then
   30353 	        fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3 >= 3.0.0" 2>&1`
   30354         else
   30355 	        fftw3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3 >= 3.0.0" 2>&1`
   30356         fi
   30357 	# Put the nasty error message in config.log where it belongs
   30358 	echo "$fftw3_PKG_ERRORS" >&5
   30359 
   30360 	have_fftw=no
   30361 elif test $pkg_failed = untried; then
   30362         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30363 $as_echo "no" >&6; }
   30364 	have_fftw=no
   30365 else
   30366 	fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS
   30367 	fftw3_LIBS=$pkg_cv_fftw3_LIBS
   30368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30369 $as_echo "yes" >&6; }
   30370 	have_fftw=yes
   30371 fi
   30372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30373 $as_echo "" >&6; }
   30374 fi
   30375 
   30376 if test "$have_fftw" = 'yes'; then
   30377 
   30378 $as_echo "#define FFTW_DELEGATE 1" >>confdefs.h
   30379 
   30380   FFTW_CFLAGS="$fftw3_CFLAGS"
   30381   FFTW_LIBS="$fftw3_LIBS"
   30382   CFLAGS="$fftw3_CFLAGS $CFLAGS"
   30383 fi
   30384 
   30385  if test "$have_fftw" = 'yes'; then
   30386   FFTW_DELEGATE_TRUE=
   30387   FFTW_DELEGATE_FALSE='#'
   30388 else
   30389   FFTW_DELEGATE_TRUE='#'
   30390   FFTW_DELEGATE_FALSE=
   30391 fi
   30392 
   30393 
   30394 
   30395 
   30396 
   30397 #
   30398 # Check for FLIF delegate library.
   30399 #
   30400 
   30401 # Check whether --with-flif was given.
   30402 if test "${with_flif+set}" = set; then :
   30403   withval=$with_flif; with_flif=$withval
   30404 else
   30405   with_flif='yes'
   30406 fi
   30407 
   30408 
   30409 if test "$with_flif" != 'yes'; then
   30410     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-flif=$with_flif "
   30411 fi
   30412 
   30413 have_flif='no'
   30414 FLIF_LIBS=''
   30415 if test "$with_flif" != 'no'; then
   30416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30417 $as_echo "-------------------------------------------------------------" >&6; }
   30418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLIF" >&5
   30419 $as_echo_n "checking for FLIF... " >&6; }
   30420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30421 $as_echo "" >&6; }
   30422     failed=0
   30423     passed=0
   30424     ac_fn_c_check_header_mongrel "$LINENO" "flif.h" "ac_cv_header_flif_h" "$ac_includes_default"
   30425 if test "x$ac_cv_header_flif_h" = xyes; then :
   30426   passed=`expr $passed + 1`
   30427 else
   30428   failed=`expr $failed + 1`
   30429 fi
   30430 
   30431 
   30432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flif_create_decoder in -lflif" >&5
   30433 $as_echo_n "checking for flif_create_decoder in -lflif... " >&6; }
   30434 if ${ac_cv_lib_flif_flif_create_decoder+:} false; then :
   30435   $as_echo_n "(cached) " >&6
   30436 else
   30437   ac_check_lib_save_LIBS=$LIBS
   30438 LIBS="-lflif  $LIBS"
   30439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   30440 /* end confdefs.h.  */
   30441 
   30442 /* Override any GCC internal prototype to avoid an error.
   30443    Use char because int might match the return type of a GCC
   30444    builtin and then its argument prototype would still apply.  */
   30445 #ifdef __cplusplus
   30446 extern "C"
   30447 #endif
   30448 char flif_create_decoder ();
   30449 int
   30450 main ()
   30451 {
   30452 return flif_create_decoder ();
   30453   ;
   30454   return 0;
   30455 }
   30456 _ACEOF
   30457 if ac_fn_c_try_link "$LINENO"; then :
   30458   ac_cv_lib_flif_flif_create_decoder=yes
   30459 else
   30460   ac_cv_lib_flif_flif_create_decoder=no
   30461 fi
   30462 rm -f core conftest.err conftest.$ac_objext \
   30463     conftest$ac_exeext conftest.$ac_ext
   30464 LIBS=$ac_check_lib_save_LIBS
   30465 fi
   30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_flif_flif_create_decoder" >&5
   30467 $as_echo "$ac_cv_lib_flif_flif_create_decoder" >&6; }
   30468 if test "x$ac_cv_lib_flif_flif_create_decoder" = xyes; then :
   30469   passed=`expr $passed + 1`
   30470 else
   30471   failed=`expr $failed + 1`
   30472 fi
   30473 
   30474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if FLIF package is complete" >&5
   30475 $as_echo_n "checking if FLIF package is complete... " >&6; }
   30476     if test $passed -gt 0; then
   30477         if test $failed -gt 0; then
   30478             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   30479 $as_echo "no -- some components failed test" >&6; }
   30480             have_flif='no (failed tests)'
   30481         else
   30482             FLIF_LIBS='-lflif'
   30483             LIBS="$FLIF_LIBS $LIBS"
   30484 
   30485 $as_echo "#define FLIF_DELEGATE 1" >>confdefs.h
   30486 
   30487             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30488 $as_echo "yes" >&6; }
   30489             have_flif='yes'
   30490         fi
   30491     else
   30492         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30493 $as_echo "no" >&6; }
   30494     fi
   30495 fi
   30496  if test "$have_flif" = 'yes'; then
   30497   FLIF_DELEGATE_TRUE=
   30498   FLIF_DELEGATE_FALSE='#'
   30499 else
   30500   FLIF_DELEGATE_TRUE='#'
   30501   FLIF_DELEGATE_FALSE=
   30502 fi
   30503 
   30504 
   30505 
   30506 
   30507 #
   30508 # Check for FlashPIX delegate library.
   30509 #
   30510 
   30511 # Check whether --with-fpx was given.
   30512 if test "${with_fpx+set}" = set; then :
   30513   withval=$with_fpx; with_fpx=$withval
   30514 else
   30515   with_fpx='yes'
   30516 fi
   30517 
   30518 
   30519 if test "$with_fpx" != 'yes'; then
   30520     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fpx=$with_fpx "
   30521 fi
   30522 
   30523 have_fpx='no'
   30524 FPX_LIBS=''
   30525 if test "$with_fpx" != 'no'; then
   30526     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30527 $as_echo "-------------------------------------------------------------" >&6; }
   30528     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FlashPIX" >&5
   30529 $as_echo_n "checking for FlashPIX... " >&6; }
   30530     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30531 $as_echo "" >&6; }
   30532     failed=0
   30533     passed=0
   30534     ac_ext=cpp
   30535 ac_cpp='$CXXCPP $CPPFLAGS'
   30536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   30537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   30538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   30539 
   30540 
   30541 ac_fn_cxx_check_header_mongrel "$LINENO" "fpxlib.h" "ac_cv_header_fpxlib_h" "$ac_includes_default"
   30542 if test "x$ac_cv_header_fpxlib_h" = xyes; then :
   30543   passed=`expr $passed + 1`
   30544 else
   30545   failed=`expr $failed + 1`
   30546 fi
   30547 
   30548 
   30549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FPX_OpenImageByFilename in -lfpx" >&5
   30550 $as_echo_n "checking for FPX_OpenImageByFilename in -lfpx... " >&6; }
   30551 if ${ac_cv_lib_fpx_FPX_OpenImageByFilename+:} false; then :
   30552   $as_echo_n "(cached) " >&6
   30553 else
   30554   ac_check_lib_save_LIBS=$LIBS
   30555 LIBS="-lfpx  $LIBS"
   30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   30557 /* end confdefs.h.  */
   30558 
   30559 /* Override any GCC internal prototype to avoid an error.
   30560    Use char because int might match the return type of a GCC
   30561    builtin and then its argument prototype would still apply.  */
   30562 #ifdef __cplusplus
   30563 extern "C"
   30564 #endif
   30565 char FPX_OpenImageByFilename ();
   30566 int
   30567 main ()
   30568 {
   30569 return FPX_OpenImageByFilename ();
   30570   ;
   30571   return 0;
   30572 }
   30573 _ACEOF
   30574 if ac_fn_cxx_try_link "$LINENO"; then :
   30575   ac_cv_lib_fpx_FPX_OpenImageByFilename=yes
   30576 else
   30577   ac_cv_lib_fpx_FPX_OpenImageByFilename=no
   30578 fi
   30579 rm -f core conftest.err conftest.$ac_objext \
   30580     conftest$ac_exeext conftest.$ac_ext
   30581 LIBS=$ac_check_lib_save_LIBS
   30582 fi
   30583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fpx_FPX_OpenImageByFilename" >&5
   30584 $as_echo "$ac_cv_lib_fpx_FPX_OpenImageByFilename" >&6; }
   30585 if test "x$ac_cv_lib_fpx_FPX_OpenImageByFilename" = xyes; then :
   30586   passed=`expr $passed + 1`
   30587 else
   30588   failed=`expr $failed + 1`
   30589 fi
   30590 
   30591     ac_ext=c
   30592 ac_cpp='$CPP $CPPFLAGS'
   30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   30596 
   30597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if FlashPIX package is complete" >&5
   30598 $as_echo_n "checking if FlashPIX package is complete... " >&6; }
   30599     if test $passed -gt 0; then
   30600         if test $failed -gt 0; then
   30601             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   30602 $as_echo "no -- some components failed test" >&6; }
   30603             have_fpx='no (failed tests)'
   30604         else
   30605             FPX_LIBS='-lfpx'
   30606 
   30607 $as_echo "#define FPX_DELEGATE 1" >>confdefs.h
   30608 
   30609             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30610 $as_echo "yes" >&6; }
   30611             have_fpx='yes'
   30612             PERLMAINCC="$CXX"
   30613         fi
   30614     else
   30615         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30616 $as_echo "no" >&6; }
   30617     fi
   30618 fi
   30619  if test "$have_fpx" = 'yes'; then
   30620   FPX_DELEGATE_TRUE=
   30621   FPX_DELEGATE_FALSE='#'
   30622 else
   30623   FPX_DELEGATE_TRUE='#'
   30624   FPX_DELEGATE_FALSE=
   30625 fi
   30626 
   30627 
   30628 
   30629 
   30630 #
   30631 # Check for DJVU delegate library.
   30632 #
   30633 
   30634 # Check whether --with-djvu was given.
   30635 if test "${with_djvu+set}" = set; then :
   30636   withval=$with_djvu; with_djvu=$withval
   30637 else
   30638   with_djvu='yes'
   30639 fi
   30640 
   30641 
   30642 if test "$with_djvu" != 'yes'; then
   30643     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-djvu=$with_djvu "
   30644 fi
   30645 
   30646 have_djvu='no'
   30647 DJVU_CFLAGS=""
   30648 DJVU_LIBS=""
   30649 DJVU_PKG=""
   30650 if test "x$with_djvu" = "xyes"; then
   30651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30652 $as_echo "-------------------------------------------------------------" >&6; }
   30653 
   30654 pkg_failed=no
   30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ddjvuapi >= 3.5.0" >&5
   30656 $as_echo_n "checking for ddjvuapi >= 3.5.0... " >&6; }
   30657 
   30658 if test -n "$ddjvuapi_CFLAGS"; then
   30659     pkg_cv_ddjvuapi_CFLAGS="$ddjvuapi_CFLAGS"
   30660  elif test -n "$PKG_CONFIG"; then
   30661     if test -n "$PKG_CONFIG" && \
   30662     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.0\""; } >&5
   30663   ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.0") 2>&5
   30664   ac_status=$?
   30665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30666   test $ac_status = 0; }; then
   30667   pkg_cv_ddjvuapi_CFLAGS=`$PKG_CONFIG --cflags "ddjvuapi >= 3.5.0" 2>/dev/null`
   30668 		      test "x$?" != "x0" && pkg_failed=yes
   30669 else
   30670   pkg_failed=yes
   30671 fi
   30672  else
   30673     pkg_failed=untried
   30674 fi
   30675 if test -n "$ddjvuapi_LIBS"; then
   30676     pkg_cv_ddjvuapi_LIBS="$ddjvuapi_LIBS"
   30677  elif test -n "$PKG_CONFIG"; then
   30678     if test -n "$PKG_CONFIG" && \
   30679     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.0\""; } >&5
   30680   ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.0") 2>&5
   30681   ac_status=$?
   30682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30683   test $ac_status = 0; }; then
   30684   pkg_cv_ddjvuapi_LIBS=`$PKG_CONFIG --libs "ddjvuapi >= 3.5.0" 2>/dev/null`
   30685 		      test "x$?" != "x0" && pkg_failed=yes
   30686 else
   30687   pkg_failed=yes
   30688 fi
   30689  else
   30690     pkg_failed=untried
   30691 fi
   30692 
   30693 
   30694 
   30695 if test $pkg_failed = yes; then
   30696         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30697 $as_echo "no" >&6; }
   30698 
   30699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   30700         _pkg_short_errors_supported=yes
   30701 else
   30702         _pkg_short_errors_supported=no
   30703 fi
   30704         if test $_pkg_short_errors_supported = yes; then
   30705 	        ddjvuapi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ddjvuapi >= 3.5.0" 2>&1`
   30706         else
   30707 	        ddjvuapi_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ddjvuapi >= 3.5.0" 2>&1`
   30708         fi
   30709 	# Put the nasty error message in config.log where it belongs
   30710 	echo "$ddjvuapi_PKG_ERRORS" >&5
   30711 
   30712 	have_djvu=no
   30713 elif test $pkg_failed = untried; then
   30714         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30715 $as_echo "no" >&6; }
   30716 	have_djvu=no
   30717 else
   30718 	ddjvuapi_CFLAGS=$pkg_cv_ddjvuapi_CFLAGS
   30719 	ddjvuapi_LIBS=$pkg_cv_ddjvuapi_LIBS
   30720         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30721 $as_echo "yes" >&6; }
   30722 	have_djvu=yes
   30723 fi
   30724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30725 $as_echo "" >&6; }
   30726 fi
   30727 
   30728 if test "$have_djvu" = 'yes'; then
   30729 
   30730 $as_echo "#define DJVU_DELEGATE 1" >>confdefs.h
   30731 
   30732   DJVU_CFLAGS="$ddjvuapi_CFLAGS"
   30733   DJVU_LIBS="$ddjvuapi_LIBS"
   30734   CFLAGS="$ddjvuapi_CFLAGS $CFLAGS"
   30735 fi
   30736 
   30737  if test "$have_djvu" = 'yes'; then
   30738   DJVU_DELEGATE_TRUE=
   30739   DJVU_DELEGATE_FALSE='#'
   30740 else
   30741   DJVU_DELEGATE_TRUE='#'
   30742   DJVU_DELEGATE_FALSE=
   30743 fi
   30744 
   30745 
   30746 
   30747 
   30748 
   30749 #
   30750 # Check for fontconfig delegate library.
   30751 #
   30752 
   30753 # Check whether --with-fontconfig was given.
   30754 if test "${with_fontconfig+set}" = set; then :
   30755   withval=$with_fontconfig; with_fontconfig=$withval
   30756 else
   30757   with_fontconfig='yes'
   30758 fi
   30759 
   30760 
   30761 if test "$with_fontconfig" != 'yes'; then
   30762     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontconfig=$with_fontconfig "
   30763 fi
   30764 
   30765 have_fontconfig='no'
   30766 FONTCONFIG_CFLAGS=""
   30767 FONTCONFIG_LIBS=""
   30768 FONTCONFIG_PKG=""
   30769 if test "x$with_fontconfig" = "xyes"; then
   30770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30771 $as_echo "-------------------------------------------------------------" >&6; }
   30772 
   30773 pkg_failed=no
   30774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.1.0" >&5
   30775 $as_echo_n "checking for fontconfig >= 2.1.0... " >&6; }
   30776 
   30777 if test -n "$FONTCONFIG_CFLAGS"; then
   30778     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   30779  elif test -n "$PKG_CONFIG"; then
   30780     if test -n "$PKG_CONFIG" && \
   30781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.1.0\""; } >&5
   30782   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.1.0") 2>&5
   30783   ac_status=$?
   30784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30785   test $ac_status = 0; }; then
   30786   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.1.0" 2>/dev/null`
   30787 		      test "x$?" != "x0" && pkg_failed=yes
   30788 else
   30789   pkg_failed=yes
   30790 fi
   30791  else
   30792     pkg_failed=untried
   30793 fi
   30794 if test -n "$FONTCONFIG_LIBS"; then
   30795     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   30796  elif test -n "$PKG_CONFIG"; then
   30797     if test -n "$PKG_CONFIG" && \
   30798     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.1.0\""; } >&5
   30799   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.1.0") 2>&5
   30800   ac_status=$?
   30801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30802   test $ac_status = 0; }; then
   30803   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.1.0" 2>/dev/null`
   30804 		      test "x$?" != "x0" && pkg_failed=yes
   30805 else
   30806   pkg_failed=yes
   30807 fi
   30808  else
   30809     pkg_failed=untried
   30810 fi
   30811 
   30812 
   30813 
   30814 if test $pkg_failed = yes; then
   30815         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30816 $as_echo "no" >&6; }
   30817 
   30818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   30819         _pkg_short_errors_supported=yes
   30820 else
   30821         _pkg_short_errors_supported=no
   30822 fi
   30823         if test $_pkg_short_errors_supported = yes; then
   30824 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.1.0" 2>&1`
   30825         else
   30826 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.1.0" 2>&1`
   30827         fi
   30828 	# Put the nasty error message in config.log where it belongs
   30829 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   30830 
   30831 	have_fontconfig=no
   30832 elif test $pkg_failed = untried; then
   30833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30834 $as_echo "no" >&6; }
   30835 	have_fontconfig=no
   30836 else
   30837 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   30838 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   30839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30840 $as_echo "yes" >&6; }
   30841 	have_fontconfig=yes
   30842 fi
   30843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30844 $as_echo "" >&6; }
   30845 fi
   30846 
   30847 if test "$have_fontconfig" = 'yes'; then
   30848 
   30849 $as_echo "#define FONTCONFIG_DELEGATE 1" >>confdefs.h
   30850 
   30851   CFLAGS="$FONTCONFIG_CFLAGS $CFLAGS"
   30852 fi
   30853 
   30854  if test "$have_fontconfig" = 'yes'; then
   30855   FONTCONFIG_DELEGATE_TRUE=
   30856   FONTCONFIG_DELEGATE_FALSE='#'
   30857 else
   30858   FONTCONFIG_DELEGATE_TRUE='#'
   30859   FONTCONFIG_DELEGATE_FALSE=
   30860 fi
   30861 
   30862 
   30863 
   30864 
   30865 
   30866 #
   30867 # Check for the Freetype delegate library.
   30868 #
   30869 
   30870 # Check whether --with-freetype was given.
   30871 if test "${with_freetype+set}" = set; then :
   30872   withval=$with_freetype; with_freetype=$withval
   30873 else
   30874   with_freetype='yes'
   30875 fi
   30876 
   30877 
   30878 if test "$with_freetype" != 'yes'; then
   30879     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-freetype=$with_freetype "
   30880 fi
   30881 
   30882 have_freetype='no'
   30883 FREETYPE_CFLAGS=""
   30884 FREETYPE_LIBS=""
   30885 FREETYPE_PKG=""
   30886 if test "x$with_freetype" = "xyes"; then
   30887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   30888 $as_echo "-------------------------------------------------------------" >&6; }
   30889 
   30890 pkg_failed=no
   30891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
   30892 $as_echo_n "checking for freetype2... " >&6; }
   30893 
   30894 if test -n "$FREETYPE_CFLAGS"; then
   30895     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   30896  elif test -n "$PKG_CONFIG"; then
   30897     if test -n "$PKG_CONFIG" && \
   30898     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   30899   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   30900   ac_status=$?
   30901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30902   test $ac_status = 0; }; then
   30903   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   30904 		      test "x$?" != "x0" && pkg_failed=yes
   30905 else
   30906   pkg_failed=yes
   30907 fi
   30908  else
   30909     pkg_failed=untried
   30910 fi
   30911 if test -n "$FREETYPE_LIBS"; then
   30912     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   30913  elif test -n "$PKG_CONFIG"; then
   30914     if test -n "$PKG_CONFIG" && \
   30915     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   30916   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   30917   ac_status=$?
   30918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   30919   test $ac_status = 0; }; then
   30920   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   30921 		      test "x$?" != "x0" && pkg_failed=yes
   30922 else
   30923   pkg_failed=yes
   30924 fi
   30925  else
   30926     pkg_failed=untried
   30927 fi
   30928 
   30929 
   30930 
   30931 if test $pkg_failed = yes; then
   30932         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30933 $as_echo "no" >&6; }
   30934 
   30935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   30936         _pkg_short_errors_supported=yes
   30937 else
   30938         _pkg_short_errors_supported=no
   30939 fi
   30940         if test $_pkg_short_errors_supported = yes; then
   30941 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   30942         else
   30943 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   30944         fi
   30945 	# Put the nasty error message in config.log where it belongs
   30946 	echo "$FREETYPE_PKG_ERRORS" >&5
   30947 
   30948 	have_freetype=no
   30949 elif test $pkg_failed = untried; then
   30950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   30951 $as_echo "no" >&6; }
   30952 	have_freetype=no
   30953 else
   30954 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   30955 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   30956         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   30957 $as_echo "yes" >&6; }
   30958 	have_freetype=yes
   30959 fi
   30960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   30961 $as_echo "" >&6; }
   30962 fi
   30963 
   30964 if test "$have_freetype" = 'yes'; then
   30965 
   30966 $as_echo "#define FREETYPE_DELEGATE 1" >>confdefs.h
   30967 
   30968   CFLAGS="$FREETYPE_CFLAGS $CFLAGS"
   30969 fi
   30970 
   30971  if test "$have_freetype" = 'yes'; then
   30972   FREETYPE_DELEGATE_TRUE=
   30973   FREETYPE_DELEGATE_FALSE='#'
   30974 else
   30975   FREETYPE_DELEGATE_TRUE='#'
   30976   FREETYPE_DELEGATE_FALSE=
   30977 fi
   30978 
   30979 
   30980 
   30981 
   30982 
   30983 #
   30984 # Check for the raqm delegate library.
   30985 #
   30986 
   30987 # Check whether --with-raqm was given.
   30988 if test "${with_raqm+set}" = set; then :
   30989   withval=$with_raqm; with_raqm=$withval
   30990 else
   30991   with_raqm='yes'
   30992 fi
   30993 
   30994 
   30995 if test "$with_raqm" != 'yes'; then
   30996     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-raqm=$with_raqm "
   30997 fi
   30998 
   30999 have_raqm='no'
   31000 RAQM_CFLAGS=""
   31001 RAQM_LIBS=""
   31002 RAQM_PKG=""
   31003 if test "x$with_raqm" = "xyes"; then
   31004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31005 $as_echo "-------------------------------------------------------------" >&6; }
   31006 
   31007 pkg_failed=no
   31008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm" >&5
   31009 $as_echo_n "checking for raqm... " >&6; }
   31010 
   31011 if test -n "$RAQM_CFLAGS"; then
   31012     pkg_cv_RAQM_CFLAGS="$RAQM_CFLAGS"
   31013  elif test -n "$PKG_CONFIG"; then
   31014     if test -n "$PKG_CONFIG" && \
   31015     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"raqm\""; } >&5
   31016   ($PKG_CONFIG --exists --print-errors "raqm") 2>&5
   31017   ac_status=$?
   31018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31019   test $ac_status = 0; }; then
   31020   pkg_cv_RAQM_CFLAGS=`$PKG_CONFIG --cflags "raqm" 2>/dev/null`
   31021 		      test "x$?" != "x0" && pkg_failed=yes
   31022 else
   31023   pkg_failed=yes
   31024 fi
   31025  else
   31026     pkg_failed=untried
   31027 fi
   31028 if test -n "$RAQM_LIBS"; then
   31029     pkg_cv_RAQM_LIBS="$RAQM_LIBS"
   31030  elif test -n "$PKG_CONFIG"; then
   31031     if test -n "$PKG_CONFIG" && \
   31032     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"raqm\""; } >&5
   31033   ($PKG_CONFIG --exists --print-errors "raqm") 2>&5
   31034   ac_status=$?
   31035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31036   test $ac_status = 0; }; then
   31037   pkg_cv_RAQM_LIBS=`$PKG_CONFIG --libs "raqm" 2>/dev/null`
   31038 		      test "x$?" != "x0" && pkg_failed=yes
   31039 else
   31040   pkg_failed=yes
   31041 fi
   31042  else
   31043     pkg_failed=untried
   31044 fi
   31045 
   31046 
   31047 
   31048 if test $pkg_failed = yes; then
   31049         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31050 $as_echo "no" >&6; }
   31051 
   31052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   31053         _pkg_short_errors_supported=yes
   31054 else
   31055         _pkg_short_errors_supported=no
   31056 fi
   31057         if test $_pkg_short_errors_supported = yes; then
   31058 	        RAQM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "raqm" 2>&1`
   31059         else
   31060 	        RAQM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "raqm" 2>&1`
   31061         fi
   31062 	# Put the nasty error message in config.log where it belongs
   31063 	echo "$RAQM_PKG_ERRORS" >&5
   31064 
   31065 	have_raqm=no
   31066 elif test $pkg_failed = untried; then
   31067         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31068 $as_echo "no" >&6; }
   31069 	have_raqm=no
   31070 else
   31071 	RAQM_CFLAGS=$pkg_cv_RAQM_CFLAGS
   31072 	RAQM_LIBS=$pkg_cv_RAQM_LIBS
   31073         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31074 $as_echo "yes" >&6; }
   31075 	have_raqm=yes
   31076 fi
   31077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31078 $as_echo "" >&6; }
   31079 fi
   31080 
   31081 if test "$have_raqm" = 'yes'; then
   31082 
   31083 $as_echo "#define RAQM_DELEGATE 1" >>confdefs.h
   31084 
   31085   CFLAGS="$RAQM_CFLAGS $CFLAGS"
   31086 fi
   31087 
   31088  if test "$have_raqm" = 'yes'; then
   31089   RAQM_DELEGATE_TRUE=
   31090   RAQM_DELEGATE_FALSE='#'
   31091 else
   31092   RAQM_DELEGATE_TRUE='#'
   31093   RAQM_DELEGATE_FALSE=
   31094 fi
   31095 
   31096 
   31097 
   31098 
   31099 
   31100 #
   31101 # Check for Ghostscript library or framework.
   31102 #
   31103 # Test for iapi.h & test for gsapi_new_instance in -lgs
   31104 # or -framework Ghostscript
   31105 
   31106 
   31107 # Check whether --with-gslib was given.
   31108 if test "${with_gslib+set}" = set; then :
   31109   withval=$with_gslib; with_gslib=$withval
   31110 else
   31111   with_gslib='no'
   31112 fi
   31113 
   31114 
   31115 gslib_framework='no'
   31116 if test "$with_gslib" != 'yes'; then
   31117     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gslib=$with_gslib "
   31118 fi
   31119 
   31120 have_gslib='no'
   31121 GS_LIBS=''
   31122 if test "$with_gslib" != 'no'; then
   31123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31124 $as_echo "-------------------------------------------------------------" >&6; }
   31125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ghostscript" >&5
   31126 $as_echo_n "checking for Ghostscript... " >&6; }
   31127     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31128 $as_echo "" >&6; }
   31129     framework=0
   31130     failed=0
   31131     passed=0
   31132     ac_fn_c_check_header_mongrel "$LINENO" "ghostscript/iapi.h" "ac_cv_header_ghostscript_iapi_h" "$ac_includes_default"
   31133 if test "x$ac_cv_header_ghostscript_iapi_h" = xyes; then :
   31134   passed=`expr $passed + 1`
   31135 else
   31136   failed=`expr $failed + 1`
   31137 fi
   31138 
   31139 
   31140     ac_fn_c_check_header_mongrel "$LINENO" "ghostscript/ierrors.h" "ac_cv_header_ghostscript_ierrors_h" "$ac_includes_default"
   31141 if test "x$ac_cv_header_ghostscript_ierrors_h" = xyes; then :
   31142   passed=`expr $passed + 1`
   31143 else
   31144   failed=`expr $failed + 1`
   31145 fi
   31146 
   31147 
   31148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsapi_new_instance in Ghostscript framework" >&5
   31149 $as_echo_n "checking for gsapi_new_instance in Ghostscript framework... " >&6; }
   31150 if ${ac_cv_framework_Ghostscript_gsapi_new_instance+:} false; then :
   31151   $as_echo_n "(cached) " >&6
   31152 else
   31153   ac_check_framework_save_LIBS=$LIBS
   31154 LIBS="-framework Ghostscript  $LIBS"
   31155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   31156 /* end confdefs.h.  */
   31157 
   31158 /* Override any GCC internal prototype to avoid an error.
   31159    Use char because int might match the return type of a GCC
   31160    builtin and then its argument prototype would still apply.  */
   31161 #ifdef __cplusplus
   31162 extern "C"
   31163 #endif
   31164 char gsapi_new_instance ();
   31165 int
   31166 main ()
   31167 {
   31168 return gsapi_new_instance ();
   31169   ;
   31170   return 0;
   31171 }
   31172 _ACEOF
   31173 if ac_fn_c_try_link "$LINENO"; then :
   31174   ac_cv_framework_Ghostscript_gsapi_new_instance=yes
   31175 else
   31176   ac_cv_framework_Ghostscript_gsapi_new_instance=no
   31177 fi
   31178 rm -f core conftest.err conftest.$ac_objext \
   31179     conftest$ac_exeext conftest.$ac_ext
   31180 LIBS=$ac_check_framework_save_LIBS
   31181 fi
   31182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Ghostscript_gsapi_new_instance" >&5
   31183 $as_echo "$ac_cv_framework_Ghostscript_gsapi_new_instance" >&6; }
   31184 if test $ac_cv_framework_Ghostscript_gsapi_new_instance = yes; then :
   31185   framework=`expr $framework + 1`
   31186 else
   31187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsapi_new_instance in -lgs" >&5
   31188 $as_echo_n "checking for gsapi_new_instance in -lgs... " >&6; }
   31189 if ${ac_cv_lib_gs_gsapi_new_instance+:} false; then :
   31190   $as_echo_n "(cached) " >&6
   31191 else
   31192   ac_check_lib_save_LIBS=$LIBS
   31193 LIBS="-lgs  $LIBS"
   31194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   31195 /* end confdefs.h.  */
   31196 
   31197 /* Override any GCC internal prototype to avoid an error.
   31198    Use char because int might match the return type of a GCC
   31199    builtin and then its argument prototype would still apply.  */
   31200 #ifdef __cplusplus
   31201 extern "C"
   31202 #endif
   31203 char gsapi_new_instance ();
   31204 int
   31205 main ()
   31206 {
   31207 return gsapi_new_instance ();
   31208   ;
   31209   return 0;
   31210 }
   31211 _ACEOF
   31212 if ac_fn_c_try_link "$LINENO"; then :
   31213   ac_cv_lib_gs_gsapi_new_instance=yes
   31214 else
   31215   ac_cv_lib_gs_gsapi_new_instance=no
   31216 fi
   31217 rm -f core conftest.err conftest.$ac_objext \
   31218     conftest$ac_exeext conftest.$ac_ext
   31219 LIBS=$ac_check_lib_save_LIBS
   31220 fi
   31221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gs_gsapi_new_instance" >&5
   31222 $as_echo "$ac_cv_lib_gs_gsapi_new_instance" >&6; }
   31223 if test "x$ac_cv_lib_gs_gsapi_new_instance" = xyes; then :
   31224   passed=`expr $passed + 1`
   31225 else
   31226   failed=`expr $failed + 1`
   31227 fi
   31228 
   31229 fi
   31230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Ghostscript package is complete" >&5
   31231 $as_echo_n "checking if Ghostscript package is complete... " >&6; }
   31232     if test $passed -gt 0; then
   31233         if test $failed -gt 0; then
   31234             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   31235 $as_echo "no -- some components failed test" >&6; }
   31236             have_gslib='no (failed tests)'
   31237         else
   31238             if test $framework -gt 0; then
   31239                 GS_LIBS='-framework Ghostscript'
   31240                 gslib_framework='yes'
   31241                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using framework." >&5
   31242 $as_echo "yes, using framework." >&6; }
   31243             else
   31244                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, using library." >&5
   31245 $as_echo "yes, using library." >&6; }
   31246                 GS_LIBS='-lgs'
   31247             fi
   31248             LIBS="$GS_LIBS $LIBS"
   31249 
   31250 $as_echo "#define GS_DELEGATE 1" >>confdefs.h
   31251 
   31252             have_gslib='yes'
   31253         fi
   31254     else
   31255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31256 $as_echo "no" >&6; }
   31257     fi
   31258 fi
   31259  if test "$have_gslib" = 'yes'; then
   31260   GS_DELEGATE_TRUE=
   31261   GS_DELEGATE_FALSE='#'
   31262 else
   31263   GS_DELEGATE_TRUE='#'
   31264   GS_DELEGATE_FALSE=
   31265 fi
   31266 
   31267 
   31268 
   31269 # Set default font search path
   31270 
   31271 # Check whether --with-fontpath was given.
   31272 if test "${with_fontpath+set}" = set; then :
   31273   withval=$with_fontpath; with_fontpath=$withval
   31274 else
   31275   with_fontpath=''
   31276 fi
   31277 
   31278 
   31279 if test "$with_fontpath" != "yes" && test -z "$with_fontpath"; then
   31280     with_fontpath=''
   31281 else
   31282 
   31283 cat >>confdefs.h <<_ACEOF
   31284 #define MAGICK_FONT_PATH "$with_fontpath"
   31285 _ACEOF
   31286 
   31287 fi
   31288 if test "$with_fontpath=" != ''; then
   31289     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontpath=$with_fontpath "
   31290 fi
   31291 
   31292 # Set Ghostscript font directory
   31293 
   31294 # Check whether --with-gs-font-dir was given.
   31295 if test "${with_gs_font_dir+set}" = set; then :
   31296   withval=$with_gs_font_dir; with_gs_font_dir=$withval
   31297 else
   31298   with_gs_font_dir='default'
   31299 fi
   31300 
   31301 
   31302 if test "$with_gs_font_dir" != 'default'; then
   31303     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gs-font-dir=$with_gs_font_dir "
   31304 fi
   31305 
   31306 
   31307 #
   31308 # Check for GVC delegate library.
   31309 #
   31310 
   31311 # Check whether --with-gvc was given.
   31312 if test "${with_gvc+set}" = set; then :
   31313   withval=$with_gvc; with_gvc=$withval
   31314 else
   31315   with_gvc='yes'
   31316 fi
   31317 
   31318 
   31319 if test "$with_gvc" != 'yes'; then
   31320     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gvc=$with_gvc "
   31321 fi
   31322 
   31323 GVC_PKG=""
   31324 if test "x$with_gvc" = "xyes"; then
   31325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31326 $as_echo "-------------------------------------------------------------" >&6; }
   31327 
   31328 pkg_failed=no
   31329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgvc >= 2.9.0" >&5
   31330 $as_echo_n "checking for libgvc >= 2.9.0... " >&6; }
   31331 
   31332 if test -n "$GVC_CFLAGS"; then
   31333     pkg_cv_GVC_CFLAGS="$GVC_CFLAGS"
   31334  elif test -n "$PKG_CONFIG"; then
   31335     if test -n "$PKG_CONFIG" && \
   31336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgvc >= 2.9.0\""; } >&5
   31337   ($PKG_CONFIG --exists --print-errors "libgvc >= 2.9.0") 2>&5
   31338   ac_status=$?
   31339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31340   test $ac_status = 0; }; then
   31341   pkg_cv_GVC_CFLAGS=`$PKG_CONFIG --cflags "libgvc >= 2.9.0" 2>/dev/null`
   31342 		      test "x$?" != "x0" && pkg_failed=yes
   31343 else
   31344   pkg_failed=yes
   31345 fi
   31346  else
   31347     pkg_failed=untried
   31348 fi
   31349 if test -n "$GVC_LIBS"; then
   31350     pkg_cv_GVC_LIBS="$GVC_LIBS"
   31351  elif test -n "$PKG_CONFIG"; then
   31352     if test -n "$PKG_CONFIG" && \
   31353     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgvc >= 2.9.0\""; } >&5
   31354   ($PKG_CONFIG --exists --print-errors "libgvc >= 2.9.0") 2>&5
   31355   ac_status=$?
   31356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31357   test $ac_status = 0; }; then
   31358   pkg_cv_GVC_LIBS=`$PKG_CONFIG --libs "libgvc >= 2.9.0" 2>/dev/null`
   31359 		      test "x$?" != "x0" && pkg_failed=yes
   31360 else
   31361   pkg_failed=yes
   31362 fi
   31363  else
   31364     pkg_failed=untried
   31365 fi
   31366 
   31367 
   31368 
   31369 if test $pkg_failed = yes; then
   31370         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31371 $as_echo "no" >&6; }
   31372 
   31373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   31374         _pkg_short_errors_supported=yes
   31375 else
   31376         _pkg_short_errors_supported=no
   31377 fi
   31378         if test $_pkg_short_errors_supported = yes; then
   31379 	        GVC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgvc >= 2.9.0" 2>&1`
   31380         else
   31381 	        GVC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgvc >= 2.9.0" 2>&1`
   31382         fi
   31383 	# Put the nasty error message in config.log where it belongs
   31384 	echo "$GVC_PKG_ERRORS" >&5
   31385 
   31386 	have_gvc=no
   31387 elif test $pkg_failed = untried; then
   31388         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31389 $as_echo "no" >&6; }
   31390 	have_gvc=no
   31391 else
   31392 	GVC_CFLAGS=$pkg_cv_GVC_CFLAGS
   31393 	GVC_LIBS=$pkg_cv_GVC_LIBS
   31394         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31395 $as_echo "yes" >&6; }
   31396 	have_gvc=yes
   31397 fi
   31398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31399 $as_echo "" >&6; }
   31400 fi
   31401 
   31402 if test "$have_gvc" = 'yes'; then
   31403 
   31404 $as_echo "#define GVC_DELEGATE 1" >>confdefs.h
   31405 
   31406   CFLAGS="$GVC_CFLAGS $CFLAGS"
   31407 fi
   31408 
   31409  if test "$have_gvc" = 'yes'; then
   31410   GVC_DELEGATE_TRUE=
   31411   GVC_DELEGATE_FALSE='#'
   31412 else
   31413   GVC_DELEGATE_TRUE='#'
   31414   GVC_DELEGATE_FALSE=
   31415 fi
   31416 
   31417 
   31418 
   31419 
   31420 
   31421 #
   31422 # Check for the HEIC delegate library.
   31423 #
   31424 
   31425 # Check whether --with-heic was given.
   31426 if test "${with_heic+set}" = set; then :
   31427   withval=$with_heic; with_heic=$withval
   31428 else
   31429   with_heic='yes'
   31430 fi
   31431 
   31432 
   31433 if test "$with_heic" != 'yes'; then
   31434     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-heic=$with_heic "
   31435 fi
   31436 
   31437 have_heic='no'
   31438 HEIF_CFLAGS=""
   31439 HEIF_LIBS=""
   31440 HEIF_PKG=""
   31441 if test "x$with_heic" = "xyes"; then
   31442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31443 $as_echo "-------------------------------------------------------------" >&6; }
   31444 
   31445 pkg_failed=no
   31446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libheif" >&5
   31447 $as_echo_n "checking for libheif... " >&6; }
   31448 
   31449 if test -n "$HEIF_CFLAGS"; then
   31450     pkg_cv_HEIF_CFLAGS="$HEIF_CFLAGS"
   31451  elif test -n "$PKG_CONFIG"; then
   31452     if test -n "$PKG_CONFIG" && \
   31453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif\""; } >&5
   31454   ($PKG_CONFIG --exists --print-errors "libheif") 2>&5
   31455   ac_status=$?
   31456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31457   test $ac_status = 0; }; then
   31458   pkg_cv_HEIF_CFLAGS=`$PKG_CONFIG --cflags "libheif" 2>/dev/null`
   31459 		      test "x$?" != "x0" && pkg_failed=yes
   31460 else
   31461   pkg_failed=yes
   31462 fi
   31463  else
   31464     pkg_failed=untried
   31465 fi
   31466 if test -n "$HEIF_LIBS"; then
   31467     pkg_cv_HEIF_LIBS="$HEIF_LIBS"
   31468  elif test -n "$PKG_CONFIG"; then
   31469     if test -n "$PKG_CONFIG" && \
   31470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif\""; } >&5
   31471   ($PKG_CONFIG --exists --print-errors "libheif") 2>&5
   31472   ac_status=$?
   31473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31474   test $ac_status = 0; }; then
   31475   pkg_cv_HEIF_LIBS=`$PKG_CONFIG --libs "libheif" 2>/dev/null`
   31476 		      test "x$?" != "x0" && pkg_failed=yes
   31477 else
   31478   pkg_failed=yes
   31479 fi
   31480  else
   31481     pkg_failed=untried
   31482 fi
   31483 
   31484 
   31485 
   31486 if test $pkg_failed = yes; then
   31487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31488 $as_echo "no" >&6; }
   31489 
   31490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   31491         _pkg_short_errors_supported=yes
   31492 else
   31493         _pkg_short_errors_supported=no
   31494 fi
   31495         if test $_pkg_short_errors_supported = yes; then
   31496 	        HEIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libheif" 2>&1`
   31497         else
   31498 	        HEIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libheif" 2>&1`
   31499         fi
   31500 	# Put the nasty error message in config.log where it belongs
   31501 	echo "$HEIF_PKG_ERRORS" >&5
   31502 
   31503 	have_heic=no
   31504 elif test $pkg_failed = untried; then
   31505         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31506 $as_echo "no" >&6; }
   31507 	have_heic=no
   31508 else
   31509 	HEIF_CFLAGS=$pkg_cv_HEIF_CFLAGS
   31510 	HEIF_LIBS=$pkg_cv_HEIF_LIBS
   31511         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31512 $as_echo "yes" >&6; }
   31513 	have_heic=yes
   31514 fi
   31515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31516 $as_echo "" >&6; }
   31517 fi
   31518 
   31519 if test "$have_heic" = 'yes'; then
   31520 
   31521 $as_echo "#define HEIC_DELEGATE 1" >>confdefs.h
   31522 
   31523   CFLAGS="$HEIF_CFLAGS $CFLAGS"
   31524 fi
   31525 
   31526  if test "$have_heic" = 'yes'; then
   31527   HEIC_DELEGATE_TRUE=
   31528   HEIC_DELEGATE_FALSE='#'
   31529 else
   31530   HEIC_DELEGATE_TRUE='#'
   31531   HEIC_DELEGATE_FALSE=
   31532 fi
   31533 
   31534 
   31535 
   31536 
   31537 
   31538 #
   31539 # Check for JBIG delegate library.
   31540 #
   31541 
   31542 # Check whether --with-jbig was given.
   31543 if test "${with_jbig+set}" = set; then :
   31544   withval=$with_jbig; with_jbig=$withval
   31545 else
   31546   with_jbig='yes'
   31547 fi
   31548 
   31549 
   31550 have_jbig='no'
   31551 JBIG_LIBS=''
   31552 if test "$with_jbig" != 'no'; then
   31553     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31554 $as_echo "-------------------------------------------------------------" >&6; }
   31555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JBIG" >&5
   31556 $as_echo_n "checking for JBIG... " >&6; }
   31557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31558 $as_echo "" >&6; }
   31559     failed=0
   31560     passed=0
   31561     ac_fn_c_check_header_mongrel "$LINENO" "jbig.h" "ac_cv_header_jbig_h" "$ac_includes_default"
   31562 if test "x$ac_cv_header_jbig_h" = xyes; then :
   31563   passed=`expr $passed + 1`
   31564 else
   31565   failed=`expr $failed + 1`
   31566 fi
   31567 
   31568 
   31569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
   31570 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
   31571 if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
   31572   $as_echo_n "(cached) " >&6
   31573 else
   31574   ac_check_lib_save_LIBS=$LIBS
   31575 LIBS="-ljbig  $LIBS"
   31576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   31577 /* end confdefs.h.  */
   31578 
   31579 /* Override any GCC internal prototype to avoid an error.
   31580    Use char because int might match the return type of a GCC
   31581    builtin and then its argument prototype would still apply.  */
   31582 #ifdef __cplusplus
   31583 extern "C"
   31584 #endif
   31585 char jbg_dec_init ();
   31586 int
   31587 main ()
   31588 {
   31589 return jbg_dec_init ();
   31590   ;
   31591   return 0;
   31592 }
   31593 _ACEOF
   31594 if ac_fn_c_try_link "$LINENO"; then :
   31595   ac_cv_lib_jbig_jbg_dec_init=yes
   31596 else
   31597   ac_cv_lib_jbig_jbg_dec_init=no
   31598 fi
   31599 rm -f core conftest.err conftest.$ac_objext \
   31600     conftest$ac_exeext conftest.$ac_ext
   31601 LIBS=$ac_check_lib_save_LIBS
   31602 fi
   31603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
   31604 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
   31605 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
   31606   passed=`expr $passed + 1`
   31607 else
   31608   failed=`expr $failed + 1`
   31609 fi
   31610 
   31611     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JBIG package is complete" >&5
   31612 $as_echo_n "checking if JBIG package is complete... " >&6; }
   31613     if test $passed -gt 0; then
   31614         if test $failed -gt 0; then
   31615             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   31616 $as_echo "no -- some components failed test" >&6; }
   31617             have_jbig='no (failed tests)'
   31618         else
   31619             JBIG_LIBS='-ljbig'
   31620             LIBS="$JBIG_LIBS $LIBS"
   31621 
   31622 $as_echo "#define JBIG_DELEGATE 1" >>confdefs.h
   31623 
   31624             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31625 $as_echo "yes" >&6; }
   31626             have_jbig='yes'
   31627         fi
   31628     else
   31629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31630 $as_echo "no" >&6; }
   31631     fi
   31632 fi
   31633  if test "$have_jbig" = 'yes'; then
   31634   JBIG_DELEGATE_TRUE=
   31635   JBIG_DELEGATE_FALSE='#'
   31636 else
   31637   JBIG_DELEGATE_TRUE='#'
   31638   JBIG_DELEGATE_FALSE=
   31639 fi
   31640 
   31641 
   31642 
   31643 
   31644 #
   31645 # Check for JPEG delegate library.
   31646 #
   31647 
   31648 # Check whether --with-jpeg was given.
   31649 if test "${with_jpeg+set}" = set; then :
   31650   withval=$with_jpeg; with_jpeg=$withval
   31651 else
   31652   with_jpeg='yes'
   31653 fi
   31654 
   31655 
   31656 if test "$with_jpeg" != 'yes'; then
   31657     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jpeg=$with_jpeg "
   31658 fi
   31659 
   31660 have_jpeg='no'
   31661 JPEG_LIBS=''
   31662 if test "$with_jpeg" != 'no'; then
   31663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31664 $as_echo "-------------------------------------------------------------" >&6; }
   31665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JPEG" >&5
   31666 $as_echo_n "checking for JPEG... " >&6; }
   31667     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31668 $as_echo "" >&6; }
   31669     failed=0
   31670     passed=0
   31671     ac_fn_c_check_header_mongrel "$LINENO" "jconfig.h" "ac_cv_header_jconfig_h" "$ac_includes_default"
   31672 if test "x$ac_cv_header_jconfig_h" = xyes; then :
   31673   passed=`expr $passed + 1`
   31674 else
   31675   failed=`expr $failed + 1`
   31676 fi
   31677 
   31678 
   31679     ac_fn_c_check_header_mongrel "$LINENO" "jerror.h" "ac_cv_header_jerror_h" "$ac_includes_default"
   31680 if test "x$ac_cv_header_jerror_h" = xyes; then :
   31681   passed=`expr $passed + 1`
   31682 else
   31683   failed=`expr $failed + 1`
   31684 fi
   31685 
   31686 
   31687     ac_fn_c_check_header_mongrel "$LINENO" "jmorecfg.h" "ac_cv_header_jmorecfg_h" "$ac_includes_default"
   31688 if test "x$ac_cv_header_jmorecfg_h" = xyes; then :
   31689   passed=`expr $passed + 1`
   31690 else
   31691   failed=`expr $failed + 1`
   31692 fi
   31693 
   31694 
   31695     ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
   31696 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
   31697   passed=`expr $passed + 1`
   31698 else
   31699   failed=`expr $failed + 1`
   31700 fi
   31701 
   31702 
   31703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
   31704 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
   31705 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
   31706   $as_echo_n "(cached) " >&6
   31707 else
   31708   ac_check_lib_save_LIBS=$LIBS
   31709 LIBS="-ljpeg  $LIBS"
   31710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   31711 /* end confdefs.h.  */
   31712 
   31713 /* Override any GCC internal prototype to avoid an error.
   31714    Use char because int might match the return type of a GCC
   31715    builtin and then its argument prototype would still apply.  */
   31716 #ifdef __cplusplus
   31717 extern "C"
   31718 #endif
   31719 char jpeg_read_header ();
   31720 int
   31721 main ()
   31722 {
   31723 return jpeg_read_header ();
   31724   ;
   31725   return 0;
   31726 }
   31727 _ACEOF
   31728 if ac_fn_c_try_link "$LINENO"; then :
   31729   ac_cv_lib_jpeg_jpeg_read_header=yes
   31730 else
   31731   ac_cv_lib_jpeg_jpeg_read_header=no
   31732 fi
   31733 rm -f core conftest.err conftest.$ac_objext \
   31734     conftest$ac_exeext conftest.$ac_ext
   31735 LIBS=$ac_check_lib_save_LIBS
   31736 fi
   31737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
   31738 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
   31739 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
   31740   passed=`expr $passed + 1`
   31741 else
   31742   failed=`expr $failed + 1`
   31743 fi
   31744 
   31745 
   31746 # Test for compatible JPEG library
   31747 if test "$ac_cv_jpeg_version_ok" != 'yes'; then
   31748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JPEG library is version 6b or later" >&5
   31749 $as_echo_n "checking for JPEG library is version 6b or later... " >&6; }
   31750 if ${ac_cv_jpeg_version_ok+:} false; then :
   31751   $as_echo_n "(cached) " >&6
   31752 else
   31753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   31754 /* end confdefs.h.  */
   31755 #include <stdio.h>
   31756 #include <stdlib.h>
   31757 #include <jpeglib.h>
   31758 
   31759 int
   31760 main ()
   31761 {
   31762 
   31763 #if JPEG_LIB_VERSION < 62
   31764 #error IJG JPEG library must be version 6b or newer!
   31765 #endif
   31766 return 0;
   31767 
   31768   ;
   31769   return 0;
   31770 }
   31771 _ACEOF
   31772 if ac_fn_c_try_compile "$LINENO"; then :
   31773   ac_cv_jpeg_version_ok='yes'; passed=`expr $passed + 1`
   31774 else
   31775   ac_cv_jpeg_version_ok='no'; failed=`expr $failed + 1`
   31776 fi
   31777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   31778 fi
   31779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_jpeg_version_ok" >&5
   31780 $as_echo "$ac_cv_jpeg_version_ok" >&6; }
   31781 fi
   31782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if JPEG package is complete" >&5
   31783 $as_echo_n "checking if JPEG package is complete... " >&6; }
   31784     if test $passed -gt 0; then
   31785         if test $failed -gt 0; then
   31786             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   31787 $as_echo "no -- some components failed test" >&6; }
   31788             have_jpeg='no (failed tests)'
   31789         else
   31790             JPEG_LIBS='-ljpeg'
   31791             LIBS="$JPEG_LIBS $LIBS"
   31792 
   31793 $as_echo "#define JPEG_DELEGATE 1" >>confdefs.h
   31794 
   31795             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31796 $as_echo "yes" >&6; }
   31797             have_jpeg='yes'
   31798         fi
   31799     else
   31800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31801 $as_echo "no" >&6; }
   31802     fi
   31803 fi
   31804  if test "$have_jpeg" = 'yes'; then
   31805   JPEG_DELEGATE_TRUE=
   31806   JPEG_DELEGATE_FALSE='#'
   31807 else
   31808   JPEG_DELEGATE_TRUE='#'
   31809   JPEG_DELEGATE_FALSE=
   31810 fi
   31811 
   31812 
   31813 
   31814 
   31815 #
   31816 # Check for LCMS delegate library.
   31817 #
   31818 
   31819 # Check whether --with-lcms was given.
   31820 if test "${with_lcms+set}" = set; then :
   31821   withval=$with_lcms; with_lcms=$withval
   31822 else
   31823   with_lcms='yes'
   31824 fi
   31825 
   31826 if test "$with_lcms" != 'yes' ; then
   31827     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lcms=$with_lcms "
   31828 fi
   31829 
   31830 have_lcms='no'
   31831 LCMS_CFLAGS=""
   31832 LCMS_LIBS=""
   31833 LCMS_PKG=""
   31834 if test "x$with_lcms" = "xyes"; then
   31835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31836 $as_echo "-------------------------------------------------------------" >&6; }
   31837 
   31838 pkg_failed=no
   31839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms2 >= 2.0.0" >&5
   31840 $as_echo_n "checking for lcms2 >= 2.0.0... " >&6; }
   31841 
   31842 if test -n "$LCMS2_CFLAGS"; then
   31843     pkg_cv_LCMS2_CFLAGS="$LCMS2_CFLAGS"
   31844  elif test -n "$PKG_CONFIG"; then
   31845     if test -n "$PKG_CONFIG" && \
   31846     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0.0\""; } >&5
   31847   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0.0") 2>&5
   31848   ac_status=$?
   31849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31850   test $ac_status = 0; }; then
   31851   pkg_cv_LCMS2_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0.0" 2>/dev/null`
   31852 		      test "x$?" != "x0" && pkg_failed=yes
   31853 else
   31854   pkg_failed=yes
   31855 fi
   31856  else
   31857     pkg_failed=untried
   31858 fi
   31859 if test -n "$LCMS2_LIBS"; then
   31860     pkg_cv_LCMS2_LIBS="$LCMS2_LIBS"
   31861  elif test -n "$PKG_CONFIG"; then
   31862     if test -n "$PKG_CONFIG" && \
   31863     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0.0\""; } >&5
   31864   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0.0") 2>&5
   31865   ac_status=$?
   31866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31867   test $ac_status = 0; }; then
   31868   pkg_cv_LCMS2_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0.0" 2>/dev/null`
   31869 		      test "x$?" != "x0" && pkg_failed=yes
   31870 else
   31871   pkg_failed=yes
   31872 fi
   31873  else
   31874     pkg_failed=untried
   31875 fi
   31876 
   31877 
   31878 
   31879 if test $pkg_failed = yes; then
   31880         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31881 $as_echo "no" >&6; }
   31882 
   31883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   31884         _pkg_short_errors_supported=yes
   31885 else
   31886         _pkg_short_errors_supported=no
   31887 fi
   31888         if test $_pkg_short_errors_supported = yes; then
   31889 	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0.0" 2>&1`
   31890         else
   31891 	        LCMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0.0" 2>&1`
   31892         fi
   31893 	# Put the nasty error message in config.log where it belongs
   31894 	echo "$LCMS2_PKG_ERRORS" >&5
   31895 
   31896 	have_lcms=no
   31897 elif test $pkg_failed = untried; then
   31898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   31899 $as_echo "no" >&6; }
   31900 	have_lcms=no
   31901 else
   31902 	LCMS2_CFLAGS=$pkg_cv_LCMS2_CFLAGS
   31903 	LCMS2_LIBS=$pkg_cv_LCMS2_LIBS
   31904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   31905 $as_echo "yes" >&6; }
   31906 	have_lcms=yes
   31907 fi
   31908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   31909 $as_echo "" >&6; }
   31910 fi
   31911 
   31912 if test "$have_lcms" = 'yes'; then
   31913 
   31914 $as_echo "#define LCMS_DELEGATE 1" >>confdefs.h
   31915 
   31916   LCMS_CFLAGS="$LCMS2_CFLAGS"
   31917   LCMS_LIBS="$LCMS2_LIBS"
   31918   CFLAGS="$LCMS2_CFLAGS $CFLAGS"
   31919   ac_fn_c_check_header_mongrel "$LINENO" "lcms2/lcms2.h" "ac_cv_header_lcms2_lcms2_h" "$ac_includes_default"
   31920 if test "x$ac_cv_header_lcms2_lcms2_h" = xyes; then :
   31921   have_lcms_header='yes'
   31922 fi
   31923 
   31924 
   31925   if test "$have_lcms_header" = 'yes'; then
   31926 
   31927 $as_echo "#define HAVE_LCMS2_LCMS2_H 1" >>confdefs.h
   31928 
   31929   else
   31930 
   31931 $as_echo "#define HAVE_LCMS2_H 1" >>confdefs.h
   31932 
   31933   fi
   31934 fi
   31935 
   31936  if test "$have_lcms" = 'yes'; then
   31937   LCMS_DELEGATE_TRUE=
   31938   LCMS_DELEGATE_FALSE='#'
   31939 else
   31940   LCMS_DELEGATE_TRUE='#'
   31941   LCMS_DELEGATE_FALSE=
   31942 fi
   31943 
   31944 
   31945 
   31946 
   31947 
   31948 #
   31949 # Check for the OpenJP2 delegate library.
   31950 #
   31951 
   31952 # Check whether --with-openjp2 was given.
   31953 if test "${with_openjp2+set}" = set; then :
   31954   withval=$with_openjp2; with_openjp2=$withval
   31955 else
   31956   with_openjp2='yes'
   31957 fi
   31958 
   31959 
   31960 if test "$with_openjp2" != 'yes'; then
   31961     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 "
   31962 fi
   31963 
   31964 have_openjp2='no'
   31965 LIBOPENJP2_CFLAGS=""
   31966 LIBOPENJP2_LIBS=""
   31967 LIBOPENJP2_PKG=""
   31968 if test "x$with_openjp2" = "xyes"; then
   31969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   31970 $as_echo "-------------------------------------------------------------" >&6; }
   31971 
   31972 pkg_failed=no
   31973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libopenjp2 >= 2.1.0" >&5
   31974 $as_echo_n "checking for libopenjp2 >= 2.1.0... " >&6; }
   31975 
   31976 if test -n "$LIBOPENJP2_CFLAGS"; then
   31977     pkg_cv_LIBOPENJP2_CFLAGS="$LIBOPENJP2_CFLAGS"
   31978  elif test -n "$PKG_CONFIG"; then
   31979     if test -n "$PKG_CONFIG" && \
   31980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.1.0\""; } >&5
   31981   ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.1.0") 2>&5
   31982   ac_status=$?
   31983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   31984   test $ac_status = 0; }; then
   31985   pkg_cv_LIBOPENJP2_CFLAGS=`$PKG_CONFIG --cflags "libopenjp2 >= 2.1.0" 2>/dev/null`
   31986 		      test "x$?" != "x0" && pkg_failed=yes
   31987 else
   31988   pkg_failed=yes
   31989 fi
   31990  else
   31991     pkg_failed=untried
   31992 fi
   31993 if test -n "$LIBOPENJP2_LIBS"; then
   31994     pkg_cv_LIBOPENJP2_LIBS="$LIBOPENJP2_LIBS"
   31995  elif test -n "$PKG_CONFIG"; then
   31996     if test -n "$PKG_CONFIG" && \
   31997     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.1.0\""; } >&5
   31998   ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.1.0") 2>&5
   31999   ac_status=$?
   32000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32001   test $ac_status = 0; }; then
   32002   pkg_cv_LIBOPENJP2_LIBS=`$PKG_CONFIG --libs "libopenjp2 >= 2.1.0" 2>/dev/null`
   32003 		      test "x$?" != "x0" && pkg_failed=yes
   32004 else
   32005   pkg_failed=yes
   32006 fi
   32007  else
   32008     pkg_failed=untried
   32009 fi
   32010 
   32011 
   32012 
   32013 if test $pkg_failed = yes; then
   32014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32015 $as_echo "no" >&6; }
   32016 
   32017 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32018         _pkg_short_errors_supported=yes
   32019 else
   32020         _pkg_short_errors_supported=no
   32021 fi
   32022         if test $_pkg_short_errors_supported = yes; then
   32023 	        LIBOPENJP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenjp2 >= 2.1.0" 2>&1`
   32024         else
   32025 	        LIBOPENJP2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenjp2 >= 2.1.0" 2>&1`
   32026         fi
   32027 	# Put the nasty error message in config.log where it belongs
   32028 	echo "$LIBOPENJP2_PKG_ERRORS" >&5
   32029 
   32030 	have_openjp2=no
   32031 elif test $pkg_failed = untried; then
   32032         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32033 $as_echo "no" >&6; }
   32034 	have_openjp2=no
   32035 else
   32036 	LIBOPENJP2_CFLAGS=$pkg_cv_LIBOPENJP2_CFLAGS
   32037 	LIBOPENJP2_LIBS=$pkg_cv_LIBOPENJP2_LIBS
   32038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32039 $as_echo "yes" >&6; }
   32040 	have_openjp2=yes
   32041 fi
   32042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32043 $as_echo "" >&6; }
   32044 fi
   32045 
   32046 if test "$have_openjp2" = 'yes'; then
   32047 
   32048 $as_echo "#define LIBOPENJP2_DELEGATE 1" >>confdefs.h
   32049 
   32050   CFLAGS="$LIBOPENJP2_CFLAGS $CFLAGS"
   32051 fi
   32052 
   32053  if test "$have_openjp2" = 'yes'; then
   32054   LIBOPENJP2_DELEGATE_TRUE=
   32055   LIBOPENJP2_DELEGATE_FALSE='#'
   32056 else
   32057   LIBOPENJP2_DELEGATE_TRUE='#'
   32058   LIBOPENJP2_DELEGATE_FALSE=
   32059 fi
   32060 
   32061 
   32062 
   32063 
   32064 
   32065 
   32066 #
   32067 # Check for the LQR (Liquid Rescale) delegate library.
   32068 #
   32069 
   32070 # Check whether --with-lqr was given.
   32071 if test "${with_lqr+set}" = set; then :
   32072   withval=$with_lqr; with_lqr=$withval
   32073 else
   32074   with_lqr='yes'
   32075 fi
   32076 
   32077 
   32078 if test "$with_lqr" != 'yes'; then
   32079     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lqr=$with_lqr "
   32080 fi
   32081 
   32082 have_lqr='no'
   32083 LQR_CFLAGS=""
   32084 LQR_LIBS=""
   32085 LQR_PKG=""
   32086 if test "x$with_lqr" = "xyes"; then
   32087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32088 $as_echo "-------------------------------------------------------------" >&6; }
   32089 
   32090 pkg_failed=no
   32091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lqr-1 >= 0.1.0" >&5
   32092 $as_echo_n "checking for lqr-1 >= 0.1.0... " >&6; }
   32093 
   32094 if test -n "$LQR_CFLAGS"; then
   32095     pkg_cv_LQR_CFLAGS="$LQR_CFLAGS"
   32096  elif test -n "$PKG_CONFIG"; then
   32097     if test -n "$PKG_CONFIG" && \
   32098     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= 0.1.0\""; } >&5
   32099   ($PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0") 2>&5
   32100   ac_status=$?
   32101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32102   test $ac_status = 0; }; then
   32103   pkg_cv_LQR_CFLAGS=`$PKG_CONFIG --cflags "lqr-1 >= 0.1.0" 2>/dev/null`
   32104 		      test "x$?" != "x0" && pkg_failed=yes
   32105 else
   32106   pkg_failed=yes
   32107 fi
   32108  else
   32109     pkg_failed=untried
   32110 fi
   32111 if test -n "$LQR_LIBS"; then
   32112     pkg_cv_LQR_LIBS="$LQR_LIBS"
   32113  elif test -n "$PKG_CONFIG"; then
   32114     if test -n "$PKG_CONFIG" && \
   32115     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= 0.1.0\""; } >&5
   32116   ($PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0") 2>&5
   32117   ac_status=$?
   32118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32119   test $ac_status = 0; }; then
   32120   pkg_cv_LQR_LIBS=`$PKG_CONFIG --libs "lqr-1 >= 0.1.0" 2>/dev/null`
   32121 		      test "x$?" != "x0" && pkg_failed=yes
   32122 else
   32123   pkg_failed=yes
   32124 fi
   32125  else
   32126     pkg_failed=untried
   32127 fi
   32128 
   32129 
   32130 
   32131 if test $pkg_failed = yes; then
   32132         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32133 $as_echo "no" >&6; }
   32134 
   32135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32136         _pkg_short_errors_supported=yes
   32137 else
   32138         _pkg_short_errors_supported=no
   32139 fi
   32140         if test $_pkg_short_errors_supported = yes; then
   32141 	        LQR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lqr-1 >= 0.1.0" 2>&1`
   32142         else
   32143 	        LQR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lqr-1 >= 0.1.0" 2>&1`
   32144         fi
   32145 	# Put the nasty error message in config.log where it belongs
   32146 	echo "$LQR_PKG_ERRORS" >&5
   32147 
   32148 	have_lqr=no
   32149 elif test $pkg_failed = untried; then
   32150         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32151 $as_echo "no" >&6; }
   32152 	have_lqr=no
   32153 else
   32154 	LQR_CFLAGS=$pkg_cv_LQR_CFLAGS
   32155 	LQR_LIBS=$pkg_cv_LQR_LIBS
   32156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32157 $as_echo "yes" >&6; }
   32158 	have_lqr=yes
   32159 fi
   32160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32161 $as_echo "" >&6; }
   32162 fi
   32163 
   32164 if test "$have_lqr" = 'yes'; then
   32165 
   32166 $as_echo "#define LQR_DELEGATE 1" >>confdefs.h
   32167 
   32168   CFLAGS="$LQR_CFLAGS $CFLAGS"
   32169 fi
   32170 
   32171  if test "$have_lqr" = 'yes'; then
   32172   LQR_DELEGATE_TRUE=
   32173   LQR_DELEGATE_FALSE='#'
   32174 else
   32175   LQR_DELEGATE_TRUE='#'
   32176   LQR_DELEGATE_FALSE=
   32177 fi
   32178 
   32179 
   32180 
   32181 
   32182 
   32183 # Disable LZMA (lzma library)
   32184 
   32185 # Check whether --with-lzma was given.
   32186 if test "${with_lzma+set}" = set; then :
   32187   withval=$with_lzma; with_lzma=$withval
   32188 else
   32189   with_lzma='yes'
   32190 fi
   32191 
   32192 if test "$with_lzma" != 'yes' ; then
   32193     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lzma=$with_lzma "
   32194 fi
   32195 
   32196 LZMA_PKG=""
   32197 if test "x$with_lzma" = "xyes"; then
   32198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32199 $as_echo "-------------------------------------------------------------" >&6; }
   32200 
   32201 pkg_failed=no
   32202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblzma >= 2.9.0" >&5
   32203 $as_echo_n "checking for liblzma >= 2.9.0... " >&6; }
   32204 
   32205 if test -n "$LZMA_CFLAGS"; then
   32206     pkg_cv_LZMA_CFLAGS="$LZMA_CFLAGS"
   32207  elif test -n "$PKG_CONFIG"; then
   32208     if test -n "$PKG_CONFIG" && \
   32209     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma >= 2.9.0\""; } >&5
   32210   ($PKG_CONFIG --exists --print-errors "liblzma >= 2.9.0") 2>&5
   32211   ac_status=$?
   32212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32213   test $ac_status = 0; }; then
   32214   pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma >= 2.9.0" 2>/dev/null`
   32215 		      test "x$?" != "x0" && pkg_failed=yes
   32216 else
   32217   pkg_failed=yes
   32218 fi
   32219  else
   32220     pkg_failed=untried
   32221 fi
   32222 if test -n "$LZMA_LIBS"; then
   32223     pkg_cv_LZMA_LIBS="$LZMA_LIBS"
   32224  elif test -n "$PKG_CONFIG"; then
   32225     if test -n "$PKG_CONFIG" && \
   32226     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma >= 2.9.0\""; } >&5
   32227   ($PKG_CONFIG --exists --print-errors "liblzma >= 2.9.0") 2>&5
   32228   ac_status=$?
   32229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32230   test $ac_status = 0; }; then
   32231   pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs "liblzma >= 2.9.0" 2>/dev/null`
   32232 		      test "x$?" != "x0" && pkg_failed=yes
   32233 else
   32234   pkg_failed=yes
   32235 fi
   32236  else
   32237     pkg_failed=untried
   32238 fi
   32239 
   32240 
   32241 
   32242 if test $pkg_failed = yes; then
   32243         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32244 $as_echo "no" >&6; }
   32245 
   32246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32247         _pkg_short_errors_supported=yes
   32248 else
   32249         _pkg_short_errors_supported=no
   32250 fi
   32251         if test $_pkg_short_errors_supported = yes; then
   32252 	        LZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma >= 2.9.0" 2>&1`
   32253         else
   32254 	        LZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma >= 2.9.0" 2>&1`
   32255         fi
   32256 	# Put the nasty error message in config.log where it belongs
   32257 	echo "$LZMA_PKG_ERRORS" >&5
   32258 
   32259 	have_lzma=no
   32260 elif test $pkg_failed = untried; then
   32261         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32262 $as_echo "no" >&6; }
   32263 	have_lzma=no
   32264 else
   32265 	LZMA_CFLAGS=$pkg_cv_LZMA_CFLAGS
   32266 	LZMA_LIBS=$pkg_cv_LZMA_LIBS
   32267         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32268 $as_echo "yes" >&6; }
   32269 	have_lzma=yes
   32270 fi
   32271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32272 $as_echo "" >&6; }
   32273 fi
   32274 
   32275 if test "$have_lzma" = 'yes'; then
   32276 
   32277 $as_echo "#define LZMA_DELEGATE 1" >>confdefs.h
   32278 
   32279   CFLAGS="$LZMA_CFLAGS $CFLAGS"
   32280 fi
   32281 
   32282  if test "$have_lzma" = 'yes'; then
   32283   LZMA_DELEGATE_TRUE=
   32284   LZMA_DELEGATE_FALSE='#'
   32285 else
   32286   LZMA_DELEGATE_TRUE='#'
   32287   LZMA_DELEGATE_FALSE=
   32288 fi
   32289 
   32290 
   32291 
   32292 
   32293 
   32294 #
   32295 # Check for the OpenEXR delegate library.
   32296 #
   32297 
   32298 # Check whether --with-openexr was given.
   32299 if test "${with_openexr+set}" = set; then :
   32300   withval=$with_openexr; with_openexr=$withval
   32301 else
   32302   with_openexr='yes'
   32303 fi
   32304 
   32305 
   32306 if test "$with_openexr" != 'yes'; then
   32307     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openexr=$with_openexr "
   32308 fi
   32309 
   32310 have_openexr='no'
   32311 OPENEXR_CFLAGS=""
   32312 OPENEXR_LIBS=""
   32313 OPENEXR_PKG=""
   32314 if test "x$with_openexr" = "xyes"; then
   32315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32316 $as_echo "-------------------------------------------------------------" >&6; }
   32317 
   32318 pkg_failed=no
   32319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenEXR >= 1.0.6" >&5
   32320 $as_echo_n "checking for OpenEXR >= 1.0.6... " >&6; }
   32321 
   32322 if test -n "$OPENEXR_CFLAGS"; then
   32323     pkg_cv_OPENEXR_CFLAGS="$OPENEXR_CFLAGS"
   32324  elif test -n "$PKG_CONFIG"; then
   32325     if test -n "$PKG_CONFIG" && \
   32326     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"OpenEXR >= 1.0.6\""; } >&5
   32327   ($PKG_CONFIG --exists --print-errors "OpenEXR >= 1.0.6") 2>&5
   32328   ac_status=$?
   32329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32330   test $ac_status = 0; }; then
   32331   pkg_cv_OPENEXR_CFLAGS=`$PKG_CONFIG --cflags "OpenEXR >= 1.0.6" 2>/dev/null`
   32332 		      test "x$?" != "x0" && pkg_failed=yes
   32333 else
   32334   pkg_failed=yes
   32335 fi
   32336  else
   32337     pkg_failed=untried
   32338 fi
   32339 if test -n "$OPENEXR_LIBS"; then
   32340     pkg_cv_OPENEXR_LIBS="$OPENEXR_LIBS"
   32341  elif test -n "$PKG_CONFIG"; then
   32342     if test -n "$PKG_CONFIG" && \
   32343     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"OpenEXR >= 1.0.6\""; } >&5
   32344   ($PKG_CONFIG --exists --print-errors "OpenEXR >= 1.0.6") 2>&5
   32345   ac_status=$?
   32346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32347   test $ac_status = 0; }; then
   32348   pkg_cv_OPENEXR_LIBS=`$PKG_CONFIG --libs "OpenEXR >= 1.0.6" 2>/dev/null`
   32349 		      test "x$?" != "x0" && pkg_failed=yes
   32350 else
   32351   pkg_failed=yes
   32352 fi
   32353  else
   32354     pkg_failed=untried
   32355 fi
   32356 
   32357 
   32358 
   32359 if test $pkg_failed = yes; then
   32360         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32361 $as_echo "no" >&6; }
   32362 
   32363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32364         _pkg_short_errors_supported=yes
   32365 else
   32366         _pkg_short_errors_supported=no
   32367 fi
   32368         if test $_pkg_short_errors_supported = yes; then
   32369 	        OPENEXR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "OpenEXR >= 1.0.6" 2>&1`
   32370         else
   32371 	        OPENEXR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "OpenEXR >= 1.0.6" 2>&1`
   32372         fi
   32373 	# Put the nasty error message in config.log where it belongs
   32374 	echo "$OPENEXR_PKG_ERRORS" >&5
   32375 
   32376 	have_openexr=no
   32377 elif test $pkg_failed = untried; then
   32378         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32379 $as_echo "no" >&6; }
   32380 	have_openexr=no
   32381 else
   32382 	OPENEXR_CFLAGS=$pkg_cv_OPENEXR_CFLAGS
   32383 	OPENEXR_LIBS=$pkg_cv_OPENEXR_LIBS
   32384         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32385 $as_echo "yes" >&6; }
   32386 	have_openexr=yes
   32387 fi
   32388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32389 $as_echo "" >&6; }
   32390 fi
   32391 
   32392 if test "$have_openexr" = 'yes'; then
   32393 
   32394 $as_echo "#define OPENEXR_DELEGATE 1" >>confdefs.h
   32395 
   32396   CFLAGS="$OPENEXR_CFLAGS $CFLAGS"
   32397 fi
   32398 
   32399  if test "$have_openexr" = 'yes'; then
   32400   OPENEXR_DELEGATE_TRUE=
   32401   OPENEXR_DELEGATE_FALSE='#'
   32402 else
   32403   OPENEXR_DELEGATE_TRUE='#'
   32404   OPENEXR_DELEGATE_FALSE=
   32405 fi
   32406 
   32407 
   32408 
   32409 
   32410 
   32411 #
   32412 # Check for PANGO delegate library.
   32413 #
   32414 
   32415 # Check whether --with-pango was given.
   32416 if test "${with_pango+set}" = set; then :
   32417   withval=$with_pango; with_pango=$withval
   32418 else
   32419   with_pango='yes'
   32420 fi
   32421 
   32422 
   32423 if test "$with_pango" != 'yes'; then
   32424     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-pango=$with_pango "
   32425 fi
   32426 
   32427 have_pango='no'
   32428 have_pangocairo='no'
   32429 PANGO_CFLAGS=""
   32430 PANGO_LIBS=""
   32431 PANGO_PKG=""
   32432 if test "x$with_pango" = "xyes"; then
   32433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32434 $as_echo "-------------------------------------------------------------" >&6; }
   32435 
   32436 pkg_failed=no
   32437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangocairo >= 1.28.1" >&5
   32438 $as_echo_n "checking for pangocairo >= 1.28.1... " >&6; }
   32439 
   32440 if test -n "$PANGO_CFLAGS"; then
   32441     pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
   32442  elif test -n "$PKG_CONFIG"; then
   32443     if test -n "$PKG_CONFIG" && \
   32444     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.28.1\""; } >&5
   32445   ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.28.1") 2>&5
   32446   ac_status=$?
   32447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32448   test $ac_status = 0; }; then
   32449   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo >= 1.28.1" 2>/dev/null`
   32450 		      test "x$?" != "x0" && pkg_failed=yes
   32451 else
   32452   pkg_failed=yes
   32453 fi
   32454  else
   32455     pkg_failed=untried
   32456 fi
   32457 if test -n "$PANGO_LIBS"; then
   32458     pkg_cv_PANGO_LIBS="$PANGO_LIBS"
   32459  elif test -n "$PKG_CONFIG"; then
   32460     if test -n "$PKG_CONFIG" && \
   32461     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo >= 1.28.1\""; } >&5
   32462   ($PKG_CONFIG --exists --print-errors "pangocairo >= 1.28.1") 2>&5
   32463   ac_status=$?
   32464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32465   test $ac_status = 0; }; then
   32466   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pangocairo >= 1.28.1" 2>/dev/null`
   32467 		      test "x$?" != "x0" && pkg_failed=yes
   32468 else
   32469   pkg_failed=yes
   32470 fi
   32471  else
   32472     pkg_failed=untried
   32473 fi
   32474 
   32475 
   32476 
   32477 if test $pkg_failed = yes; then
   32478         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32479 $as_echo "no" >&6; }
   32480 
   32481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32482         _pkg_short_errors_supported=yes
   32483 else
   32484         _pkg_short_errors_supported=no
   32485 fi
   32486         if test $_pkg_short_errors_supported = yes; then
   32487 	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangocairo >= 1.28.1" 2>&1`
   32488         else
   32489 	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangocairo >= 1.28.1" 2>&1`
   32490         fi
   32491 	# Put the nasty error message in config.log where it belongs
   32492 	echo "$PANGO_PKG_ERRORS" >&5
   32493 
   32494 	have_pangocairo=no
   32495 elif test $pkg_failed = untried; then
   32496         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32497 $as_echo "no" >&6; }
   32498 	have_pangocairo=no
   32499 else
   32500 	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
   32501 	PANGO_LIBS=$pkg_cv_PANGO_LIBS
   32502         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32503 $as_echo "yes" >&6; }
   32504 	have_pangocairo=yes
   32505 fi
   32506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32507 $as_echo "" >&6; }
   32508 
   32509 pkg_failed=no
   32510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pango >= 1.28.1" >&5
   32511 $as_echo_n "checking for pango >= 1.28.1... " >&6; }
   32512 
   32513 if test -n "$PANGO_CFLAGS"; then
   32514     pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
   32515  elif test -n "$PKG_CONFIG"; then
   32516     if test -n "$PKG_CONFIG" && \
   32517     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= 1.28.1\""; } >&5
   32518   ($PKG_CONFIG --exists --print-errors "pango >= 1.28.1") 2>&5
   32519   ac_status=$?
   32520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32521   test $ac_status = 0; }; then
   32522   pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.28.1" 2>/dev/null`
   32523 		      test "x$?" != "x0" && pkg_failed=yes
   32524 else
   32525   pkg_failed=yes
   32526 fi
   32527  else
   32528     pkg_failed=untried
   32529 fi
   32530 if test -n "$PANGO_LIBS"; then
   32531     pkg_cv_PANGO_LIBS="$PANGO_LIBS"
   32532  elif test -n "$PKG_CONFIG"; then
   32533     if test -n "$PKG_CONFIG" && \
   32534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= 1.28.1\""; } >&5
   32535   ($PKG_CONFIG --exists --print-errors "pango >= 1.28.1") 2>&5
   32536   ac_status=$?
   32537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32538   test $ac_status = 0; }; then
   32539   pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.28.1" 2>/dev/null`
   32540 		      test "x$?" != "x0" && pkg_failed=yes
   32541 else
   32542   pkg_failed=yes
   32543 fi
   32544  else
   32545     pkg_failed=untried
   32546 fi
   32547 
   32548 
   32549 
   32550 if test $pkg_failed = yes; then
   32551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32552 $as_echo "no" >&6; }
   32553 
   32554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32555         _pkg_short_errors_supported=yes
   32556 else
   32557         _pkg_short_errors_supported=no
   32558 fi
   32559         if test $_pkg_short_errors_supported = yes; then
   32560 	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango >= 1.28.1" 2>&1`
   32561         else
   32562 	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango >= 1.28.1" 2>&1`
   32563         fi
   32564 	# Put the nasty error message in config.log where it belongs
   32565 	echo "$PANGO_PKG_ERRORS" >&5
   32566 
   32567 	have_pango=no
   32568 elif test $pkg_failed = untried; then
   32569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32570 $as_echo "no" >&6; }
   32571 	have_pango=no
   32572 else
   32573 	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
   32574 	PANGO_LIBS=$pkg_cv_PANGO_LIBS
   32575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32576 $as_echo "yes" >&6; }
   32577 	have_pango=yes
   32578 fi
   32579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32580 $as_echo "" >&6; }
   32581 fi
   32582 
   32583 if test "$have_pango" = 'yes'; then
   32584 
   32585 $as_echo "#define PANGO_DELEGATE 1" >>confdefs.h
   32586 
   32587   CFLAGS="$PANGO_CFLAGS $CFLAGS"
   32588 fi
   32589 
   32590 if test "$have_pangocairo" = 'yes'; then
   32591 
   32592 $as_echo "#define PANGOCAIRO_DELEGATE 1" >>confdefs.h
   32593 
   32594   CFLAGS="$PANGOCAIRO_CFLAGS $CFLAGS"
   32595 fi
   32596 
   32597  if test "$have_pango" = 'yes'; then
   32598   PANGO_DELEGATE_TRUE=
   32599   PANGO_DELEGATE_FALSE='#'
   32600 else
   32601   PANGO_DELEGATE_TRUE='#'
   32602   PANGO_DELEGATE_FALSE=
   32603 fi
   32604 
   32605  if test "$have_pangocairo" = 'yes'; then
   32606   PANGOCAIRO_DELEGATE_TRUE=
   32607   PANGOCAIRO_DELEGATE_FALSE='#'
   32608 else
   32609   PANGOCAIRO_DELEGATE_TRUE='#'
   32610   PANGOCAIRO_DELEGATE_FALSE=
   32611 fi
   32612 
   32613 
   32614 
   32615 
   32616 
   32617 #
   32618 # Check for PNG delegate library.
   32619 #
   32620 
   32621 # Check whether --with-png was given.
   32622 if test "${with_png+set}" = set; then :
   32623   withval=$with_png; with_png=$withval
   32624 else
   32625   with_png='yes'
   32626 fi
   32627 
   32628 
   32629 if test "$with_png" != 'yes'; then
   32630     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-png=$with_png "
   32631 fi
   32632 
   32633 have_png='no'
   32634 PNG_CFLAGS=""
   32635 PNG_LIBS=""
   32636 PNG_PKG=""
   32637 if test "x$with_png" = "xyes"; then
   32638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32639 $as_echo "-------------------------------------------------------------" >&6; }
   32640 
   32641 pkg_failed=no
   32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng >= 1.0.0" >&5
   32643 $as_echo_n "checking for libpng >= 1.0.0... " >&6; }
   32644 
   32645 if test -n "$PNG_CFLAGS"; then
   32646     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
   32647  elif test -n "$PKG_CONFIG"; then
   32648     if test -n "$PKG_CONFIG" && \
   32649     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.0.0\""; } >&5
   32650   ($PKG_CONFIG --exists --print-errors "libpng >= 1.0.0") 2>&5
   32651   ac_status=$?
   32652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32653   test $ac_status = 0; }; then
   32654   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.0.0" 2>/dev/null`
   32655 		      test "x$?" != "x0" && pkg_failed=yes
   32656 else
   32657   pkg_failed=yes
   32658 fi
   32659  else
   32660     pkg_failed=untried
   32661 fi
   32662 if test -n "$PNG_LIBS"; then
   32663     pkg_cv_PNG_LIBS="$PNG_LIBS"
   32664  elif test -n "$PKG_CONFIG"; then
   32665     if test -n "$PKG_CONFIG" && \
   32666     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.0.0\""; } >&5
   32667   ($PKG_CONFIG --exists --print-errors "libpng >= 1.0.0") 2>&5
   32668   ac_status=$?
   32669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32670   test $ac_status = 0; }; then
   32671   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.0.0" 2>/dev/null`
   32672 		      test "x$?" != "x0" && pkg_failed=yes
   32673 else
   32674   pkg_failed=yes
   32675 fi
   32676  else
   32677     pkg_failed=untried
   32678 fi
   32679 
   32680 
   32681 
   32682 if test $pkg_failed = yes; then
   32683         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32684 $as_echo "no" >&6; }
   32685 
   32686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32687         _pkg_short_errors_supported=yes
   32688 else
   32689         _pkg_short_errors_supported=no
   32690 fi
   32691         if test $_pkg_short_errors_supported = yes; then
   32692 	        PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.0.0" 2>&1`
   32693         else
   32694 	        PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.0.0" 2>&1`
   32695         fi
   32696 	# Put the nasty error message in config.log where it belongs
   32697 	echo "$PNG_PKG_ERRORS" >&5
   32698 
   32699 	have_png=no
   32700 elif test $pkg_failed = untried; then
   32701         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32702 $as_echo "no" >&6; }
   32703 	have_png=no
   32704 else
   32705 	PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
   32706 	PNG_LIBS=$pkg_cv_PNG_LIBS
   32707         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32708 $as_echo "yes" >&6; }
   32709 	have_png=yes
   32710 fi
   32711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32712 $as_echo "" >&6; }
   32713 fi
   32714 
   32715 if test "$have_png" = 'yes'; then
   32716 
   32717 $as_echo "#define PNG_DELEGATE 1" >>confdefs.h
   32718 
   32719   CFLAGS="$PNG_CFLAGS $CFLAGS"
   32720 fi
   32721 
   32722  if test "$have_png" = 'yes'; then
   32723   PNG_DELEGATE_TRUE=
   32724   PNG_DELEGATE_FALSE='#'
   32725 else
   32726   PNG_DELEGATE_TRUE='#'
   32727   PNG_DELEGATE_FALSE=
   32728 fi
   32729 
   32730 
   32731 
   32732 
   32733 
   32734 #
   32735 # Check for the Raw delegate library.
   32736 #
   32737 
   32738 # Check whether --with-raw was given.
   32739 if test "${with_raw+set}" = set; then :
   32740   withval=$with_raw; with_raw=$withval
   32741 else
   32742   with_raw='yes'
   32743 fi
   32744 
   32745 
   32746 if test "$with_raw" != 'yes'; then
   32747     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-libraw=$with_raw "
   32748 fi
   32749 
   32750 have_raw='no'
   32751 RAW_R_CFLAGS=""
   32752 RAW_R_LIBS=""
   32753 RAW_R_PKG=""
   32754 if test "x$with_raw" = "xyes"; then
   32755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32756 $as_echo "-------------------------------------------------------------" >&6; }
   32757 
   32758 pkg_failed=no
   32759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraw_r >= 0.14.8" >&5
   32760 $as_echo_n "checking for libraw_r >= 0.14.8... " >&6; }
   32761 
   32762 if test -n "$RAW_R_CFLAGS"; then
   32763     pkg_cv_RAW_R_CFLAGS="$RAW_R_CFLAGS"
   32764  elif test -n "$PKG_CONFIG"; then
   32765     if test -n "$PKG_CONFIG" && \
   32766     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw_r >= 0.14.8\""; } >&5
   32767   ($PKG_CONFIG --exists --print-errors "libraw_r >= 0.14.8") 2>&5
   32768   ac_status=$?
   32769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32770   test $ac_status = 0; }; then
   32771   pkg_cv_RAW_R_CFLAGS=`$PKG_CONFIG --cflags "libraw_r >= 0.14.8" 2>/dev/null`
   32772 		      test "x$?" != "x0" && pkg_failed=yes
   32773 else
   32774   pkg_failed=yes
   32775 fi
   32776  else
   32777     pkg_failed=untried
   32778 fi
   32779 if test -n "$RAW_R_LIBS"; then
   32780     pkg_cv_RAW_R_LIBS="$RAW_R_LIBS"
   32781  elif test -n "$PKG_CONFIG"; then
   32782     if test -n "$PKG_CONFIG" && \
   32783     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libraw_r >= 0.14.8\""; } >&5
   32784   ($PKG_CONFIG --exists --print-errors "libraw_r >= 0.14.8") 2>&5
   32785   ac_status=$?
   32786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32787   test $ac_status = 0; }; then
   32788   pkg_cv_RAW_R_LIBS=`$PKG_CONFIG --libs "libraw_r >= 0.14.8" 2>/dev/null`
   32789 		      test "x$?" != "x0" && pkg_failed=yes
   32790 else
   32791   pkg_failed=yes
   32792 fi
   32793  else
   32794     pkg_failed=untried
   32795 fi
   32796 
   32797 
   32798 
   32799 if test $pkg_failed = yes; then
   32800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32801 $as_echo "no" >&6; }
   32802 
   32803 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32804         _pkg_short_errors_supported=yes
   32805 else
   32806         _pkg_short_errors_supported=no
   32807 fi
   32808         if test $_pkg_short_errors_supported = yes; then
   32809 	        RAW_R_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libraw_r >= 0.14.8" 2>&1`
   32810         else
   32811 	        RAW_R_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libraw_r >= 0.14.8" 2>&1`
   32812         fi
   32813 	# Put the nasty error message in config.log where it belongs
   32814 	echo "$RAW_R_PKG_ERRORS" >&5
   32815 
   32816 	have_raw=no
   32817 elif test $pkg_failed = untried; then
   32818         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32819 $as_echo "no" >&6; }
   32820 	have_raw=no
   32821 else
   32822 	RAW_R_CFLAGS=$pkg_cv_RAW_R_CFLAGS
   32823 	RAW_R_LIBS=$pkg_cv_RAW_R_LIBS
   32824         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32825 $as_echo "yes" >&6; }
   32826 	have_raw=yes
   32827 fi
   32828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32829 $as_echo "" >&6; }
   32830 fi
   32831 
   32832 if test "$have_raw" = 'yes'; then
   32833 
   32834 $as_echo "#define RAW_R_DELEGATE 1" >>confdefs.h
   32835 
   32836   CFLAGS="$RAW_R_CFLAGS $CFLAGS"
   32837 fi
   32838 
   32839  if test "$have_raw" = 'yes'; then
   32840   RAW_R_DELEGATE_TRUE=
   32841   RAW_R_DELEGATE_FALSE='#'
   32842 else
   32843   RAW_R_DELEGATE_TRUE='#'
   32844   RAW_R_DELEGATE_FALSE=
   32845 fi
   32846 
   32847 
   32848 
   32849 
   32850 
   32851 #
   32852 # Check for RSVG delegate library.
   32853 #
   32854 
   32855 # Check whether --with-rsvg was given.
   32856 if test "${with_rsvg+set}" = set; then :
   32857   withval=$with_rsvg; with_rsvg=$withval
   32858 else
   32859   with_rsvg='no'
   32860 fi
   32861 
   32862 
   32863 if test "$with_rsvg" != 'yes'; then
   32864     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-rsvg=$with_rsvg "
   32865 fi
   32866 
   32867 have_rsvg='no'
   32868 have_cairo='no'
   32869 RSVG_CFLAGS=""
   32870 RSVG_LIBS=""
   32871 RSVG_PKG=""
   32872 if test "x$with_rsvg" = "xyes"; then
   32873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   32874 $as_echo "-------------------------------------------------------------" >&6; }
   32875 
   32876 pkg_failed=no
   32877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librsvg-2.0 >= 2.9.0" >&5
   32878 $as_echo_n "checking for librsvg-2.0 >= 2.9.0... " >&6; }
   32879 
   32880 if test -n "$RSVG_CFLAGS"; then
   32881     pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
   32882  elif test -n "$PKG_CONFIG"; then
   32883     if test -n "$PKG_CONFIG" && \
   32884     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5
   32885   ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5
   32886   ac_status=$?
   32887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32888   test $ac_status = 0; }; then
   32889   pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.9.0" 2>/dev/null`
   32890 		      test "x$?" != "x0" && pkg_failed=yes
   32891 else
   32892   pkg_failed=yes
   32893 fi
   32894  else
   32895     pkg_failed=untried
   32896 fi
   32897 if test -n "$RSVG_LIBS"; then
   32898     pkg_cv_RSVG_LIBS="$RSVG_LIBS"
   32899  elif test -n "$PKG_CONFIG"; then
   32900     if test -n "$PKG_CONFIG" && \
   32901     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.9.0\""; } >&5
   32902   ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.9.0") 2>&5
   32903   ac_status=$?
   32904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32905   test $ac_status = 0; }; then
   32906   pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.9.0" 2>/dev/null`
   32907 		      test "x$?" != "x0" && pkg_failed=yes
   32908 else
   32909   pkg_failed=yes
   32910 fi
   32911  else
   32912     pkg_failed=untried
   32913 fi
   32914 
   32915 
   32916 
   32917 if test $pkg_failed = yes; then
   32918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32919 $as_echo "no" >&6; }
   32920 
   32921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32922         _pkg_short_errors_supported=yes
   32923 else
   32924         _pkg_short_errors_supported=no
   32925 fi
   32926         if test $_pkg_short_errors_supported = yes; then
   32927 	        RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librsvg-2.0 >= 2.9.0" 2>&1`
   32928         else
   32929 	        RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librsvg-2.0 >= 2.9.0" 2>&1`
   32930         fi
   32931 	# Put the nasty error message in config.log where it belongs
   32932 	echo "$RSVG_PKG_ERRORS" >&5
   32933 
   32934 	have_rsvg=no
   32935 elif test $pkg_failed = untried; then
   32936         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32937 $as_echo "no" >&6; }
   32938 	have_rsvg=no
   32939 else
   32940 	RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
   32941 	RSVG_LIBS=$pkg_cv_RSVG_LIBS
   32942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   32943 $as_echo "yes" >&6; }
   32944 	have_rsvg=yes
   32945 fi
   32946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   32947 $as_echo "" >&6; }
   32948 
   32949 pkg_failed=no
   32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo-svg" >&5
   32951 $as_echo_n "checking for cairo-svg... " >&6; }
   32952 
   32953 if test -n "$CAIRO_SVG_CFLAGS"; then
   32954     pkg_cv_CAIRO_SVG_CFLAGS="$CAIRO_SVG_CFLAGS"
   32955  elif test -n "$PKG_CONFIG"; then
   32956     if test -n "$PKG_CONFIG" && \
   32957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
   32958   ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
   32959   ac_status=$?
   32960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32961   test $ac_status = 0; }; then
   32962   pkg_cv_CAIRO_SVG_CFLAGS=`$PKG_CONFIG --cflags "cairo-svg" 2>/dev/null`
   32963 		      test "x$?" != "x0" && pkg_failed=yes
   32964 else
   32965   pkg_failed=yes
   32966 fi
   32967  else
   32968     pkg_failed=untried
   32969 fi
   32970 if test -n "$CAIRO_SVG_LIBS"; then
   32971     pkg_cv_CAIRO_SVG_LIBS="$CAIRO_SVG_LIBS"
   32972  elif test -n "$PKG_CONFIG"; then
   32973     if test -n "$PKG_CONFIG" && \
   32974     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo-svg\""; } >&5
   32975   ($PKG_CONFIG --exists --print-errors "cairo-svg") 2>&5
   32976   ac_status=$?
   32977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   32978   test $ac_status = 0; }; then
   32979   pkg_cv_CAIRO_SVG_LIBS=`$PKG_CONFIG --libs "cairo-svg" 2>/dev/null`
   32980 		      test "x$?" != "x0" && pkg_failed=yes
   32981 else
   32982   pkg_failed=yes
   32983 fi
   32984  else
   32985     pkg_failed=untried
   32986 fi
   32987 
   32988 
   32989 
   32990 if test $pkg_failed = yes; then
   32991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   32992 $as_echo "no" >&6; }
   32993 
   32994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   32995         _pkg_short_errors_supported=yes
   32996 else
   32997         _pkg_short_errors_supported=no
   32998 fi
   32999         if test $_pkg_short_errors_supported = yes; then
   33000 	        CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo-svg" 2>&1`
   33001         else
   33002 	        CAIRO_SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo-svg" 2>&1`
   33003         fi
   33004 	# Put the nasty error message in config.log where it belongs
   33005 	echo "$CAIRO_SVG_PKG_ERRORS" >&5
   33006 
   33007 	have_cairo=no
   33008 elif test $pkg_failed = untried; then
   33009         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33010 $as_echo "no" >&6; }
   33011 	have_cairo=no
   33012 else
   33013 	CAIRO_SVG_CFLAGS=$pkg_cv_CAIRO_SVG_CFLAGS
   33014 	CAIRO_SVG_LIBS=$pkg_cv_CAIRO_SVG_LIBS
   33015         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33016 $as_echo "yes" >&6; }
   33017 	have_cairo=yes
   33018 fi
   33019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   33020 $as_echo "" >&6; }
   33021 fi
   33022 
   33023 if test "$have_rsvg" = 'yes'; then
   33024 
   33025 $as_echo "#define RSVG_DELEGATE 1" >>confdefs.h
   33026 
   33027   CFLAGS="$RSVG_CFLAGS $CFLAGS"
   33028 fi
   33029 
   33030 if test "$have_cairo" = 'yes'; then
   33031 
   33032 $as_echo "#define CAIRO_DELEGATE 1" >>confdefs.h
   33033 
   33034   CFLAGS="$CAIRO_SVG_CFLAGS $CFLAGS"
   33035 fi
   33036 
   33037  if test "$have_rsvg" = 'yes'; then
   33038   RSVG_DELEGATE_TRUE=
   33039   RSVG_DELEGATE_FALSE='#'
   33040 else
   33041   RSVG_DELEGATE_TRUE='#'
   33042   RSVG_DELEGATE_FALSE=
   33043 fi
   33044 
   33045  if test "$have_cairo" = 'yes'; then
   33046   CAIRO_DELEGATE_TRUE=
   33047   CAIRO_DELEGATE_FALSE='#'
   33048 else
   33049   CAIRO_DELEGATE_TRUE='#'
   33050   CAIRO_DELEGATE_FALSE=
   33051 fi
   33052 
   33053 
   33054 
   33055 
   33056 
   33057 #
   33058 # Check for TIFF delegate library.
   33059 #
   33060 
   33061 # Check whether --with-tiff was given.
   33062 if test "${with_tiff+set}" = set; then :
   33063   withval=$with_tiff; with_tiff=$withval
   33064 else
   33065   with_tiff='yes'
   33066 fi
   33067 
   33068 
   33069 if test "$with_tiff" != 'yes'; then
   33070     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-tiff=$with_tiff "
   33071 fi
   33072 
   33073 have_tiff='no'
   33074 TIFF_LIBS=''
   33075 if test "$with_tiff" != 'no'; then
   33076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   33077 $as_echo "-------------------------------------------------------------" >&6; }
   33078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFF" >&5
   33079 $as_echo_n "checking for TIFF... " >&6; }
   33080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   33081 $as_echo "" >&6; }
   33082     failed=0
   33083     passed=0
   33084     ac_fn_c_check_header_mongrel "$LINENO" "tiff.h" "ac_cv_header_tiff_h" "$ac_includes_default"
   33085 if test "x$ac_cv_header_tiff_h" = xyes; then :
   33086   passed=`expr $passed + 1`
   33087 else
   33088   failed=`expr $failed + 1`
   33089 fi
   33090 
   33091 
   33092     ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
   33093 if test "x$ac_cv_header_tiffio_h" = xyes; then :
   33094   passed=`expr $passed + 1`
   33095 else
   33096   failed=`expr $failed + 1`
   33097 fi
   33098 
   33099 
   33100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFOpen in -ltiff" >&5
   33101 $as_echo_n "checking for TIFFOpen in -ltiff... " >&6; }
   33102 if ${ac_cv_lib_tiff_TIFFOpen+:} false; then :
   33103   $as_echo_n "(cached) " >&6
   33104 else
   33105   ac_check_lib_save_LIBS=$LIBS
   33106 LIBS="-ltiff  $LIBS"
   33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33108 /* end confdefs.h.  */
   33109 
   33110 /* Override any GCC internal prototype to avoid an error.
   33111    Use char because int might match the return type of a GCC
   33112    builtin and then its argument prototype would still apply.  */
   33113 #ifdef __cplusplus
   33114 extern "C"
   33115 #endif
   33116 char TIFFOpen ();
   33117 int
   33118 main ()
   33119 {
   33120 return TIFFOpen ();
   33121   ;
   33122   return 0;
   33123 }
   33124 _ACEOF
   33125 if ac_fn_c_try_link "$LINENO"; then :
   33126   ac_cv_lib_tiff_TIFFOpen=yes
   33127 else
   33128   ac_cv_lib_tiff_TIFFOpen=no
   33129 fi
   33130 rm -f core conftest.err conftest.$ac_objext \
   33131     conftest$ac_exeext conftest.$ac_ext
   33132 LIBS=$ac_check_lib_save_LIBS
   33133 fi
   33134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFOpen" >&5
   33135 $as_echo "$ac_cv_lib_tiff_TIFFOpen" >&6; }
   33136 if test "x$ac_cv_lib_tiff_TIFFOpen" = xyes; then :
   33137   passed=`expr $passed + 1`
   33138 else
   33139   failed=`expr $failed + 1`
   33140 fi
   33141 
   33142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
   33143 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
   33144 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
   33145   $as_echo_n "(cached) " >&6
   33146 else
   33147   ac_check_lib_save_LIBS=$LIBS
   33148 LIBS="-ltiff  $LIBS"
   33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33150 /* end confdefs.h.  */
   33151 
   33152 /* Override any GCC internal prototype to avoid an error.
   33153    Use char because int might match the return type of a GCC
   33154    builtin and then its argument prototype would still apply.  */
   33155 #ifdef __cplusplus
   33156 extern "C"
   33157 #endif
   33158 char TIFFClientOpen ();
   33159 int
   33160 main ()
   33161 {
   33162 return TIFFClientOpen ();
   33163   ;
   33164   return 0;
   33165 }
   33166 _ACEOF
   33167 if ac_fn_c_try_link "$LINENO"; then :
   33168   ac_cv_lib_tiff_TIFFClientOpen=yes
   33169 else
   33170   ac_cv_lib_tiff_TIFFClientOpen=no
   33171 fi
   33172 rm -f core conftest.err conftest.$ac_objext \
   33173     conftest$ac_exeext conftest.$ac_ext
   33174 LIBS=$ac_check_lib_save_LIBS
   33175 fi
   33176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
   33177 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
   33178 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
   33179   passed=`expr $passed + 1`
   33180 else
   33181   failed=`expr $failed + 1`
   33182 fi
   33183 
   33184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFIsByteSwapped in -ltiff" >&5
   33185 $as_echo_n "checking for TIFFIsByteSwapped in -ltiff... " >&6; }
   33186 if ${ac_cv_lib_tiff_TIFFIsByteSwapped+:} false; then :
   33187   $as_echo_n "(cached) " >&6
   33188 else
   33189   ac_check_lib_save_LIBS=$LIBS
   33190 LIBS="-ltiff  $LIBS"
   33191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33192 /* end confdefs.h.  */
   33193 
   33194 /* Override any GCC internal prototype to avoid an error.
   33195    Use char because int might match the return type of a GCC
   33196    builtin and then its argument prototype would still apply.  */
   33197 #ifdef __cplusplus
   33198 extern "C"
   33199 #endif
   33200 char TIFFIsByteSwapped ();
   33201 int
   33202 main ()
   33203 {
   33204 return TIFFIsByteSwapped ();
   33205   ;
   33206   return 0;
   33207 }
   33208 _ACEOF
   33209 if ac_fn_c_try_link "$LINENO"; then :
   33210   ac_cv_lib_tiff_TIFFIsByteSwapped=yes
   33211 else
   33212   ac_cv_lib_tiff_TIFFIsByteSwapped=no
   33213 fi
   33214 rm -f core conftest.err conftest.$ac_objext \
   33215     conftest$ac_exeext conftest.$ac_ext
   33216 LIBS=$ac_check_lib_save_LIBS
   33217 fi
   33218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFIsByteSwapped" >&5
   33219 $as_echo "$ac_cv_lib_tiff_TIFFIsByteSwapped" >&6; }
   33220 if test "x$ac_cv_lib_tiff_TIFFIsByteSwapped" = xyes; then :
   33221   passed=`expr $passed + 1`
   33222 else
   33223   failed=`expr $failed + 1`
   33224 fi
   33225 
   33226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadRGBATile in -ltiff" >&5
   33227 $as_echo_n "checking for TIFFReadRGBATile in -ltiff... " >&6; }
   33228 if ${ac_cv_lib_tiff_TIFFReadRGBATile+:} false; then :
   33229   $as_echo_n "(cached) " >&6
   33230 else
   33231   ac_check_lib_save_LIBS=$LIBS
   33232 LIBS="-ltiff  $LIBS"
   33233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33234 /* end confdefs.h.  */
   33235 
   33236 /* Override any GCC internal prototype to avoid an error.
   33237    Use char because int might match the return type of a GCC
   33238    builtin and then its argument prototype would still apply.  */
   33239 #ifdef __cplusplus
   33240 extern "C"
   33241 #endif
   33242 char TIFFReadRGBATile ();
   33243 int
   33244 main ()
   33245 {
   33246 return TIFFReadRGBATile ();
   33247   ;
   33248   return 0;
   33249 }
   33250 _ACEOF
   33251 if ac_fn_c_try_link "$LINENO"; then :
   33252   ac_cv_lib_tiff_TIFFReadRGBATile=yes
   33253 else
   33254   ac_cv_lib_tiff_TIFFReadRGBATile=no
   33255 fi
   33256 rm -f core conftest.err conftest.$ac_objext \
   33257     conftest$ac_exeext conftest.$ac_ext
   33258 LIBS=$ac_check_lib_save_LIBS
   33259 fi
   33260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadRGBATile" >&5
   33261 $as_echo "$ac_cv_lib_tiff_TIFFReadRGBATile" >&6; }
   33262 if test "x$ac_cv_lib_tiff_TIFFReadRGBATile" = xyes; then :
   33263   passed=`expr $passed + 1`
   33264 else
   33265   failed=`expr $failed + 1`
   33266 fi
   33267 
   33268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadRGBAStrip in -ltiff" >&5
   33269 $as_echo_n "checking for TIFFReadRGBAStrip in -ltiff... " >&6; }
   33270 if ${ac_cv_lib_tiff_TIFFReadRGBAStrip+:} false; then :
   33271   $as_echo_n "(cached) " >&6
   33272 else
   33273   ac_check_lib_save_LIBS=$LIBS
   33274 LIBS="-ltiff  $LIBS"
   33275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33276 /* end confdefs.h.  */
   33277 
   33278 /* Override any GCC internal prototype to avoid an error.
   33279    Use char because int might match the return type of a GCC
   33280    builtin and then its argument prototype would still apply.  */
   33281 #ifdef __cplusplus
   33282 extern "C"
   33283 #endif
   33284 char TIFFReadRGBAStrip ();
   33285 int
   33286 main ()
   33287 {
   33288 return TIFFReadRGBAStrip ();
   33289   ;
   33290   return 0;
   33291 }
   33292 _ACEOF
   33293 if ac_fn_c_try_link "$LINENO"; then :
   33294   ac_cv_lib_tiff_TIFFReadRGBAStrip=yes
   33295 else
   33296   ac_cv_lib_tiff_TIFFReadRGBAStrip=no
   33297 fi
   33298 rm -f core conftest.err conftest.$ac_objext \
   33299     conftest$ac_exeext conftest.$ac_ext
   33300 LIBS=$ac_check_lib_save_LIBS
   33301 fi
   33302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadRGBAStrip" >&5
   33303 $as_echo "$ac_cv_lib_tiff_TIFFReadRGBAStrip" >&6; }
   33304 if test "x$ac_cv_lib_tiff_TIFFReadRGBAStrip" = xyes; then :
   33305   passed=`expr $passed + 1`
   33306 else
   33307   failed=`expr $failed + 1`
   33308 fi
   33309 
   33310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if TIFF package is complete" >&5
   33311 $as_echo_n "checking if TIFF package is complete... " >&6; }
   33312     if test $passed -gt 0; then
   33313         if test $failed -gt 0; then
   33314             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   33315 $as_echo "no -- some components failed test" >&6; }
   33316             have_tiff='no (failed tests)'
   33317         else
   33318             TIFF_LIBS='-ltiff'
   33319             LIBS="$TIFF_LIBS $LIBS"
   33320 
   33321 $as_echo "#define TIFF_DELEGATE 1" >>confdefs.h
   33322 
   33323             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33324 $as_echo "yes" >&6; }
   33325             have_tiff='yes'
   33326             for ac_header in tiffconf.h
   33327 do :
   33328   ac_fn_c_check_header_mongrel "$LINENO" "tiffconf.h" "ac_cv_header_tiffconf_h" "$ac_includes_default"
   33329 if test "x$ac_cv_header_tiffconf_h" = xyes; then :
   33330   cat >>confdefs.h <<_ACEOF
   33331 #define HAVE_TIFFCONF_H 1
   33332 _ACEOF
   33333 
   33334 fi
   33335 
   33336 done
   33337 
   33338             for ac_func in TIFFIsCODECConfigured TIFFMergeFieldInfo \
   33339               TIFFIsBigEndian TIFFReadEXIFDirectory TIFFSetErrorHandlerExt \
   33340               TIFFSetTagExtender TIFFSetWarningHandlerExt \
   33341               TIFFSwabArrayOfTriples
   33342 do :
   33343   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   33344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   33345 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   33346   cat >>confdefs.h <<_ACEOF
   33347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   33348 _ACEOF
   33349 
   33350 fi
   33351 done
   33352 
   33353         fi
   33354     else
   33355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33356 $as_echo "no" >&6; }
   33357     fi
   33358 fi
   33359  if test "$have_tiff" = 'yes'; then
   33360   TIFF_DELEGATE_TRUE=
   33361   TIFF_DELEGATE_FALSE='#'
   33362 else
   33363   TIFF_DELEGATE_TRUE='#'
   33364   TIFF_DELEGATE_FALSE=
   33365 fi
   33366 
   33367 
   33368 
   33369 #
   33370 # Set URW Base35 font directory.
   33371 #
   33372 
   33373 # Check whether --with-urw-base35-font-dir was given.
   33374 if test "${with_urw_base35_font_dir+set}" = set; then :
   33375   withval=$with_urw_base35_font_dir; with_urw_base35_font_dir=$withval
   33376 else
   33377   with_urw_base35_font_dir='default'
   33378 fi
   33379 
   33380 
   33381 if test "$with_urw_base35_font_dir" != 'default'; then
   33382     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-urw-base35-font-dir=$with_urw_base35_font_dir "
   33383 fi
   33384 
   33385 
   33386 #
   33387 # Check for the WEBP delegate library.
   33388 #
   33389 
   33390 # Check whether --with-webp was given.
   33391 if test "${with_webp+set}" = set; then :
   33392   withval=$with_webp; with_webp=$withval
   33393 else
   33394   with_webp='yes'
   33395 fi
   33396 
   33397 
   33398 if test "$with_webp" != 'yes'; then
   33399     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-webp=$with_webp "
   33400 fi
   33401 
   33402 have_webp='no'
   33403 have_webpmux='no'
   33404 WEBP_CFLAGS=""
   33405 WEBP_LIBS=""
   33406 WEBP_PKG=""
   33407 WEBPMUX_CFLAGS=""
   33408 WEBPMUX_LIBS=""
   33409 WEBPMUX_PKG=""
   33410 if test "x$with_webp" = "xyes"; then
   33411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   33412 $as_echo "-------------------------------------------------------------" >&6; }
   33413 
   33414 pkg_failed=no
   33415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwebp" >&5
   33416 $as_echo_n "checking for libwebp... " >&6; }
   33417 
   33418 if test -n "$WEBP_CFLAGS"; then
   33419     pkg_cv_WEBP_CFLAGS="$WEBP_CFLAGS"
   33420  elif test -n "$PKG_CONFIG"; then
   33421     if test -n "$PKG_CONFIG" && \
   33422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp\""; } >&5
   33423   ($PKG_CONFIG --exists --print-errors "libwebp") 2>&5
   33424   ac_status=$?
   33425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33426   test $ac_status = 0; }; then
   33427   pkg_cv_WEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp" 2>/dev/null`
   33428 		      test "x$?" != "x0" && pkg_failed=yes
   33429 else
   33430   pkg_failed=yes
   33431 fi
   33432  else
   33433     pkg_failed=untried
   33434 fi
   33435 if test -n "$WEBP_LIBS"; then
   33436     pkg_cv_WEBP_LIBS="$WEBP_LIBS"
   33437  elif test -n "$PKG_CONFIG"; then
   33438     if test -n "$PKG_CONFIG" && \
   33439     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp\""; } >&5
   33440   ($PKG_CONFIG --exists --print-errors "libwebp") 2>&5
   33441   ac_status=$?
   33442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33443   test $ac_status = 0; }; then
   33444   pkg_cv_WEBP_LIBS=`$PKG_CONFIG --libs "libwebp" 2>/dev/null`
   33445 		      test "x$?" != "x0" && pkg_failed=yes
   33446 else
   33447   pkg_failed=yes
   33448 fi
   33449  else
   33450     pkg_failed=untried
   33451 fi
   33452 
   33453 
   33454 
   33455 if test $pkg_failed = yes; then
   33456         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33457 $as_echo "no" >&6; }
   33458 
   33459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   33460         _pkg_short_errors_supported=yes
   33461 else
   33462         _pkg_short_errors_supported=no
   33463 fi
   33464         if test $_pkg_short_errors_supported = yes; then
   33465 	        WEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebp" 2>&1`
   33466         else
   33467 	        WEBP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebp" 2>&1`
   33468         fi
   33469 	# Put the nasty error message in config.log where it belongs
   33470 	echo "$WEBP_PKG_ERRORS" >&5
   33471 
   33472 	have_webp=no
   33473 elif test $pkg_failed = untried; then
   33474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33475 $as_echo "no" >&6; }
   33476 	have_webp=no
   33477 else
   33478 	WEBP_CFLAGS=$pkg_cv_WEBP_CFLAGS
   33479 	WEBP_LIBS=$pkg_cv_WEBP_LIBS
   33480         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33481 $as_echo "yes" >&6; }
   33482 	have_webp=yes
   33483 fi
   33484 
   33485 pkg_failed=no
   33486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwebpmux >= 0.4.4" >&5
   33487 $as_echo_n "checking for libwebpmux >= 0.4.4... " >&6; }
   33488 
   33489 if test -n "$WEBPMUX_CFLAGS"; then
   33490     pkg_cv_WEBPMUX_CFLAGS="$WEBPMUX_CFLAGS"
   33491  elif test -n "$PKG_CONFIG"; then
   33492     if test -n "$PKG_CONFIG" && \
   33493     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebpmux >= 0.4.4\""; } >&5
   33494   ($PKG_CONFIG --exists --print-errors "libwebpmux >= 0.4.4") 2>&5
   33495   ac_status=$?
   33496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33497   test $ac_status = 0; }; then
   33498   pkg_cv_WEBPMUX_CFLAGS=`$PKG_CONFIG --cflags "libwebpmux >= 0.4.4" 2>/dev/null`
   33499 		      test "x$?" != "x0" && pkg_failed=yes
   33500 else
   33501   pkg_failed=yes
   33502 fi
   33503  else
   33504     pkg_failed=untried
   33505 fi
   33506 if test -n "$WEBPMUX_LIBS"; then
   33507     pkg_cv_WEBPMUX_LIBS="$WEBPMUX_LIBS"
   33508  elif test -n "$PKG_CONFIG"; then
   33509     if test -n "$PKG_CONFIG" && \
   33510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebpmux >= 0.4.4\""; } >&5
   33511   ($PKG_CONFIG --exists --print-errors "libwebpmux >= 0.4.4") 2>&5
   33512   ac_status=$?
   33513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33514   test $ac_status = 0; }; then
   33515   pkg_cv_WEBPMUX_LIBS=`$PKG_CONFIG --libs "libwebpmux >= 0.4.4" 2>/dev/null`
   33516 		      test "x$?" != "x0" && pkg_failed=yes
   33517 else
   33518   pkg_failed=yes
   33519 fi
   33520  else
   33521     pkg_failed=untried
   33522 fi
   33523 
   33524 
   33525 
   33526 if test $pkg_failed = yes; then
   33527         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33528 $as_echo "no" >&6; }
   33529 
   33530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   33531         _pkg_short_errors_supported=yes
   33532 else
   33533         _pkg_short_errors_supported=no
   33534 fi
   33535         if test $_pkg_short_errors_supported = yes; then
   33536 	        WEBPMUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebpmux >= 0.4.4" 2>&1`
   33537         else
   33538 	        WEBPMUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebpmux >= 0.4.4" 2>&1`
   33539         fi
   33540 	# Put the nasty error message in config.log where it belongs
   33541 	echo "$WEBPMUX_PKG_ERRORS" >&5
   33542 
   33543 	have_webpmux=no
   33544 elif test $pkg_failed = untried; then
   33545         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33546 $as_echo "no" >&6; }
   33547 	have_webpmux=no
   33548 else
   33549 	WEBPMUX_CFLAGS=$pkg_cv_WEBPMUX_CFLAGS
   33550 	WEBPMUX_LIBS=$pkg_cv_WEBPMUX_LIBS
   33551         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33552 $as_echo "yes" >&6; }
   33553 	have_webpmux=yes
   33554 fi
   33555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   33556 $as_echo "" >&6; }
   33557 fi
   33558 
   33559 if test "$have_webp" = 'yes'; then
   33560 
   33561 $as_echo "#define WEBP_DELEGATE 1" >>confdefs.h
   33562 
   33563   CFLAGS="$WEBP_CFLAGS $CFLAGS"
   33564 fi
   33565 
   33566 if test "$have_webpmux" = 'yes'; then
   33567 
   33568 $as_echo "#define WEBPMUX_DELEGATE 1" >>confdefs.h
   33569 
   33570   CFLAGS="$WEBPMUX_CFLAGS $CFLAGS"
   33571 fi
   33572 
   33573  if test "$have_webp" = 'yes'; then
   33574   WEBP_DELEGATE_TRUE=
   33575   WEBP_DELEGATE_FALSE='#'
   33576 else
   33577   WEBP_DELEGATE_TRUE='#'
   33578   WEBP_DELEGATE_FALSE=
   33579 fi
   33580 
   33581  if test "$have_webpmux" = 'yes'; then
   33582   WEBPMUX_DELEGATE_TRUE=
   33583   WEBPMUX_DELEGATE_FALSE='#'
   33584 else
   33585   WEBPMUX_DELEGATE_TRUE='#'
   33586   WEBPMUX_DELEGATE_FALSE=
   33587 fi
   33588 
   33589 
   33590 
   33591 
   33592 
   33593 
   33594 
   33595 #
   33596 # Set Windows font directory.
   33597 #
   33598 
   33599 # Check whether --with-windows-font-dir was given.
   33600 if test "${with_windows_font_dir+set}" = set; then :
   33601   withval=$with_windows_font_dir; with_windows_font_dir=$withval
   33602 else
   33603   with_windows_font_dir='default'
   33604 fi
   33605 
   33606 
   33607 if test "$with_windows_font_dir" != 'default'; then
   33608     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-windows-font-dir=$with_windows_font_dir "
   33609 fi
   33610 
   33611 
   33612 #
   33613 # Check for WMF delegate library.
   33614 #
   33615 
   33616 # Check whether --with-wmf was given.
   33617 if test "${with_wmf+set}" = set; then :
   33618   withval=$with_wmf; with_wmf=$withval
   33619 else
   33620   with_wmf='yes'
   33621 fi
   33622 
   33623 
   33624 if test "$with_wmf" != 'yes'; then
   33625     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-wmf=$with_wmf "
   33626 fi
   33627 
   33628 have_wmf='no'
   33629 WMF_LIBS=''
   33630 WMF_CFLAGS=''
   33631 OLIBS="$LIBS"
   33632 if test "$with_wmf" != 'no'; then
   33633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WMF support " >&5
   33634 $as_echo_n "checking for WMF support ... " >&6; }
   33635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   33636 $as_echo "" >&6; }
   33637 
   33638   have_libwmflite='no'
   33639   have_libwmf_ipa_h='no'
   33640 
   33641   ac_fn_c_check_header_compile "$LINENO" "libwmf/ipa.h" "ac_cv_header_libwmf_ipa_h" "$FT2BUILD_H
   33642 "
   33643 if test "x$ac_cv_header_libwmf_ipa_h" = xyes; then :
   33644   have_libwmf_ipa_h='yes'
   33645 fi
   33646 
   33647 
   33648   if test "$have_libwmf_ipa_h" = 'yes'; then
   33649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wmf_lite_create in -lwmflite" >&5
   33650 $as_echo_n "checking for wmf_lite_create in -lwmflite... " >&6; }
   33651 if ${ac_cv_lib_wmflite_wmf_lite_create+:} false; then :
   33652   $as_echo_n "(cached) " >&6
   33653 else
   33654   ac_check_lib_save_LIBS=$LIBS
   33655 LIBS="-lwmflite  $LIBS"
   33656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   33657 /* end confdefs.h.  */
   33658 
   33659 /* Override any GCC internal prototype to avoid an error.
   33660    Use char because int might match the return type of a GCC
   33661    builtin and then its argument prototype would still apply.  */
   33662 #ifdef __cplusplus
   33663 extern "C"
   33664 #endif
   33665 char wmf_lite_create ();
   33666 int
   33667 main ()
   33668 {
   33669 return wmf_lite_create ();
   33670   ;
   33671   return 0;
   33672 }
   33673 _ACEOF
   33674 if ac_fn_c_try_link "$LINENO"; then :
   33675   ac_cv_lib_wmflite_wmf_lite_create=yes
   33676 else
   33677   ac_cv_lib_wmflite_wmf_lite_create=no
   33678 fi
   33679 rm -f core conftest.err conftest.$ac_objext \
   33680     conftest$ac_exeext conftest.$ac_ext
   33681 LIBS=$ac_check_lib_save_LIBS
   33682 fi
   33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wmflite_wmf_lite_create" >&5
   33684 $as_echo "$ac_cv_lib_wmflite_wmf_lite_create" >&6; }
   33685 if test "x$ac_cv_lib_wmflite_wmf_lite_create" = xyes; then :
   33686   have_libwmflite='yes'
   33687 fi
   33688 
   33689     if test "$have_libwmflite" = 'yes'; then
   33690 
   33691 $as_echo "#define WMF_DELEGATE 1" >>confdefs.h
   33692 
   33693       WMF_LIBS='-lwmflite'
   33694       LIBS="$WMF_LIBS $LIBS"
   33695       have_wmf='yes'
   33696     else
   33697       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no -- some components failed test" >&5
   33698 $as_echo "no -- some components failed test" >&6; }
   33699       have_wmf='no (failed tests)'
   33700       have_wmflite='no (failed tests)'
   33701       LIBS="$OLIBS"
   33702       WMF_LIBS=''
   33703     fi
   33704   fi
   33705 fi
   33706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if WMF package is complete " >&5
   33707 $as_echo_n "checking if WMF package is complete ... " >&6; }
   33708 if test "$have_wmf" = 'yes'; then
   33709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33710 $as_echo "yes" >&6; }
   33711 else
   33712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33713 $as_echo "no" >&6; }
   33714 fi
   33715  if test "$have_wmf" = 'yes'; then
   33716   WMF_DELEGATE_TRUE=
   33717   WMF_DELEGATE_FALSE='#'
   33718 else
   33719   WMF_DELEGATE_TRUE='#'
   33720   WMF_DELEGATE_FALSE=
   33721 fi
   33722 
   33723 
   33724 
   33725 
   33726 
   33727 #
   33728 # Check for XML delegate library.
   33729 #
   33730 
   33731 # Check whether --with-xml was given.
   33732 if test "${with_xml+set}" = set; then :
   33733   withval=$with_xml; with_xml=$withval
   33734 else
   33735   with_xml='yes'
   33736 fi
   33737 
   33738 
   33739 if test "$with_xml" != 'yes' ; then
   33740     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-xml=$with_xml "
   33741 fi
   33742 
   33743 have_xml='no'
   33744 XML_CFLAGS=""
   33745 XML_LIBS=""
   33746 XML_PKG=""
   33747 if test "x$with_xml" = "xyes"; then
   33748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   33749 $as_echo "-------------------------------------------------------------" >&6; }
   33750 
   33751 pkg_failed=no
   33752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.0.0" >&5
   33753 $as_echo_n "checking for libxml-2.0 >= 2.0.0... " >&6; }
   33754 
   33755 if test -n "$XML_CFLAGS"; then
   33756     pkg_cv_XML_CFLAGS="$XML_CFLAGS"
   33757  elif test -n "$PKG_CONFIG"; then
   33758     if test -n "$PKG_CONFIG" && \
   33759     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.0.0\""; } >&5
   33760   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.0.0") 2>&5
   33761   ac_status=$?
   33762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33763   test $ac_status = 0; }; then
   33764   pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.0.0" 2>/dev/null`
   33765 		      test "x$?" != "x0" && pkg_failed=yes
   33766 else
   33767   pkg_failed=yes
   33768 fi
   33769  else
   33770     pkg_failed=untried
   33771 fi
   33772 if test -n "$XML_LIBS"; then
   33773     pkg_cv_XML_LIBS="$XML_LIBS"
   33774  elif test -n "$PKG_CONFIG"; then
   33775     if test -n "$PKG_CONFIG" && \
   33776     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.0.0\""; } >&5
   33777   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.0.0") 2>&5
   33778   ac_status=$?
   33779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   33780   test $ac_status = 0; }; then
   33781   pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.0.0" 2>/dev/null`
   33782 		      test "x$?" != "x0" && pkg_failed=yes
   33783 else
   33784   pkg_failed=yes
   33785 fi
   33786  else
   33787     pkg_failed=untried
   33788 fi
   33789 
   33790 
   33791 
   33792 if test $pkg_failed = yes; then
   33793         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33794 $as_echo "no" >&6; }
   33795 
   33796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   33797         _pkg_short_errors_supported=yes
   33798 else
   33799         _pkg_short_errors_supported=no
   33800 fi
   33801         if test $_pkg_short_errors_supported = yes; then
   33802 	        XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1`
   33803         else
   33804 	        XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.0.0" 2>&1`
   33805         fi
   33806 	# Put the nasty error message in config.log where it belongs
   33807 	echo "$XML_PKG_ERRORS" >&5
   33808 
   33809 	have_xml=no
   33810 elif test $pkg_failed = untried; then
   33811         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   33812 $as_echo "no" >&6; }
   33813 	have_xml=no
   33814 else
   33815 	XML_CFLAGS=$pkg_cv_XML_CFLAGS
   33816 	XML_LIBS=$pkg_cv_XML_LIBS
   33817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   33818 $as_echo "yes" >&6; }
   33819 	have_xml=yes
   33820 fi
   33821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   33822 $as_echo "" >&6; }
   33823 fi
   33824 
   33825 if test "$have_xml" = 'yes'; then
   33826 
   33827 $as_echo "#define XML_DELEGATE 1" >>confdefs.h
   33828 
   33829   CFLAGS="$XML_CFLAGS $CFLAGS"
   33830 fi
   33831 
   33832  if test "$have_xml" = 'yes'; then
   33833   XML_DELEGATE_TRUE=
   33834   XML_DELEGATE_FALSE='#'
   33835 else
   33836   XML_DELEGATE_TRUE='#'
   33837   XML_DELEGATE_FALSE=
   33838 fi
   33839 
   33840 
   33841 
   33842 
   33843 
   33844 # Substitute compiler name to build/link PerlMagick
   33845 #
   33846 
   33847 
   33848 #
   33849 # Configure install Paths
   33850 #
   33851 
   33852 # Path to ImageMagick header files
   33853 INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
   33854 INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}"
   33855 DEFINE_INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}/"
   33856 case "${build_os}" in
   33857   mingw* )
   33858     DEFINE_INCLUDE_PATH=`$WinPathScript "$DEFINE_INCLUDE_PATH" 1`
   33859     ;;
   33860 esac
   33861 
   33862 cat >>confdefs.h <<_ACEOF
   33863 #define INCLUDE_PATH "$DEFINE_INCLUDE_PATH"
   33864 _ACEOF
   33865 
   33866 
   33867 
   33868 # Path to ImageMagick header files (arch part)
   33869 INCLUDEARCH_PATH="${INCLUDEARCH_DIR}/${INCLUDE_RELATIVE_PATH}"
   33870 DEFINE_INCLUDEARCH_PATH="${INCLUDEARCH_DIR}/${INCLUDE_RELATIVE_PATH}/"
   33871 case "${build_os}" in
   33872   mingw* )
   33873     DEFINE_INCLUDEARCH_PATH=`$WinPathScript "$DEFINE_INCLUDEARCH_PATH" 1`
   33874     ;;
   33875 esac
   33876 
   33877 cat >>confdefs.h <<_ACEOF
   33878 #define INCLUDEARCH_PATH "$DEFINE_INCLUDE_PATH"
   33879 _ACEOF
   33880 
   33881 
   33882 
   33883 # Subdirectory under lib to place ImageMagick lib files
   33884 LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_VERSION}"
   33885 
   33886 cat >>confdefs.h <<_ACEOF
   33887 #define LIBRARY_RELATIVE_PATH "$LIBRARY_RELATIVE_PATH"
   33888 _ACEOF
   33889 
   33890 
   33891 # Path to ImageMagick bin directory
   33892 EXECUTABLE_PATH="${BIN_DIR}"
   33893 DEFINE_EXECUTABLE_PATH="${BIN_DIR}/"
   33894 case "${build_os}" in
   33895   mingw* )
   33896     DEFINE_EXECUTABLE_PATH=`$WinPathScript "$DEFINE_EXECUTABLE_PATH" 1`
   33897     ;;
   33898 esac
   33899 
   33900 cat >>confdefs.h <<_ACEOF
   33901 #define EXECUTABLE_PATH "$DEFINE_EXECUTABLE_PATH"
   33902 _ACEOF
   33903 
   33904 
   33905 
   33906 # Path to ImageMagick lib
   33907 LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}"
   33908 DEFINE_LIBRARY_PATH="${LIB_DIR}/${LIBRARY_RELATIVE_PATH}/"
   33909 case "${build_os}" in
   33910   mingw* )
   33911     DEFINE_LIBRARY_PATH=`$WinPathScript "$DEFINE_LIBRARY_PATH" 1`
   33912     ;;
   33913 esac
   33914 
   33915 cat >>confdefs.h <<_ACEOF
   33916 #define LIBRARY_PATH "$DEFINE_LIBRARY_PATH"
   33917 _ACEOF
   33918 
   33919 
   33920 
   33921 #
   33922 # path to local binaries
   33923 if test "x$LIB_BIN_BASEDIRNAME" = "x"; then
   33924    LIB_BIN_BASEDIRNAME="bin"
   33925 fi
   33926 
   33927 cat >>confdefs.h <<_ACEOF
   33928 #define LIB_BIN_BASEDIRNAME "$LIB_BIN_BASEDIRNAME"
   33929 _ACEOF
   33930 
   33931 
   33932 
   33933 if test "x$LIB_BIN_DIR" = "x"; then
   33934    LIB_BIN_DIR=${LIB_BIN_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
   33935 fi
   33936 
   33937 
   33938 LIB_BIN_DIR_RELATIVE_PATH=$LIB_BIN_DIR
   33939 
   33940 LIB_BIN_DIR_PATH="${LIBRARY_PATH}/${LIB_BIN_DIR_RELATIVE_PATH}"
   33941 
   33942 
   33943 #
   33944 # path to modules lib
   33945 if test "x$MODULES_BASEDIRNAME" = "x"; then
   33946    MODULES_BASEDIRNAME="modules"
   33947 fi
   33948 
   33949 cat >>confdefs.h <<_ACEOF
   33950 #define MODULES_BASEDIRNAME "$MODULES_BASEDIRNAME"
   33951 _ACEOF
   33952 
   33953 
   33954 
   33955 if test "x$MODULES_DIRNAME" = "x"; then
   33956   MODULES_DIRNAME=${MODULES_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
   33957 else
   33958 
   33959 cat >>confdefs.h <<_ACEOF
   33960 #define MODULES_DIRNAME "$MODULES_DIRNAME"
   33961 _ACEOF
   33962 
   33963 fi
   33964 
   33965 
   33966 MODULES_RELATIVE_PATH="${MODULES_DIRNAME}"
   33967 
   33968 MODULES_PATH="${LIBRARY_PATH}/${MODULES_RELATIVE_PATH}"
   33969 
   33970 
   33971 #
   33972 # path to coders lib
   33973 if test "x$CODER_DIRNAME" = "x"; then
   33974    CODER_DIRNAME="coders"
   33975 fi
   33976 
   33977 cat >>confdefs.h <<_ACEOF
   33978 #define CODER_DIRNAME "$CODER_DIRNAME"
   33979 _ACEOF
   33980 
   33981 
   33982 
   33983 CODER_RELATIVE_PATH="${CODER_DIRNAME}"
   33984 CODER_PATH="${MODULES_PATH}/${CODER_DIRNAME}"
   33985 
   33986 
   33987 #
   33988 # Subdirectory under lib to place ImageMagick filter module files
   33989 #
   33990 # path to coders lib
   33991 if test "x$FILTER_DIRNAME" = "x"; then
   33992    FILTER_DIRNAME="filters"
   33993 fi
   33994 
   33995 cat >>confdefs.h <<_ACEOF
   33996 #define FILTER_DIRNAME "$FILTER_DIRNAME"
   33997 _ACEOF
   33998 
   33999 
   34000 
   34001 FILTER_RELATIVE_PATH="${FILTER_DIRNAME}"
   34002 FILTER_PATH="${MODULES_PATH}/${FILTER_DIRNAME}"
   34003 
   34004 
   34005 #
   34006 # Path to ImageMagick documentation files
   34007 DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
   34008 DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}"
   34009 DEFINE_DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}/"
   34010 case "${build_os}" in
   34011   mingw* )
   34012     DEFINE_DOCUMENTATION_PATH=`$WinPathScript "$DEFINE_DOCUMENTATION_PATH" 1`
   34013     ;;
   34014 esac
   34015 
   34016 cat >>confdefs.h <<_ACEOF
   34017 #define DOCUMENTATION_PATH "$DEFINE_DOCUMENTATION_PATH"
   34018 _ACEOF
   34019 
   34020 
   34021 
   34022 #
   34023 # Enable/Disable documentation
   34024 # Check whether --enable-docs was given.
   34025 if test "${enable_docs+set}" = set; then :
   34026   enableval=$enable_docs; wantdocs=$enableval
   34027 else
   34028   wantdocs=yes
   34029 fi
   34030 
   34031  if test "$wantdocs" = "yes"; then
   34032   INSTALL_DOC_TRUE=
   34033   INSTALL_DOC_FALSE='#'
   34034 else
   34035   INSTALL_DOC_TRUE='#'
   34036   INSTALL_DOC_FALSE=
   34037 fi
   34038 
   34039 
   34040 # Subdirectory to place architecture-dependent configuration files
   34041 CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
   34042 
   34043 cat >>confdefs.h <<_ACEOF
   34044 #define CONFIGURE_RELATIVE_PATH "$CONFIGURE_RELATIVE_PATH"
   34045 _ACEOF
   34046 
   34047 CONFIGURE_PATH="${SYSCONF_DIR}/${CONFIGURE_RELATIVE_PATH}/"
   34048 DEFINE_CONFIGURE_PATH="${SYSCONF_DIR}/${CONFIGURE_RELATIVE_PATH}/"
   34049 case "${build_os}" in
   34050   mingw* )
   34051     DEFINE_CONFIGURE_PATH=`$WinPathScript "$DEFINE_CONFIGURE_PATH" 1`
   34052     ;;
   34053 esac
   34054 
   34055 cat >>confdefs.h <<_ACEOF
   34056 #define CONFIGURE_PATH "$DEFINE_CONFIGURE_PATH"
   34057 _ACEOF
   34058 
   34059 
   34060 
   34061 # Subdirectory to place architecture-independent configuration files
   34062 SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
   34063 
   34064 cat >>confdefs.h <<_ACEOF
   34065 #define SHARE_RELATIVE_PATH "$SHARE_RELATIVE_PATH"
   34066 _ACEOF
   34067 
   34068 SHARE_PATH="${DATA_DIR}/${SHARE_RELATIVE_PATH}"
   34069 DEFINE_SHARE_PATH="${DATA_DIR}/${SHARE_RELATIVE_PATH}/"
   34070 case "${build_os}" in
   34071   mingw* )
   34072     DEFINE_SHARE_PATH=`$WinPathScript "$DEFINE_SHARE_PATH" 1`
   34073     ;;
   34074 esac
   34075 
   34076 cat >>confdefs.h <<_ACEOF
   34077 #define SHARE_PATH "$DEFINE_SHARE_PATH"
   34078 _ACEOF
   34079 
   34080 
   34081 
   34082 #
   34083 # Subdirectory to place architecture-dependent configuration files.
   34084 if test "x$SHAREARCH_BASEDIRNAME" = "x"; then
   34085    SHAREARCH_BASEDIRNAME="config"
   34086 fi
   34087 
   34088 cat >>confdefs.h <<_ACEOF
   34089 #define SHAREARCH_BASEDIRNAME "$SHAREARCH_BASEDIRNAME"
   34090 _ACEOF
   34091 
   34092 
   34093 
   34094 if test "x$SHAREARCH_DIRNAME" = "x"; then
   34095   SHAREARCH_DIRNAME=${SHAREARCH_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
   34096 else
   34097 
   34098 cat >>confdefs.h <<_ACEOF
   34099 #define SHAREARCH_DIRNAME "$SHAREARCH_DIRNAME"
   34100 _ACEOF
   34101 
   34102 fi
   34103 
   34104 
   34105 SHAREARCH_RELATIVE_PATH="${SHAREARCH_DIRNAME}"
   34106 
   34107 SHAREARCH_PATH="${LIBRARY_PATH}/${SHAREARCH_RELATIVE_PATH}"
   34108 
   34109 
   34110 #
   34111 # program_transform_name is formed for use in a Makefile, so create a
   34112 # modified version for use in a shell script.
   34113 configure_transform_name=`echo ${program_transform_name} | sed 's,\\$\\$,$,'`
   34114 
   34115 # Default delegate definitions
   34116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   34117 $as_echo "-------------------------------------------------------------" >&6; }
   34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ImageMagick delegate programs" >&5
   34119 $as_echo_n "checking for ImageMagick delegate programs... " >&6; }
   34120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   34121 $as_echo "" >&6; }
   34122 BPGDecodeDelegateDefault='bpgdec'
   34123 BPGEncodeDelegateDefault='bpgenc'
   34124 BlenderDecodeDelegateDefault='blender'
   34125 BrowseDelegateDefault='xdg-open'
   34126 DNGDecodeDelegateDefault='ufraw-batch'
   34127 DOCDecodeDelegateDefault='soffice'
   34128 GVCDecodeDelegateDefault='dot'
   34129 DVIDecodeDelegateDefault='dvips'
   34130 EditorDelegateDefault='xterm'
   34131 ConvertDelegateDefault=`echo magick | sed ${configure_transform_name}`
   34132 DisplayDelegateDefault=`echo magick | sed ${configure_transform_name}`
   34133 MogrifyDelegateDefault=`echo magick | sed ${configure_transform_name}`
   34134 HPGLDecodeDelegateDefault='hp2xx'
   34135 HTMLDecodeDelegateDefault='html2ps'
   34136 ILBMDecodeDelegateDefault='ilbmtoppm'
   34137 ILBMEncodeDelegateDefault='ppmtoilbm'
   34138 JXRDecodeDelegateDefault='JxrDecApp'
   34139 JXREncodeDelegateDefault='JxrEncApp'
   34140 LEPDelegateDefault='lepton'
   34141 LPDelegateDefault='lp'
   34142 LPRDelegateDefault='lpr'
   34143 LaunchDelegateDefault='gimp'
   34144 MPEGDecodeDelegateDefault='avconv'
   34145 MPEGEncodeDelegateDefault='avconv'
   34146 MrSIDDecodeDelegateDefault='mrsidgeodecode'
   34147 MVDelegateDefault='mv'
   34148 PCLDelegateDefault='pcl6'
   34149 if test "$native_win32_build" = 'yes'; then
   34150     PSDelegateDefault='gswin32c'
   34151 elif test "$gslib_framework" = 'yes'; then
   34152     PSDelegateDefault='gsc'
   34153 else
   34154     PSDelegateDefault='gs'
   34155 fi
   34156 RMDelegateDefault='rm'
   34157 RSVGDecodeDelegateDefault='rsvg-convert'
   34158 SVGDecodeDelegateDefault='inkscape'
   34159 UniconvertorDelegateDefault='uniconvertor'
   34160 WebPDecodeDelegateDefault='dwebp'
   34161 WebPEncodeDelegateDefault='cwebp'
   34162 WWWDecodeDelegateDefault='curl'
   34163 XPSDelegateDefault='gxps'
   34164 
   34165 # Search for delegates
   34166 # Extract the first word of ""$BPGDecodeDelegateDefault"", so it can be a program name with args.
   34167 set dummy "$BPGDecodeDelegateDefault"; ac_word=$2
   34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34169 $as_echo_n "checking for $ac_word... " >&6; }
   34170 if ${ac_cv_path_BPGDecodeDelegate+:} false; then :
   34171   $as_echo_n "(cached) " >&6
   34172 else
   34173   case $BPGDecodeDelegate in
   34174   [\\/]* | ?:[\\/]*)
   34175   ac_cv_path_BPGDecodeDelegate="$BPGDecodeDelegate" # Let the user override the test with a path.
   34176   ;;
   34177   *)
   34178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34179 for as_dir in $PATH
   34180 do
   34181   IFS=$as_save_IFS
   34182   test -z "$as_dir" && as_dir=.
   34183     for ac_exec_ext in '' $ac_executable_extensions; do
   34184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34185     ac_cv_path_BPGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34187     break 2
   34188   fi
   34189 done
   34190   done
   34191 IFS=$as_save_IFS
   34192 
   34193   test -z "$ac_cv_path_BPGDecodeDelegate" && ac_cv_path_BPGDecodeDelegate=""$BPGDecodeDelegateDefault""
   34194   ;;
   34195 esac
   34196 fi
   34197 BPGDecodeDelegate=$ac_cv_path_BPGDecodeDelegate
   34198 if test -n "$BPGDecodeDelegate"; then
   34199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BPGDecodeDelegate" >&5
   34200 $as_echo "$BPGDecodeDelegate" >&6; }
   34201 else
   34202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34203 $as_echo "no" >&6; }
   34204 fi
   34205 
   34206 
   34207 # Extract the first word of ""$BPGEncodeDelegateDefault"", so it can be a program name with args.
   34208 set dummy "$BPGEncodeDelegateDefault"; ac_word=$2
   34209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34210 $as_echo_n "checking for $ac_word... " >&6; }
   34211 if ${ac_cv_path_BPGEncodeDelegate+:} false; then :
   34212   $as_echo_n "(cached) " >&6
   34213 else
   34214   case $BPGEncodeDelegate in
   34215   [\\/]* | ?:[\\/]*)
   34216   ac_cv_path_BPGEncodeDelegate="$BPGEncodeDelegate" # Let the user override the test with a path.
   34217   ;;
   34218   *)
   34219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34220 for as_dir in $PATH
   34221 do
   34222   IFS=$as_save_IFS
   34223   test -z "$as_dir" && as_dir=.
   34224     for ac_exec_ext in '' $ac_executable_extensions; do
   34225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34226     ac_cv_path_BPGEncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34228     break 2
   34229   fi
   34230 done
   34231   done
   34232 IFS=$as_save_IFS
   34233 
   34234   test -z "$ac_cv_path_BPGEncodeDelegate" && ac_cv_path_BPGEncodeDelegate=""$BPGEncodeDelegateDefault""
   34235   ;;
   34236 esac
   34237 fi
   34238 BPGEncodeDelegate=$ac_cv_path_BPGEncodeDelegate
   34239 if test -n "$BPGEncodeDelegate"; then
   34240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BPGEncodeDelegate" >&5
   34241 $as_echo "$BPGEncodeDelegate" >&6; }
   34242 else
   34243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34244 $as_echo "no" >&6; }
   34245 fi
   34246 
   34247 
   34248 # Extract the first word of ""$BlenderDecodeDelegateDefault"", so it can be a program name with args.
   34249 set dummy "$BlenderDecodeDelegateDefault"; ac_word=$2
   34250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34251 $as_echo_n "checking for $ac_word... " >&6; }
   34252 if ${ac_cv_path_BlenderDecodeDelegate+:} false; then :
   34253   $as_echo_n "(cached) " >&6
   34254 else
   34255   case $BlenderDecodeDelegate in
   34256   [\\/]* | ?:[\\/]*)
   34257   ac_cv_path_BlenderDecodeDelegate="$BlenderDecodeDelegate" # Let the user override the test with a path.
   34258   ;;
   34259   *)
   34260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34261 for as_dir in $PATH
   34262 do
   34263   IFS=$as_save_IFS
   34264   test -z "$as_dir" && as_dir=.
   34265     for ac_exec_ext in '' $ac_executable_extensions; do
   34266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34267     ac_cv_path_BlenderDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34269     break 2
   34270   fi
   34271 done
   34272   done
   34273 IFS=$as_save_IFS
   34274 
   34275   test -z "$ac_cv_path_BlenderDecodeDelegate" && ac_cv_path_BlenderDecodeDelegate=""$BlenderDecodeDelegateDefault""
   34276   ;;
   34277 esac
   34278 fi
   34279 BlenderDecodeDelegate=$ac_cv_path_BlenderDecodeDelegate
   34280 if test -n "$BlenderDecodeDelegate"; then
   34281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BlenderDecodeDelegate" >&5
   34282 $as_echo "$BlenderDecodeDelegate" >&6; }
   34283 else
   34284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34285 $as_echo "no" >&6; }
   34286 fi
   34287 
   34288 
   34289 for ac_prog in "$BrowseDelegateDefault" google-chrome firefox konqueror mozilla lynx
   34290 do
   34291   # Extract the first word of "$ac_prog", so it can be a program name with args.
   34292 set dummy $ac_prog; ac_word=$2
   34293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34294 $as_echo_n "checking for $ac_word... " >&6; }
   34295 if ${ac_cv_path_BrowseDelegate+:} false; then :
   34296   $as_echo_n "(cached) " >&6
   34297 else
   34298   case $BrowseDelegate in
   34299   [\\/]* | ?:[\\/]*)
   34300   ac_cv_path_BrowseDelegate="$BrowseDelegate" # Let the user override the test with a path.
   34301   ;;
   34302   *)
   34303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34304 for as_dir in $PATH
   34305 do
   34306   IFS=$as_save_IFS
   34307   test -z "$as_dir" && as_dir=.
   34308     for ac_exec_ext in '' $ac_executable_extensions; do
   34309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34310     ac_cv_path_BrowseDelegate="$as_dir/$ac_word$ac_exec_ext"
   34311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34312     break 2
   34313   fi
   34314 done
   34315   done
   34316 IFS=$as_save_IFS
   34317 
   34318   ;;
   34319 esac
   34320 fi
   34321 BrowseDelegate=$ac_cv_path_BrowseDelegate
   34322 if test -n "$BrowseDelegate"; then
   34323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BrowseDelegate" >&5
   34324 $as_echo "$BrowseDelegate" >&6; }
   34325 else
   34326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34327 $as_echo "no" >&6; }
   34328 fi
   34329 
   34330 
   34331   test -n "$BrowseDelegate" && break
   34332 done
   34333 test -n "$BrowseDelegate" || BrowseDelegate=""$BrowseDelegateDefault""
   34334 
   34335 # Extract the first word of ""$DNGDecodeDelegateDefault"", so it can be a program name with args.
   34336 set dummy "$DNGDecodeDelegateDefault"; ac_word=$2
   34337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34338 $as_echo_n "checking for $ac_word... " >&6; }
   34339 if ${ac_cv_path_DNGDecodeDelegate+:} false; then :
   34340   $as_echo_n "(cached) " >&6
   34341 else
   34342   case $DNGDecodeDelegate in
   34343   [\\/]* | ?:[\\/]*)
   34344   ac_cv_path_DNGDecodeDelegate="$DNGDecodeDelegate" # Let the user override the test with a path.
   34345   ;;
   34346   *)
   34347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34348 for as_dir in $PATH
   34349 do
   34350   IFS=$as_save_IFS
   34351   test -z "$as_dir" && as_dir=.
   34352     for ac_exec_ext in '' $ac_executable_extensions; do
   34353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34354     ac_cv_path_DNGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34356     break 2
   34357   fi
   34358 done
   34359   done
   34360 IFS=$as_save_IFS
   34361 
   34362   test -z "$ac_cv_path_DNGDecodeDelegate" && ac_cv_path_DNGDecodeDelegate=""$DNGDecodeDelegateDefault""
   34363   ;;
   34364 esac
   34365 fi
   34366 DNGDecodeDelegate=$ac_cv_path_DNGDecodeDelegate
   34367 if test -n "$DNGDecodeDelegate"; then
   34368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNGDecodeDelegate" >&5
   34369 $as_echo "$DNGDecodeDelegate" >&6; }
   34370 else
   34371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34372 $as_echo "no" >&6; }
   34373 fi
   34374 
   34375 
   34376 # Extract the first word of ""$DOCDecodeDelegateDefault"", so it can be a program name with args.
   34377 set dummy "$DOCDecodeDelegateDefault"; ac_word=$2
   34378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34379 $as_echo_n "checking for $ac_word... " >&6; }
   34380 if ${ac_cv_path_DOCDecodeDelegate+:} false; then :
   34381   $as_echo_n "(cached) " >&6
   34382 else
   34383   case $DOCDecodeDelegate in
   34384   [\\/]* | ?:[\\/]*)
   34385   ac_cv_path_DOCDecodeDelegate="$DOCDecodeDelegate" # Let the user override the test with a path.
   34386   ;;
   34387   *)
   34388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34389 for as_dir in $PATH
   34390 do
   34391   IFS=$as_save_IFS
   34392   test -z "$as_dir" && as_dir=.
   34393     for ac_exec_ext in '' $ac_executable_extensions; do
   34394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34395     ac_cv_path_DOCDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34397     break 2
   34398   fi
   34399 done
   34400   done
   34401 IFS=$as_save_IFS
   34402 
   34403   test -z "$ac_cv_path_DOCDecodeDelegate" && ac_cv_path_DOCDecodeDelegate=""$DOCDecodeDelegateDefault""
   34404   ;;
   34405 esac
   34406 fi
   34407 DOCDecodeDelegate=$ac_cv_path_DOCDecodeDelegate
   34408 if test -n "$DOCDecodeDelegate"; then
   34409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCDecodeDelegate" >&5
   34410 $as_echo "$DOCDecodeDelegate" >&6; }
   34411 else
   34412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34413 $as_echo "no" >&6; }
   34414 fi
   34415 
   34416 
   34417 # Extract the first word of ""$DVIDecodeDelegateDefault"", so it can be a program name with args.
   34418 set dummy "$DVIDecodeDelegateDefault"; ac_word=$2
   34419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34420 $as_echo_n "checking for $ac_word... " >&6; }
   34421 if ${ac_cv_path_DVIDecodeDelegate+:} false; then :
   34422   $as_echo_n "(cached) " >&6
   34423 else
   34424   case $DVIDecodeDelegate in
   34425   [\\/]* | ?:[\\/]*)
   34426   ac_cv_path_DVIDecodeDelegate="$DVIDecodeDelegate" # Let the user override the test with a path.
   34427   ;;
   34428   *)
   34429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34430 for as_dir in $PATH
   34431 do
   34432   IFS=$as_save_IFS
   34433   test -z "$as_dir" && as_dir=.
   34434     for ac_exec_ext in '' $ac_executable_extensions; do
   34435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34436     ac_cv_path_DVIDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34438     break 2
   34439   fi
   34440 done
   34441   done
   34442 IFS=$as_save_IFS
   34443 
   34444   test -z "$ac_cv_path_DVIDecodeDelegate" && ac_cv_path_DVIDecodeDelegate=""$DVIDecodeDelegateDefault""
   34445   ;;
   34446 esac
   34447 fi
   34448 DVIDecodeDelegate=$ac_cv_path_DVIDecodeDelegate
   34449 if test -n "$DVIDecodeDelegate"; then
   34450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIDecodeDelegate" >&5
   34451 $as_echo "$DVIDecodeDelegate" >&6; }
   34452 else
   34453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34454 $as_echo "no" >&6; }
   34455 fi
   34456 
   34457 
   34458 # Extract the first word of ""$ConvertDelegateDefault"", so it can be a program name with args.
   34459 set dummy "$ConvertDelegateDefault"; ac_word=$2
   34460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34461 $as_echo_n "checking for $ac_word... " >&6; }
   34462 if ${ac_cv_path_ConvertDelegate+:} false; then :
   34463   $as_echo_n "(cached) " >&6
   34464 else
   34465   case $ConvertDelegate in
   34466   [\\/]* | ?:[\\/]*)
   34467   ac_cv_path_ConvertDelegate="$ConvertDelegate" # Let the user override the test with a path.
   34468   ;;
   34469   *)
   34470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34471 for as_dir in $PATH
   34472 do
   34473   IFS=$as_save_IFS
   34474   test -z "$as_dir" && as_dir=.
   34475     for ac_exec_ext in '' $ac_executable_extensions; do
   34476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34477     ac_cv_path_ConvertDelegate="$as_dir/$ac_word$ac_exec_ext"
   34478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34479     break 2
   34480   fi
   34481 done
   34482   done
   34483 IFS=$as_save_IFS
   34484 
   34485   test -z "$ac_cv_path_ConvertDelegate" && ac_cv_path_ConvertDelegate=""$ConvertDelegateDefault""
   34486   ;;
   34487 esac
   34488 fi
   34489 ConvertDelegate=$ac_cv_path_ConvertDelegate
   34490 if test -n "$ConvertDelegate"; then
   34491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ConvertDelegate" >&5
   34492 $as_echo "$ConvertDelegate" >&6; }
   34493 else
   34494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34495 $as_echo "no" >&6; }
   34496 fi
   34497 
   34498 
   34499 # Extract the first word of ""$DisplayDelegateDefault"", so it can be a program name with args.
   34500 set dummy "$DisplayDelegateDefault"; ac_word=$2
   34501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34502 $as_echo_n "checking for $ac_word... " >&6; }
   34503 if ${ac_cv_path_DisplayDelegate+:} false; then :
   34504   $as_echo_n "(cached) " >&6
   34505 else
   34506   case $DisplayDelegate in
   34507   [\\/]* | ?:[\\/]*)
   34508   ac_cv_path_DisplayDelegate="$DisplayDelegate" # Let the user override the test with a path.
   34509   ;;
   34510   *)
   34511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34512 for as_dir in $PATH
   34513 do
   34514   IFS=$as_save_IFS
   34515   test -z "$as_dir" && as_dir=.
   34516     for ac_exec_ext in '' $ac_executable_extensions; do
   34517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34518     ac_cv_path_DisplayDelegate="$as_dir/$ac_word$ac_exec_ext"
   34519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34520     break 2
   34521   fi
   34522 done
   34523   done
   34524 IFS=$as_save_IFS
   34525 
   34526   test -z "$ac_cv_path_DisplayDelegate" && ac_cv_path_DisplayDelegate=""$DisplayDelegateDefault""
   34527   ;;
   34528 esac
   34529 fi
   34530 DisplayDelegate=$ac_cv_path_DisplayDelegate
   34531 if test -n "$DisplayDelegate"; then
   34532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DisplayDelegate" >&5
   34533 $as_echo "$DisplayDelegate" >&6; }
   34534 else
   34535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34536 $as_echo "no" >&6; }
   34537 fi
   34538 
   34539 
   34540 # Extract the first word of ""$EditorDelegateDefault"", so it can be a program name with args.
   34541 set dummy "$EditorDelegateDefault"; ac_word=$2
   34542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34543 $as_echo_n "checking for $ac_word... " >&6; }
   34544 if ${ac_cv_path_EditorDelegate+:} false; then :
   34545   $as_echo_n "(cached) " >&6
   34546 else
   34547   case $EditorDelegate in
   34548   [\\/]* | ?:[\\/]*)
   34549   ac_cv_path_EditorDelegate="$EditorDelegate" # Let the user override the test with a path.
   34550   ;;
   34551   *)
   34552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34553 for as_dir in $PATH
   34554 do
   34555   IFS=$as_save_IFS
   34556   test -z "$as_dir" && as_dir=.
   34557     for ac_exec_ext in '' $ac_executable_extensions; do
   34558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34559     ac_cv_path_EditorDelegate="$as_dir/$ac_word$ac_exec_ext"
   34560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34561     break 2
   34562   fi
   34563 done
   34564   done
   34565 IFS=$as_save_IFS
   34566 
   34567   test -z "$ac_cv_path_EditorDelegate" && ac_cv_path_EditorDelegate=""$EditorDelegateDefault""
   34568   ;;
   34569 esac
   34570 fi
   34571 EditorDelegate=$ac_cv_path_EditorDelegate
   34572 if test -n "$EditorDelegate"; then
   34573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EditorDelegate" >&5
   34574 $as_echo "$EditorDelegate" >&6; }
   34575 else
   34576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34577 $as_echo "no" >&6; }
   34578 fi
   34579 
   34580 
   34581 # Extract the first word of ""$GVCDecodeDelegateDefault"", so it can be a program name with args.
   34582 set dummy "$GVCDecodeDelegateDefault"; ac_word=$2
   34583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34584 $as_echo_n "checking for $ac_word... " >&6; }
   34585 if ${ac_cv_path_GVCDecodeDelegate+:} false; then :
   34586   $as_echo_n "(cached) " >&6
   34587 else
   34588   case $GVCDecodeDelegate in
   34589   [\\/]* | ?:[\\/]*)
   34590   ac_cv_path_GVCDecodeDelegate="$GVCDecodeDelegate" # Let the user override the test with a path.
   34591   ;;
   34592   *)
   34593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34594 for as_dir in $PATH
   34595 do
   34596   IFS=$as_save_IFS
   34597   test -z "$as_dir" && as_dir=.
   34598     for ac_exec_ext in '' $ac_executable_extensions; do
   34599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34600     ac_cv_path_GVCDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34602     break 2
   34603   fi
   34604 done
   34605   done
   34606 IFS=$as_save_IFS
   34607 
   34608   test -z "$ac_cv_path_GVCDecodeDelegate" && ac_cv_path_GVCDecodeDelegate=""$GVCDecodeDelegateDefault""
   34609   ;;
   34610 esac
   34611 fi
   34612 GVCDecodeDelegate=$ac_cv_path_GVCDecodeDelegate
   34613 if test -n "$GVCDecodeDelegate"; then
   34614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GVCDecodeDelegate" >&5
   34615 $as_echo "$GVCDecodeDelegate" >&6; }
   34616 else
   34617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34618 $as_echo "no" >&6; }
   34619 fi
   34620 
   34621 
   34622 # Extract the first word of ""$HPGLDecodeDelegateDefault"", so it can be a program name with args.
   34623 set dummy "$HPGLDecodeDelegateDefault"; ac_word=$2
   34624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34625 $as_echo_n "checking for $ac_word... " >&6; }
   34626 if ${ac_cv_path_HPGLDecodeDelegate+:} false; then :
   34627   $as_echo_n "(cached) " >&6
   34628 else
   34629   case $HPGLDecodeDelegate in
   34630   [\\/]* | ?:[\\/]*)
   34631   ac_cv_path_HPGLDecodeDelegate="$HPGLDecodeDelegate" # Let the user override the test with a path.
   34632   ;;
   34633   *)
   34634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34635 for as_dir in $PATH
   34636 do
   34637   IFS=$as_save_IFS
   34638   test -z "$as_dir" && as_dir=.
   34639     for ac_exec_ext in '' $ac_executable_extensions; do
   34640   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34641     ac_cv_path_HPGLDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34643     break 2
   34644   fi
   34645 done
   34646   done
   34647 IFS=$as_save_IFS
   34648 
   34649   test -z "$ac_cv_path_HPGLDecodeDelegate" && ac_cv_path_HPGLDecodeDelegate=""$HPGLDecodeDelegateDefault""
   34650   ;;
   34651 esac
   34652 fi
   34653 HPGLDecodeDelegate=$ac_cv_path_HPGLDecodeDelegate
   34654 if test -n "$HPGLDecodeDelegate"; then
   34655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HPGLDecodeDelegate" >&5
   34656 $as_echo "$HPGLDecodeDelegate" >&6; }
   34657 else
   34658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34659 $as_echo "no" >&6; }
   34660 fi
   34661 
   34662 
   34663 # Extract the first word of ""$HTMLDecodeDelegateDefault"", so it can be a program name with args.
   34664 set dummy "$HTMLDecodeDelegateDefault"; ac_word=$2
   34665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34666 $as_echo_n "checking for $ac_word... " >&6; }
   34667 if ${ac_cv_path_HTMLDecodeDelegate+:} false; then :
   34668   $as_echo_n "(cached) " >&6
   34669 else
   34670   case $HTMLDecodeDelegate in
   34671   [\\/]* | ?:[\\/]*)
   34672   ac_cv_path_HTMLDecodeDelegate="$HTMLDecodeDelegate" # Let the user override the test with a path.
   34673   ;;
   34674   *)
   34675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34676 for as_dir in $PATH
   34677 do
   34678   IFS=$as_save_IFS
   34679   test -z "$as_dir" && as_dir=.
   34680     for ac_exec_ext in '' $ac_executable_extensions; do
   34681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34682     ac_cv_path_HTMLDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34684     break 2
   34685   fi
   34686 done
   34687   done
   34688 IFS=$as_save_IFS
   34689 
   34690   test -z "$ac_cv_path_HTMLDecodeDelegate" && ac_cv_path_HTMLDecodeDelegate=""$HTMLDecodeDelegateDefault""
   34691   ;;
   34692 esac
   34693 fi
   34694 HTMLDecodeDelegate=$ac_cv_path_HTMLDecodeDelegate
   34695 if test -n "$HTMLDecodeDelegate"; then
   34696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HTMLDecodeDelegate" >&5
   34697 $as_echo "$HTMLDecodeDelegate" >&6; }
   34698 else
   34699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34700 $as_echo "no" >&6; }
   34701 fi
   34702 
   34703 
   34704 # Extract the first word of ""$ILBMDecodeDelegateDefault"", so it can be a program name with args.
   34705 set dummy "$ILBMDecodeDelegateDefault"; ac_word=$2
   34706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34707 $as_echo_n "checking for $ac_word... " >&6; }
   34708 if ${ac_cv_path_ILBMDecodeDelegate+:} false; then :
   34709   $as_echo_n "(cached) " >&6
   34710 else
   34711   case $ILBMDecodeDelegate in
   34712   [\\/]* | ?:[\\/]*)
   34713   ac_cv_path_ILBMDecodeDelegate="$ILBMDecodeDelegate" # Let the user override the test with a path.
   34714   ;;
   34715   *)
   34716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34717 for as_dir in $PATH
   34718 do
   34719   IFS=$as_save_IFS
   34720   test -z "$as_dir" && as_dir=.
   34721     for ac_exec_ext in '' $ac_executable_extensions; do
   34722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34723     ac_cv_path_ILBMDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34725     break 2
   34726   fi
   34727 done
   34728   done
   34729 IFS=$as_save_IFS
   34730 
   34731   test -z "$ac_cv_path_ILBMDecodeDelegate" && ac_cv_path_ILBMDecodeDelegate=""$ILBMDecodeDelegateDefault""
   34732   ;;
   34733 esac
   34734 fi
   34735 ILBMDecodeDelegate=$ac_cv_path_ILBMDecodeDelegate
   34736 if test -n "$ILBMDecodeDelegate"; then
   34737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ILBMDecodeDelegate" >&5
   34738 $as_echo "$ILBMDecodeDelegate" >&6; }
   34739 else
   34740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34741 $as_echo "no" >&6; }
   34742 fi
   34743 
   34744 
   34745 # Extract the first word of ""$ILBMEncodeDelegateDefault"", so it can be a program name with args.
   34746 set dummy "$ILBMEncodeDelegateDefault"; ac_word=$2
   34747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34748 $as_echo_n "checking for $ac_word... " >&6; }
   34749 if ${ac_cv_path_ILBMEncodeDelegate+:} false; then :
   34750   $as_echo_n "(cached) " >&6
   34751 else
   34752   case $ILBMEncodeDelegate in
   34753   [\\/]* | ?:[\\/]*)
   34754   ac_cv_path_ILBMEncodeDelegate="$ILBMEncodeDelegate" # Let the user override the test with a path.
   34755   ;;
   34756   *)
   34757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34758 for as_dir in $PATH
   34759 do
   34760   IFS=$as_save_IFS
   34761   test -z "$as_dir" && as_dir=.
   34762     for ac_exec_ext in '' $ac_executable_extensions; do
   34763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34764     ac_cv_path_ILBMEncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34766     break 2
   34767   fi
   34768 done
   34769   done
   34770 IFS=$as_save_IFS
   34771 
   34772   test -z "$ac_cv_path_ILBMEncodeDelegate" && ac_cv_path_ILBMEncodeDelegate=""$ILBMEncodeDelegateDefault""
   34773   ;;
   34774 esac
   34775 fi
   34776 ILBMEncodeDelegate=$ac_cv_path_ILBMEncodeDelegate
   34777 if test -n "$ILBMEncodeDelegate"; then
   34778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ILBMEncodeDelegate" >&5
   34779 $as_echo "$ILBMEncodeDelegate" >&6; }
   34780 else
   34781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34782 $as_echo "no" >&6; }
   34783 fi
   34784 
   34785 
   34786 # Extract the first word of ""$JXRDecodeDelegateDefault"", so it can be a program name with args.
   34787 set dummy "$JXRDecodeDelegateDefault"; ac_word=$2
   34788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34789 $as_echo_n "checking for $ac_word... " >&6; }
   34790 if ${ac_cv_path_JXRDecodeDelegate+:} false; then :
   34791   $as_echo_n "(cached) " >&6
   34792 else
   34793   case $JXRDecodeDelegate in
   34794   [\\/]* | ?:[\\/]*)
   34795   ac_cv_path_JXRDecodeDelegate="$JXRDecodeDelegate" # Let the user override the test with a path.
   34796   ;;
   34797   *)
   34798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34799 for as_dir in $PATH
   34800 do
   34801   IFS=$as_save_IFS
   34802   test -z "$as_dir" && as_dir=.
   34803     for ac_exec_ext in '' $ac_executable_extensions; do
   34804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34805     ac_cv_path_JXRDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34807     break 2
   34808   fi
   34809 done
   34810   done
   34811 IFS=$as_save_IFS
   34812 
   34813   test -z "$ac_cv_path_JXRDecodeDelegate" && ac_cv_path_JXRDecodeDelegate=""$JXRDecodeDelegateDefault""
   34814   ;;
   34815 esac
   34816 fi
   34817 JXRDecodeDelegate=$ac_cv_path_JXRDecodeDelegate
   34818 if test -n "$JXRDecodeDelegate"; then
   34819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JXRDecodeDelegate" >&5
   34820 $as_echo "$JXRDecodeDelegate" >&6; }
   34821 else
   34822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34823 $as_echo "no" >&6; }
   34824 fi
   34825 
   34826 
   34827 # Extract the first word of ""$JXREncodeDelegateDefault"", so it can be a program name with args.
   34828 set dummy "$JXREncodeDelegateDefault"; ac_word=$2
   34829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34830 $as_echo_n "checking for $ac_word... " >&6; }
   34831 if ${ac_cv_path_JXREncodeDelegate+:} false; then :
   34832   $as_echo_n "(cached) " >&6
   34833 else
   34834   case $JXREncodeDelegate in
   34835   [\\/]* | ?:[\\/]*)
   34836   ac_cv_path_JXREncodeDelegate="$JXREncodeDelegate" # Let the user override the test with a path.
   34837   ;;
   34838   *)
   34839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34840 for as_dir in $PATH
   34841 do
   34842   IFS=$as_save_IFS
   34843   test -z "$as_dir" && as_dir=.
   34844     for ac_exec_ext in '' $ac_executable_extensions; do
   34845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34846     ac_cv_path_JXREncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   34847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34848     break 2
   34849   fi
   34850 done
   34851   done
   34852 IFS=$as_save_IFS
   34853 
   34854   test -z "$ac_cv_path_JXREncodeDelegate" && ac_cv_path_JXREncodeDelegate=""$JXREncodeDelegateDefault""
   34855   ;;
   34856 esac
   34857 fi
   34858 JXREncodeDelegate=$ac_cv_path_JXREncodeDelegate
   34859 if test -n "$JXREncodeDelegate"; then
   34860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JXREncodeDelegate" >&5
   34861 $as_echo "$JXREncodeDelegate" >&6; }
   34862 else
   34863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34864 $as_echo "no" >&6; }
   34865 fi
   34866 
   34867 
   34868 # Extract the first word of ""$LEPDelegateDefault"", so it can be a program name with args.
   34869 set dummy "$LEPDelegateDefault"; ac_word=$2
   34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34871 $as_echo_n "checking for $ac_word... " >&6; }
   34872 if ${ac_cv_path_LEPDelegate+:} false; then :
   34873   $as_echo_n "(cached) " >&6
   34874 else
   34875   case $LEPDelegate in
   34876   [\\/]* | ?:[\\/]*)
   34877   ac_cv_path_LEPDelegate="$LEPDelegate" # Let the user override the test with a path.
   34878   ;;
   34879   *)
   34880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34881 for as_dir in $PATH
   34882 do
   34883   IFS=$as_save_IFS
   34884   test -z "$as_dir" && as_dir=.
   34885     for ac_exec_ext in '' $ac_executable_extensions; do
   34886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34887     ac_cv_path_LEPDelegate="$as_dir/$ac_word$ac_exec_ext"
   34888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34889     break 2
   34890   fi
   34891 done
   34892   done
   34893 IFS=$as_save_IFS
   34894 
   34895   test -z "$ac_cv_path_LEPDelegate" && ac_cv_path_LEPDelegate=""$LEPDelegateDefault""
   34896   ;;
   34897 esac
   34898 fi
   34899 LEPDelegate=$ac_cv_path_LEPDelegate
   34900 if test -n "$LEPDelegate"; then
   34901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEPDelegate" >&5
   34902 $as_echo "$LEPDelegate" >&6; }
   34903 else
   34904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34905 $as_echo "no" >&6; }
   34906 fi
   34907 
   34908 
   34909 # Extract the first word of ""$LPDelegateDefault"", so it can be a program name with args.
   34910 set dummy "$LPDelegateDefault"; ac_word=$2
   34911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34912 $as_echo_n "checking for $ac_word... " >&6; }
   34913 if ${ac_cv_path_LPDelegate+:} false; then :
   34914   $as_echo_n "(cached) " >&6
   34915 else
   34916   case $LPDelegate in
   34917   [\\/]* | ?:[\\/]*)
   34918   ac_cv_path_LPDelegate="$LPDelegate" # Let the user override the test with a path.
   34919   ;;
   34920   *)
   34921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34922 for as_dir in $PATH
   34923 do
   34924   IFS=$as_save_IFS
   34925   test -z "$as_dir" && as_dir=.
   34926     for ac_exec_ext in '' $ac_executable_extensions; do
   34927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34928     ac_cv_path_LPDelegate="$as_dir/$ac_word$ac_exec_ext"
   34929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34930     break 2
   34931   fi
   34932 done
   34933   done
   34934 IFS=$as_save_IFS
   34935 
   34936   test -z "$ac_cv_path_LPDelegate" && ac_cv_path_LPDelegate="no"
   34937   ;;
   34938 esac
   34939 fi
   34940 LPDelegate=$ac_cv_path_LPDelegate
   34941 if test -n "$LPDelegate"; then
   34942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPDelegate" >&5
   34943 $as_echo "$LPDelegate" >&6; }
   34944 else
   34945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34946 $as_echo "no" >&6; }
   34947 fi
   34948 
   34949 
   34950 # Extract the first word of ""$LPRDelegateDefault"", so it can be a program name with args.
   34951 set dummy "$LPRDelegateDefault"; ac_word=$2
   34952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34953 $as_echo_n "checking for $ac_word... " >&6; }
   34954 if ${ac_cv_path_LPRDelegate+:} false; then :
   34955   $as_echo_n "(cached) " >&6
   34956 else
   34957   case $LPRDelegate in
   34958   [\\/]* | ?:[\\/]*)
   34959   ac_cv_path_LPRDelegate="$LPRDelegate" # Let the user override the test with a path.
   34960   ;;
   34961   *)
   34962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   34963 for as_dir in $PATH
   34964 do
   34965   IFS=$as_save_IFS
   34966   test -z "$as_dir" && as_dir=.
   34967     for ac_exec_ext in '' $ac_executable_extensions; do
   34968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   34969     ac_cv_path_LPRDelegate="$as_dir/$ac_word$ac_exec_ext"
   34970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   34971     break 2
   34972   fi
   34973 done
   34974   done
   34975 IFS=$as_save_IFS
   34976 
   34977   test -z "$ac_cv_path_LPRDelegate" && ac_cv_path_LPRDelegate=""$LPRDelegateDefault""
   34978   ;;
   34979 esac
   34980 fi
   34981 LPRDelegate=$ac_cv_path_LPRDelegate
   34982 if test -n "$LPRDelegate"; then
   34983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LPRDelegate" >&5
   34984 $as_echo "$LPRDelegate" >&6; }
   34985 else
   34986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   34987 $as_echo "no" >&6; }
   34988 fi
   34989 
   34990 
   34991 # Extract the first word of ""$LaunchDelegateDefault"", so it can be a program name with args.
   34992 set dummy "$LaunchDelegateDefault"; ac_word=$2
   34993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   34994 $as_echo_n "checking for $ac_word... " >&6; }
   34995 if ${ac_cv_path_LaunchDelegate+:} false; then :
   34996   $as_echo_n "(cached) " >&6
   34997 else
   34998   case $LaunchDelegate in
   34999   [\\/]* | ?:[\\/]*)
   35000   ac_cv_path_LaunchDelegate="$LaunchDelegate" # Let the user override the test with a path.
   35001   ;;
   35002   *)
   35003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35004 for as_dir in $PATH
   35005 do
   35006   IFS=$as_save_IFS
   35007   test -z "$as_dir" && as_dir=.
   35008     for ac_exec_ext in '' $ac_executable_extensions; do
   35009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35010     ac_cv_path_LaunchDelegate="$as_dir/$ac_word$ac_exec_ext"
   35011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35012     break 2
   35013   fi
   35014 done
   35015   done
   35016 IFS=$as_save_IFS
   35017 
   35018   test -z "$ac_cv_path_LaunchDelegate" && ac_cv_path_LaunchDelegate=""$LaunchDelegateDefault""
   35019   ;;
   35020 esac
   35021 fi
   35022 LaunchDelegate=$ac_cv_path_LaunchDelegate
   35023 if test -n "$LaunchDelegate"; then
   35024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LaunchDelegate" >&5
   35025 $as_echo "$LaunchDelegate" >&6; }
   35026 else
   35027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35028 $as_echo "no" >&6; }
   35029 fi
   35030 
   35031 
   35032 # Extract the first word of ""$MogrifyDelegateDefault"", so it can be a program name with args.
   35033 set dummy "$MogrifyDelegateDefault"; ac_word=$2
   35034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35035 $as_echo_n "checking for $ac_word... " >&6; }
   35036 if ${ac_cv_path_MogrifyDelegate+:} false; then :
   35037   $as_echo_n "(cached) " >&6
   35038 else
   35039   case $MogrifyDelegate in
   35040   [\\/]* | ?:[\\/]*)
   35041   ac_cv_path_MogrifyDelegate="$MogrifyDelegate" # Let the user override the test with a path.
   35042   ;;
   35043   *)
   35044   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35045 for as_dir in $PATH
   35046 do
   35047   IFS=$as_save_IFS
   35048   test -z "$as_dir" && as_dir=.
   35049     for ac_exec_ext in '' $ac_executable_extensions; do
   35050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35051     ac_cv_path_MogrifyDelegate="$as_dir/$ac_word$ac_exec_ext"
   35052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35053     break 2
   35054   fi
   35055 done
   35056   done
   35057 IFS=$as_save_IFS
   35058 
   35059   test -z "$ac_cv_path_MogrifyDelegate" && ac_cv_path_MogrifyDelegate=""$MogrifyDelegateDefault""
   35060   ;;
   35061 esac
   35062 fi
   35063 MogrifyDelegate=$ac_cv_path_MogrifyDelegate
   35064 if test -n "$MogrifyDelegate"; then
   35065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MogrifyDelegate" >&5
   35066 $as_echo "$MogrifyDelegate" >&6; }
   35067 else
   35068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35069 $as_echo "no" >&6; }
   35070 fi
   35071 
   35072 
   35073 # Extract the first word of ""$MPEGDecodeDelegateDefault"", so it can be a program name with args.
   35074 set dummy "$MPEGDecodeDelegateDefault"; ac_word=$2
   35075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35076 $as_echo_n "checking for $ac_word... " >&6; }
   35077 if ${ac_cv_path_MPEGDecodeDelegate+:} false; then :
   35078   $as_echo_n "(cached) " >&6
   35079 else
   35080   case $MPEGDecodeDelegate in
   35081   [\\/]* | ?:[\\/]*)
   35082   ac_cv_path_MPEGDecodeDelegate="$MPEGDecodeDelegate" # Let the user override the test with a path.
   35083   ;;
   35084   *)
   35085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35086 for as_dir in $PATH
   35087 do
   35088   IFS=$as_save_IFS
   35089   test -z "$as_dir" && as_dir=.
   35090     for ac_exec_ext in '' $ac_executable_extensions; do
   35091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35092     ac_cv_path_MPEGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35094     break 2
   35095   fi
   35096 done
   35097   done
   35098 IFS=$as_save_IFS
   35099 
   35100   test -z "$ac_cv_path_MPEGDecodeDelegate" && ac_cv_path_MPEGDecodeDelegate=""$MPEGDecodeDelegateDefault""
   35101   ;;
   35102 esac
   35103 fi
   35104 MPEGDecodeDelegate=$ac_cv_path_MPEGDecodeDelegate
   35105 if test -n "$MPEGDecodeDelegate"; then
   35106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPEGDecodeDelegate" >&5
   35107 $as_echo "$MPEGDecodeDelegate" >&6; }
   35108 else
   35109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35110 $as_echo "no" >&6; }
   35111 fi
   35112 
   35113 
   35114 if test "$MPEGDecodeDelegate" = "$MPEGDecodeDelegateDefault" ; then
   35115   MPEGDecodeDelegateDefault='ffmpeg'
   35116   # Extract the first word of ""$MPEGDecodeDelegateDefault"", so it can be a program name with args.
   35117 set dummy "$MPEGDecodeDelegateDefault"; ac_word=$2
   35118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35119 $as_echo_n "checking for $ac_word... " >&6; }
   35120 if ${ac_cv_path_MPEGDecodeDelegate+:} false; then :
   35121   $as_echo_n "(cached) " >&6
   35122 else
   35123   case $MPEGDecodeDelegate in
   35124   [\\/]* | ?:[\\/]*)
   35125   ac_cv_path_MPEGDecodeDelegate="$MPEGDecodeDelegate" # Let the user override the test with a path.
   35126   ;;
   35127   *)
   35128   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35129 for as_dir in $PATH
   35130 do
   35131   IFS=$as_save_IFS
   35132   test -z "$as_dir" && as_dir=.
   35133     for ac_exec_ext in '' $ac_executable_extensions; do
   35134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35135     ac_cv_path_MPEGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35137     break 2
   35138   fi
   35139 done
   35140   done
   35141 IFS=$as_save_IFS
   35142 
   35143   test -z "$ac_cv_path_MPEGDecodeDelegate" && ac_cv_path_MPEGDecodeDelegate=""$MPEGDecodeDelegateDefault""
   35144   ;;
   35145 esac
   35146 fi
   35147 MPEGDecodeDelegate=$ac_cv_path_MPEGDecodeDelegate
   35148 if test -n "$MPEGDecodeDelegate"; then
   35149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPEGDecodeDelegate" >&5
   35150 $as_echo "$MPEGDecodeDelegate" >&6; }
   35151 else
   35152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35153 $as_echo "no" >&6; }
   35154 fi
   35155 
   35156 
   35157 fi;
   35158 # Extract the first word of ""$MPEGEncodeDelegateDefault"", so it can be a program name with args.
   35159 set dummy "$MPEGEncodeDelegateDefault"; ac_word=$2
   35160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35161 $as_echo_n "checking for $ac_word... " >&6; }
   35162 if ${ac_cv_path_MPEGEncodeDelegate+:} false; then :
   35163   $as_echo_n "(cached) " >&6
   35164 else
   35165   case $MPEGEncodeDelegate in
   35166   [\\/]* | ?:[\\/]*)
   35167   ac_cv_path_MPEGEncodeDelegate="$MPEGEncodeDelegate" # Let the user override the test with a path.
   35168   ;;
   35169   *)
   35170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35171 for as_dir in $PATH
   35172 do
   35173   IFS=$as_save_IFS
   35174   test -z "$as_dir" && as_dir=.
   35175     for ac_exec_ext in '' $ac_executable_extensions; do
   35176   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35177     ac_cv_path_MPEGEncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35179     break 2
   35180   fi
   35181 done
   35182   done
   35183 IFS=$as_save_IFS
   35184 
   35185   test -z "$ac_cv_path_MPEGEncodeDelegate" && ac_cv_path_MPEGEncodeDelegate=""$MPEGEncodeDelegateDefault""
   35186   ;;
   35187 esac
   35188 fi
   35189 MPEGEncodeDelegate=$ac_cv_path_MPEGEncodeDelegate
   35190 if test -n "$MPEGEncodeDelegate"; then
   35191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPEGEncodeDelegate" >&5
   35192 $as_echo "$MPEGEncodeDelegate" >&6; }
   35193 else
   35194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35195 $as_echo "no" >&6; }
   35196 fi
   35197 
   35198 
   35199 if test "$MPEGEncodeDelegate" = "$MPEGEncodeDelegateDefault" ; then
   35200   MPEGEncodeDelegateDefault='ffmpeg'
   35201   # Extract the first word of ""$MPEGEncodeDelegateDefault"", so it can be a program name with args.
   35202 set dummy "$MPEGEncodeDelegateDefault"; ac_word=$2
   35203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35204 $as_echo_n "checking for $ac_word... " >&6; }
   35205 if ${ac_cv_path_MPEGEncodeDelegate+:} false; then :
   35206   $as_echo_n "(cached) " >&6
   35207 else
   35208   case $MPEGEncodeDelegate in
   35209   [\\/]* | ?:[\\/]*)
   35210   ac_cv_path_MPEGEncodeDelegate="$MPEGEncodeDelegate" # Let the user override the test with a path.
   35211   ;;
   35212   *)
   35213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35214 for as_dir in $PATH
   35215 do
   35216   IFS=$as_save_IFS
   35217   test -z "$as_dir" && as_dir=.
   35218     for ac_exec_ext in '' $ac_executable_extensions; do
   35219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35220     ac_cv_path_MPEGEncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35222     break 2
   35223   fi
   35224 done
   35225   done
   35226 IFS=$as_save_IFS
   35227 
   35228   test -z "$ac_cv_path_MPEGEncodeDelegate" && ac_cv_path_MPEGEncodeDelegate=""$MPEGEncodeDelegateDefault""
   35229   ;;
   35230 esac
   35231 fi
   35232 MPEGEncodeDelegate=$ac_cv_path_MPEGEncodeDelegate
   35233 if test -n "$MPEGEncodeDelegate"; then
   35234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPEGEncodeDelegate" >&5
   35235 $as_echo "$MPEGEncodeDelegate" >&6; }
   35236 else
   35237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35238 $as_echo "no" >&6; }
   35239 fi
   35240 
   35241 
   35242 fi;
   35243 # Extract the first word of ""$MrSIDDecodeDelegateDefault"", so it can be a program name with args.
   35244 set dummy "$MrSIDDecodeDelegateDefault"; ac_word=$2
   35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35246 $as_echo_n "checking for $ac_word... " >&6; }
   35247 if ${ac_cv_path_MrSIDDecodeDelegate+:} false; then :
   35248   $as_echo_n "(cached) " >&6
   35249 else
   35250   case $MrSIDDecodeDelegate in
   35251   [\\/]* | ?:[\\/]*)
   35252   ac_cv_path_MrSIDDecodeDelegate="$MrSIDDecodeDelegate" # Let the user override the test with a path.
   35253   ;;
   35254   *)
   35255   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35256 for as_dir in $PATH
   35257 do
   35258   IFS=$as_save_IFS
   35259   test -z "$as_dir" && as_dir=.
   35260     for ac_exec_ext in '' $ac_executable_extensions; do
   35261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35262     ac_cv_path_MrSIDDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35264     break 2
   35265   fi
   35266 done
   35267   done
   35268 IFS=$as_save_IFS
   35269 
   35270   test -z "$ac_cv_path_MrSIDDecodeDelegate" && ac_cv_path_MrSIDDecodeDelegate=""$MrSIDDecodeDelegateDefault""
   35271   ;;
   35272 esac
   35273 fi
   35274 MrSIDDecodeDelegate=$ac_cv_path_MrSIDDecodeDelegate
   35275 if test -n "$MrSIDDecodeDelegate"; then
   35276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MrSIDDecodeDelegate" >&5
   35277 $as_echo "$MrSIDDecodeDelegate" >&6; }
   35278 else
   35279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35280 $as_echo "no" >&6; }
   35281 fi
   35282 
   35283 
   35284 # Extract the first word of ""$MVDelegateDefault"", so it can be a program name with args.
   35285 set dummy "$MVDelegateDefault"; ac_word=$2
   35286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35287 $as_echo_n "checking for $ac_word... " >&6; }
   35288 if ${ac_cv_path_MVDelegate+:} false; then :
   35289   $as_echo_n "(cached) " >&6
   35290 else
   35291   case $MVDelegate in
   35292   [\\/]* | ?:[\\/]*)
   35293   ac_cv_path_MVDelegate="$MVDelegate" # Let the user override the test with a path.
   35294   ;;
   35295   *)
   35296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35297 for as_dir in $PATH
   35298 do
   35299   IFS=$as_save_IFS
   35300   test -z "$as_dir" && as_dir=.
   35301     for ac_exec_ext in '' $ac_executable_extensions; do
   35302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35303     ac_cv_path_MVDelegate="$as_dir/$ac_word$ac_exec_ext"
   35304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35305     break 2
   35306   fi
   35307 done
   35308   done
   35309 IFS=$as_save_IFS
   35310 
   35311   test -z "$ac_cv_path_MVDelegate" && ac_cv_path_MVDelegate=""$MVDelegateDefault""
   35312   ;;
   35313 esac
   35314 fi
   35315 MVDelegate=$ac_cv_path_MVDelegate
   35316 if test -n "$MVDelegate"; then
   35317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MVDelegate" >&5
   35318 $as_echo "$MVDelegate" >&6; }
   35319 else
   35320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35321 $as_echo "no" >&6; }
   35322 fi
   35323 
   35324 
   35325 # Extract the first word of ""$PCLDelegateDefault"", so it can be a program name with args.
   35326 set dummy "$PCLDelegateDefault"; ac_word=$2
   35327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35328 $as_echo_n "checking for $ac_word... " >&6; }
   35329 if ${ac_cv_path_PCLDelegate+:} false; then :
   35330   $as_echo_n "(cached) " >&6
   35331 else
   35332   case $PCLDelegate in
   35333   [\\/]* | ?:[\\/]*)
   35334   ac_cv_path_PCLDelegate="$PCLDelegate" # Let the user override the test with a path.
   35335   ;;
   35336   *)
   35337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35338 for as_dir in $PATH
   35339 do
   35340   IFS=$as_save_IFS
   35341   test -z "$as_dir" && as_dir=.
   35342     for ac_exec_ext in '' $ac_executable_extensions; do
   35343   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35344     ac_cv_path_PCLDelegate="$as_dir/$ac_word$ac_exec_ext"
   35345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35346     break 2
   35347   fi
   35348 done
   35349   done
   35350 IFS=$as_save_IFS
   35351 
   35352   test -z "$ac_cv_path_PCLDelegate" && ac_cv_path_PCLDelegate=""$PCLDelegateDefault""
   35353   ;;
   35354 esac
   35355 fi
   35356 PCLDelegate=$ac_cv_path_PCLDelegate
   35357 if test -n "$PCLDelegate"; then
   35358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCLDelegate" >&5
   35359 $as_echo "$PCLDelegate" >&6; }
   35360 else
   35361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35362 $as_echo "no" >&6; }
   35363 fi
   35364 
   35365 
   35366 for ac_prog in gsx gsc "$PSDelegateDefault"
   35367 do
   35368   # Extract the first word of "$ac_prog", so it can be a program name with args.
   35369 set dummy $ac_prog; ac_word=$2
   35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35371 $as_echo_n "checking for $ac_word... " >&6; }
   35372 if ${ac_cv_path_PSDelegate+:} false; then :
   35373   $as_echo_n "(cached) " >&6
   35374 else
   35375   case $PSDelegate in
   35376   [\\/]* | ?:[\\/]*)
   35377   ac_cv_path_PSDelegate="$PSDelegate" # Let the user override the test with a path.
   35378   ;;
   35379   *)
   35380   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35381 for as_dir in $PATH
   35382 do
   35383   IFS=$as_save_IFS
   35384   test -z "$as_dir" && as_dir=.
   35385     for ac_exec_ext in '' $ac_executable_extensions; do
   35386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35387     ac_cv_path_PSDelegate="$as_dir/$ac_word$ac_exec_ext"
   35388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35389     break 2
   35390   fi
   35391 done
   35392   done
   35393 IFS=$as_save_IFS
   35394 
   35395   ;;
   35396 esac
   35397 fi
   35398 PSDelegate=$ac_cv_path_PSDelegate
   35399 if test -n "$PSDelegate"; then
   35400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PSDelegate" >&5
   35401 $as_echo "$PSDelegate" >&6; }
   35402 else
   35403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35404 $as_echo "no" >&6; }
   35405 fi
   35406 
   35407 
   35408   test -n "$PSDelegate" && break
   35409 done
   35410 test -n "$PSDelegate" || PSDelegate=""$PSDelegateDefault""
   35411 
   35412 # Extract the first word of ""$RMDelegateDefault"", so it can be a program name with args.
   35413 set dummy "$RMDelegateDefault"; ac_word=$2
   35414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35415 $as_echo_n "checking for $ac_word... " >&6; }
   35416 if ${ac_cv_path_RMDelegate+:} false; then :
   35417   $as_echo_n "(cached) " >&6
   35418 else
   35419   case $RMDelegate in
   35420   [\\/]* | ?:[\\/]*)
   35421   ac_cv_path_RMDelegate="$RMDelegate" # Let the user override the test with a path.
   35422   ;;
   35423   *)
   35424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35425 for as_dir in $PATH
   35426 do
   35427   IFS=$as_save_IFS
   35428   test -z "$as_dir" && as_dir=.
   35429     for ac_exec_ext in '' $ac_executable_extensions; do
   35430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35431     ac_cv_path_RMDelegate="$as_dir/$ac_word$ac_exec_ext"
   35432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35433     break 2
   35434   fi
   35435 done
   35436   done
   35437 IFS=$as_save_IFS
   35438 
   35439   test -z "$ac_cv_path_RMDelegate" && ac_cv_path_RMDelegate=""$RMDelegateDefault""
   35440   ;;
   35441 esac
   35442 fi
   35443 RMDelegate=$ac_cv_path_RMDelegate
   35444 if test -n "$RMDelegate"; then
   35445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDelegate" >&5
   35446 $as_echo "$RMDelegate" >&6; }
   35447 else
   35448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35449 $as_echo "no" >&6; }
   35450 fi
   35451 
   35452 
   35453 # Extract the first word of ""$RSVGDecodeDelegateDefault"", so it can be a program name with args.
   35454 set dummy "$RSVGDecodeDelegateDefault"; ac_word=$2
   35455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35456 $as_echo_n "checking for $ac_word... " >&6; }
   35457 if ${ac_cv_path_RSVGDecodeDelegate+:} false; then :
   35458   $as_echo_n "(cached) " >&6
   35459 else
   35460   case $RSVGDecodeDelegate in
   35461   [\\/]* | ?:[\\/]*)
   35462   ac_cv_path_RSVGDecodeDelegate="$RSVGDecodeDelegate" # Let the user override the test with a path.
   35463   ;;
   35464   *)
   35465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35466 for as_dir in $PATH
   35467 do
   35468   IFS=$as_save_IFS
   35469   test -z "$as_dir" && as_dir=.
   35470     for ac_exec_ext in '' $ac_executable_extensions; do
   35471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35472     ac_cv_path_RSVGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35474     break 2
   35475   fi
   35476 done
   35477   done
   35478 IFS=$as_save_IFS
   35479 
   35480   test -z "$ac_cv_path_RSVGDecodeDelegate" && ac_cv_path_RSVGDecodeDelegate=""$RSVGDecodeDelegateDefault""
   35481   ;;
   35482 esac
   35483 fi
   35484 RSVGDecodeDelegate=$ac_cv_path_RSVGDecodeDelegate
   35485 if test -n "$RSVGDecodeDelegate"; then
   35486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVGDecodeDelegate" >&5
   35487 $as_echo "$RSVGDecodeDelegate" >&6; }
   35488 else
   35489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35490 $as_echo "no" >&6; }
   35491 fi
   35492 
   35493 
   35494 # Extract the first word of ""$SVGDecodeDelegateDefault"", so it can be a program name with args.
   35495 set dummy "$SVGDecodeDelegateDefault"; ac_word=$2
   35496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35497 $as_echo_n "checking for $ac_word... " >&6; }
   35498 if ${ac_cv_path_SVGDecodeDelegate+:} false; then :
   35499   $as_echo_n "(cached) " >&6
   35500 else
   35501   case $SVGDecodeDelegate in
   35502   [\\/]* | ?:[\\/]*)
   35503   ac_cv_path_SVGDecodeDelegate="$SVGDecodeDelegate" # Let the user override the test with a path.
   35504   ;;
   35505   *)
   35506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35507 for as_dir in $PATH
   35508 do
   35509   IFS=$as_save_IFS
   35510   test -z "$as_dir" && as_dir=.
   35511     for ac_exec_ext in '' $ac_executable_extensions; do
   35512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35513     ac_cv_path_SVGDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35515     break 2
   35516   fi
   35517 done
   35518   done
   35519 IFS=$as_save_IFS
   35520 
   35521   test -z "$ac_cv_path_SVGDecodeDelegate" && ac_cv_path_SVGDecodeDelegate=""$SVGDecodeDelegateDefault""
   35522   ;;
   35523 esac
   35524 fi
   35525 SVGDecodeDelegate=$ac_cv_path_SVGDecodeDelegate
   35526 if test -n "$SVGDecodeDelegate"; then
   35527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVGDecodeDelegate" >&5
   35528 $as_echo "$SVGDecodeDelegate" >&6; }
   35529 else
   35530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35531 $as_echo "no" >&6; }
   35532 fi
   35533 
   35534 
   35535 # Extract the first word of ""$UniconvertorDelegateDefault"", so it can be a program name with args.
   35536 set dummy "$UniconvertorDelegateDefault"; ac_word=$2
   35537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35538 $as_echo_n "checking for $ac_word... " >&6; }
   35539 if ${ac_cv_path_UniconvertorDelegate+:} false; then :
   35540   $as_echo_n "(cached) " >&6
   35541 else
   35542   case $UniconvertorDelegate in
   35543   [\\/]* | ?:[\\/]*)
   35544   ac_cv_path_UniconvertorDelegate="$UniconvertorDelegate" # Let the user override the test with a path.
   35545   ;;
   35546   *)
   35547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35548 for as_dir in $PATH
   35549 do
   35550   IFS=$as_save_IFS
   35551   test -z "$as_dir" && as_dir=.
   35552     for ac_exec_ext in '' $ac_executable_extensions; do
   35553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35554     ac_cv_path_UniconvertorDelegate="$as_dir/$ac_word$ac_exec_ext"
   35555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35556     break 2
   35557   fi
   35558 done
   35559   done
   35560 IFS=$as_save_IFS
   35561 
   35562   test -z "$ac_cv_path_UniconvertorDelegate" && ac_cv_path_UniconvertorDelegate=""$UniconvertorDelegateDefault""
   35563   ;;
   35564 esac
   35565 fi
   35566 UniconvertorDelegate=$ac_cv_path_UniconvertorDelegate
   35567 if test -n "$UniconvertorDelegate"; then
   35568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UniconvertorDelegate" >&5
   35569 $as_echo "$UniconvertorDelegate" >&6; }
   35570 else
   35571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35572 $as_echo "no" >&6; }
   35573 fi
   35574 
   35575 
   35576 # Extract the first word of ""$WebPDecodeDelegateDefault"", so it can be a program name with args.
   35577 set dummy "$WebPDecodeDelegateDefault"; ac_word=$2
   35578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35579 $as_echo_n "checking for $ac_word... " >&6; }
   35580 if ${ac_cv_path_WebPDecodeDelegate+:} false; then :
   35581   $as_echo_n "(cached) " >&6
   35582 else
   35583   case $WebPDecodeDelegate in
   35584   [\\/]* | ?:[\\/]*)
   35585   ac_cv_path_WebPDecodeDelegate="$WebPDecodeDelegate" # Let the user override the test with a path.
   35586   ;;
   35587   *)
   35588   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35589 for as_dir in $PATH
   35590 do
   35591   IFS=$as_save_IFS
   35592   test -z "$as_dir" && as_dir=.
   35593     for ac_exec_ext in '' $ac_executable_extensions; do
   35594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35595     ac_cv_path_WebPDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35597     break 2
   35598   fi
   35599 done
   35600   done
   35601 IFS=$as_save_IFS
   35602 
   35603   test -z "$ac_cv_path_WebPDecodeDelegate" && ac_cv_path_WebPDecodeDelegate=""$WebPDecodeDelegateDefault""
   35604   ;;
   35605 esac
   35606 fi
   35607 WebPDecodeDelegate=$ac_cv_path_WebPDecodeDelegate
   35608 if test -n "$WebPDecodeDelegate"; then
   35609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WebPDecodeDelegate" >&5
   35610 $as_echo "$WebPDecodeDelegate" >&6; }
   35611 else
   35612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35613 $as_echo "no" >&6; }
   35614 fi
   35615 
   35616 
   35617 # Extract the first word of ""$WebPEncodeDelegateDefault"", so it can be a program name with args.
   35618 set dummy "$WebPEncodeDelegateDefault"; ac_word=$2
   35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35620 $as_echo_n "checking for $ac_word... " >&6; }
   35621 if ${ac_cv_path_WebPEncodeDelegate+:} false; then :
   35622   $as_echo_n "(cached) " >&6
   35623 else
   35624   case $WebPEncodeDelegate in
   35625   [\\/]* | ?:[\\/]*)
   35626   ac_cv_path_WebPEncodeDelegate="$WebPEncodeDelegate" # Let the user override the test with a path.
   35627   ;;
   35628   *)
   35629   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35630 for as_dir in $PATH
   35631 do
   35632   IFS=$as_save_IFS
   35633   test -z "$as_dir" && as_dir=.
   35634     for ac_exec_ext in '' $ac_executable_extensions; do
   35635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35636     ac_cv_path_WebPEncodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35638     break 2
   35639   fi
   35640 done
   35641   done
   35642 IFS=$as_save_IFS
   35643 
   35644   test -z "$ac_cv_path_WebPEncodeDelegate" && ac_cv_path_WebPEncodeDelegate=""$WebPEncodeDelegateDefault""
   35645   ;;
   35646 esac
   35647 fi
   35648 WebPEncodeDelegate=$ac_cv_path_WebPEncodeDelegate
   35649 if test -n "$WebPEncodeDelegate"; then
   35650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WebPEncodeDelegate" >&5
   35651 $as_echo "$WebPEncodeDelegate" >&6; }
   35652 else
   35653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35654 $as_echo "no" >&6; }
   35655 fi
   35656 
   35657 
   35658 # Extract the first word of ""$WWWDecodeDelegateDefault"", so it can be a program name with args.
   35659 set dummy "$WWWDecodeDelegateDefault"; ac_word=$2
   35660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35661 $as_echo_n "checking for $ac_word... " >&6; }
   35662 if ${ac_cv_path_WWWDecodeDelegate+:} false; then :
   35663   $as_echo_n "(cached) " >&6
   35664 else
   35665   case $WWWDecodeDelegate in
   35666   [\\/]* | ?:[\\/]*)
   35667   ac_cv_path_WWWDecodeDelegate="$WWWDecodeDelegate" # Let the user override the test with a path.
   35668   ;;
   35669   *)
   35670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35671 for as_dir in $PATH
   35672 do
   35673   IFS=$as_save_IFS
   35674   test -z "$as_dir" && as_dir=.
   35675     for ac_exec_ext in '' $ac_executable_extensions; do
   35676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35677     ac_cv_path_WWWDecodeDelegate="$as_dir/$ac_word$ac_exec_ext"
   35678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35679     break 2
   35680   fi
   35681 done
   35682   done
   35683 IFS=$as_save_IFS
   35684 
   35685   test -z "$ac_cv_path_WWWDecodeDelegate" && ac_cv_path_WWWDecodeDelegate=""$WWWDecodeDelegateDelegateDefault""
   35686   ;;
   35687 esac
   35688 fi
   35689 WWWDecodeDelegate=$ac_cv_path_WWWDecodeDelegate
   35690 if test -n "$WWWDecodeDelegate"; then
   35691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WWWDecodeDelegate" >&5
   35692 $as_echo "$WWWDecodeDelegate" >&6; }
   35693 else
   35694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35695 $as_echo "no" >&6; }
   35696 fi
   35697 
   35698 
   35699 # Extract the first word of ""$XPSDelegateDefault"", so it can be a program name with args.
   35700 set dummy "$XPSDelegateDefault"; ac_word=$2
   35701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35702 $as_echo_n "checking for $ac_word... " >&6; }
   35703 if ${ac_cv_path_XPSDelegate+:} false; then :
   35704   $as_echo_n "(cached) " >&6
   35705 else
   35706   case $XPSDelegate in
   35707   [\\/]* | ?:[\\/]*)
   35708   ac_cv_path_XPSDelegate="$XPSDelegate" # Let the user override the test with a path.
   35709   ;;
   35710   *)
   35711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   35712 for as_dir in $PATH
   35713 do
   35714   IFS=$as_save_IFS
   35715   test -z "$as_dir" && as_dir=.
   35716     for ac_exec_ext in '' $ac_executable_extensions; do
   35717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   35718     ac_cv_path_XPSDelegate="$as_dir/$ac_word$ac_exec_ext"
   35719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   35720     break 2
   35721   fi
   35722 done
   35723   done
   35724 IFS=$as_save_IFS
   35725 
   35726   test -z "$ac_cv_path_XPSDelegate" && ac_cv_path_XPSDelegate=""$XPSDelegateDefault""
   35727   ;;
   35728 esac
   35729 fi
   35730 XPSDelegate=$ac_cv_path_XPSDelegate
   35731 if test -n "$XPSDelegate"; then
   35732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPSDelegate" >&5
   35733 $as_echo "$XPSDelegate" >&6; }
   35734 else
   35735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   35736 $as_echo "no" >&6; }
   35737 fi
   35738 
   35739 
   35740 
   35741 # Prefer lpr to lp; lp needs options tacked on.
   35742 if test "$LPRDelegate" != no; then
   35743     PrintDelegate="$LPRDelegate"
   35744 else
   35745     PrintDelegate="$LPDelegate -c -s"
   35746 fi
   35747 
   35748 
   35749 # Installed ImageMagick utiltity paths
   35750 ConvertDelegate="${BIN_DIR}/${ConvertDelegateDefault}"
   35751 DisplayDelegate="${BIN_DIR}/${DisplayDelegateDefault}"
   35752 MogrifyDelegate="${BIN_DIR}/${MogrifyDelegateDefault}"
   35753 
   35754 # Set delegate booleans
   35755 have_avconv='no'; if test "$MPEGDecodeDelegate" != "$MPEGDecodeDelegateDefault" ; then have_avconv='yes'; fi
   35756 have_gs='no'         ; if test "$PSDelegate" != "$PSDelegateDefault"; then have_gs='yes'; fi
   35757 have_hp2xx='no'      ; if test "$HPGLDecodeDelegate" !=  "$HPGLDecodeDelegateDefault" ; then have_hp2xx='yes'; fi
   35758 have_ilbmtoppm='no'  ; if test "$ILBMDecodeDelegate" != "$ILBMDecodeDelegateDefault" ; then have_ilbmtoppm='yes'; fi
   35759 have_mrsid='no'; if test "$MrSIDDecodeDelegate" != "$MrSIDDecodeDelegateDefault" ; then have_mrsid='yes'; fi
   35760 have_pcl='no'        ; if test "$PCLDelegate" != "$PCLDelegateDefault"; then have_pcl='yes'; fi
   35761 have_ppmtoilbm='no'  ; if test "$ILBMEncodeDelegate" != "$ILBMEncodeDelegateDefault" ; then have_ppmtoilbm='yes'; fi
   35762 have_xps='no'        ; if test "$XPSDelegate" != "$XPSDelegateDefault"; then have_xps='yes'; fi
   35763 
   35764 #
   35765 # Test for font directories
   35766 #
   35767 type_include_files=''
   35768 
   35769 # Apple fonts.
   35770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple fonts directory" >&5
   35771 $as_echo_n "checking for Apple fonts directory... " >&6; }
   35772 apple_font_dir=''
   35773 if test "${with_apple_font_dir}" != 'default'; then
   35774   apple_font_dir="${with_apple_font_dir}/"
   35775 else
   35776   for font_dir in '/Library/Fonts/'; do
   35777     if test -f "${font_dir}Arial.ttf"; then
   35778       apple_font_dir="${font_dir}"
   35779       break 1
   35780     fi
   35781   done
   35782 fi
   35783 if test "${apple_font_dir}x" != 'x'; then
   35784   type_include_files="${type_include_files} "'<include file="type-apple.xml" />'
   35785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apple_font_dir" >&5
   35786 $as_echo "$apple_font_dir" >&6; }
   35787 else
   35788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
   35789 $as_echo "not found!" >&6; };
   35790 fi
   35791 
   35792 
   35793 # Dejavu fonts.
   35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Dejavu fonts directory" >&5
   35795 $as_echo_n "checking for Dejavu fonts directory... " >&6; }
   35796 dejavu_font_dir=''
   35797 if test "${with_dejavu_font_dir}" != 'default'; then
   35798   dejavu_font_dir="${with_dejavu_font_dir}/"
   35799 else
   35800   for font_dir in "${prefix}/share/dejavu/fonts/" '/usr/share/fonts/dejavu/'; do
   35801     if test -f "${font_dir}DejaVuSerif.ttf"; then
   35802       dejavu_font_dir="${font_dir}"
   35803       break 1
   35804     fi
   35805   done
   35806 fi
   35807 if test "${dejavu_font_dir}x" != 'x'; then
   35808   type_include_files="${type_include_files} "'<include file="type-dejavu.xml" />'
   35809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dejavu_font_dir" >&5
   35810 $as_echo "$dejavu_font_dir" >&6; }
   35811 else
   35812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
   35813 $as_echo "not found!" >&6; };
   35814 fi
   35815 
   35816 
   35817 # Ghostscript
   35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ghostscript fonts directory" >&5
   35819 $as_echo_n "checking for Ghostscript fonts directory... " >&6; }
   35820 ghostscript_font_dir=''
   35821 if test "${with_gs_font_dir}" != 'default'; then
   35822   ghostscript_font_dir="${with_gs_font_dir}/"
   35823 else
   35824   if test "${native_win32_build}" = 'yes'; then
   35825     # Native Windows Build
   35826     for font_dir in "c:\\Program Files\\gs\\fonts\\" "c:\\Program Files \(x86\)\\gs\\fonts\\" "c:\\gs\\fonts\\"; do
   35827       if test -f "${font_dir}a010013l.pfb"; then
   35828         ghostscript_font_dir="$font_dir"
   35829         break 1
   35830       fi
   35831     done
   35832     if test "${PSDelegate}" != 'gswin32c'; then
   35833       ghostscript_font_dir=`echo "${PSDelegate}" | sed -e 's:/gs/.*:/gs:;s:^/::;s/./&:/;s:/:\\\\:g'`"\\fonts\\"
   35834     fi
   35835   else
   35836     # Linux / Mac OS X / Unix Build
   35837     for font_dir in "${prefix}/share/ghostscript/fonts/" '/usr/share/fonts/default/Type1/' '/usr/share/ghostscript/fonts/' '/usr/share/fonts/ghostscript/' '/usr/share/fonts/type1/gsfonts/' '/opt/local/share/ghostscript/fonts/' '/sw/share/ghostscript/fonts/' '/System/Library/Frameworks/Ghostscript.framework/Resources/fonts/'; do
   35838       if test -f "${font_dir}a010013l.pfb"; then
   35839         ghostscript_font_dir="${font_dir}"
   35840         break 1
   35841       fi
   35842     done
   35843     if test "${ghostscript_font_dir}x" = 'x'; then
   35844       if test "$PSDelegate" != 'gs'; then
   35845         ghostscript_font_dir=`echo "$PSDelegate" | sed -e 's:/bin/gs:/share/ghostscript/fonts:'`"/"
   35846       fi
   35847     fi
   35848   fi
   35849 fi
   35850 if test "${ghostscript_font_dir}x" != 'x'; then
   35851   type_include_files="${type_include_files} "'<include file="type-ghostscript.xml" />'
   35852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ghostscript_font_dir" >&5
   35853 $as_echo "$ghostscript_font_dir" >&6; }
   35854 else
   35855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
   35856 $as_echo "not found!" >&6; };
   35857 fi
   35858 
   35859 case "${build_os}" in
   35860   mingw* )
   35861     PSDelegate=`$WinPathScript "$PSDelegate" 1`
   35862     ;;
   35863 esac
   35864 
   35865 # URW-base35 fonts.
   35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for URW-base35 fonts directory" >&5
   35867 $as_echo_n "checking for URW-base35 fonts directory... " >&6; }
   35868 urw_base35_font_dir=''
   35869 if test "${with_urw_base35_font_dir}" != 'default'; then
   35870   urw_base35_font_dir="${with_urw_base35_font_dir}/"
   35871 else
   35872   for font_dir in "${prefix}/share/urw-base35/fonts/" '/usr/share/fonts/urw-base35/'; do
   35873     if test -f "${font_dir}StandardSymbolsPS.t1"; then
   35874       urw_base35_font_dir="${font_dir}"
   35875       break 1
   35876     fi
   35877   done
   35878 fi
   35879 if test "${urw_base35_font_dir}x" != 'x'; then
   35880   type_include_files="${type_include_files} "'<include file="type-urw-base35.xml" />'
   35881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $urw_base35_font_dir" >&5
   35882 $as_echo "$urw_base35_font_dir" >&6; }
   35883 else
   35884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
   35885 $as_echo "not found!" >&6; };
   35886 fi
   35887 
   35888 
   35889 # Windows fonts.
   35890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows fonts directory" >&5
   35891 $as_echo_n "checking for Windows fonts directory... " >&6; }
   35892 windows_font_dir=''
   35893 if test "${with_windows_font_dir}" != 'default'; then
   35894   windows_font_dir="${with_windows_font_dir}/"
   35895 else
   35896   for font_dir in '/usr/X11R6/lib/X11/fonts/truetype/' '/usr/X11R7/lib/X11/fonts/truetype/' '/usr/share/fonts/msttcore/' '/usr/share/fonts/microsoft/' '/usr/share/fonts/truetype/msttcorefonts/'; do
   35897     if test -f "${font_dir}arial.ttf"; then
   35898       windows_font_dir="${font_dir}"
   35899       break 1
   35900     fi
   35901   done
   35902 fi
   35903 if test "${windows_font_dir}x" != 'x'; then
   35904   type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
   35905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $windows_font_dir" >&5
   35906 $as_echo "$windows_font_dir" >&6; }
   35907 else
   35908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found!" >&5
   35909 $as_echo "not found!" >&6; };
   35910 fi
   35911 
   35912 
   35913 
   35914 
   35915 #
   35916 # Handle case where user doesn't want frozen paths
   35917 #
   35918 if test "$with_frozenpaths" != 'yes'; then
   35919   # Re-set delegate definitions to default (no paths)
   35920   BPGDecodeDelegate="$BPGDecodeDelegateDefault"
   35921   BPGEncodeDelegate="$BPGEncodeDelegateDefault"
   35922   BlenderDecodeDelegate="$BlenderDecodeDelegateDefault"
   35923   BrowseDelegate="$BrowseDelegateDefault"
   35924   ConvertDelegate="$ConvertDelegateDefault"
   35925   DisplayDelegate="$DisplayDelegateDefault"
   35926   DNGDecodeDelegate="$DNGDecodeDelegateDefault"
   35927   DOCDecodeDelegate="$DOCDecodeDelegateDefault"
   35928   DVIDecodeDelegate="$DVIDecodeDelegateDefault"
   35929   EditorDelegate="$EditorDelegateDefault"
   35930   GVCDecodeDelegate="$GVCDecodeDelegateDefault"
   35931   HPGLDecodeDelegate="$HPGLDecodeDelegateDefault"
   35932   HTMLDecodeDelegate="$HTMLDecodeDelegateDefault"
   35933   ILBMDecodeDelegate="$ILBMDecodeDelegateDefault"
   35934   ILBMEncodeDelegate="$ILBMEncodeDelegateDefault"
   35935   JXRDecodeDelegate="$JXRDecodeDelegateDefault"
   35936   JXREncodeDelegate="$JXREncodeDelegateDefault"
   35937   LEPDelegate="$LEPDelegateDefault"
   35938   LPDelegate="$LPDelegateDefault"
   35939   LaunchDelegate="$LaunchDelegateDefault"
   35940   MPEGDecodeDelegate="$MPEGDecodeDelegateDefault"
   35941   MPEGEncodeDelegate="$MPEGEncodeDelegateDefault"
   35942   MogrifyDelegate="$MogrifyDelegateDefault"
   35943   MrSIDDecodeDelegate="$MrSIDDecodeDelegateDefault"
   35944   PCLDelegate="$PCLDelegateDefault"
   35945   PSDelegate="$PSDelegateDefault"
   35946   RSVGDecodeDelegate="$RSVGDecodeDelegateDefault"
   35947   SVGDecodeDelegate="$SVGDecodeDelegateDefault"
   35948   ShowImageDelegate="$ShowImageDelegateDefault"
   35949   UniconvertorDelegate="$UniconvertorDelegateDefault"
   35950   WebPDecodeDelegate="$WebPDecodeDelegateDefault"
   35951   WebPEncodeDelegate="$WebPEncodeDelegateDefault"
   35952   WWWDecodeDelegate="$WWWDecodeDelegateDefault"
   35953   XPSDelegate="$XPSDelegateDefault"
   35954 fi
   35955 
   35956 # Delegate substitutions
   35957 
   35958 
   35959 
   35960 
   35961 
   35962 
   35963 
   35964 
   35965 
   35966 
   35967 
   35968 
   35969 
   35970 
   35971 
   35972 
   35973 
   35974 
   35975 
   35976 
   35977 
   35978 
   35979 
   35980 
   35981 
   35982 
   35983 
   35984 
   35985 
   35986 
   35987 #
   35988 # RPM support.
   35989 #
   35990 RPM=''
   35991 for ac_prog in gnutar gtar tar
   35992 do
   35993   # Extract the first word of "$ac_prog", so it can be a program name with args.
   35994 set dummy $ac_prog; ac_word=$2
   35995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   35996 $as_echo_n "checking for $ac_word... " >&6; }
   35997 if ${ac_cv_prog_TAR+:} false; then :
   35998   $as_echo_n "(cached) " >&6
   35999 else
   36000   if test -n "$TAR"; then
   36001   ac_cv_prog_TAR="$TAR" # Let the user override the test.
   36002 else
   36003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36004 for as_dir in $PATH
   36005 do
   36006   IFS=$as_save_IFS
   36007   test -z "$as_dir" && as_dir=.
   36008     for ac_exec_ext in '' $ac_executable_extensions; do
   36009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36010     ac_cv_prog_TAR="$ac_prog"
   36011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36012     break 2
   36013   fi
   36014 done
   36015   done
   36016 IFS=$as_save_IFS
   36017 
   36018 fi
   36019 fi
   36020 TAR=$ac_cv_prog_TAR
   36021 if test -n "$TAR"; then
   36022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
   36023 $as_echo "$TAR" >&6; }
   36024 else
   36025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36026 $as_echo "no" >&6; }
   36027 fi
   36028 
   36029 
   36030   test -n "$TAR" && break
   36031 done
   36032 
   36033 for ac_prog in perl
   36034 do
   36035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   36036 set dummy $ac_prog; ac_word=$2
   36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   36038 $as_echo_n "checking for $ac_word... " >&6; }
   36039 if ${ac_cv_prog_PERL+:} false; then :
   36040   $as_echo_n "(cached) " >&6
   36041 else
   36042   if test -n "$PERL"; then
   36043   ac_cv_prog_PERL="$PERL" # Let the user override the test.
   36044 else
   36045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36046 for as_dir in $PATH
   36047 do
   36048   IFS=$as_save_IFS
   36049   test -z "$as_dir" && as_dir=.
   36050     for ac_exec_ext in '' $ac_executable_extensions; do
   36051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36052     ac_cv_prog_PERL="$ac_prog"
   36053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36054     break 2
   36055   fi
   36056 done
   36057   done
   36058 IFS=$as_save_IFS
   36059 
   36060 fi
   36061 fi
   36062 PERL=$ac_cv_prog_PERL
   36063 if test -n "$PERL"; then
   36064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   36065 $as_echo "$PERL" >&6; }
   36066 else
   36067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36068 $as_echo "no" >&6; }
   36069 fi
   36070 
   36071 
   36072   test -n "$PERL" && break
   36073 done
   36074 
   36075 for ac_prog in rpmbuild rpm
   36076 do
   36077   # Extract the first word of "$ac_prog", so it can be a program name with args.
   36078 set dummy $ac_prog; ac_word=$2
   36079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   36080 $as_echo_n "checking for $ac_word... " >&6; }
   36081 if ${ac_cv_prog_RPM+:} false; then :
   36082   $as_echo_n "(cached) " >&6
   36083 else
   36084   if test -n "$RPM"; then
   36085   ac_cv_prog_RPM="$RPM" # Let the user override the test.
   36086 else
   36087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36088 for as_dir in $PATH
   36089 do
   36090   IFS=$as_save_IFS
   36091   test -z "$as_dir" && as_dir=.
   36092     for ac_exec_ext in '' $ac_executable_extensions; do
   36093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36094     ac_cv_prog_RPM="$ac_prog"
   36095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36096     break 2
   36097   fi
   36098 done
   36099   done
   36100 IFS=$as_save_IFS
   36101 
   36102 fi
   36103 fi
   36104 RPM=$ac_cv_prog_RPM
   36105 if test -n "$RPM"; then
   36106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RPM" >&5
   36107 $as_echo "$RPM" >&6; }
   36108 else
   36109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36110 $as_echo "no" >&6; }
   36111 fi
   36112 
   36113 
   36114   test -n "$RPM" && break
   36115 done
   36116 
   36117 
   36118 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
   36119 
   36120 
   36121 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   36122 
   36123 
   36124 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
   36125 
   36126 
   36127 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   36128 
   36129 
   36130  if test "x$RPM" != "x" ; then
   36131   RPM_DELEGATE_TRUE=
   36132   RPM_DELEGATE_FALSE='#'
   36133 else
   36134   RPM_DELEGATE_TRUE='#'
   36135   RPM_DELEGATE_FALSE=
   36136 fi
   36137 
   36138 
   36139 #
   36140 # 7ZIP support (http://p7zip.sourceforge.net/)
   36141 #
   36142 P7ZIP=''
   36143 for ac_prog in 7za
   36144 do
   36145   # Extract the first word of "$ac_prog", so it can be a program name with args.
   36146 set dummy $ac_prog; ac_word=$2
   36147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   36148 $as_echo_n "checking for $ac_word... " >&6; }
   36149 if ${ac_cv_prog_P7ZIP+:} false; then :
   36150   $as_echo_n "(cached) " >&6
   36151 else
   36152   if test -n "$P7ZIP"; then
   36153   ac_cv_prog_P7ZIP="$P7ZIP" # Let the user override the test.
   36154 else
   36155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36156 for as_dir in $PATH
   36157 do
   36158   IFS=$as_save_IFS
   36159   test -z "$as_dir" && as_dir=.
   36160     for ac_exec_ext in '' $ac_executable_extensions; do
   36161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36162     ac_cv_prog_P7ZIP="$ac_prog"
   36163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36164     break 2
   36165   fi
   36166 done
   36167   done
   36168 IFS=$as_save_IFS
   36169 
   36170 fi
   36171 fi
   36172 P7ZIP=$ac_cv_prog_P7ZIP
   36173 if test -n "$P7ZIP"; then
   36174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $P7ZIP" >&5
   36175 $as_echo "$P7ZIP" >&6; }
   36176 else
   36177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36178 $as_echo "no" >&6; }
   36179 fi
   36180 
   36181 
   36182   test -n "$P7ZIP" && break
   36183 done
   36184 
   36185 
   36186  if test "x$P7ZIP" != "x" ; then
   36187   P7ZIP_DELEGATE_TRUE=
   36188   P7ZIP_DELEGATE_FALSE='#'
   36189 else
   36190   P7ZIP_DELEGATE_TRUE='#'
   36191   P7ZIP_DELEGATE_FALSE=
   36192 fi
   36193 
   36194 
   36195 #
   36196 # ZIP support (http://www.info-zip.org/Zip.html)
   36197 #
   36198 ZIP=''
   36199 for ac_prog in zip
   36200 do
   36201   # Extract the first word of "$ac_prog", so it can be a program name with args.
   36202 set dummy $ac_prog; ac_word=$2
   36203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   36204 $as_echo_n "checking for $ac_word... " >&6; }
   36205 if ${ac_cv_prog_ZIP+:} false; then :
   36206   $as_echo_n "(cached) " >&6
   36207 else
   36208   if test -n "$ZIP"; then
   36209   ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
   36210 else
   36211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36212 for as_dir in $PATH
   36213 do
   36214   IFS=$as_save_IFS
   36215   test -z "$as_dir" && as_dir=.
   36216     for ac_exec_ext in '' $ac_executable_extensions; do
   36217   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36218     ac_cv_prog_ZIP="$ac_prog"
   36219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36220     break 2
   36221   fi
   36222 done
   36223   done
   36224 IFS=$as_save_IFS
   36225 
   36226 fi
   36227 fi
   36228 ZIP=$ac_cv_prog_ZIP
   36229 if test -n "$ZIP"; then
   36230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
   36231 $as_echo "$ZIP" >&6; }
   36232 else
   36233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36234 $as_echo "no" >&6; }
   36235 fi
   36236 
   36237 
   36238   test -n "$ZIP" && break
   36239 done
   36240 
   36241 
   36242  if test "x$ZIP" != "x" ; then
   36243   ZIP_DELEGATE_TRUE=
   36244   ZIP_DELEGATE_FALSE='#'
   36245 else
   36246   ZIP_DELEGATE_TRUE='#'
   36247   ZIP_DELEGATE_FALSE=
   36248 fi
   36249 
   36250 
   36251 #
   36252 # GhostPCL related configuration.
   36253 #
   36254 PCLColorDevice=ppmraw
   36255 PCLCMYKDevice=pamcmyk32
   36256 PCLMonoDevice=pbmraw
   36257 if test -z "$PCLVersion"; then
   36258     PCLVersion='unknown'
   36259 fi
   36260 if test $have_pcl = 'yes'; then
   36261     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   36262 $as_echo "-------------------------------------------------------------" >&6; }
   36263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCL" >&5
   36264 $as_echo_n "checking for PCL... " >&6; }
   36265     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   36266 $as_echo "" >&6; }
   36267     # PCLColorDevice
   36268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcl color device" >&5
   36269 $as_echo_n "checking for pcl color device... " >&6; }
   36270     if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36271         :
   36272     else
   36273         PCLColorDevice=ppmraw
   36274     fi
   36275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCLColorDevice" >&5
   36276 $as_echo "$PCLColorDevice" >&6; }
   36277 
   36278     # PCLCMYKDevice
   36279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcl CMYK device" >&5
   36280 $as_echo_n "checking for pcl CMYK device... " >&6; }
   36281     if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36282         :
   36283     else
   36284         PCLCMYKDevice=$PCLColorDevice
   36285     fi
   36286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCLCMYKDevice" >&5
   36287 $as_echo "$PCLCMYKDevice" >&6; }
   36288 
   36289     # PCLMonoDevice
   36290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcl mono device" >&5
   36291 $as_echo_n "checking for pcl mono device... " >&6; }
   36292     if $PCLDelegate -dBATCH -sDEVICE=$PCLMonoDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36293         :
   36294     else
   36295         PCLMonoDevice=$PCLColorDevice
   36296     fi
   36297     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCLMonoDevice" >&5
   36298 $as_echo "$PCLMonoDevice" >&6; }
   36299 fi
   36300 
   36301 
   36302 
   36303 
   36304 
   36305 
   36306 #
   36307 # GhostXPS related configuration.
   36308 #
   36309 XPSColorDevice=ppmraw
   36310 XPSCMYKDevice=bmpsep8
   36311 XPSMonoDevice=pbmraw
   36312 if test -z "$XPSVersion"; then
   36313     XPSVersion='unknown'
   36314 fi
   36315 if test $have_xps = 'yes'; then
   36316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   36317 $as_echo "-------------------------------------------------------------" >&6; }
   36318     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPS" >&5
   36319 $as_echo_n "checking for XPS... " >&6; }
   36320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   36321 $as_echo "" >&6; }
   36322     # XPSColorDevice
   36323     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xps color device" >&5
   36324 $as_echo_n "checking for xps color device... " >&6; }
   36325     if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36326         :
   36327     else
   36328         XPSColorDevice=ppmraw
   36329     fi
   36330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPSColorDevice" >&5
   36331 $as_echo "$XPSColorDevice" >&6; }
   36332 
   36333     # XPSCMYKDevice
   36334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xps CMYK device" >&5
   36335 $as_echo_n "checking for xps CMYK device... " >&6; }
   36336     if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36337         :
   36338     else
   36339         XPSCMYKDevice=$XPSColorDevice
   36340     fi
   36341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPSCMYKDevice" >&5
   36342 $as_echo "$XPSCMYKDevice" >&6; }
   36343 
   36344     # XPSMonoDevice
   36345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xps mono device" >&5
   36346 $as_echo_n "checking for xps mono device... " >&6; }
   36347     if $XPSDelegate -dBATCH -sDEVICE=$XPSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36348         :
   36349     else
   36350         XPSMonoDevice=$XPSColorDevice
   36351     fi
   36352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPSMonoDevice" >&5
   36353 $as_echo "$XPSMonoDevice" >&6; }
   36354 fi
   36355 
   36356 
   36357 
   36358 
   36359 
   36360 
   36361 #
   36362 # Ghostscript related configuration.
   36363 #
   36364 GSAlphaDevice=pngalpha
   36365 GSColorDevice=pnmraw
   36366 GSCMYKDevice=pamcmyk32
   36367 GSMonoDevice=pbmraw
   36368 GSPDFDevice=pdfwrite
   36369 GSPSDevice=ps2write
   36370 GSEPSDevice=eps2write
   36371 GSVersion='unknown'
   36372 if test $have_gs = 'yes'; then
   36373     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   36374 $as_echo "-------------------------------------------------------------" >&6; }
   36375     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ghostscript" >&5
   36376 $as_echo_n "checking for Ghostscript... " >&6; }
   36377     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   36378 $as_echo "" >&6; }
   36379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ghostscript version" >&5
   36380 $as_echo_n "checking for Ghostscript version... " >&6; }
   36381     if GSVersion=`$PSDelegate --version`; then
   36382         :
   36383     else
   36384         GSVersion=`$PSDelegate --help | sed -e '1q' | awk '{ print $3 }'`
   36385     fi
   36386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSVersion" >&5
   36387 $as_echo "$GSVersion" >&6; }
   36388 
   36389     # GSColorDevice
   36390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs color device" >&5
   36391 $as_echo_n "checking for gs color device... " >&6; }
   36392     if $PSDelegate -q -dBATCH -sDEVICE=$GSColorDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36393         :
   36394     else
   36395         GSColorDevice=ppmraw
   36396     fi
   36397     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSColorDevice" >&5
   36398 $as_echo "$GSColorDevice" >&6; }
   36399 
   36400     # GSAlphaDevice
   36401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs alpha device" >&5
   36402 $as_echo_n "checking for gs alpha device... " >&6; }
   36403     if $PSDelegate -q -dBATCH -sDEVICE=$GSAlphaDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36404         :
   36405     else
   36406         GSAlphaDevice=$GSColorDevice
   36407     fi
   36408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSAlphaDevice" >&5
   36409 $as_echo "$GSAlphaDevice" >&6; }
   36410 
   36411     # GSCMYKDevice
   36412     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs CMYK device" >&5
   36413 $as_echo_n "checking for gs CMYK device... " >&6; }
   36414     if $PSDelegate -q -dBATCH -sDEVICE=$GSCMYKDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36415         :
   36416     else
   36417         GSCMYKDevice=pam
   36418     fi
   36419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSCMYKDevice" >&5
   36420 $as_echo "$GSCMYKDevice" >&6; }
   36421 
   36422     # GSMonoDevice
   36423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs mono device" >&5
   36424 $as_echo_n "checking for gs mono device... " >&6; }
   36425     if $PSDelegate -q -dBATCH -sDEVICE=$GSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36426         :
   36427     else
   36428         GSMonoDevice=$GSColorDevice
   36429     fi
   36430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSMonoDevice" >&5
   36431 $as_echo "$GSMonoDevice" >&6; }
   36432 
   36433     # GSPDFDevice
   36434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs PDF writing device" >&5
   36435 $as_echo_n "checking for gs PDF writing device... " >&6; }
   36436     if $PSDelegate -q -dBATCH -sDEVICE=$GSPDFDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36437         :
   36438     else
   36439         GSPDFDevice=nodevice
   36440     fi
   36441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSPDFDevice" >&5
   36442 $as_echo "$GSPDFDevice" >&6; }
   36443 
   36444     # GSPSDevice
   36445     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs PS writing device" >&5
   36446 $as_echo_n "checking for gs PS writing device... " >&6; }
   36447     if $PSDelegate -q -dBATCH -sDEVICE=$GSPSDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36448         :
   36449     else
   36450         GSPSDevice=pswrite
   36451     fi
   36452     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSPSDevice" >&5
   36453 $as_echo "$GSPSDevice" >&6; }
   36454 
   36455     # GSEPSDevice
   36456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gs EPS writing device" >&5
   36457 $as_echo_n "checking for gs EPS writing device... " >&6; }
   36458     if $PSDelegate -q -dBATCH -sDEVICE=$GSEPSDevice -sOutputFile=/dev/null < /dev/null 1>&5 2>&5; then
   36459         :
   36460     else
   36461         GSEPSDevice=epswrite
   36462     fi
   36463     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSEPSDevice" >&5
   36464 $as_echo "$GSEPSDevice" >&6; }
   36465 fi
   36466 
   36467 
   36468 
   36469 
   36470 
   36471 
   36472 
   36473 
   36474 
   36475 
   36476 #
   36477 # PerlMagick-related configuration
   36478 #
   36479 
   36480 # Look for PERL if PerlMagick requested
   36481 # If name/path of desired PERL interpreter is specified, look for that one first
   36482 have_perl='no'
   36483 if test "$with_perl" != 'no'; then
   36484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   36485 $as_echo "-------------------------------------------------------------" >&6; }
   36486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl" >&5
   36487 $as_echo_n "checking for Perl... " >&6; }
   36488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
   36489 $as_echo "" >&6; }
   36490     if test "$with_perl" != 'yes'; then
   36491         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5
   36492 $as_echo_n "checking for perl... " >&6; }
   36493 if ${ac_cv_path_PERL+:} false; then :
   36494   $as_echo_n "(cached) " >&6
   36495 else
   36496   ac_cv_path_PERL="$with_perl"
   36497 fi
   36498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_PERL" >&5
   36499 $as_echo "$ac_cv_path_PERL" >&6; };
   36500         PERL=$ac_cv_path_PERL
   36501                 have_perl="$ac_cv_path_PERL"
   36502     else
   36503         for ac_prog in perl perl5
   36504 do
   36505   # Extract the first word of "$ac_prog", so it can be a program name with args.
   36506 set dummy $ac_prog; ac_word=$2
   36507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   36508 $as_echo_n "checking for $ac_word... " >&6; }
   36509 if ${ac_cv_path_PERL+:} false; then :
   36510   $as_echo_n "(cached) " >&6
   36511 else
   36512   case $PERL in
   36513   [\\/]* | ?:[\\/]*)
   36514   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   36515   ;;
   36516   *)
   36517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   36518 for as_dir in $PATH
   36519 do
   36520   IFS=$as_save_IFS
   36521   test -z "$as_dir" && as_dir=.
   36522     for ac_exec_ext in '' $ac_executable_extensions; do
   36523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   36524     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   36525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   36526     break 2
   36527   fi
   36528 done
   36529   done
   36530 IFS=$as_save_IFS
   36531 
   36532   ;;
   36533 esac
   36534 fi
   36535 PERL=$ac_cv_path_PERL
   36536 if test -n "$PERL"; then
   36537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   36538 $as_echo "$PERL" >&6; }
   36539 else
   36540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   36541 $as_echo "no" >&6; }
   36542 fi
   36543 
   36544 
   36545   test -n "$PERL" && break
   36546 done
   36547         if test "$ac_cv_path_PERL"; then
   36548             have_perl="$ac_cv_path_PERL"
   36549         fi
   36550     fi
   36551 fi
   36552 
   36553 if test "$with_perl" != 'yes' ; then
   36554     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-perl=$with_perl "
   36555 fi
   36556 
   36557 PERL_SUPPORTS_DESTDIR='no'
   36558 
   36559 with_perl_static='no'
   36560 with_perl_dynamic='no'
   36561 if test "$have_perl" != 'no'; then
   36562     if test "$with_perl" != 'no' && test "$libtool_build_shared_libs" = 'no'; then
   36563         with_perl_static='yes'
   36564     fi
   36565     if test "$with_perl" != 'no' && test "$libtool_build_shared_libs" = 'yes'; then
   36566         with_perl_dynamic='yes'
   36567     fi
   36568     # Is PERL's MakeMaker new enough to support DESTDIR?
   36569 
   36570 
   36571 
   36572 
   36573     if test -n "$PERL"; then :
   36574 
   36575         ax_perl_version="5.8.1"
   36576 
   36577         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version" >&5
   36578 $as_echo_n "checking for perl version... " >&6; }
   36579 
   36580         perl_version=`$PERL --version 2>&1 \
   36581           | $SED -n -e '/This is perl/b inspect
   36582 b
   36583 : inspect
   36584 s/.* (\{0,1\}v\([0-9]*\.[0-9]*\.[0-9]*\))\{0,1\} .*/\1/;p'`
   36585 
   36586         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $perl_version" >&5
   36587 $as_echo "$perl_version" >&6; }
   36588 
   36589 	PERL_VERSION=$perl_version
   36590 
   36591 
   36592 
   36593 
   36594 
   36595   # Used to indicate true or false condition
   36596   ax_compare_version=false
   36597 
   36598   # Convert the two version strings to be compared into a format that
   36599   # allows a simple string comparison.  The end result is that a version
   36600   # string of the form 1.12.5-r617 will be converted to the form
   36601   # 0001001200050617.  In other words, each number is zero padded to four
   36602   # digits, and non digits are removed.
   36603 
   36604   ax_compare_version_A=`echo "$ax_perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
   36605                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
   36606                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
   36607                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
   36608                      -e 's/[^0-9]//g'`
   36609 
   36610 
   36611   ax_compare_version_B=`echo "$perl_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
   36612                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
   36613                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
   36614                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
   36615                      -e 's/[^0-9]//g'`
   36616 
   36617 
   36618     ax_compare_version=`echo "x$ax_compare_version_A
   36619 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
   36620 
   36621 
   36622 
   36623     if test "$ax_compare_version" = "true" ; then
   36624 
   36625 	    :
   36626             PERL_SUPPORTS_DESTDIR='yes'
   36627 
   36628     else
   36629 	    :
   36630             PERL_SUPPORTS_DESTDIR='no'
   36631 
   36632   fi
   36633 
   36634 
   36635 else
   36636 
   36637         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the perl interpreter" >&5
   36638 $as_echo "$as_me: WARNING: could not find the perl interpreter" >&2;}
   36639         PERL_SUPPORTS_DESTDIR='no'
   36640 
   36641 fi
   36642 
   36643 fi
   36644  if test "$have_perl" != 'no'; then
   36645   WITH_PERL_TRUE=
   36646   WITH_PERL_FALSE='#'
   36647 else
   36648   WITH_PERL_TRUE='#'
   36649   WITH_PERL_FALSE=
   36650 fi
   36651 
   36652  if test $with_perl_static = 'yes'; then
   36653   WITH_PERL_STATIC_TRUE=
   36654   WITH_PERL_STATIC_FALSE='#'
   36655 else
   36656   WITH_PERL_STATIC_TRUE='#'
   36657   WITH_PERL_STATIC_FALSE=
   36658 fi
   36659 
   36660  if test $with_perl_dynamic = 'yes'; then
   36661   WITH_PERL_DYNAMIC_TRUE=
   36662   WITH_PERL_DYNAMIC_FALSE='#'
   36663 else
   36664   WITH_PERL_DYNAMIC_TRUE='#'
   36665   WITH_PERL_DYNAMIC_FALSE=
   36666 fi
   36667 
   36668 
   36669 
   36670 # Determine path to pick up MagickCore library from for use with building PerlMagick
   36671 MAGICKCORE_PATH="${LIB_DIR}"
   36672 if test $with_perl_static = 'yes'; then
   36673     # Find out where libtool hides its uninstalled libraries (as libtool_objdir)
   36674     libtool_objdir=$objdir
   36675 
   36676     # Linker search path to library, followed by -lMagickCore
   36677     MAGICKCORE_PATH="${builddir}/MagickCore/${libtool_objdir}"
   36678 fi
   36679 
   36680 
   36681 # Create a simple string containing format names for all delegate libraries.
   36682 MAGICK_DELEGATES=''
   36683 if test "$have_autotrace"  = 'yes' ; then
   36684    MAGICK_DELEGATES="$MAGICK_DELEGATES autotrace"
   36685 fi
   36686 if test "$have_bzlib"  = 'yes' ; then
   36687    MAGICK_DELEGATES="$MAGICK_DELEGATES bzlib"
   36688 fi
   36689 if test "$have_dps"    = 'yes' ; then
   36690    MAGICK_DELEGATES="$MAGICK_DELEGATES dps"
   36691 fi
   36692 if test "$have_djvu"    = 'yes' ; then
   36693    MAGICK_DELEGATES="$MAGICK_DELEGATES djvu"
   36694 fi
   36695 if test "$have_avconv"   = 'yes' ; then
   36696    MAGICK_DELEGATES="$MAGICK_DELEGATES mpeg"
   36697 fi
   36698 if test "$have_fftw"    = 'yes' ; then
   36699    MAGICK_DELEGATES="$MAGICK_DELEGATES fftw"
   36700 fi
   36701 if test "$have_flif"    = 'yes' ; then
   36702    MAGICK_DELEGATES="$MAGICK_DELEGATES flif"
   36703 fi
   36704 if test "$have_fpx"    = 'yes' ; then
   36705    MAGICK_DELEGATES="$MAGICK_DELEGATES fpx"
   36706 fi
   36707 if test "$have_fontconfig"    = 'yes' ; then
   36708    MAGICK_DELEGATES="$MAGICK_DELEGATES fontconfig"
   36709 fi
   36710 if test "$have_freetype"    = 'yes' ; then
   36711    MAGICK_DELEGATES="$MAGICK_DELEGATES freetype"
   36712 fi
   36713 if test "$have_gslib"    = 'yes' ; then
   36714    MAGICK_DELEGATES="$MAGICK_DELEGATES gslib"
   36715 fi
   36716 if test "$have_heic"    = 'yes' ; then
   36717    MAGICK_DELEGATES="$MAGICK_DELEGATES heic"
   36718 fi
   36719 if test "$have_jbig"    = 'yes' ; then
   36720    MAGICK_DELEGATES="$MAGICK_DELEGATES jbig"
   36721 fi
   36722 if test "$have_png$have_jpeg" = 'yesyes' ; then
   36723    MAGICK_DELEGATES="$MAGICK_DELEGATES jng"
   36724 fi
   36725 if test "$have_jpeg"   = 'yes' ; then
   36726    MAGICK_DELEGATES="$MAGICK_DELEGATES jpeg"
   36727 fi
   36728 if test "$have_lcms" = 'yes' || test "$have_lcms2" = 'yes' ; then
   36729    MAGICK_DELEGATES="$MAGICK_DELEGATES lcms"
   36730 fi
   36731 if test "$have_lqr"    = 'yes' ; then
   36732    MAGICK_DELEGATES="$MAGICK_DELEGATES lqr"
   36733 fi
   36734 if test "$have_lzma"    = 'yes' ; then
   36735    MAGICK_DELEGATES="$MAGICK_DELEGATES lzma"
   36736 fi
   36737 if test "$have_openexr"    = 'yes' ; then
   36738    MAGICK_DELEGATES="$MAGICK_DELEGATES openexr"
   36739 fi
   36740 if test "$have_openjp2"    = 'yes' ; then
   36741    MAGICK_DELEGATES="$MAGICK_DELEGATES openjp2"
   36742 fi
   36743 if test "$have_pango"    = 'yes' ; then
   36744    MAGICK_DELEGATES="$MAGICK_DELEGATES pango"
   36745 fi
   36746 if test "$have_png"    = 'yes' ; then
   36747    MAGICK_DELEGATES="$MAGICK_DELEGATES png"
   36748 fi
   36749 have_ps='no'
   36750 if test "$have_dps"    = 'yes' || \
   36751    test "$have_gs" = 'yes' || \
   36752    test "${native_win32_build}" = 'yes' ; then
   36753    have_ps='yes'
   36754 fi
   36755 if test "$have_ps"     = 'yes' ; then
   36756    MAGICK_DELEGATES="$MAGICK_DELEGATES ps"
   36757 fi
   36758 if test "$have_raw"    = 'yes' ; then
   36759    MAGICK_DELEGATES="$MAGICK_DELEGATES raw"
   36760 fi
   36761 if test "$have_raqm"    = 'yes' ; then
   36762    MAGICK_DELEGATES="$MAGICK_DELEGATES raqm"
   36763 fi
   36764 if test "$have_ra_ppm" = 'yes' ; then
   36765    MAGICK_DELEGATES="$MAGICK_DELEGATES rad"
   36766 fi
   36767 if test "$have_rsvg"   = 'yes' ; then
   36768    MAGICK_DELEGATES="$MAGICK_DELEGATES rsvg"
   36769 fi
   36770 if test "$have_tiff"   = 'yes' ; then
   36771    MAGICK_DELEGATES="$MAGICK_DELEGATES tiff"
   36772 fi
   36773 if test "$have_ttf"    = 'yes' ; then
   36774    MAGICK_DELEGATES="$MAGICK_DELEGATES ttf"
   36775 fi
   36776 if test "$have_webp"    = 'yes' ; then
   36777    MAGICK_DELEGATES="$MAGICK_DELEGATES webp"
   36778 fi
   36779 if test "$have_wmf"    = 'yes' ; then
   36780    MAGICK_DELEGATES="$MAGICK_DELEGATES wmf"
   36781 fi
   36782 if test "$have_x"      = 'yes' ; then
   36783    MAGICK_DELEGATES="$MAGICK_DELEGATES x"
   36784 fi
   36785 if test "$have_xml"      = 'yes' ; then
   36786    MAGICK_DELEGATES="$MAGICK_DELEGATES xml"
   36787 fi
   36788 if test "$have_zlib"   = 'yes' ; then
   36789    MAGICK_DELEGATES="$MAGICK_DELEGATES zlib"
   36790 fi
   36791 if test "$have_zstd"   = 'yes' ; then
   36792    MAGICK_DELEGATES="$MAGICK_DELEGATES zstd"
   36793 fi
   36794 
   36795 # Remove extraneous spaces from output variables (asthetic)
   36796 MAGICK_DELEGATES=`echo $MAGICK_DELEGATES | sed -e 's/  */ /g'`
   36797 MAGICK_FEATURES=`echo $MAGICK_FEATURES | sed -e 's/  */ /g'`
   36798 
   36799 
   36800 
   36801 #
   36802 # Handle special compiler flags
   36803 #
   36804 
   36805 # Add '-p' if prof source profiling support enabled
   36806 if test "$enable_prof" = 'yes'; then
   36807     CFLAGS="-p $CFLAGS"
   36808     CXXFLAGS="-p $CXXFLAGS"
   36809     LDFLAGS="-p $LDFLAGS"
   36810 fi
   36811 
   36812 # Add '-pg' if gprof source profiling support enabled
   36813 if test "$enable_gprof" = 'yes'; then
   36814     CFLAGS="-pg $CFLAGS"
   36815     CXXFLAGS="-pg $CXXFLAGS"
   36816     LDFLAGS="-pg $LDFLAGS"
   36817 fi
   36818 
   36819 # Add '-ftest-coverage -fprofile-arcs' if gcov source profiling support enabled
   36820 # This is a gcc-specific feature
   36821 if test "$enable_gcov" = 'yes'; then
   36822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _gcov_init in -lgcov" >&5
   36823 $as_echo_n "checking for _gcov_init in -lgcov... " >&6; }
   36824 if ${ac_cv_lib_gcov__gcov_init+:} false; then :
   36825   $as_echo_n "(cached) " >&6
   36826 else
   36827   ac_check_lib_save_LIBS=$LIBS
   36828 LIBS="-lgcov  $LIBS"
   36829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   36830 /* end confdefs.h.  */
   36831 
   36832 /* Override any GCC internal prototype to avoid an error.
   36833    Use char because int might match the return type of a GCC
   36834    builtin and then its argument prototype would still apply.  */
   36835 #ifdef __cplusplus
   36836 extern "C"
   36837 #endif
   36838 char _gcov_init ();
   36839 int
   36840 main ()
   36841 {
   36842 return _gcov_init ();
   36843   ;
   36844   return 0;
   36845 }
   36846 _ACEOF
   36847 if ac_fn_c_try_link "$LINENO"; then :
   36848   ac_cv_lib_gcov__gcov_init=yes
   36849 else
   36850   ac_cv_lib_gcov__gcov_init=no
   36851 fi
   36852 rm -f core conftest.err conftest.$ac_objext \
   36853     conftest$ac_exeext conftest.$ac_ext
   36854 LIBS=$ac_check_lib_save_LIBS
   36855 fi
   36856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcov__gcov_init" >&5
   36857 $as_echo "$ac_cv_lib_gcov__gcov_init" >&6; }
   36858 if test "x$ac_cv_lib_gcov__gcov_init" = xyes; then :
   36859   cat >>confdefs.h <<_ACEOF
   36860 #define HAVE_LIBGCOV 1
   36861 _ACEOF
   36862 
   36863   LIBS="-lgcov $LIBS"
   36864 
   36865 fi
   36866 
   36867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gcov_init in -lgcov" >&5
   36868 $as_echo_n "checking for __gcov_init in -lgcov... " >&6; }
   36869 if ${ac_cv_lib_gcov___gcov_init+:} false; then :
   36870   $as_echo_n "(cached) " >&6
   36871 else
   36872   ac_check_lib_save_LIBS=$LIBS
   36873 LIBS="-lgcov  $LIBS"
   36874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   36875 /* end confdefs.h.  */
   36876 
   36877 /* Override any GCC internal prototype to avoid an error.
   36878    Use char because int might match the return type of a GCC
   36879    builtin and then its argument prototype would still apply.  */
   36880 #ifdef __cplusplus
   36881 extern "C"
   36882 #endif
   36883 char __gcov_init ();
   36884 int
   36885 main ()
   36886 {
   36887 return __gcov_init ();
   36888   ;
   36889   return 0;
   36890 }
   36891 _ACEOF
   36892 if ac_fn_c_try_link "$LINENO"; then :
   36893   ac_cv_lib_gcov___gcov_init=yes
   36894 else
   36895   ac_cv_lib_gcov___gcov_init=no
   36896 fi
   36897 rm -f core conftest.err conftest.$ac_objext \
   36898     conftest$ac_exeext conftest.$ac_ext
   36899 LIBS=$ac_check_lib_save_LIBS
   36900 fi
   36901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcov___gcov_init" >&5
   36902 $as_echo "$ac_cv_lib_gcov___gcov_init" >&6; }
   36903 if test "x$ac_cv_lib_gcov___gcov_init" = xyes; then :
   36904   cat >>confdefs.h <<_ACEOF
   36905 #define HAVE_LIBGCOV 1
   36906 _ACEOF
   36907 
   36908   LIBS="-lgcov $LIBS"
   36909 
   36910 fi
   36911 
   36912     case "$target_os" in
   36913         darwin*)
   36914             OSX_GCOV_LDFLAG="-Wl,-single_module"
   36915         ;;
   36916         *)
   36917             OSX_GCOV_LDFLAG=""
   36918         ;;
   36919     esac
   36920 
   36921     CFLAGS="-ftest-coverage -fprofile-arcs  $CFLAGS"
   36922     CXXFLAGS="-ftest-coverage -fprofile-arcs  $CXXFLAGS"
   36923     LDFLAGS="-ftest-coverage -fprofile-arcs $LDFLAGS"
   36924 fi
   36925 
   36926 #
   36927 # Build library dependency list for libMagickCore
   36928 #
   36929 
   36930 if test "$build_modules" != 'no'; then
   36931     MAGICK_DEP_LIBS="$USER_LIBS $LCMS_LIBS $FREETYPE_LIBS $RAQM_LIBS $LQR_LIBS $FFTW_LIBS $XML_LIBS $FLIF_LIBS $FONTCONFIG_LIBS $XEXT_LIBS $IPC_LIBS $X11_LIBS $XT_LIBS $LZMA_LIBS $BZLIB_LIBS $ZLIB_LIBS $ZSTD_LIBS $LTDL_LIBS $GDI32_LIBS $WS2_32_LIBS $MATH_LIBS $CL_LIBS $UMEM_LIBS $JEMALLOC_LIBS $THREAD_LIBS"
   36932 else
   36933     MAGICK_DEP_LIBS="$USER_LIBS $JBIG_LIBS $LCMS_LIBS $TIFF_LIBS $FREETYPE_LIBS $RAQM_LIBS $JPEG_LIBS $GS_LIBS $LQR_LIBS $PNG_LIBS $AUTOTRACE_LIBS $DJVU_LIBS $FFTW_LIBS $FLIF_LIBS $FPX_LIBS $FONTCONFIG_LIBS $HEIF_LIBS $WEBPMUX_LIBS $WEBP_LIBS $WMF_LIBS $DPS_LIBS $XEXT_LIBS $XT_LIBS $IPC_LIBS $X11_LIBS $LZMA_LIBS $BZLIB_LIBS $OPENEXR_LIBS $LIBOPENJP2_LIBS $PANGO_LIBS $RAW_R_LIBS $RSVG_LIBS $XML_LIBS $GVC_LIBS $ZLIB_LIBS $ZSTD_LIBS $LTDL_LIBS $GDI32_LIBS $WS2_32_LIBS $MATH_LIBS $CL_LIBS $UMEM_LIBS $JEMALLOC_LIBS $THREAD_LIBS"
   36934 fi
   36935 MAGICK_EXTRA_DEP_LIBS="$GOMP_LIBS"
   36936 
   36937 
   36938 
   36939 # Pass only user-provided LIBS as "global" libraries
   36940 LIBS=$USER_LIBS
   36941 
   36942 #AC_SUBST(CPPFLAGS)
   36943 
   36944 #AC_SUBST(LDFLAGS)
   36945 #AC_SUBST(X_PRE_LIBS)
   36946 #AC_SUBST(X_LIBS)
   36947 #AC_SUBST(X_EXTRA_LIBS)
   36948 
   36949 MAGICK_CFLAGS=$CFLAGS
   36950 MAGICK_CXXFLAGS="$CXXFLAGS"
   36951 MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/  */ /g'`
   36952 MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/  */ /g'`
   36953 MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
   36954 MAGICK_LIBS="$MAGICK_DEP_LIBS $MAGICK_EXTRA_DEP_LIBS"
   36955 
   36956 
   36957 
   36958 
   36959 
   36960 
   36961 
   36962 
   36963 # Set configured scripts to executable.
   36964 ac_config_commands="$ac_config_commands default"
   36965 
   36966 ac_config_commands="$ac_config_commands magick.sh.in"
   36967 
   36968 ac_config_commands="$ac_config_commands MagickCore-config.in"
   36969 
   36970 ac_config_commands="$ac_config_commands MagickWand-config.in"
   36971 
   36972 ac_config_commands="$ac_config_commands Magick++-config.in"
   36973 
   36974 ac_config_commands="$ac_config_commands PerlMagick/check.sh.in"
   36975 
   36976 
   36977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -------------------------------------------------------------" >&5
   36978 $as_echo "-------------------------------------------------------------" >&6; }
   36979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Update ImageMagick configuration" >&5
   36980 $as_echo "Update ImageMagick configuration" >&6; }
   36981 
   36982 rm -f magick-version
   36983 
   36984 result_dejavu_font_dir='none'
   36985 if test "${dejavu_font_dir}x" != 'x'; then
   36986     result_dejavu_font_dir=$dejavu_font_dir
   36987 fi
   36988 
   36989 result_ghostscript_font_dir='none'
   36990 if test "${ghostscript_font_dir}x" != 'x'; then
   36991     result_ghostscript_font_dir=$ghostscript_font_dir
   36992 fi
   36993 
   36994 result_urw_base35_font_dir='none'
   36995 if test "${urw_base35_font_dir}x" != 'x'; then
   36996     result_urw_base35_font_dir=$urw_base35_font_dir
   36997 fi
   36998 
   36999 result_windows_font_dir='none'
   37000 if test "${windows_font_dir}x" != 'x'; then
   37001     result_windows_font_dir=${windows_font_dir}
   37002 fi
   37003 
   37004 # ==============================================================================
   37005 # Generate build environment
   37006 # ==============================================================================
   37007 ac_config_files="$ac_config_files common.shi config/configure.xml config/delegates.xml config/ImageMagick.rdf config/MagickCore.dox config/MagickWand.dox config/Magick++.dox config/type-apple.xml config/type-dejavu.xml config/type-ghostscript.xml config/type-urw-base35.xml config/type-windows.xml config/type.xml ImageMagick.spec Magick++/bin/Magick++-config MagickCore/ImageMagick.pc Magick++/lib/Magick++.pc MagickCore/MagickCore-config MagickCore/MagickCore.pc MagickCore/version.h Makefile magick.sh PerlMagick/check.sh PerlMagick/default/Magick.pm PerlMagick/Makefile.PL PerlMagick/default/Makefile.PL PerlMagick/quantum/Makefile.PL PerlMagick/quantum/quantum.pm PerlMagick/quantum/quantum.xs PerlMagick/quantum/typemap utilities/animate.1 utilities/compare.1 utilities/composite.1 utilities/conjure.1 utilities/convert.1 utilities/display.1 utilities/identify.1 utilities/ImageMagick.1 utilities/import.1 utilities/magick.1 utilities/magick-script.1 utilities/mogrify.1 utilities/montage.1 utilities/stream.1 MagickWand/MagickWand-config MagickWand/MagickWand.pc"
   37008 
   37009 cat >confcache <<\_ACEOF
   37010 # This file is a shell script that caches the results of configure
   37011 # tests run on this system so they can be shared between configure
   37012 # scripts and configure runs, see configure's option --config-cache.
   37013 # It is not useful on other systems.  If it contains results you don't
   37014 # want to keep, you may remove or edit it.
   37015 #
   37016 # config.status only pays attention to the cache file if you give it
   37017 # the --recheck option to rerun configure.
   37018 #
   37019 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   37020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   37021 # following values.
   37022 
   37023 _ACEOF
   37024 
   37025 # The following way of writing the cache mishandles newlines in values,
   37026 # but we know of no workaround that is simple, portable, and efficient.
   37027 # So, we kill variables containing newlines.
   37028 # Ultrix sh set writes to stderr and can't be redirected directly,
   37029 # and sets the high bit in the cache file unless we assign to the vars.
   37030 (
   37031   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   37032     eval ac_val=\$$ac_var
   37033     case $ac_val in #(
   37034     *${as_nl}*)
   37035       case $ac_var in #(
   37036       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   37037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   37038       esac
   37039       case $ac_var in #(
   37040       _ | IFS | as_nl) ;; #(
   37041       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   37042       *) { eval $ac_var=; unset $ac_var;} ;;
   37043       esac ;;
   37044     esac
   37045   done
   37046 
   37047   (set) 2>&1 |
   37048     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   37049     *${as_nl}ac_space=\ *)
   37050       # `set' does not quote correctly, so add quotes: double-quote
   37051       # substitution turns \\\\ into \\, and sed turns \\ into \.
   37052       sed -n \
   37053 	"s/'/'\\\\''/g;
   37054 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   37055       ;; #(
   37056     *)
   37057       # `set' quotes correctly as required by POSIX, so do not add quotes.
   37058       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   37059       ;;
   37060     esac |
   37061     sort
   37062 ) |
   37063   sed '
   37064      /^ac_cv_env_/b end
   37065      t clear
   37066      :clear
   37067      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   37068      t end
   37069      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   37070      :end' >>confcache
   37071 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   37072   if test -w "$cache_file"; then
   37073     if test "x$cache_file" != "x/dev/null"; then
   37074       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   37075 $as_echo "$as_me: updating cache $cache_file" >&6;}
   37076       if test ! -f "$cache_file" || test -h "$cache_file"; then
   37077 	cat confcache >"$cache_file"
   37078       else
   37079         case $cache_file in #(
   37080         */* | ?:*)
   37081 	  mv -f confcache "$cache_file"$$ &&
   37082 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   37083         *)
   37084 	  mv -f confcache "$cache_file" ;;
   37085 	esac
   37086       fi
   37087     fi
   37088   else
   37089     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   37090 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   37091   fi
   37092 fi
   37093 rm -f confcache
   37094 
   37095 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   37096 # Let make expand exec_prefix.
   37097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   37098 
   37099 DEFS=-DHAVE_CONFIG_H
   37100 
   37101 ac_libobjs=
   37102 ac_ltlibobjs=
   37103 U=
   37104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   37105   # 1. Remove the extension, and $U if already installed.
   37106   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   37107   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   37108   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   37109   #    will be set to the directory where LIBOBJS objects are built.
   37110   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   37111   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   37112 done
   37113 LIBOBJS=$ac_libobjs
   37114 
   37115 LTLIBOBJS=$ac_ltlibobjs
   37116 
   37117 
   37118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   37119 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   37120    if test -n "$am_sleep_pid"; then
   37121      # Hide warnings about reused PIDs.
   37122      wait $am_sleep_pid 2>/dev/null
   37123    fi
   37124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   37125 $as_echo "done" >&6; }
   37126  if test -n "$EXEEXT"; then
   37127   am__EXEEXT_TRUE=
   37128   am__EXEEXT_FALSE='#'
   37129 else
   37130   am__EXEEXT_TRUE='#'
   37131   am__EXEEXT_FALSE=
   37132 fi
   37133 
   37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   37135 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   37136    if test -n "$am_sleep_pid"; then
   37137      # Hide warnings about reused PIDs.
   37138      wait $am_sleep_pid 2>/dev/null
   37139    fi
   37140    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   37141 $as_echo "done" >&6; }
   37142 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   37143   as_fn_error $? "conditional \"AMDEP\" was never defined.
   37144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37145 fi
   37146 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   37147   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   37148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37149 fi
   37150 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   37151   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   37152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37153 fi
   37154 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   37155   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   37156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37157 fi
   37158 if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then
   37159   as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined.
   37160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37161 fi
   37162 if test -z "${WINGDI32_DELEGATE_TRUE}" && test -z "${WINGDI32_DELEGATE_FALSE}"; then
   37163   as_fn_error $? "conditional \"WINGDI32_DELEGATE\" was never defined.
   37164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37165 fi
   37166 if test -z "${WIN32_NATIVE_BUILD_TRUE}" && test -z "${WIN32_NATIVE_BUILD_FALSE}"; then
   37167   as_fn_error $? "conditional \"WIN32_NATIVE_BUILD\" was never defined.
   37168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37169 fi
   37170 if test -z "${CYGWIN_BUILD_TRUE}" && test -z "${CYGWIN_BUILD_FALSE}"; then
   37171   as_fn_error $? "conditional \"CYGWIN_BUILD\" was never defined.
   37172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37173 fi
   37174 if test -z "${USING_CL_TRUE}" && test -z "${USING_CL_FALSE}"; then
   37175   as_fn_error $? "conditional \"USING_CL\" was never defined.
   37176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37177 fi
   37178 if test -z "${WITH_SHARED_LIBS_TRUE}" && test -z "${WITH_SHARED_LIBS_FALSE}"; then
   37179   as_fn_error $? "conditional \"WITH_SHARED_LIBS\" was never defined.
   37180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37181 fi
   37182 if test -z "${WITH_MODULES_TRUE}" && test -z "${WITH_MODULES_FALSE}"; then
   37183   as_fn_error $? "conditional \"WITH_MODULES\" was never defined.
   37184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37185 fi
   37186 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   37187   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   37188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37189 fi
   37190 if test -z "${LEGACY_SUPPORT_TRUE}" && test -z "${LEGACY_SUPPORT_FALSE}"; then
   37191   as_fn_error $? "conditional \"LEGACY_SUPPORT\" was never defined.
   37192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37193 fi
   37194 if test -z "${WITH_UTILITIES_TRUE}" && test -z "${WITH_UTILITIES_FALSE}"; then
   37195   as_fn_error $? "conditional \"WITH_UTILITIES\" was never defined.
   37196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37197 fi
   37198 
   37199 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   37200   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   37201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37202 fi
   37203 if test -z "${WITH_MAGICK_PLUS_PLUS_TRUE}" && test -z "${WITH_MAGICK_PLUS_PLUS_FALSE}"; then
   37204   as_fn_error $? "conditional \"WITH_MAGICK_PLUS_PLUS\" was never defined.
   37205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37206 fi
   37207 if test -z "${HasJEMALLOC_TRUE}" && test -z "${HasJEMALLOC_FALSE}"; then
   37208   as_fn_error $? "conditional \"HasJEMALLOC\" was never defined.
   37209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37210 fi
   37211 if test -z "${HasUMEM_TRUE}" && test -z "${HasUMEM_FALSE}"; then
   37212   as_fn_error $? "conditional \"HasUMEM\" was never defined.
   37213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37214 fi
   37215 if test -z "${BZLIB_DELEGATE_TRUE}" && test -z "${BZLIB_DELEGATE_FALSE}"; then
   37216   as_fn_error $? "conditional \"BZLIB_DELEGATE\" was never defined.
   37217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37218 fi
   37219 if test -z "${X11_DELEGATE_TRUE}" && test -z "${X11_DELEGATE_FALSE}"; then
   37220   as_fn_error $? "conditional \"X11_DELEGATE\" was never defined.
   37221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37222 fi
   37223 if test -z "${ZLIB_DELEGATE_TRUE}" && test -z "${ZLIB_DELEGATE_FALSE}"; then
   37224   as_fn_error $? "conditional \"ZLIB_DELEGATE\" was never defined.
   37225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37226 fi
   37227 if test -z "${ZSTD_DELEGATE_TRUE}" && test -z "${ZSTD_DELEGATE_FALSE}"; then
   37228   as_fn_error $? "conditional \"ZSTD_DELEGATE\" was never defined.
   37229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37230 fi
   37231 if test -z "${WITH_LTDL_TRUE}" && test -z "${WITH_LTDL_FALSE}"; then
   37232   as_fn_error $? "conditional \"WITH_LTDL\" was never defined.
   37233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37234 fi
   37235 if test -z "${AUTOTRACE_DELEGATE_TRUE}" && test -z "${AUTOTRACE_DELEGATE_FALSE}"; then
   37236   as_fn_error $? "conditional \"AUTOTRACE_DELEGATE\" was never defined.
   37237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37238 fi
   37239 if test -z "${DPS_DELEGATE_TRUE}" && test -z "${DPS_DELEGATE_FALSE}"; then
   37240   as_fn_error $? "conditional \"DPS_DELEGATE\" was never defined.
   37241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37242 fi
   37243 if test -z "${FFTW_DELEGATE_TRUE}" && test -z "${FFTW_DELEGATE_FALSE}"; then
   37244   as_fn_error $? "conditional \"FFTW_DELEGATE\" was never defined.
   37245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37246 fi
   37247 if test -z "${FLIF_DELEGATE_TRUE}" && test -z "${FLIF_DELEGATE_FALSE}"; then
   37248   as_fn_error $? "conditional \"FLIF_DELEGATE\" was never defined.
   37249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37250 fi
   37251 if test -z "${FPX_DELEGATE_TRUE}" && test -z "${FPX_DELEGATE_FALSE}"; then
   37252   as_fn_error $? "conditional \"FPX_DELEGATE\" was never defined.
   37253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37254 fi
   37255 if test -z "${DJVU_DELEGATE_TRUE}" && test -z "${DJVU_DELEGATE_FALSE}"; then
   37256   as_fn_error $? "conditional \"DJVU_DELEGATE\" was never defined.
   37257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37258 fi
   37259 if test -z "${FONTCONFIG_DELEGATE_TRUE}" && test -z "${FONTCONFIG_DELEGATE_FALSE}"; then
   37260   as_fn_error $? "conditional \"FONTCONFIG_DELEGATE\" was never defined.
   37261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37262 fi
   37263 if test -z "${FREETYPE_DELEGATE_TRUE}" && test -z "${FREETYPE_DELEGATE_FALSE}"; then
   37264   as_fn_error $? "conditional \"FREETYPE_DELEGATE\" was never defined.
   37265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37266 fi
   37267 if test -z "${RAQM_DELEGATE_TRUE}" && test -z "${RAQM_DELEGATE_FALSE}"; then
   37268   as_fn_error $? "conditional \"RAQM_DELEGATE\" was never defined.
   37269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37270 fi
   37271 if test -z "${GS_DELEGATE_TRUE}" && test -z "${GS_DELEGATE_FALSE}"; then
   37272   as_fn_error $? "conditional \"GS_DELEGATE\" was never defined.
   37273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37274 fi
   37275 if test -z "${GVC_DELEGATE_TRUE}" && test -z "${GVC_DELEGATE_FALSE}"; then
   37276   as_fn_error $? "conditional \"GVC_DELEGATE\" was never defined.
   37277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37278 fi
   37279 if test -z "${HEIC_DELEGATE_TRUE}" && test -z "${HEIC_DELEGATE_FALSE}"; then
   37280   as_fn_error $? "conditional \"HEIC_DELEGATE\" was never defined.
   37281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37282 fi
   37283 if test -z "${JBIG_DELEGATE_TRUE}" && test -z "${JBIG_DELEGATE_FALSE}"; then
   37284   as_fn_error $? "conditional \"JBIG_DELEGATE\" was never defined.
   37285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37286 fi
   37287 if test -z "${JPEG_DELEGATE_TRUE}" && test -z "${JPEG_DELEGATE_FALSE}"; then
   37288   as_fn_error $? "conditional \"JPEG_DELEGATE\" was never defined.
   37289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37290 fi
   37291 if test -z "${LCMS_DELEGATE_TRUE}" && test -z "${LCMS_DELEGATE_FALSE}"; then
   37292   as_fn_error $? "conditional \"LCMS_DELEGATE\" was never defined.
   37293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37294 fi
   37295 if test -z "${LIBOPENJP2_DELEGATE_TRUE}" && test -z "${LIBOPENJP2_DELEGATE_FALSE}"; then
   37296   as_fn_error $? "conditional \"LIBOPENJP2_DELEGATE\" was never defined.
   37297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37298 fi
   37299 if test -z "${LQR_DELEGATE_TRUE}" && test -z "${LQR_DELEGATE_FALSE}"; then
   37300   as_fn_error $? "conditional \"LQR_DELEGATE\" was never defined.
   37301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37302 fi
   37303 if test -z "${LZMA_DELEGATE_TRUE}" && test -z "${LZMA_DELEGATE_FALSE}"; then
   37304   as_fn_error $? "conditional \"LZMA_DELEGATE\" was never defined.
   37305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37306 fi
   37307 if test -z "${OPENEXR_DELEGATE_TRUE}" && test -z "${OPENEXR_DELEGATE_FALSE}"; then
   37308   as_fn_error $? "conditional \"OPENEXR_DELEGATE\" was never defined.
   37309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37310 fi
   37311 if test -z "${PANGO_DELEGATE_TRUE}" && test -z "${PANGO_DELEGATE_FALSE}"; then
   37312   as_fn_error $? "conditional \"PANGO_DELEGATE\" was never defined.
   37313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37314 fi
   37315 if test -z "${PANGOCAIRO_DELEGATE_TRUE}" && test -z "${PANGOCAIRO_DELEGATE_FALSE}"; then
   37316   as_fn_error $? "conditional \"PANGOCAIRO_DELEGATE\" was never defined.
   37317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37318 fi
   37319 if test -z "${PNG_DELEGATE_TRUE}" && test -z "${PNG_DELEGATE_FALSE}"; then
   37320   as_fn_error $? "conditional \"PNG_DELEGATE\" was never defined.
   37321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37322 fi
   37323 if test -z "${RAW_R_DELEGATE_TRUE}" && test -z "${RAW_R_DELEGATE_FALSE}"; then
   37324   as_fn_error $? "conditional \"RAW_R_DELEGATE\" was never defined.
   37325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37326 fi
   37327 if test -z "${RSVG_DELEGATE_TRUE}" && test -z "${RSVG_DELEGATE_FALSE}"; then
   37328   as_fn_error $? "conditional \"RSVG_DELEGATE\" was never defined.
   37329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37330 fi
   37331 if test -z "${CAIRO_DELEGATE_TRUE}" && test -z "${CAIRO_DELEGATE_FALSE}"; then
   37332   as_fn_error $? "conditional \"CAIRO_DELEGATE\" was never defined.
   37333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37334 fi
   37335 if test -z "${TIFF_DELEGATE_TRUE}" && test -z "${TIFF_DELEGATE_FALSE}"; then
   37336   as_fn_error $? "conditional \"TIFF_DELEGATE\" was never defined.
   37337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37338 fi
   37339 if test -z "${WEBP_DELEGATE_TRUE}" && test -z "${WEBP_DELEGATE_FALSE}"; then
   37340   as_fn_error $? "conditional \"WEBP_DELEGATE\" was never defined.
   37341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37342 fi
   37343 if test -z "${WEBPMUX_DELEGATE_TRUE}" && test -z "${WEBPMUX_DELEGATE_FALSE}"; then
   37344   as_fn_error $? "conditional \"WEBPMUX_DELEGATE\" was never defined.
   37345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37346 fi
   37347 if test -z "${WMF_DELEGATE_TRUE}" && test -z "${WMF_DELEGATE_FALSE}"; then
   37348   as_fn_error $? "conditional \"WMF_DELEGATE\" was never defined.
   37349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37350 fi
   37351 if test -z "${XML_DELEGATE_TRUE}" && test -z "${XML_DELEGATE_FALSE}"; then
   37352   as_fn_error $? "conditional \"XML_DELEGATE\" was never defined.
   37353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37354 fi
   37355 if test -z "${INSTALL_DOC_TRUE}" && test -z "${INSTALL_DOC_FALSE}"; then
   37356   as_fn_error $? "conditional \"INSTALL_DOC\" was never defined.
   37357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37358 fi
   37359 if test -z "${RPM_DELEGATE_TRUE}" && test -z "${RPM_DELEGATE_FALSE}"; then
   37360   as_fn_error $? "conditional \"RPM_DELEGATE\" was never defined.
   37361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37362 fi
   37363 if test -z "${P7ZIP_DELEGATE_TRUE}" && test -z "${P7ZIP_DELEGATE_FALSE}"; then
   37364   as_fn_error $? "conditional \"P7ZIP_DELEGATE\" was never defined.
   37365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37366 fi
   37367 if test -z "${ZIP_DELEGATE_TRUE}" && test -z "${ZIP_DELEGATE_FALSE}"; then
   37368   as_fn_error $? "conditional \"ZIP_DELEGATE\" was never defined.
   37369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37370 fi
   37371 if test -z "${WITH_PERL_TRUE}" && test -z "${WITH_PERL_FALSE}"; then
   37372   as_fn_error $? "conditional \"WITH_PERL\" was never defined.
   37373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37374 fi
   37375 if test -z "${WITH_PERL_STATIC_TRUE}" && test -z "${WITH_PERL_STATIC_FALSE}"; then
   37376   as_fn_error $? "conditional \"WITH_PERL_STATIC\" was never defined.
   37377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37378 fi
   37379 if test -z "${WITH_PERL_DYNAMIC_TRUE}" && test -z "${WITH_PERL_DYNAMIC_FALSE}"; then
   37380   as_fn_error $? "conditional \"WITH_PERL_DYNAMIC\" was never defined.
   37381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   37382 fi
   37383 
   37384 : "${CONFIG_STATUS=./config.status}"
   37385 ac_write_fail=0
   37386 ac_clean_files_save=$ac_clean_files
   37387 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   37388 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   37389 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   37390 as_write_fail=0
   37391 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   37392 #! $SHELL
   37393 # Generated by $as_me.
   37394 # Run this file to recreate the current configuration.
   37395 # Compiler output produced by configure, useful for debugging
   37396 # configure, is in config.log if it exists.
   37397 
   37398 debug=false
   37399 ac_cs_recheck=false
   37400 ac_cs_silent=false
   37401 
   37402 SHELL=\${CONFIG_SHELL-$SHELL}
   37403 export SHELL
   37404 _ASEOF
   37405 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   37406 ## -------------------- ##
   37407 ## M4sh Initialization. ##
   37408 ## -------------------- ##
   37409 
   37410 # Be more Bourne compatible
   37411 DUALCASE=1; export DUALCASE # for MKS sh
   37412 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   37413   emulate sh
   37414   NULLCMD=:
   37415   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   37416   # is contrary to our usage.  Disable this feature.
   37417   alias -g '${1+"$@"}'='"$@"'
   37418   setopt NO_GLOB_SUBST
   37419 else
   37420   case `(set -o) 2>/dev/null` in #(
   37421   *posix*) :
   37422     set -o posix ;; #(
   37423   *) :
   37424      ;;
   37425 esac
   37426 fi
   37427 
   37428 
   37429 as_nl='
   37430 '
   37431 export as_nl
   37432 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   37433 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   37434 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   37435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   37436 # Prefer a ksh shell builtin over an external printf program on Solaris,
   37437 # but without wasting forks for bash or zsh.
   37438 if test -z "$BASH_VERSION$ZSH_VERSION" \
   37439     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   37440   as_echo='print -r --'
   37441   as_echo_n='print -rn --'
   37442 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   37443   as_echo='printf %s\n'
   37444   as_echo_n='printf %s'
   37445 else
   37446   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   37447     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   37448     as_echo_n='/usr/ucb/echo -n'
   37449   else
   37450     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   37451     as_echo_n_body='eval
   37452       arg=$1;
   37453       case $arg in #(
   37454       *"$as_nl"*)
   37455 	expr "X$arg" : "X\\(.*\\)$as_nl";
   37456 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   37457       esac;
   37458       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   37459     '
   37460     export as_echo_n_body
   37461     as_echo_n='sh -c $as_echo_n_body as_echo'
   37462   fi
   37463   export as_echo_body
   37464   as_echo='sh -c $as_echo_body as_echo'
   37465 fi
   37466 
   37467 # The user is always right.
   37468 if test "${PATH_SEPARATOR+set}" != set; then
   37469   PATH_SEPARATOR=:
   37470   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   37471     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   37472       PATH_SEPARATOR=';'
   37473   }
   37474 fi
   37475 
   37476 
   37477 # IFS
   37478 # We need space, tab and new line, in precisely that order.  Quoting is
   37479 # there to prevent editors from complaining about space-tab.
   37480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   37481 # splitting by setting IFS to empty value.)
   37482 IFS=" ""	$as_nl"
   37483 
   37484 # Find who we are.  Look in the path if we contain no directory separator.
   37485 as_myself=
   37486 case $0 in #((
   37487   *[\\/]* ) as_myself=$0 ;;
   37488   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   37489 for as_dir in $PATH
   37490 do
   37491   IFS=$as_save_IFS
   37492   test -z "$as_dir" && as_dir=.
   37493     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   37494   done
   37495 IFS=$as_save_IFS
   37496 
   37497      ;;
   37498 esac
   37499 # We did not find ourselves, most probably we were run as `sh COMMAND'
   37500 # in which case we are not to be found in the path.
   37501 if test "x$as_myself" = x; then
   37502   as_myself=$0
   37503 fi
   37504 if test ! -f "$as_myself"; then
   37505   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   37506   exit 1
   37507 fi
   37508 
   37509 # Unset variables that we do not need and which cause bugs (e.g. in
   37510 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   37511 # suppresses any "Segmentation fault" message there.  '((' could
   37512 # trigger a bug in pdksh 5.2.14.
   37513 for as_var in BASH_ENV ENV MAIL MAILPATH
   37514 do eval test x\${$as_var+set} = xset \
   37515   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   37516 done
   37517 PS1='$ '
   37518 PS2='> '
   37519 PS4='+ '
   37520 
   37521 # NLS nuisances.
   37522 LC_ALL=C
   37523 export LC_ALL
   37524 LANGUAGE=C
   37525 export LANGUAGE
   37526 
   37527 # CDPATH.
   37528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   37529 
   37530 
   37531 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   37532 # ----------------------------------------
   37533 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   37534 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   37535 # script with STATUS, using 1 if that was 0.
   37536 as_fn_error ()
   37537 {
   37538   as_status=$1; test $as_status -eq 0 && as_status=1
   37539   if test "$4"; then
   37540     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   37541     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   37542   fi
   37543   $as_echo "$as_me: error: $2" >&2
   37544   as_fn_exit $as_status
   37545 } # as_fn_error
   37546 
   37547 
   37548 # as_fn_set_status STATUS
   37549 # -----------------------
   37550 # Set $? to STATUS, without forking.
   37551 as_fn_set_status ()
   37552 {
   37553   return $1
   37554 } # as_fn_set_status
   37555 
   37556 # as_fn_exit STATUS
   37557 # -----------------
   37558 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   37559 as_fn_exit ()
   37560 {
   37561   set +e
   37562   as_fn_set_status $1
   37563   exit $1
   37564 } # as_fn_exit
   37565 
   37566 # as_fn_unset VAR
   37567 # ---------------
   37568 # Portably unset VAR.
   37569 as_fn_unset ()
   37570 {
   37571   { eval $1=; unset $1;}
   37572 }
   37573 as_unset=as_fn_unset
   37574 # as_fn_append VAR VALUE
   37575 # ----------------------
   37576 # Append the text in VALUE to the end of the definition contained in VAR. Take
   37577 # advantage of any shell optimizations that allow amortized linear growth over
   37578 # repeated appends, instead of the typical quadratic growth present in naive
   37579 # implementations.
   37580 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   37581   eval 'as_fn_append ()
   37582   {
   37583     eval $1+=\$2
   37584   }'
   37585 else
   37586   as_fn_append ()
   37587   {
   37588     eval $1=\$$1\$2
   37589   }
   37590 fi # as_fn_append
   37591 
   37592 # as_fn_arith ARG...
   37593 # ------------------
   37594 # Perform arithmetic evaluation on the ARGs, and store the result in the
   37595 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   37596 # must be portable across $(()) and expr.
   37597 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   37598   eval 'as_fn_arith ()
   37599   {
   37600     as_val=$(( $* ))
   37601   }'
   37602 else
   37603   as_fn_arith ()
   37604   {
   37605     as_val=`expr "$@" || test $? -eq 1`
   37606   }
   37607 fi # as_fn_arith
   37608 
   37609 
   37610 if expr a : '\(a\)' >/dev/null 2>&1 &&
   37611    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   37612   as_expr=expr
   37613 else
   37614   as_expr=false
   37615 fi
   37616 
   37617 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   37618   as_basename=basename
   37619 else
   37620   as_basename=false
   37621 fi
   37622 
   37623 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   37624   as_dirname=dirname
   37625 else
   37626   as_dirname=false
   37627 fi
   37628 
   37629 as_me=`$as_basename -- "$0" ||
   37630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   37631 	 X"$0" : 'X\(//\)$' \| \
   37632 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   37633 $as_echo X/"$0" |
   37634     sed '/^.*\/\([^/][^/]*\)\/*$/{
   37635 	    s//\1/
   37636 	    q
   37637 	  }
   37638 	  /^X\/\(\/\/\)$/{
   37639 	    s//\1/
   37640 	    q
   37641 	  }
   37642 	  /^X\/\(\/\).*/{
   37643 	    s//\1/
   37644 	    q
   37645 	  }
   37646 	  s/.*/./; q'`
   37647 
   37648 # Avoid depending upon Character Ranges.
   37649 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   37650 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   37651 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   37652 as_cr_digits='0123456789'
   37653 as_cr_alnum=$as_cr_Letters$as_cr_digits
   37654 
   37655 ECHO_C= ECHO_N= ECHO_T=
   37656 case `echo -n x` in #(((((
   37657 -n*)
   37658   case `echo 'xy\c'` in
   37659   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   37660   xy)  ECHO_C='\c';;
   37661   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   37662        ECHO_T='	';;
   37663   esac;;
   37664 *)
   37665   ECHO_N='-n';;
   37666 esac
   37667 
   37668 rm -f conf$$ conf$$.exe conf$$.file
   37669 if test -d conf$$.dir; then
   37670   rm -f conf$$.dir/conf$$.file
   37671 else
   37672   rm -f conf$$.dir
   37673   mkdir conf$$.dir 2>/dev/null
   37674 fi
   37675 if (echo >conf$$.file) 2>/dev/null; then
   37676   if ln -s conf$$.file conf$$ 2>/dev/null; then
   37677     as_ln_s='ln -s'
   37678     # ... but there are two gotchas:
   37679     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   37680     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   37681     # In both cases, we have to default to `cp -pR'.
   37682     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   37683       as_ln_s='cp -pR'
   37684   elif ln conf$$.file conf$$ 2>/dev/null; then
   37685     as_ln_s=ln
   37686   else
   37687     as_ln_s='cp -pR'
   37688   fi
   37689 else
   37690   as_ln_s='cp -pR'
   37691 fi
   37692 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   37693 rmdir conf$$.dir 2>/dev/null
   37694 
   37695 
   37696 # as_fn_mkdir_p
   37697 # -------------
   37698 # Create "$as_dir" as a directory, including parents if necessary.
   37699 as_fn_mkdir_p ()
   37700 {
   37701 
   37702   case $as_dir in #(
   37703   -*) as_dir=./$as_dir;;
   37704   esac
   37705   test -d "$as_dir" || eval $as_mkdir_p || {
   37706     as_dirs=
   37707     while :; do
   37708       case $as_dir in #(
   37709       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   37710       *) as_qdir=$as_dir;;
   37711       esac
   37712       as_dirs="'$as_qdir' $as_dirs"
   37713       as_dir=`$as_dirname -- "$as_dir" ||
   37714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   37715 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   37716 	 X"$as_dir" : 'X\(//\)$' \| \
   37717 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   37718 $as_echo X"$as_dir" |
   37719     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   37720 	    s//\1/
   37721 	    q
   37722 	  }
   37723 	  /^X\(\/\/\)[^/].*/{
   37724 	    s//\1/
   37725 	    q
   37726 	  }
   37727 	  /^X\(\/\/\)$/{
   37728 	    s//\1/
   37729 	    q
   37730 	  }
   37731 	  /^X\(\/\).*/{
   37732 	    s//\1/
   37733 	    q
   37734 	  }
   37735 	  s/.*/./; q'`
   37736       test -d "$as_dir" && break
   37737     done
   37738     test -z "$as_dirs" || eval "mkdir $as_dirs"
   37739   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   37740 
   37741 
   37742 } # as_fn_mkdir_p
   37743 if mkdir -p . 2>/dev/null; then
   37744   as_mkdir_p='mkdir -p "$as_dir"'
   37745 else
   37746   test -d ./-p && rmdir ./-p
   37747   as_mkdir_p=false
   37748 fi
   37749 
   37750 
   37751 # as_fn_executable_p FILE
   37752 # -----------------------
   37753 # Test if FILE is an executable regular file.
   37754 as_fn_executable_p ()
   37755 {
   37756   test -f "$1" && test -x "$1"
   37757 } # as_fn_executable_p
   37758 as_test_x='test -x'
   37759 as_executable_p=as_fn_executable_p
   37760 
   37761 # Sed expression to map a string onto a valid CPP name.
   37762 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   37763 
   37764 # Sed expression to map a string onto a valid variable name.
   37765 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   37766 
   37767 
   37768 exec 6>&1
   37769 ## ----------------------------------- ##
   37770 ## Main body of $CONFIG_STATUS script. ##
   37771 ## ----------------------------------- ##
   37772 _ASEOF
   37773 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   37774 
   37775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   37776 # Save the log message, to keep $0 and so on meaningful, and to
   37777 # report actual input values of CONFIG_FILES etc. instead of their
   37778 # values after options handling.
   37779 ac_log="
   37780 This file was extended by ImageMagick $as_me 7.0.8-32, which was
   37781 generated by GNU Autoconf 2.69.  Invocation command line was
   37782 
   37783   CONFIG_FILES    = $CONFIG_FILES
   37784   CONFIG_HEADERS  = $CONFIG_HEADERS
   37785   CONFIG_LINKS    = $CONFIG_LINKS
   37786   CONFIG_COMMANDS = $CONFIG_COMMANDS
   37787   $ $0 $@
   37788 
   37789 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   37790 "
   37791 
   37792 _ACEOF
   37793 
   37794 case $ac_config_files in *"
   37795 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   37796 esac
   37797 
   37798 case $ac_config_headers in *"
   37799 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   37800 esac
   37801 
   37802 
   37803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   37804 # Files that config.status was made for.
   37805 config_files="$ac_config_files"
   37806 config_headers="$ac_config_headers"
   37807 config_commands="$ac_config_commands"
   37808 
   37809 _ACEOF
   37810 
   37811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   37812 ac_cs_usage="\
   37813 \`$as_me' instantiates files and other configuration actions
   37814 from templates according to the current configuration.  Unless the files
   37815 and actions are specified as TAGs, all are instantiated by default.
   37816 
   37817 Usage: $0 [OPTION]... [TAG]...
   37818 
   37819   -h, --help       print this help, then exit
   37820   -V, --version    print version number and configuration settings, then exit
   37821       --config     print configuration, then exit
   37822   -q, --quiet, --silent
   37823                    do not print progress messages
   37824   -d, --debug      don't remove temporary files
   37825       --recheck    update $as_me by reconfiguring in the same conditions
   37826       --file=FILE[:TEMPLATE]
   37827                    instantiate the configuration file FILE
   37828       --header=FILE[:TEMPLATE]
   37829                    instantiate the configuration header FILE
   37830 
   37831 Configuration files:
   37832 $config_files
   37833 
   37834 Configuration headers:
   37835 $config_headers
   37836 
   37837 Configuration commands:
   37838 $config_commands
   37839 
   37840 Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
   37841 ImageMagick home page: <https://imagemagick.org>."
   37842 
   37843 _ACEOF
   37844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   37845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   37846 ac_cs_version="\\
   37847 ImageMagick config.status 7.0.8-32
   37848 configured by $0, generated by GNU Autoconf 2.69,
   37849   with options \\"\$ac_cs_config\\"
   37850 
   37851 Copyright (C) 2012 Free Software Foundation, Inc.
   37852 This config.status script is free software; the Free Software Foundation
   37853 gives unlimited permission to copy, distribute and modify it."
   37854 
   37855 ac_pwd='$ac_pwd'
   37856 srcdir='$srcdir'
   37857 INSTALL='$INSTALL'
   37858 MKDIR_P='$MKDIR_P'
   37859 AWK='$AWK'
   37860 test -n "\$AWK" || AWK=awk
   37861 _ACEOF
   37862 
   37863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   37864 # The default lists apply if the user does not specify any file.
   37865 ac_need_defaults=:
   37866 while test $# != 0
   37867 do
   37868   case $1 in
   37869   --*=?*)
   37870     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   37871     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   37872     ac_shift=:
   37873     ;;
   37874   --*=)
   37875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   37876     ac_optarg=
   37877     ac_shift=:
   37878     ;;
   37879   *)
   37880     ac_option=$1
   37881     ac_optarg=$2
   37882     ac_shift=shift
   37883     ;;
   37884   esac
   37885 
   37886   case $ac_option in
   37887   # Handling of the options.
   37888   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   37889     ac_cs_recheck=: ;;
   37890   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   37891     $as_echo "$ac_cs_version"; exit ;;
   37892   --config | --confi | --conf | --con | --co | --c )
   37893     $as_echo "$ac_cs_config"; exit ;;
   37894   --debug | --debu | --deb | --de | --d | -d )
   37895     debug=: ;;
   37896   --file | --fil | --fi | --f )
   37897     $ac_shift
   37898     case $ac_optarg in
   37899     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   37900     '') as_fn_error $? "missing file argument" ;;
   37901     esac
   37902     as_fn_append CONFIG_FILES " '$ac_optarg'"
   37903     ac_need_defaults=false;;
   37904   --header | --heade | --head | --hea )
   37905     $ac_shift
   37906     case $ac_optarg in
   37907     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   37908     esac
   37909     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   37910     ac_need_defaults=false;;
   37911   --he | --h)
   37912     # Conflict between --help and --header
   37913     as_fn_error $? "ambiguous option: \`$1'
   37914 Try \`$0 --help' for more information.";;
   37915   --help | --hel | -h )
   37916     $as_echo "$ac_cs_usage"; exit ;;
   37917   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   37918   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   37919     ac_cs_silent=: ;;
   37920 
   37921   # This is an error.
   37922   -*) as_fn_error $? "unrecognized option: \`$1'
   37923 Try \`$0 --help' for more information." ;;
   37924 
   37925   *) as_fn_append ac_config_targets " $1"
   37926      ac_need_defaults=false ;;
   37927 
   37928   esac
   37929   shift
   37930 done
   37931 
   37932 ac_configure_extra_args=
   37933 
   37934 if $ac_cs_silent; then
   37935   exec 6>/dev/null
   37936   ac_configure_extra_args="$ac_configure_extra_args --silent"
   37937 fi
   37938 
   37939 _ACEOF
   37940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   37941 if \$ac_cs_recheck; then
   37942   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   37943   shift
   37944   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   37945   CONFIG_SHELL='$SHELL'
   37946   export CONFIG_SHELL
   37947   exec "\$@"
   37948 fi
   37949 
   37950 _ACEOF
   37951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   37952 exec 5>>config.log
   37953 {
   37954   echo
   37955   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   37956 ## Running $as_me. ##
   37957 _ASBOX
   37958   $as_echo "$ac_log"
   37959 } >&5
   37960 
   37961 _ACEOF
   37962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   37963 #
   37964 # INIT-COMMANDS
   37965 #
   37966 PACKAGE="$PACKAGE"
   37967 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   37968 
   37969 
   37970 # The HP-UX ksh and POSIX shell print the target directory to stdout
   37971 # if CDPATH is set.
   37972 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   37973 
   37974 sed_quote_subst='$sed_quote_subst'
   37975 double_quote_subst='$double_quote_subst'
   37976 delay_variable_subst='$delay_variable_subst'
   37977 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   37978 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   37979 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   37980 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   37981 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   37982 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   37983 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   37984 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   37985 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   37986 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   37987 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   37988 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   37989 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   37990 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   37991 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   37992 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   37993 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   37994 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   37995 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   37996 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   37997 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   37998 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   37999 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   38000 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   38001 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   38002 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   38003 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   38004 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   38005 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   38006 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   38007 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   38008 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   38009 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   38010 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   38011 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   38012 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   38013 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   38014 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   38015 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   38016 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   38017 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   38018 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   38019 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   38020 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   38021 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   38022 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   38023 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   38024 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   38025 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   38026 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   38027 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   38028 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   38029 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   38030 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   38031 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   38032 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   38033 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   38034 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   38035 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   38036 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   38037 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   38038 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   38039 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   38040 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   38041 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   38042 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   38043 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   38044 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   38045 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   38046 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   38047 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   38048 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   38049 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   38050 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   38051 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   38052 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   38053 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   38054 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   38055 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   38056 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   38057 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   38058 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   38059 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   38060 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   38061 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   38062 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   38063 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   38064 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   38065 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   38066 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   38067 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   38068 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   38069 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   38070 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   38071 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   38072 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   38073 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   38074 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   38075 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   38076 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   38077 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   38078 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   38079 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   38080 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   38081 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   38082 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   38083 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   38084 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   38085 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   38086 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   38087 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   38088 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   38089 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   38090 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   38091 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   38092 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   38093 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   38094 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   38095 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   38096 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   38097 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   38098 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   38099 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   38100 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   38101 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   38102 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   38103 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   38104 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   38105 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   38106 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   38107 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   38108 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   38109 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   38110 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   38111 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   38112 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   38113 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   38114 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   38115 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   38116 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   38117 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   38118 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   38119 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   38120 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   38121 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38122 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38123 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   38124 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   38125 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   38126 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   38127 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   38128 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   38129 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   38130 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   38131 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   38132 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   38133 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   38134 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   38135 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38136 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38137 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38138 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38139 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38140 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38141 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   38142 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   38143 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   38144 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   38145 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   38146 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   38147 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   38148 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   38149 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   38150 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   38151 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   38152 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   38153 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   38154 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38155 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   38156 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   38157 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38158 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   38159 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   38160 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   38161 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   38162 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   38163 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   38164 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   38165 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   38166 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   38167 
   38168 LTCC='$LTCC'
   38169 LTCFLAGS='$LTCFLAGS'
   38170 compiler='$compiler_DEFAULT'
   38171 
   38172 # A function that is used when there is no print builtin or printf.
   38173 func_fallback_echo ()
   38174 {
   38175   eval 'cat <<_LTECHO_EOF
   38176 \$1
   38177 _LTECHO_EOF'
   38178 }
   38179 
   38180 # Quote evaled strings.
   38181 for var in SED \
   38182 GREP \
   38183 EGREP \
   38184 FGREP \
   38185 SHELL \
   38186 ECHO \
   38187 LD \
   38188 AS \
   38189 DLLTOOL \
   38190 OBJDUMP \
   38191 PATH_SEPARATOR \
   38192 NM \
   38193 LN_S \
   38194 lt_SP2NL \
   38195 lt_NL2SP \
   38196 reload_flag \
   38197 deplibs_check_method \
   38198 file_magic_cmd \
   38199 file_magic_glob \
   38200 want_nocaseglob \
   38201 sharedlib_from_linklib_cmd \
   38202 AR \
   38203 AR_FLAGS \
   38204 archiver_list_spec \
   38205 STRIP \
   38206 RANLIB \
   38207 CC \
   38208 CFLAGS \
   38209 compiler \
   38210 lt_cv_sys_global_symbol_pipe \
   38211 lt_cv_sys_global_symbol_to_cdecl \
   38212 lt_cv_sys_global_symbol_to_import \
   38213 lt_cv_sys_global_symbol_to_c_name_address \
   38214 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   38215 lt_cv_nm_interface \
   38216 nm_file_list_spec \
   38217 lt_cv_truncate_bin \
   38218 lt_prog_compiler_no_builtin_flag \
   38219 lt_prog_compiler_pic \
   38220 lt_prog_compiler_wl \
   38221 lt_prog_compiler_static \
   38222 lt_cv_prog_compiler_c_o \
   38223 need_locks \
   38224 MANIFEST_TOOL \
   38225 DSYMUTIL \
   38226 NMEDIT \
   38227 LIPO \
   38228 OTOOL \
   38229 OTOOL64 \
   38230 shrext_cmds \
   38231 export_dynamic_flag_spec \
   38232 whole_archive_flag_spec \
   38233 compiler_needs_object \
   38234 with_gnu_ld \
   38235 allow_undefined_flag \
   38236 no_undefined_flag \
   38237 hardcode_libdir_flag_spec \
   38238 hardcode_libdir_separator \
   38239 exclude_expsyms \
   38240 include_expsyms \
   38241 file_list_spec \
   38242 variables_saved_for_relink \
   38243 libname_spec \
   38244 library_names_spec \
   38245 soname_spec \
   38246 install_override_mode \
   38247 finish_eval \
   38248 old_striplib \
   38249 striplib \
   38250 compiler_lib_search_dirs \
   38251 predep_objects \
   38252 postdep_objects \
   38253 predeps \
   38254 postdeps \
   38255 compiler_lib_search_path \
   38256 LD_CXX \
   38257 reload_flag_CXX \
   38258 compiler_CXX \
   38259 lt_prog_compiler_no_builtin_flag_CXX \
   38260 lt_prog_compiler_pic_CXX \
   38261 lt_prog_compiler_wl_CXX \
   38262 lt_prog_compiler_static_CXX \
   38263 lt_cv_prog_compiler_c_o_CXX \
   38264 export_dynamic_flag_spec_CXX \
   38265 whole_archive_flag_spec_CXX \
   38266 compiler_needs_object_CXX \
   38267 with_gnu_ld_CXX \
   38268 allow_undefined_flag_CXX \
   38269 no_undefined_flag_CXX \
   38270 hardcode_libdir_flag_spec_CXX \
   38271 hardcode_libdir_separator_CXX \
   38272 exclude_expsyms_CXX \
   38273 include_expsyms_CXX \
   38274 file_list_spec_CXX \
   38275 compiler_lib_search_dirs_CXX \
   38276 predep_objects_CXX \
   38277 postdep_objects_CXX \
   38278 predeps_CXX \
   38279 postdeps_CXX \
   38280 compiler_lib_search_path_CXX; do
   38281     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   38282     *[\\\\\\\`\\"\\\$]*)
   38283       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   38284       ;;
   38285     *)
   38286       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   38287       ;;
   38288     esac
   38289 done
   38290 
   38291 # Double-quote double-evaled strings.
   38292 for var in reload_cmds \
   38293 old_postinstall_cmds \
   38294 old_postuninstall_cmds \
   38295 old_archive_cmds \
   38296 extract_expsyms_cmds \
   38297 old_archive_from_new_cmds \
   38298 old_archive_from_expsyms_cmds \
   38299 archive_cmds \
   38300 archive_expsym_cmds \
   38301 module_cmds \
   38302 module_expsym_cmds \
   38303 export_symbols_cmds \
   38304 prelink_cmds \
   38305 postlink_cmds \
   38306 postinstall_cmds \
   38307 postuninstall_cmds \
   38308 finish_cmds \
   38309 sys_lib_search_path_spec \
   38310 configure_time_dlsearch_path \
   38311 configure_time_lt_sys_library_path \
   38312 reload_cmds_CXX \
   38313 old_archive_cmds_CXX \
   38314 old_archive_from_new_cmds_CXX \
   38315 old_archive_from_expsyms_cmds_CXX \
   38316 archive_cmds_CXX \
   38317 archive_expsym_cmds_CXX \
   38318 module_cmds_CXX \
   38319 module_expsym_cmds_CXX \
   38320 export_symbols_cmds_CXX \
   38321 prelink_cmds_CXX \
   38322 postlink_cmds_CXX; do
   38323     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   38324     *[\\\\\\\`\\"\\\$]*)
   38325       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   38326       ;;
   38327     *)
   38328       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   38329       ;;
   38330     esac
   38331 done
   38332 
   38333 ac_aux_dir='$ac_aux_dir'
   38334 
   38335 # See if we are running on zsh, and set the options that allow our
   38336 # commands through without removal of \ escapes INIT.
   38337 if test -n "\${ZSH_VERSION+set}"; then
   38338    setopt NO_GLOB_SUBST
   38339 fi
   38340 
   38341 
   38342     PACKAGE='$PACKAGE'
   38343     VERSION='$VERSION'
   38344     RM='$RM'
   38345     ofile='$ofile'
   38346 
   38347 
   38348 
   38349 
   38350 
   38351 
   38352 _ACEOF
   38353 
   38354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38355 
   38356 # Handling of arguments.
   38357 for ac_config_target in $ac_config_targets
   38358 do
   38359   case $ac_config_target in
   38360     "config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS config/config.h" ;;
   38361     "MagickCore/magick-baseconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MagickCore/magick-baseconfig.h" ;;
   38362     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   38363     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   38364     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   38365     "magick.sh.in") CONFIG_COMMANDS="$CONFIG_COMMANDS magick.sh.in" ;;
   38366     "MagickCore-config.in") CONFIG_COMMANDS="$CONFIG_COMMANDS MagickCore-config.in" ;;
   38367     "MagickWand-config.in") CONFIG_COMMANDS="$CONFIG_COMMANDS MagickWand-config.in" ;;
   38368     "Magick++-config.in") CONFIG_COMMANDS="$CONFIG_COMMANDS Magick++-config.in" ;;
   38369     "PerlMagick/check.sh.in") CONFIG_COMMANDS="$CONFIG_COMMANDS PerlMagick/check.sh.in" ;;
   38370     "common.shi") CONFIG_FILES="$CONFIG_FILES common.shi" ;;
   38371     "config/configure.xml") CONFIG_FILES="$CONFIG_FILES config/configure.xml" ;;
   38372     "config/delegates.xml") CONFIG_FILES="$CONFIG_FILES config/delegates.xml" ;;
   38373     "config/ImageMagick.rdf") CONFIG_FILES="$CONFIG_FILES config/ImageMagick.rdf" ;;
   38374     "config/MagickCore.dox") CONFIG_FILES="$CONFIG_FILES config/MagickCore.dox" ;;
   38375     "config/MagickWand.dox") CONFIG_FILES="$CONFIG_FILES config/MagickWand.dox" ;;
   38376     "config/Magick++.dox") CONFIG_FILES="$CONFIG_FILES config/Magick++.dox" ;;
   38377     "config/type-apple.xml") CONFIG_FILES="$CONFIG_FILES config/type-apple.xml" ;;
   38378     "config/type-dejavu.xml") CONFIG_FILES="$CONFIG_FILES config/type-dejavu.xml" ;;
   38379     "config/type-ghostscript.xml") CONFIG_FILES="$CONFIG_FILES config/type-ghostscript.xml" ;;
   38380     "config/type-urw-base35.xml") CONFIG_FILES="$CONFIG_FILES config/type-urw-base35.xml" ;;
   38381     "config/type-windows.xml") CONFIG_FILES="$CONFIG_FILES config/type-windows.xml" ;;
   38382     "config/type.xml") CONFIG_FILES="$CONFIG_FILES config/type.xml" ;;
   38383     "ImageMagick.spec") CONFIG_FILES="$CONFIG_FILES ImageMagick.spec" ;;
   38384     "Magick++/bin/Magick++-config") CONFIG_FILES="$CONFIG_FILES Magick++/bin/Magick++-config" ;;
   38385     "MagickCore/ImageMagick.pc") CONFIG_FILES="$CONFIG_FILES MagickCore/ImageMagick.pc" ;;
   38386     "Magick++/lib/Magick++.pc") CONFIG_FILES="$CONFIG_FILES Magick++/lib/Magick++.pc" ;;
   38387     "MagickCore/MagickCore-config") CONFIG_FILES="$CONFIG_FILES MagickCore/MagickCore-config" ;;
   38388     "MagickCore/MagickCore.pc") CONFIG_FILES="$CONFIG_FILES MagickCore/MagickCore.pc" ;;
   38389     "MagickCore/version.h") CONFIG_FILES="$CONFIG_FILES MagickCore/version.h" ;;
   38390     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   38391     "magick.sh") CONFIG_FILES="$CONFIG_FILES magick.sh" ;;
   38392     "PerlMagick/check.sh") CONFIG_FILES="$CONFIG_FILES PerlMagick/check.sh" ;;
   38393     "PerlMagick/default/Magick.pm") CONFIG_FILES="$CONFIG_FILES PerlMagick/default/Magick.pm" ;;
   38394     "PerlMagick/Makefile.PL") CONFIG_FILES="$CONFIG_FILES PerlMagick/Makefile.PL" ;;
   38395     "PerlMagick/default/Makefile.PL") CONFIG_FILES="$CONFIG_FILES PerlMagick/default/Makefile.PL" ;;
   38396     "PerlMagick/quantum/Makefile.PL") CONFIG_FILES="$CONFIG_FILES PerlMagick/quantum/Makefile.PL" ;;
   38397     "PerlMagick/quantum/quantum.pm") CONFIG_FILES="$CONFIG_FILES PerlMagick/quantum/quantum.pm" ;;
   38398     "PerlMagick/quantum/quantum.xs") CONFIG_FILES="$CONFIG_FILES PerlMagick/quantum/quantum.xs" ;;
   38399     "PerlMagick/quantum/typemap") CONFIG_FILES="$CONFIG_FILES PerlMagick/quantum/typemap" ;;
   38400     "utilities/animate.1") CONFIG_FILES="$CONFIG_FILES utilities/animate.1" ;;
   38401     "utilities/compare.1") CONFIG_FILES="$CONFIG_FILES utilities/compare.1" ;;
   38402     "utilities/composite.1") CONFIG_FILES="$CONFIG_FILES utilities/composite.1" ;;
   38403     "utilities/conjure.1") CONFIG_FILES="$CONFIG_FILES utilities/conjure.1" ;;
   38404     "utilities/convert.1") CONFIG_FILES="$CONFIG_FILES utilities/convert.1" ;;
   38405     "utilities/display.1") CONFIG_FILES="$CONFIG_FILES utilities/display.1" ;;
   38406     "utilities/identify.1") CONFIG_FILES="$CONFIG_FILES utilities/identify.1" ;;
   38407     "utilities/ImageMagick.1") CONFIG_FILES="$CONFIG_FILES utilities/ImageMagick.1" ;;
   38408     "utilities/import.1") CONFIG_FILES="$CONFIG_FILES utilities/import.1" ;;
   38409     "utilities/magick.1") CONFIG_FILES="$CONFIG_FILES utilities/magick.1" ;;
   38410     "utilities/magick-script.1") CONFIG_FILES="$CONFIG_FILES utilities/magick-script.1" ;;
   38411     "utilities/mogrify.1") CONFIG_FILES="$CONFIG_FILES utilities/mogrify.1" ;;
   38412     "utilities/montage.1") CONFIG_FILES="$CONFIG_FILES utilities/montage.1" ;;
   38413     "utilities/stream.1") CONFIG_FILES="$CONFIG_FILES utilities/stream.1" ;;
   38414     "MagickWand/MagickWand-config") CONFIG_FILES="$CONFIG_FILES MagickWand/MagickWand-config" ;;
   38415     "MagickWand/MagickWand.pc") CONFIG_FILES="$CONFIG_FILES MagickWand/MagickWand.pc" ;;
   38416 
   38417   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   38418   esac
   38419 done
   38420 
   38421 
   38422 # If the user did not use the arguments to specify the items to instantiate,
   38423 # then the envvar interface is used.  Set only those that are not.
   38424 # We use the long form for the default assignment because of an extremely
   38425 # bizarre bug on SunOS 4.1.3.
   38426 if $ac_need_defaults; then
   38427   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   38428   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   38429   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   38430 fi
   38431 
   38432 # Have a temporary directory for convenience.  Make it in the build tree
   38433 # simply because there is no reason against having it here, and in addition,
   38434 # creating and moving files from /tmp can sometimes cause problems.
   38435 # Hook for its removal unless debugging.
   38436 # Note that there is a small window in which the directory will not be cleaned:
   38437 # after its creation but before its name has been assigned to `$tmp'.
   38438 $debug ||
   38439 {
   38440   tmp= ac_tmp=
   38441   trap 'exit_status=$?
   38442   : "${ac_tmp:=$tmp}"
   38443   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   38444 ' 0
   38445   trap 'as_fn_exit 1' 1 2 13 15
   38446 }
   38447 # Create a (secure) tmp directory for tmp files.
   38448 
   38449 {
   38450   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   38451   test -d "$tmp"
   38452 }  ||
   38453 {
   38454   tmp=./conf$$-$RANDOM
   38455   (umask 077 && mkdir "$tmp")
   38456 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   38457 ac_tmp=$tmp
   38458 
   38459 # Set up the scripts for CONFIG_FILES section.
   38460 # No need to generate them if there are no CONFIG_FILES.
   38461 # This happens for instance with `./config.status config.h'.
   38462 if test -n "$CONFIG_FILES"; then
   38463 
   38464 
   38465 ac_cr=`echo X | tr X '\015'`
   38466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   38467 # But we know of no other shell where ac_cr would be empty at this
   38468 # point, so we can use a bashism as a fallback.
   38469 if test "x$ac_cr" = x; then
   38470   eval ac_cr=\$\'\\r\'
   38471 fi
   38472 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   38473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   38474   ac_cs_awk_cr='\\r'
   38475 else
   38476   ac_cs_awk_cr=$ac_cr
   38477 fi
   38478 
   38479 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   38480 _ACEOF
   38481 
   38482 
   38483 {
   38484   echo "cat >conf$$subs.awk <<_ACEOF" &&
   38485   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   38486   echo "_ACEOF"
   38487 } >conf$$subs.sh ||
   38488   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   38489 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   38490 ac_delim='%!_!# '
   38491 for ac_last_try in false false false false false :; do
   38492   . ./conf$$subs.sh ||
   38493     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   38494 
   38495   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   38496   if test $ac_delim_n = $ac_delim_num; then
   38497     break
   38498   elif $ac_last_try; then
   38499     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   38500   else
   38501     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   38502   fi
   38503 done
   38504 rm -f conf$$subs.sh
   38505 
   38506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   38507 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   38508 _ACEOF
   38509 sed -n '
   38510 h
   38511 s/^/S["/; s/!.*/"]=/
   38512 p
   38513 g
   38514 s/^[^!]*!//
   38515 :repl
   38516 t repl
   38517 s/'"$ac_delim"'$//
   38518 t delim
   38519 :nl
   38520 h
   38521 s/\(.\{148\}\)..*/\1/
   38522 t more1
   38523 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   38524 p
   38525 n
   38526 b repl
   38527 :more1
   38528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   38529 p
   38530 g
   38531 s/.\{148\}//
   38532 t nl
   38533 :delim
   38534 h
   38535 s/\(.\{148\}\)..*/\1/
   38536 t more2
   38537 s/["\\]/\\&/g; s/^/"/; s/$/"/
   38538 p
   38539 b
   38540 :more2
   38541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   38542 p
   38543 g
   38544 s/.\{148\}//
   38545 t delim
   38546 ' <conf$$subs.awk | sed '
   38547 /^[^""]/{
   38548   N
   38549   s/\n//
   38550 }
   38551 ' >>$CONFIG_STATUS || ac_write_fail=1
   38552 rm -f conf$$subs.awk
   38553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   38554 _ACAWK
   38555 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   38556   for (key in S) S_is_set[key] = 1
   38557   FS = ""
   38558 
   38559 }
   38560 {
   38561   line = $ 0
   38562   nfields = split(line, field, "@")
   38563   substed = 0
   38564   len = length(field[1])
   38565   for (i = 2; i < nfields; i++) {
   38566     key = field[i]
   38567     keylen = length(key)
   38568     if (S_is_set[key]) {
   38569       value = S[key]
   38570       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   38571       len += length(value) + length(field[++i])
   38572       substed = 1
   38573     } else
   38574       len += 1 + keylen
   38575   }
   38576 
   38577   print line
   38578 }
   38579 
   38580 _ACAWK
   38581 _ACEOF
   38582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38583 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   38584   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   38585 else
   38586   cat
   38587 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   38588   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   38589 _ACEOF
   38590 
   38591 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   38592 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   38593 # trailing colons and then remove the whole line if VPATH becomes empty
   38594 # (actually we leave an empty line to preserve line numbers).
   38595 if test "x$srcdir" = x.; then
   38596   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   38597 h
   38598 s///
   38599 s/^/:/
   38600 s/[	 ]*$/:/
   38601 s/:\$(srcdir):/:/g
   38602 s/:\${srcdir}:/:/g
   38603 s/:@srcdir@:/:/g
   38604 s/^:*//
   38605 s/:*$//
   38606 x
   38607 s/\(=[	 ]*\).*/\1/
   38608 G
   38609 s/\n//
   38610 s/^[^=]*=[	 ]*$//
   38611 }'
   38612 fi
   38613 
   38614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38615 fi # test -n "$CONFIG_FILES"
   38616 
   38617 # Set up the scripts for CONFIG_HEADERS section.
   38618 # No need to generate them if there are no CONFIG_HEADERS.
   38619 # This happens for instance with `./config.status Makefile'.
   38620 if test -n "$CONFIG_HEADERS"; then
   38621 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   38622 BEGIN {
   38623 _ACEOF
   38624 
   38625 # Transform confdefs.h into an awk script `defines.awk', embedded as
   38626 # here-document in config.status, that substitutes the proper values into
   38627 # config.h.in to produce config.h.
   38628 
   38629 # Create a delimiter string that does not exist in confdefs.h, to ease
   38630 # handling of long lines.
   38631 ac_delim='%!_!# '
   38632 for ac_last_try in false false :; do
   38633   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   38634   if test -z "$ac_tt"; then
   38635     break
   38636   elif $ac_last_try; then
   38637     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   38638   else
   38639     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   38640   fi
   38641 done
   38642 
   38643 # For the awk script, D is an array of macro values keyed by name,
   38644 # likewise P contains macro parameters if any.  Preserve backslash
   38645 # newline sequences.
   38646 
   38647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   38648 sed -n '
   38649 s/.\{148\}/&'"$ac_delim"'/g
   38650 t rset
   38651 :rset
   38652 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   38653 t def
   38654 d
   38655 :def
   38656 s/\\$//
   38657 t bsnl
   38658 s/["\\]/\\&/g
   38659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   38660 D["\1"]=" \3"/p
   38661 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   38662 d
   38663 :bsnl
   38664 s/["\\]/\\&/g
   38665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   38666 D["\1"]=" \3\\\\\\n"\\/p
   38667 t cont
   38668 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   38669 t cont
   38670 d
   38671 :cont
   38672 n
   38673 s/.\{148\}/&'"$ac_delim"'/g
   38674 t clear
   38675 :clear
   38676 s/\\$//
   38677 t bsnlc
   38678 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   38679 d
   38680 :bsnlc
   38681 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   38682 b cont
   38683 ' <confdefs.h | sed '
   38684 s/'"$ac_delim"'/"\\\
   38685 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   38686 
   38687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   38688   for (key in D) D_is_set[key] = 1
   38689   FS = ""
   38690 }
   38691 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   38692   line = \$ 0
   38693   split(line, arg, " ")
   38694   if (arg[1] == "#") {
   38695     defundef = arg[2]
   38696     mac1 = arg[3]
   38697   } else {
   38698     defundef = substr(arg[1], 2)
   38699     mac1 = arg[2]
   38700   }
   38701   split(mac1, mac2, "(") #)
   38702   macro = mac2[1]
   38703   prefix = substr(line, 1, index(line, defundef) - 1)
   38704   if (D_is_set[macro]) {
   38705     # Preserve the white space surrounding the "#".
   38706     print prefix "define", macro P[macro] D[macro]
   38707     next
   38708   } else {
   38709     # Replace #undef with comments.  This is necessary, for example,
   38710     # in the case of _POSIX_SOURCE, which is predefined and required
   38711     # on some systems where configure will not decide to define it.
   38712     if (defundef == "undef") {
   38713       print "/*", prefix defundef, macro, "*/"
   38714       next
   38715     }
   38716   }
   38717 }
   38718 { print }
   38719 _ACAWK
   38720 _ACEOF
   38721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38722   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   38723 fi # test -n "$CONFIG_HEADERS"
   38724 
   38725 
   38726 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   38727 shift
   38728 for ac_tag
   38729 do
   38730   case $ac_tag in
   38731   :[FHLC]) ac_mode=$ac_tag; continue;;
   38732   esac
   38733   case $ac_mode$ac_tag in
   38734   :[FHL]*:*);;
   38735   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   38736   :[FH]-) ac_tag=-:-;;
   38737   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   38738   esac
   38739   ac_save_IFS=$IFS
   38740   IFS=:
   38741   set x $ac_tag
   38742   IFS=$ac_save_IFS
   38743   shift
   38744   ac_file=$1
   38745   shift
   38746 
   38747   case $ac_mode in
   38748   :L) ac_source=$1;;
   38749   :[FH])
   38750     ac_file_inputs=
   38751     for ac_f
   38752     do
   38753       case $ac_f in
   38754       -) ac_f="$ac_tmp/stdin";;
   38755       *) # Look for the file first in the build tree, then in the source tree
   38756 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   38757 	 # because $ac_f cannot contain `:'.
   38758 	 test -f "$ac_f" ||
   38759 	   case $ac_f in
   38760 	   [\\/$]*) false;;
   38761 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   38762 	   esac ||
   38763 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   38764       esac
   38765       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   38766       as_fn_append ac_file_inputs " '$ac_f'"
   38767     done
   38768 
   38769     # Let's still pretend it is `configure' which instantiates (i.e., don't
   38770     # use $as_me), people would be surprised to read:
   38771     #    /* config.h.  Generated by config.status.  */
   38772     configure_input='Generated from '`
   38773 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   38774 	`' by configure.'
   38775     if test x"$ac_file" != x-; then
   38776       configure_input="$ac_file.  $configure_input"
   38777       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   38778 $as_echo "$as_me: creating $ac_file" >&6;}
   38779     fi
   38780     # Neutralize special characters interpreted by sed in replacement strings.
   38781     case $configure_input in #(
   38782     *\&* | *\|* | *\\* )
   38783        ac_sed_conf_input=`$as_echo "$configure_input" |
   38784        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   38785     *) ac_sed_conf_input=$configure_input;;
   38786     esac
   38787 
   38788     case $ac_tag in
   38789     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   38790       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   38791     esac
   38792     ;;
   38793   esac
   38794 
   38795   ac_dir=`$as_dirname -- "$ac_file" ||
   38796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   38797 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   38798 	 X"$ac_file" : 'X\(//\)$' \| \
   38799 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   38800 $as_echo X"$ac_file" |
   38801     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   38802 	    s//\1/
   38803 	    q
   38804 	  }
   38805 	  /^X\(\/\/\)[^/].*/{
   38806 	    s//\1/
   38807 	    q
   38808 	  }
   38809 	  /^X\(\/\/\)$/{
   38810 	    s//\1/
   38811 	    q
   38812 	  }
   38813 	  /^X\(\/\).*/{
   38814 	    s//\1/
   38815 	    q
   38816 	  }
   38817 	  s/.*/./; q'`
   38818   as_dir="$ac_dir"; as_fn_mkdir_p
   38819   ac_builddir=.
   38820 
   38821 case "$ac_dir" in
   38822 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   38823 *)
   38824   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   38825   # A ".." for each directory in $ac_dir_suffix.
   38826   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   38827   case $ac_top_builddir_sub in
   38828   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   38829   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   38830   esac ;;
   38831 esac
   38832 ac_abs_top_builddir=$ac_pwd
   38833 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   38834 # for backward compatibility:
   38835 ac_top_builddir=$ac_top_build_prefix
   38836 
   38837 case $srcdir in
   38838   .)  # We are building in place.
   38839     ac_srcdir=.
   38840     ac_top_srcdir=$ac_top_builddir_sub
   38841     ac_abs_top_srcdir=$ac_pwd ;;
   38842   [\\/]* | ?:[\\/]* )  # Absolute name.
   38843     ac_srcdir=$srcdir$ac_dir_suffix;
   38844     ac_top_srcdir=$srcdir
   38845     ac_abs_top_srcdir=$srcdir ;;
   38846   *) # Relative name.
   38847     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   38848     ac_top_srcdir=$ac_top_build_prefix$srcdir
   38849     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   38850 esac
   38851 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   38852 
   38853 
   38854   case $ac_mode in
   38855   :F)
   38856   #
   38857   # CONFIG_FILE
   38858   #
   38859 
   38860   case $INSTALL in
   38861   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   38862   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   38863   esac
   38864   ac_MKDIR_P=$MKDIR_P
   38865   case $MKDIR_P in
   38866   [\\/$]* | ?:[\\/]* ) ;;
   38867   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   38868   esac
   38869 _ACEOF
   38870 
   38871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38872 # If the template does not know about datarootdir, expand it.
   38873 # FIXME: This hack should be removed a few years after 2.60.
   38874 ac_datarootdir_hack=; ac_datarootdir_seen=
   38875 ac_sed_dataroot='
   38876 /datarootdir/ {
   38877   p
   38878   q
   38879 }
   38880 /@datadir@/p
   38881 /@docdir@/p
   38882 /@infodir@/p
   38883 /@localedir@/p
   38884 /@mandir@/p'
   38885 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   38886 *datarootdir*) ac_datarootdir_seen=yes;;
   38887 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   38888   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   38889 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   38890 _ACEOF
   38891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   38892   ac_datarootdir_hack='
   38893   s&@datadir@&$datadir&g
   38894   s&@docdir@&$docdir&g
   38895   s&@infodir@&$infodir&g
   38896   s&@localedir@&$localedir&g
   38897   s&@mandir@&$mandir&g
   38898   s&\\\${datarootdir}&$datarootdir&g' ;;
   38899 esac
   38900 _ACEOF
   38901 
   38902 # Neutralize VPATH when `$srcdir' = `.'.
   38903 # Shell code in configure.ac might set extrasub.
   38904 # FIXME: do we really want to maintain this feature?
   38905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   38906 ac_sed_extra="$ac_vpsub
   38907 $extrasub
   38908 _ACEOF
   38909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   38910 :t
   38911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   38912 s|@configure_input@|$ac_sed_conf_input|;t t
   38913 s&@top_builddir@&$ac_top_builddir_sub&;t t
   38914 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   38915 s&@srcdir@&$ac_srcdir&;t t
   38916 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   38917 s&@top_srcdir@&$ac_top_srcdir&;t t
   38918 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   38919 s&@builddir@&$ac_builddir&;t t
   38920 s&@abs_builddir@&$ac_abs_builddir&;t t
   38921 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   38922 s&@INSTALL@&$ac_INSTALL&;t t
   38923 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   38924 $ac_datarootdir_hack
   38925 "
   38926 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   38927   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   38928 
   38929 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   38930   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   38931   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   38932       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   38933   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   38934 which seems to be undefined.  Please make sure it is defined" >&5
   38935 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   38936 which seems to be undefined.  Please make sure it is defined" >&2;}
   38937 
   38938   rm -f "$ac_tmp/stdin"
   38939   case $ac_file in
   38940   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   38941   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   38942   esac \
   38943   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   38944  ;;
   38945   :H)
   38946   #
   38947   # CONFIG_HEADER
   38948   #
   38949   if test x"$ac_file" != x-; then
   38950     {
   38951       $as_echo "/* $configure_input  */" \
   38952       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   38953     } >"$ac_tmp/config.h" \
   38954       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   38955     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   38956       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   38957 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   38958     else
   38959       rm -f "$ac_file"
   38960       mv "$ac_tmp/config.h" "$ac_file" \
   38961 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   38962     fi
   38963   else
   38964     $as_echo "/* $configure_input  */" \
   38965       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   38966       || as_fn_error $? "could not create -" "$LINENO" 5
   38967   fi
   38968 # Compute "$ac_file"'s index in $config_headers.
   38969 _am_arg="$ac_file"
   38970 _am_stamp_count=1
   38971 for _am_header in $config_headers :; do
   38972   case $_am_header in
   38973     $_am_arg | $_am_arg:* )
   38974       break ;;
   38975     * )
   38976       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   38977   esac
   38978 done
   38979 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   38980 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   38981 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   38982 	 X"$_am_arg" : 'X\(//\)$' \| \
   38983 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   38984 $as_echo X"$_am_arg" |
   38985     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   38986 	    s//\1/
   38987 	    q
   38988 	  }
   38989 	  /^X\(\/\/\)[^/].*/{
   38990 	    s//\1/
   38991 	    q
   38992 	  }
   38993 	  /^X\(\/\/\)$/{
   38994 	    s//\1/
   38995 	    q
   38996 	  }
   38997 	  /^X\(\/\).*/{
   38998 	    s//\1/
   38999 	    q
   39000 	  }
   39001 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   39002  ;;
   39003 
   39004   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   39005 $as_echo "$as_me: executing $ac_file commands" >&6;}
   39006  ;;
   39007   esac
   39008 
   39009 
   39010   case $ac_file$ac_mode in
   39011     "MagickCore/magick-baseconfig.h":C) ac_prefix_conf_OUT=`echo MagickCore/magick-baseconfig.h`
   39012 ac_prefix_conf_DEF=`echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
   39013 ac_prefix_conf_PKG=`echo MagickCore`
   39014 ac_prefix_conf_LOW=`echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
   39015 ac_prefix_conf_UPP=`echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:"  -e "/^[0123456789]/s/^/_/"`
   39016 ac_prefix_conf_INP=`echo "" | sed -e 's/ *//'`
   39017 if test ".$ac_prefix_conf_INP" = "."; then
   39018    for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
   39019      case "$ac_file" in
   39020         *.h) ac_prefix_conf_INP=$ac_file ;;
   39021         *)
   39022      esac
   39023      test ".$ac_prefix_conf_INP" != "." && break
   39024    done
   39025 fi
   39026 if test ".$ac_prefix_conf_INP" = "."; then
   39027    case "$ac_prefix_conf_OUT" in
   39028       */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
   39029       ;;
   39030       *-*) ac_prefix_conf_INP=`echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
   39031       ;;
   39032       *) ac_prefix_conf_INP=config.h
   39033       ;;
   39034    esac
   39035 fi
   39036 if test -z "$ac_prefix_conf_PKG" ; then
   39037    as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
   39038 else
   39039   if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
   39040      ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
   39041   fi fi
   39042   { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
   39043 $as_echo "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
   39044   if test -f $ac_prefix_conf_INP ; then
   39045     $as_echo "s/^#undef  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
   39046     $as_echo "s/^#undef  *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
   39047     $as_echo "s/^#define  *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1\\" >> conftest.prefix
   39048     $as_echo "#define $ac_prefix_conf_UPP""_\\1\\2\\" >> conftest.prefix
   39049     $as_echo "#endif/" >> conftest.prefix
   39050     $as_echo "s/^#define  *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1\\" >> conftest.prefix
   39051     $as_echo "#define $ac_prefix_conf_LOW""_\\1\\2\\" >> conftest.prefix
   39052     $as_echo "#endif/" >> conftest.prefix
   39053     # now executing _script on _DEF input to create _OUT output file
   39054     echo "#ifndef $ac_prefix_conf_DEF"      >$tmp/pconfig.h
   39055     echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
   39056     echo ' ' >>$tmp/pconfig.h
   39057     echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
   39058 
   39059     sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
   39060     echo ' ' >>$tmp/pconfig.h
   39061     echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
   39062     echo "#endif" >>$tmp/pconfig.h
   39063     if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
   39064       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
   39065 $as_echo "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
   39066     else
   39067       ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
   39068 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   39069 	 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
   39070 	 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
   39071 	 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
   39072 $as_echo X"$ac_prefix_conf_OUT" |
   39073     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   39074 	    s//\1/
   39075 	    q
   39076 	  }
   39077 	  /^X\(\/\/\)[^/].*/{
   39078 	    s//\1/
   39079 	    q
   39080 	  }
   39081 	  /^X\(\/\/\)$/{
   39082 	    s//\1/
   39083 	    q
   39084 	  }
   39085 	  /^X\(\/\).*/{
   39086 	    s//\1/
   39087 	    q
   39088 	  }
   39089 	  s/.*/./; q'`
   39090       as_dir="$ac_dir"; as_fn_mkdir_p
   39091       rm -f "$ac_prefix_conf_OUT"
   39092       mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
   39093     fi
   39094   else
   39095     as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
   39096   fi
   39097   rm -f conftest.*
   39098 fi
   39099  ;;
   39100     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   39101   # Older Autoconf quotes --file arguments for eval, but not when files
   39102   # are listed without --file.  Let's play safe and only enable the eval
   39103   # if we detect the quoting.
   39104   # TODO: see whether this extra hack can be removed once we start
   39105   # requiring Autoconf 2.70 or later.
   39106   case $CONFIG_FILES in #(
   39107   *\'*) :
   39108     eval set x "$CONFIG_FILES" ;; #(
   39109   *) :
   39110     set x $CONFIG_FILES ;; #(
   39111   *) :
   39112      ;;
   39113 esac
   39114   shift
   39115   # Used to flag and report bootstrapping failures.
   39116   am_rc=0
   39117   for am_mf
   39118   do
   39119     # Strip MF so we end up with the name of the file.
   39120     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   39121     # Check whether this is an Automake generated Makefile which includes
   39122     # dependency-tracking related rules and includes.
   39123     # Grep'ing the whole file directly is not great: AIX grep has a line
   39124     # limit of 2048, but all sed's we know have understand at least 4000.
   39125     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   39126       || continue
   39127     am_dirpart=`$as_dirname -- "$am_mf" ||
   39128 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   39129 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   39130 	 X"$am_mf" : 'X\(//\)$' \| \
   39131 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   39132 $as_echo X"$am_mf" |
   39133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   39134 	    s//\1/
   39135 	    q
   39136 	  }
   39137 	  /^X\(\/\/\)[^/].*/{
   39138 	    s//\1/
   39139 	    q
   39140 	  }
   39141 	  /^X\(\/\/\)$/{
   39142 	    s//\1/
   39143 	    q
   39144 	  }
   39145 	  /^X\(\/\).*/{
   39146 	    s//\1/
   39147 	    q
   39148 	  }
   39149 	  s/.*/./; q'`
   39150     am_filepart=`$as_basename -- "$am_mf" ||
   39151 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   39152 	 X"$am_mf" : 'X\(//\)$' \| \
   39153 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   39154 $as_echo X/"$am_mf" |
   39155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   39156 	    s//\1/
   39157 	    q
   39158 	  }
   39159 	  /^X\/\(\/\/\)$/{
   39160 	    s//\1/
   39161 	    q
   39162 	  }
   39163 	  /^X\/\(\/\).*/{
   39164 	    s//\1/
   39165 	    q
   39166 	  }
   39167 	  s/.*/./; q'`
   39168     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   39169       && sed -e '/# am--include-marker/d' "$am_filepart" \
   39170         | $MAKE -f - am--depfiles" >&5
   39171    (cd "$am_dirpart" \
   39172       && sed -e '/# am--include-marker/d' "$am_filepart" \
   39173         | $MAKE -f - am--depfiles) >&5 2>&5
   39174    ac_status=$?
   39175    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   39176    (exit $ac_status); } || am_rc=$?
   39177   done
   39178   if test $am_rc -ne 0; then
   39179     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   39180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   39181 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   39182     for automatic dependency tracking.  Try re-running configure with the
   39183     '--disable-dependency-tracking' option to at least be able to build
   39184     the package (albeit without support for automatic dependency tracking).
   39185 See \`config.log' for more details" "$LINENO" 5; }
   39186   fi
   39187   { am_dirpart=; unset am_dirpart;}
   39188   { am_filepart=; unset am_filepart;}
   39189   { am_mf=; unset am_mf;}
   39190   { am_rc=; unset am_rc;}
   39191   rm -f conftest-deps.mk
   39192 }
   39193  ;;
   39194     "libtool":C)
   39195 
   39196     # See if we are running on zsh, and set the options that allow our
   39197     # commands through without removal of \ escapes.
   39198     if test -n "${ZSH_VERSION+set}"; then
   39199       setopt NO_GLOB_SUBST
   39200     fi
   39201 
   39202     cfgfile=${ofile}T
   39203     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   39204     $RM "$cfgfile"
   39205 
   39206     cat <<_LT_EOF >> "$cfgfile"
   39207 #! $SHELL
   39208 # Generated automatically by $as_me ($PACKAGE) $VERSION
   39209 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   39210 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   39211 
   39212 # Provide generalized library-building support services.
   39213 # Written by Gordon Matzigkeit, 1996
   39214 
   39215 # Copyright (C) 2014 Free Software Foundation, Inc.
   39216 # This is free software; see the source for copying conditions.  There is NO
   39217 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   39218 
   39219 # GNU Libtool is free software; you can redistribute it and/or modify
   39220 # it under the terms of the GNU General Public License as published by
   39221 # the Free Software Foundation; either version 2 of of the License, or
   39222 # (at your option) any later version.
   39223 #
   39224 # As a special exception to the GNU General Public License, if you
   39225 # distribute this file as part of a program or library that is built
   39226 # using GNU Libtool, you may include this file under the  same
   39227 # distribution terms that you use for the rest of that program.
   39228 #
   39229 # GNU Libtool is distributed in the hope that it will be useful, but
   39230 # WITHOUT ANY WARRANTY; without even the implied warranty of
   39231 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   39232 # GNU General Public License for more details.
   39233 #
   39234 # You should have received a copy of the GNU General Public License
   39235 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   39236 
   39237 
   39238 # The names of the tagged configurations supported by this script.
   39239 available_tags='CXX '
   39240 
   39241 # Configured defaults for sys_lib_dlsearch_path munging.
   39242 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   39243 
   39244 # ### BEGIN LIBTOOL CONFIG
   39245 
   39246 # A sed program that does not truncate output.
   39247 SED=$lt_SED
   39248 
   39249 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   39250 Xsed="\$SED -e 1s/^X//"
   39251 
   39252 # A grep program that handles long lines.
   39253 GREP=$lt_GREP
   39254 
   39255 # An ERE matcher.
   39256 EGREP=$lt_EGREP
   39257 
   39258 # A literal string matcher.
   39259 FGREP=$lt_FGREP
   39260 
   39261 # Shell to use when invoking shell scripts.
   39262 SHELL=$lt_SHELL
   39263 
   39264 # An echo program that protects backslashes.
   39265 ECHO=$lt_ECHO
   39266 
   39267 # Which release of libtool.m4 was used?
   39268 macro_version=$macro_version
   39269 macro_revision=$macro_revision
   39270 
   39271 # Assembler program.
   39272 AS=$lt_AS
   39273 
   39274 # DLL creation program.
   39275 DLLTOOL=$lt_DLLTOOL
   39276 
   39277 # Object dumper program.
   39278 OBJDUMP=$lt_OBJDUMP
   39279 
   39280 # Whether or not to build shared libraries.
   39281 build_libtool_libs=$enable_shared
   39282 
   39283 # Whether or not to build static libraries.
   39284 build_old_libs=$enable_static
   39285 
   39286 # What type of objects to build.
   39287 pic_mode=$pic_mode
   39288 
   39289 # Whether or not to optimize for fast installation.
   39290 fast_install=$enable_fast_install
   39291 
   39292 # Shared archive member basename,for filename based shared library versioning on AIX.
   39293 shared_archive_member_spec=$shared_archive_member_spec
   39294 
   39295 # The PATH separator for the build system.
   39296 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   39297 
   39298 # The host system.
   39299 host_alias=$host_alias
   39300 host=$host
   39301 host_os=$host_os
   39302 
   39303 # The build system.
   39304 build_alias=$build_alias
   39305 build=$build
   39306 build_os=$build_os
   39307 
   39308 # A BSD- or MS-compatible name lister.
   39309 NM=$lt_NM
   39310 
   39311 # Whether we need soft or hard links.
   39312 LN_S=$lt_LN_S
   39313 
   39314 # What is the maximum length of a command?
   39315 max_cmd_len=$max_cmd_len
   39316 
   39317 # Object file suffix (normally "o").
   39318 objext=$ac_objext
   39319 
   39320 # Executable file suffix (normally "").
   39321 exeext=$exeext
   39322 
   39323 # whether the shell understands "unset".
   39324 lt_unset=$lt_unset
   39325 
   39326 # turn spaces into newlines.
   39327 SP2NL=$lt_lt_SP2NL
   39328 
   39329 # turn newlines into spaces.
   39330 NL2SP=$lt_lt_NL2SP
   39331 
   39332 # convert \$build file names to \$host format.
   39333 to_host_file_cmd=$lt_cv_to_host_file_cmd
   39334 
   39335 # convert \$build files to toolchain format.
   39336 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   39337 
   39338 # Method to check whether dependent libraries are shared objects.
   39339 deplibs_check_method=$lt_deplibs_check_method
   39340 
   39341 # Command to use when deplibs_check_method = "file_magic".
   39342 file_magic_cmd=$lt_file_magic_cmd
   39343 
   39344 # How to find potential files when deplibs_check_method = "file_magic".
   39345 file_magic_glob=$lt_file_magic_glob
   39346 
   39347 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   39348 want_nocaseglob=$lt_want_nocaseglob
   39349 
   39350 # Command to associate shared and link libraries.
   39351 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   39352 
   39353 # The archiver.
   39354 AR=$lt_AR
   39355 
   39356 # Flags to create an archive.
   39357 AR_FLAGS=$lt_AR_FLAGS
   39358 
   39359 # How to feed a file listing to the archiver.
   39360 archiver_list_spec=$lt_archiver_list_spec
   39361 
   39362 # A symbol stripping program.
   39363 STRIP=$lt_STRIP
   39364 
   39365 # Commands used to install an old-style archive.
   39366 RANLIB=$lt_RANLIB
   39367 old_postinstall_cmds=$lt_old_postinstall_cmds
   39368 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   39369 
   39370 # Whether to use a lock for old archive extraction.
   39371 lock_old_archive_extraction=$lock_old_archive_extraction
   39372 
   39373 # A C compiler.
   39374 LTCC=$lt_CC
   39375 
   39376 # LTCC compiler flags.
   39377 LTCFLAGS=$lt_CFLAGS
   39378 
   39379 # Take the output of nm and produce a listing of raw symbols and C names.
   39380 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   39381 
   39382 # Transform the output of nm in a proper C declaration.
   39383 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   39384 
   39385 # Transform the output of nm into a list of symbols to manually relocate.
   39386 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   39387 
   39388 # Transform the output of nm in a C name address pair.
   39389 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   39390 
   39391 # Transform the output of nm in a C name address pair when lib prefix is needed.
   39392 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   39393 
   39394 # The name lister interface.
   39395 nm_interface=$lt_lt_cv_nm_interface
   39396 
   39397 # Specify filename containing input files for \$NM.
   39398 nm_file_list_spec=$lt_nm_file_list_spec
   39399 
   39400 # The root where to search for dependent libraries,and where our libraries should be installed.
   39401 lt_sysroot=$lt_sysroot
   39402 
   39403 # Command to truncate a binary pipe.
   39404 lt_truncate_bin=$lt_lt_cv_truncate_bin
   39405 
   39406 # The name of the directory that contains temporary libtool files.
   39407 objdir=$objdir
   39408 
   39409 # Used to examine libraries when file_magic_cmd begins with "file".
   39410 MAGIC_CMD=$MAGIC_CMD
   39411 
   39412 # Must we lock files when doing compilation?
   39413 need_locks=$lt_need_locks
   39414 
   39415 # Manifest tool.
   39416 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   39417 
   39418 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   39419 DSYMUTIL=$lt_DSYMUTIL
   39420 
   39421 # Tool to change global to local symbols on Mac OS X.
   39422 NMEDIT=$lt_NMEDIT
   39423 
   39424 # Tool to manipulate fat objects and archives on Mac OS X.
   39425 LIPO=$lt_LIPO
   39426 
   39427 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   39428 OTOOL=$lt_OTOOL
   39429 
   39430 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   39431 OTOOL64=$lt_OTOOL64
   39432 
   39433 # Old archive suffix (normally "a").
   39434 libext=$libext
   39435 
   39436 # Shared library suffix (normally ".so").
   39437 shrext_cmds=$lt_shrext_cmds
   39438 
   39439 # The commands to extract the exported symbol list from a shared archive.
   39440 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   39441 
   39442 # Variables whose values should be saved in libtool wrapper scripts and
   39443 # restored at link time.
   39444 variables_saved_for_relink=$lt_variables_saved_for_relink
   39445 
   39446 # Do we need the "lib" prefix for modules?
   39447 need_lib_prefix=$need_lib_prefix
   39448 
   39449 # Do we need a version for libraries?
   39450 need_version=$need_version
   39451 
   39452 # Library versioning type.
   39453 version_type=$version_type
   39454 
   39455 # Shared library runtime path variable.
   39456 runpath_var=$runpath_var
   39457 
   39458 # Shared library path variable.
   39459 shlibpath_var=$shlibpath_var
   39460 
   39461 # Is shlibpath searched before the hard-coded library search path?
   39462 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   39463 
   39464 # Format of library name prefix.
   39465 libname_spec=$lt_libname_spec
   39466 
   39467 # List of archive names.  First name is the real one, the rest are links.
   39468 # The last name is the one that the linker finds with -lNAME
   39469 library_names_spec=$lt_library_names_spec
   39470 
   39471 # The coded name of the library, if different from the real name.
   39472 soname_spec=$lt_soname_spec
   39473 
   39474 # Permission mode override for installation of shared libraries.
   39475 install_override_mode=$lt_install_override_mode
   39476 
   39477 # Command to use after installation of a shared archive.
   39478 postinstall_cmds=$lt_postinstall_cmds
   39479 
   39480 # Command to use after uninstallation of a shared archive.
   39481 postuninstall_cmds=$lt_postuninstall_cmds
   39482 
   39483 # Commands used to finish a libtool library installation in a directory.
   39484 finish_cmds=$lt_finish_cmds
   39485 
   39486 # As "finish_cmds", except a single script fragment to be evaled but
   39487 # not shown.
   39488 finish_eval=$lt_finish_eval
   39489 
   39490 # Whether we should hardcode library paths into libraries.
   39491 hardcode_into_libs=$hardcode_into_libs
   39492 
   39493 # Compile-time system search path for libraries.
   39494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   39495 
   39496 # Detected run-time system search path for libraries.
   39497 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   39498 
   39499 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   39500 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   39501 
   39502 # Whether dlopen is supported.
   39503 dlopen_support=$enable_dlopen
   39504 
   39505 # Whether dlopen of programs is supported.
   39506 dlopen_self=$enable_dlopen_self
   39507 
   39508 # Whether dlopen of statically linked programs is supported.
   39509 dlopen_self_static=$enable_dlopen_self_static
   39510 
   39511 # Commands to strip libraries.
   39512 old_striplib=$lt_old_striplib
   39513 striplib=$lt_striplib
   39514 
   39515 
   39516 # The linker used to build libraries.
   39517 LD=$lt_LD
   39518 
   39519 # How to create reloadable object files.
   39520 reload_flag=$lt_reload_flag
   39521 reload_cmds=$lt_reload_cmds
   39522 
   39523 # Commands used to build an old-style archive.
   39524 old_archive_cmds=$lt_old_archive_cmds
   39525 
   39526 # A language specific compiler.
   39527 CC=$lt_compiler
   39528 
   39529 # Is the compiler the GNU compiler?
   39530 with_gcc=$GCC
   39531 
   39532 # Compiler flag to turn off builtin functions.
   39533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   39534 
   39535 # Additional compiler flags for building library objects.
   39536 pic_flag=$lt_lt_prog_compiler_pic
   39537 
   39538 # How to pass a linker flag through the compiler.
   39539 wl=$lt_lt_prog_compiler_wl
   39540 
   39541 # Compiler flag to prevent dynamic linking.
   39542 link_static_flag=$lt_lt_prog_compiler_static
   39543 
   39544 # Does compiler simultaneously support -c and -o options?
   39545 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   39546 
   39547 # Whether or not to add -lc for building shared libraries.
   39548 build_libtool_need_lc=$archive_cmds_need_lc
   39549 
   39550 # Whether or not to disallow shared libs when runtime libs are static.
   39551 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   39552 
   39553 # Compiler flag to allow reflexive dlopens.
   39554 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   39555 
   39556 # Compiler flag to generate shared objects directly from archives.
   39557 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   39558 
   39559 # Whether the compiler copes with passing no objects directly.
   39560 compiler_needs_object=$lt_compiler_needs_object
   39561 
   39562 # Create an old-style archive from a shared archive.
   39563 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   39564 
   39565 # Create a temporary old-style archive to link instead of a shared archive.
   39566 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   39567 
   39568 # Commands used to build a shared archive.
   39569 archive_cmds=$lt_archive_cmds
   39570 archive_expsym_cmds=$lt_archive_expsym_cmds
   39571 
   39572 # Commands used to build a loadable module if different from building
   39573 # a shared archive.
   39574 module_cmds=$lt_module_cmds
   39575 module_expsym_cmds=$lt_module_expsym_cmds
   39576 
   39577 # Whether we are building with GNU ld or not.
   39578 with_gnu_ld=$lt_with_gnu_ld
   39579 
   39580 # Flag that allows shared libraries with undefined symbols to be built.
   39581 allow_undefined_flag=$lt_allow_undefined_flag
   39582 
   39583 # Flag that enforces no undefined symbols.
   39584 no_undefined_flag=$lt_no_undefined_flag
   39585 
   39586 # Flag to hardcode \$libdir into a binary during linking.
   39587 # This must work even if \$libdir does not exist
   39588 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   39589 
   39590 # Whether we need a single "-rpath" flag with a separated argument.
   39591 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   39592 
   39593 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   39594 # DIR into the resulting binary.
   39595 hardcode_direct=$hardcode_direct
   39596 
   39597 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   39598 # DIR into the resulting binary and the resulting library dependency is
   39599 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   39600 # library is relocated.
   39601 hardcode_direct_absolute=$hardcode_direct_absolute
   39602 
   39603 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   39604 # into the resulting binary.
   39605 hardcode_minus_L=$hardcode_minus_L
   39606 
   39607 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   39608 # into the resulting binary.
   39609 hardcode_shlibpath_var=$hardcode_shlibpath_var
   39610 
   39611 # Set to "yes" if building a shared library automatically hardcodes DIR
   39612 # into the library and all subsequent libraries and executables linked
   39613 # against it.
   39614 hardcode_automatic=$hardcode_automatic
   39615 
   39616 # Set to yes if linker adds runtime paths of dependent libraries
   39617 # to runtime path list.
   39618 inherit_rpath=$inherit_rpath
   39619 
   39620 # Whether libtool must link a program against all its dependency libraries.
   39621 link_all_deplibs=$link_all_deplibs
   39622 
   39623 # Set to "yes" if exported symbols are required.
   39624 always_export_symbols=$always_export_symbols
   39625 
   39626 # The commands to list exported symbols.
   39627 export_symbols_cmds=$lt_export_symbols_cmds
   39628 
   39629 # Symbols that should not be listed in the preloaded symbols.
   39630 exclude_expsyms=$lt_exclude_expsyms
   39631 
   39632 # Symbols that must always be exported.
   39633 include_expsyms=$lt_include_expsyms
   39634 
   39635 # Commands necessary for linking programs (against libraries) with templates.
   39636 prelink_cmds=$lt_prelink_cmds
   39637 
   39638 # Commands necessary for finishing linking programs.
   39639 postlink_cmds=$lt_postlink_cmds
   39640 
   39641 # Specify filename containing input files.
   39642 file_list_spec=$lt_file_list_spec
   39643 
   39644 # How to hardcode a shared library path into an executable.
   39645 hardcode_action=$hardcode_action
   39646 
   39647 # The directories searched by this compiler when creating a shared library.
   39648 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   39649 
   39650 # Dependencies to place before and after the objects being linked to
   39651 # create a shared library.
   39652 predep_objects=$lt_predep_objects
   39653 postdep_objects=$lt_postdep_objects
   39654 predeps=$lt_predeps
   39655 postdeps=$lt_postdeps
   39656 
   39657 # The library search path used internally by the compiler when linking
   39658 # a shared library.
   39659 compiler_lib_search_path=$lt_compiler_lib_search_path
   39660 
   39661 # ### END LIBTOOL CONFIG
   39662 
   39663 _LT_EOF
   39664 
   39665     cat <<'_LT_EOF' >> "$cfgfile"
   39666 
   39667 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   39668 
   39669 # func_munge_path_list VARIABLE PATH
   39670 # -----------------------------------
   39671 # VARIABLE is name of variable containing _space_ separated list of
   39672 # directories to be munged by the contents of PATH, which is string
   39673 # having a format:
   39674 # "DIR[:DIR]:"
   39675 #       string "DIR[ DIR]" will be prepended to VARIABLE
   39676 # ":DIR[:DIR]"
   39677 #       string "DIR[ DIR]" will be appended to VARIABLE
   39678 # "DIRP[:DIRP]::[DIRA:]DIRA"
   39679 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   39680 #       "DIRA[ DIRA]" will be appended to VARIABLE
   39681 # "DIR[:DIR]"
   39682 #       VARIABLE will be replaced by "DIR[ DIR]"
   39683 func_munge_path_list ()
   39684 {
   39685     case x$2 in
   39686     x)
   39687         ;;
   39688     *:)
   39689         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   39690         ;;
   39691     x:*)
   39692         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   39693         ;;
   39694     *::*)
   39695         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   39696         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   39697         ;;
   39698     *)
   39699         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   39700         ;;
   39701     esac
   39702 }
   39703 
   39704 
   39705 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   39706 func_cc_basename ()
   39707 {
   39708     for cc_temp in $*""; do
   39709       case $cc_temp in
   39710         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   39711         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   39712         \-*) ;;
   39713         *) break;;
   39714       esac
   39715     done
   39716     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   39717 }
   39718 
   39719 
   39720 # ### END FUNCTIONS SHARED WITH CONFIGURE
   39721 
   39722 _LT_EOF
   39723 
   39724   case $host_os in
   39725   aix3*)
   39726     cat <<\_LT_EOF >> "$cfgfile"
   39727 # AIX sometimes has problems with the GCC collect2 program.  For some
   39728 # reason, if we set the COLLECT_NAMES environment variable, the problems
   39729 # vanish in a puff of smoke.
   39730 if test set != "${COLLECT_NAMES+set}"; then
   39731   COLLECT_NAMES=
   39732   export COLLECT_NAMES
   39733 fi
   39734 _LT_EOF
   39735     ;;
   39736   esac
   39737 
   39738 
   39739 ltmain=$ac_aux_dir/ltmain.sh
   39740 
   39741 
   39742   # We use sed instead of cat because bash on DJGPP gets confused if
   39743   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   39744   # text mode, it properly converts lines to CR/LF.  This bash problem
   39745   # is reportedly fixed, but why not run on old versions too?
   39746   sed '$q' "$ltmain" >> "$cfgfile" \
   39747      || (rm -f "$cfgfile"; exit 1)
   39748 
   39749    mv -f "$cfgfile" "$ofile" ||
   39750     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   39751   chmod +x "$ofile"
   39752 
   39753 
   39754     cat <<_LT_EOF >> "$ofile"
   39755 
   39756 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   39757 
   39758 # The linker used to build libraries.
   39759 LD=$lt_LD_CXX
   39760 
   39761 # How to create reloadable object files.
   39762 reload_flag=$lt_reload_flag_CXX
   39763 reload_cmds=$lt_reload_cmds_CXX
   39764 
   39765 # Commands used to build an old-style archive.
   39766 old_archive_cmds=$lt_old_archive_cmds_CXX
   39767 
   39768 # A language specific compiler.
   39769 CC=$lt_compiler_CXX
   39770 
   39771 # Is the compiler the GNU compiler?
   39772 with_gcc=$GCC_CXX
   39773 
   39774 # Compiler flag to turn off builtin functions.
   39775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   39776 
   39777 # Additional compiler flags for building library objects.
   39778 pic_flag=$lt_lt_prog_compiler_pic_CXX
   39779 
   39780 # How to pass a linker flag through the compiler.
   39781 wl=$lt_lt_prog_compiler_wl_CXX
   39782 
   39783 # Compiler flag to prevent dynamic linking.
   39784 link_static_flag=$lt_lt_prog_compiler_static_CXX
   39785 
   39786 # Does compiler simultaneously support -c and -o options?
   39787 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   39788 
   39789 # Whether or not to add -lc for building shared libraries.
   39790 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   39791 
   39792 # Whether or not to disallow shared libs when runtime libs are static.
   39793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   39794 
   39795 # Compiler flag to allow reflexive dlopens.
   39796 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   39797 
   39798 # Compiler flag to generate shared objects directly from archives.
   39799 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   39800 
   39801 # Whether the compiler copes with passing no objects directly.
   39802 compiler_needs_object=$lt_compiler_needs_object_CXX
   39803 
   39804 # Create an old-style archive from a shared archive.
   39805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   39806 
   39807 # Create a temporary old-style archive to link instead of a shared archive.
   39808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   39809 
   39810 # Commands used to build a shared archive.
   39811 archive_cmds=$lt_archive_cmds_CXX
   39812 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   39813 
   39814 # Commands used to build a loadable module if different from building
   39815 # a shared archive.
   39816 module_cmds=$lt_module_cmds_CXX
   39817 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   39818 
   39819 # Whether we are building with GNU ld or not.
   39820 with_gnu_ld=$lt_with_gnu_ld_CXX
   39821 
   39822 # Flag that allows shared libraries with undefined symbols to be built.
   39823 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   39824 
   39825 # Flag that enforces no undefined symbols.
   39826 no_undefined_flag=$lt_no_undefined_flag_CXX
   39827 
   39828 # Flag to hardcode \$libdir into a binary during linking.
   39829 # This must work even if \$libdir does not exist
   39830 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   39831 
   39832 # Whether we need a single "-rpath" flag with a separated argument.
   39833 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   39834 
   39835 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   39836 # DIR into the resulting binary.
   39837 hardcode_direct=$hardcode_direct_CXX
   39838 
   39839 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   39840 # DIR into the resulting binary and the resulting library dependency is
   39841 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   39842 # library is relocated.
   39843 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   39844 
   39845 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   39846 # into the resulting binary.
   39847 hardcode_minus_L=$hardcode_minus_L_CXX
   39848 
   39849 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   39850 # into the resulting binary.
   39851 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   39852 
   39853 # Set to "yes" if building a shared library automatically hardcodes DIR
   39854 # into the library and all subsequent libraries and executables linked
   39855 # against it.
   39856 hardcode_automatic=$hardcode_automatic_CXX
   39857 
   39858 # Set to yes if linker adds runtime paths of dependent libraries
   39859 # to runtime path list.
   39860 inherit_rpath=$inherit_rpath_CXX
   39861 
   39862 # Whether libtool must link a program against all its dependency libraries.
   39863 link_all_deplibs=$link_all_deplibs_CXX
   39864 
   39865 # Set to "yes" if exported symbols are required.
   39866 always_export_symbols=$always_export_symbols_CXX
   39867 
   39868 # The commands to list exported symbols.
   39869 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   39870 
   39871 # Symbols that should not be listed in the preloaded symbols.
   39872 exclude_expsyms=$lt_exclude_expsyms_CXX
   39873 
   39874 # Symbols that must always be exported.
   39875 include_expsyms=$lt_include_expsyms_CXX
   39876 
   39877 # Commands necessary for linking programs (against libraries) with templates.
   39878 prelink_cmds=$lt_prelink_cmds_CXX
   39879 
   39880 # Commands necessary for finishing linking programs.
   39881 postlink_cmds=$lt_postlink_cmds_CXX
   39882 
   39883 # Specify filename containing input files.
   39884 file_list_spec=$lt_file_list_spec_CXX
   39885 
   39886 # How to hardcode a shared library path into an executable.
   39887 hardcode_action=$hardcode_action_CXX
   39888 
   39889 # The directories searched by this compiler when creating a shared library.
   39890 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   39891 
   39892 # Dependencies to place before and after the objects being linked to
   39893 # create a shared library.
   39894 predep_objects=$lt_predep_objects_CXX
   39895 postdep_objects=$lt_postdep_objects_CXX
   39896 predeps=$lt_predeps_CXX
   39897 postdeps=$lt_postdeps_CXX
   39898 
   39899 # The library search path used internally by the compiler when linking
   39900 # a shared library.
   39901 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   39902 
   39903 # ### END LIBTOOL TAG CONFIG: CXX
   39904 _LT_EOF
   39905 
   39906  ;;
   39907     "magick.sh.in":C) chmod +x magick.sh ;;
   39908     "MagickCore-config.in":C) chmod +x MagickCore/MagickCore-config ;;
   39909     "MagickWand-config.in":C) chmod +x MagickWand/MagickWand-config ;;
   39910     "Magick++-config.in":C) chmod +x Magick++/bin/Magick++-config ;;
   39911     "PerlMagick/check.sh.in":C) chmod +x PerlMagick/check.sh ;;
   39912 
   39913   esac
   39914 done # for ac_tag
   39915 
   39916 
   39917 as_fn_exit 0
   39918 _ACEOF
   39919 ac_clean_files=$ac_clean_files_save
   39920 
   39921 test $ac_write_fail = 0 ||
   39922   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   39923 
   39924 
   39925 # configure is writing to config.log, and then calls config.status.
   39926 # config.status does its own redirection, appending to config.log.
   39927 # Unfortunately, on DOS this fails, as config.log is still kept open
   39928 # by configure, so config.status won't be able to write to it; its
   39929 # output is simply discarded.  So we exec the FD to /dev/null,
   39930 # effectively closing config.log, so it can be properly (re)opened and
   39931 # appended to by config.status.  When coming back to configure, we
   39932 # need to make the FD available again.
   39933 if test "$no_create" != yes; then
   39934   ac_cs_success=:
   39935   ac_config_status_args=
   39936   test "$silent" = yes &&
   39937     ac_config_status_args="$ac_config_status_args --quiet"
   39938   exec 5>/dev/null
   39939   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   39940   exec 5>>config.log
   39941   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   39942   # would make configure fail if this is the last instruction.
   39943   $ac_cs_success || as_fn_exit 1
   39944 fi
   39945 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   39946   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   39947 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   39948 fi
   39949 
   39950 
   39951 # ==============================================================================
   39952 # ImageMagick Configuration
   39953 # ==============================================================================
   39954 { $as_echo "$as_me:${as_lineno-$LINENO}:
   39955 ==============================================================================
   39956 ImageMagick is configured as follows. Please verify that this configuration
   39957 matches your expectations.
   39958 
   39959   Host system type: $host
   39960   Build system type: $build
   39961 
   39962                  Option                        Value
   39963   ------------------------------------------------------------------------------
   39964   Shared libraries  --enable-shared=$enable_shared		$libtool_build_shared_libs
   39965   Static libraries  --enable-static=$enable_static		$libtool_build_static_libs
   39966   Build utilities   --with-utilities=$with_utilities        $with_utilities
   39967   Module support    --with-modules=$build_modules		$build_modules
   39968   GNU ld            --with-gnu-ld=$with_gnu_ld		$lt_cv_prog_gnu_ld
   39969   Quantum depth     --with-quantum-depth=$with_quantum_depth	$with_quantum_depth
   39970   High Dynamic Range Imagery
   39971                     --enable-hdri=$enable_hdri		$enable_hdri
   39972 
   39973   Install documentation:			$wantdocs
   39974 
   39975   Delegate Library Configuration:
   39976   BZLIB             --with-bzlib=$with_bzlib		$have_bzlib
   39977   Autotrace         --with-autotrace=$with_autotrace		$have_autotrace
   39978   DJVU              --with-djvu=$with_djvu		$have_djvu
   39979   DPS               --with-dps=$with_dps		$have_dps
   39980   FFTW              --with-fftw=$with_fftw		$have_fftw
   39981   FLIF              --with-flif=$with_flif		$have_flif
   39982   FlashPIX          --with-fpx=$with_fpx		$have_fpx
   39983   FontConfig        --with-fontconfig=$with_fontconfig	$have_fontconfig
   39984   FreeType          --with-freetype=$with_freetype		$have_freetype
   39985   Ghostscript lib   --with-gslib=$with_gslib		$have_gslib
   39986   Graphviz          --with-gvc=$with_gvc		$have_gvc
   39987   HEIC              --with-heic=$with_heic             $have_heic
   39988   JBIG              --with-jbig=$with_jbig		$have_jbig
   39989   JPEG v1           --with-jpeg=$with_jpeg		$have_jpeg
   39990   LCMS              --with-lcms=$with_lcms		$have_lcms
   39991   LQR               --with-lqr=$with_lqr		$have_lqr
   39992   LTDL              --with-ltdl=$with_ltdl		$have_ltdl
   39993   LZMA              --with-lzma=$with_lzma		$have_lzma
   39994   Magick++          --with-magick-plus-plus=$with_magick_plus_plus	$have_magick_plus_plus
   39995   OpenEXR           --with-openexr=$with_openexr		$have_openexr
   39996   OpenJP2           --with-openjp2=$with_openjp2		$have_openjp2
   39997   PANGO             --with-pango=$with_pango		$have_pango
   39998   PERL              --with-perl=$with_perl		$have_perl
   39999   PNG               --with-png=$with_png		$have_png
   40000   RAQM              --with-raqm=$with_raqm		$have_raqm
   40001   RAW               --with-raw=$with_raw 	   	$have_raw
   40002   RSVG              --with-rsvg=$with_rsvg		$have_rsvg
   40003   TIFF              --with-tiff=$with_tiff		$have_tiff
   40004   WEBP              --with-webp=$with_webp		$have_webp
   40005   WMF               --with-wmf=$with_wmf		$have_wmf
   40006   X11               --with-x=$with_x			$have_x
   40007   XML               --with-xml=$with_xml		$have_xml
   40008   ZLIB              --with-zlib=$with_zlib		$have_zlib
   40009   ZSTD              --with-zstd=$with_zstd		$have_zstd
   40010 
   40011   Delegate Program Configuration:
   40012   GhostPCL          None				$PCLDelegate ($PCLVersion)
   40013   GhostXPS          None				$XPSDelegate ($XPSVersion)
   40014   Ghostscript       None				$PSDelegate ($GSVersion)
   40015 
   40016   Font Configuration:
   40017   Apple fonts       --with-apple-font-dir=$with_apple_font_dir	$result_apple_font_dir
   40018   Dejavu fonts      --with-dejavu-font-dir=$with_dejavu_font_dir	$result_dejavu_font_dir
   40019   Ghostscript fonts --with-gs-font-dir=$with_gs_font_dir	$result_ghostscript_font_dir
   40020   URW-base35 fonts  --with-urw-base35-font-dir=$with_urw_base35_font_dir  $result_urw_base35_font_dir
   40021   Windows fonts     --with-windows-font-dir=$with_windows_font_dir	$result_windows_font_dir
   40022 
   40023   X11 Configuration:
   40024         X_CFLAGS        = $X_CFLAGS
   40025         X_PRE_LIBS      = $X_PRE_LIBS
   40026         X_LIBS          = $X_LIBS
   40027         X_EXTRA_LIBS    = $X_EXTRA_LIBS
   40028 
   40029   Options used to compile and link:
   40030     PREFIX          = $PREFIX_DIR
   40031     EXEC-PREFIX     = $EXEC_PREFIX_DIR
   40032     VERSION         = $PACKAGE_VERSION
   40033     CC              = $CC
   40034     CFLAGS          = $CFLAGS
   40035     CPPFLAGS        = $CPPFLAGS
   40036     PCFLAGS         = $PCFLAGS
   40037     DEFS            = $DEFS
   40038     LDFLAGS         = $LDFLAGS
   40039     LIBS            = $MAGICK_DEP_LIBS
   40040     CXX             = $CXX
   40041     CXXFLAGS        = $CXXFLAGS
   40042     FEATURES        = $MAGICK_FEATURES
   40043     DELEGATES       = $MAGICK_DELEGATES
   40044 ==============================================================================
   40045 " >&5
   40046 $as_echo "$as_me:
   40047 ==============================================================================
   40048 ImageMagick is configured as follows. Please verify that this configuration
   40049 matches your expectations.
   40050 
   40051   Host system type: $host
   40052   Build system type: $build
   40053 
   40054                  Option                        Value
   40055   ------------------------------------------------------------------------------
   40056   Shared libraries  --enable-shared=$enable_shared		$libtool_build_shared_libs
   40057   Static libraries  --enable-static=$enable_static		$libtool_build_static_libs
   40058   Build utilities   --with-utilities=$with_utilities        $with_utilities
   40059   Module support    --with-modules=$build_modules		$build_modules
   40060   GNU ld            --with-gnu-ld=$with_gnu_ld		$lt_cv_prog_gnu_ld
   40061   Quantum depth     --with-quantum-depth=$with_quantum_depth	$with_quantum_depth
   40062   High Dynamic Range Imagery
   40063                     --enable-hdri=$enable_hdri		$enable_hdri
   40064 
   40065   Install documentation:			$wantdocs
   40066 
   40067   Delegate Library Configuration:
   40068   BZLIB             --with-bzlib=$with_bzlib		$have_bzlib
   40069   Autotrace         --with-autotrace=$with_autotrace		$have_autotrace
   40070   DJVU              --with-djvu=$with_djvu		$have_djvu
   40071   DPS               --with-dps=$with_dps		$have_dps
   40072   FFTW              --with-fftw=$with_fftw		$have_fftw
   40073   FLIF              --with-flif=$with_flif		$have_flif
   40074   FlashPIX          --with-fpx=$with_fpx		$have_fpx
   40075   FontConfig        --with-fontconfig=$with_fontconfig	$have_fontconfig
   40076   FreeType          --with-freetype=$with_freetype		$have_freetype
   40077   Ghostscript lib   --with-gslib=$with_gslib		$have_gslib
   40078   Graphviz          --with-gvc=$with_gvc		$have_gvc
   40079   HEIC              --with-heic=$with_heic             $have_heic
   40080   JBIG              --with-jbig=$with_jbig		$have_jbig
   40081   JPEG v1           --with-jpeg=$with_jpeg		$have_jpeg
   40082   LCMS              --with-lcms=$with_lcms		$have_lcms
   40083   LQR               --with-lqr=$with_lqr		$have_lqr
   40084   LTDL              --with-ltdl=$with_ltdl		$have_ltdl
   40085   LZMA              --with-lzma=$with_lzma		$have_lzma
   40086   Magick++          --with-magick-plus-plus=$with_magick_plus_plus	$have_magick_plus_plus
   40087   OpenEXR           --with-openexr=$with_openexr		$have_openexr
   40088   OpenJP2           --with-openjp2=$with_openjp2		$have_openjp2
   40089   PANGO             --with-pango=$with_pango		$have_pango
   40090   PERL              --with-perl=$with_perl		$have_perl
   40091   PNG               --with-png=$with_png		$have_png
   40092   RAQM              --with-raqm=$with_raqm		$have_raqm
   40093   RAW               --with-raw=$with_raw 	   	$have_raw
   40094   RSVG              --with-rsvg=$with_rsvg		$have_rsvg
   40095   TIFF              --with-tiff=$with_tiff		$have_tiff
   40096   WEBP              --with-webp=$with_webp		$have_webp
   40097   WMF               --with-wmf=$with_wmf		$have_wmf
   40098   X11               --with-x=$with_x			$have_x
   40099   XML               --with-xml=$with_xml		$have_xml
   40100   ZLIB              --with-zlib=$with_zlib		$have_zlib
   40101   ZSTD              --with-zstd=$with_zstd		$have_zstd
   40102 
   40103   Delegate Program Configuration:
   40104   GhostPCL          None				$PCLDelegate ($PCLVersion)
   40105   GhostXPS          None				$XPSDelegate ($XPSVersion)
   40106   Ghostscript       None				$PSDelegate ($GSVersion)
   40107 
   40108   Font Configuration:
   40109   Apple fonts       --with-apple-font-dir=$with_apple_font_dir	$result_apple_font_dir
   40110   Dejavu fonts      --with-dejavu-font-dir=$with_dejavu_font_dir	$result_dejavu_font_dir
   40111   Ghostscript fonts --with-gs-font-dir=$with_gs_font_dir	$result_ghostscript_font_dir
   40112   URW-base35 fonts  --with-urw-base35-font-dir=$with_urw_base35_font_dir  $result_urw_base35_font_dir
   40113   Windows fonts     --with-windows-font-dir=$with_windows_font_dir	$result_windows_font_dir
   40114 
   40115   X11 Configuration:
   40116         X_CFLAGS        = $X_CFLAGS
   40117         X_PRE_LIBS      = $X_PRE_LIBS
   40118         X_LIBS          = $X_LIBS
   40119         X_EXTRA_LIBS    = $X_EXTRA_LIBS
   40120 
   40121   Options used to compile and link:
   40122     PREFIX          = $PREFIX_DIR
   40123     EXEC-PREFIX     = $EXEC_PREFIX_DIR
   40124     VERSION         = $PACKAGE_VERSION
   40125     CC              = $CC
   40126     CFLAGS          = $CFLAGS
   40127     CPPFLAGS        = $CPPFLAGS
   40128     PCFLAGS         = $PCFLAGS
   40129     DEFS            = $DEFS
   40130     LDFLAGS         = $LDFLAGS
   40131     LIBS            = $MAGICK_DEP_LIBS
   40132     CXX             = $CXX
   40133     CXXFLAGS        = $CXXFLAGS
   40134     FEATURES        = $MAGICK_FEATURES
   40135     DELEGATES       = $MAGICK_DELEGATES
   40136 ==============================================================================
   40137 " >&6;}
   40138