Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXi 1.4.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXi'
    633 PACKAGE_TARNAME='libXi'
    634 PACKAGE_VERSION='1.4.3'
    635 PACKAGE_STRING='libXi 1.4.3'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 INSTALL_MANPAGES_FALSE
    681 INSTALL_MANPAGES_TRUE
    682 HAVE_DOCTOOLS_FALSE
    683 HAVE_DOCTOOLS_TRUE
    684 XI_LIBS
    685 XI_CFLAGS
    686 XTMALLOC_ZERO_CFLAGS
    687 XMALLOC_ZERO_CFLAGS
    688 MALLOC_ZERO_CFLAGS
    689 HAVE_ASCIIDOC_FALSE
    690 HAVE_ASCIIDOC_TRUE
    691 ASCIIDOC
    692 HAVE_STYLESHEETS_FALSE
    693 HAVE_STYLESHEETS_TRUE
    694 XSL_STYLESHEET
    695 STYLESHEET_SRCDIR
    696 XORG_SGML_PATH
    697 HAVE_FOP_FALSE
    698 HAVE_FOP_TRUE
    699 FOP
    700 HAVE_XMLTO_FALSE
    701 HAVE_XMLTO_TRUE
    702 HAVE_XMLTO_TEXT_FALSE
    703 HAVE_XMLTO_TEXT_TRUE
    704 XMLTO
    705 ENABLE_SPECS_FALSE
    706 ENABLE_SPECS_TRUE
    707 AM_BACKSLASH
    708 AM_DEFAULT_VERBOSITY
    709 MAN_SUBSTS
    710 XORG_MAN_PAGE
    711 ADMIN_MAN_DIR
    712 DRIVER_MAN_DIR
    713 MISC_MAN_DIR
    714 FILE_MAN_DIR
    715 LIB_MAN_DIR
    716 APP_MAN_DIR
    717 ADMIN_MAN_SUFFIX
    718 DRIVER_MAN_SUFFIX
    719 MISC_MAN_SUFFIX
    720 FILE_MAN_SUFFIX
    721 LIB_MAN_SUFFIX
    722 APP_MAN_SUFFIX
    723 INSTALL_CMD
    724 PKG_CONFIG_LIBDIR
    725 PKG_CONFIG_PATH
    726 PKG_CONFIG
    727 CHANGELOG_CMD
    728 CWARNFLAGS
    729 CPP
    730 OTOOL64
    731 OTOOL
    732 LIPO
    733 NMEDIT
    734 DSYMUTIL
    735 MANIFEST_TOOL
    736 RANLIB
    737 ac_ct_AR
    738 AR
    739 DLLTOOL
    740 OBJDUMP
    741 LN_S
    742 NM
    743 ac_ct_DUMPBIN
    744 DUMPBIN
    745 LD
    746 FGREP
    747 EGREP
    748 GREP
    749 SED
    750 am__fastdepCC_FALSE
    751 am__fastdepCC_TRUE
    752 CCDEPMODE
    753 AMDEPBACKSLASH
    754 AMDEP_FALSE
    755 AMDEP_TRUE
    756 am__quote
    757 am__include
    758 DEPDIR
    759 OBJEXT
    760 EXEEXT
    761 ac_ct_CC
    762 CPPFLAGS
    763 LDFLAGS
    764 CFLAGS
    765 CC
    766 host_os
    767 host_vendor
    768 host_cpu
    769 host
    770 build_os
    771 build_vendor
    772 build_cpu
    773 build
    774 LIBTOOL
    775 MAINT
    776 MAINTAINER_MODE_FALSE
    777 MAINTAINER_MODE_TRUE
    778 am__untar
    779 am__tar
    780 AMTAR
    781 am__leading_dot
    782 SET_MAKE
    783 AWK
    784 mkdir_p
    785 MKDIR_P
    786 INSTALL_STRIP_PROGRAM
    787 STRIP
    788 install_sh
    789 MAKEINFO
    790 AUTOHEADER
    791 AUTOMAKE
    792 AUTOCONF
    793 ACLOCAL
    794 VERSION
    795 PACKAGE
    796 CYGPATH_W
    797 am__isrc
    798 INSTALL_DATA
    799 INSTALL_SCRIPT
    800 INSTALL_PROGRAM
    801 target_alias
    802 host_alias
    803 build_alias
    804 LIBS
    805 ECHO_T
    806 ECHO_N
    807 ECHO_C
    808 DEFS
    809 mandir
    810 localedir
    811 libdir
    812 psdir
    813 pdfdir
    814 dvidir
    815 htmldir
    816 infodir
    817 docdir
    818 oldincludedir
    819 includedir
    820 localstatedir
    821 sharedstatedir
    822 sysconfdir
    823 datadir
    824 datarootdir
    825 libexecdir
    826 sbindir
    827 bindir
    828 program_transform_name
    829 prefix
    830 exec_prefix
    831 PACKAGE_URL
    832 PACKAGE_BUGREPORT
    833 PACKAGE_STRING
    834 PACKAGE_VERSION
    835 PACKAGE_TARNAME
    836 PACKAGE_NAME
    837 PATH_SEPARATOR
    838 SHELL'
    839 ac_subst_files=''
    840 ac_user_opts='
    841 enable_option_checking
    842 enable_maintainer_mode
    843 enable_shared
    844 enable_static
    845 with_pic
    846 enable_fast_install
    847 enable_dependency_tracking
    848 with_gnu_ld
    849 with_sysroot
    850 enable_libtool_lock
    851 enable_strict_compilation
    852 enable_silent_rules
    853 enable_specs
    854 with_xmlto
    855 with_fop
    856 with_asciidoc
    857 enable_malloc0returnsnull
    858 '
    859       ac_precious_vars='build_alias
    860 host_alias
    861 target_alias
    862 CC
    863 CFLAGS
    864 LDFLAGS
    865 LIBS
    866 CPPFLAGS
    867 CPP
    868 PKG_CONFIG
    869 PKG_CONFIG_PATH
    870 PKG_CONFIG_LIBDIR
    871 XMLTO
    872 FOP
    873 ASCIIDOC
    874 XI_CFLAGS
    875 XI_LIBS'
    876 
    877 
    878 # Initialize some variables set by options.
    879 ac_init_help=
    880 ac_init_version=false
    881 ac_unrecognized_opts=
    882 ac_unrecognized_sep=
    883 # The variables have the same names as the options, with
    884 # dashes changed to underlines.
    885 cache_file=/dev/null
    886 exec_prefix=NONE
    887 no_create=
    888 no_recursion=
    889 prefix=NONE
    890 program_prefix=NONE
    891 program_suffix=NONE
    892 program_transform_name=s,x,x,
    893 silent=
    894 site=
    895 srcdir=
    896 verbose=
    897 x_includes=NONE
    898 x_libraries=NONE
    899 
    900 # Installation directory options.
    901 # These are left unexpanded so users can "make install exec_prefix=/foo"
    902 # and all the variables that are supposed to be based on exec_prefix
    903 # by default will actually change.
    904 # Use braces instead of parens because sh, perl, etc. also accept them.
    905 # (The list follows the same order as the GNU Coding Standards.)
    906 bindir='${exec_prefix}/bin'
    907 sbindir='${exec_prefix}/sbin'
    908 libexecdir='${exec_prefix}/libexec'
    909 datarootdir='${prefix}/share'
    910 datadir='${datarootdir}'
    911 sysconfdir='${prefix}/etc'
    912 sharedstatedir='${prefix}/com'
    913 localstatedir='${prefix}/var'
    914 includedir='${prefix}/include'
    915 oldincludedir='/usr/include'
    916 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    917 infodir='${datarootdir}/info'
    918 htmldir='${docdir}'
    919 dvidir='${docdir}'
    920 pdfdir='${docdir}'
    921 psdir='${docdir}'
    922 libdir='${exec_prefix}/lib'
    923 localedir='${datarootdir}/locale'
    924 mandir='${datarootdir}/man'
    925 
    926 ac_prev=
    927 ac_dashdash=
    928 for ac_option
    929 do
    930   # If the previous option needs an argument, assign it.
    931   if test -n "$ac_prev"; then
    932     eval $ac_prev=\$ac_option
    933     ac_prev=
    934     continue
    935   fi
    936 
    937   case $ac_option in
    938   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    939   *=)   ac_optarg= ;;
    940   *)    ac_optarg=yes ;;
    941   esac
    942 
    943   # Accept the important Cygnus configure options, so we can diagnose typos.
    944 
    945   case $ac_dashdash$ac_option in
    946   --)
    947     ac_dashdash=yes ;;
    948 
    949   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    950     ac_prev=bindir ;;
    951   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    952     bindir=$ac_optarg ;;
    953 
    954   -build | --build | --buil | --bui | --bu)
    955     ac_prev=build_alias ;;
    956   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    957     build_alias=$ac_optarg ;;
    958 
    959   -cache-file | --cache-file | --cache-fil | --cache-fi \
    960   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    961     ac_prev=cache_file ;;
    962   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    963   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    964     cache_file=$ac_optarg ;;
    965 
    966   --config-cache | -C)
    967     cache_file=config.cache ;;
    968 
    969   -datadir | --datadir | --datadi | --datad)
    970     ac_prev=datadir ;;
    971   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    972     datadir=$ac_optarg ;;
    973 
    974   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    975   | --dataroo | --dataro | --datar)
    976     ac_prev=datarootdir ;;
    977   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    978   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    979     datarootdir=$ac_optarg ;;
    980 
    981   -disable-* | --disable-*)
    982     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    983     # Reject names that are not valid shell variable names.
    984     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       as_fn_error $? "invalid feature name: $ac_useropt"
    986     ac_useropt_orig=$ac_useropt
    987     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    988     case $ac_user_opts in
    989       *"
    990 "enable_$ac_useropt"
    991 "*) ;;
    992       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    993 	 ac_unrecognized_sep=', ';;
    994     esac
    995     eval enable_$ac_useropt=no ;;
    996 
    997   -docdir | --docdir | --docdi | --doc | --do)
    998     ac_prev=docdir ;;
    999   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1000     docdir=$ac_optarg ;;
   1001 
   1002   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1003     ac_prev=dvidir ;;
   1004   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1005     dvidir=$ac_optarg ;;
   1006 
   1007   -enable-* | --enable-*)
   1008     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1009     # Reject names that are not valid shell variable names.
   1010     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1011       as_fn_error $? "invalid feature name: $ac_useropt"
   1012     ac_useropt_orig=$ac_useropt
   1013     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1014     case $ac_user_opts in
   1015       *"
   1016 "enable_$ac_useropt"
   1017 "*) ;;
   1018       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1019 	 ac_unrecognized_sep=', ';;
   1020     esac
   1021     eval enable_$ac_useropt=\$ac_optarg ;;
   1022 
   1023   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1024   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1025   | --exec | --exe | --ex)
   1026     ac_prev=exec_prefix ;;
   1027   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1028   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1029   | --exec=* | --exe=* | --ex=*)
   1030     exec_prefix=$ac_optarg ;;
   1031 
   1032   -gas | --gas | --ga | --g)
   1033     # Obsolete; use --with-gas.
   1034     with_gas=yes ;;
   1035 
   1036   -help | --help | --hel | --he | -h)
   1037     ac_init_help=long ;;
   1038   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1039     ac_init_help=recursive ;;
   1040   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1041     ac_init_help=short ;;
   1042 
   1043   -host | --host | --hos | --ho)
   1044     ac_prev=host_alias ;;
   1045   -host=* | --host=* | --hos=* | --ho=*)
   1046     host_alias=$ac_optarg ;;
   1047 
   1048   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1049     ac_prev=htmldir ;;
   1050   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1051   | --ht=*)
   1052     htmldir=$ac_optarg ;;
   1053 
   1054   -includedir | --includedir | --includedi | --included | --include \
   1055   | --includ | --inclu | --incl | --inc)
   1056     ac_prev=includedir ;;
   1057   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1058   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1059     includedir=$ac_optarg ;;
   1060 
   1061   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1062     ac_prev=infodir ;;
   1063   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1064     infodir=$ac_optarg ;;
   1065 
   1066   -libdir | --libdir | --libdi | --libd)
   1067     ac_prev=libdir ;;
   1068   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1069     libdir=$ac_optarg ;;
   1070 
   1071   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1072   | --libexe | --libex | --libe)
   1073     ac_prev=libexecdir ;;
   1074   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1075   | --libexe=* | --libex=* | --libe=*)
   1076     libexecdir=$ac_optarg ;;
   1077 
   1078   -localedir | --localedir | --localedi | --localed | --locale)
   1079     ac_prev=localedir ;;
   1080   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1081     localedir=$ac_optarg ;;
   1082 
   1083   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1084   | --localstate | --localstat | --localsta | --localst | --locals)
   1085     ac_prev=localstatedir ;;
   1086   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1087   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1088     localstatedir=$ac_optarg ;;
   1089 
   1090   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1091     ac_prev=mandir ;;
   1092   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1093     mandir=$ac_optarg ;;
   1094 
   1095   -nfp | --nfp | --nf)
   1096     # Obsolete; use --without-fp.
   1097     with_fp=no ;;
   1098 
   1099   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1100   | --no-cr | --no-c | -n)
   1101     no_create=yes ;;
   1102 
   1103   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1104   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1105     no_recursion=yes ;;
   1106 
   1107   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1108   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1109   | --oldin | --oldi | --old | --ol | --o)
   1110     ac_prev=oldincludedir ;;
   1111   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1112   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1113   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1114     oldincludedir=$ac_optarg ;;
   1115 
   1116   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1117     ac_prev=prefix ;;
   1118   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1119     prefix=$ac_optarg ;;
   1120 
   1121   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1122   | --program-pre | --program-pr | --program-p)
   1123     ac_prev=program_prefix ;;
   1124   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1125   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1126     program_prefix=$ac_optarg ;;
   1127 
   1128   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1129   | --program-suf | --program-su | --program-s)
   1130     ac_prev=program_suffix ;;
   1131   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1132   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1133     program_suffix=$ac_optarg ;;
   1134 
   1135   -program-transform-name | --program-transform-name \
   1136   | --program-transform-nam | --program-transform-na \
   1137   | --program-transform-n | --program-transform- \
   1138   | --program-transform | --program-transfor \
   1139   | --program-transfo | --program-transf \
   1140   | --program-trans | --program-tran \
   1141   | --progr-tra | --program-tr | --program-t)
   1142     ac_prev=program_transform_name ;;
   1143   -program-transform-name=* | --program-transform-name=* \
   1144   | --program-transform-nam=* | --program-transform-na=* \
   1145   | --program-transform-n=* | --program-transform-=* \
   1146   | --program-transform=* | --program-transfor=* \
   1147   | --program-transfo=* | --program-transf=* \
   1148   | --program-trans=* | --program-tran=* \
   1149   | --progr-tra=* | --program-tr=* | --program-t=*)
   1150     program_transform_name=$ac_optarg ;;
   1151 
   1152   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1153     ac_prev=pdfdir ;;
   1154   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1155     pdfdir=$ac_optarg ;;
   1156 
   1157   -psdir | --psdir | --psdi | --psd | --ps)
   1158     ac_prev=psdir ;;
   1159   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1160     psdir=$ac_optarg ;;
   1161 
   1162   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1163   | -silent | --silent | --silen | --sile | --sil)
   1164     silent=yes ;;
   1165 
   1166   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1167     ac_prev=sbindir ;;
   1168   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1169   | --sbi=* | --sb=*)
   1170     sbindir=$ac_optarg ;;
   1171 
   1172   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1173   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1174   | --sharedst | --shareds | --shared | --share | --shar \
   1175   | --sha | --sh)
   1176     ac_prev=sharedstatedir ;;
   1177   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1178   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1179   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1180   | --sha=* | --sh=*)
   1181     sharedstatedir=$ac_optarg ;;
   1182 
   1183   -site | --site | --sit)
   1184     ac_prev=site ;;
   1185   -site=* | --site=* | --sit=*)
   1186     site=$ac_optarg ;;
   1187 
   1188   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1189     ac_prev=srcdir ;;
   1190   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1191     srcdir=$ac_optarg ;;
   1192 
   1193   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1194   | --syscon | --sysco | --sysc | --sys | --sy)
   1195     ac_prev=sysconfdir ;;
   1196   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1197   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1198     sysconfdir=$ac_optarg ;;
   1199 
   1200   -target | --target | --targe | --targ | --tar | --ta | --t)
   1201     ac_prev=target_alias ;;
   1202   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1203     target_alias=$ac_optarg ;;
   1204 
   1205   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1206     verbose=yes ;;
   1207 
   1208   -version | --version | --versio | --versi | --vers | -V)
   1209     ac_init_version=: ;;
   1210 
   1211   -with-* | --with-*)
   1212     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1213     # Reject names that are not valid shell variable names.
   1214     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1215       as_fn_error $? "invalid package name: $ac_useropt"
   1216     ac_useropt_orig=$ac_useropt
   1217     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1218     case $ac_user_opts in
   1219       *"
   1220 "with_$ac_useropt"
   1221 "*) ;;
   1222       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1223 	 ac_unrecognized_sep=', ';;
   1224     esac
   1225     eval with_$ac_useropt=\$ac_optarg ;;
   1226 
   1227   -without-* | --without-*)
   1228     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1229     # Reject names that are not valid shell variable names.
   1230     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1231       as_fn_error $? "invalid package name: $ac_useropt"
   1232     ac_useropt_orig=$ac_useropt
   1233     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1234     case $ac_user_opts in
   1235       *"
   1236 "with_$ac_useropt"
   1237 "*) ;;
   1238       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1239 	 ac_unrecognized_sep=', ';;
   1240     esac
   1241     eval with_$ac_useropt=no ;;
   1242 
   1243   --x)
   1244     # Obsolete; use --with-x.
   1245     with_x=yes ;;
   1246 
   1247   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1248   | --x-incl | --x-inc | --x-in | --x-i)
   1249     ac_prev=x_includes ;;
   1250   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1251   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1252     x_includes=$ac_optarg ;;
   1253 
   1254   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1255   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1256     ac_prev=x_libraries ;;
   1257   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1258   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1259     x_libraries=$ac_optarg ;;
   1260 
   1261   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1262 Try \`$0 --help' for more information"
   1263     ;;
   1264 
   1265   *=*)
   1266     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1267     # Reject names that are not valid shell variable names.
   1268     case $ac_envvar in #(
   1269       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1270       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1271     esac
   1272     eval $ac_envvar=\$ac_optarg
   1273     export $ac_envvar ;;
   1274 
   1275   *)
   1276     # FIXME: should be removed in autoconf 3.0.
   1277     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1278     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1279       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1280     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1281     ;;
   1282 
   1283   esac
   1284 done
   1285 
   1286 if test -n "$ac_prev"; then
   1287   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1288   as_fn_error $? "missing argument to $ac_option"
   1289 fi
   1290 
   1291 if test -n "$ac_unrecognized_opts"; then
   1292   case $enable_option_checking in
   1293     no) ;;
   1294     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1295     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1296   esac
   1297 fi
   1298 
   1299 # Check all directory arguments for consistency.
   1300 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1301 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1302 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1303 		libdir localedir mandir
   1304 do
   1305   eval ac_val=\$$ac_var
   1306   # Remove trailing slashes.
   1307   case $ac_val in
   1308     */ )
   1309       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1310       eval $ac_var=\$ac_val;;
   1311   esac
   1312   # Be sure to have absolute directory names.
   1313   case $ac_val in
   1314     [\\/$]* | ?:[\\/]* )  continue;;
   1315     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1316   esac
   1317   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1318 done
   1319 
   1320 # There might be people who depend on the old broken behavior: `$host'
   1321 # used to hold the argument of --host etc.
   1322 # FIXME: To remove some day.
   1323 build=$build_alias
   1324 host=$host_alias
   1325 target=$target_alias
   1326 
   1327 # FIXME: To remove some day.
   1328 if test "x$host_alias" != x; then
   1329   if test "x$build_alias" = x; then
   1330     cross_compiling=maybe
   1331     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1332     If a cross compiler is detected then cross compile mode will be used" >&2
   1333   elif test "x$build_alias" != "x$host_alias"; then
   1334     cross_compiling=yes
   1335   fi
   1336 fi
   1337 
   1338 ac_tool_prefix=
   1339 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1340 
   1341 test "$silent" = yes && exec 6>/dev/null
   1342 
   1343 
   1344 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1345 ac_ls_di=`ls -di .` &&
   1346 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1347   as_fn_error $? "working directory cannot be determined"
   1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1349   as_fn_error $? "pwd does not report name of working directory"
   1350 
   1351 
   1352 # Find the source files, if location was not specified.
   1353 if test -z "$srcdir"; then
   1354   ac_srcdir_defaulted=yes
   1355   # Try the directory containing this script, then the parent directory.
   1356   ac_confdir=`$as_dirname -- "$as_myself" ||
   1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1358 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1359 	 X"$as_myself" : 'X\(//\)$' \| \
   1360 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1361 $as_echo X"$as_myself" |
   1362     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\/\)[^/].*/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\/\)$/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\).*/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  s/.*/./; q'`
   1379   srcdir=$ac_confdir
   1380   if test ! -r "$srcdir/$ac_unique_file"; then
   1381     srcdir=..
   1382   fi
   1383 else
   1384   ac_srcdir_defaulted=no
   1385 fi
   1386 if test ! -r "$srcdir/$ac_unique_file"; then
   1387   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1388   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1389 fi
   1390 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1391 ac_abs_confdir=`(
   1392 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1393 	pwd)`
   1394 # When building in place, set srcdir=.
   1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1396   srcdir=.
   1397 fi
   1398 # Remove unnecessary trailing slashes from srcdir.
   1399 # Double slashes in file names in object file debugging info
   1400 # mess up M-x gdb in Emacs.
   1401 case $srcdir in
   1402 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1403 esac
   1404 for ac_var in $ac_precious_vars; do
   1405   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1406   eval ac_env_${ac_var}_value=\$${ac_var}
   1407   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1408   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1409 done
   1410 
   1411 #
   1412 # Report the --help message.
   1413 #
   1414 if test "$ac_init_help" = "long"; then
   1415   # Omit some internal or obsolete options to make the list less imposing.
   1416   # This message is too long to be a string in the A/UX 3.1 sh.
   1417   cat <<_ACEOF
   1418 \`configure' configures libXi 1.4.3 to adapt to many kinds of systems.
   1419 
   1420 Usage: $0 [OPTION]... [VAR=VALUE]...
   1421 
   1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1423 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1424 
   1425 Defaults for the options are specified in brackets.
   1426 
   1427 Configuration:
   1428   -h, --help              display this help and exit
   1429       --help=short        display options specific to this package
   1430       --help=recursive    display the short help of all the included packages
   1431   -V, --version           display version information and exit
   1432   -q, --quiet, --silent   do not print \`checking ...' messages
   1433       --cache-file=FILE   cache test results in FILE [disabled]
   1434   -C, --config-cache      alias for \`--cache-file=config.cache'
   1435   -n, --no-create         do not create output files
   1436       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1437 
   1438 Installation directories:
   1439   --prefix=PREFIX         install architecture-independent files in PREFIX
   1440                           [$ac_default_prefix]
   1441   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1442                           [PREFIX]
   1443 
   1444 By default, \`make install' will install all the files in
   1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1447 for instance \`--prefix=\$HOME'.
   1448 
   1449 For better control, use the options below.
   1450 
   1451 Fine tuning of the installation directories:
   1452   --bindir=DIR            user executables [EPREFIX/bin]
   1453   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1454   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1455   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1456   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1457   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1458   --libdir=DIR            object code libraries [EPREFIX/lib]
   1459   --includedir=DIR        C header files [PREFIX/include]
   1460   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1461   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1462   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1463   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1464   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1465   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1466   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXi]
   1467   --htmldir=DIR           html documentation [DOCDIR]
   1468   --dvidir=DIR            dvi documentation [DOCDIR]
   1469   --pdfdir=DIR            pdf documentation [DOCDIR]
   1470   --psdir=DIR             ps documentation [DOCDIR]
   1471 _ACEOF
   1472 
   1473   cat <<\_ACEOF
   1474 
   1475 Program names:
   1476   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1477   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1478   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1479 
   1480 System types:
   1481   --build=BUILD     configure for building on BUILD [guessed]
   1482   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1483 _ACEOF
   1484 fi
   1485 
   1486 if test -n "$ac_init_help"; then
   1487   case $ac_init_help in
   1488      short | recursive ) echo "Configuration of libXi 1.4.3:";;
   1489    esac
   1490   cat <<\_ACEOF
   1491 
   1492 Optional Features:
   1493   --disable-option-checking  ignore unrecognized --enable/--with options
   1494   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1495   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1496   --enable-maintainer-mode  enable make rules and dependencies not useful
   1497 			  (and sometimes confusing) to the casual installer
   1498   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1499   --enable-static[=PKGS]  build static libraries [default=yes]
   1500   --enable-fast-install[=PKGS]
   1501                           optimize for fast installation [default=yes]
   1502   --disable-dependency-tracking  speeds up one-time build
   1503   --enable-dependency-tracking   do not reject slow dependency extractors
   1504   --disable-libtool-lock  avoid locking (might break parallel builds)
   1505   --enable-strict-compilation
   1506                           Enable all warnings from compiler and make them
   1507                           errors (default: disabled)
   1508   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1509   --disable-silent-rules         verbose build output (undo: `make V=0')
   1510   --enable-specs          Enable building the specs (default: yes)
   1511   --enable-malloc0returnsnull
   1512                           malloc(0) returns NULL (default: auto)
   1513 
   1514 Optional Packages:
   1515   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1516   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1517   --with-pic              try to use only PIC/non-PIC objects [default=use
   1518                           both]
   1519   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1520   --with-sysroot=DIR Search for dependent libraries within DIR
   1521                         (or the compiler's sysroot if not specified).
   1522   --with-xmlto            Use xmlto to regenerate documentation (default:
   1523                           auto)
   1524   --with-fop              Use fop to regenerate documentation (default: auto)
   1525   --with-asciidoc         Use asciidoc to regenerate documentation (default:
   1526                           auto)
   1527 
   1528 Some influential environment variables:
   1529   CC          C compiler command
   1530   CFLAGS      C compiler flags
   1531   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1532               nonstandard directory <lib dir>
   1533   LIBS        libraries to pass to the linker, e.g. -l<library>
   1534   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1535               you have headers in a nonstandard directory <include dir>
   1536   CPP         C preprocessor
   1537   PKG_CONFIG  path to pkg-config utility
   1538   PKG_CONFIG_PATH
   1539               directories to add to pkg-config's search path
   1540   PKG_CONFIG_LIBDIR
   1541               path overriding pkg-config's built-in search path
   1542   XMLTO       Path to xmlto command
   1543   FOP         Path to fop command
   1544   ASCIIDOC    Path to asciidoc command
   1545   XI_CFLAGS   C compiler flags for XI, overriding pkg-config
   1546   XI_LIBS     linker flags for XI, overriding pkg-config
   1547 
   1548 Use these variables to override the choices made by `configure' or to help
   1549 it to find libraries and programs with nonstandard names/locations.
   1550 
   1551 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1552 _ACEOF
   1553 ac_status=$?
   1554 fi
   1555 
   1556 if test "$ac_init_help" = "recursive"; then
   1557   # If there are subdirs, report their specific --help.
   1558   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1559     test -d "$ac_dir" ||
   1560       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1561       continue
   1562     ac_builddir=.
   1563 
   1564 case "$ac_dir" in
   1565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1566 *)
   1567   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1568   # A ".." for each directory in $ac_dir_suffix.
   1569   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1570   case $ac_top_builddir_sub in
   1571   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1572   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1573   esac ;;
   1574 esac
   1575 ac_abs_top_builddir=$ac_pwd
   1576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1577 # for backward compatibility:
   1578 ac_top_builddir=$ac_top_build_prefix
   1579 
   1580 case $srcdir in
   1581   .)  # We are building in place.
   1582     ac_srcdir=.
   1583     ac_top_srcdir=$ac_top_builddir_sub
   1584     ac_abs_top_srcdir=$ac_pwd ;;
   1585   [\\/]* | ?:[\\/]* )  # Absolute name.
   1586     ac_srcdir=$srcdir$ac_dir_suffix;
   1587     ac_top_srcdir=$srcdir
   1588     ac_abs_top_srcdir=$srcdir ;;
   1589   *) # Relative name.
   1590     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1591     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1592     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1593 esac
   1594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1595 
   1596     cd "$ac_dir" || { ac_status=$?; continue; }
   1597     # Check for guested configure.
   1598     if test -f "$ac_srcdir/configure.gnu"; then
   1599       echo &&
   1600       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1601     elif test -f "$ac_srcdir/configure"; then
   1602       echo &&
   1603       $SHELL "$ac_srcdir/configure" --help=recursive
   1604     else
   1605       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1606     fi || ac_status=$?
   1607     cd "$ac_pwd" || { ac_status=$?; break; }
   1608   done
   1609 fi
   1610 
   1611 test -n "$ac_init_help" && exit $ac_status
   1612 if $ac_init_version; then
   1613   cat <<\_ACEOF
   1614 libXi configure 1.4.3
   1615 generated by GNU Autoconf 2.68
   1616 
   1617 Copyright (C) 2010 Free Software Foundation, Inc.
   1618 This configure script is free software; the Free Software Foundation
   1619 gives unlimited permission to copy, distribute and modify it.
   1620 _ACEOF
   1621   exit
   1622 fi
   1623 
   1624 ## ------------------------ ##
   1625 ## Autoconf initialization. ##
   1626 ## ------------------------ ##
   1627 
   1628 # ac_fn_c_try_compile LINENO
   1629 # --------------------------
   1630 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1631 ac_fn_c_try_compile ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   rm -f conftest.$ac_objext
   1635   if { { ac_try="$ac_compile"
   1636 case "(($ac_try" in
   1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1638   *) ac_try_echo=$ac_try;;
   1639 esac
   1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1641 $as_echo "$ac_try_echo"; } >&5
   1642   (eval "$ac_compile") 2>conftest.err
   1643   ac_status=$?
   1644   if test -s conftest.err; then
   1645     grep -v '^ *+' conftest.err >conftest.er1
   1646     cat conftest.er1 >&5
   1647     mv -f conftest.er1 conftest.err
   1648   fi
   1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1650   test $ac_status = 0; } && {
   1651 	 test -z "$ac_c_werror_flag" ||
   1652 	 test ! -s conftest.err
   1653        } && test -s conftest.$ac_objext; then :
   1654   ac_retval=0
   1655 else
   1656   $as_echo "$as_me: failed program was:" >&5
   1657 sed 's/^/| /' conftest.$ac_ext >&5
   1658 
   1659 	ac_retval=1
   1660 fi
   1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1662   as_fn_set_status $ac_retval
   1663 
   1664 } # ac_fn_c_try_compile
   1665 
   1666 # ac_fn_c_try_link LINENO
   1667 # -----------------------
   1668 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1669 ac_fn_c_try_link ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   rm -f conftest.$ac_objext conftest$ac_exeext
   1673   if { { ac_try="$ac_link"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_link") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } && {
   1689 	 test -z "$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        } && test -s conftest$ac_exeext && {
   1692 	 test "$cross_compiling" = yes ||
   1693 	 $as_test_x conftest$ac_exeext
   1694        }; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700 	ac_retval=1
   1701 fi
   1702   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1703   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1704   # interfere with the next link command; also delete a directory that is
   1705   # left behind by Apple's compiler.  We do this before executing the actions.
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_link
   1711 
   1712 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1713 # -------------------------------------------------------
   1714 # Tests whether HEADER exists and can be compiled using the include files in
   1715 # INCLUDES, setting the cache variable VAR accordingly.
   1716 ac_fn_c_check_header_compile ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 $as_echo_n "checking for $2... " >&6; }
   1721 if eval \${$3+:} false; then :
   1722   $as_echo_n "(cached) " >&6
   1723 else
   1724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1725 /* end confdefs.h.  */
   1726 $4
   1727 #include <$2>
   1728 _ACEOF
   1729 if ac_fn_c_try_compile "$LINENO"; then :
   1730   eval "$3=yes"
   1731 else
   1732   eval "$3=no"
   1733 fi
   1734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1735 fi
   1736 eval ac_res=\$$3
   1737 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1738 $as_echo "$ac_res" >&6; }
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740 
   1741 } # ac_fn_c_check_header_compile
   1742 
   1743 # ac_fn_c_try_cpp LINENO
   1744 # ----------------------
   1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1746 ac_fn_c_try_cpp ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1750 case "(($ac_try" in
   1751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1752   *) ac_try_echo=$ac_try;;
   1753 esac
   1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1755 $as_echo "$ac_try_echo"; } >&5
   1756   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1757   ac_status=$?
   1758   if test -s conftest.err; then
   1759     grep -v '^ *+' conftest.err >conftest.er1
   1760     cat conftest.er1 >&5
   1761     mv -f conftest.er1 conftest.err
   1762   fi
   1763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1764   test $ac_status = 0; } > conftest.i && {
   1765 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1766 	 test ! -s conftest.err
   1767        }; then :
   1768   ac_retval=0
   1769 else
   1770   $as_echo "$as_me: failed program was:" >&5
   1771 sed 's/^/| /' conftest.$ac_ext >&5
   1772 
   1773     ac_retval=1
   1774 fi
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776   as_fn_set_status $ac_retval
   1777 
   1778 } # ac_fn_c_try_cpp
   1779 
   1780 # ac_fn_c_try_run LINENO
   1781 # ----------------------
   1782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1783 # that executables *can* be run.
   1784 ac_fn_c_try_run ()
   1785 {
   1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1787   if { { ac_try="$ac_link"
   1788 case "(($ac_try" in
   1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1790   *) ac_try_echo=$ac_try;;
   1791 esac
   1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1793 $as_echo "$ac_try_echo"; } >&5
   1794   (eval "$ac_link") 2>&5
   1795   ac_status=$?
   1796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1797   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1798   { { case "(($ac_try" in
   1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1800   *) ac_try_echo=$ac_try;;
   1801 esac
   1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1803 $as_echo "$ac_try_echo"; } >&5
   1804   (eval "$ac_try") 2>&5
   1805   ac_status=$?
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; }; }; then :
   1808   ac_retval=0
   1809 else
   1810   $as_echo "$as_me: program exited with status $ac_status" >&5
   1811        $as_echo "$as_me: failed program was:" >&5
   1812 sed 's/^/| /' conftest.$ac_ext >&5
   1813 
   1814        ac_retval=$ac_status
   1815 fi
   1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818   as_fn_set_status $ac_retval
   1819 
   1820 } # ac_fn_c_try_run
   1821 
   1822 # ac_fn_c_check_func LINENO FUNC VAR
   1823 # ----------------------------------
   1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1825 ac_fn_c_check_func ()
   1826 {
   1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1829 $as_echo_n "checking for $2... " >&6; }
   1830 if eval \${$3+:} false; then :
   1831   $as_echo_n "(cached) " >&6
   1832 else
   1833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1834 /* end confdefs.h.  */
   1835 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1837 #define $2 innocuous_$2
   1838 
   1839 /* System header to define __stub macros and hopefully few prototypes,
   1840     which can conflict with char $2 (); below.
   1841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1842     <limits.h> exists even on freestanding compilers.  */
   1843 
   1844 #ifdef __STDC__
   1845 # include <limits.h>
   1846 #else
   1847 # include <assert.h>
   1848 #endif
   1849 
   1850 #undef $2
   1851 
   1852 /* Override any GCC internal prototype to avoid an error.
   1853    Use char because int might match the return type of a GCC
   1854    builtin and then its argument prototype would still apply.  */
   1855 #ifdef __cplusplus
   1856 extern "C"
   1857 #endif
   1858 char $2 ();
   1859 /* The GNU C library defines this for functions which it implements
   1860     to always fail with ENOSYS.  Some functions are actually named
   1861     something starting with __ and the normal name is an alias.  */
   1862 #if defined __stub_$2 || defined __stub___$2
   1863 choke me
   1864 #endif
   1865 
   1866 int
   1867 main ()
   1868 {
   1869 return $2 ();
   1870   ;
   1871   return 0;
   1872 }
   1873 _ACEOF
   1874 if ac_fn_c_try_link "$LINENO"; then :
   1875   eval "$3=yes"
   1876 else
   1877   eval "$3=no"
   1878 fi
   1879 rm -f core conftest.err conftest.$ac_objext \
   1880     conftest$ac_exeext conftest.$ac_ext
   1881 fi
   1882 eval ac_res=\$$3
   1883 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1884 $as_echo "$ac_res" >&6; }
   1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1886 
   1887 } # ac_fn_c_check_func
   1888 
   1889 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1890 # ---------------------------------------------
   1891 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1892 # accordingly.
   1893 ac_fn_c_check_decl ()
   1894 {
   1895   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1896   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1897   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1899 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1900 if eval \${$3+:} false; then :
   1901   $as_echo_n "(cached) " >&6
   1902 else
   1903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1904 /* end confdefs.h.  */
   1905 $4
   1906 int
   1907 main ()
   1908 {
   1909 #ifndef $as_decl_name
   1910 #ifdef __cplusplus
   1911   (void) $as_decl_use;
   1912 #else
   1913   (void) $as_decl_name;
   1914 #endif
   1915 #endif
   1916 
   1917   ;
   1918   return 0;
   1919 }
   1920 _ACEOF
   1921 if ac_fn_c_try_compile "$LINENO"; then :
   1922   eval "$3=yes"
   1923 else
   1924   eval "$3=no"
   1925 fi
   1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1927 fi
   1928 eval ac_res=\$$3
   1929 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1930 $as_echo "$ac_res" >&6; }
   1931   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1932 
   1933 } # ac_fn_c_check_decl
   1934 cat >config.log <<_ACEOF
   1935 This file contains any messages produced by compilers while
   1936 running configure, to aid debugging if configure makes a mistake.
   1937 
   1938 It was created by libXi $as_me 1.4.3, which was
   1939 generated by GNU Autoconf 2.68.  Invocation command line was
   1940 
   1941   $ $0 $@
   1942 
   1943 _ACEOF
   1944 exec 5>>config.log
   1945 {
   1946 cat <<_ASUNAME
   1947 ## --------- ##
   1948 ## Platform. ##
   1949 ## --------- ##
   1950 
   1951 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1952 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1953 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1954 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1955 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1956 
   1957 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1958 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1959 
   1960 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1961 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1962 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1963 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1964 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1965 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1966 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1967 
   1968 _ASUNAME
   1969 
   1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1971 for as_dir in $PATH
   1972 do
   1973   IFS=$as_save_IFS
   1974   test -z "$as_dir" && as_dir=.
   1975     $as_echo "PATH: $as_dir"
   1976   done
   1977 IFS=$as_save_IFS
   1978 
   1979 } >&5
   1980 
   1981 cat >&5 <<_ACEOF
   1982 
   1983 
   1984 ## ----------- ##
   1985 ## Core tests. ##
   1986 ## ----------- ##
   1987 
   1988 _ACEOF
   1989 
   1990 
   1991 # Keep a trace of the command line.
   1992 # Strip out --no-create and --no-recursion so they do not pile up.
   1993 # Strip out --silent because we don't want to record it for future runs.
   1994 # Also quote any args containing shell meta-characters.
   1995 # Make two passes to allow for proper duplicate-argument suppression.
   1996 ac_configure_args=
   1997 ac_configure_args0=
   1998 ac_configure_args1=
   1999 ac_must_keep_next=false
   2000 for ac_pass in 1 2
   2001 do
   2002   for ac_arg
   2003   do
   2004     case $ac_arg in
   2005     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2006     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2007     | -silent | --silent | --silen | --sile | --sil)
   2008       continue ;;
   2009     *\'*)
   2010       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2011     esac
   2012     case $ac_pass in
   2013     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2014     2)
   2015       as_fn_append ac_configure_args1 " '$ac_arg'"
   2016       if test $ac_must_keep_next = true; then
   2017 	ac_must_keep_next=false # Got value, back to normal.
   2018       else
   2019 	case $ac_arg in
   2020 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2021 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2022 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2023 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2024 	    case "$ac_configure_args0 " in
   2025 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2026 	    esac
   2027 	    ;;
   2028 	  -* ) ac_must_keep_next=true ;;
   2029 	esac
   2030       fi
   2031       as_fn_append ac_configure_args " '$ac_arg'"
   2032       ;;
   2033     esac
   2034   done
   2035 done
   2036 { ac_configure_args0=; unset ac_configure_args0;}
   2037 { ac_configure_args1=; unset ac_configure_args1;}
   2038 
   2039 # When interrupted or exit'd, cleanup temporary files, and complete
   2040 # config.log.  We remove comments because anyway the quotes in there
   2041 # would cause problems or look ugly.
   2042 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2043 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2044 trap 'exit_status=$?
   2045   # Save into config.log some information that might help in debugging.
   2046   {
   2047     echo
   2048 
   2049     $as_echo "## ---------------- ##
   2050 ## Cache variables. ##
   2051 ## ---------------- ##"
   2052     echo
   2053     # The following way of writing the cache mishandles newlines in values,
   2054 (
   2055   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2056     eval ac_val=\$$ac_var
   2057     case $ac_val in #(
   2058     *${as_nl}*)
   2059       case $ac_var in #(
   2060       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2062       esac
   2063       case $ac_var in #(
   2064       _ | IFS | as_nl) ;; #(
   2065       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2066       *) { eval $ac_var=; unset $ac_var;} ;;
   2067       esac ;;
   2068     esac
   2069   done
   2070   (set) 2>&1 |
   2071     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2072     *${as_nl}ac_space=\ *)
   2073       sed -n \
   2074 	"s/'\''/'\''\\\\'\'''\''/g;
   2075 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2076       ;; #(
   2077     *)
   2078       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2079       ;;
   2080     esac |
   2081     sort
   2082 )
   2083     echo
   2084 
   2085     $as_echo "## ----------------- ##
   2086 ## Output variables. ##
   2087 ## ----------------- ##"
   2088     echo
   2089     for ac_var in $ac_subst_vars
   2090     do
   2091       eval ac_val=\$$ac_var
   2092       case $ac_val in
   2093       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2094       esac
   2095       $as_echo "$ac_var='\''$ac_val'\''"
   2096     done | sort
   2097     echo
   2098 
   2099     if test -n "$ac_subst_files"; then
   2100       $as_echo "## ------------------- ##
   2101 ## File substitutions. ##
   2102 ## ------------------- ##"
   2103       echo
   2104       for ac_var in $ac_subst_files
   2105       do
   2106 	eval ac_val=\$$ac_var
   2107 	case $ac_val in
   2108 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2109 	esac
   2110 	$as_echo "$ac_var='\''$ac_val'\''"
   2111       done | sort
   2112       echo
   2113     fi
   2114 
   2115     if test -s confdefs.h; then
   2116       $as_echo "## ----------- ##
   2117 ## confdefs.h. ##
   2118 ## ----------- ##"
   2119       echo
   2120       cat confdefs.h
   2121       echo
   2122     fi
   2123     test "$ac_signal" != 0 &&
   2124       $as_echo "$as_me: caught signal $ac_signal"
   2125     $as_echo "$as_me: exit $exit_status"
   2126   } >&5
   2127   rm -f core *.core core.conftest.* &&
   2128     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2129     exit $exit_status
   2130 ' 0
   2131 for ac_signal in 1 2 13 15; do
   2132   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2133 done
   2134 ac_signal=0
   2135 
   2136 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2137 rm -f -r conftest* confdefs.h
   2138 
   2139 $as_echo "/* confdefs.h */" > confdefs.h
   2140 
   2141 # Predefined preprocessor variables.
   2142 
   2143 cat >>confdefs.h <<_ACEOF
   2144 #define PACKAGE_NAME "$PACKAGE_NAME"
   2145 _ACEOF
   2146 
   2147 cat >>confdefs.h <<_ACEOF
   2148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2149 _ACEOF
   2150 
   2151 cat >>confdefs.h <<_ACEOF
   2152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2153 _ACEOF
   2154 
   2155 cat >>confdefs.h <<_ACEOF
   2156 #define PACKAGE_STRING "$PACKAGE_STRING"
   2157 _ACEOF
   2158 
   2159 cat >>confdefs.h <<_ACEOF
   2160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2161 _ACEOF
   2162 
   2163 cat >>confdefs.h <<_ACEOF
   2164 #define PACKAGE_URL "$PACKAGE_URL"
   2165 _ACEOF
   2166 
   2167 
   2168 # Let the site file select an alternate cache file if it wants to.
   2169 # Prefer an explicitly selected file to automatically selected ones.
   2170 ac_site_file1=NONE
   2171 ac_site_file2=NONE
   2172 if test -n "$CONFIG_SITE"; then
   2173   # We do not want a PATH search for config.site.
   2174   case $CONFIG_SITE in #((
   2175     -*)  ac_site_file1=./$CONFIG_SITE;;
   2176     */*) ac_site_file1=$CONFIG_SITE;;
   2177     *)   ac_site_file1=./$CONFIG_SITE;;
   2178   esac
   2179 elif test "x$prefix" != xNONE; then
   2180   ac_site_file1=$prefix/share/config.site
   2181   ac_site_file2=$prefix/etc/config.site
   2182 else
   2183   ac_site_file1=$ac_default_prefix/share/config.site
   2184   ac_site_file2=$ac_default_prefix/etc/config.site
   2185 fi
   2186 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2187 do
   2188   test "x$ac_site_file" = xNONE && continue
   2189   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2190     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2191 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2192     sed 's/^/| /' "$ac_site_file" >&5
   2193     . "$ac_site_file" \
   2194       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2196 as_fn_error $? "failed to load site script $ac_site_file
   2197 See \`config.log' for more details" "$LINENO" 5; }
   2198   fi
   2199 done
   2200 
   2201 if test -r "$cache_file"; then
   2202   # Some versions of bash will fail to source /dev/null (special files
   2203   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2204   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2205     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2206 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2207     case $cache_file in
   2208       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2209       *)                      . "./$cache_file";;
   2210     esac
   2211   fi
   2212 else
   2213   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2214 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2215   >$cache_file
   2216 fi
   2217 
   2218 # Check that the precious variables saved in the cache have kept the same
   2219 # value.
   2220 ac_cache_corrupted=false
   2221 for ac_var in $ac_precious_vars; do
   2222   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2223   eval ac_new_set=\$ac_env_${ac_var}_set
   2224   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2225   eval ac_new_val=\$ac_env_${ac_var}_value
   2226   case $ac_old_set,$ac_new_set in
   2227     set,)
   2228       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2229 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2230       ac_cache_corrupted=: ;;
   2231     ,set)
   2232       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2233 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2234       ac_cache_corrupted=: ;;
   2235     ,);;
   2236     *)
   2237       if test "x$ac_old_val" != "x$ac_new_val"; then
   2238 	# differences in whitespace do not lead to failure.
   2239 	ac_old_val_w=`echo x $ac_old_val`
   2240 	ac_new_val_w=`echo x $ac_new_val`
   2241 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2242 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2243 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2244 	  ac_cache_corrupted=:
   2245 	else
   2246 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2247 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2248 	  eval $ac_var=\$ac_old_val
   2249 	fi
   2250 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2251 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2252 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2253 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2254       fi;;
   2255   esac
   2256   # Pass precious variables to config.status.
   2257   if test "$ac_new_set" = set; then
   2258     case $ac_new_val in
   2259     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2260     *) ac_arg=$ac_var=$ac_new_val ;;
   2261     esac
   2262     case " $ac_configure_args " in
   2263       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2264       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2265     esac
   2266   fi
   2267 done
   2268 if $ac_cache_corrupted; then
   2269   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2271   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2272 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2273   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2274 fi
   2275 ## -------------------- ##
   2276 ## Main body of script. ##
   2277 ## -------------------- ##
   2278 
   2279 ac_ext=c
   2280 ac_cpp='$CPP $CPPFLAGS'
   2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2284 
   2285 
   2286 
   2287 ac_config_headers="$ac_config_headers src/config.h"
   2288 
   2289 
   2290 # Initialize Automake
   2291 am__api_version='1.11'
   2292 
   2293 ac_aux_dir=
   2294 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2295   if test -f "$ac_dir/install-sh"; then
   2296     ac_aux_dir=$ac_dir
   2297     ac_install_sh="$ac_aux_dir/install-sh -c"
   2298     break
   2299   elif test -f "$ac_dir/install.sh"; then
   2300     ac_aux_dir=$ac_dir
   2301     ac_install_sh="$ac_aux_dir/install.sh -c"
   2302     break
   2303   elif test -f "$ac_dir/shtool"; then
   2304     ac_aux_dir=$ac_dir
   2305     ac_install_sh="$ac_aux_dir/shtool install -c"
   2306     break
   2307   fi
   2308 done
   2309 if test -z "$ac_aux_dir"; then
   2310   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2311 fi
   2312 
   2313 # These three variables are undocumented and unsupported,
   2314 # and are intended to be withdrawn in a future Autoconf release.
   2315 # They can cause serious problems if a builder's source tree is in a directory
   2316 # whose full name contains unusual characters.
   2317 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2318 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2319 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2320 
   2321 
   2322 # Find a good install program.  We prefer a C program (faster),
   2323 # so one script is as good as another.  But avoid the broken or
   2324 # incompatible versions:
   2325 # SysV /etc/install, /usr/sbin/install
   2326 # SunOS /usr/etc/install
   2327 # IRIX /sbin/install
   2328 # AIX /bin/install
   2329 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2330 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2331 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2332 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2333 # OS/2's system install, which has a completely different semantic
   2334 # ./install, which can be erroneously created by make from ./install.sh.
   2335 # Reject install programs that cannot install multiple files.
   2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2337 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2338 if test -z "$INSTALL"; then
   2339 if ${ac_cv_path_install+:} false; then :
   2340   $as_echo_n "(cached) " >&6
   2341 else
   2342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347     # Account for people who put trailing slashes in PATH elements.
   2348 case $as_dir/ in #((
   2349   ./ | .// | /[cC]/* | \
   2350   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2351   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2352   /usr/ucb/* ) ;;
   2353   *)
   2354     # OSF1 and SCO ODT 3.0 have their own names for install.
   2355     # Don't use installbsd from OSF since it installs stuff as root
   2356     # by default.
   2357     for ac_prog in ginstall scoinst install; do
   2358       for ac_exec_ext in '' $ac_executable_extensions; do
   2359 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2360 	  if test $ac_prog = install &&
   2361 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2362 	    # AIX install.  It has an incompatible calling convention.
   2363 	    :
   2364 	  elif test $ac_prog = install &&
   2365 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2366 	    # program-specific install script used by HP pwplus--don't use.
   2367 	    :
   2368 	  else
   2369 	    rm -rf conftest.one conftest.two conftest.dir
   2370 	    echo one > conftest.one
   2371 	    echo two > conftest.two
   2372 	    mkdir conftest.dir
   2373 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2374 	      test -s conftest.one && test -s conftest.two &&
   2375 	      test -s conftest.dir/conftest.one &&
   2376 	      test -s conftest.dir/conftest.two
   2377 	    then
   2378 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2379 	      break 3
   2380 	    fi
   2381 	  fi
   2382 	fi
   2383       done
   2384     done
   2385     ;;
   2386 esac
   2387 
   2388   done
   2389 IFS=$as_save_IFS
   2390 
   2391 rm -rf conftest.one conftest.two conftest.dir
   2392 
   2393 fi
   2394   if test "${ac_cv_path_install+set}" = set; then
   2395     INSTALL=$ac_cv_path_install
   2396   else
   2397     # As a last resort, use the slow shell script.  Don't cache a
   2398     # value for INSTALL within a source directory, because that will
   2399     # break other packages using the cache if that directory is
   2400     # removed, or if the value is a relative name.
   2401     INSTALL=$ac_install_sh
   2402   fi
   2403 fi
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2405 $as_echo "$INSTALL" >&6; }
   2406 
   2407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2408 # It thinks the first close brace ends the variable substitution.
   2409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2410 
   2411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2412 
   2413 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2414 
   2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2416 $as_echo_n "checking whether build environment is sane... " >&6; }
   2417 # Just in case
   2418 sleep 1
   2419 echo timestamp > conftest.file
   2420 # Reject unsafe characters in $srcdir or the absolute working directory
   2421 # name.  Accept space and tab only in the latter.
   2422 am_lf='
   2423 '
   2424 case `pwd` in
   2425   *[\\\"\#\$\&\'\`$am_lf]*)
   2426     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2427 esac
   2428 case $srcdir in
   2429   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2430     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2431 esac
   2432 
   2433 # Do `set' in a subshell so we don't clobber the current shell's
   2434 # arguments.  Must try -L first in case configure is actually a
   2435 # symlink; some systems play weird games with the mod time of symlinks
   2436 # (eg FreeBSD returns the mod time of the symlink's containing
   2437 # directory).
   2438 if (
   2439    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2440    if test "$*" = "X"; then
   2441       # -L didn't work.
   2442       set X `ls -t "$srcdir/configure" conftest.file`
   2443    fi
   2444    rm -f conftest.file
   2445    if test "$*" != "X $srcdir/configure conftest.file" \
   2446       && test "$*" != "X conftest.file $srcdir/configure"; then
   2447 
   2448       # If neither matched, then we have a broken ls.  This can happen
   2449       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2450       # broken ls alias from the environment.  This has actually
   2451       # happened.  Such a system could not be considered "sane".
   2452       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2453 alias in your environment" "$LINENO" 5
   2454    fi
   2455 
   2456    test "$2" = conftest.file
   2457    )
   2458 then
   2459    # Ok.
   2460    :
   2461 else
   2462    as_fn_error $? "newly created file is older than distributed files!
   2463 Check your system clock" "$LINENO" 5
   2464 fi
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2466 $as_echo "yes" >&6; }
   2467 test "$program_prefix" != NONE &&
   2468   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2469 # Use a double $ so make ignores it.
   2470 test "$program_suffix" != NONE &&
   2471   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2472 # Double any \ or $.
   2473 # By default was `s,x,x', remove it if useless.
   2474 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2475 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2476 
   2477 # expand $ac_aux_dir to an absolute path
   2478 am_aux_dir=`cd $ac_aux_dir && pwd`
   2479 
   2480 if test x"${MISSING+set}" != xset; then
   2481   case $am_aux_dir in
   2482   *\ * | *\	*)
   2483     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2484   *)
   2485     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2486   esac
   2487 fi
   2488 # Use eval to expand $SHELL
   2489 if eval "$MISSING --run true"; then
   2490   am_missing_run="$MISSING --run "
   2491 else
   2492   am_missing_run=
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2494 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2495 fi
   2496 
   2497 if test x"${install_sh}" != xset; then
   2498   case $am_aux_dir in
   2499   *\ * | *\	*)
   2500     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2501   *)
   2502     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2503   esac
   2504 fi
   2505 
   2506 # Installed binaries are usually stripped using `strip' when the user
   2507 # run `make install-strip'.  However `strip' might not be the right
   2508 # tool to use in cross-compilation environments, therefore Automake
   2509 # will honor the `STRIP' environment variable to overrule this program.
   2510 if test "$cross_compiling" != no; then
   2511   if test -n "$ac_tool_prefix"; then
   2512   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2513 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2515 $as_echo_n "checking for $ac_word... " >&6; }
   2516 if ${ac_cv_prog_STRIP+:} false; then :
   2517   $as_echo_n "(cached) " >&6
   2518 else
   2519   if test -n "$STRIP"; then
   2520   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2521 else
   2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2523 for as_dir in $PATH
   2524 do
   2525   IFS=$as_save_IFS
   2526   test -z "$as_dir" && as_dir=.
   2527     for ac_exec_ext in '' $ac_executable_extensions; do
   2528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2529     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2531     break 2
   2532   fi
   2533 done
   2534   done
   2535 IFS=$as_save_IFS
   2536 
   2537 fi
   2538 fi
   2539 STRIP=$ac_cv_prog_STRIP
   2540 if test -n "$STRIP"; then
   2541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2542 $as_echo "$STRIP" >&6; }
   2543 else
   2544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2545 $as_echo "no" >&6; }
   2546 fi
   2547 
   2548 
   2549 fi
   2550 if test -z "$ac_cv_prog_STRIP"; then
   2551   ac_ct_STRIP=$STRIP
   2552   # Extract the first word of "strip", so it can be a program name with args.
   2553 set dummy strip; ac_word=$2
   2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2555 $as_echo_n "checking for $ac_word... " >&6; }
   2556 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2557   $as_echo_n "(cached) " >&6
   2558 else
   2559   if test -n "$ac_ct_STRIP"; then
   2560   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2561 else
   2562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567     for ac_exec_ext in '' $ac_executable_extensions; do
   2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2569     ac_cv_prog_ac_ct_STRIP="strip"
   2570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2571     break 2
   2572   fi
   2573 done
   2574   done
   2575 IFS=$as_save_IFS
   2576 
   2577 fi
   2578 fi
   2579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2580 if test -n "$ac_ct_STRIP"; then
   2581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2582 $as_echo "$ac_ct_STRIP" >&6; }
   2583 else
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2585 $as_echo "no" >&6; }
   2586 fi
   2587 
   2588   if test "x$ac_ct_STRIP" = x; then
   2589     STRIP=":"
   2590   else
   2591     case $cross_compiling:$ac_tool_warned in
   2592 yes:)
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2595 ac_tool_warned=yes ;;
   2596 esac
   2597     STRIP=$ac_ct_STRIP
   2598   fi
   2599 else
   2600   STRIP="$ac_cv_prog_STRIP"
   2601 fi
   2602 
   2603 fi
   2604 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2605 
   2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2607 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2608 if test -z "$MKDIR_P"; then
   2609   if ${ac_cv_path_mkdir+:} false; then :
   2610   $as_echo_n "(cached) " >&6
   2611 else
   2612   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_prog in mkdir gmkdir; do
   2618 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2619 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2620 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2621 	     'mkdir (GNU coreutils) '* | \
   2622 	     'mkdir (coreutils) '* | \
   2623 	     'mkdir (fileutils) '4.1*)
   2624 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2625 	       break 3;;
   2626 	   esac
   2627 	 done
   2628        done
   2629   done
   2630 IFS=$as_save_IFS
   2631 
   2632 fi
   2633 
   2634   test -d ./--version && rmdir ./--version
   2635   if test "${ac_cv_path_mkdir+set}" = set; then
   2636     MKDIR_P="$ac_cv_path_mkdir -p"
   2637   else
   2638     # As a last resort, use the slow shell script.  Don't cache a
   2639     # value for MKDIR_P within a source directory, because that will
   2640     # break other packages using the cache if that directory is
   2641     # removed, or if the value is a relative name.
   2642     MKDIR_P="$ac_install_sh -d"
   2643   fi
   2644 fi
   2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2646 $as_echo "$MKDIR_P" >&6; }
   2647 
   2648 mkdir_p="$MKDIR_P"
   2649 case $mkdir_p in
   2650   [\\/$]* | ?:[\\/]*) ;;
   2651   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2652 esac
   2653 
   2654 for ac_prog in gawk mawk nawk awk
   2655 do
   2656   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2657 set dummy $ac_prog; ac_word=$2
   2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2659 $as_echo_n "checking for $ac_word... " >&6; }
   2660 if ${ac_cv_prog_AWK+:} false; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   if test -n "$AWK"; then
   2664   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2665 else
   2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671     for ac_exec_ext in '' $ac_executable_extensions; do
   2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2673     ac_cv_prog_AWK="$ac_prog"
   2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2675     break 2
   2676   fi
   2677 done
   2678   done
   2679 IFS=$as_save_IFS
   2680 
   2681 fi
   2682 fi
   2683 AWK=$ac_cv_prog_AWK
   2684 if test -n "$AWK"; then
   2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2686 $as_echo "$AWK" >&6; }
   2687 else
   2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2689 $as_echo "no" >&6; }
   2690 fi
   2691 
   2692 
   2693   test -n "$AWK" && break
   2694 done
   2695 
   2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2697 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2698 set x ${MAKE-make}
   2699 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2700 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   cat >conftest.make <<\_ACEOF
   2704 SHELL = /bin/sh
   2705 all:
   2706 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2707 _ACEOF
   2708 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2709 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2710   *@@@%%%=?*=@@@%%%*)
   2711     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2712   *)
   2713     eval ac_cv_prog_make_${ac_make}_set=no;;
   2714 esac
   2715 rm -f conftest.make
   2716 fi
   2717 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2719 $as_echo "yes" >&6; }
   2720   SET_MAKE=
   2721 else
   2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2723 $as_echo "no" >&6; }
   2724   SET_MAKE="MAKE=${MAKE-make}"
   2725 fi
   2726 
   2727 rm -rf .tst 2>/dev/null
   2728 mkdir .tst 2>/dev/null
   2729 if test -d .tst; then
   2730   am__leading_dot=.
   2731 else
   2732   am__leading_dot=_
   2733 fi
   2734 rmdir .tst 2>/dev/null
   2735 
   2736 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2737   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2738   # is not polluted with repeated "-I."
   2739   am__isrc=' -I$(srcdir)'
   2740   # test to see if srcdir already configured
   2741   if test -f $srcdir/config.status; then
   2742     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2743   fi
   2744 fi
   2745 
   2746 # test whether we have cygpath
   2747 if test -z "$CYGPATH_W"; then
   2748   if (cygpath --version) >/dev/null 2>/dev/null; then
   2749     CYGPATH_W='cygpath -w'
   2750   else
   2751     CYGPATH_W=echo
   2752   fi
   2753 fi
   2754 
   2755 
   2756 # Define the identity of the package.
   2757  PACKAGE='libXi'
   2758  VERSION='1.4.3'
   2759 
   2760 
   2761 cat >>confdefs.h <<_ACEOF
   2762 #define PACKAGE "$PACKAGE"
   2763 _ACEOF
   2764 
   2765 
   2766 cat >>confdefs.h <<_ACEOF
   2767 #define VERSION "$VERSION"
   2768 _ACEOF
   2769 
   2770 # Some tools Automake needs.
   2771 
   2772 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2773 
   2774 
   2775 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2776 
   2777 
   2778 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2779 
   2780 
   2781 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2782 
   2783 
   2784 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2785 
   2786 # We need awk for the "check" target.  The system "awk" is bad on
   2787 # some platforms.
   2788 # Always define AMTAR for backward compatibility.
   2789 
   2790 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2791 
   2792 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2800 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2801     # Check whether --enable-maintainer-mode was given.
   2802 if test "${enable_maintainer_mode+set}" = set; then :
   2803   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2804 else
   2805   USE_MAINTAINER_MODE=no
   2806 fi
   2807 
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2809 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2810    if test $USE_MAINTAINER_MODE = yes; then
   2811   MAINTAINER_MODE_TRUE=
   2812   MAINTAINER_MODE_FALSE='#'
   2813 else
   2814   MAINTAINER_MODE_TRUE='#'
   2815   MAINTAINER_MODE_FALSE=
   2816 fi
   2817 
   2818   MAINT=$MAINTAINER_MODE_TRUE
   2819 
   2820 
   2821 
   2822 # Initialize libtool
   2823 case `pwd` in
   2824   *\ * | *\	*)
   2825     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2826 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2827 esac
   2828 
   2829 
   2830 
   2831 macro_version='2.4'
   2832 macro_revision='1.3293'
   2833 
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 
   2846 ltmain="$ac_aux_dir/ltmain.sh"
   2847 
   2848 # Make sure we can run config.sub.
   2849 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2850   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2851 
   2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2853 $as_echo_n "checking build system type... " >&6; }
   2854 if ${ac_cv_build+:} false; then :
   2855   $as_echo_n "(cached) " >&6
   2856 else
   2857   ac_build_alias=$build_alias
   2858 test "x$ac_build_alias" = x &&
   2859   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2860 test "x$ac_build_alias" = x &&
   2861   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2863   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2864 
   2865 fi
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2867 $as_echo "$ac_cv_build" >&6; }
   2868 case $ac_cv_build in
   2869 *-*-*) ;;
   2870 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2871 esac
   2872 build=$ac_cv_build
   2873 ac_save_IFS=$IFS; IFS='-'
   2874 set x $ac_cv_build
   2875 shift
   2876 build_cpu=$1
   2877 build_vendor=$2
   2878 shift; shift
   2879 # Remember, the first character of IFS is used to create $*,
   2880 # except with old shells:
   2881 build_os=$*
   2882 IFS=$ac_save_IFS
   2883 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2884 
   2885 
   2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2887 $as_echo_n "checking host system type... " >&6; }
   2888 if ${ac_cv_host+:} false; then :
   2889   $as_echo_n "(cached) " >&6
   2890 else
   2891   if test "x$host_alias" = x; then
   2892   ac_cv_host=$ac_cv_build
   2893 else
   2894   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2895     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2896 fi
   2897 
   2898 fi
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2900 $as_echo "$ac_cv_host" >&6; }
   2901 case $ac_cv_host in
   2902 *-*-*) ;;
   2903 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2904 esac
   2905 host=$ac_cv_host
   2906 ac_save_IFS=$IFS; IFS='-'
   2907 set x $ac_cv_host
   2908 shift
   2909 host_cpu=$1
   2910 host_vendor=$2
   2911 shift; shift
   2912 # Remember, the first character of IFS is used to create $*,
   2913 # except with old shells:
   2914 host_os=$*
   2915 IFS=$ac_save_IFS
   2916 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2917 
   2918 
   2919 # Backslashify metacharacters that are still active within
   2920 # double-quoted strings.
   2921 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2922 
   2923 # Same as above, but do not quote variable references.
   2924 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2925 
   2926 # Sed substitution to delay expansion of an escaped shell variable in a
   2927 # double_quote_subst'ed string.
   2928 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2929 
   2930 # Sed substitution to delay expansion of an escaped single quote.
   2931 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2932 
   2933 # Sed substitution to avoid accidental globbing in evaled expressions
   2934 no_glob_subst='s/\*/\\\*/g'
   2935 
   2936 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2937 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2938 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2939 
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2941 $as_echo_n "checking how to print strings... " >&6; }
   2942 # Test print first, because it will be a builtin if present.
   2943 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2944    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2945   ECHO='print -r --'
   2946 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2947   ECHO='printf %s\n'
   2948 else
   2949   # Use this function as a fallback that always works.
   2950   func_fallback_echo ()
   2951   {
   2952     eval 'cat <<_LTECHO_EOF
   2953 $1
   2954 _LTECHO_EOF'
   2955   }
   2956   ECHO='func_fallback_echo'
   2957 fi
   2958 
   2959 # func_echo_all arg...
   2960 # Invoke $ECHO with all args, space-separated.
   2961 func_echo_all ()
   2962 {
   2963     $ECHO ""
   2964 }
   2965 
   2966 case "$ECHO" in
   2967   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2968 $as_echo "printf" >&6; } ;;
   2969   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2970 $as_echo "print -r" >&6; } ;;
   2971   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2972 $as_echo "cat" >&6; } ;;
   2973 esac
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 DEPDIR="${am__leading_dot}deps"
   2989 
   2990 ac_config_commands="$ac_config_commands depfiles"
   2991 
   2992 
   2993 am_make=${MAKE-make}
   2994 cat > confinc << 'END'
   2995 am__doit:
   2996 	@echo this is the am__doit target
   2997 .PHONY: am__doit
   2998 END
   2999 # If we don't find an include directive, just comment out the code.
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3001 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3002 am__include="#"
   3003 am__quote=
   3004 _am_result=none
   3005 # First try GNU make style include.
   3006 echo "include confinc" > confmf
   3007 # Ignore all kinds of additional output from `make'.
   3008 case `$am_make -s -f confmf 2> /dev/null` in #(
   3009 *the\ am__doit\ target*)
   3010   am__include=include
   3011   am__quote=
   3012   _am_result=GNU
   3013   ;;
   3014 esac
   3015 # Now try BSD make style include.
   3016 if test "$am__include" = "#"; then
   3017    echo '.include "confinc"' > confmf
   3018    case `$am_make -s -f confmf 2> /dev/null` in #(
   3019    *the\ am__doit\ target*)
   3020      am__include=.include
   3021      am__quote="\""
   3022      _am_result=BSD
   3023      ;;
   3024    esac
   3025 fi
   3026 
   3027 
   3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3029 $as_echo "$_am_result" >&6; }
   3030 rm -f confinc confmf
   3031 
   3032 # Check whether --enable-dependency-tracking was given.
   3033 if test "${enable_dependency_tracking+set}" = set; then :
   3034   enableval=$enable_dependency_tracking;
   3035 fi
   3036 
   3037 if test "x$enable_dependency_tracking" != xno; then
   3038   am_depcomp="$ac_aux_dir/depcomp"
   3039   AMDEPBACKSLASH='\'
   3040 fi
   3041  if test "x$enable_dependency_tracking" != xno; then
   3042   AMDEP_TRUE=
   3043   AMDEP_FALSE='#'
   3044 else
   3045   AMDEP_TRUE='#'
   3046   AMDEP_FALSE=
   3047 fi
   3048 
   3049 
   3050 ac_ext=c
   3051 ac_cpp='$CPP $CPPFLAGS'
   3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3055 if test -n "$ac_tool_prefix"; then
   3056   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3057 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3059 $as_echo_n "checking for $ac_word... " >&6; }
   3060 if ${ac_cv_prog_CC+:} false; then :
   3061   $as_echo_n "(cached) " >&6
   3062 else
   3063   if test -n "$CC"; then
   3064   ac_cv_prog_CC="$CC" # Let the user override the test.
   3065 else
   3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3067 for as_dir in $PATH
   3068 do
   3069   IFS=$as_save_IFS
   3070   test -z "$as_dir" && as_dir=.
   3071     for ac_exec_ext in '' $ac_executable_extensions; do
   3072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3073     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3075     break 2
   3076   fi
   3077 done
   3078   done
   3079 IFS=$as_save_IFS
   3080 
   3081 fi
   3082 fi
   3083 CC=$ac_cv_prog_CC
   3084 if test -n "$CC"; then
   3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3086 $as_echo "$CC" >&6; }
   3087 else
   3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3089 $as_echo "no" >&6; }
   3090 fi
   3091 
   3092 
   3093 fi
   3094 if test -z "$ac_cv_prog_CC"; then
   3095   ac_ct_CC=$CC
   3096   # Extract the first word of "gcc", so it can be a program name with args.
   3097 set dummy gcc; ac_word=$2
   3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3099 $as_echo_n "checking for $ac_word... " >&6; }
   3100 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3101   $as_echo_n "(cached) " >&6
   3102 else
   3103   if test -n "$ac_ct_CC"; then
   3104   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3105 else
   3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3107 for as_dir in $PATH
   3108 do
   3109   IFS=$as_save_IFS
   3110   test -z "$as_dir" && as_dir=.
   3111     for ac_exec_ext in '' $ac_executable_extensions; do
   3112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3113     ac_cv_prog_ac_ct_CC="gcc"
   3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3115     break 2
   3116   fi
   3117 done
   3118   done
   3119 IFS=$as_save_IFS
   3120 
   3121 fi
   3122 fi
   3123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3124 if test -n "$ac_ct_CC"; then
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3126 $as_echo "$ac_ct_CC" >&6; }
   3127 else
   3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3129 $as_echo "no" >&6; }
   3130 fi
   3131 
   3132   if test "x$ac_ct_CC" = x; then
   3133     CC=""
   3134   else
   3135     case $cross_compiling:$ac_tool_warned in
   3136 yes:)
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3139 ac_tool_warned=yes ;;
   3140 esac
   3141     CC=$ac_ct_CC
   3142   fi
   3143 else
   3144   CC="$ac_cv_prog_CC"
   3145 fi
   3146 
   3147 if test -z "$CC"; then
   3148           if test -n "$ac_tool_prefix"; then
   3149     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3150 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3152 $as_echo_n "checking for $ac_word... " >&6; }
   3153 if ${ac_cv_prog_CC+:} false; then :
   3154   $as_echo_n "(cached) " >&6
   3155 else
   3156   if test -n "$CC"; then
   3157   ac_cv_prog_CC="$CC" # Let the user override the test.
   3158 else
   3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3160 for as_dir in $PATH
   3161 do
   3162   IFS=$as_save_IFS
   3163   test -z "$as_dir" && as_dir=.
   3164     for ac_exec_ext in '' $ac_executable_extensions; do
   3165   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3166     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3168     break 2
   3169   fi
   3170 done
   3171   done
   3172 IFS=$as_save_IFS
   3173 
   3174 fi
   3175 fi
   3176 CC=$ac_cv_prog_CC
   3177 if test -n "$CC"; then
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3179 $as_echo "$CC" >&6; }
   3180 else
   3181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3182 $as_echo "no" >&6; }
   3183 fi
   3184 
   3185 
   3186   fi
   3187 fi
   3188 if test -z "$CC"; then
   3189   # Extract the first word of "cc", so it can be a program name with args.
   3190 set dummy cc; ac_word=$2
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3192 $as_echo_n "checking for $ac_word... " >&6; }
   3193 if ${ac_cv_prog_CC+:} false; then :
   3194   $as_echo_n "(cached) " >&6
   3195 else
   3196   if test -n "$CC"; then
   3197   ac_cv_prog_CC="$CC" # Let the user override the test.
   3198 else
   3199   ac_prog_rejected=no
   3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3201 for as_dir in $PATH
   3202 do
   3203   IFS=$as_save_IFS
   3204   test -z "$as_dir" && as_dir=.
   3205     for ac_exec_ext in '' $ac_executable_extensions; do
   3206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3207     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3208        ac_prog_rejected=yes
   3209        continue
   3210      fi
   3211     ac_cv_prog_CC="cc"
   3212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3213     break 2
   3214   fi
   3215 done
   3216   done
   3217 IFS=$as_save_IFS
   3218 
   3219 if test $ac_prog_rejected = yes; then
   3220   # We found a bogon in the path, so make sure we never use it.
   3221   set dummy $ac_cv_prog_CC
   3222   shift
   3223   if test $# != 0; then
   3224     # We chose a different compiler from the bogus one.
   3225     # However, it has the same basename, so the bogon will be chosen
   3226     # first if we set CC to just the basename; use the full file name.
   3227     shift
   3228     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3229   fi
   3230 fi
   3231 fi
   3232 fi
   3233 CC=$ac_cv_prog_CC
   3234 if test -n "$CC"; then
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3236 $as_echo "$CC" >&6; }
   3237 else
   3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3239 $as_echo "no" >&6; }
   3240 fi
   3241 
   3242 
   3243 fi
   3244 if test -z "$CC"; then
   3245   if test -n "$ac_tool_prefix"; then
   3246   for ac_prog in cl.exe
   3247   do
   3248     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3251 $as_echo_n "checking for $ac_word... " >&6; }
   3252 if ${ac_cv_prog_CC+:} false; then :
   3253   $as_echo_n "(cached) " >&6
   3254 else
   3255   if test -n "$CC"; then
   3256   ac_cv_prog_CC="$CC" # Let the user override the test.
   3257 else
   3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3259 for as_dir in $PATH
   3260 do
   3261   IFS=$as_save_IFS
   3262   test -z "$as_dir" && as_dir=.
   3263     for ac_exec_ext in '' $ac_executable_extensions; do
   3264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3265     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3267     break 2
   3268   fi
   3269 done
   3270   done
   3271 IFS=$as_save_IFS
   3272 
   3273 fi
   3274 fi
   3275 CC=$ac_cv_prog_CC
   3276 if test -n "$CC"; then
   3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3278 $as_echo "$CC" >&6; }
   3279 else
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3281 $as_echo "no" >&6; }
   3282 fi
   3283 
   3284 
   3285     test -n "$CC" && break
   3286   done
   3287 fi
   3288 if test -z "$CC"; then
   3289   ac_ct_CC=$CC
   3290   for ac_prog in cl.exe
   3291 do
   3292   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3293 set dummy $ac_prog; ac_word=$2
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3295 $as_echo_n "checking for $ac_word... " >&6; }
   3296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   if test -n "$ac_ct_CC"; then
   3300   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3301 else
   3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3303 for as_dir in $PATH
   3304 do
   3305   IFS=$as_save_IFS
   3306   test -z "$as_dir" && as_dir=.
   3307     for ac_exec_ext in '' $ac_executable_extensions; do
   3308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3309     ac_cv_prog_ac_ct_CC="$ac_prog"
   3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3311     break 2
   3312   fi
   3313 done
   3314   done
   3315 IFS=$as_save_IFS
   3316 
   3317 fi
   3318 fi
   3319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3320 if test -n "$ac_ct_CC"; then
   3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3322 $as_echo "$ac_ct_CC" >&6; }
   3323 else
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3325 $as_echo "no" >&6; }
   3326 fi
   3327 
   3328 
   3329   test -n "$ac_ct_CC" && break
   3330 done
   3331 
   3332   if test "x$ac_ct_CC" = x; then
   3333     CC=""
   3334   else
   3335     case $cross_compiling:$ac_tool_warned in
   3336 yes:)
   3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3339 ac_tool_warned=yes ;;
   3340 esac
   3341     CC=$ac_ct_CC
   3342   fi
   3343 fi
   3344 
   3345 fi
   3346 
   3347 
   3348 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3350 as_fn_error $? "no acceptable C compiler found in \$PATH
   3351 See \`config.log' for more details" "$LINENO" 5; }
   3352 
   3353 # Provide some information about the compiler.
   3354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3355 set X $ac_compile
   3356 ac_compiler=$2
   3357 for ac_option in --version -v -V -qversion; do
   3358   { { ac_try="$ac_compiler $ac_option >&5"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo"; } >&5
   3365   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3366   ac_status=$?
   3367   if test -s conftest.err; then
   3368     sed '10a\
   3369 ... rest of stderr output deleted ...
   3370          10q' conftest.err >conftest.er1
   3371     cat conftest.er1 >&5
   3372   fi
   3373   rm -f conftest.er1 conftest.err
   3374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3375   test $ac_status = 0; }
   3376 done
   3377 
   3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 
   3381 int
   3382 main ()
   3383 {
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 ac_clean_files_save=$ac_clean_files
   3390 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3391 # Try to create an executable without -o first, disregard a.out.
   3392 # It will help us diagnose broken compilers, and finding out an intuition
   3393 # of exeext.
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3395 $as_echo_n "checking whether the C compiler works... " >&6; }
   3396 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3397 
   3398 # The possible output files:
   3399 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3400 
   3401 ac_rmfiles=
   3402 for ac_file in $ac_files
   3403 do
   3404   case $ac_file in
   3405     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3406     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3407   esac
   3408 done
   3409 rm -f $ac_rmfiles
   3410 
   3411 if { { ac_try="$ac_link_default"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_link_default") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }; then :
   3422   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3424 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3425 # so that the user can short-circuit this test for compilers unknown to
   3426 # Autoconf.
   3427 for ac_file in $ac_files ''
   3428 do
   3429   test -f "$ac_file" || continue
   3430   case $ac_file in
   3431     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3432 	;;
   3433     [ab].out )
   3434 	# We found the default executable, but exeext='' is most
   3435 	# certainly right.
   3436 	break;;
   3437     *.* )
   3438 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3439 	then :; else
   3440 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3441 	fi
   3442 	# We set ac_cv_exeext here because the later test for it is not
   3443 	# safe: cross compilers may not add the suffix if given an `-o'
   3444 	# argument, so we may need to know it at that point already.
   3445 	# Even if this section looks crufty: it has the advantage of
   3446 	# actually working.
   3447 	break;;
   3448     * )
   3449 	break;;
   3450   esac
   3451 done
   3452 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3453 
   3454 else
   3455   ac_file=''
   3456 fi
   3457 if test -z "$ac_file"; then :
   3458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3459 $as_echo "no" >&6; }
   3460 $as_echo "$as_me: failed program was:" >&5
   3461 sed 's/^/| /' conftest.$ac_ext >&5
   3462 
   3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3465 as_fn_error 77 "C compiler cannot create executables
   3466 See \`config.log' for more details" "$LINENO" 5; }
   3467 else
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3469 $as_echo "yes" >&6; }
   3470 fi
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3472 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3474 $as_echo "$ac_file" >&6; }
   3475 ac_exeext=$ac_cv_exeext
   3476 
   3477 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3478 ac_clean_files=$ac_clean_files_save
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3480 $as_echo_n "checking for suffix of executables... " >&6; }
   3481 if { { ac_try="$ac_link"
   3482 case "(($ac_try" in
   3483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3484   *) ac_try_echo=$ac_try;;
   3485 esac
   3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3487 $as_echo "$ac_try_echo"; } >&5
   3488   (eval "$ac_link") 2>&5
   3489   ac_status=$?
   3490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3491   test $ac_status = 0; }; then :
   3492   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3493 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3494 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3495 # `rm'.
   3496 for ac_file in conftest.exe conftest conftest.*; do
   3497   test -f "$ac_file" || continue
   3498   case $ac_file in
   3499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3500     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3501 	  break;;
   3502     * ) break;;
   3503   esac
   3504 done
   3505 else
   3506   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3508 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3509 See \`config.log' for more details" "$LINENO" 5; }
   3510 fi
   3511 rm -f conftest conftest$ac_cv_exeext
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3513 $as_echo "$ac_cv_exeext" >&6; }
   3514 
   3515 rm -f conftest.$ac_ext
   3516 EXEEXT=$ac_cv_exeext
   3517 ac_exeext=$EXEEXT
   3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3519 /* end confdefs.h.  */
   3520 #include <stdio.h>
   3521 int
   3522 main ()
   3523 {
   3524 FILE *f = fopen ("conftest.out", "w");
   3525  return ferror (f) || fclose (f) != 0;
   3526 
   3527   ;
   3528   return 0;
   3529 }
   3530 _ACEOF
   3531 ac_clean_files="$ac_clean_files conftest.out"
   3532 # Check that the compiler produces executables we can run.  If not, either
   3533 # the compiler is broken, or we cross compile.
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3535 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3536 if test "$cross_compiling" != yes; then
   3537   { { ac_try="$ac_link"
   3538 case "(($ac_try" in
   3539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3540   *) ac_try_echo=$ac_try;;
   3541 esac
   3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3543 $as_echo "$ac_try_echo"; } >&5
   3544   (eval "$ac_link") 2>&5
   3545   ac_status=$?
   3546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3547   test $ac_status = 0; }
   3548   if { ac_try='./conftest$ac_cv_exeext'
   3549   { { case "(($ac_try" in
   3550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3551   *) ac_try_echo=$ac_try;;
   3552 esac
   3553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3554 $as_echo "$ac_try_echo"; } >&5
   3555   (eval "$ac_try") 2>&5
   3556   ac_status=$?
   3557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3558   test $ac_status = 0; }; }; then
   3559     cross_compiling=no
   3560   else
   3561     if test "$cross_compiling" = maybe; then
   3562 	cross_compiling=yes
   3563     else
   3564 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3566 as_fn_error $? "cannot run C compiled programs.
   3567 If you meant to cross compile, use \`--host'.
   3568 See \`config.log' for more details" "$LINENO" 5; }
   3569     fi
   3570   fi
   3571 fi
   3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3573 $as_echo "$cross_compiling" >&6; }
   3574 
   3575 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3576 ac_clean_files=$ac_clean_files_save
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3578 $as_echo_n "checking for suffix of object files... " >&6; }
   3579 if ${ac_cv_objext+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 rm -f conftest.o conftest.obj
   3594 if { { ac_try="$ac_compile"
   3595 case "(($ac_try" in
   3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3597   *) ac_try_echo=$ac_try;;
   3598 esac
   3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3600 $as_echo "$ac_try_echo"; } >&5
   3601   (eval "$ac_compile") 2>&5
   3602   ac_status=$?
   3603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3604   test $ac_status = 0; }; then :
   3605   for ac_file in conftest.o conftest.obj conftest.*; do
   3606   test -f "$ac_file" || continue;
   3607   case $ac_file in
   3608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3609     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3610        break;;
   3611   esac
   3612 done
   3613 else
   3614   $as_echo "$as_me: failed program was:" >&5
   3615 sed 's/^/| /' conftest.$ac_ext >&5
   3616 
   3617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3619 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3620 See \`config.log' for more details" "$LINENO" 5; }
   3621 fi
   3622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3623 fi
   3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3625 $as_echo "$ac_cv_objext" >&6; }
   3626 OBJEXT=$ac_cv_objext
   3627 ac_objext=$OBJEXT
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3629 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3630 if ${ac_cv_c_compiler_gnu+:} false; then :
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3634 /* end confdefs.h.  */
   3635 
   3636 int
   3637 main ()
   3638 {
   3639 #ifndef __GNUC__
   3640        choke me
   3641 #endif
   3642 
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647 if ac_fn_c_try_compile "$LINENO"; then :
   3648   ac_compiler_gnu=yes
   3649 else
   3650   ac_compiler_gnu=no
   3651 fi
   3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3654 
   3655 fi
   3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3657 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3658 if test $ac_compiler_gnu = yes; then
   3659   GCC=yes
   3660 else
   3661   GCC=
   3662 fi
   3663 ac_test_CFLAGS=${CFLAGS+set}
   3664 ac_save_CFLAGS=$CFLAGS
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3666 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3667 if ${ac_cv_prog_cc_g+:} false; then :
   3668   $as_echo_n "(cached) " >&6
   3669 else
   3670   ac_save_c_werror_flag=$ac_c_werror_flag
   3671    ac_c_werror_flag=yes
   3672    ac_cv_prog_cc_g=no
   3673    CFLAGS="-g"
   3674    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3675 /* end confdefs.h.  */
   3676 
   3677 int
   3678 main ()
   3679 {
   3680 
   3681   ;
   3682   return 0;
   3683 }
   3684 _ACEOF
   3685 if ac_fn_c_try_compile "$LINENO"; then :
   3686   ac_cv_prog_cc_g=yes
   3687 else
   3688   CFLAGS=""
   3689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3690 /* end confdefs.h.  */
   3691 
   3692 int
   3693 main ()
   3694 {
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 if ac_fn_c_try_compile "$LINENO"; then :
   3701 
   3702 else
   3703   ac_c_werror_flag=$ac_save_c_werror_flag
   3704 	 CFLAGS="-g"
   3705 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 
   3708 int
   3709 main ()
   3710 {
   3711 
   3712   ;
   3713   return 0;
   3714 }
   3715 _ACEOF
   3716 if ac_fn_c_try_compile "$LINENO"; then :
   3717   ac_cv_prog_cc_g=yes
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3722 fi
   3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3724    ac_c_werror_flag=$ac_save_c_werror_flag
   3725 fi
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3727 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3728 if test "$ac_test_CFLAGS" = set; then
   3729   CFLAGS=$ac_save_CFLAGS
   3730 elif test $ac_cv_prog_cc_g = yes; then
   3731   if test "$GCC" = yes; then
   3732     CFLAGS="-g -O2"
   3733   else
   3734     CFLAGS="-g"
   3735   fi
   3736 else
   3737   if test "$GCC" = yes; then
   3738     CFLAGS="-O2"
   3739   else
   3740     CFLAGS=
   3741   fi
   3742 fi
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3744 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3745 if ${ac_cv_prog_cc_c89+:} false; then :
   3746   $as_echo_n "(cached) " >&6
   3747 else
   3748   ac_cv_prog_cc_c89=no
   3749 ac_save_CC=$CC
   3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 #include <stdarg.h>
   3753 #include <stdio.h>
   3754 #include <sys/types.h>
   3755 #include <sys/stat.h>
   3756 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3757 struct buf { int x; };
   3758 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3759 static char *e (p, i)
   3760      char **p;
   3761      int i;
   3762 {
   3763   return p[i];
   3764 }
   3765 static char *f (char * (*g) (char **, int), char **p, ...)
   3766 {
   3767   char *s;
   3768   va_list v;
   3769   va_start (v,p);
   3770   s = g (p, va_arg (v,int));
   3771   va_end (v);
   3772   return s;
   3773 }
   3774 
   3775 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3776    function prototypes and stuff, but not '\xHH' hex character constants.
   3777    These don't provoke an error unfortunately, instead are silently treated
   3778    as 'x'.  The following induces an error, until -std is added to get
   3779    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3780    array size at least.  It's necessary to write '\x00'==0 to get something
   3781    that's true only with -std.  */
   3782 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3783 
   3784 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3785    inside strings and character constants.  */
   3786 #define FOO(x) 'x'
   3787 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3788 
   3789 int test (int i, double x);
   3790 struct s1 {int (*f) (int a);};
   3791 struct s2 {int (*f) (double a);};
   3792 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3793 int argc;
   3794 char **argv;
   3795 int
   3796 main ()
   3797 {
   3798 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3799   ;
   3800   return 0;
   3801 }
   3802 _ACEOF
   3803 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3804 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3805 do
   3806   CC="$ac_save_CC $ac_arg"
   3807   if ac_fn_c_try_compile "$LINENO"; then :
   3808   ac_cv_prog_cc_c89=$ac_arg
   3809 fi
   3810 rm -f core conftest.err conftest.$ac_objext
   3811   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3812 done
   3813 rm -f conftest.$ac_ext
   3814 CC=$ac_save_CC
   3815 
   3816 fi
   3817 # AC_CACHE_VAL
   3818 case "x$ac_cv_prog_cc_c89" in
   3819   x)
   3820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3821 $as_echo "none needed" >&6; } ;;
   3822   xno)
   3823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3824 $as_echo "unsupported" >&6; } ;;
   3825   *)
   3826     CC="$CC $ac_cv_prog_cc_c89"
   3827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3828 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3829 esac
   3830 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3831 
   3832 fi
   3833 
   3834 ac_ext=c
   3835 ac_cpp='$CPP $CPPFLAGS'
   3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3839 
   3840 depcc="$CC"   am_compiler_list=
   3841 
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3843 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3844 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3845   $as_echo_n "(cached) " >&6
   3846 else
   3847   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3848   # We make a subdir and do the tests there.  Otherwise we can end up
   3849   # making bogus files that we don't know about and never remove.  For
   3850   # instance it was reported that on HP-UX the gcc test will end up
   3851   # making a dummy file named `D' -- because `-MD' means `put the output
   3852   # in D'.
   3853   mkdir conftest.dir
   3854   # Copy depcomp to subdir because otherwise we won't find it if we're
   3855   # using a relative directory.
   3856   cp "$am_depcomp" conftest.dir
   3857   cd conftest.dir
   3858   # We will build objects and dependencies in a subdirectory because
   3859   # it helps to detect inapplicable dependency modes.  For instance
   3860   # both Tru64's cc and ICC support -MD to output dependencies as a
   3861   # side effect of compilation, but ICC will put the dependencies in
   3862   # the current directory while Tru64 will put them in the object
   3863   # directory.
   3864   mkdir sub
   3865 
   3866   am_cv_CC_dependencies_compiler_type=none
   3867   if test "$am_compiler_list" = ""; then
   3868      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3869   fi
   3870   am__universal=false
   3871   case " $depcc " in #(
   3872      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3873      esac
   3874 
   3875   for depmode in $am_compiler_list; do
   3876     # Setup a source with many dependencies, because some compilers
   3877     # like to wrap large dependency lists on column 80 (with \), and
   3878     # we should not choose a depcomp mode which is confused by this.
   3879     #
   3880     # We need to recreate these files for each test, as the compiler may
   3881     # overwrite some of them when testing with obscure command lines.
   3882     # This happens at least with the AIX C compiler.
   3883     : > sub/conftest.c
   3884     for i in 1 2 3 4 5 6; do
   3885       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3886       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3887       # Solaris 8's {/usr,}/bin/sh.
   3888       touch sub/conftst$i.h
   3889     done
   3890     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3891 
   3892     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3893     # mode.  It turns out that the SunPro C++ compiler does not properly
   3894     # handle `-M -o', and we need to detect this.  Also, some Intel
   3895     # versions had trouble with output in subdirs
   3896     am__obj=sub/conftest.${OBJEXT-o}
   3897     am__minus_obj="-o $am__obj"
   3898     case $depmode in
   3899     gcc)
   3900       # This depmode causes a compiler race in universal mode.
   3901       test "$am__universal" = false || continue
   3902       ;;
   3903     nosideeffect)
   3904       # after this tag, mechanisms are not by side-effect, so they'll
   3905       # only be used when explicitly requested
   3906       if test "x$enable_dependency_tracking" = xyes; then
   3907 	continue
   3908       else
   3909 	break
   3910       fi
   3911       ;;
   3912     msvisualcpp | msvcmsys)
   3913       # This compiler won't grok `-c -o', but also, the minuso test has
   3914       # not run yet.  These depmodes are late enough in the game, and
   3915       # so weak that their functioning should not be impacted.
   3916       am__obj=conftest.${OBJEXT-o}
   3917       am__minus_obj=
   3918       ;;
   3919     none) break ;;
   3920     esac
   3921     if depmode=$depmode \
   3922        source=sub/conftest.c object=$am__obj \
   3923        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3924        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3925          >/dev/null 2>conftest.err &&
   3926        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3927        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3928        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3929        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3930       # icc doesn't choke on unknown options, it will just issue warnings
   3931       # or remarks (even with -Werror).  So we grep stderr for any message
   3932       # that says an option was ignored or not supported.
   3933       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3934       #   icc: Command line warning: ignoring option '-M'; no argument required
   3935       # The diagnosis changed in icc 8.0:
   3936       #   icc: Command line remark: option '-MP' not supported
   3937       if (grep 'ignoring option' conftest.err ||
   3938           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3939         am_cv_CC_dependencies_compiler_type=$depmode
   3940         break
   3941       fi
   3942     fi
   3943   done
   3944 
   3945   cd ..
   3946   rm -rf conftest.dir
   3947 else
   3948   am_cv_CC_dependencies_compiler_type=none
   3949 fi
   3950 
   3951 fi
   3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3953 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3954 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3955 
   3956  if
   3957   test "x$enable_dependency_tracking" != xno \
   3958   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3959   am__fastdepCC_TRUE=
   3960   am__fastdepCC_FALSE='#'
   3961 else
   3962   am__fastdepCC_TRUE='#'
   3963   am__fastdepCC_FALSE=
   3964 fi
   3965 
   3966 
   3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3968 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3969 if ${ac_cv_path_SED+:} false; then :
   3970   $as_echo_n "(cached) " >&6
   3971 else
   3972             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3973      for ac_i in 1 2 3 4 5 6 7; do
   3974        ac_script="$ac_script$as_nl$ac_script"
   3975      done
   3976      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3977      { ac_script=; unset ac_script;}
   3978      if test -z "$SED"; then
   3979   ac_path_SED_found=false
   3980   # Loop through the user's path and test for each of PROGNAME-LIST
   3981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3982 for as_dir in $PATH
   3983 do
   3984   IFS=$as_save_IFS
   3985   test -z "$as_dir" && as_dir=.
   3986     for ac_prog in sed gsed; do
   3987     for ac_exec_ext in '' $ac_executable_extensions; do
   3988       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3989       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3990 # Check for GNU ac_path_SED and select it if it is found.
   3991   # Check for GNU $ac_path_SED
   3992 case `"$ac_path_SED" --version 2>&1` in
   3993 *GNU*)
   3994   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3995 *)
   3996   ac_count=0
   3997   $as_echo_n 0123456789 >"conftest.in"
   3998   while :
   3999   do
   4000     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4001     mv "conftest.tmp" "conftest.in"
   4002     cp "conftest.in" "conftest.nl"
   4003     $as_echo '' >> "conftest.nl"
   4004     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4006     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4007     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4008       # Best one so far, save it but keep looking for a better one
   4009       ac_cv_path_SED="$ac_path_SED"
   4010       ac_path_SED_max=$ac_count
   4011     fi
   4012     # 10*(2^10) chars as input seems more than enough
   4013     test $ac_count -gt 10 && break
   4014   done
   4015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4016 esac
   4017 
   4018       $ac_path_SED_found && break 3
   4019     done
   4020   done
   4021   done
   4022 IFS=$as_save_IFS
   4023   if test -z "$ac_cv_path_SED"; then
   4024     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4025   fi
   4026 else
   4027   ac_cv_path_SED=$SED
   4028 fi
   4029 
   4030 fi
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4032 $as_echo "$ac_cv_path_SED" >&6; }
   4033  SED="$ac_cv_path_SED"
   4034   rm -f conftest.sed
   4035 
   4036 test -z "$SED" && SED=sed
   4037 Xsed="$SED -e 1s/^X//"
   4038 
   4039 
   4040 
   4041 
   4042 
   4043 
   4044 
   4045 
   4046 
   4047 
   4048 
   4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4050 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4051 if ${ac_cv_path_GREP+:} false; then :
   4052   $as_echo_n "(cached) " >&6
   4053 else
   4054   if test -z "$GREP"; then
   4055   ac_path_GREP_found=false
   4056   # Loop through the user's path and test for each of PROGNAME-LIST
   4057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4059 do
   4060   IFS=$as_save_IFS
   4061   test -z "$as_dir" && as_dir=.
   4062     for ac_prog in grep ggrep; do
   4063     for ac_exec_ext in '' $ac_executable_extensions; do
   4064       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4065       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4066 # Check for GNU ac_path_GREP and select it if it is found.
   4067   # Check for GNU $ac_path_GREP
   4068 case `"$ac_path_GREP" --version 2>&1` in
   4069 *GNU*)
   4070   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4071 *)
   4072   ac_count=0
   4073   $as_echo_n 0123456789 >"conftest.in"
   4074   while :
   4075   do
   4076     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4077     mv "conftest.tmp" "conftest.in"
   4078     cp "conftest.in" "conftest.nl"
   4079     $as_echo 'GREP' >> "conftest.nl"
   4080     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4081     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4082     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4083     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4084       # Best one so far, save it but keep looking for a better one
   4085       ac_cv_path_GREP="$ac_path_GREP"
   4086       ac_path_GREP_max=$ac_count
   4087     fi
   4088     # 10*(2^10) chars as input seems more than enough
   4089     test $ac_count -gt 10 && break
   4090   done
   4091   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4092 esac
   4093 
   4094       $ac_path_GREP_found && break 3
   4095     done
   4096   done
   4097   done
   4098 IFS=$as_save_IFS
   4099   if test -z "$ac_cv_path_GREP"; then
   4100     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4101   fi
   4102 else
   4103   ac_cv_path_GREP=$GREP
   4104 fi
   4105 
   4106 fi
   4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4108 $as_echo "$ac_cv_path_GREP" >&6; }
   4109  GREP="$ac_cv_path_GREP"
   4110 
   4111 
   4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4113 $as_echo_n "checking for egrep... " >&6; }
   4114 if ${ac_cv_path_EGREP+:} false; then :
   4115   $as_echo_n "(cached) " >&6
   4116 else
   4117   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4118    then ac_cv_path_EGREP="$GREP -E"
   4119    else
   4120      if test -z "$EGREP"; then
   4121   ac_path_EGREP_found=false
   4122   # Loop through the user's path and test for each of PROGNAME-LIST
   4123   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4124 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4125 do
   4126   IFS=$as_save_IFS
   4127   test -z "$as_dir" && as_dir=.
   4128     for ac_prog in egrep; do
   4129     for ac_exec_ext in '' $ac_executable_extensions; do
   4130       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4131       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4132 # Check for GNU ac_path_EGREP and select it if it is found.
   4133   # Check for GNU $ac_path_EGREP
   4134 case `"$ac_path_EGREP" --version 2>&1` in
   4135 *GNU*)
   4136   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4137 *)
   4138   ac_count=0
   4139   $as_echo_n 0123456789 >"conftest.in"
   4140   while :
   4141   do
   4142     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4143     mv "conftest.tmp" "conftest.in"
   4144     cp "conftest.in" "conftest.nl"
   4145     $as_echo 'EGREP' >> "conftest.nl"
   4146     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4147     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4148     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4149     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4150       # Best one so far, save it but keep looking for a better one
   4151       ac_cv_path_EGREP="$ac_path_EGREP"
   4152       ac_path_EGREP_max=$ac_count
   4153     fi
   4154     # 10*(2^10) chars as input seems more than enough
   4155     test $ac_count -gt 10 && break
   4156   done
   4157   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4158 esac
   4159 
   4160       $ac_path_EGREP_found && break 3
   4161     done
   4162   done
   4163   done
   4164 IFS=$as_save_IFS
   4165   if test -z "$ac_cv_path_EGREP"; then
   4166     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4167   fi
   4168 else
   4169   ac_cv_path_EGREP=$EGREP
   4170 fi
   4171 
   4172    fi
   4173 fi
   4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4175 $as_echo "$ac_cv_path_EGREP" >&6; }
   4176  EGREP="$ac_cv_path_EGREP"
   4177 
   4178 
   4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4180 $as_echo_n "checking for fgrep... " >&6; }
   4181 if ${ac_cv_path_FGREP+:} false; then :
   4182   $as_echo_n "(cached) " >&6
   4183 else
   4184   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4185    then ac_cv_path_FGREP="$GREP -F"
   4186    else
   4187      if test -z "$FGREP"; then
   4188   ac_path_FGREP_found=false
   4189   # Loop through the user's path and test for each of PROGNAME-LIST
   4190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4192 do
   4193   IFS=$as_save_IFS
   4194   test -z "$as_dir" && as_dir=.
   4195     for ac_prog in fgrep; do
   4196     for ac_exec_ext in '' $ac_executable_extensions; do
   4197       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4198       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4199 # Check for GNU ac_path_FGREP and select it if it is found.
   4200   # Check for GNU $ac_path_FGREP
   4201 case `"$ac_path_FGREP" --version 2>&1` in
   4202 *GNU*)
   4203   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4204 *)
   4205   ac_count=0
   4206   $as_echo_n 0123456789 >"conftest.in"
   4207   while :
   4208   do
   4209     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4210     mv "conftest.tmp" "conftest.in"
   4211     cp "conftest.in" "conftest.nl"
   4212     $as_echo 'FGREP' >> "conftest.nl"
   4213     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4214     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4215     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4216     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4217       # Best one so far, save it but keep looking for a better one
   4218       ac_cv_path_FGREP="$ac_path_FGREP"
   4219       ac_path_FGREP_max=$ac_count
   4220     fi
   4221     # 10*(2^10) chars as input seems more than enough
   4222     test $ac_count -gt 10 && break
   4223   done
   4224   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4225 esac
   4226 
   4227       $ac_path_FGREP_found && break 3
   4228     done
   4229   done
   4230   done
   4231 IFS=$as_save_IFS
   4232   if test -z "$ac_cv_path_FGREP"; then
   4233     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4234   fi
   4235 else
   4236   ac_cv_path_FGREP=$FGREP
   4237 fi
   4238 
   4239    fi
   4240 fi
   4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4242 $as_echo "$ac_cv_path_FGREP" >&6; }
   4243  FGREP="$ac_cv_path_FGREP"
   4244 
   4245 
   4246 test -z "$GREP" && GREP=grep
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 
   4256 
   4257 
   4258 
   4259 
   4260 
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 # Check whether --with-gnu-ld was given.
   4267 if test "${with_gnu_ld+set}" = set; then :
   4268   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4269 else
   4270   with_gnu_ld=no
   4271 fi
   4272 
   4273 ac_prog=ld
   4274 if test "$GCC" = yes; then
   4275   # Check if gcc -print-prog-name=ld gives a path.
   4276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4277 $as_echo_n "checking for ld used by $CC... " >&6; }
   4278   case $host in
   4279   *-*-mingw*)
   4280     # gcc leaves a trailing carriage return which upsets mingw
   4281     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4282   *)
   4283     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4284   esac
   4285   case $ac_prog in
   4286     # Accept absolute paths.
   4287     [\\/]* | ?:[\\/]*)
   4288       re_direlt='/[^/][^/]*/\.\./'
   4289       # Canonicalize the pathname of ld
   4290       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4291       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4292 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4293       done
   4294       test -z "$LD" && LD="$ac_prog"
   4295       ;;
   4296   "")
   4297     # If it fails, then pretend we aren't using GCC.
   4298     ac_prog=ld
   4299     ;;
   4300   *)
   4301     # If it is relative, then search for the first ld in PATH.
   4302     with_gnu_ld=unknown
   4303     ;;
   4304   esac
   4305 elif test "$with_gnu_ld" = yes; then
   4306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4307 $as_echo_n "checking for GNU ld... " >&6; }
   4308 else
   4309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4310 $as_echo_n "checking for non-GNU ld... " >&6; }
   4311 fi
   4312 if ${lt_cv_path_LD+:} false; then :
   4313   $as_echo_n "(cached) " >&6
   4314 else
   4315   if test -z "$LD"; then
   4316   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4317   for ac_dir in $PATH; do
   4318     IFS="$lt_save_ifs"
   4319     test -z "$ac_dir" && ac_dir=.
   4320     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4321       lt_cv_path_LD="$ac_dir/$ac_prog"
   4322       # Check to see if the program is GNU ld.  I'd rather use --version,
   4323       # but apparently some variants of GNU ld only accept -v.
   4324       # Break only if it was the GNU/non-GNU ld that we prefer.
   4325       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4326       *GNU* | *'with BFD'*)
   4327 	test "$with_gnu_ld" != no && break
   4328 	;;
   4329       *)
   4330 	test "$with_gnu_ld" != yes && break
   4331 	;;
   4332       esac
   4333     fi
   4334   done
   4335   IFS="$lt_save_ifs"
   4336 else
   4337   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4338 fi
   4339 fi
   4340 
   4341 LD="$lt_cv_path_LD"
   4342 if test -n "$LD"; then
   4343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4344 $as_echo "$LD" >&6; }
   4345 else
   4346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4347 $as_echo "no" >&6; }
   4348 fi
   4349 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4351 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4352 if ${lt_cv_prog_gnu_ld+:} false; then :
   4353   $as_echo_n "(cached) " >&6
   4354 else
   4355   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4356 case `$LD -v 2>&1 </dev/null` in
   4357 *GNU* | *'with BFD'*)
   4358   lt_cv_prog_gnu_ld=yes
   4359   ;;
   4360 *)
   4361   lt_cv_prog_gnu_ld=no
   4362   ;;
   4363 esac
   4364 fi
   4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4366 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4367 with_gnu_ld=$lt_cv_prog_gnu_ld
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4378 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4379 if ${lt_cv_path_NM+:} false; then :
   4380   $as_echo_n "(cached) " >&6
   4381 else
   4382   if test -n "$NM"; then
   4383   # Let the user override the test.
   4384   lt_cv_path_NM="$NM"
   4385 else
   4386   lt_nm_to_check="${ac_tool_prefix}nm"
   4387   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4388     lt_nm_to_check="$lt_nm_to_check nm"
   4389   fi
   4390   for lt_tmp_nm in $lt_nm_to_check; do
   4391     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4392     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4393       IFS="$lt_save_ifs"
   4394       test -z "$ac_dir" && ac_dir=.
   4395       tmp_nm="$ac_dir/$lt_tmp_nm"
   4396       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4397 	# Check to see if the nm accepts a BSD-compat flag.
   4398 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4399 	#   nm: unknown option "B" ignored
   4400 	# Tru64's nm complains that /dev/null is an invalid object file
   4401 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4402 	*/dev/null* | *'Invalid file or object type'*)
   4403 	  lt_cv_path_NM="$tmp_nm -B"
   4404 	  break
   4405 	  ;;
   4406 	*)
   4407 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4408 	  */dev/null*)
   4409 	    lt_cv_path_NM="$tmp_nm -p"
   4410 	    break
   4411 	    ;;
   4412 	  *)
   4413 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4414 	    continue # so that we can try to find one that supports BSD flags
   4415 	    ;;
   4416 	  esac
   4417 	  ;;
   4418 	esac
   4419       fi
   4420     done
   4421     IFS="$lt_save_ifs"
   4422   done
   4423   : ${lt_cv_path_NM=no}
   4424 fi
   4425 fi
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4427 $as_echo "$lt_cv_path_NM" >&6; }
   4428 if test "$lt_cv_path_NM" != "no"; then
   4429   NM="$lt_cv_path_NM"
   4430 else
   4431   # Didn't find any BSD compatible name lister, look for dumpbin.
   4432   if test -n "$DUMPBIN"; then :
   4433     # Let the user override the test.
   4434   else
   4435     if test -n "$ac_tool_prefix"; then
   4436   for ac_prog in dumpbin "link -dump"
   4437   do
   4438     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4439 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4441 $as_echo_n "checking for $ac_word... " >&6; }
   4442 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4443   $as_echo_n "(cached) " >&6
   4444 else
   4445   if test -n "$DUMPBIN"; then
   4446   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4447 else
   4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4449 for as_dir in $PATH
   4450 do
   4451   IFS=$as_save_IFS
   4452   test -z "$as_dir" && as_dir=.
   4453     for ac_exec_ext in '' $ac_executable_extensions; do
   4454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4455     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4457     break 2
   4458   fi
   4459 done
   4460   done
   4461 IFS=$as_save_IFS
   4462 
   4463 fi
   4464 fi
   4465 DUMPBIN=$ac_cv_prog_DUMPBIN
   4466 if test -n "$DUMPBIN"; then
   4467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4468 $as_echo "$DUMPBIN" >&6; }
   4469 else
   4470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4471 $as_echo "no" >&6; }
   4472 fi
   4473 
   4474 
   4475     test -n "$DUMPBIN" && break
   4476   done
   4477 fi
   4478 if test -z "$DUMPBIN"; then
   4479   ac_ct_DUMPBIN=$DUMPBIN
   4480   for ac_prog in dumpbin "link -dump"
   4481 do
   4482   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4483 set dummy $ac_prog; ac_word=$2
   4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4485 $as_echo_n "checking for $ac_word... " >&6; }
   4486 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4487   $as_echo_n "(cached) " >&6
   4488 else
   4489   if test -n "$ac_ct_DUMPBIN"; then
   4490   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4491 else
   4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4493 for as_dir in $PATH
   4494 do
   4495   IFS=$as_save_IFS
   4496   test -z "$as_dir" && as_dir=.
   4497     for ac_exec_ext in '' $ac_executable_extensions; do
   4498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4499     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4501     break 2
   4502   fi
   4503 done
   4504   done
   4505 IFS=$as_save_IFS
   4506 
   4507 fi
   4508 fi
   4509 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4510 if test -n "$ac_ct_DUMPBIN"; then
   4511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4512 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4513 else
   4514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4515 $as_echo "no" >&6; }
   4516 fi
   4517 
   4518 
   4519   test -n "$ac_ct_DUMPBIN" && break
   4520 done
   4521 
   4522   if test "x$ac_ct_DUMPBIN" = x; then
   4523     DUMPBIN=":"
   4524   else
   4525     case $cross_compiling:$ac_tool_warned in
   4526 yes:)
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4529 ac_tool_warned=yes ;;
   4530 esac
   4531     DUMPBIN=$ac_ct_DUMPBIN
   4532   fi
   4533 fi
   4534 
   4535     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4536     *COFF*)
   4537       DUMPBIN="$DUMPBIN -symbols"
   4538       ;;
   4539     *)
   4540       DUMPBIN=:
   4541       ;;
   4542     esac
   4543   fi
   4544 
   4545   if test "$DUMPBIN" != ":"; then
   4546     NM="$DUMPBIN"
   4547   fi
   4548 fi
   4549 test -z "$NM" && NM=nm
   4550 
   4551 
   4552 
   4553 
   4554 
   4555 
   4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4557 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4558 if ${lt_cv_nm_interface+:} false; then :
   4559   $as_echo_n "(cached) " >&6
   4560 else
   4561   lt_cv_nm_interface="BSD nm"
   4562   echo "int some_variable = 0;" > conftest.$ac_ext
   4563   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4564   (eval "$ac_compile" 2>conftest.err)
   4565   cat conftest.err >&5
   4566   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4567   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4568   cat conftest.err >&5
   4569   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4570   cat conftest.out >&5
   4571   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4572     lt_cv_nm_interface="MS dumpbin"
   4573   fi
   4574   rm -f conftest*
   4575 fi
   4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4577 $as_echo "$lt_cv_nm_interface" >&6; }
   4578 
   4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4580 $as_echo_n "checking whether ln -s works... " >&6; }
   4581 LN_S=$as_ln_s
   4582 if test "$LN_S" = "ln -s"; then
   4583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4584 $as_echo "yes" >&6; }
   4585 else
   4586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4587 $as_echo "no, using $LN_S" >&6; }
   4588 fi
   4589 
   4590 # find the maximum length of command line arguments
   4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4592 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4593 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4594   $as_echo_n "(cached) " >&6
   4595 else
   4596     i=0
   4597   teststring="ABCD"
   4598 
   4599   case $build_os in
   4600   msdosdjgpp*)
   4601     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4602     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4603     # during glob expansion).  Even if it were fixed, the result of this
   4604     # check would be larger than it should be.
   4605     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4606     ;;
   4607 
   4608   gnu*)
   4609     # Under GNU Hurd, this test is not required because there is
   4610     # no limit to the length of command line arguments.
   4611     # Libtool will interpret -1 as no limit whatsoever
   4612     lt_cv_sys_max_cmd_len=-1;
   4613     ;;
   4614 
   4615   cygwin* | mingw* | cegcc*)
   4616     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4617     # about 5 minutes as the teststring grows exponentially.
   4618     # Worse, since 9x/ME are not pre-emptively multitasking,
   4619     # you end up with a "frozen" computer, even though with patience
   4620     # the test eventually succeeds (with a max line length of 256k).
   4621     # Instead, let's just punt: use the minimum linelength reported by
   4622     # all of the supported platforms: 8192 (on NT/2K/XP).
   4623     lt_cv_sys_max_cmd_len=8192;
   4624     ;;
   4625 
   4626   mint*)
   4627     # On MiNT this can take a long time and run out of memory.
   4628     lt_cv_sys_max_cmd_len=8192;
   4629     ;;
   4630 
   4631   amigaos*)
   4632     # On AmigaOS with pdksh, this test takes hours, literally.
   4633     # So we just punt and use a minimum line length of 8192.
   4634     lt_cv_sys_max_cmd_len=8192;
   4635     ;;
   4636 
   4637   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4638     # This has been around since 386BSD, at least.  Likely further.
   4639     if test -x /sbin/sysctl; then
   4640       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4641     elif test -x /usr/sbin/sysctl; then
   4642       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4643     else
   4644       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4645     fi
   4646     # And add a safety zone
   4647     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4648     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4649     ;;
   4650 
   4651   interix*)
   4652     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4653     lt_cv_sys_max_cmd_len=196608
   4654     ;;
   4655 
   4656   osf*)
   4657     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4658     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4659     # nice to cause kernel panics so lets avoid the loop below.
   4660     # First set a reasonable default.
   4661     lt_cv_sys_max_cmd_len=16384
   4662     #
   4663     if test -x /sbin/sysconfig; then
   4664       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4665         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4666       esac
   4667     fi
   4668     ;;
   4669   sco3.2v5*)
   4670     lt_cv_sys_max_cmd_len=102400
   4671     ;;
   4672   sysv5* | sco5v6* | sysv4.2uw2*)
   4673     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4674     if test -n "$kargmax"; then
   4675       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4676     else
   4677       lt_cv_sys_max_cmd_len=32768
   4678     fi
   4679     ;;
   4680   *)
   4681     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4682     if test -n "$lt_cv_sys_max_cmd_len"; then
   4683       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4684       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4685     else
   4686       # Make teststring a little bigger before we do anything with it.
   4687       # a 1K string should be a reasonable start.
   4688       for i in 1 2 3 4 5 6 7 8 ; do
   4689         teststring=$teststring$teststring
   4690       done
   4691       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4692       # If test is not a shell built-in, we'll probably end up computing a
   4693       # maximum length that is only half of the actual maximum length, but
   4694       # we can't tell.
   4695       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4696 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4697 	      test $i != 17 # 1/2 MB should be enough
   4698       do
   4699         i=`expr $i + 1`
   4700         teststring=$teststring$teststring
   4701       done
   4702       # Only check the string length outside the loop.
   4703       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4704       teststring=
   4705       # Add a significant safety factor because C++ compilers can tack on
   4706       # massive amounts of additional arguments before passing them to the
   4707       # linker.  It appears as though 1/2 is a usable value.
   4708       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4709     fi
   4710     ;;
   4711   esac
   4712 
   4713 fi
   4714 
   4715 if test -n $lt_cv_sys_max_cmd_len ; then
   4716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4717 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4718 else
   4719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4720 $as_echo "none" >&6; }
   4721 fi
   4722 max_cmd_len=$lt_cv_sys_max_cmd_len
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 : ${CP="cp -f"}
   4730 : ${MV="mv -f"}
   4731 : ${RM="rm -f"}
   4732 
   4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4734 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4735 # Try some XSI features
   4736 xsi_shell=no
   4737 ( _lt_dummy="a/b/c"
   4738   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4739       = c,a/b,b/c, \
   4740     && eval 'test $(( 1 + 1 )) -eq 2 \
   4741     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4742   && xsi_shell=yes
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4744 $as_echo "$xsi_shell" >&6; }
   4745 
   4746 
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4748 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4749 lt_shell_append=no
   4750 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4751     >/dev/null 2>&1 \
   4752   && lt_shell_append=yes
   4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4754 $as_echo "$lt_shell_append" >&6; }
   4755 
   4756 
   4757 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4758   lt_unset=unset
   4759 else
   4760   lt_unset=false
   4761 fi
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 # test EBCDIC or ASCII
   4768 case `echo X|tr X '\101'` in
   4769  A) # ASCII based system
   4770     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4771   lt_SP2NL='tr \040 \012'
   4772   lt_NL2SP='tr \015\012 \040\040'
   4773   ;;
   4774  *) # EBCDIC based system
   4775   lt_SP2NL='tr \100 \n'
   4776   lt_NL2SP='tr \r\n \100\100'
   4777   ;;
   4778 esac
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4789 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4790 if ${lt_cv_to_host_file_cmd+:} false; then :
   4791   $as_echo_n "(cached) " >&6
   4792 else
   4793   case $host in
   4794   *-*-mingw* )
   4795     case $build in
   4796       *-*-mingw* ) # actually msys
   4797         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4798         ;;
   4799       *-*-cygwin* )
   4800         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4801         ;;
   4802       * ) # otherwise, assume *nix
   4803         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4804         ;;
   4805     esac
   4806     ;;
   4807   *-*-cygwin* )
   4808     case $build in
   4809       *-*-mingw* ) # actually msys
   4810         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4811         ;;
   4812       *-*-cygwin* )
   4813         lt_cv_to_host_file_cmd=func_convert_file_noop
   4814         ;;
   4815       * ) # otherwise, assume *nix
   4816         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4817         ;;
   4818     esac
   4819     ;;
   4820   * ) # unhandled hosts (and "normal" native builds)
   4821     lt_cv_to_host_file_cmd=func_convert_file_noop
   4822     ;;
   4823 esac
   4824 
   4825 fi
   4826 
   4827 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4829 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4836 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4837 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4838   $as_echo_n "(cached) " >&6
   4839 else
   4840   #assume ordinary cross tools, or native build.
   4841 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4842 case $host in
   4843   *-*-mingw* )
   4844     case $build in
   4845       *-*-mingw* ) # actually msys
   4846         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4847         ;;
   4848     esac
   4849     ;;
   4850 esac
   4851 
   4852 fi
   4853 
   4854 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4856 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4863 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4864 if ${lt_cv_ld_reload_flag+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   lt_cv_ld_reload_flag='-r'
   4868 fi
   4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4870 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4871 reload_flag=$lt_cv_ld_reload_flag
   4872 case $reload_flag in
   4873 "" | " "*) ;;
   4874 *) reload_flag=" $reload_flag" ;;
   4875 esac
   4876 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4877 case $host_os in
   4878   cygwin* | mingw* | pw32* | cegcc*)
   4879     if test "$GCC" != yes; then
   4880       reload_cmds=false
   4881     fi
   4882     ;;
   4883   darwin*)
   4884     if test "$GCC" = yes; then
   4885       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4886     else
   4887       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4888     fi
   4889     ;;
   4890 esac
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 if test -n "$ac_tool_prefix"; then
   4901   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4902 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4904 $as_echo_n "checking for $ac_word... " >&6; }
   4905 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4906   $as_echo_n "(cached) " >&6
   4907 else
   4908   if test -n "$OBJDUMP"; then
   4909   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4910 else
   4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4912 for as_dir in $PATH
   4913 do
   4914   IFS=$as_save_IFS
   4915   test -z "$as_dir" && as_dir=.
   4916     for ac_exec_ext in '' $ac_executable_extensions; do
   4917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4918     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4920     break 2
   4921   fi
   4922 done
   4923   done
   4924 IFS=$as_save_IFS
   4925 
   4926 fi
   4927 fi
   4928 OBJDUMP=$ac_cv_prog_OBJDUMP
   4929 if test -n "$OBJDUMP"; then
   4930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4931 $as_echo "$OBJDUMP" >&6; }
   4932 else
   4933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4934 $as_echo "no" >&6; }
   4935 fi
   4936 
   4937 
   4938 fi
   4939 if test -z "$ac_cv_prog_OBJDUMP"; then
   4940   ac_ct_OBJDUMP=$OBJDUMP
   4941   # Extract the first word of "objdump", so it can be a program name with args.
   4942 set dummy objdump; ac_word=$2
   4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4944 $as_echo_n "checking for $ac_word... " >&6; }
   4945 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4946   $as_echo_n "(cached) " >&6
   4947 else
   4948   if test -n "$ac_ct_OBJDUMP"; then
   4949   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4950 else
   4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4952 for as_dir in $PATH
   4953 do
   4954   IFS=$as_save_IFS
   4955   test -z "$as_dir" && as_dir=.
   4956     for ac_exec_ext in '' $ac_executable_extensions; do
   4957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4958     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4960     break 2
   4961   fi
   4962 done
   4963   done
   4964 IFS=$as_save_IFS
   4965 
   4966 fi
   4967 fi
   4968 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4969 if test -n "$ac_ct_OBJDUMP"; then
   4970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4971 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4972 else
   4973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4974 $as_echo "no" >&6; }
   4975 fi
   4976 
   4977   if test "x$ac_ct_OBJDUMP" = x; then
   4978     OBJDUMP="false"
   4979   else
   4980     case $cross_compiling:$ac_tool_warned in
   4981 yes:)
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4984 ac_tool_warned=yes ;;
   4985 esac
   4986     OBJDUMP=$ac_ct_OBJDUMP
   4987   fi
   4988 else
   4989   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4990 fi
   4991 
   4992 test -z "$OBJDUMP" && OBJDUMP=objdump
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5003 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5004 if ${lt_cv_deplibs_check_method+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5008 lt_cv_file_magic_test_file=
   5009 lt_cv_deplibs_check_method='unknown'
   5010 # Need to set the preceding variable on all platforms that support
   5011 # interlibrary dependencies.
   5012 # 'none' -- dependencies not supported.
   5013 # `unknown' -- same as none, but documents that we really don't know.
   5014 # 'pass_all' -- all dependencies passed with no checks.
   5015 # 'test_compile' -- check by making test program.
   5016 # 'file_magic [[regex]]' -- check by looking for files in library path
   5017 # which responds to the $file_magic_cmd with a given extended regex.
   5018 # If you have `file' or equivalent on your system and you're not sure
   5019 # whether `pass_all' will *always* work, you probably want this one.
   5020 
   5021 case $host_os in
   5022 aix[4-9]*)
   5023   lt_cv_deplibs_check_method=pass_all
   5024   ;;
   5025 
   5026 beos*)
   5027   lt_cv_deplibs_check_method=pass_all
   5028   ;;
   5029 
   5030 bsdi[45]*)
   5031   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5032   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5033   lt_cv_file_magic_test_file=/shlib/libc.so
   5034   ;;
   5035 
   5036 cygwin*)
   5037   # func_win32_libid is a shell function defined in ltmain.sh
   5038   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5039   lt_cv_file_magic_cmd='func_win32_libid'
   5040   ;;
   5041 
   5042 mingw* | pw32*)
   5043   # Base MSYS/MinGW do not provide the 'file' command needed by
   5044   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5045   # unless we find 'file', for example because we are cross-compiling.
   5046   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5047   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5048     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5049     lt_cv_file_magic_cmd='func_win32_libid'
   5050   else
   5051     # Keep this pattern in sync with the one in func_win32_libid.
   5052     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5053     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5054   fi
   5055   ;;
   5056 
   5057 cegcc*)
   5058   # use the weaker test based on 'objdump'. See mingw*.
   5059   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5060   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5061   ;;
   5062 
   5063 darwin* | rhapsody*)
   5064   lt_cv_deplibs_check_method=pass_all
   5065   ;;
   5066 
   5067 freebsd* | dragonfly*)
   5068   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5069     case $host_cpu in
   5070     i*86 )
   5071       # Not sure whether the presence of OpenBSD here was a mistake.
   5072       # Let's accept both of them until this is cleared up.
   5073       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5074       lt_cv_file_magic_cmd=/usr/bin/file
   5075       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5076       ;;
   5077     esac
   5078   else
   5079     lt_cv_deplibs_check_method=pass_all
   5080   fi
   5081   ;;
   5082 
   5083 gnu*)
   5084   lt_cv_deplibs_check_method=pass_all
   5085   ;;
   5086 
   5087 haiku*)
   5088   lt_cv_deplibs_check_method=pass_all
   5089   ;;
   5090 
   5091 hpux10.20* | hpux11*)
   5092   lt_cv_file_magic_cmd=/usr/bin/file
   5093   case $host_cpu in
   5094   ia64*)
   5095     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5096     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5097     ;;
   5098   hppa*64*)
   5099     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]'
   5100     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5101     ;;
   5102   *)
   5103     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5104     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5105     ;;
   5106   esac
   5107   ;;
   5108 
   5109 interix[3-9]*)
   5110   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5111   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5112   ;;
   5113 
   5114 irix5* | irix6* | nonstopux*)
   5115   case $LD in
   5116   *-32|*"-32 ") libmagic=32-bit;;
   5117   *-n32|*"-n32 ") libmagic=N32;;
   5118   *-64|*"-64 ") libmagic=64-bit;;
   5119   *) libmagic=never-match;;
   5120   esac
   5121   lt_cv_deplibs_check_method=pass_all
   5122   ;;
   5123 
   5124 # This must be Linux ELF.
   5125 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5126   lt_cv_deplibs_check_method=pass_all
   5127   ;;
   5128 
   5129 netbsd*)
   5130   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5131     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5132   else
   5133     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5134   fi
   5135   ;;
   5136 
   5137 newos6*)
   5138   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5139   lt_cv_file_magic_cmd=/usr/bin/file
   5140   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5141   ;;
   5142 
   5143 *nto* | *qnx*)
   5144   lt_cv_deplibs_check_method=pass_all
   5145   ;;
   5146 
   5147 openbsd*)
   5148   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5149     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5150   else
   5151     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5152   fi
   5153   ;;
   5154 
   5155 osf3* | osf4* | osf5*)
   5156   lt_cv_deplibs_check_method=pass_all
   5157   ;;
   5158 
   5159 rdos*)
   5160   lt_cv_deplibs_check_method=pass_all
   5161   ;;
   5162 
   5163 solaris*)
   5164   lt_cv_deplibs_check_method=pass_all
   5165   ;;
   5166 
   5167 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5168   lt_cv_deplibs_check_method=pass_all
   5169   ;;
   5170 
   5171 sysv4 | sysv4.3*)
   5172   case $host_vendor in
   5173   motorola)
   5174     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]'
   5175     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5176     ;;
   5177   ncr)
   5178     lt_cv_deplibs_check_method=pass_all
   5179     ;;
   5180   sequent)
   5181     lt_cv_file_magic_cmd='/bin/file'
   5182     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5183     ;;
   5184   sni)
   5185     lt_cv_file_magic_cmd='/bin/file'
   5186     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5187     lt_cv_file_magic_test_file=/lib/libc.so
   5188     ;;
   5189   siemens)
   5190     lt_cv_deplibs_check_method=pass_all
   5191     ;;
   5192   pc)
   5193     lt_cv_deplibs_check_method=pass_all
   5194     ;;
   5195   esac
   5196   ;;
   5197 
   5198 tpf*)
   5199   lt_cv_deplibs_check_method=pass_all
   5200   ;;
   5201 esac
   5202 
   5203 fi
   5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5205 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5206 
   5207 file_magic_glob=
   5208 want_nocaseglob=no
   5209 if test "$build" = "$host"; then
   5210   case $host_os in
   5211   mingw* | pw32*)
   5212     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5213       want_nocaseglob=yes
   5214     else
   5215       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5216     fi
   5217     ;;
   5218   esac
   5219 fi
   5220 
   5221 file_magic_cmd=$lt_cv_file_magic_cmd
   5222 deplibs_check_method=$lt_cv_deplibs_check_method
   5223 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 if test -n "$ac_tool_prefix"; then
   5247   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5248 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5250 $as_echo_n "checking for $ac_word... " >&6; }
   5251 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5252   $as_echo_n "(cached) " >&6
   5253 else
   5254   if test -n "$DLLTOOL"; then
   5255   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5256 else
   5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5258 for as_dir in $PATH
   5259 do
   5260   IFS=$as_save_IFS
   5261   test -z "$as_dir" && as_dir=.
   5262     for ac_exec_ext in '' $ac_executable_extensions; do
   5263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5264     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5266     break 2
   5267   fi
   5268 done
   5269   done
   5270 IFS=$as_save_IFS
   5271 
   5272 fi
   5273 fi
   5274 DLLTOOL=$ac_cv_prog_DLLTOOL
   5275 if test -n "$DLLTOOL"; then
   5276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5277 $as_echo "$DLLTOOL" >&6; }
   5278 else
   5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5280 $as_echo "no" >&6; }
   5281 fi
   5282 
   5283 
   5284 fi
   5285 if test -z "$ac_cv_prog_DLLTOOL"; then
   5286   ac_ct_DLLTOOL=$DLLTOOL
   5287   # Extract the first word of "dlltool", so it can be a program name with args.
   5288 set dummy dlltool; ac_word=$2
   5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5290 $as_echo_n "checking for $ac_word... " >&6; }
   5291 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5292   $as_echo_n "(cached) " >&6
   5293 else
   5294   if test -n "$ac_ct_DLLTOOL"; then
   5295   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5296 else
   5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5298 for as_dir in $PATH
   5299 do
   5300   IFS=$as_save_IFS
   5301   test -z "$as_dir" && as_dir=.
   5302     for ac_exec_ext in '' $ac_executable_extensions; do
   5303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5304     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5306     break 2
   5307   fi
   5308 done
   5309   done
   5310 IFS=$as_save_IFS
   5311 
   5312 fi
   5313 fi
   5314 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5315 if test -n "$ac_ct_DLLTOOL"; then
   5316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5317 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5318 else
   5319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5320 $as_echo "no" >&6; }
   5321 fi
   5322 
   5323   if test "x$ac_ct_DLLTOOL" = x; then
   5324     DLLTOOL="false"
   5325   else
   5326     case $cross_compiling:$ac_tool_warned in
   5327 yes:)
   5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5330 ac_tool_warned=yes ;;
   5331 esac
   5332     DLLTOOL=$ac_ct_DLLTOOL
   5333   fi
   5334 else
   5335   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5336 fi
   5337 
   5338 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5350 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5351 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5355 
   5356 case $host_os in
   5357 cygwin* | mingw* | pw32* | cegcc*)
   5358   # two different shell functions defined in ltmain.sh
   5359   # decide which to use based on capabilities of $DLLTOOL
   5360   case `$DLLTOOL --help 2>&1` in
   5361   *--identify-strict*)
   5362     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5363     ;;
   5364   *)
   5365     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5366     ;;
   5367   esac
   5368   ;;
   5369 *)
   5370   # fallback: assume linklib IS sharedlib
   5371   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5372   ;;
   5373 esac
   5374 
   5375 fi
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5377 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5378 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5379 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 if test -n "$ac_tool_prefix"; then
   5389   for ac_prog in ar
   5390   do
   5391     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5394 $as_echo_n "checking for $ac_word... " >&6; }
   5395 if ${ac_cv_prog_AR+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   if test -n "$AR"; then
   5399   ac_cv_prog_AR="$AR" # Let the user override the test.
   5400 else
   5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5402 for as_dir in $PATH
   5403 do
   5404   IFS=$as_save_IFS
   5405   test -z "$as_dir" && as_dir=.
   5406     for ac_exec_ext in '' $ac_executable_extensions; do
   5407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5408     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5410     break 2
   5411   fi
   5412 done
   5413   done
   5414 IFS=$as_save_IFS
   5415 
   5416 fi
   5417 fi
   5418 AR=$ac_cv_prog_AR
   5419 if test -n "$AR"; then
   5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5421 $as_echo "$AR" >&6; }
   5422 else
   5423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5424 $as_echo "no" >&6; }
   5425 fi
   5426 
   5427 
   5428     test -n "$AR" && break
   5429   done
   5430 fi
   5431 if test -z "$AR"; then
   5432   ac_ct_AR=$AR
   5433   for ac_prog in ar
   5434 do
   5435   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5436 set dummy $ac_prog; ac_word=$2
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5438 $as_echo_n "checking for $ac_word... " >&6; }
   5439 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   if test -n "$ac_ct_AR"; then
   5443   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5444 else
   5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5446 for as_dir in $PATH
   5447 do
   5448   IFS=$as_save_IFS
   5449   test -z "$as_dir" && as_dir=.
   5450     for ac_exec_ext in '' $ac_executable_extensions; do
   5451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5452     ac_cv_prog_ac_ct_AR="$ac_prog"
   5453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5454     break 2
   5455   fi
   5456 done
   5457   done
   5458 IFS=$as_save_IFS
   5459 
   5460 fi
   5461 fi
   5462 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5463 if test -n "$ac_ct_AR"; then
   5464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5465 $as_echo "$ac_ct_AR" >&6; }
   5466 else
   5467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5468 $as_echo "no" >&6; }
   5469 fi
   5470 
   5471 
   5472   test -n "$ac_ct_AR" && break
   5473 done
   5474 
   5475   if test "x$ac_ct_AR" = x; then
   5476     AR="false"
   5477   else
   5478     case $cross_compiling:$ac_tool_warned in
   5479 yes:)
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5482 ac_tool_warned=yes ;;
   5483 esac
   5484     AR=$ac_ct_AR
   5485   fi
   5486 fi
   5487 
   5488 : ${AR=ar}
   5489 : ${AR_FLAGS=cru}
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5502 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5503 if ${lt_cv_ar_at_file+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   lt_cv_ar_at_file=no
   5507    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 
   5510 int
   5511 main ()
   5512 {
   5513 
   5514   ;
   5515   return 0;
   5516 }
   5517 _ACEOF
   5518 if ac_fn_c_try_compile "$LINENO"; then :
   5519   echo conftest.$ac_objext > conftest.lst
   5520       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5521       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5522   (eval $lt_ar_try) 2>&5
   5523   ac_status=$?
   5524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5525   test $ac_status = 0; }
   5526       if test "$ac_status" -eq 0; then
   5527 	# Ensure the archiver fails upon bogus file names.
   5528 	rm -f conftest.$ac_objext libconftest.a
   5529 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5530   (eval $lt_ar_try) 2>&5
   5531   ac_status=$?
   5532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5533   test $ac_status = 0; }
   5534 	if test "$ac_status" -ne 0; then
   5535           lt_cv_ar_at_file=@
   5536         fi
   5537       fi
   5538       rm -f conftest.* libconftest.a
   5539 
   5540 fi
   5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5542 
   5543 fi
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5545 $as_echo "$lt_cv_ar_at_file" >&6; }
   5546 
   5547 if test "x$lt_cv_ar_at_file" = xno; then
   5548   archiver_list_spec=
   5549 else
   5550   archiver_list_spec=$lt_cv_ar_at_file
   5551 fi
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 if test -n "$ac_tool_prefix"; then
   5560   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5561 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5563 $as_echo_n "checking for $ac_word... " >&6; }
   5564 if ${ac_cv_prog_STRIP+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   if test -n "$STRIP"; then
   5568   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5569 else
   5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5571 for as_dir in $PATH
   5572 do
   5573   IFS=$as_save_IFS
   5574   test -z "$as_dir" && as_dir=.
   5575     for ac_exec_ext in '' $ac_executable_extensions; do
   5576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5577     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5579     break 2
   5580   fi
   5581 done
   5582   done
   5583 IFS=$as_save_IFS
   5584 
   5585 fi
   5586 fi
   5587 STRIP=$ac_cv_prog_STRIP
   5588 if test -n "$STRIP"; then
   5589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5590 $as_echo "$STRIP" >&6; }
   5591 else
   5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5593 $as_echo "no" >&6; }
   5594 fi
   5595 
   5596 
   5597 fi
   5598 if test -z "$ac_cv_prog_STRIP"; then
   5599   ac_ct_STRIP=$STRIP
   5600   # Extract the first word of "strip", so it can be a program name with args.
   5601 set dummy strip; ac_word=$2
   5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5603 $as_echo_n "checking for $ac_word... " >&6; }
   5604 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5605   $as_echo_n "(cached) " >&6
   5606 else
   5607   if test -n "$ac_ct_STRIP"; then
   5608   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5609 else
   5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5611 for as_dir in $PATH
   5612 do
   5613   IFS=$as_save_IFS
   5614   test -z "$as_dir" && as_dir=.
   5615     for ac_exec_ext in '' $ac_executable_extensions; do
   5616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5617     ac_cv_prog_ac_ct_STRIP="strip"
   5618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5619     break 2
   5620   fi
   5621 done
   5622   done
   5623 IFS=$as_save_IFS
   5624 
   5625 fi
   5626 fi
   5627 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5628 if test -n "$ac_ct_STRIP"; then
   5629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5630 $as_echo "$ac_ct_STRIP" >&6; }
   5631 else
   5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5633 $as_echo "no" >&6; }
   5634 fi
   5635 
   5636   if test "x$ac_ct_STRIP" = x; then
   5637     STRIP=":"
   5638   else
   5639     case $cross_compiling:$ac_tool_warned in
   5640 yes:)
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5643 ac_tool_warned=yes ;;
   5644 esac
   5645     STRIP=$ac_ct_STRIP
   5646   fi
   5647 else
   5648   STRIP="$ac_cv_prog_STRIP"
   5649 fi
   5650 
   5651 test -z "$STRIP" && STRIP=:
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 if test -n "$ac_tool_prefix"; then
   5659   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5660 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5662 $as_echo_n "checking for $ac_word... " >&6; }
   5663 if ${ac_cv_prog_RANLIB+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   if test -n "$RANLIB"; then
   5667   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5668 else
   5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5670 for as_dir in $PATH
   5671 do
   5672   IFS=$as_save_IFS
   5673   test -z "$as_dir" && as_dir=.
   5674     for ac_exec_ext in '' $ac_executable_extensions; do
   5675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5676     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5678     break 2
   5679   fi
   5680 done
   5681   done
   5682 IFS=$as_save_IFS
   5683 
   5684 fi
   5685 fi
   5686 RANLIB=$ac_cv_prog_RANLIB
   5687 if test -n "$RANLIB"; then
   5688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5689 $as_echo "$RANLIB" >&6; }
   5690 else
   5691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5692 $as_echo "no" >&6; }
   5693 fi
   5694 
   5695 
   5696 fi
   5697 if test -z "$ac_cv_prog_RANLIB"; then
   5698   ac_ct_RANLIB=$RANLIB
   5699   # Extract the first word of "ranlib", so it can be a program name with args.
   5700 set dummy ranlib; ac_word=$2
   5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5702 $as_echo_n "checking for $ac_word... " >&6; }
   5703 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5704   $as_echo_n "(cached) " >&6
   5705 else
   5706   if test -n "$ac_ct_RANLIB"; then
   5707   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5708 else
   5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5710 for as_dir in $PATH
   5711 do
   5712   IFS=$as_save_IFS
   5713   test -z "$as_dir" && as_dir=.
   5714     for ac_exec_ext in '' $ac_executable_extensions; do
   5715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5716     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5718     break 2
   5719   fi
   5720 done
   5721   done
   5722 IFS=$as_save_IFS
   5723 
   5724 fi
   5725 fi
   5726 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5727 if test -n "$ac_ct_RANLIB"; then
   5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5729 $as_echo "$ac_ct_RANLIB" >&6; }
   5730 else
   5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5732 $as_echo "no" >&6; }
   5733 fi
   5734 
   5735   if test "x$ac_ct_RANLIB" = x; then
   5736     RANLIB=":"
   5737   else
   5738     case $cross_compiling:$ac_tool_warned in
   5739 yes:)
   5740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5742 ac_tool_warned=yes ;;
   5743 esac
   5744     RANLIB=$ac_ct_RANLIB
   5745   fi
   5746 else
   5747   RANLIB="$ac_cv_prog_RANLIB"
   5748 fi
   5749 
   5750 test -z "$RANLIB" && RANLIB=:
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 # Determine commands to create old-style static archives.
   5758 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5759 old_postinstall_cmds='chmod 644 $oldlib'
   5760 old_postuninstall_cmds=
   5761 
   5762 if test -n "$RANLIB"; then
   5763   case $host_os in
   5764   openbsd*)
   5765     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5766     ;;
   5767   *)
   5768     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5769     ;;
   5770   esac
   5771   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5772 fi
   5773 
   5774 case $host_os in
   5775   darwin*)
   5776     lock_old_archive_extraction=yes ;;
   5777   *)
   5778     lock_old_archive_extraction=no ;;
   5779 esac
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 # If no C compiler was specified, use CC.
   5820 LTCC=${LTCC-"$CC"}
   5821 
   5822 # If no C compiler flags were specified, use CFLAGS.
   5823 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5824 
   5825 # Allow CC to be a program name with arguments.
   5826 compiler=$CC
   5827 
   5828 
   5829 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5831 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5832 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5833   $as_echo_n "(cached) " >&6
   5834 else
   5835 
   5836 # These are sane defaults that work on at least a few old systems.
   5837 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5838 
   5839 # Character class describing NM global symbol codes.
   5840 symcode='[BCDEGRST]'
   5841 
   5842 # Regexp to match symbols that can be accessed directly from C.
   5843 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5844 
   5845 # Define system-specific variables.
   5846 case $host_os in
   5847 aix*)
   5848   symcode='[BCDT]'
   5849   ;;
   5850 cygwin* | mingw* | pw32* | cegcc*)
   5851   symcode='[ABCDGISTW]'
   5852   ;;
   5853 hpux*)
   5854   if test "$host_cpu" = ia64; then
   5855     symcode='[ABCDEGRST]'
   5856   fi
   5857   ;;
   5858 irix* | nonstopux*)
   5859   symcode='[BCDEGRST]'
   5860   ;;
   5861 osf*)
   5862   symcode='[BCDEGQRST]'
   5863   ;;
   5864 solaris*)
   5865   symcode='[BDRT]'
   5866   ;;
   5867 sco3.2v5*)
   5868   symcode='[DT]'
   5869   ;;
   5870 sysv4.2uw2*)
   5871   symcode='[DT]'
   5872   ;;
   5873 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5874   symcode='[ABDT]'
   5875   ;;
   5876 sysv4)
   5877   symcode='[DFNSTU]'
   5878   ;;
   5879 esac
   5880 
   5881 # If we're using GNU nm, then use its standard symbol codes.
   5882 case `$NM -V 2>&1` in
   5883 *GNU* | *'with BFD'*)
   5884   symcode='[ABCDGIRSTW]' ;;
   5885 esac
   5886 
   5887 # Transform an extracted symbol line into a proper C declaration.
   5888 # Some systems (esp. on ia64) link data and code symbols differently,
   5889 # so use this general approach.
   5890 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5891 
   5892 # Transform an extracted symbol line into symbol name and symbol address
   5893 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5895 
   5896 # Handle CRLF in mingw tool chain
   5897 opt_cr=
   5898 case $build_os in
   5899 mingw*)
   5900   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5901   ;;
   5902 esac
   5903 
   5904 # Try without a prefix underscore, then with it.
   5905 for ac_symprfx in "" "_"; do
   5906 
   5907   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5908   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5909 
   5910   # Write the raw and C identifiers.
   5911   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5912     # Fake it for dumpbin and say T for any non-static function
   5913     # and D for any global variable.
   5914     # Also find C++ and __fastcall symbols from MSVC++,
   5915     # which start with @ or ?.
   5916     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5917 "     {last_section=section; section=\$ 3};"\
   5918 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5919 "     \$ 0!~/External *\|/{next};"\
   5920 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5921 "     {if(hide[section]) next};"\
   5922 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5923 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5924 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5925 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5926 "     ' prfx=^$ac_symprfx"
   5927   else
   5928     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5929   fi
   5930   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5931 
   5932   # Check to see that the pipe works correctly.
   5933   pipe_works=no
   5934 
   5935   rm -f conftest*
   5936   cat > conftest.$ac_ext <<_LT_EOF
   5937 #ifdef __cplusplus
   5938 extern "C" {
   5939 #endif
   5940 char nm_test_var;
   5941 void nm_test_func(void);
   5942 void nm_test_func(void){}
   5943 #ifdef __cplusplus
   5944 }
   5945 #endif
   5946 int main(){nm_test_var='a';nm_test_func();return(0);}
   5947 _LT_EOF
   5948 
   5949   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5950   (eval $ac_compile) 2>&5
   5951   ac_status=$?
   5952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5953   test $ac_status = 0; }; then
   5954     # Now try to grab the symbols.
   5955     nlist=conftest.nm
   5956     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5957   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5958   ac_status=$?
   5959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5960   test $ac_status = 0; } && test -s "$nlist"; then
   5961       # Try sorting and uniquifying the output.
   5962       if sort "$nlist" | uniq > "$nlist"T; then
   5963 	mv -f "$nlist"T "$nlist"
   5964       else
   5965 	rm -f "$nlist"T
   5966       fi
   5967 
   5968       # Make sure that we snagged all the symbols we need.
   5969       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5970 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5971 	  cat <<_LT_EOF > conftest.$ac_ext
   5972 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5973 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5974 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5975    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5976 # define LT_DLSYM_CONST
   5977 #elif defined(__osf__)
   5978 /* This system does not cope well with relocations in const data.  */
   5979 # define LT_DLSYM_CONST
   5980 #else
   5981 # define LT_DLSYM_CONST const
   5982 #endif
   5983 
   5984 #ifdef __cplusplus
   5985 extern "C" {
   5986 #endif
   5987 
   5988 _LT_EOF
   5989 	  # Now generate the symbol file.
   5990 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5991 
   5992 	  cat <<_LT_EOF >> conftest.$ac_ext
   5993 
   5994 /* The mapping between symbol names and symbols.  */
   5995 LT_DLSYM_CONST struct {
   5996   const char *name;
   5997   void       *address;
   5998 }
   5999 lt__PROGRAM__LTX_preloaded_symbols[] =
   6000 {
   6001   { "@PROGRAM@", (void *) 0 },
   6002 _LT_EOF
   6003 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6004 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6005   {0, (void *) 0}
   6006 };
   6007 
   6008 /* This works around a problem in FreeBSD linker */
   6009 #ifdef FREEBSD_WORKAROUND
   6010 static const void *lt_preloaded_setup() {
   6011   return lt__PROGRAM__LTX_preloaded_symbols;
   6012 }
   6013 #endif
   6014 
   6015 #ifdef __cplusplus
   6016 }
   6017 #endif
   6018 _LT_EOF
   6019 	  # Now try linking the two files.
   6020 	  mv conftest.$ac_objext conftstm.$ac_objext
   6021 	  lt_globsym_save_LIBS=$LIBS
   6022 	  lt_globsym_save_CFLAGS=$CFLAGS
   6023 	  LIBS="conftstm.$ac_objext"
   6024 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6025 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6026   (eval $ac_link) 2>&5
   6027   ac_status=$?
   6028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6029   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6030 	    pipe_works=yes
   6031 	  fi
   6032 	  LIBS=$lt_globsym_save_LIBS
   6033 	  CFLAGS=$lt_globsym_save_CFLAGS
   6034 	else
   6035 	  echo "cannot find nm_test_func in $nlist" >&5
   6036 	fi
   6037       else
   6038 	echo "cannot find nm_test_var in $nlist" >&5
   6039       fi
   6040     else
   6041       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6042     fi
   6043   else
   6044     echo "$progname: failed program was:" >&5
   6045     cat conftest.$ac_ext >&5
   6046   fi
   6047   rm -rf conftest* conftst*
   6048 
   6049   # Do not use the global_symbol_pipe unless it works.
   6050   if test "$pipe_works" = yes; then
   6051     break
   6052   else
   6053     lt_cv_sys_global_symbol_pipe=
   6054   fi
   6055 done
   6056 
   6057 fi
   6058 
   6059 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6060   lt_cv_sys_global_symbol_to_cdecl=
   6061 fi
   6062 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6064 $as_echo "failed" >&6; }
   6065 else
   6066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6067 $as_echo "ok" >&6; }
   6068 fi
   6069 
   6070 # Response file support.
   6071 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6072   nm_file_list_spec='@'
   6073 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6074   nm_file_list_spec='@'
   6075 fi
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6104 $as_echo_n "checking for sysroot... " >&6; }
   6105 
   6106 # Check whether --with-sysroot was given.
   6107 if test "${with_sysroot+set}" = set; then :
   6108   withval=$with_sysroot;
   6109 else
   6110   with_sysroot=no
   6111 fi
   6112 
   6113 
   6114 lt_sysroot=
   6115 case ${with_sysroot} in #(
   6116  yes)
   6117    if test "$GCC" = yes; then
   6118      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6119    fi
   6120    ;; #(
   6121  /*)
   6122    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6123    ;; #(
   6124  no|'')
   6125    ;; #(
   6126  *)
   6127    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6128 $as_echo "${with_sysroot}" >&6; }
   6129    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6130    ;;
   6131 esac
   6132 
   6133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6134 $as_echo "${lt_sysroot:-no}" >&6; }
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 # Check whether --enable-libtool-lock was given.
   6141 if test "${enable_libtool_lock+set}" = set; then :
   6142   enableval=$enable_libtool_lock;
   6143 fi
   6144 
   6145 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6146 
   6147 # Some flags need to be propagated to the compiler or linker for good
   6148 # libtool support.
   6149 case $host in
   6150 ia64-*-hpux*)
   6151   # Find out which ABI we are using.
   6152   echo 'int i;' > conftest.$ac_ext
   6153   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6154   (eval $ac_compile) 2>&5
   6155   ac_status=$?
   6156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6157   test $ac_status = 0; }; then
   6158     case `/usr/bin/file conftest.$ac_objext` in
   6159       *ELF-32*)
   6160 	HPUX_IA64_MODE="32"
   6161 	;;
   6162       *ELF-64*)
   6163 	HPUX_IA64_MODE="64"
   6164 	;;
   6165     esac
   6166   fi
   6167   rm -rf conftest*
   6168   ;;
   6169 *-*-irix6*)
   6170   # Find out which ABI we are using.
   6171   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6173   (eval $ac_compile) 2>&5
   6174   ac_status=$?
   6175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6176   test $ac_status = 0; }; then
   6177     if test "$lt_cv_prog_gnu_ld" = yes; then
   6178       case `/usr/bin/file conftest.$ac_objext` in
   6179 	*32-bit*)
   6180 	  LD="${LD-ld} -melf32bsmip"
   6181 	  ;;
   6182 	*N32*)
   6183 	  LD="${LD-ld} -melf32bmipn32"
   6184 	  ;;
   6185 	*64-bit*)
   6186 	  LD="${LD-ld} -melf64bmip"
   6187 	;;
   6188       esac
   6189     else
   6190       case `/usr/bin/file conftest.$ac_objext` in
   6191 	*32-bit*)
   6192 	  LD="${LD-ld} -32"
   6193 	  ;;
   6194 	*N32*)
   6195 	  LD="${LD-ld} -n32"
   6196 	  ;;
   6197 	*64-bit*)
   6198 	  LD="${LD-ld} -64"
   6199 	  ;;
   6200       esac
   6201     fi
   6202   fi
   6203   rm -rf conftest*
   6204   ;;
   6205 
   6206 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6207 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6208   # Find out which ABI we are using.
   6209   echo 'int i;' > conftest.$ac_ext
   6210   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6211   (eval $ac_compile) 2>&5
   6212   ac_status=$?
   6213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6214   test $ac_status = 0; }; then
   6215     case `/usr/bin/file conftest.o` in
   6216       *32-bit*)
   6217 	case $host in
   6218 	  x86_64-*kfreebsd*-gnu)
   6219 	    LD="${LD-ld} -m elf_i386_fbsd"
   6220 	    ;;
   6221 	  x86_64-*linux*)
   6222 	    LD="${LD-ld} -m elf_i386"
   6223 	    ;;
   6224 	  ppc64-*linux*|powerpc64-*linux*)
   6225 	    LD="${LD-ld} -m elf32ppclinux"
   6226 	    ;;
   6227 	  s390x-*linux*)
   6228 	    LD="${LD-ld} -m elf_s390"
   6229 	    ;;
   6230 	  sparc64-*linux*)
   6231 	    LD="${LD-ld} -m elf32_sparc"
   6232 	    ;;
   6233 	esac
   6234 	;;
   6235       *64-bit*)
   6236 	case $host in
   6237 	  x86_64-*kfreebsd*-gnu)
   6238 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6239 	    ;;
   6240 	  x86_64-*linux*)
   6241 	    LD="${LD-ld} -m elf_x86_64"
   6242 	    ;;
   6243 	  ppc*-*linux*|powerpc*-*linux*)
   6244 	    LD="${LD-ld} -m elf64ppc"
   6245 	    ;;
   6246 	  s390*-*linux*|s390*-*tpf*)
   6247 	    LD="${LD-ld} -m elf64_s390"
   6248 	    ;;
   6249 	  sparc*-*linux*)
   6250 	    LD="${LD-ld} -m elf64_sparc"
   6251 	    ;;
   6252 	esac
   6253 	;;
   6254     esac
   6255   fi
   6256   rm -rf conftest*
   6257   ;;
   6258 
   6259 *-*-sco3.2v5*)
   6260   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6261   SAVE_CFLAGS="$CFLAGS"
   6262   CFLAGS="$CFLAGS -belf"
   6263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6264 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6265 if ${lt_cv_cc_needs_belf+:} false; then :
   6266   $as_echo_n "(cached) " >&6
   6267 else
   6268   ac_ext=c
   6269 ac_cpp='$CPP $CPPFLAGS'
   6270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6273 
   6274      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6275 /* end confdefs.h.  */
   6276 
   6277 int
   6278 main ()
   6279 {
   6280 
   6281   ;
   6282   return 0;
   6283 }
   6284 _ACEOF
   6285 if ac_fn_c_try_link "$LINENO"; then :
   6286   lt_cv_cc_needs_belf=yes
   6287 else
   6288   lt_cv_cc_needs_belf=no
   6289 fi
   6290 rm -f core conftest.err conftest.$ac_objext \
   6291     conftest$ac_exeext conftest.$ac_ext
   6292      ac_ext=c
   6293 ac_cpp='$CPP $CPPFLAGS'
   6294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6297 
   6298 fi
   6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6300 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6301   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6302     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6303     CFLAGS="$SAVE_CFLAGS"
   6304   fi
   6305   ;;
   6306 sparc*-*solaris*)
   6307   # Find out which ABI we are using.
   6308   echo 'int i;' > conftest.$ac_ext
   6309   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6310   (eval $ac_compile) 2>&5
   6311   ac_status=$?
   6312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6313   test $ac_status = 0; }; then
   6314     case `/usr/bin/file conftest.o` in
   6315     *64-bit*)
   6316       case $lt_cv_prog_gnu_ld in
   6317       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6318       *)
   6319 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6320 	  LD="${LD-ld} -64"
   6321 	fi
   6322 	;;
   6323       esac
   6324       ;;
   6325     esac
   6326   fi
   6327   rm -rf conftest*
   6328   ;;
   6329 esac
   6330 
   6331 need_locks="$enable_libtool_lock"
   6332 
   6333 if test -n "$ac_tool_prefix"; then
   6334   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6335 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6337 $as_echo_n "checking for $ac_word... " >&6; }
   6338 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6339   $as_echo_n "(cached) " >&6
   6340 else
   6341   if test -n "$MANIFEST_TOOL"; then
   6342   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6343 else
   6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6345 for as_dir in $PATH
   6346 do
   6347   IFS=$as_save_IFS
   6348   test -z "$as_dir" && as_dir=.
   6349     for ac_exec_ext in '' $ac_executable_extensions; do
   6350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6351     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6353     break 2
   6354   fi
   6355 done
   6356   done
   6357 IFS=$as_save_IFS
   6358 
   6359 fi
   6360 fi
   6361 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6362 if test -n "$MANIFEST_TOOL"; then
   6363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6364 $as_echo "$MANIFEST_TOOL" >&6; }
   6365 else
   6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6367 $as_echo "no" >&6; }
   6368 fi
   6369 
   6370 
   6371 fi
   6372 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6373   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6374   # Extract the first word of "mt", so it can be a program name with args.
   6375 set dummy mt; ac_word=$2
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6377 $as_echo_n "checking for $ac_word... " >&6; }
   6378 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6379   $as_echo_n "(cached) " >&6
   6380 else
   6381   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6382   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6383 else
   6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6385 for as_dir in $PATH
   6386 do
   6387   IFS=$as_save_IFS
   6388   test -z "$as_dir" && as_dir=.
   6389     for ac_exec_ext in '' $ac_executable_extensions; do
   6390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6391     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6393     break 2
   6394   fi
   6395 done
   6396   done
   6397 IFS=$as_save_IFS
   6398 
   6399 fi
   6400 fi
   6401 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6402 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6404 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6405 else
   6406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6407 $as_echo "no" >&6; }
   6408 fi
   6409 
   6410   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6411     MANIFEST_TOOL=":"
   6412   else
   6413     case $cross_compiling:$ac_tool_warned in
   6414 yes:)
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6417 ac_tool_warned=yes ;;
   6418 esac
   6419     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6420   fi
   6421 else
   6422   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6423 fi
   6424 
   6425 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6427 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6428 if ${lt_cv_path_mainfest_tool+:} false; then :
   6429   $as_echo_n "(cached) " >&6
   6430 else
   6431   lt_cv_path_mainfest_tool=no
   6432   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6433   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6434   cat conftest.err >&5
   6435   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6436     lt_cv_path_mainfest_tool=yes
   6437   fi
   6438   rm -f conftest*
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6441 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6442 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6443   MANIFEST_TOOL=:
   6444 fi
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451   case $host_os in
   6452     rhapsody* | darwin*)
   6453     if test -n "$ac_tool_prefix"; then
   6454   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6455 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6457 $as_echo_n "checking for $ac_word... " >&6; }
   6458 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461   if test -n "$DSYMUTIL"; then
   6462   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6463 else
   6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6465 for as_dir in $PATH
   6466 do
   6467   IFS=$as_save_IFS
   6468   test -z "$as_dir" && as_dir=.
   6469     for ac_exec_ext in '' $ac_executable_extensions; do
   6470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6471     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6473     break 2
   6474   fi
   6475 done
   6476   done
   6477 IFS=$as_save_IFS
   6478 
   6479 fi
   6480 fi
   6481 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6482 if test -n "$DSYMUTIL"; then
   6483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6484 $as_echo "$DSYMUTIL" >&6; }
   6485 else
   6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6487 $as_echo "no" >&6; }
   6488 fi
   6489 
   6490 
   6491 fi
   6492 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6493   ac_ct_DSYMUTIL=$DSYMUTIL
   6494   # Extract the first word of "dsymutil", so it can be a program name with args.
   6495 set dummy dsymutil; ac_word=$2
   6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6497 $as_echo_n "checking for $ac_word... " >&6; }
   6498 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6499   $as_echo_n "(cached) " >&6
   6500 else
   6501   if test -n "$ac_ct_DSYMUTIL"; then
   6502   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6503 else
   6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6505 for as_dir in $PATH
   6506 do
   6507   IFS=$as_save_IFS
   6508   test -z "$as_dir" && as_dir=.
   6509     for ac_exec_ext in '' $ac_executable_extensions; do
   6510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6511     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6513     break 2
   6514   fi
   6515 done
   6516   done
   6517 IFS=$as_save_IFS
   6518 
   6519 fi
   6520 fi
   6521 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6522 if test -n "$ac_ct_DSYMUTIL"; then
   6523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6524 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6525 else
   6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6527 $as_echo "no" >&6; }
   6528 fi
   6529 
   6530   if test "x$ac_ct_DSYMUTIL" = x; then
   6531     DSYMUTIL=":"
   6532   else
   6533     case $cross_compiling:$ac_tool_warned in
   6534 yes:)
   6535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6537 ac_tool_warned=yes ;;
   6538 esac
   6539     DSYMUTIL=$ac_ct_DSYMUTIL
   6540   fi
   6541 else
   6542   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6543 fi
   6544 
   6545     if test -n "$ac_tool_prefix"; then
   6546   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6547 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6549 $as_echo_n "checking for $ac_word... " >&6; }
   6550 if ${ac_cv_prog_NMEDIT+:} false; then :
   6551   $as_echo_n "(cached) " >&6
   6552 else
   6553   if test -n "$NMEDIT"; then
   6554   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6555 else
   6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6557 for as_dir in $PATH
   6558 do
   6559   IFS=$as_save_IFS
   6560   test -z "$as_dir" && as_dir=.
   6561     for ac_exec_ext in '' $ac_executable_extensions; do
   6562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6563     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6565     break 2
   6566   fi
   6567 done
   6568   done
   6569 IFS=$as_save_IFS
   6570 
   6571 fi
   6572 fi
   6573 NMEDIT=$ac_cv_prog_NMEDIT
   6574 if test -n "$NMEDIT"; then
   6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6576 $as_echo "$NMEDIT" >&6; }
   6577 else
   6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6579 $as_echo "no" >&6; }
   6580 fi
   6581 
   6582 
   6583 fi
   6584 if test -z "$ac_cv_prog_NMEDIT"; then
   6585   ac_ct_NMEDIT=$NMEDIT
   6586   # Extract the first word of "nmedit", so it can be a program name with args.
   6587 set dummy nmedit; ac_word=$2
   6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6589 $as_echo_n "checking for $ac_word... " >&6; }
   6590 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6591   $as_echo_n "(cached) " >&6
   6592 else
   6593   if test -n "$ac_ct_NMEDIT"; then
   6594   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6595 else
   6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6597 for as_dir in $PATH
   6598 do
   6599   IFS=$as_save_IFS
   6600   test -z "$as_dir" && as_dir=.
   6601     for ac_exec_ext in '' $ac_executable_extensions; do
   6602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6603     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6605     break 2
   6606   fi
   6607 done
   6608   done
   6609 IFS=$as_save_IFS
   6610 
   6611 fi
   6612 fi
   6613 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6614 if test -n "$ac_ct_NMEDIT"; then
   6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6616 $as_echo "$ac_ct_NMEDIT" >&6; }
   6617 else
   6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6619 $as_echo "no" >&6; }
   6620 fi
   6621 
   6622   if test "x$ac_ct_NMEDIT" = x; then
   6623     NMEDIT=":"
   6624   else
   6625     case $cross_compiling:$ac_tool_warned in
   6626 yes:)
   6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6629 ac_tool_warned=yes ;;
   6630 esac
   6631     NMEDIT=$ac_ct_NMEDIT
   6632   fi
   6633 else
   6634   NMEDIT="$ac_cv_prog_NMEDIT"
   6635 fi
   6636 
   6637     if test -n "$ac_tool_prefix"; then
   6638   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6639 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6641 $as_echo_n "checking for $ac_word... " >&6; }
   6642 if ${ac_cv_prog_LIPO+:} false; then :
   6643   $as_echo_n "(cached) " >&6
   6644 else
   6645   if test -n "$LIPO"; then
   6646   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6647 else
   6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6649 for as_dir in $PATH
   6650 do
   6651   IFS=$as_save_IFS
   6652   test -z "$as_dir" && as_dir=.
   6653     for ac_exec_ext in '' $ac_executable_extensions; do
   6654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6655     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6657     break 2
   6658   fi
   6659 done
   6660   done
   6661 IFS=$as_save_IFS
   6662 
   6663 fi
   6664 fi
   6665 LIPO=$ac_cv_prog_LIPO
   6666 if test -n "$LIPO"; then
   6667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6668 $as_echo "$LIPO" >&6; }
   6669 else
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6671 $as_echo "no" >&6; }
   6672 fi
   6673 
   6674 
   6675 fi
   6676 if test -z "$ac_cv_prog_LIPO"; then
   6677   ac_ct_LIPO=$LIPO
   6678   # Extract the first word of "lipo", so it can be a program name with args.
   6679 set dummy lipo; ac_word=$2
   6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6681 $as_echo_n "checking for $ac_word... " >&6; }
   6682 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6683   $as_echo_n "(cached) " >&6
   6684 else
   6685   if test -n "$ac_ct_LIPO"; then
   6686   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6687 else
   6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6689 for as_dir in $PATH
   6690 do
   6691   IFS=$as_save_IFS
   6692   test -z "$as_dir" && as_dir=.
   6693     for ac_exec_ext in '' $ac_executable_extensions; do
   6694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6695     ac_cv_prog_ac_ct_LIPO="lipo"
   6696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6697     break 2
   6698   fi
   6699 done
   6700   done
   6701 IFS=$as_save_IFS
   6702 
   6703 fi
   6704 fi
   6705 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6706 if test -n "$ac_ct_LIPO"; then
   6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6708 $as_echo "$ac_ct_LIPO" >&6; }
   6709 else
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6711 $as_echo "no" >&6; }
   6712 fi
   6713 
   6714   if test "x$ac_ct_LIPO" = x; then
   6715     LIPO=":"
   6716   else
   6717     case $cross_compiling:$ac_tool_warned in
   6718 yes:)
   6719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6721 ac_tool_warned=yes ;;
   6722 esac
   6723     LIPO=$ac_ct_LIPO
   6724   fi
   6725 else
   6726   LIPO="$ac_cv_prog_LIPO"
   6727 fi
   6728 
   6729     if test -n "$ac_tool_prefix"; then
   6730   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6731 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 $as_echo_n "checking for $ac_word... " >&6; }
   6734 if ${ac_cv_prog_OTOOL+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   if test -n "$OTOOL"; then
   6738   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6739 else
   6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6741 for as_dir in $PATH
   6742 do
   6743   IFS=$as_save_IFS
   6744   test -z "$as_dir" && as_dir=.
   6745     for ac_exec_ext in '' $ac_executable_extensions; do
   6746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6747     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6749     break 2
   6750   fi
   6751 done
   6752   done
   6753 IFS=$as_save_IFS
   6754 
   6755 fi
   6756 fi
   6757 OTOOL=$ac_cv_prog_OTOOL
   6758 if test -n "$OTOOL"; then
   6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6760 $as_echo "$OTOOL" >&6; }
   6761 else
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6763 $as_echo "no" >&6; }
   6764 fi
   6765 
   6766 
   6767 fi
   6768 if test -z "$ac_cv_prog_OTOOL"; then
   6769   ac_ct_OTOOL=$OTOOL
   6770   # Extract the first word of "otool", so it can be a program name with args.
   6771 set dummy otool; ac_word=$2
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6773 $as_echo_n "checking for $ac_word... " >&6; }
   6774 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6775   $as_echo_n "(cached) " >&6
   6776 else
   6777   if test -n "$ac_ct_OTOOL"; then
   6778   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6779 else
   6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6781 for as_dir in $PATH
   6782 do
   6783   IFS=$as_save_IFS
   6784   test -z "$as_dir" && as_dir=.
   6785     for ac_exec_ext in '' $ac_executable_extensions; do
   6786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6787     ac_cv_prog_ac_ct_OTOOL="otool"
   6788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6789     break 2
   6790   fi
   6791 done
   6792   done
   6793 IFS=$as_save_IFS
   6794 
   6795 fi
   6796 fi
   6797 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6798 if test -n "$ac_ct_OTOOL"; then
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6800 $as_echo "$ac_ct_OTOOL" >&6; }
   6801 else
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6803 $as_echo "no" >&6; }
   6804 fi
   6805 
   6806   if test "x$ac_ct_OTOOL" = x; then
   6807     OTOOL=":"
   6808   else
   6809     case $cross_compiling:$ac_tool_warned in
   6810 yes:)
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6813 ac_tool_warned=yes ;;
   6814 esac
   6815     OTOOL=$ac_ct_OTOOL
   6816   fi
   6817 else
   6818   OTOOL="$ac_cv_prog_OTOOL"
   6819 fi
   6820 
   6821     if test -n "$ac_tool_prefix"; then
   6822   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6823 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6825 $as_echo_n "checking for $ac_word... " >&6; }
   6826 if ${ac_cv_prog_OTOOL64+:} false; then :
   6827   $as_echo_n "(cached) " >&6
   6828 else
   6829   if test -n "$OTOOL64"; then
   6830   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6831 else
   6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6833 for as_dir in $PATH
   6834 do
   6835   IFS=$as_save_IFS
   6836   test -z "$as_dir" && as_dir=.
   6837     for ac_exec_ext in '' $ac_executable_extensions; do
   6838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6839     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6841     break 2
   6842   fi
   6843 done
   6844   done
   6845 IFS=$as_save_IFS
   6846 
   6847 fi
   6848 fi
   6849 OTOOL64=$ac_cv_prog_OTOOL64
   6850 if test -n "$OTOOL64"; then
   6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6852 $as_echo "$OTOOL64" >&6; }
   6853 else
   6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6855 $as_echo "no" >&6; }
   6856 fi
   6857 
   6858 
   6859 fi
   6860 if test -z "$ac_cv_prog_OTOOL64"; then
   6861   ac_ct_OTOOL64=$OTOOL64
   6862   # Extract the first word of "otool64", so it can be a program name with args.
   6863 set dummy otool64; ac_word=$2
   6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6865 $as_echo_n "checking for $ac_word... " >&6; }
   6866 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   if test -n "$ac_ct_OTOOL64"; then
   6870   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6871 else
   6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6873 for as_dir in $PATH
   6874 do
   6875   IFS=$as_save_IFS
   6876   test -z "$as_dir" && as_dir=.
   6877     for ac_exec_ext in '' $ac_executable_extensions; do
   6878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6879     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6881     break 2
   6882   fi
   6883 done
   6884   done
   6885 IFS=$as_save_IFS
   6886 
   6887 fi
   6888 fi
   6889 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6890 if test -n "$ac_ct_OTOOL64"; then
   6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6892 $as_echo "$ac_ct_OTOOL64" >&6; }
   6893 else
   6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6895 $as_echo "no" >&6; }
   6896 fi
   6897 
   6898   if test "x$ac_ct_OTOOL64" = x; then
   6899     OTOOL64=":"
   6900   else
   6901     case $cross_compiling:$ac_tool_warned in
   6902 yes:)
   6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6905 ac_tool_warned=yes ;;
   6906 esac
   6907     OTOOL64=$ac_ct_OTOOL64
   6908   fi
   6909 else
   6910   OTOOL64="$ac_cv_prog_OTOOL64"
   6911 fi
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6940 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6941 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   lt_cv_apple_cc_single_mod=no
   6945       if test -z "${LT_MULTI_MODULE}"; then
   6946 	# By default we will add the -single_module flag. You can override
   6947 	# by either setting the environment variable LT_MULTI_MODULE
   6948 	# non-empty at configure time, or by adding -multi_module to the
   6949 	# link flags.
   6950 	rm -rf libconftest.dylib*
   6951 	echo "int foo(void){return 1;}" > conftest.c
   6952 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6953 -dynamiclib -Wl,-single_module conftest.c" >&5
   6954 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6955 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6956         _lt_result=$?
   6957 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6958 	  lt_cv_apple_cc_single_mod=yes
   6959 	else
   6960 	  cat conftest.err >&5
   6961 	fi
   6962 	rm -rf libconftest.dylib*
   6963 	rm -f conftest.*
   6964       fi
   6965 fi
   6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6967 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6968     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6969 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6970 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   lt_cv_ld_exported_symbols_list=no
   6974       save_LDFLAGS=$LDFLAGS
   6975       echo "_main" > conftest.sym
   6976       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6978 /* end confdefs.h.  */
   6979 
   6980 int
   6981 main ()
   6982 {
   6983 
   6984   ;
   6985   return 0;
   6986 }
   6987 _ACEOF
   6988 if ac_fn_c_try_link "$LINENO"; then :
   6989   lt_cv_ld_exported_symbols_list=yes
   6990 else
   6991   lt_cv_ld_exported_symbols_list=no
   6992 fi
   6993 rm -f core conftest.err conftest.$ac_objext \
   6994     conftest$ac_exeext conftest.$ac_ext
   6995 	LDFLAGS="$save_LDFLAGS"
   6996 
   6997 fi
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6999 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7001 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7002 if ${lt_cv_ld_force_load+:} false; then :
   7003   $as_echo_n "(cached) " >&6
   7004 else
   7005   lt_cv_ld_force_load=no
   7006       cat > conftest.c << _LT_EOF
   7007 int forced_loaded() { return 2;}
   7008 _LT_EOF
   7009       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7010       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7011       echo "$AR cru libconftest.a conftest.o" >&5
   7012       $AR cru libconftest.a conftest.o 2>&5
   7013       echo "$RANLIB libconftest.a" >&5
   7014       $RANLIB libconftest.a 2>&5
   7015       cat > conftest.c << _LT_EOF
   7016 int main() { return 0;}
   7017 _LT_EOF
   7018       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7019       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7020       _lt_result=$?
   7021       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7022 	lt_cv_ld_force_load=yes
   7023       else
   7024 	cat conftest.err >&5
   7025       fi
   7026         rm -f conftest.err libconftest.a conftest conftest.c
   7027         rm -rf conftest.dSYM
   7028 
   7029 fi
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7031 $as_echo "$lt_cv_ld_force_load" >&6; }
   7032     case $host_os in
   7033     rhapsody* | darwin1.[012])
   7034       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7035     darwin1.*)
   7036       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7037     darwin*) # darwin 5.x on
   7038       # if running on 10.5 or later, the deployment target defaults
   7039       # to the OS version, if on x86, and 10.4, the deployment
   7040       # target defaults to 10.4. Don't you love it?
   7041       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7042 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7043 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7044 	10.[012]*)
   7045 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7046 	10.*)
   7047 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7048       esac
   7049     ;;
   7050   esac
   7051     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7052       _lt_dar_single_mod='$single_module'
   7053     fi
   7054     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7055       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7056     else
   7057       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7058     fi
   7059     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7060       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7061     else
   7062       _lt_dsymutil=
   7063     fi
   7064     ;;
   7065   esac
   7066 
   7067 ac_ext=c
   7068 ac_cpp='$CPP $CPPFLAGS'
   7069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7073 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7074 # On Suns, sometimes $CPP names a directory.
   7075 if test -n "$CPP" && test -d "$CPP"; then
   7076   CPP=
   7077 fi
   7078 if test -z "$CPP"; then
   7079   if ${ac_cv_prog_CPP+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082       # Double quotes because CPP needs to be expanded
   7083     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7084     do
   7085       ac_preproc_ok=false
   7086 for ac_c_preproc_warn_flag in '' yes
   7087 do
   7088   # Use a header file that comes with gcc, so configuring glibc
   7089   # with a fresh cross-compiler works.
   7090   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7091   # <limits.h> exists even on freestanding compilers.
   7092   # On the NeXT, cc -E runs the code through the compiler's parser,
   7093   # not just through cpp. "Syntax error" is here to catch this case.
   7094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7095 /* end confdefs.h.  */
   7096 #ifdef __STDC__
   7097 # include <limits.h>
   7098 #else
   7099 # include <assert.h>
   7100 #endif
   7101 		     Syntax error
   7102 _ACEOF
   7103 if ac_fn_c_try_cpp "$LINENO"; then :
   7104 
   7105 else
   7106   # Broken: fails on valid input.
   7107 continue
   7108 fi
   7109 rm -f conftest.err conftest.i conftest.$ac_ext
   7110 
   7111   # OK, works on sane cases.  Now check whether nonexistent headers
   7112   # can be detected and how.
   7113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 #include <ac_nonexistent.h>
   7116 _ACEOF
   7117 if ac_fn_c_try_cpp "$LINENO"; then :
   7118   # Broken: success on invalid input.
   7119 continue
   7120 else
   7121   # Passes both tests.
   7122 ac_preproc_ok=:
   7123 break
   7124 fi
   7125 rm -f conftest.err conftest.i conftest.$ac_ext
   7126 
   7127 done
   7128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7129 rm -f conftest.i conftest.err conftest.$ac_ext
   7130 if $ac_preproc_ok; then :
   7131   break
   7132 fi
   7133 
   7134     done
   7135     ac_cv_prog_CPP=$CPP
   7136 
   7137 fi
   7138   CPP=$ac_cv_prog_CPP
   7139 else
   7140   ac_cv_prog_CPP=$CPP
   7141 fi
   7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7143 $as_echo "$CPP" >&6; }
   7144 ac_preproc_ok=false
   7145 for ac_c_preproc_warn_flag in '' yes
   7146 do
   7147   # Use a header file that comes with gcc, so configuring glibc
   7148   # with a fresh cross-compiler works.
   7149   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7150   # <limits.h> exists even on freestanding compilers.
   7151   # On the NeXT, cc -E runs the code through the compiler's parser,
   7152   # not just through cpp. "Syntax error" is here to catch this case.
   7153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7154 /* end confdefs.h.  */
   7155 #ifdef __STDC__
   7156 # include <limits.h>
   7157 #else
   7158 # include <assert.h>
   7159 #endif
   7160 		     Syntax error
   7161 _ACEOF
   7162 if ac_fn_c_try_cpp "$LINENO"; then :
   7163 
   7164 else
   7165   # Broken: fails on valid input.
   7166 continue
   7167 fi
   7168 rm -f conftest.err conftest.i conftest.$ac_ext
   7169 
   7170   # OK, works on sane cases.  Now check whether nonexistent headers
   7171   # can be detected and how.
   7172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7173 /* end confdefs.h.  */
   7174 #include <ac_nonexistent.h>
   7175 _ACEOF
   7176 if ac_fn_c_try_cpp "$LINENO"; then :
   7177   # Broken: success on invalid input.
   7178 continue
   7179 else
   7180   # Passes both tests.
   7181 ac_preproc_ok=:
   7182 break
   7183 fi
   7184 rm -f conftest.err conftest.i conftest.$ac_ext
   7185 
   7186 done
   7187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7188 rm -f conftest.i conftest.err conftest.$ac_ext
   7189 if $ac_preproc_ok; then :
   7190 
   7191 else
   7192   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7194 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7195 See \`config.log' for more details" "$LINENO" 5; }
   7196 fi
   7197 
   7198 ac_ext=c
   7199 ac_cpp='$CPP $CPPFLAGS'
   7200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7203 
   7204 
   7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7206 $as_echo_n "checking for ANSI C header files... " >&6; }
   7207 if ${ac_cv_header_stdc+:} false; then :
   7208   $as_echo_n "(cached) " >&6
   7209 else
   7210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7211 /* end confdefs.h.  */
   7212 #include <stdlib.h>
   7213 #include <stdarg.h>
   7214 #include <string.h>
   7215 #include <float.h>
   7216 
   7217 int
   7218 main ()
   7219 {
   7220 
   7221   ;
   7222   return 0;
   7223 }
   7224 _ACEOF
   7225 if ac_fn_c_try_compile "$LINENO"; then :
   7226   ac_cv_header_stdc=yes
   7227 else
   7228   ac_cv_header_stdc=no
   7229 fi
   7230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7231 
   7232 if test $ac_cv_header_stdc = yes; then
   7233   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 #include <string.h>
   7237 
   7238 _ACEOF
   7239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7240   $EGREP "memchr" >/dev/null 2>&1; then :
   7241 
   7242 else
   7243   ac_cv_header_stdc=no
   7244 fi
   7245 rm -f conftest*
   7246 
   7247 fi
   7248 
   7249 if test $ac_cv_header_stdc = yes; then
   7250   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 #include <stdlib.h>
   7254 
   7255 _ACEOF
   7256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7257   $EGREP "free" >/dev/null 2>&1; then :
   7258 
   7259 else
   7260   ac_cv_header_stdc=no
   7261 fi
   7262 rm -f conftest*
   7263 
   7264 fi
   7265 
   7266 if test $ac_cv_header_stdc = yes; then
   7267   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7268   if test "$cross_compiling" = yes; then :
   7269   :
   7270 else
   7271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7272 /* end confdefs.h.  */
   7273 #include <ctype.h>
   7274 #include <stdlib.h>
   7275 #if ((' ' & 0x0FF) == 0x020)
   7276 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7277 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7278 #else
   7279 # define ISLOWER(c) \
   7280 		   (('a' <= (c) && (c) <= 'i') \
   7281 		     || ('j' <= (c) && (c) <= 'r') \
   7282 		     || ('s' <= (c) && (c) <= 'z'))
   7283 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7284 #endif
   7285 
   7286 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7287 int
   7288 main ()
   7289 {
   7290   int i;
   7291   for (i = 0; i < 256; i++)
   7292     if (XOR (islower (i), ISLOWER (i))
   7293 	|| toupper (i) != TOUPPER (i))
   7294       return 2;
   7295   return 0;
   7296 }
   7297 _ACEOF
   7298 if ac_fn_c_try_run "$LINENO"; then :
   7299 
   7300 else
   7301   ac_cv_header_stdc=no
   7302 fi
   7303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7304   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7305 fi
   7306 
   7307 fi
   7308 fi
   7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7310 $as_echo "$ac_cv_header_stdc" >&6; }
   7311 if test $ac_cv_header_stdc = yes; then
   7312 
   7313 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7314 
   7315 fi
   7316 
   7317 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7318 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7319 		  inttypes.h stdint.h unistd.h
   7320 do :
   7321   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7322 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7323 "
   7324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7325   cat >>confdefs.h <<_ACEOF
   7326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7327 _ACEOF
   7328 
   7329 fi
   7330 
   7331 done
   7332 
   7333 
   7334 for ac_header in dlfcn.h
   7335 do :
   7336   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7337 "
   7338 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7339   cat >>confdefs.h <<_ACEOF
   7340 #define HAVE_DLFCN_H 1
   7341 _ACEOF
   7342 
   7343 fi
   7344 
   7345 done
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 # Set options
   7352 
   7353 
   7354 
   7355         enable_dlopen=no
   7356 
   7357 
   7358   enable_win32_dll=no
   7359 
   7360 
   7361             # Check whether --enable-shared was given.
   7362 if test "${enable_shared+set}" = set; then :
   7363   enableval=$enable_shared; p=${PACKAGE-default}
   7364     case $enableval in
   7365     yes) enable_shared=yes ;;
   7366     no) enable_shared=no ;;
   7367     *)
   7368       enable_shared=no
   7369       # Look at the argument we got.  We use all the common list separators.
   7370       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7371       for pkg in $enableval; do
   7372 	IFS="$lt_save_ifs"
   7373 	if test "X$pkg" = "X$p"; then
   7374 	  enable_shared=yes
   7375 	fi
   7376       done
   7377       IFS="$lt_save_ifs"
   7378       ;;
   7379     esac
   7380 else
   7381   enable_shared=yes
   7382 fi
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392   # Check whether --enable-static was given.
   7393 if test "${enable_static+set}" = set; then :
   7394   enableval=$enable_static; p=${PACKAGE-default}
   7395     case $enableval in
   7396     yes) enable_static=yes ;;
   7397     no) enable_static=no ;;
   7398     *)
   7399      enable_static=no
   7400       # Look at the argument we got.  We use all the common list separators.
   7401       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7402       for pkg in $enableval; do
   7403 	IFS="$lt_save_ifs"
   7404 	if test "X$pkg" = "X$p"; then
   7405 	  enable_static=yes
   7406 	fi
   7407       done
   7408       IFS="$lt_save_ifs"
   7409       ;;
   7410     esac
   7411 else
   7412   enable_static=yes
   7413 fi
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 # Check whether --with-pic was given.
   7425 if test "${with_pic+set}" = set; then :
   7426   withval=$with_pic; pic_mode="$withval"
   7427 else
   7428   pic_mode=default
   7429 fi
   7430 
   7431 
   7432 test -z "$pic_mode" && pic_mode=default
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440   # Check whether --enable-fast-install was given.
   7441 if test "${enable_fast_install+set}" = set; then :
   7442   enableval=$enable_fast_install; p=${PACKAGE-default}
   7443     case $enableval in
   7444     yes) enable_fast_install=yes ;;
   7445     no) enable_fast_install=no ;;
   7446     *)
   7447       enable_fast_install=no
   7448       # Look at the argument we got.  We use all the common list separators.
   7449       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7450       for pkg in $enableval; do
   7451 	IFS="$lt_save_ifs"
   7452 	if test "X$pkg" = "X$p"; then
   7453 	  enable_fast_install=yes
   7454 	fi
   7455       done
   7456       IFS="$lt_save_ifs"
   7457       ;;
   7458     esac
   7459 else
   7460   enable_fast_install=yes
   7461 fi
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 # This can be used to rebuild libtool when needed
   7474 LIBTOOL_DEPS="$ltmain"
   7475 
   7476 # Always use our own libtool.
   7477 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 test -z "$LN_S" && LN_S="ln -s"
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 if test -n "${ZSH_VERSION+set}" ; then
   7520    setopt NO_GLOB_SUBST
   7521 fi
   7522 
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7524 $as_echo_n "checking for objdir... " >&6; }
   7525 if ${lt_cv_objdir+:} false; then :
   7526   $as_echo_n "(cached) " >&6
   7527 else
   7528   rm -f .libs 2>/dev/null
   7529 mkdir .libs 2>/dev/null
   7530 if test -d .libs; then
   7531   lt_cv_objdir=.libs
   7532 else
   7533   # MS-DOS does not allow filenames that begin with a dot.
   7534   lt_cv_objdir=_libs
   7535 fi
   7536 rmdir .libs 2>/dev/null
   7537 fi
   7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7539 $as_echo "$lt_cv_objdir" >&6; }
   7540 objdir=$lt_cv_objdir
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 cat >>confdefs.h <<_ACEOF
   7547 #define LT_OBJDIR "$lt_cv_objdir/"
   7548 _ACEOF
   7549 
   7550 
   7551 
   7552 
   7553 case $host_os in
   7554 aix3*)
   7555   # AIX sometimes has problems with the GCC collect2 program.  For some
   7556   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7557   # vanish in a puff of smoke.
   7558   if test "X${COLLECT_NAMES+set}" != Xset; then
   7559     COLLECT_NAMES=
   7560     export COLLECT_NAMES
   7561   fi
   7562   ;;
   7563 esac
   7564 
   7565 # Global variables:
   7566 ofile=libtool
   7567 can_build_shared=yes
   7568 
   7569 # All known linkers require a `.a' archive for static linking (except MSVC,
   7570 # which needs '.lib').
   7571 libext=a
   7572 
   7573 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7574 
   7575 old_CC="$CC"
   7576 old_CFLAGS="$CFLAGS"
   7577 
   7578 # Set sane defaults for various variables
   7579 test -z "$CC" && CC=cc
   7580 test -z "$LTCC" && LTCC=$CC
   7581 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7582 test -z "$LD" && LD=ld
   7583 test -z "$ac_objext" && ac_objext=o
   7584 
   7585 for cc_temp in $compiler""; do
   7586   case $cc_temp in
   7587     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7588     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7589     \-*) ;;
   7590     *) break;;
   7591   esac
   7592 done
   7593 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7594 
   7595 
   7596 # Only perform the check for file, if the check method requires it
   7597 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7598 case $deplibs_check_method in
   7599 file_magic*)
   7600   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7602 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7603 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7604   $as_echo_n "(cached) " >&6
   7605 else
   7606   case $MAGIC_CMD in
   7607 [\\/*] |  ?:[\\/]*)
   7608   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7609   ;;
   7610 *)
   7611   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7612   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7613   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7614   for ac_dir in $ac_dummy; do
   7615     IFS="$lt_save_ifs"
   7616     test -z "$ac_dir" && ac_dir=.
   7617     if test -f $ac_dir/${ac_tool_prefix}file; then
   7618       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7619       if test -n "$file_magic_test_file"; then
   7620 	case $deplibs_check_method in
   7621 	"file_magic "*)
   7622 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7623 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7624 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7625 	    $EGREP "$file_magic_regex" > /dev/null; then
   7626 	    :
   7627 	  else
   7628 	    cat <<_LT_EOF 1>&2
   7629 
   7630 *** Warning: the command libtool uses to detect shared libraries,
   7631 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7632 *** The result is that libtool may fail to recognize shared libraries
   7633 *** as such.  This will affect the creation of libtool libraries that
   7634 *** depend on shared libraries, but programs linked with such libtool
   7635 *** libraries will work regardless of this problem.  Nevertheless, you
   7636 *** may want to report the problem to your system manager and/or to
   7637 *** bug-libtool@gnu.org
   7638 
   7639 _LT_EOF
   7640 	  fi ;;
   7641 	esac
   7642       fi
   7643       break
   7644     fi
   7645   done
   7646   IFS="$lt_save_ifs"
   7647   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7648   ;;
   7649 esac
   7650 fi
   7651 
   7652 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7653 if test -n "$MAGIC_CMD"; then
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7655 $as_echo "$MAGIC_CMD" >&6; }
   7656 else
   7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7658 $as_echo "no" >&6; }
   7659 fi
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7666   if test -n "$ac_tool_prefix"; then
   7667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7668 $as_echo_n "checking for file... " >&6; }
   7669 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   case $MAGIC_CMD in
   7673 [\\/*] |  ?:[\\/]*)
   7674   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7675   ;;
   7676 *)
   7677   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7678   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7679   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7680   for ac_dir in $ac_dummy; do
   7681     IFS="$lt_save_ifs"
   7682     test -z "$ac_dir" && ac_dir=.
   7683     if test -f $ac_dir/file; then
   7684       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7685       if test -n "$file_magic_test_file"; then
   7686 	case $deplibs_check_method in
   7687 	"file_magic "*)
   7688 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7689 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7690 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7691 	    $EGREP "$file_magic_regex" > /dev/null; then
   7692 	    :
   7693 	  else
   7694 	    cat <<_LT_EOF 1>&2
   7695 
   7696 *** Warning: the command libtool uses to detect shared libraries,
   7697 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7698 *** The result is that libtool may fail to recognize shared libraries
   7699 *** as such.  This will affect the creation of libtool libraries that
   7700 *** depend on shared libraries, but programs linked with such libtool
   7701 *** libraries will work regardless of this problem.  Nevertheless, you
   7702 *** may want to report the problem to your system manager and/or to
   7703 *** bug-libtool@gnu.org
   7704 
   7705 _LT_EOF
   7706 	  fi ;;
   7707 	esac
   7708       fi
   7709       break
   7710     fi
   7711   done
   7712   IFS="$lt_save_ifs"
   7713   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7714   ;;
   7715 esac
   7716 fi
   7717 
   7718 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7719 if test -n "$MAGIC_CMD"; then
   7720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7721 $as_echo "$MAGIC_CMD" >&6; }
   7722 else
   7723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7724 $as_echo "no" >&6; }
   7725 fi
   7726 
   7727 
   7728   else
   7729     MAGIC_CMD=:
   7730   fi
   7731 fi
   7732 
   7733   fi
   7734   ;;
   7735 esac
   7736 
   7737 # Use C for the default configuration in the libtool script
   7738 
   7739 lt_save_CC="$CC"
   7740 ac_ext=c
   7741 ac_cpp='$CPP $CPPFLAGS'
   7742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7745 
   7746 
   7747 # Source file extension for C test sources.
   7748 ac_ext=c
   7749 
   7750 # Object file extension for compiled C test sources.
   7751 objext=o
   7752 objext=$objext
   7753 
   7754 # Code to be used in simple compile tests
   7755 lt_simple_compile_test_code="int some_variable = 0;"
   7756 
   7757 # Code to be used in simple link tests
   7758 lt_simple_link_test_code='int main(){return(0);}'
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 # If no C compiler was specified, use CC.
   7767 LTCC=${LTCC-"$CC"}
   7768 
   7769 # If no C compiler flags were specified, use CFLAGS.
   7770 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7771 
   7772 # Allow CC to be a program name with arguments.
   7773 compiler=$CC
   7774 
   7775 # Save the default compiler, since it gets overwritten when the other
   7776 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7777 compiler_DEFAULT=$CC
   7778 
   7779 # save warnings/boilerplate of simple test code
   7780 ac_outfile=conftest.$ac_objext
   7781 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7782 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7783 _lt_compiler_boilerplate=`cat conftest.err`
   7784 $RM conftest*
   7785 
   7786 ac_outfile=conftest.$ac_objext
   7787 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7788 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7789 _lt_linker_boilerplate=`cat conftest.err`
   7790 $RM -r conftest*
   7791 
   7792 
   7793 if test -n "$compiler"; then
   7794 
   7795 lt_prog_compiler_no_builtin_flag=
   7796 
   7797 if test "$GCC" = yes; then
   7798   case $cc_basename in
   7799   nvcc*)
   7800     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7801   *)
   7802     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7803   esac
   7804 
   7805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7806 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7807 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7808   $as_echo_n "(cached) " >&6
   7809 else
   7810   lt_cv_prog_compiler_rtti_exceptions=no
   7811    ac_outfile=conftest.$ac_objext
   7812    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7813    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7814    # Insert the option either (1) after the last *FLAGS variable, or
   7815    # (2) before a word containing "conftest.", or (3) at the end.
   7816    # Note that $ac_compile itself does not contain backslashes and begins
   7817    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7818    # The option is referenced via a variable to avoid confusing sed.
   7819    lt_compile=`echo "$ac_compile" | $SED \
   7820    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7821    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7822    -e 's:$: $lt_compiler_flag:'`
   7823    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7824    (eval "$lt_compile" 2>conftest.err)
   7825    ac_status=$?
   7826    cat conftest.err >&5
   7827    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7828    if (exit $ac_status) && test -s "$ac_outfile"; then
   7829      # The compiler can only warn and ignore the option if not recognized
   7830      # So say no if there are warnings other than the usual output.
   7831      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7832      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7833      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7834        lt_cv_prog_compiler_rtti_exceptions=yes
   7835      fi
   7836    fi
   7837    $RM conftest*
   7838 
   7839 fi
   7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7841 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7842 
   7843 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7844     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7845 else
   7846     :
   7847 fi
   7848 
   7849 fi
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856   lt_prog_compiler_wl=
   7857 lt_prog_compiler_pic=
   7858 lt_prog_compiler_static=
   7859 
   7860 
   7861   if test "$GCC" = yes; then
   7862     lt_prog_compiler_wl='-Wl,'
   7863     lt_prog_compiler_static='-static'
   7864 
   7865     case $host_os in
   7866       aix*)
   7867       # All AIX code is PIC.
   7868       if test "$host_cpu" = ia64; then
   7869 	# AIX 5 now supports IA64 processor
   7870 	lt_prog_compiler_static='-Bstatic'
   7871       fi
   7872       ;;
   7873 
   7874     amigaos*)
   7875       case $host_cpu in
   7876       powerpc)
   7877             # see comment about AmigaOS4 .so support
   7878             lt_prog_compiler_pic='-fPIC'
   7879         ;;
   7880       m68k)
   7881             # FIXME: we need at least 68020 code to build shared libraries, but
   7882             # adding the `-m68020' flag to GCC prevents building anything better,
   7883             # like `-m68040'.
   7884             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7885         ;;
   7886       esac
   7887       ;;
   7888 
   7889     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7890       # PIC is the default for these OSes.
   7891       ;;
   7892 
   7893     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7894       # This hack is so that the source file can tell whether it is being
   7895       # built for inclusion in a dll (and should export symbols for example).
   7896       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7897       # (--disable-auto-import) libraries
   7898       lt_prog_compiler_pic='-DDLL_EXPORT'
   7899       ;;
   7900 
   7901     darwin* | rhapsody*)
   7902       # PIC is the default on this platform
   7903       # Common symbols not allowed in MH_DYLIB files
   7904       lt_prog_compiler_pic='-fno-common'
   7905       ;;
   7906 
   7907     haiku*)
   7908       # PIC is the default for Haiku.
   7909       # The "-static" flag exists, but is broken.
   7910       lt_prog_compiler_static=
   7911       ;;
   7912 
   7913     hpux*)
   7914       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7915       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7916       # sets the default TLS model and affects inlining.
   7917       case $host_cpu in
   7918       hppa*64*)
   7919 	# +Z the default
   7920 	;;
   7921       *)
   7922 	lt_prog_compiler_pic='-fPIC'
   7923 	;;
   7924       esac
   7925       ;;
   7926 
   7927     interix[3-9]*)
   7928       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7929       # Instead, we relocate shared libraries at runtime.
   7930       ;;
   7931 
   7932     msdosdjgpp*)
   7933       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7934       # on systems that don't support them.
   7935       lt_prog_compiler_can_build_shared=no
   7936       enable_shared=no
   7937       ;;
   7938 
   7939     *nto* | *qnx*)
   7940       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7941       # it will coredump.
   7942       lt_prog_compiler_pic='-fPIC -shared'
   7943       ;;
   7944 
   7945     sysv4*MP*)
   7946       if test -d /usr/nec; then
   7947 	lt_prog_compiler_pic=-Kconform_pic
   7948       fi
   7949       ;;
   7950 
   7951     *)
   7952       lt_prog_compiler_pic='-fPIC'
   7953       ;;
   7954     esac
   7955 
   7956     case $cc_basename in
   7957     nvcc*) # Cuda Compiler Driver 2.2
   7958       lt_prog_compiler_wl='-Xlinker '
   7959       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7960       ;;
   7961     esac
   7962   else
   7963     # PORTME Check for flag to pass linker flags through the system compiler.
   7964     case $host_os in
   7965     aix*)
   7966       lt_prog_compiler_wl='-Wl,'
   7967       if test "$host_cpu" = ia64; then
   7968 	# AIX 5 now supports IA64 processor
   7969 	lt_prog_compiler_static='-Bstatic'
   7970       else
   7971 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7972       fi
   7973       ;;
   7974 
   7975     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7976       # This hack is so that the source file can tell whether it is being
   7977       # built for inclusion in a dll (and should export symbols for example).
   7978       lt_prog_compiler_pic='-DDLL_EXPORT'
   7979       ;;
   7980 
   7981     hpux9* | hpux10* | hpux11*)
   7982       lt_prog_compiler_wl='-Wl,'
   7983       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7984       # not for PA HP-UX.
   7985       case $host_cpu in
   7986       hppa*64*|ia64*)
   7987 	# +Z the default
   7988 	;;
   7989       *)
   7990 	lt_prog_compiler_pic='+Z'
   7991 	;;
   7992       esac
   7993       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7994       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7995       ;;
   7996 
   7997     irix5* | irix6* | nonstopux*)
   7998       lt_prog_compiler_wl='-Wl,'
   7999       # PIC (with -KPIC) is the default.
   8000       lt_prog_compiler_static='-non_shared'
   8001       ;;
   8002 
   8003     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8004       case $cc_basename in
   8005       # old Intel for x86_64 which still supported -KPIC.
   8006       ecc*)
   8007 	lt_prog_compiler_wl='-Wl,'
   8008 	lt_prog_compiler_pic='-KPIC'
   8009 	lt_prog_compiler_static='-static'
   8010         ;;
   8011       # icc used to be incompatible with GCC.
   8012       # ICC 10 doesn't accept -KPIC any more.
   8013       icc* | ifort*)
   8014 	lt_prog_compiler_wl='-Wl,'
   8015 	lt_prog_compiler_pic='-fPIC'
   8016 	lt_prog_compiler_static='-static'
   8017         ;;
   8018       # Lahey Fortran 8.1.
   8019       lf95*)
   8020 	lt_prog_compiler_wl='-Wl,'
   8021 	lt_prog_compiler_pic='--shared'
   8022 	lt_prog_compiler_static='--static'
   8023 	;;
   8024       nagfor*)
   8025 	# NAG Fortran compiler
   8026 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8027 	lt_prog_compiler_pic='-PIC'
   8028 	lt_prog_compiler_static='-Bstatic'
   8029 	;;
   8030       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8031         # Portland Group compilers (*not* the Pentium gcc compiler,
   8032 	# which looks to be a dead project)
   8033 	lt_prog_compiler_wl='-Wl,'
   8034 	lt_prog_compiler_pic='-fpic'
   8035 	lt_prog_compiler_static='-Bstatic'
   8036         ;;
   8037       ccc*)
   8038         lt_prog_compiler_wl='-Wl,'
   8039         # All Alpha code is PIC.
   8040         lt_prog_compiler_static='-non_shared'
   8041         ;;
   8042       xl* | bgxl* | bgf* | mpixl*)
   8043 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8044 	lt_prog_compiler_wl='-Wl,'
   8045 	lt_prog_compiler_pic='-qpic'
   8046 	lt_prog_compiler_static='-qstaticlink'
   8047 	;;
   8048       *)
   8049 	case `$CC -V 2>&1 | sed 5q` in
   8050 	*Sun\ F* | *Sun*Fortran*)
   8051 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8052 	  lt_prog_compiler_pic='-KPIC'
   8053 	  lt_prog_compiler_static='-Bstatic'
   8054 	  lt_prog_compiler_wl=''
   8055 	  ;;
   8056 	*Sun\ C*)
   8057 	  # Sun C 5.9
   8058 	  lt_prog_compiler_pic='-KPIC'
   8059 	  lt_prog_compiler_static='-Bstatic'
   8060 	  lt_prog_compiler_wl='-Wl,'
   8061 	  ;;
   8062 	esac
   8063 	;;
   8064       esac
   8065       ;;
   8066 
   8067     newsos6)
   8068       lt_prog_compiler_pic='-KPIC'
   8069       lt_prog_compiler_static='-Bstatic'
   8070       ;;
   8071 
   8072     *nto* | *qnx*)
   8073       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8074       # it will coredump.
   8075       lt_prog_compiler_pic='-fPIC -shared'
   8076       ;;
   8077 
   8078     osf3* | osf4* | osf5*)
   8079       lt_prog_compiler_wl='-Wl,'
   8080       # All OSF/1 code is PIC.
   8081       lt_prog_compiler_static='-non_shared'
   8082       ;;
   8083 
   8084     rdos*)
   8085       lt_prog_compiler_static='-non_shared'
   8086       ;;
   8087 
   8088     solaris*)
   8089       lt_prog_compiler_pic='-KPIC'
   8090       lt_prog_compiler_static='-Bstatic'
   8091       case $cc_basename in
   8092       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8093 	lt_prog_compiler_wl='-Qoption ld ';;
   8094       *)
   8095 	lt_prog_compiler_wl='-Wl,';;
   8096       esac
   8097       ;;
   8098 
   8099     sunos4*)
   8100       lt_prog_compiler_wl='-Qoption ld '
   8101       lt_prog_compiler_pic='-PIC'
   8102       lt_prog_compiler_static='-Bstatic'
   8103       ;;
   8104 
   8105     sysv4 | sysv4.2uw2* | sysv4.3*)
   8106       lt_prog_compiler_wl='-Wl,'
   8107       lt_prog_compiler_pic='-KPIC'
   8108       lt_prog_compiler_static='-Bstatic'
   8109       ;;
   8110 
   8111     sysv4*MP*)
   8112       if test -d /usr/nec ;then
   8113 	lt_prog_compiler_pic='-Kconform_pic'
   8114 	lt_prog_compiler_static='-Bstatic'
   8115       fi
   8116       ;;
   8117 
   8118     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8119       lt_prog_compiler_wl='-Wl,'
   8120       lt_prog_compiler_pic='-KPIC'
   8121       lt_prog_compiler_static='-Bstatic'
   8122       ;;
   8123 
   8124     unicos*)
   8125       lt_prog_compiler_wl='-Wl,'
   8126       lt_prog_compiler_can_build_shared=no
   8127       ;;
   8128 
   8129     uts4*)
   8130       lt_prog_compiler_pic='-pic'
   8131       lt_prog_compiler_static='-Bstatic'
   8132       ;;
   8133 
   8134     *)
   8135       lt_prog_compiler_can_build_shared=no
   8136       ;;
   8137     esac
   8138   fi
   8139 
   8140 case $host_os in
   8141   # For platforms which do not support PIC, -DPIC is meaningless:
   8142   *djgpp*)
   8143     lt_prog_compiler_pic=
   8144     ;;
   8145   *)
   8146     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8147     ;;
   8148 esac
   8149 
   8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8151 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8152 if ${lt_cv_prog_compiler_pic+:} false; then :
   8153   $as_echo_n "(cached) " >&6
   8154 else
   8155   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8156 fi
   8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8158 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8159 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8160 
   8161 #
   8162 # Check to make sure the PIC flag actually works.
   8163 #
   8164 if test -n "$lt_prog_compiler_pic"; then
   8165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8166 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8167 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   lt_cv_prog_compiler_pic_works=no
   8171    ac_outfile=conftest.$ac_objext
   8172    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8173    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8174    # Insert the option either (1) after the last *FLAGS variable, or
   8175    # (2) before a word containing "conftest.", or (3) at the end.
   8176    # Note that $ac_compile itself does not contain backslashes and begins
   8177    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8178    # The option is referenced via a variable to avoid confusing sed.
   8179    lt_compile=`echo "$ac_compile" | $SED \
   8180    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8181    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8182    -e 's:$: $lt_compiler_flag:'`
   8183    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8184    (eval "$lt_compile" 2>conftest.err)
   8185    ac_status=$?
   8186    cat conftest.err >&5
   8187    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8188    if (exit $ac_status) && test -s "$ac_outfile"; then
   8189      # The compiler can only warn and ignore the option if not recognized
   8190      # So say no if there are warnings other than the usual output.
   8191      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8192      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8193      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8194        lt_cv_prog_compiler_pic_works=yes
   8195      fi
   8196    fi
   8197    $RM conftest*
   8198 
   8199 fi
   8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8201 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8202 
   8203 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8204     case $lt_prog_compiler_pic in
   8205      "" | " "*) ;;
   8206      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8207      esac
   8208 else
   8209     lt_prog_compiler_pic=
   8210      lt_prog_compiler_can_build_shared=no
   8211 fi
   8212 
   8213 fi
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 #
   8226 # Check to make sure the static flag actually works.
   8227 #
   8228 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8230 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8231 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   lt_cv_prog_compiler_static_works=no
   8235    save_LDFLAGS="$LDFLAGS"
   8236    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8237    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8238    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8239      # The linker can only warn and ignore the option if not recognized
   8240      # So say no if there are warnings
   8241      if test -s conftest.err; then
   8242        # Append any errors to the config.log.
   8243        cat conftest.err 1>&5
   8244        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8245        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8246        if diff conftest.exp conftest.er2 >/dev/null; then
   8247          lt_cv_prog_compiler_static_works=yes
   8248        fi
   8249      else
   8250        lt_cv_prog_compiler_static_works=yes
   8251      fi
   8252    fi
   8253    $RM -r conftest*
   8254    LDFLAGS="$save_LDFLAGS"
   8255 
   8256 fi
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8258 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8259 
   8260 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8261     :
   8262 else
   8263     lt_prog_compiler_static=
   8264 fi
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8273 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8274 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   lt_cv_prog_compiler_c_o=no
   8278    $RM -r conftest 2>/dev/null
   8279    mkdir conftest
   8280    cd conftest
   8281    mkdir out
   8282    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8283 
   8284    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8285    # Insert the option either (1) after the last *FLAGS variable, or
   8286    # (2) before a word containing "conftest.", or (3) at the end.
   8287    # Note that $ac_compile itself does not contain backslashes and begins
   8288    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8289    lt_compile=`echo "$ac_compile" | $SED \
   8290    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8291    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8292    -e 's:$: $lt_compiler_flag:'`
   8293    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8294    (eval "$lt_compile" 2>out/conftest.err)
   8295    ac_status=$?
   8296    cat out/conftest.err >&5
   8297    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8298    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8299    then
   8300      # The compiler can only warn and ignore the option if not recognized
   8301      # So say no if there are warnings
   8302      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8303      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8304      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8305        lt_cv_prog_compiler_c_o=yes
   8306      fi
   8307    fi
   8308    chmod u+w . 2>&5
   8309    $RM conftest*
   8310    # SGI C++ compiler will create directory out/ii_files/ for
   8311    # template instantiation
   8312    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8313    $RM out/* && rmdir out
   8314    cd ..
   8315    $RM -r conftest
   8316    $RM conftest*
   8317 
   8318 fi
   8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8320 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8329 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8330   $as_echo_n "(cached) " >&6
   8331 else
   8332   lt_cv_prog_compiler_c_o=no
   8333    $RM -r conftest 2>/dev/null
   8334    mkdir conftest
   8335    cd conftest
   8336    mkdir out
   8337    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8338 
   8339    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8340    # Insert the option either (1) after the last *FLAGS variable, or
   8341    # (2) before a word containing "conftest.", or (3) at the end.
   8342    # Note that $ac_compile itself does not contain backslashes and begins
   8343    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8344    lt_compile=`echo "$ac_compile" | $SED \
   8345    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8346    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8347    -e 's:$: $lt_compiler_flag:'`
   8348    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8349    (eval "$lt_compile" 2>out/conftest.err)
   8350    ac_status=$?
   8351    cat out/conftest.err >&5
   8352    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8353    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8354    then
   8355      # The compiler can only warn and ignore the option if not recognized
   8356      # So say no if there are warnings
   8357      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8358      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8359      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8360        lt_cv_prog_compiler_c_o=yes
   8361      fi
   8362    fi
   8363    chmod u+w . 2>&5
   8364    $RM conftest*
   8365    # SGI C++ compiler will create directory out/ii_files/ for
   8366    # template instantiation
   8367    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8368    $RM out/* && rmdir out
   8369    cd ..
   8370    $RM -r conftest
   8371    $RM conftest*
   8372 
   8373 fi
   8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8375 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8376 
   8377 
   8378 
   8379 
   8380 hard_links="nottested"
   8381 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8382   # do not overwrite the value of need_locks provided by the user
   8383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8384 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8385   hard_links=yes
   8386   $RM conftest*
   8387   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8388   touch conftest.a
   8389   ln conftest.a conftest.b 2>&5 || hard_links=no
   8390   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8392 $as_echo "$hard_links" >&6; }
   8393   if test "$hard_links" = no; then
   8394     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8395 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8396     need_locks=warn
   8397   fi
   8398 else
   8399   need_locks=no
   8400 fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8408 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8409 
   8410   runpath_var=
   8411   allow_undefined_flag=
   8412   always_export_symbols=no
   8413   archive_cmds=
   8414   archive_expsym_cmds=
   8415   compiler_needs_object=no
   8416   enable_shared_with_static_runtimes=no
   8417   export_dynamic_flag_spec=
   8418   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8419   hardcode_automatic=no
   8420   hardcode_direct=no
   8421   hardcode_direct_absolute=no
   8422   hardcode_libdir_flag_spec=
   8423   hardcode_libdir_flag_spec_ld=
   8424   hardcode_libdir_separator=
   8425   hardcode_minus_L=no
   8426   hardcode_shlibpath_var=unsupported
   8427   inherit_rpath=no
   8428   link_all_deplibs=unknown
   8429   module_cmds=
   8430   module_expsym_cmds=
   8431   old_archive_from_new_cmds=
   8432   old_archive_from_expsyms_cmds=
   8433   thread_safe_flag_spec=
   8434   whole_archive_flag_spec=
   8435   # include_expsyms should be a list of space-separated symbols to be *always*
   8436   # included in the symbol list
   8437   include_expsyms=
   8438   # exclude_expsyms can be an extended regexp of symbols to exclude
   8439   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8440   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8441   # as well as any symbol that contains `d'.
   8442   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8443   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8444   # platforms (ab)use it in PIC code, but their linkers get confused if
   8445   # the symbol is explicitly referenced.  Since portable code cannot
   8446   # rely on this symbol name, it's probably fine to never include it in
   8447   # preloaded symbol tables.
   8448   # Exclude shared library initialization/finalization symbols.
   8449   extract_expsyms_cmds=
   8450 
   8451   case $host_os in
   8452   cygwin* | mingw* | pw32* | cegcc*)
   8453     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8454     # When not using gcc, we currently assume that we are using
   8455     # Microsoft Visual C++.
   8456     if test "$GCC" != yes; then
   8457       with_gnu_ld=no
   8458     fi
   8459     ;;
   8460   interix*)
   8461     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8462     with_gnu_ld=yes
   8463     ;;
   8464   openbsd*)
   8465     with_gnu_ld=no
   8466     ;;
   8467   esac
   8468 
   8469   ld_shlibs=yes
   8470 
   8471   # On some targets, GNU ld is compatible enough with the native linker
   8472   # that we're better off using the native interface for both.
   8473   lt_use_gnu_ld_interface=no
   8474   if test "$with_gnu_ld" = yes; then
   8475     case $host_os in
   8476       aix*)
   8477 	# The AIX port of GNU ld has always aspired to compatibility
   8478 	# with the native linker.  However, as the warning in the GNU ld
   8479 	# block says, versions before 2.19.5* couldn't really create working
   8480 	# shared libraries, regardless of the interface used.
   8481 	case `$LD -v 2>&1` in
   8482 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8483 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8484 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8485 	  *)
   8486 	    lt_use_gnu_ld_interface=yes
   8487 	    ;;
   8488 	esac
   8489 	;;
   8490       *)
   8491 	lt_use_gnu_ld_interface=yes
   8492 	;;
   8493     esac
   8494   fi
   8495 
   8496   if test "$lt_use_gnu_ld_interface" = yes; then
   8497     # If archive_cmds runs LD, not CC, wlarc should be empty
   8498     wlarc='${wl}'
   8499 
   8500     # Set some defaults for GNU ld with shared library support. These
   8501     # are reset later if shared libraries are not supported. Putting them
   8502     # here allows them to be overridden if necessary.
   8503     runpath_var=LD_RUN_PATH
   8504     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8505     export_dynamic_flag_spec='${wl}--export-dynamic'
   8506     # ancient GNU ld didn't support --whole-archive et. al.
   8507     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8508       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8509     else
   8510       whole_archive_flag_spec=
   8511     fi
   8512     supports_anon_versioning=no
   8513     case `$LD -v 2>&1` in
   8514       *GNU\ gold*) supports_anon_versioning=yes ;;
   8515       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8516       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8517       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8518       *\ 2.11.*) ;; # other 2.11 versions
   8519       *) supports_anon_versioning=yes ;;
   8520     esac
   8521 
   8522     # See if GNU ld supports shared libraries.
   8523     case $host_os in
   8524     aix[3-9]*)
   8525       # On AIX/PPC, the GNU linker is very broken
   8526       if test "$host_cpu" != ia64; then
   8527 	ld_shlibs=no
   8528 	cat <<_LT_EOF 1>&2
   8529 
   8530 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8531 *** to be unable to reliably create shared libraries on AIX.
   8532 *** Therefore, libtool is disabling shared libraries support.  If you
   8533 *** really care for shared libraries, you may want to install binutils
   8534 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8535 *** You will then need to restart the configuration process.
   8536 
   8537 _LT_EOF
   8538       fi
   8539       ;;
   8540 
   8541     amigaos*)
   8542       case $host_cpu in
   8543       powerpc)
   8544             # see comment about AmigaOS4 .so support
   8545             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8546             archive_expsym_cmds=''
   8547         ;;
   8548       m68k)
   8549             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)'
   8550             hardcode_libdir_flag_spec='-L$libdir'
   8551             hardcode_minus_L=yes
   8552         ;;
   8553       esac
   8554       ;;
   8555 
   8556     beos*)
   8557       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8558 	allow_undefined_flag=unsupported
   8559 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8560 	# support --undefined.  This deserves some investigation.  FIXME
   8561 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8562       else
   8563 	ld_shlibs=no
   8564       fi
   8565       ;;
   8566 
   8567     cygwin* | mingw* | pw32* | cegcc*)
   8568       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8569       # as there is no search path for DLLs.
   8570       hardcode_libdir_flag_spec='-L$libdir'
   8571       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8572       allow_undefined_flag=unsupported
   8573       always_export_symbols=no
   8574       enable_shared_with_static_runtimes=yes
   8575       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'
   8576       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8577 
   8578       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8579         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8580 	# If the export-symbols file already is a .def file (1st line
   8581 	# is EXPORTS), use it as is; otherwise, prepend...
   8582 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8583 	  cp $export_symbols $output_objdir/$soname.def;
   8584 	else
   8585 	  echo EXPORTS > $output_objdir/$soname.def;
   8586 	  cat $export_symbols >> $output_objdir/$soname.def;
   8587 	fi~
   8588 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8589       else
   8590 	ld_shlibs=no
   8591       fi
   8592       ;;
   8593 
   8594     haiku*)
   8595       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8596       link_all_deplibs=yes
   8597       ;;
   8598 
   8599     interix[3-9]*)
   8600       hardcode_direct=no
   8601       hardcode_shlibpath_var=no
   8602       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8603       export_dynamic_flag_spec='${wl}-E'
   8604       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8605       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8606       # default) and relocated if they conflict, which is a slow very memory
   8607       # consuming and fragmenting process.  To avoid this, we pick a random,
   8608       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8609       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8610       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8611       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'
   8612       ;;
   8613 
   8614     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8615       tmp_diet=no
   8616       if test "$host_os" = linux-dietlibc; then
   8617 	case $cc_basename in
   8618 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8619 	esac
   8620       fi
   8621       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8622 	 && test "$tmp_diet" = no
   8623       then
   8624 	tmp_addflag=' $pic_flag'
   8625 	tmp_sharedflag='-shared'
   8626 	case $cc_basename,$host_cpu in
   8627         pgcc*)				# Portland Group C compiler
   8628 	  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'
   8629 	  tmp_addflag=' $pic_flag'
   8630 	  ;;
   8631 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8632 					# Portland Group f77 and f90 compilers
   8633 	  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'
   8634 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8635 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8636 	  tmp_addflag=' -i_dynamic' ;;
   8637 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8638 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8639 	ifc* | ifort*)			# Intel Fortran compiler
   8640 	  tmp_addflag=' -nofor_main' ;;
   8641 	lf95*)				# Lahey Fortran 8.1
   8642 	  whole_archive_flag_spec=
   8643 	  tmp_sharedflag='--shared' ;;
   8644 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8645 	  tmp_sharedflag='-qmkshrobj'
   8646 	  tmp_addflag= ;;
   8647 	nvcc*)	# Cuda Compiler Driver 2.2
   8648 	  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'
   8649 	  compiler_needs_object=yes
   8650 	  ;;
   8651 	esac
   8652 	case `$CC -V 2>&1 | sed 5q` in
   8653 	*Sun\ C*)			# Sun C 5.9
   8654 	  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'
   8655 	  compiler_needs_object=yes
   8656 	  tmp_sharedflag='-G' ;;
   8657 	*Sun\ F*)			# Sun Fortran 8.3
   8658 	  tmp_sharedflag='-G' ;;
   8659 	esac
   8660 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8661 
   8662         if test "x$supports_anon_versioning" = xyes; then
   8663           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8664 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8665 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8666 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8667         fi
   8668 
   8669 	case $cc_basename in
   8670 	xlf* | bgf* | bgxlf* | mpixlf*)
   8671 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8672 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8673 	  hardcode_libdir_flag_spec=
   8674 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8675 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8676 	  if test "x$supports_anon_versioning" = xyes; then
   8677 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8678 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8679 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8680 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8681 	  fi
   8682 	  ;;
   8683 	esac
   8684       else
   8685         ld_shlibs=no
   8686       fi
   8687       ;;
   8688 
   8689     netbsd*)
   8690       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8691 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8692 	wlarc=
   8693       else
   8694 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8695 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8696       fi
   8697       ;;
   8698 
   8699     solaris*)
   8700       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8701 	ld_shlibs=no
   8702 	cat <<_LT_EOF 1>&2
   8703 
   8704 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8705 *** create shared libraries on Solaris systems.  Therefore, libtool
   8706 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8707 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8708 *** your PATH or compiler configuration so that the native linker is
   8709 *** used, and then restart.
   8710 
   8711 _LT_EOF
   8712       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8713 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8714 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8715       else
   8716 	ld_shlibs=no
   8717       fi
   8718       ;;
   8719 
   8720     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8721       case `$LD -v 2>&1` in
   8722         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8723 	ld_shlibs=no
   8724 	cat <<_LT_EOF 1>&2
   8725 
   8726 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8727 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8728 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8729 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8730 *** your PATH or compiler configuration so that the native linker is
   8731 *** used, and then restart.
   8732 
   8733 _LT_EOF
   8734 	;;
   8735 	*)
   8736 	  # For security reasons, it is highly recommended that you always
   8737 	  # use absolute paths for naming shared libraries, and exclude the
   8738 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8739 	  # requires that you compile everything twice, which is a pain.
   8740 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8741 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8742 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8743 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8744 	  else
   8745 	    ld_shlibs=no
   8746 	  fi
   8747 	;;
   8748       esac
   8749       ;;
   8750 
   8751     sunos4*)
   8752       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8753       wlarc=
   8754       hardcode_direct=yes
   8755       hardcode_shlibpath_var=no
   8756       ;;
   8757 
   8758     *)
   8759       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8760 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8761 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8762       else
   8763 	ld_shlibs=no
   8764       fi
   8765       ;;
   8766     esac
   8767 
   8768     if test "$ld_shlibs" = no; then
   8769       runpath_var=
   8770       hardcode_libdir_flag_spec=
   8771       export_dynamic_flag_spec=
   8772       whole_archive_flag_spec=
   8773     fi
   8774   else
   8775     # PORTME fill in a description of your system's linker (not GNU ld)
   8776     case $host_os in
   8777     aix3*)
   8778       allow_undefined_flag=unsupported
   8779       always_export_symbols=yes
   8780       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'
   8781       # Note: this linker hardcodes the directories in LIBPATH if there
   8782       # are no directories specified by -L.
   8783       hardcode_minus_L=yes
   8784       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8785 	# Neither direct hardcoding nor static linking is supported with a
   8786 	# broken collect2.
   8787 	hardcode_direct=unsupported
   8788       fi
   8789       ;;
   8790 
   8791     aix[4-9]*)
   8792       if test "$host_cpu" = ia64; then
   8793 	# On IA64, the linker does run time linking by default, so we don't
   8794 	# have to do anything special.
   8795 	aix_use_runtimelinking=no
   8796 	exp_sym_flag='-Bexport'
   8797 	no_entry_flag=""
   8798       else
   8799 	# If we're using GNU nm, then we don't want the "-C" option.
   8800 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8801 	# Also, AIX nm treats weak defined symbols like other global
   8802 	# defined symbols, whereas GNU nm marks them as "W".
   8803 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8804 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8805 	else
   8806 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8807 	fi
   8808 	aix_use_runtimelinking=no
   8809 
   8810 	# Test if we are trying to use run time linking or normal
   8811 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8812 	# need to do runtime linking.
   8813 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8814 	  for ld_flag in $LDFLAGS; do
   8815 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8816 	    aix_use_runtimelinking=yes
   8817 	    break
   8818 	  fi
   8819 	  done
   8820 	  ;;
   8821 	esac
   8822 
   8823 	exp_sym_flag='-bexport'
   8824 	no_entry_flag='-bnoentry'
   8825       fi
   8826 
   8827       # When large executables or shared objects are built, AIX ld can
   8828       # have problems creating the table of contents.  If linking a library
   8829       # or program results in "error TOC overflow" add -mminimal-toc to
   8830       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8831       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8832 
   8833       archive_cmds=''
   8834       hardcode_direct=yes
   8835       hardcode_direct_absolute=yes
   8836       hardcode_libdir_separator=':'
   8837       link_all_deplibs=yes
   8838       file_list_spec='${wl}-f,'
   8839 
   8840       if test "$GCC" = yes; then
   8841 	case $host_os in aix4.[012]|aix4.[012].*)
   8842 	# We only want to do this on AIX 4.2 and lower, the check
   8843 	# below for broken collect2 doesn't work under 4.3+
   8844 	  collect2name=`${CC} -print-prog-name=collect2`
   8845 	  if test -f "$collect2name" &&
   8846 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8847 	  then
   8848 	  # We have reworked collect2
   8849 	  :
   8850 	  else
   8851 	  # We have old collect2
   8852 	  hardcode_direct=unsupported
   8853 	  # It fails to find uninstalled libraries when the uninstalled
   8854 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8855 	  # to unsupported forces relinking
   8856 	  hardcode_minus_L=yes
   8857 	  hardcode_libdir_flag_spec='-L$libdir'
   8858 	  hardcode_libdir_separator=
   8859 	  fi
   8860 	  ;;
   8861 	esac
   8862 	shared_flag='-shared'
   8863 	if test "$aix_use_runtimelinking" = yes; then
   8864 	  shared_flag="$shared_flag "'${wl}-G'
   8865 	fi
   8866       else
   8867 	# not using gcc
   8868 	if test "$host_cpu" = ia64; then
   8869 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8870 	# chokes on -Wl,-G. The following line is correct:
   8871 	  shared_flag='-G'
   8872 	else
   8873 	  if test "$aix_use_runtimelinking" = yes; then
   8874 	    shared_flag='${wl}-G'
   8875 	  else
   8876 	    shared_flag='${wl}-bM:SRE'
   8877 	  fi
   8878 	fi
   8879       fi
   8880 
   8881       export_dynamic_flag_spec='${wl}-bexpall'
   8882       # It seems that -bexpall does not export symbols beginning with
   8883       # underscore (_), so it is better to generate a list of symbols to export.
   8884       always_export_symbols=yes
   8885       if test "$aix_use_runtimelinking" = yes; then
   8886 	# Warning - without using the other runtime loading flags (-brtl),
   8887 	# -berok will link without error, but may produce a broken library.
   8888 	allow_undefined_flag='-berok'
   8889         # Determine the default libpath from the value encoded in an
   8890         # empty executable.
   8891         if test "${lt_cv_aix_libpath+set}" = set; then
   8892   aix_libpath=$lt_cv_aix_libpath
   8893 else
   8894   if ${lt_cv_aix_libpath_+:} false; then :
   8895   $as_echo_n "(cached) " >&6
   8896 else
   8897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8898 /* end confdefs.h.  */
   8899 
   8900 int
   8901 main ()
   8902 {
   8903 
   8904   ;
   8905   return 0;
   8906 }
   8907 _ACEOF
   8908 if ac_fn_c_try_link "$LINENO"; then :
   8909 
   8910   lt_aix_libpath_sed='
   8911       /Import File Strings/,/^$/ {
   8912 	  /^0/ {
   8913 	      s/^0  *\([^ ]*\) *$/\1/
   8914 	      p
   8915 	  }
   8916       }'
   8917   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8918   # Check for a 64-bit object if we didn't find anything.
   8919   if test -z "$lt_cv_aix_libpath_"; then
   8920     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8921   fi
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext \
   8924     conftest$ac_exeext conftest.$ac_ext
   8925   if test -z "$lt_cv_aix_libpath_"; then
   8926     lt_cv_aix_libpath_="/usr/lib:/lib"
   8927   fi
   8928 
   8929 fi
   8930 
   8931   aix_libpath=$lt_cv_aix_libpath_
   8932 fi
   8933 
   8934         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8935         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8936       else
   8937 	if test "$host_cpu" = ia64; then
   8938 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8939 	  allow_undefined_flag="-z nodefs"
   8940 	  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"
   8941 	else
   8942 	 # Determine the default libpath from the value encoded in an
   8943 	 # empty executable.
   8944 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8945   aix_libpath=$lt_cv_aix_libpath
   8946 else
   8947   if ${lt_cv_aix_libpath_+:} false; then :
   8948   $as_echo_n "(cached) " >&6
   8949 else
   8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8951 /* end confdefs.h.  */
   8952 
   8953 int
   8954 main ()
   8955 {
   8956 
   8957   ;
   8958   return 0;
   8959 }
   8960 _ACEOF
   8961 if ac_fn_c_try_link "$LINENO"; then :
   8962 
   8963   lt_aix_libpath_sed='
   8964       /Import File Strings/,/^$/ {
   8965 	  /^0/ {
   8966 	      s/^0  *\([^ ]*\) *$/\1/
   8967 	      p
   8968 	  }
   8969       }'
   8970   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8971   # Check for a 64-bit object if we didn't find anything.
   8972   if test -z "$lt_cv_aix_libpath_"; then
   8973     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8974   fi
   8975 fi
   8976 rm -f core conftest.err conftest.$ac_objext \
   8977     conftest$ac_exeext conftest.$ac_ext
   8978   if test -z "$lt_cv_aix_libpath_"; then
   8979     lt_cv_aix_libpath_="/usr/lib:/lib"
   8980   fi
   8981 
   8982 fi
   8983 
   8984   aix_libpath=$lt_cv_aix_libpath_
   8985 fi
   8986 
   8987 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8988 	  # Warning - without using the other run time loading flags,
   8989 	  # -berok will link without error, but may produce a broken library.
   8990 	  no_undefined_flag=' ${wl}-bernotok'
   8991 	  allow_undefined_flag=' ${wl}-berok'
   8992 	  if test "$with_gnu_ld" = yes; then
   8993 	    # We only use this code for GNU lds that support --whole-archive.
   8994 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8995 	  else
   8996 	    # Exported symbols can be pulled into shared objects from archives
   8997 	    whole_archive_flag_spec='$convenience'
   8998 	  fi
   8999 	  archive_cmds_need_lc=yes
   9000 	  # This is similar to how AIX traditionally builds its shared libraries.
   9001 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9002 	fi
   9003       fi
   9004       ;;
   9005 
   9006     amigaos*)
   9007       case $host_cpu in
   9008       powerpc)
   9009             # see comment about AmigaOS4 .so support
   9010             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9011             archive_expsym_cmds=''
   9012         ;;
   9013       m68k)
   9014             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)'
   9015             hardcode_libdir_flag_spec='-L$libdir'
   9016             hardcode_minus_L=yes
   9017         ;;
   9018       esac
   9019       ;;
   9020 
   9021     bsdi[45]*)
   9022       export_dynamic_flag_spec=-rdynamic
   9023       ;;
   9024 
   9025     cygwin* | mingw* | pw32* | cegcc*)
   9026       # When not using gcc, we currently assume that we are using
   9027       # Microsoft Visual C++.
   9028       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9029       # no search path for DLLs.
   9030       case $cc_basename in
   9031       cl*)
   9032 	# Native MSVC
   9033 	hardcode_libdir_flag_spec=' '
   9034 	allow_undefined_flag=unsupported
   9035 	always_export_symbols=yes
   9036 	file_list_spec='@'
   9037 	# Tell ltmain to make .lib files, not .a files.
   9038 	libext=lib
   9039 	# Tell ltmain to make .dll files, not .so files.
   9040 	shrext_cmds=".dll"
   9041 	# FIXME: Setting linknames here is a bad hack.
   9042 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9043 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9044 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9045 	  else
   9046 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9047 	  fi~
   9048 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9049 	  linknames='
   9050 	# The linker will not automatically build a static lib if we build a DLL.
   9051 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9052 	enable_shared_with_static_runtimes=yes
   9053 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9054 	# Don't use ranlib
   9055 	old_postinstall_cmds='chmod 644 $oldlib'
   9056 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9057 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9058 	  case $lt_outputfile in
   9059 	    *.exe|*.EXE) ;;
   9060 	    *)
   9061 	      lt_outputfile="$lt_outputfile.exe"
   9062 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9063 	      ;;
   9064 	  esac~
   9065 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9066 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9067 	    $RM "$lt_outputfile.manifest";
   9068 	  fi'
   9069 	;;
   9070       *)
   9071 	# Assume MSVC wrapper
   9072 	hardcode_libdir_flag_spec=' '
   9073 	allow_undefined_flag=unsupported
   9074 	# Tell ltmain to make .lib files, not .a files.
   9075 	libext=lib
   9076 	# Tell ltmain to make .dll files, not .so files.
   9077 	shrext_cmds=".dll"
   9078 	# FIXME: Setting linknames here is a bad hack.
   9079 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9080 	# The linker will automatically build a .lib file if we build a DLL.
   9081 	old_archive_from_new_cmds='true'
   9082 	# FIXME: Should let the user specify the lib program.
   9083 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9084 	enable_shared_with_static_runtimes=yes
   9085 	;;
   9086       esac
   9087       ;;
   9088 
   9089     darwin* | rhapsody*)
   9090 
   9091 
   9092   archive_cmds_need_lc=no
   9093   hardcode_direct=no
   9094   hardcode_automatic=yes
   9095   hardcode_shlibpath_var=unsupported
   9096   if test "$lt_cv_ld_force_load" = "yes"; then
   9097     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\"`'
   9098   else
   9099     whole_archive_flag_spec=''
   9100   fi
   9101   link_all_deplibs=yes
   9102   allow_undefined_flag="$_lt_dar_allow_undefined"
   9103   case $cc_basename in
   9104      ifort*) _lt_dar_can_shared=yes ;;
   9105      *) _lt_dar_can_shared=$GCC ;;
   9106   esac
   9107   if test "$_lt_dar_can_shared" = "yes"; then
   9108     output_verbose_link_cmd=func_echo_all
   9109     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9110     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9111     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}"
   9112     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}"
   9113 
   9114   else
   9115   ld_shlibs=no
   9116   fi
   9117 
   9118       ;;
   9119 
   9120     dgux*)
   9121       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9122       hardcode_libdir_flag_spec='-L$libdir'
   9123       hardcode_shlibpath_var=no
   9124       ;;
   9125 
   9126     freebsd1*)
   9127       ld_shlibs=no
   9128       ;;
   9129 
   9130     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9131     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9132     # does not break anything, and helps significantly (at the cost of a little
   9133     # extra space).
   9134     freebsd2.2*)
   9135       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9136       hardcode_libdir_flag_spec='-R$libdir'
   9137       hardcode_direct=yes
   9138       hardcode_shlibpath_var=no
   9139       ;;
   9140 
   9141     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9142     freebsd2*)
   9143       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9144       hardcode_direct=yes
   9145       hardcode_minus_L=yes
   9146       hardcode_shlibpath_var=no
   9147       ;;
   9148 
   9149     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9150     freebsd* | dragonfly*)
   9151       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9152       hardcode_libdir_flag_spec='-R$libdir'
   9153       hardcode_direct=yes
   9154       hardcode_shlibpath_var=no
   9155       ;;
   9156 
   9157     hpux9*)
   9158       if test "$GCC" = yes; then
   9159 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9160       else
   9161 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9162       fi
   9163       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9164       hardcode_libdir_separator=:
   9165       hardcode_direct=yes
   9166 
   9167       # hardcode_minus_L: Not really in the search PATH,
   9168       # but as the default location of the library.
   9169       hardcode_minus_L=yes
   9170       export_dynamic_flag_spec='${wl}-E'
   9171       ;;
   9172 
   9173     hpux10*)
   9174       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9175 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9176       else
   9177 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9178       fi
   9179       if test "$with_gnu_ld" = no; then
   9180 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9181 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9182 	hardcode_libdir_separator=:
   9183 	hardcode_direct=yes
   9184 	hardcode_direct_absolute=yes
   9185 	export_dynamic_flag_spec='${wl}-E'
   9186 	# hardcode_minus_L: Not really in the search PATH,
   9187 	# but as the default location of the library.
   9188 	hardcode_minus_L=yes
   9189       fi
   9190       ;;
   9191 
   9192     hpux11*)
   9193       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9194 	case $host_cpu in
   9195 	hppa*64*)
   9196 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9197 	  ;;
   9198 	ia64*)
   9199 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9200 	  ;;
   9201 	*)
   9202 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9203 	  ;;
   9204 	esac
   9205       else
   9206 	case $host_cpu in
   9207 	hppa*64*)
   9208 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9209 	  ;;
   9210 	ia64*)
   9211 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9212 	  ;;
   9213 	*)
   9214 
   9215 	  # Older versions of the 11.00 compiler do not understand -b yet
   9216 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9217 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9218 $as_echo_n "checking if $CC understands -b... " >&6; }
   9219 if ${lt_cv_prog_compiler__b+:} false; then :
   9220   $as_echo_n "(cached) " >&6
   9221 else
   9222   lt_cv_prog_compiler__b=no
   9223    save_LDFLAGS="$LDFLAGS"
   9224    LDFLAGS="$LDFLAGS -b"
   9225    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9226    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9227      # The linker can only warn and ignore the option if not recognized
   9228      # So say no if there are warnings
   9229      if test -s conftest.err; then
   9230        # Append any errors to the config.log.
   9231        cat conftest.err 1>&5
   9232        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9233        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9234        if diff conftest.exp conftest.er2 >/dev/null; then
   9235          lt_cv_prog_compiler__b=yes
   9236        fi
   9237      else
   9238        lt_cv_prog_compiler__b=yes
   9239      fi
   9240    fi
   9241    $RM -r conftest*
   9242    LDFLAGS="$save_LDFLAGS"
   9243 
   9244 fi
   9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9246 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9247 
   9248 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9249     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9250 else
   9251     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9252 fi
   9253 
   9254 	  ;;
   9255 	esac
   9256       fi
   9257       if test "$with_gnu_ld" = no; then
   9258 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9259 	hardcode_libdir_separator=:
   9260 
   9261 	case $host_cpu in
   9262 	hppa*64*|ia64*)
   9263 	  hardcode_direct=no
   9264 	  hardcode_shlibpath_var=no
   9265 	  ;;
   9266 	*)
   9267 	  hardcode_direct=yes
   9268 	  hardcode_direct_absolute=yes
   9269 	  export_dynamic_flag_spec='${wl}-E'
   9270 
   9271 	  # hardcode_minus_L: Not really in the search PATH,
   9272 	  # but as the default location of the library.
   9273 	  hardcode_minus_L=yes
   9274 	  ;;
   9275 	esac
   9276       fi
   9277       ;;
   9278 
   9279     irix5* | irix6* | nonstopux*)
   9280       if test "$GCC" = yes; then
   9281 	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'
   9282 	# Try to use the -exported_symbol ld option, if it does not
   9283 	# work, assume that -exports_file does not work either and
   9284 	# implicitly export all symbols.
   9285 	# This should be the same for all languages, so no per-tag cache variable.
   9286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9287 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9288 if ${lt_cv_irix_exported_symbol+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   save_LDFLAGS="$LDFLAGS"
   9292 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9293 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9294 /* end confdefs.h.  */
   9295 int foo (void) { return 0; }
   9296 _ACEOF
   9297 if ac_fn_c_try_link "$LINENO"; then :
   9298   lt_cv_irix_exported_symbol=yes
   9299 else
   9300   lt_cv_irix_exported_symbol=no
   9301 fi
   9302 rm -f core conftest.err conftest.$ac_objext \
   9303     conftest$ac_exeext conftest.$ac_ext
   9304            LDFLAGS="$save_LDFLAGS"
   9305 fi
   9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9307 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9308 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9309           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'
   9310 	fi
   9311       else
   9312 	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'
   9313 	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'
   9314       fi
   9315       archive_cmds_need_lc='no'
   9316       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9317       hardcode_libdir_separator=:
   9318       inherit_rpath=yes
   9319       link_all_deplibs=yes
   9320       ;;
   9321 
   9322     netbsd*)
   9323       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9324 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9325       else
   9326 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9327       fi
   9328       hardcode_libdir_flag_spec='-R$libdir'
   9329       hardcode_direct=yes
   9330       hardcode_shlibpath_var=no
   9331       ;;
   9332 
   9333     newsos6)
   9334       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9335       hardcode_direct=yes
   9336       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9337       hardcode_libdir_separator=:
   9338       hardcode_shlibpath_var=no
   9339       ;;
   9340 
   9341     *nto* | *qnx*)
   9342       ;;
   9343 
   9344     openbsd*)
   9345       if test -f /usr/libexec/ld.so; then
   9346 	hardcode_direct=yes
   9347 	hardcode_shlibpath_var=no
   9348 	hardcode_direct_absolute=yes
   9349 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9350 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9351 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9352 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9353 	  export_dynamic_flag_spec='${wl}-E'
   9354 	else
   9355 	  case $host_os in
   9356 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9357 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9358 	     hardcode_libdir_flag_spec='-R$libdir'
   9359 	     ;;
   9360 	   *)
   9361 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9362 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9363 	     ;;
   9364 	  esac
   9365 	fi
   9366       else
   9367 	ld_shlibs=no
   9368       fi
   9369       ;;
   9370 
   9371     os2*)
   9372       hardcode_libdir_flag_spec='-L$libdir'
   9373       hardcode_minus_L=yes
   9374       allow_undefined_flag=unsupported
   9375       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9376       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9377       ;;
   9378 
   9379     osf3*)
   9380       if test "$GCC" = yes; then
   9381 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9382 	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'
   9383       else
   9384 	allow_undefined_flag=' -expect_unresolved \*'
   9385 	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'
   9386       fi
   9387       archive_cmds_need_lc='no'
   9388       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9389       hardcode_libdir_separator=:
   9390       ;;
   9391 
   9392     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9393       if test "$GCC" = yes; then
   9394 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9395 	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'
   9396 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9397       else
   9398 	allow_undefined_flag=' -expect_unresolved \*'
   9399 	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'
   9400 	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~
   9401 	$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'
   9402 
   9403 	# Both c and cxx compiler support -rpath directly
   9404 	hardcode_libdir_flag_spec='-rpath $libdir'
   9405       fi
   9406       archive_cmds_need_lc='no'
   9407       hardcode_libdir_separator=:
   9408       ;;
   9409 
   9410     solaris*)
   9411       no_undefined_flag=' -z defs'
   9412       if test "$GCC" = yes; then
   9413 	wlarc='${wl}'
   9414 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9415 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9416 	  $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'
   9417       else
   9418 	case `$CC -V 2>&1` in
   9419 	*"Compilers 5.0"*)
   9420 	  wlarc=''
   9421 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9422 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9423 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9424 	  ;;
   9425 	*)
   9426 	  wlarc='${wl}'
   9427 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9428 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9429 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9430 	  ;;
   9431 	esac
   9432       fi
   9433       hardcode_libdir_flag_spec='-R$libdir'
   9434       hardcode_shlibpath_var=no
   9435       case $host_os in
   9436       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9437       *)
   9438 	# The compiler driver will combine and reorder linker options,
   9439 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9440 	# but is careful enough not to reorder.
   9441 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9442 	if test "$GCC" = yes; then
   9443 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9444 	else
   9445 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9446 	fi
   9447 	;;
   9448       esac
   9449       link_all_deplibs=yes
   9450       ;;
   9451 
   9452     sunos4*)
   9453       if test "x$host_vendor" = xsequent; then
   9454 	# Use $CC to link under sequent, because it throws in some extra .o
   9455 	# files that make .init and .fini sections work.
   9456 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9457       else
   9458 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9459       fi
   9460       hardcode_libdir_flag_spec='-L$libdir'
   9461       hardcode_direct=yes
   9462       hardcode_minus_L=yes
   9463       hardcode_shlibpath_var=no
   9464       ;;
   9465 
   9466     sysv4)
   9467       case $host_vendor in
   9468 	sni)
   9469 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9470 	  hardcode_direct=yes # is this really true???
   9471 	;;
   9472 	siemens)
   9473 	  ## LD is ld it makes a PLAMLIB
   9474 	  ## CC just makes a GrossModule.
   9475 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9476 	  reload_cmds='$CC -r -o $output$reload_objs'
   9477 	  hardcode_direct=no
   9478         ;;
   9479 	motorola)
   9480 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9481 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9482 	;;
   9483       esac
   9484       runpath_var='LD_RUN_PATH'
   9485       hardcode_shlibpath_var=no
   9486       ;;
   9487 
   9488     sysv4.3*)
   9489       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9490       hardcode_shlibpath_var=no
   9491       export_dynamic_flag_spec='-Bexport'
   9492       ;;
   9493 
   9494     sysv4*MP*)
   9495       if test -d /usr/nec; then
   9496 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9497 	hardcode_shlibpath_var=no
   9498 	runpath_var=LD_RUN_PATH
   9499 	hardcode_runpath_var=yes
   9500 	ld_shlibs=yes
   9501       fi
   9502       ;;
   9503 
   9504     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9505       no_undefined_flag='${wl}-z,text'
   9506       archive_cmds_need_lc=no
   9507       hardcode_shlibpath_var=no
   9508       runpath_var='LD_RUN_PATH'
   9509 
   9510       if test "$GCC" = yes; then
   9511 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9512 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9513       else
   9514 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9515 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9516       fi
   9517       ;;
   9518 
   9519     sysv5* | sco3.2v5* | sco5v6*)
   9520       # Note: We can NOT use -z defs as we might desire, because we do not
   9521       # link with -lc, and that would cause any symbols used from libc to
   9522       # always be unresolved, which means just about no library would
   9523       # ever link correctly.  If we're not using GNU ld we use -z text
   9524       # though, which does catch some bad symbols but isn't as heavy-handed
   9525       # as -z defs.
   9526       no_undefined_flag='${wl}-z,text'
   9527       allow_undefined_flag='${wl}-z,nodefs'
   9528       archive_cmds_need_lc=no
   9529       hardcode_shlibpath_var=no
   9530       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9531       hardcode_libdir_separator=':'
   9532       link_all_deplibs=yes
   9533       export_dynamic_flag_spec='${wl}-Bexport'
   9534       runpath_var='LD_RUN_PATH'
   9535 
   9536       if test "$GCC" = yes; then
   9537 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9538 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9539       else
   9540 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9541 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542       fi
   9543       ;;
   9544 
   9545     uts4*)
   9546       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9547       hardcode_libdir_flag_spec='-L$libdir'
   9548       hardcode_shlibpath_var=no
   9549       ;;
   9550 
   9551     *)
   9552       ld_shlibs=no
   9553       ;;
   9554     esac
   9555 
   9556     if test x$host_vendor = xsni; then
   9557       case $host in
   9558       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9559 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9560 	;;
   9561       esac
   9562     fi
   9563   fi
   9564 
   9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9566 $as_echo "$ld_shlibs" >&6; }
   9567 test "$ld_shlibs" = no && can_build_shared=no
   9568 
   9569 with_gnu_ld=$with_gnu_ld
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 #
   9586 # Do we need to explicitly link libc?
   9587 #
   9588 case "x$archive_cmds_need_lc" in
   9589 x|xyes)
   9590   # Assume -lc should be added
   9591   archive_cmds_need_lc=yes
   9592 
   9593   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9594     case $archive_cmds in
   9595     *'~'*)
   9596       # FIXME: we may have to deal with multi-command sequences.
   9597       ;;
   9598     '$CC '*)
   9599       # Test whether the compiler implicitly links with -lc since on some
   9600       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9601       # to ld, don't add -lc before -lgcc.
   9602       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9603 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9604 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9605   $as_echo_n "(cached) " >&6
   9606 else
   9607   $RM conftest*
   9608 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9609 
   9610 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9611   (eval $ac_compile) 2>&5
   9612   ac_status=$?
   9613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9614   test $ac_status = 0; } 2>conftest.err; then
   9615 	  soname=conftest
   9616 	  lib=conftest
   9617 	  libobjs=conftest.$ac_objext
   9618 	  deplibs=
   9619 	  wl=$lt_prog_compiler_wl
   9620 	  pic_flag=$lt_prog_compiler_pic
   9621 	  compiler_flags=-v
   9622 	  linker_flags=-v
   9623 	  verstring=
   9624 	  output_objdir=.
   9625 	  libname=conftest
   9626 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9627 	  allow_undefined_flag=
   9628 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9629   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9630   ac_status=$?
   9631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9632   test $ac_status = 0; }
   9633 	  then
   9634 	    lt_cv_archive_cmds_need_lc=no
   9635 	  else
   9636 	    lt_cv_archive_cmds_need_lc=yes
   9637 	  fi
   9638 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9639 	else
   9640 	  cat conftest.err 1>&5
   9641 	fi
   9642 	$RM conftest*
   9643 
   9644 fi
   9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9646 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9647       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9648       ;;
   9649     esac
   9650   fi
   9651   ;;
   9652 esac
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9811 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9812 
   9813 if test "$GCC" = yes; then
   9814   case $host_os in
   9815     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9816     *) lt_awk_arg="/^libraries:/" ;;
   9817   esac
   9818   case $host_os in
   9819     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9820     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9821   esac
   9822   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9823   case $lt_search_path_spec in
   9824   *\;*)
   9825     # if the path contains ";" then we assume it to be the separator
   9826     # otherwise default to the standard path separator (i.e. ":") - it is
   9827     # assumed that no part of a normal pathname contains ";" but that should
   9828     # okay in the real world where ";" in dirpaths is itself problematic.
   9829     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9830     ;;
   9831   *)
   9832     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9833     ;;
   9834   esac
   9835   # Ok, now we have the path, separated by spaces, we can step through it
   9836   # and add multilib dir if necessary.
   9837   lt_tmp_lt_search_path_spec=
   9838   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9839   for lt_sys_path in $lt_search_path_spec; do
   9840     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9841       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9842     else
   9843       test -d "$lt_sys_path" && \
   9844 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9845     fi
   9846   done
   9847   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9848 BEGIN {RS=" "; FS="/|\n";} {
   9849   lt_foo="";
   9850   lt_count=0;
   9851   for (lt_i = NF; lt_i > 0; lt_i--) {
   9852     if ($lt_i != "" && $lt_i != ".") {
   9853       if ($lt_i == "..") {
   9854         lt_count++;
   9855       } else {
   9856         if (lt_count == 0) {
   9857           lt_foo="/" $lt_i lt_foo;
   9858         } else {
   9859           lt_count--;
   9860         }
   9861       }
   9862     }
   9863   }
   9864   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9865   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9866 }'`
   9867   # AWK program above erroneously prepends '/' to C:/dos/paths
   9868   # for these hosts.
   9869   case $host_os in
   9870     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9871       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9872   esac
   9873   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9874 else
   9875   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9876 fi
   9877 library_names_spec=
   9878 libname_spec='lib$name'
   9879 soname_spec=
   9880 shrext_cmds=".so"
   9881 postinstall_cmds=
   9882 postuninstall_cmds=
   9883 finish_cmds=
   9884 finish_eval=
   9885 shlibpath_var=
   9886 shlibpath_overrides_runpath=unknown
   9887 version_type=none
   9888 dynamic_linker="$host_os ld.so"
   9889 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9890 need_lib_prefix=unknown
   9891 hardcode_into_libs=no
   9892 
   9893 # when you set need_version to no, make sure it does not cause -set_version
   9894 # flags to be left without arguments
   9895 need_version=unknown
   9896 
   9897 case $host_os in
   9898 aix3*)
   9899   version_type=linux
   9900   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9901   shlibpath_var=LIBPATH
   9902 
   9903   # AIX 3 has no versioning support, so we append a major version to the name.
   9904   soname_spec='${libname}${release}${shared_ext}$major'
   9905   ;;
   9906 
   9907 aix[4-9]*)
   9908   version_type=linux
   9909   need_lib_prefix=no
   9910   need_version=no
   9911   hardcode_into_libs=yes
   9912   if test "$host_cpu" = ia64; then
   9913     # AIX 5 supports IA64
   9914     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9915     shlibpath_var=LD_LIBRARY_PATH
   9916   else
   9917     # With GCC up to 2.95.x, collect2 would create an import file
   9918     # for dependence libraries.  The import file would start with
   9919     # the line `#! .'.  This would cause the generated library to
   9920     # depend on `.', always an invalid library.  This was fixed in
   9921     # development snapshots of GCC prior to 3.0.
   9922     case $host_os in
   9923       aix4 | aix4.[01] | aix4.[01].*)
   9924       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9925 	   echo ' yes '
   9926 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9927 	:
   9928       else
   9929 	can_build_shared=no
   9930       fi
   9931       ;;
   9932     esac
   9933     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9934     # soname into executable. Probably we can add versioning support to
   9935     # collect2, so additional links can be useful in future.
   9936     if test "$aix_use_runtimelinking" = yes; then
   9937       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9938       # instead of lib<name>.a to let people know that these are not
   9939       # typical AIX shared libraries.
   9940       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9941     else
   9942       # We preserve .a as extension for shared libraries through AIX4.2
   9943       # and later when we are not doing run time linking.
   9944       library_names_spec='${libname}${release}.a $libname.a'
   9945       soname_spec='${libname}${release}${shared_ext}$major'
   9946     fi
   9947     shlibpath_var=LIBPATH
   9948   fi
   9949   ;;
   9950 
   9951 amigaos*)
   9952   case $host_cpu in
   9953   powerpc)
   9954     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9955     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9956     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9957     ;;
   9958   m68k)
   9959     library_names_spec='$libname.ixlibrary $libname.a'
   9960     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9961     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   9962     ;;
   9963   esac
   9964   ;;
   9965 
   9966 beos*)
   9967   library_names_spec='${libname}${shared_ext}'
   9968   dynamic_linker="$host_os ld.so"
   9969   shlibpath_var=LIBRARY_PATH
   9970   ;;
   9971 
   9972 bsdi[45]*)
   9973   version_type=linux
   9974   need_version=no
   9975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9976   soname_spec='${libname}${release}${shared_ext}$major'
   9977   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9978   shlibpath_var=LD_LIBRARY_PATH
   9979   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9980   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9981   # the default ld.so.conf also contains /usr/contrib/lib and
   9982   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9983   # libtool to hard-code these into programs
   9984   ;;
   9985 
   9986 cygwin* | mingw* | pw32* | cegcc*)
   9987   version_type=windows
   9988   shrext_cmds=".dll"
   9989   need_version=no
   9990   need_lib_prefix=no
   9991 
   9992   case $GCC,$cc_basename in
   9993   yes,*)
   9994     # gcc
   9995     library_names_spec='$libname.dll.a'
   9996     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9997     postinstall_cmds='base_file=`basename \${file}`~
   9998       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9999       dldir=$destdir/`dirname \$dlpath`~
   10000       test -d \$dldir || mkdir -p \$dldir~
   10001       $install_prog $dir/$dlname \$dldir/$dlname~
   10002       chmod a+x \$dldir/$dlname~
   10003       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10004         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10005       fi'
   10006     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10007       dlpath=$dir/\$dldll~
   10008        $RM \$dlpath'
   10009     shlibpath_overrides_runpath=yes
   10010 
   10011     case $host_os in
   10012     cygwin*)
   10013       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10014       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10015 
   10016       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10017       ;;
   10018     mingw* | cegcc*)
   10019       # MinGW DLLs use traditional 'lib' prefix
   10020       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10021       ;;
   10022     pw32*)
   10023       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10024       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10025       ;;
   10026     esac
   10027     dynamic_linker='Win32 ld.exe'
   10028     ;;
   10029 
   10030   *,cl*)
   10031     # Native MSVC
   10032     libname_spec='$name'
   10033     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10034     library_names_spec='${libname}.dll.lib'
   10035 
   10036     case $build_os in
   10037     mingw*)
   10038       sys_lib_search_path_spec=
   10039       lt_save_ifs=$IFS
   10040       IFS=';'
   10041       for lt_path in $LIB
   10042       do
   10043         IFS=$lt_save_ifs
   10044         # Let DOS variable expansion print the short 8.3 style file name.
   10045         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10046         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10047       done
   10048       IFS=$lt_save_ifs
   10049       # Convert to MSYS style.
   10050       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10051       ;;
   10052     cygwin*)
   10053       # Convert to unix form, then to dos form, then back to unix form
   10054       # but this time dos style (no spaces!) so that the unix form looks
   10055       # like /cygdrive/c/PROGRA~1:/cygdr...
   10056       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10057       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10058       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10059       ;;
   10060     *)
   10061       sys_lib_search_path_spec="$LIB"
   10062       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10063         # It is most probably a Windows format PATH.
   10064         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10065       else
   10066         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10067       fi
   10068       # FIXME: find the short name or the path components, as spaces are
   10069       # common. (e.g. "Program Files" -> "PROGRA~1")
   10070       ;;
   10071     esac
   10072 
   10073     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10074     postinstall_cmds='base_file=`basename \${file}`~
   10075       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10076       dldir=$destdir/`dirname \$dlpath`~
   10077       test -d \$dldir || mkdir -p \$dldir~
   10078       $install_prog $dir/$dlname \$dldir/$dlname'
   10079     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10080       dlpath=$dir/\$dldll~
   10081        $RM \$dlpath'
   10082     shlibpath_overrides_runpath=yes
   10083     dynamic_linker='Win32 link.exe'
   10084     ;;
   10085 
   10086   *)
   10087     # Assume MSVC wrapper
   10088     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10089     dynamic_linker='Win32 ld.exe'
   10090     ;;
   10091   esac
   10092   # FIXME: first we should search . and the directory the executable is in
   10093   shlibpath_var=PATH
   10094   ;;
   10095 
   10096 darwin* | rhapsody*)
   10097   dynamic_linker="$host_os dyld"
   10098   version_type=darwin
   10099   need_lib_prefix=no
   10100   need_version=no
   10101   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10102   soname_spec='${libname}${release}${major}$shared_ext'
   10103   shlibpath_overrides_runpath=yes
   10104   shlibpath_var=DYLD_LIBRARY_PATH
   10105   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10106 
   10107   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10108   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10109   ;;
   10110 
   10111 dgux*)
   10112   version_type=linux
   10113   need_lib_prefix=no
   10114   need_version=no
   10115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10116   soname_spec='${libname}${release}${shared_ext}$major'
   10117   shlibpath_var=LD_LIBRARY_PATH
   10118   ;;
   10119 
   10120 freebsd1*)
   10121   dynamic_linker=no
   10122   ;;
   10123 
   10124 freebsd* | dragonfly*)
   10125   # DragonFly does not have aout.  When/if they implement a new
   10126   # versioning mechanism, adjust this.
   10127   if test -x /usr/bin/objformat; then
   10128     objformat=`/usr/bin/objformat`
   10129   else
   10130     case $host_os in
   10131     freebsd[123]*) objformat=aout ;;
   10132     *) objformat=elf ;;
   10133     esac
   10134   fi
   10135   version_type=freebsd-$objformat
   10136   case $version_type in
   10137     freebsd-elf*)
   10138       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10139       need_version=no
   10140       need_lib_prefix=no
   10141       ;;
   10142     freebsd-*)
   10143       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10144       need_version=yes
   10145       ;;
   10146   esac
   10147   shlibpath_var=LD_LIBRARY_PATH
   10148   case $host_os in
   10149   freebsd2*)
   10150     shlibpath_overrides_runpath=yes
   10151     ;;
   10152   freebsd3.[01]* | freebsdelf3.[01]*)
   10153     shlibpath_overrides_runpath=yes
   10154     hardcode_into_libs=yes
   10155     ;;
   10156   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10157   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10158     shlibpath_overrides_runpath=no
   10159     hardcode_into_libs=yes
   10160     ;;
   10161   *) # from 4.6 on, and DragonFly
   10162     shlibpath_overrides_runpath=yes
   10163     hardcode_into_libs=yes
   10164     ;;
   10165   esac
   10166   ;;
   10167 
   10168 gnu*)
   10169   version_type=linux
   10170   need_lib_prefix=no
   10171   need_version=no
   10172   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10173   soname_spec='${libname}${release}${shared_ext}$major'
   10174   shlibpath_var=LD_LIBRARY_PATH
   10175   hardcode_into_libs=yes
   10176   ;;
   10177 
   10178 haiku*)
   10179   version_type=linux
   10180   need_lib_prefix=no
   10181   need_version=no
   10182   dynamic_linker="$host_os runtime_loader"
   10183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10184   soname_spec='${libname}${release}${shared_ext}$major'
   10185   shlibpath_var=LIBRARY_PATH
   10186   shlibpath_overrides_runpath=yes
   10187   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10188   hardcode_into_libs=yes
   10189   ;;
   10190 
   10191 hpux9* | hpux10* | hpux11*)
   10192   # Give a soname corresponding to the major version so that dld.sl refuses to
   10193   # link against other versions.
   10194   version_type=sunos
   10195   need_lib_prefix=no
   10196   need_version=no
   10197   case $host_cpu in
   10198   ia64*)
   10199     shrext_cmds='.so'
   10200     hardcode_into_libs=yes
   10201     dynamic_linker="$host_os dld.so"
   10202     shlibpath_var=LD_LIBRARY_PATH
   10203     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10205     soname_spec='${libname}${release}${shared_ext}$major'
   10206     if test "X$HPUX_IA64_MODE" = X32; then
   10207       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10208     else
   10209       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10210     fi
   10211     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10212     ;;
   10213   hppa*64*)
   10214     shrext_cmds='.sl'
   10215     hardcode_into_libs=yes
   10216     dynamic_linker="$host_os dld.sl"
   10217     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10218     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10220     soname_spec='${libname}${release}${shared_ext}$major'
   10221     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10222     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10223     ;;
   10224   *)
   10225     shrext_cmds='.sl'
   10226     dynamic_linker="$host_os dld.sl"
   10227     shlibpath_var=SHLIB_PATH
   10228     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10230     soname_spec='${libname}${release}${shared_ext}$major'
   10231     ;;
   10232   esac
   10233   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10234   postinstall_cmds='chmod 555 $lib'
   10235   # or fails outright, so override atomically:
   10236   install_override_mode=555
   10237   ;;
   10238 
   10239 interix[3-9]*)
   10240   version_type=linux
   10241   need_lib_prefix=no
   10242   need_version=no
   10243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10244   soname_spec='${libname}${release}${shared_ext}$major'
   10245   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10246   shlibpath_var=LD_LIBRARY_PATH
   10247   shlibpath_overrides_runpath=no
   10248   hardcode_into_libs=yes
   10249   ;;
   10250 
   10251 irix5* | irix6* | nonstopux*)
   10252   case $host_os in
   10253     nonstopux*) version_type=nonstopux ;;
   10254     *)
   10255 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10256 		version_type=linux
   10257 	else
   10258 		version_type=irix
   10259 	fi ;;
   10260   esac
   10261   need_lib_prefix=no
   10262   need_version=no
   10263   soname_spec='${libname}${release}${shared_ext}$major'
   10264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10265   case $host_os in
   10266   irix5* | nonstopux*)
   10267     libsuff= shlibsuff=
   10268     ;;
   10269   *)
   10270     case $LD in # libtool.m4 will add one of these switches to LD
   10271     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10272       libsuff= shlibsuff= libmagic=32-bit;;
   10273     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10274       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10275     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10276       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10277     *) libsuff= shlibsuff= libmagic=never-match;;
   10278     esac
   10279     ;;
   10280   esac
   10281   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10282   shlibpath_overrides_runpath=no
   10283   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10284   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10285   hardcode_into_libs=yes
   10286   ;;
   10287 
   10288 # No shared lib support for Linux oldld, aout, or coff.
   10289 linux*oldld* | linux*aout* | linux*coff*)
   10290   dynamic_linker=no
   10291   ;;
   10292 
   10293 # This must be Linux ELF.
   10294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10295   version_type=linux
   10296   need_lib_prefix=no
   10297   need_version=no
   10298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10299   soname_spec='${libname}${release}${shared_ext}$major'
   10300   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10301   shlibpath_var=LD_LIBRARY_PATH
   10302   shlibpath_overrides_runpath=no
   10303 
   10304   # Some binutils ld are patched to set DT_RUNPATH
   10305   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10306   $as_echo_n "(cached) " >&6
   10307 else
   10308   lt_cv_shlibpath_overrides_runpath=no
   10309     save_LDFLAGS=$LDFLAGS
   10310     save_libdir=$libdir
   10311     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10312 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10314 /* end confdefs.h.  */
   10315 
   10316 int
   10317 main ()
   10318 {
   10319 
   10320   ;
   10321   return 0;
   10322 }
   10323 _ACEOF
   10324 if ac_fn_c_try_link "$LINENO"; then :
   10325   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10326   lt_cv_shlibpath_overrides_runpath=yes
   10327 fi
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext \
   10330     conftest$ac_exeext conftest.$ac_ext
   10331     LDFLAGS=$save_LDFLAGS
   10332     libdir=$save_libdir
   10333 
   10334 fi
   10335 
   10336   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10337 
   10338   # This implies no fast_install, which is unacceptable.
   10339   # Some rework will be needed to allow for fast_install
   10340   # before this can be enabled.
   10341   hardcode_into_libs=yes
   10342 
   10343   # Add ABI-specific directories to the system library path.
   10344   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10345 
   10346   # Append ld.so.conf contents to the search path
   10347   if test -f /etc/ld.so.conf; then
   10348     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' ' '`
   10349     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10350 
   10351   fi
   10352 
   10353   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10354   # powerpc, because MkLinux only supported shared libraries with the
   10355   # GNU dynamic linker.  Since this was broken with cross compilers,
   10356   # most powerpc-linux boxes support dynamic linking these days and
   10357   # people can always --disable-shared, the test was removed, and we
   10358   # assume the GNU/Linux dynamic linker is in use.
   10359   dynamic_linker='GNU/Linux ld.so'
   10360   ;;
   10361 
   10362 netbsd*)
   10363   version_type=sunos
   10364   need_lib_prefix=no
   10365   need_version=no
   10366   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10368     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10369     dynamic_linker='NetBSD (a.out) ld.so'
   10370   else
   10371     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10372     soname_spec='${libname}${release}${shared_ext}$major'
   10373     dynamic_linker='NetBSD ld.elf_so'
   10374   fi
   10375   shlibpath_var=LD_LIBRARY_PATH
   10376   shlibpath_overrides_runpath=yes
   10377   hardcode_into_libs=yes
   10378   ;;
   10379 
   10380 newsos6)
   10381   version_type=linux
   10382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10383   shlibpath_var=LD_LIBRARY_PATH
   10384   shlibpath_overrides_runpath=yes
   10385   ;;
   10386 
   10387 *nto* | *qnx*)
   10388   version_type=qnx
   10389   need_lib_prefix=no
   10390   need_version=no
   10391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10392   soname_spec='${libname}${release}${shared_ext}$major'
   10393   shlibpath_var=LD_LIBRARY_PATH
   10394   shlibpath_overrides_runpath=no
   10395   hardcode_into_libs=yes
   10396   dynamic_linker='ldqnx.so'
   10397   ;;
   10398 
   10399 openbsd*)
   10400   version_type=sunos
   10401   sys_lib_dlsearch_path_spec="/usr/lib"
   10402   need_lib_prefix=no
   10403   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10404   case $host_os in
   10405     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10406     *)				need_version=no  ;;
   10407   esac
   10408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10409   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10410   shlibpath_var=LD_LIBRARY_PATH
   10411   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10412     case $host_os in
   10413       openbsd2.[89] | openbsd2.[89].*)
   10414 	shlibpath_overrides_runpath=no
   10415 	;;
   10416       *)
   10417 	shlibpath_overrides_runpath=yes
   10418 	;;
   10419       esac
   10420   else
   10421     shlibpath_overrides_runpath=yes
   10422   fi
   10423   ;;
   10424 
   10425 os2*)
   10426   libname_spec='$name'
   10427   shrext_cmds=".dll"
   10428   need_lib_prefix=no
   10429   library_names_spec='$libname${shared_ext} $libname.a'
   10430   dynamic_linker='OS/2 ld.exe'
   10431   shlibpath_var=LIBPATH
   10432   ;;
   10433 
   10434 osf3* | osf4* | osf5*)
   10435   version_type=osf
   10436   need_lib_prefix=no
   10437   need_version=no
   10438   soname_spec='${libname}${release}${shared_ext}$major'
   10439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10440   shlibpath_var=LD_LIBRARY_PATH
   10441   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10442   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10443   ;;
   10444 
   10445 rdos*)
   10446   dynamic_linker=no
   10447   ;;
   10448 
   10449 solaris*)
   10450   version_type=linux
   10451   need_lib_prefix=no
   10452   need_version=no
   10453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10454   soname_spec='${libname}${release}${shared_ext}$major'
   10455   shlibpath_var=LD_LIBRARY_PATH
   10456   shlibpath_overrides_runpath=yes
   10457   hardcode_into_libs=yes
   10458   # ldd complains unless libraries are executable
   10459   postinstall_cmds='chmod +x $lib'
   10460   ;;
   10461 
   10462 sunos4*)
   10463   version_type=sunos
   10464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10465   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10466   shlibpath_var=LD_LIBRARY_PATH
   10467   shlibpath_overrides_runpath=yes
   10468   if test "$with_gnu_ld" = yes; then
   10469     need_lib_prefix=no
   10470   fi
   10471   need_version=yes
   10472   ;;
   10473 
   10474 sysv4 | sysv4.3*)
   10475   version_type=linux
   10476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10477   soname_spec='${libname}${release}${shared_ext}$major'
   10478   shlibpath_var=LD_LIBRARY_PATH
   10479   case $host_vendor in
   10480     sni)
   10481       shlibpath_overrides_runpath=no
   10482       need_lib_prefix=no
   10483       runpath_var=LD_RUN_PATH
   10484       ;;
   10485     siemens)
   10486       need_lib_prefix=no
   10487       ;;
   10488     motorola)
   10489       need_lib_prefix=no
   10490       need_version=no
   10491       shlibpath_overrides_runpath=no
   10492       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10493       ;;
   10494   esac
   10495   ;;
   10496 
   10497 sysv4*MP*)
   10498   if test -d /usr/nec ;then
   10499     version_type=linux
   10500     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10501     soname_spec='$libname${shared_ext}.$major'
   10502     shlibpath_var=LD_LIBRARY_PATH
   10503   fi
   10504   ;;
   10505 
   10506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10507   version_type=freebsd-elf
   10508   need_lib_prefix=no
   10509   need_version=no
   10510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10511   soname_spec='${libname}${release}${shared_ext}$major'
   10512   shlibpath_var=LD_LIBRARY_PATH
   10513   shlibpath_overrides_runpath=yes
   10514   hardcode_into_libs=yes
   10515   if test "$with_gnu_ld" = yes; then
   10516     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10517   else
   10518     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10519     case $host_os in
   10520       sco3.2v5*)
   10521         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10522 	;;
   10523     esac
   10524   fi
   10525   sys_lib_dlsearch_path_spec='/usr/lib'
   10526   ;;
   10527 
   10528 tpf*)
   10529   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10530   version_type=linux
   10531   need_lib_prefix=no
   10532   need_version=no
   10533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10534   shlibpath_var=LD_LIBRARY_PATH
   10535   shlibpath_overrides_runpath=no
   10536   hardcode_into_libs=yes
   10537   ;;
   10538 
   10539 uts4*)
   10540   version_type=linux
   10541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10542   soname_spec='${libname}${release}${shared_ext}$major'
   10543   shlibpath_var=LD_LIBRARY_PATH
   10544   ;;
   10545 
   10546 *)
   10547   dynamic_linker=no
   10548   ;;
   10549 esac
   10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10551 $as_echo "$dynamic_linker" >&6; }
   10552 test "$dynamic_linker" = no && can_build_shared=no
   10553 
   10554 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10555 if test "$GCC" = yes; then
   10556   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10557 fi
   10558 
   10559 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10560   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10561 fi
   10562 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10563   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10564 fi
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10658 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10659 hardcode_action=
   10660 if test -n "$hardcode_libdir_flag_spec" ||
   10661    test -n "$runpath_var" ||
   10662    test "X$hardcode_automatic" = "Xyes" ; then
   10663 
   10664   # We can hardcode non-existent directories.
   10665   if test "$hardcode_direct" != no &&
   10666      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10667      # have to relink, otherwise we might link with an installed library
   10668      # when we should be linking with a yet-to-be-installed one
   10669      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10670      test "$hardcode_minus_L" != no; then
   10671     # Linking always hardcodes the temporary library directory.
   10672     hardcode_action=relink
   10673   else
   10674     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10675     hardcode_action=immediate
   10676   fi
   10677 else
   10678   # We cannot hardcode anything, or else we can only hardcode existing
   10679   # directories.
   10680   hardcode_action=unsupported
   10681 fi
   10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10683 $as_echo "$hardcode_action" >&6; }
   10684 
   10685 if test "$hardcode_action" = relink ||
   10686    test "$inherit_rpath" = yes; then
   10687   # Fast installation is not supported
   10688   enable_fast_install=no
   10689 elif test "$shlibpath_overrides_runpath" = yes ||
   10690      test "$enable_shared" = no; then
   10691   # Fast installation is not necessary
   10692   enable_fast_install=needless
   10693 fi
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700   if test "x$enable_dlopen" != xyes; then
   10701   enable_dlopen=unknown
   10702   enable_dlopen_self=unknown
   10703   enable_dlopen_self_static=unknown
   10704 else
   10705   lt_cv_dlopen=no
   10706   lt_cv_dlopen_libs=
   10707 
   10708   case $host_os in
   10709   beos*)
   10710     lt_cv_dlopen="load_add_on"
   10711     lt_cv_dlopen_libs=
   10712     lt_cv_dlopen_self=yes
   10713     ;;
   10714 
   10715   mingw* | pw32* | cegcc*)
   10716     lt_cv_dlopen="LoadLibrary"
   10717     lt_cv_dlopen_libs=
   10718     ;;
   10719 
   10720   cygwin*)
   10721     lt_cv_dlopen="dlopen"
   10722     lt_cv_dlopen_libs=
   10723     ;;
   10724 
   10725   darwin*)
   10726   # if libdl is installed we need to link against it
   10727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10728 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10729 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10730   $as_echo_n "(cached) " >&6
   10731 else
   10732   ac_check_lib_save_LIBS=$LIBS
   10733 LIBS="-ldl  $LIBS"
   10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10735 /* end confdefs.h.  */
   10736 
   10737 /* Override any GCC internal prototype to avoid an error.
   10738    Use char because int might match the return type of a GCC
   10739    builtin and then its argument prototype would still apply.  */
   10740 #ifdef __cplusplus
   10741 extern "C"
   10742 #endif
   10743 char dlopen ();
   10744 int
   10745 main ()
   10746 {
   10747 return dlopen ();
   10748   ;
   10749   return 0;
   10750 }
   10751 _ACEOF
   10752 if ac_fn_c_try_link "$LINENO"; then :
   10753   ac_cv_lib_dl_dlopen=yes
   10754 else
   10755   ac_cv_lib_dl_dlopen=no
   10756 fi
   10757 rm -f core conftest.err conftest.$ac_objext \
   10758     conftest$ac_exeext conftest.$ac_ext
   10759 LIBS=$ac_check_lib_save_LIBS
   10760 fi
   10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10762 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10763 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10764   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10765 else
   10766 
   10767     lt_cv_dlopen="dyld"
   10768     lt_cv_dlopen_libs=
   10769     lt_cv_dlopen_self=yes
   10770 
   10771 fi
   10772 
   10773     ;;
   10774 
   10775   *)
   10776     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10777 if test "x$ac_cv_func_shl_load" = xyes; then :
   10778   lt_cv_dlopen="shl_load"
   10779 else
   10780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10781 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10782 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10783   $as_echo_n "(cached) " >&6
   10784 else
   10785   ac_check_lib_save_LIBS=$LIBS
   10786 LIBS="-ldld  $LIBS"
   10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10788 /* end confdefs.h.  */
   10789 
   10790 /* Override any GCC internal prototype to avoid an error.
   10791    Use char because int might match the return type of a GCC
   10792    builtin and then its argument prototype would still apply.  */
   10793 #ifdef __cplusplus
   10794 extern "C"
   10795 #endif
   10796 char shl_load ();
   10797 int
   10798 main ()
   10799 {
   10800 return shl_load ();
   10801   ;
   10802   return 0;
   10803 }
   10804 _ACEOF
   10805 if ac_fn_c_try_link "$LINENO"; then :
   10806   ac_cv_lib_dld_shl_load=yes
   10807 else
   10808   ac_cv_lib_dld_shl_load=no
   10809 fi
   10810 rm -f core conftest.err conftest.$ac_objext \
   10811     conftest$ac_exeext conftest.$ac_ext
   10812 LIBS=$ac_check_lib_save_LIBS
   10813 fi
   10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10815 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10816 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10817   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10818 else
   10819   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10820 if test "x$ac_cv_func_dlopen" = xyes; then :
   10821   lt_cv_dlopen="dlopen"
   10822 else
   10823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10824 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10825 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10826   $as_echo_n "(cached) " >&6
   10827 else
   10828   ac_check_lib_save_LIBS=$LIBS
   10829 LIBS="-ldl  $LIBS"
   10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10831 /* end confdefs.h.  */
   10832 
   10833 /* Override any GCC internal prototype to avoid an error.
   10834    Use char because int might match the return type of a GCC
   10835    builtin and then its argument prototype would still apply.  */
   10836 #ifdef __cplusplus
   10837 extern "C"
   10838 #endif
   10839 char dlopen ();
   10840 int
   10841 main ()
   10842 {
   10843 return dlopen ();
   10844   ;
   10845   return 0;
   10846 }
   10847 _ACEOF
   10848 if ac_fn_c_try_link "$LINENO"; then :
   10849   ac_cv_lib_dl_dlopen=yes
   10850 else
   10851   ac_cv_lib_dl_dlopen=no
   10852 fi
   10853 rm -f core conftest.err conftest.$ac_objext \
   10854     conftest$ac_exeext conftest.$ac_ext
   10855 LIBS=$ac_check_lib_save_LIBS
   10856 fi
   10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10858 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10859 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10860   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10861 else
   10862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10863 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10864 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10865   $as_echo_n "(cached) " >&6
   10866 else
   10867   ac_check_lib_save_LIBS=$LIBS
   10868 LIBS="-lsvld  $LIBS"
   10869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10870 /* end confdefs.h.  */
   10871 
   10872 /* Override any GCC internal prototype to avoid an error.
   10873    Use char because int might match the return type of a GCC
   10874    builtin and then its argument prototype would still apply.  */
   10875 #ifdef __cplusplus
   10876 extern "C"
   10877 #endif
   10878 char dlopen ();
   10879 int
   10880 main ()
   10881 {
   10882 return dlopen ();
   10883   ;
   10884   return 0;
   10885 }
   10886 _ACEOF
   10887 if ac_fn_c_try_link "$LINENO"; then :
   10888   ac_cv_lib_svld_dlopen=yes
   10889 else
   10890   ac_cv_lib_svld_dlopen=no
   10891 fi
   10892 rm -f core conftest.err conftest.$ac_objext \
   10893     conftest$ac_exeext conftest.$ac_ext
   10894 LIBS=$ac_check_lib_save_LIBS
   10895 fi
   10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10897 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10898 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10899   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10900 else
   10901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10902 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10903 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10904   $as_echo_n "(cached) " >&6
   10905 else
   10906   ac_check_lib_save_LIBS=$LIBS
   10907 LIBS="-ldld  $LIBS"
   10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10909 /* end confdefs.h.  */
   10910 
   10911 /* Override any GCC internal prototype to avoid an error.
   10912    Use char because int might match the return type of a GCC
   10913    builtin and then its argument prototype would still apply.  */
   10914 #ifdef __cplusplus
   10915 extern "C"
   10916 #endif
   10917 char dld_link ();
   10918 int
   10919 main ()
   10920 {
   10921 return dld_link ();
   10922   ;
   10923   return 0;
   10924 }
   10925 _ACEOF
   10926 if ac_fn_c_try_link "$LINENO"; then :
   10927   ac_cv_lib_dld_dld_link=yes
   10928 else
   10929   ac_cv_lib_dld_dld_link=no
   10930 fi
   10931 rm -f core conftest.err conftest.$ac_objext \
   10932     conftest$ac_exeext conftest.$ac_ext
   10933 LIBS=$ac_check_lib_save_LIBS
   10934 fi
   10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10936 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10937 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10938   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10939 fi
   10940 
   10941 
   10942 fi
   10943 
   10944 
   10945 fi
   10946 
   10947 
   10948 fi
   10949 
   10950 
   10951 fi
   10952 
   10953 
   10954 fi
   10955 
   10956     ;;
   10957   esac
   10958 
   10959   if test "x$lt_cv_dlopen" != xno; then
   10960     enable_dlopen=yes
   10961   else
   10962     enable_dlopen=no
   10963   fi
   10964 
   10965   case $lt_cv_dlopen in
   10966   dlopen)
   10967     save_CPPFLAGS="$CPPFLAGS"
   10968     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10969 
   10970     save_LDFLAGS="$LDFLAGS"
   10971     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10972 
   10973     save_LIBS="$LIBS"
   10974     LIBS="$lt_cv_dlopen_libs $LIBS"
   10975 
   10976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10977 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10978 if ${lt_cv_dlopen_self+:} false; then :
   10979   $as_echo_n "(cached) " >&6
   10980 else
   10981   	  if test "$cross_compiling" = yes; then :
   10982   lt_cv_dlopen_self=cross
   10983 else
   10984   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10985   lt_status=$lt_dlunknown
   10986   cat > conftest.$ac_ext <<_LT_EOF
   10987 #line $LINENO "configure"
   10988 #include "confdefs.h"
   10989 
   10990 #if HAVE_DLFCN_H
   10991 #include <dlfcn.h>
   10992 #endif
   10993 
   10994 #include <stdio.h>
   10995 
   10996 #ifdef RTLD_GLOBAL
   10997 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10998 #else
   10999 #  ifdef DL_GLOBAL
   11000 #    define LT_DLGLOBAL		DL_GLOBAL
   11001 #  else
   11002 #    define LT_DLGLOBAL		0
   11003 #  endif
   11004 #endif
   11005 
   11006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11007    find out it does not work in some platform. */
   11008 #ifndef LT_DLLAZY_OR_NOW
   11009 #  ifdef RTLD_LAZY
   11010 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11011 #  else
   11012 #    ifdef DL_LAZY
   11013 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11014 #    else
   11015 #      ifdef RTLD_NOW
   11016 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11017 #      else
   11018 #        ifdef DL_NOW
   11019 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11020 #        else
   11021 #          define LT_DLLAZY_OR_NOW	0
   11022 #        endif
   11023 #      endif
   11024 #    endif
   11025 #  endif
   11026 #endif
   11027 
   11028 /* When -fvisbility=hidden is used, assume the code has been annotated
   11029    correspondingly for the symbols needed.  */
   11030 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11031 int fnord () __attribute__((visibility("default")));
   11032 #endif
   11033 
   11034 int fnord () { return 42; }
   11035 int main ()
   11036 {
   11037   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11038   int status = $lt_dlunknown;
   11039 
   11040   if (self)
   11041     {
   11042       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11043       else
   11044         {
   11045 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11046           else puts (dlerror ());
   11047 	}
   11048       /* dlclose (self); */
   11049     }
   11050   else
   11051     puts (dlerror ());
   11052 
   11053   return status;
   11054 }
   11055 _LT_EOF
   11056   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11057   (eval $ac_link) 2>&5
   11058   ac_status=$?
   11059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11060   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11061     (./conftest; exit; ) >&5 2>/dev/null
   11062     lt_status=$?
   11063     case x$lt_status in
   11064       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11065       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11066       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11067     esac
   11068   else :
   11069     # compilation failed
   11070     lt_cv_dlopen_self=no
   11071   fi
   11072 fi
   11073 rm -fr conftest*
   11074 
   11075 
   11076 fi
   11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11078 $as_echo "$lt_cv_dlopen_self" >&6; }
   11079 
   11080     if test "x$lt_cv_dlopen_self" = xyes; then
   11081       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11082       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11083 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11084 if ${lt_cv_dlopen_self_static+:} false; then :
   11085   $as_echo_n "(cached) " >&6
   11086 else
   11087   	  if test "$cross_compiling" = yes; then :
   11088   lt_cv_dlopen_self_static=cross
   11089 else
   11090   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11091   lt_status=$lt_dlunknown
   11092   cat > conftest.$ac_ext <<_LT_EOF
   11093 #line $LINENO "configure"
   11094 #include "confdefs.h"
   11095 
   11096 #if HAVE_DLFCN_H
   11097 #include <dlfcn.h>
   11098 #endif
   11099 
   11100 #include <stdio.h>
   11101 
   11102 #ifdef RTLD_GLOBAL
   11103 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11104 #else
   11105 #  ifdef DL_GLOBAL
   11106 #    define LT_DLGLOBAL		DL_GLOBAL
   11107 #  else
   11108 #    define LT_DLGLOBAL		0
   11109 #  endif
   11110 #endif
   11111 
   11112 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11113    find out it does not work in some platform. */
   11114 #ifndef LT_DLLAZY_OR_NOW
   11115 #  ifdef RTLD_LAZY
   11116 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11117 #  else
   11118 #    ifdef DL_LAZY
   11119 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11120 #    else
   11121 #      ifdef RTLD_NOW
   11122 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11123 #      else
   11124 #        ifdef DL_NOW
   11125 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11126 #        else
   11127 #          define LT_DLLAZY_OR_NOW	0
   11128 #        endif
   11129 #      endif
   11130 #    endif
   11131 #  endif
   11132 #endif
   11133 
   11134 /* When -fvisbility=hidden is used, assume the code has been annotated
   11135    correspondingly for the symbols needed.  */
   11136 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11137 int fnord () __attribute__((visibility("default")));
   11138 #endif
   11139 
   11140 int fnord () { return 42; }
   11141 int main ()
   11142 {
   11143   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11144   int status = $lt_dlunknown;
   11145 
   11146   if (self)
   11147     {
   11148       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11149       else
   11150         {
   11151 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11152           else puts (dlerror ());
   11153 	}
   11154       /* dlclose (self); */
   11155     }
   11156   else
   11157     puts (dlerror ());
   11158 
   11159   return status;
   11160 }
   11161 _LT_EOF
   11162   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11163   (eval $ac_link) 2>&5
   11164   ac_status=$?
   11165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11166   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11167     (./conftest; exit; ) >&5 2>/dev/null
   11168     lt_status=$?
   11169     case x$lt_status in
   11170       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11171       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11172       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11173     esac
   11174   else :
   11175     # compilation failed
   11176     lt_cv_dlopen_self_static=no
   11177   fi
   11178 fi
   11179 rm -fr conftest*
   11180 
   11181 
   11182 fi
   11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11184 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11185     fi
   11186 
   11187     CPPFLAGS="$save_CPPFLAGS"
   11188     LDFLAGS="$save_LDFLAGS"
   11189     LIBS="$save_LIBS"
   11190     ;;
   11191   esac
   11192 
   11193   case $lt_cv_dlopen_self in
   11194   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11195   *) enable_dlopen_self=unknown ;;
   11196   esac
   11197 
   11198   case $lt_cv_dlopen_self_static in
   11199   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11200   *) enable_dlopen_self_static=unknown ;;
   11201   esac
   11202 fi
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 striplib=
   11221 old_striplib=
   11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11223 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11224 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11225   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11226   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11228 $as_echo "yes" >&6; }
   11229 else
   11230 # FIXME - insert some real tests, host_os isn't really good enough
   11231   case $host_os in
   11232   darwin*)
   11233     if test -n "$STRIP" ; then
   11234       striplib="$STRIP -x"
   11235       old_striplib="$STRIP -S"
   11236       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11237 $as_echo "yes" >&6; }
   11238     else
   11239       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11240 $as_echo "no" >&6; }
   11241     fi
   11242     ;;
   11243   *)
   11244     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11245 $as_echo "no" >&6; }
   11246     ;;
   11247   esac
   11248 fi
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261   # Report which library types will actually be built
   11262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11263 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11265 $as_echo "$can_build_shared" >&6; }
   11266 
   11267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11268 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11269   test "$can_build_shared" = "no" && enable_shared=no
   11270 
   11271   # On AIX, shared libraries and static libraries use the same namespace, and
   11272   # are all built from PIC.
   11273   case $host_os in
   11274   aix3*)
   11275     test "$enable_shared" = yes && enable_static=no
   11276     if test -n "$RANLIB"; then
   11277       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11278       postinstall_cmds='$RANLIB $lib'
   11279     fi
   11280     ;;
   11281 
   11282   aix[4-9]*)
   11283     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11284       test "$enable_shared" = yes && enable_static=no
   11285     fi
   11286     ;;
   11287   esac
   11288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11289 $as_echo "$enable_shared" >&6; }
   11290 
   11291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11292 $as_echo_n "checking whether to build static libraries... " >&6; }
   11293   # Make sure either enable_shared or enable_static is yes.
   11294   test "$enable_shared" = yes || enable_static=yes
   11295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11296 $as_echo "$enable_static" >&6; }
   11297 
   11298 
   11299 
   11300 
   11301 fi
   11302 ac_ext=c
   11303 ac_cpp='$CPP $CPPFLAGS'
   11304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11307 
   11308 CC="$lt_save_CC"
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322         ac_config_commands="$ac_config_commands libtool"
   11323 
   11324 
   11325 
   11326 
   11327 # Only expand once:
   11328 
   11329 
   11330 
   11331 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11344 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11345 if ${ac_cv_prog_cc_c99+:} false; then :
   11346   $as_echo_n "(cached) " >&6
   11347 else
   11348   ac_cv_prog_cc_c99=no
   11349 ac_save_CC=$CC
   11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11351 /* end confdefs.h.  */
   11352 #include <stdarg.h>
   11353 #include <stdbool.h>
   11354 #include <stdlib.h>
   11355 #include <wchar.h>
   11356 #include <stdio.h>
   11357 
   11358 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11359 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11360 #define showlist(...) puts (#__VA_ARGS__)
   11361 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11362 static void
   11363 test_varargs_macros (void)
   11364 {
   11365   int x = 1234;
   11366   int y = 5678;
   11367   debug ("Flag");
   11368   debug ("X = %d\n", x);
   11369   showlist (The first, second, and third items.);
   11370   report (x>y, "x is %d but y is %d", x, y);
   11371 }
   11372 
   11373 // Check long long types.
   11374 #define BIG64 18446744073709551615ull
   11375 #define BIG32 4294967295ul
   11376 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11377 #if !BIG_OK
   11378   your preprocessor is broken;
   11379 #endif
   11380 #if BIG_OK
   11381 #else
   11382   your preprocessor is broken;
   11383 #endif
   11384 static long long int bignum = -9223372036854775807LL;
   11385 static unsigned long long int ubignum = BIG64;
   11386 
   11387 struct incomplete_array
   11388 {
   11389   int datasize;
   11390   double data[];
   11391 };
   11392 
   11393 struct named_init {
   11394   int number;
   11395   const wchar_t *name;
   11396   double average;
   11397 };
   11398 
   11399 typedef const char *ccp;
   11400 
   11401 static inline int
   11402 test_restrict (ccp restrict text)
   11403 {
   11404   // See if C++-style comments work.
   11405   // Iterate through items via the restricted pointer.
   11406   // Also check for declarations in for loops.
   11407   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11408     continue;
   11409   return 0;
   11410 }
   11411 
   11412 // Check varargs and va_copy.
   11413 static void
   11414 test_varargs (const char *format, ...)
   11415 {
   11416   va_list args;
   11417   va_start (args, format);
   11418   va_list args_copy;
   11419   va_copy (args_copy, args);
   11420 
   11421   const char *str;
   11422   int number;
   11423   float fnumber;
   11424 
   11425   while (*format)
   11426     {
   11427       switch (*format++)
   11428 	{
   11429 	case 's': // string
   11430 	  str = va_arg (args_copy, const char *);
   11431 	  break;
   11432 	case 'd': // int
   11433 	  number = va_arg (args_copy, int);
   11434 	  break;
   11435 	case 'f': // float
   11436 	  fnumber = va_arg (args_copy, double);
   11437 	  break;
   11438 	default:
   11439 	  break;
   11440 	}
   11441     }
   11442   va_end (args_copy);
   11443   va_end (args);
   11444 }
   11445 
   11446 int
   11447 main ()
   11448 {
   11449 
   11450   // Check bool.
   11451   _Bool success = false;
   11452 
   11453   // Check restrict.
   11454   if (test_restrict ("String literal") == 0)
   11455     success = true;
   11456   char *restrict newvar = "Another string";
   11457 
   11458   // Check varargs.
   11459   test_varargs ("s, d' f .", "string", 65, 34.234);
   11460   test_varargs_macros ();
   11461 
   11462   // Check flexible array members.
   11463   struct incomplete_array *ia =
   11464     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11465   ia->datasize = 10;
   11466   for (int i = 0; i < ia->datasize; ++i)
   11467     ia->data[i] = i * 1.234;
   11468 
   11469   // Check named initializers.
   11470   struct named_init ni = {
   11471     .number = 34,
   11472     .name = L"Test wide string",
   11473     .average = 543.34343,
   11474   };
   11475 
   11476   ni.number = 58;
   11477 
   11478   int dynamic_array[ni.number];
   11479   dynamic_array[ni.number - 1] = 543;
   11480 
   11481   // work around unused variable warnings
   11482   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11483 	  || dynamic_array[ni.number - 1] != 543);
   11484 
   11485   ;
   11486   return 0;
   11487 }
   11488 _ACEOF
   11489 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11490 do
   11491   CC="$ac_save_CC $ac_arg"
   11492   if ac_fn_c_try_compile "$LINENO"; then :
   11493   ac_cv_prog_cc_c99=$ac_arg
   11494 fi
   11495 rm -f core conftest.err conftest.$ac_objext
   11496   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11497 done
   11498 rm -f conftest.$ac_ext
   11499 CC=$ac_save_CC
   11500 
   11501 fi
   11502 # AC_CACHE_VAL
   11503 case "x$ac_cv_prog_cc_c99" in
   11504   x)
   11505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11506 $as_echo "none needed" >&6; } ;;
   11507   xno)
   11508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11509 $as_echo "unsupported" >&6; } ;;
   11510   *)
   11511     CC="$CC $ac_cv_prog_cc_c99"
   11512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11513 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11514 esac
   11515 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11516 
   11517 fi
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11527 	if test -n "$ac_tool_prefix"; then
   11528   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11529 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11531 $as_echo_n "checking for $ac_word... " >&6; }
   11532 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11533   $as_echo_n "(cached) " >&6
   11534 else
   11535   case $PKG_CONFIG in
   11536   [\\/]* | ?:[\\/]*)
   11537   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11538   ;;
   11539   *)
   11540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11541 for as_dir in $PATH
   11542 do
   11543   IFS=$as_save_IFS
   11544   test -z "$as_dir" && as_dir=.
   11545     for ac_exec_ext in '' $ac_executable_extensions; do
   11546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11547     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11549     break 2
   11550   fi
   11551 done
   11552   done
   11553 IFS=$as_save_IFS
   11554 
   11555   ;;
   11556 esac
   11557 fi
   11558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11559 if test -n "$PKG_CONFIG"; then
   11560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11561 $as_echo "$PKG_CONFIG" >&6; }
   11562 else
   11563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11564 $as_echo "no" >&6; }
   11565 fi
   11566 
   11567 
   11568 fi
   11569 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11570   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11571   # Extract the first word of "pkg-config", so it can be a program name with args.
   11572 set dummy pkg-config; ac_word=$2
   11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11574 $as_echo_n "checking for $ac_word... " >&6; }
   11575 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11576   $as_echo_n "(cached) " >&6
   11577 else
   11578   case $ac_pt_PKG_CONFIG in
   11579   [\\/]* | ?:[\\/]*)
   11580   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11581   ;;
   11582   *)
   11583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11584 for as_dir in $PATH
   11585 do
   11586   IFS=$as_save_IFS
   11587   test -z "$as_dir" && as_dir=.
   11588     for ac_exec_ext in '' $ac_executable_extensions; do
   11589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11590     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11592     break 2
   11593   fi
   11594 done
   11595   done
   11596 IFS=$as_save_IFS
   11597 
   11598   ;;
   11599 esac
   11600 fi
   11601 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11602 if test -n "$ac_pt_PKG_CONFIG"; then
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11604 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11605 else
   11606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11607 $as_echo "no" >&6; }
   11608 fi
   11609 
   11610   if test "x$ac_pt_PKG_CONFIG" = x; then
   11611     PKG_CONFIG=""
   11612   else
   11613     case $cross_compiling:$ac_tool_warned in
   11614 yes:)
   11615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11617 ac_tool_warned=yes ;;
   11618 esac
   11619     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11620   fi
   11621 else
   11622   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11623 fi
   11624 
   11625 fi
   11626 if test -n "$PKG_CONFIG"; then
   11627 	_pkg_min_version=0.9.0
   11628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11629 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11630 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11632 $as_echo "yes" >&6; }
   11633 	else
   11634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11635 $as_echo "no" >&6; }
   11636 		PKG_CONFIG=""
   11637 	fi
   11638 fi
   11639 
   11640 
   11641 
   11642 
   11643 if  test "x$GCC" = xyes ; then
   11644     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   11645 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   11646 -Wbad-function-cast -Wformat=2"
   11647     case `$CC -dumpversion` in
   11648     3.4.* | 4.*)
   11649 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   11650 	;;
   11651     esac
   11652 else
   11653     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11654 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11655   SUNCC="yes"
   11656 else
   11657   SUNCC="no"
   11658 fi
   11659 
   11660     if test "x$SUNCC" = "xyes"; then
   11661 	CWARNFLAGS="-v"
   11662     fi
   11663 fi
   11664 
   11665 
   11666 
   11667 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   11668 
   11669 
   11670 
   11671 # Check whether --enable-strict-compilation was given.
   11672 if test "${enable_strict_compilation+set}" = set; then :
   11673   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   11674 else
   11675   STRICT_COMPILE=no
   11676 fi
   11677 
   11678 if test "x$STRICT_COMPILE" = "xyes"; then
   11679 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11680 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11681   SUNCC="yes"
   11682 else
   11683   SUNCC="no"
   11684 fi
   11685 
   11686 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11687 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11688   INTELCC="yes"
   11689 else
   11690   INTELCC="no"
   11691 fi
   11692 
   11693 	if test "x$GCC" = xyes ; then
   11694 		STRICT_CFLAGS="-pedantic -Werror"
   11695 	elif test "x$SUNCC" = "xyes"; then
   11696 		STRICT_CFLAGS="-errwarn"
   11697     elif test "x$INTELCC" = "xyes"; then
   11698 		STRICT_CFLAGS="-Werror"
   11699 	fi
   11700 fi
   11701 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11702 
   11703 
   11704 
   11705 
   11706 cat >>confdefs.h <<_ACEOF
   11707 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11708 _ACEOF
   11709 
   11710 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11711 	if test "x$PVM" = "x"; then
   11712 		PVM="0"
   11713 	fi
   11714 
   11715 cat >>confdefs.h <<_ACEOF
   11716 #define PACKAGE_VERSION_MINOR $PVM
   11717 _ACEOF
   11718 
   11719 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11720 	if test "x$PVP" = "x"; then
   11721 		PVP="0"
   11722 	fi
   11723 
   11724 cat >>confdefs.h <<_ACEOF
   11725 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   11726 _ACEOF
   11727 
   11728 
   11729 
   11730 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   11731 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11732 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   11733 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   11734 
   11735 
   11736 
   11737 
   11738 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11739 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11740 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11741 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   11742 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 if test x$APP_MAN_SUFFIX = x    ; then
   11750     APP_MAN_SUFFIX=1
   11751 fi
   11752 if test x$APP_MAN_DIR = x    ; then
   11753     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11754 fi
   11755 
   11756 if test x$LIB_MAN_SUFFIX = x    ; then
   11757     LIB_MAN_SUFFIX=3
   11758 fi
   11759 if test x$LIB_MAN_DIR = x    ; then
   11760     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11761 fi
   11762 
   11763 if test x$FILE_MAN_SUFFIX = x    ; then
   11764     case $host_os in
   11765 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   11766 	*)		FILE_MAN_SUFFIX=5  ;;
   11767     esac
   11768 fi
   11769 if test x$FILE_MAN_DIR = x    ; then
   11770     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11771 fi
   11772 
   11773 if test x$MISC_MAN_SUFFIX = x    ; then
   11774     case $host_os in
   11775 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   11776 	*)		MISC_MAN_SUFFIX=7  ;;
   11777     esac
   11778 fi
   11779 if test x$MISC_MAN_DIR = x    ; then
   11780     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11781 fi
   11782 
   11783 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11784     case $host_os in
   11785 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   11786 	*)		DRIVER_MAN_SUFFIX=4  ;;
   11787     esac
   11788 fi
   11789 if test x$DRIVER_MAN_DIR = x    ; then
   11790     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11791 fi
   11792 
   11793 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11794     case $host_os in
   11795 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   11796 	*)		ADMIN_MAN_SUFFIX=8  ;;
   11797     esac
   11798 fi
   11799 if test x$ADMIN_MAN_DIR = x    ; then
   11800     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11801 fi
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 XORG_MAN_PAGE="X Version 11"
   11818 
   11819 MAN_SUBSTS="\
   11820 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11821 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11822 	-e 's|__xservername__|Xorg|g' \
   11823 	-e 's|__xconfigfile__|xorg.conf|g' \
   11824 	-e 's|__projectroot__|\$(prefix)|g' \
   11825 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11826 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11827 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11828 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11829 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11830 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11831 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11832 
   11833 
   11834 
   11835 # Check whether --enable-silent-rules was given.
   11836 if test "${enable_silent_rules+set}" = set; then :
   11837   enableval=$enable_silent_rules;
   11838 fi
   11839 
   11840 case $enable_silent_rules in
   11841 yes) AM_DEFAULT_VERBOSITY=0;;
   11842 no)  AM_DEFAULT_VERBOSITY=1;;
   11843 *)   AM_DEFAULT_VERBOSITY=0;;
   11844 esac
   11845 AM_BACKSLASH='\'
   11846 
   11847 
   11848 
   11849 
   11850 # Check whether --enable-specs was given.
   11851 if test "${enable_specs+set}" = set; then :
   11852   enableval=$enable_specs; build_specs=$enableval
   11853 else
   11854   build_specs=yes
   11855 fi
   11856 
   11857 
   11858  if test x$build_specs = xyes; then
   11859   ENABLE_SPECS_TRUE=
   11860   ENABLE_SPECS_FALSE='#'
   11861 else
   11862   ENABLE_SPECS_TRUE='#'
   11863   ENABLE_SPECS_FALSE=
   11864 fi
   11865 
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   11867 $as_echo_n "checking whether to build functional specifications... " >&6; }
   11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   11869 $as_echo "$build_specs" >&6; }
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 # Check whether --with-xmlto was given.
   11876 if test "${with_xmlto+set}" = set; then :
   11877   withval=$with_xmlto; use_xmlto=$withval
   11878 else
   11879   use_xmlto=auto
   11880 fi
   11881 
   11882 
   11883 
   11884 if test "x$use_xmlto" = x"auto"; then
   11885    # Extract the first word of "xmlto", so it can be a program name with args.
   11886 set dummy xmlto; ac_word=$2
   11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11888 $as_echo_n "checking for $ac_word... " >&6; }
   11889 if ${ac_cv_path_XMLTO+:} false; then :
   11890   $as_echo_n "(cached) " >&6
   11891 else
   11892   case $XMLTO in
   11893   [\\/]* | ?:[\\/]*)
   11894   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11895   ;;
   11896   *)
   11897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11898 for as_dir in $PATH
   11899 do
   11900   IFS=$as_save_IFS
   11901   test -z "$as_dir" && as_dir=.
   11902     for ac_exec_ext in '' $ac_executable_extensions; do
   11903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11904     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   11905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11906     break 2
   11907   fi
   11908 done
   11909   done
   11910 IFS=$as_save_IFS
   11911 
   11912   ;;
   11913 esac
   11914 fi
   11915 XMLTO=$ac_cv_path_XMLTO
   11916 if test -n "$XMLTO"; then
   11917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11918 $as_echo "$XMLTO" >&6; }
   11919 else
   11920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11921 $as_echo "no" >&6; }
   11922 fi
   11923 
   11924 
   11925    if test "x$XMLTO" = "x"; then
   11926         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   11927 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   11928 	have_xmlto=no
   11929    else
   11930         have_xmlto=yes
   11931    fi
   11932 elif test "x$use_xmlto" = x"yes" ; then
   11933    # Extract the first word of "xmlto", so it can be a program name with args.
   11934 set dummy xmlto; ac_word=$2
   11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11936 $as_echo_n "checking for $ac_word... " >&6; }
   11937 if ${ac_cv_path_XMLTO+:} false; then :
   11938   $as_echo_n "(cached) " >&6
   11939 else
   11940   case $XMLTO in
   11941   [\\/]* | ?:[\\/]*)
   11942   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   11943   ;;
   11944   *)
   11945   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11946 for as_dir in $PATH
   11947 do
   11948   IFS=$as_save_IFS
   11949   test -z "$as_dir" && as_dir=.
   11950     for ac_exec_ext in '' $ac_executable_extensions; do
   11951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11952     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   11953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11954     break 2
   11955   fi
   11956 done
   11957   done
   11958 IFS=$as_save_IFS
   11959 
   11960   ;;
   11961 esac
   11962 fi
   11963 XMLTO=$ac_cv_path_XMLTO
   11964 if test -n "$XMLTO"; then
   11965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   11966 $as_echo "$XMLTO" >&6; }
   11967 else
   11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11969 $as_echo "no" >&6; }
   11970 fi
   11971 
   11972 
   11973    if test "x$XMLTO" = "x"; then
   11974         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   11975    fi
   11976    have_xmlto=yes
   11977 elif test "x$use_xmlto" = x"no" ; then
   11978    if test "x$XMLTO" != "x"; then
   11979       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   11980 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   11981    fi
   11982    have_xmlto=no
   11983 else
   11984    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   11985 fi
   11986 
   11987 # Test for a minimum version of xmlto, if provided.
   11988 if test "$have_xmlto" = yes; then
   11989     # scrape the xmlto version
   11990     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   11991 $as_echo_n "checking the xmlto version... " >&6; }
   11992     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   11993     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   11994 $as_echo "$xmlto_version" >&6; }
   11995     as_arg_v1=$xmlto_version
   11996 as_arg_v2=0.0.20
   11997 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   11998 case $? in #(
   11999   1) :
   12000     if test "x$use_xmlto" = xauto; then
   12001             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   12002 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   12003             have_xmlto=no
   12004         else
   12005             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   12006         fi ;; #(
   12007   0) :
   12008      ;; #(
   12009   2) :
   12010      ;; #(
   12011   *) :
   12012      ;;
   12013 esac
   12014 fi
   12015 
   12016 # Test for the ability of xmlto to generate a text target
   12017 have_xmlto_text=no
   12018 cat > conftest.xml << "EOF"
   12019 EOF
   12020 if test "$have_xmlto" = yes; then :
   12021   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   12022   have_xmlto_text=yes
   12023 else
   12024   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   12025 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   12026 fi
   12027 fi
   12028 rm -f conftest.xml
   12029  if test $have_xmlto_text = yes; then
   12030   HAVE_XMLTO_TEXT_TRUE=
   12031   HAVE_XMLTO_TEXT_FALSE='#'
   12032 else
   12033   HAVE_XMLTO_TEXT_TRUE='#'
   12034   HAVE_XMLTO_TEXT_FALSE=
   12035 fi
   12036 
   12037  if test "$have_xmlto" = yes; then
   12038   HAVE_XMLTO_TRUE=
   12039   HAVE_XMLTO_FALSE='#'
   12040 else
   12041   HAVE_XMLTO_TRUE='#'
   12042   HAVE_XMLTO_FALSE=
   12043 fi
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 # Check whether --with-fop was given.
   12051 if test "${with_fop+set}" = set; then :
   12052   withval=$with_fop; use_fop=$withval
   12053 else
   12054   use_fop=auto
   12055 fi
   12056 
   12057 
   12058 
   12059 if test "x$use_fop" = x"auto"; then
   12060    # Extract the first word of "fop", so it can be a program name with args.
   12061 set dummy fop; ac_word=$2
   12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12063 $as_echo_n "checking for $ac_word... " >&6; }
   12064 if ${ac_cv_path_FOP+:} false; then :
   12065   $as_echo_n "(cached) " >&6
   12066 else
   12067   case $FOP in
   12068   [\\/]* | ?:[\\/]*)
   12069   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   12070   ;;
   12071   *)
   12072   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12073 for as_dir in $PATH
   12074 do
   12075   IFS=$as_save_IFS
   12076   test -z "$as_dir" && as_dir=.
   12077     for ac_exec_ext in '' $ac_executable_extensions; do
   12078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12079     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   12080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12081     break 2
   12082   fi
   12083 done
   12084   done
   12085 IFS=$as_save_IFS
   12086 
   12087   ;;
   12088 esac
   12089 fi
   12090 FOP=$ac_cv_path_FOP
   12091 if test -n "$FOP"; then
   12092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   12093 $as_echo "$FOP" >&6; }
   12094 else
   12095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12096 $as_echo "no" >&6; }
   12097 fi
   12098 
   12099 
   12100    if test "x$FOP" = "x"; then
   12101         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   12102 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   12103 	have_fop=no
   12104    else
   12105         have_fop=yes
   12106    fi
   12107 elif test "x$use_fop" = x"yes" ; then
   12108    # Extract the first word of "fop", so it can be a program name with args.
   12109 set dummy fop; ac_word=$2
   12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12111 $as_echo_n "checking for $ac_word... " >&6; }
   12112 if ${ac_cv_path_FOP+:} false; then :
   12113   $as_echo_n "(cached) " >&6
   12114 else
   12115   case $FOP in
   12116   [\\/]* | ?:[\\/]*)
   12117   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   12118   ;;
   12119   *)
   12120   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12121 for as_dir in $PATH
   12122 do
   12123   IFS=$as_save_IFS
   12124   test -z "$as_dir" && as_dir=.
   12125     for ac_exec_ext in '' $ac_executable_extensions; do
   12126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12127     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   12128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12129     break 2
   12130   fi
   12131 done
   12132   done
   12133 IFS=$as_save_IFS
   12134 
   12135   ;;
   12136 esac
   12137 fi
   12138 FOP=$ac_cv_path_FOP
   12139 if test -n "$FOP"; then
   12140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   12141 $as_echo "$FOP" >&6; }
   12142 else
   12143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12144 $as_echo "no" >&6; }
   12145 fi
   12146 
   12147 
   12148    if test "x$FOP" = "x"; then
   12149         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   12150    fi
   12151    have_fop=yes
   12152 elif test "x$use_fop" = x"no" ; then
   12153    if test "x$FOP" != "x"; then
   12154       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   12155 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   12156    fi
   12157    have_fop=no
   12158 else
   12159    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   12160 fi
   12161  if test "$have_fop" = yes; then
   12162   HAVE_FOP_TRUE=
   12163   HAVE_FOP_FALSE='#'
   12164 else
   12165   HAVE_FOP_TRUE='#'
   12166   HAVE_FOP_FALSE=
   12167 fi
   12168 
   12169 
   12170 
   12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   12172 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
   12173 XORG_SGML_PATH=
   12174 if test -n "$PKG_CONFIG" && \
   12175     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   12176   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   12177   ac_status=$?
   12178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12179   test $ac_status = 0; }; then
   12180   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   12181 else
   12182   :
   12183 
   12184 fi
   12185 
   12186 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   12187 # the path and the name of the doc stylesheet
   12188 if test "x$XORG_SGML_PATH" != "x" ; then
   12189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   12190 $as_echo "$XORG_SGML_PATH" >&6; }
   12191    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   12192    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   12193 else
   12194    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12195 $as_echo "no" >&6; }
   12196 fi
   12197 
   12198 
   12199 
   12200 
   12201  if test "x$XSL_STYLESHEET" != "x"; then
   12202   HAVE_STYLESHEETS_TRUE=
   12203   HAVE_STYLESHEETS_FALSE='#'
   12204 else
   12205   HAVE_STYLESHEETS_TRUE='#'
   12206   HAVE_STYLESHEETS_FALSE=
   12207 fi
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 # Check whether --with-asciidoc was given.
   12215 if test "${with_asciidoc+set}" = set; then :
   12216   withval=$with_asciidoc; use_asciidoc=$withval
   12217 else
   12218   use_asciidoc=auto
   12219 fi
   12220 
   12221 
   12222 
   12223 if test "x$use_asciidoc" = x"auto"; then
   12224    # Extract the first word of "asciidoc", so it can be a program name with args.
   12225 set dummy asciidoc; ac_word=$2
   12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12227 $as_echo_n "checking for $ac_word... " >&6; }
   12228 if ${ac_cv_path_ASCIIDOC+:} false; then :
   12229   $as_echo_n "(cached) " >&6
   12230 else
   12231   case $ASCIIDOC in
   12232   [\\/]* | ?:[\\/]*)
   12233   ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
   12234   ;;
   12235   *)
   12236   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12237 for as_dir in $PATH
   12238 do
   12239   IFS=$as_save_IFS
   12240   test -z "$as_dir" && as_dir=.
   12241     for ac_exec_ext in '' $ac_executable_extensions; do
   12242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12243     ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
   12244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12245     break 2
   12246   fi
   12247 done
   12248   done
   12249 IFS=$as_save_IFS
   12250 
   12251   ;;
   12252 esac
   12253 fi
   12254 ASCIIDOC=$ac_cv_path_ASCIIDOC
   12255 if test -n "$ASCIIDOC"; then
   12256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
   12257 $as_echo "$ASCIIDOC" >&6; }
   12258 else
   12259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12260 $as_echo "no" >&6; }
   12261 fi
   12262 
   12263 
   12264    if test "x$ASCIIDOC" = "x"; then
   12265         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc not found - documentation targets will be skipped" >&5
   12266 $as_echo "$as_me: WARNING: asciidoc not found - documentation targets will be skipped" >&2;}
   12267 	have_asciidoc=no
   12268    else
   12269         have_asciidoc=yes
   12270    fi
   12271 elif test "x$use_asciidoc" = x"yes" ; then
   12272    # Extract the first word of "asciidoc", so it can be a program name with args.
   12273 set dummy asciidoc; ac_word=$2
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12275 $as_echo_n "checking for $ac_word... " >&6; }
   12276 if ${ac_cv_path_ASCIIDOC+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   case $ASCIIDOC in
   12280   [\\/]* | ?:[\\/]*)
   12281   ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
   12282   ;;
   12283   *)
   12284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12285 for as_dir in $PATH
   12286 do
   12287   IFS=$as_save_IFS
   12288   test -z "$as_dir" && as_dir=.
   12289     for ac_exec_ext in '' $ac_executable_extensions; do
   12290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12291     ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
   12292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12293     break 2
   12294   fi
   12295 done
   12296   done
   12297 IFS=$as_save_IFS
   12298 
   12299   ;;
   12300 esac
   12301 fi
   12302 ASCIIDOC=$ac_cv_path_ASCIIDOC
   12303 if test -n "$ASCIIDOC"; then
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
   12305 $as_echo "$ASCIIDOC" >&6; }
   12306 else
   12307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12308 $as_echo "no" >&6; }
   12309 fi
   12310 
   12311 
   12312    if test "x$ASCIIDOC" = "x"; then
   12313         as_fn_error $? "--with-asciidoc=yes specified but asciidoc not found in PATH" "$LINENO" 5
   12314    fi
   12315    have_asciidoc=yes
   12316 elif test "x$use_asciidoc" = x"no" ; then
   12317    if test "x$ASCIIDOC" != "x"; then
   12318       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&5
   12319 $as_echo "$as_me: WARNING: ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified" >&2;}
   12320    fi
   12321    have_asciidoc=no
   12322 else
   12323    as_fn_error $? "--with-asciidoc expects 'yes' or 'no'" "$LINENO" 5
   12324 fi
   12325 if test "$have_asciidoc" = yes; then
   12326     # scrape the asciidoc version
   12327     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the asciidoc version" >&5
   12328 $as_echo_n "checking the asciidoc version... " >&6; }
   12329     asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2`
   12330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $asciidoc_version" >&5
   12331 $as_echo "$asciidoc_version" >&6; }
   12332     as_arg_v1=$asciidoc_version
   12333 as_arg_v2=8.4.5
   12334 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   12335 case $? in #(
   12336   1) :
   12337     if test "x$use_asciidoc" = xauto; then
   12338             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&5
   12339 $as_echo "$as_me: WARNING: asciidoc version $asciidoc_version found, but 8.4.5 needed" >&2;}
   12340             have_asciidoc=no
   12341         else
   12342             as_fn_error $? "asciidoc version $asciidoc_version found, but 8.4.5 needed" "$LINENO" 5
   12343         fi ;; #(
   12344   0) :
   12345      ;; #(
   12346   2) :
   12347      ;; #(
   12348   *) :
   12349      ;;
   12350 esac
   12351 fi
   12352  if test "$have_asciidoc" = yes; then
   12353   HAVE_ASCIIDOC_TRUE=
   12354   HAVE_ASCIIDOC_FALSE='#'
   12355 else
   12356   HAVE_ASCIIDOC_TRUE='#'
   12357   HAVE_ASCIIDOC_FALSE=
   12358 fi
   12359 
   12360 
   12361 
   12362 # Check whether --enable-malloc0returnsnull was given.
   12363 if test "${enable_malloc0returnsnull+set}" = set; then :
   12364   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   12365 else
   12366   MALLOC_ZERO_RETURNS_NULL=auto
   12367 fi
   12368 
   12369 
   12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   12371 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   12372 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   12373 	if test "$cross_compiling" = yes; then :
   12374   MALLOC_ZERO_RETURNS_NULL=yes
   12375 else
   12376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12377 /* end confdefs.h.  */
   12378 
   12379 #include <stdlib.h>
   12380 
   12381 int
   12382 main ()
   12383 {
   12384 
   12385     char *m0, *r0, *c0, *p;
   12386     m0 = malloc(0);
   12387     p = malloc(10);
   12388     r0 = realloc(p,0);
   12389     c0 = calloc(0,10);
   12390     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   12391 
   12392   ;
   12393   return 0;
   12394 }
   12395 _ACEOF
   12396 if ac_fn_c_try_run "$LINENO"; then :
   12397   MALLOC_ZERO_RETURNS_NULL=yes
   12398 else
   12399   MALLOC_ZERO_RETURNS_NULL=no
   12400 fi
   12401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12402   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12403 fi
   12404 
   12405 fi
   12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   12407 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   12408 
   12409 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   12410 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   12411 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   12412 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   12413 else
   12414 	MALLOC_ZERO_CFLAGS=""
   12415 	XMALLOC_ZERO_CFLAGS=""
   12416 	XTMALLOC_ZERO_CFLAGS=""
   12417 fi
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 # Obtain compiler/linker options for depedencies
   12425 
   12426 pkg_failed=no
   12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XI" >&5
   12428 $as_echo_n "checking for XI... " >&6; }
   12429 
   12430 if test -n "$XI_CFLAGS"; then
   12431     pkg_cv_XI_CFLAGS="$XI_CFLAGS"
   12432  elif test -n "$PKG_CONFIG"; then
   12433     if test -n "$PKG_CONFIG" && \
   12434     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902\""; } >&5
   12435   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902") 2>&5
   12436   ac_status=$?
   12437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12438   test $ac_status = 0; }; then
   12439   pkg_cv_XI_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902" 2>/dev/null`
   12440 else
   12441   pkg_failed=yes
   12442 fi
   12443  else
   12444     pkg_failed=untried
   12445 fi
   12446 if test -n "$XI_LIBS"; then
   12447     pkg_cv_XI_LIBS="$XI_LIBS"
   12448  elif test -n "$PKG_CONFIG"; then
   12449     if test -n "$PKG_CONFIG" && \
   12450     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902\""; } >&5
   12451   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902") 2>&5
   12452   ac_status=$?
   12453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12454   test $ac_status = 0; }; then
   12455   pkg_cv_XI_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902" 2>/dev/null`
   12456 else
   12457   pkg_failed=yes
   12458 fi
   12459  else
   12460     pkg_failed=untried
   12461 fi
   12462 
   12463 
   12464 
   12465 if test $pkg_failed = yes; then
   12466    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12467 $as_echo "no" >&6; }
   12468 
   12469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12470         _pkg_short_errors_supported=yes
   12471 else
   12472         _pkg_short_errors_supported=no
   12473 fi
   12474         if test $_pkg_short_errors_supported = yes; then
   12475 	        XI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902" 2>&1`
   12476         else
   12477 	        XI_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902" 2>&1`
   12478         fi
   12479 	# Put the nasty error message in config.log where it belongs
   12480 	echo "$XI_PKG_ERRORS" >&5
   12481 
   12482 	as_fn_error $? "Package requirements (xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902) were not met:
   12483 
   12484 $XI_PKG_ERRORS
   12485 
   12486 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12487 installed software in a non-standard prefix.
   12488 
   12489 Alternatively, you may set the environment variables XI_CFLAGS
   12490 and XI_LIBS to avoid the need to call pkg-config.
   12491 See the pkg-config man page for more details." "$LINENO" 5
   12492 
   12493 elif test $pkg_failed = untried; then
   12494      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12495 $as_echo "no" >&6; }
   12496 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12498 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   12499 is in your PATH or set the PKG_CONFIG environment variable to the full
   12500 path to pkg-config.
   12501 
   12502 Alternatively, you may set the environment variables XI_CFLAGS
   12503 and XI_LIBS to avoid the need to call pkg-config.
   12504 See the pkg-config man page for more details.
   12505 
   12506 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12507 See \`config.log' for more details" "$LINENO" 5; }
   12508 
   12509 else
   12510 	XI_CFLAGS=$pkg_cv_XI_CFLAGS
   12511 	XI_LIBS=$pkg_cv_XI_LIBS
   12512         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12513 $as_echo "yes" >&6; }
   12514 
   12515 fi
   12516 
   12517 # Check for xmlto and asciidoc for man page conversion
   12518 # (only needed by people building tarballs)
   12519 if test "$have_xmlto" = yes && test "$have_asciidoc" = yes; then
   12520 	have_doctools=yes
   12521 else
   12522 	have_doctools=no
   12523 fi
   12524  if test $have_doctools = yes; then
   12525   HAVE_DOCTOOLS_TRUE=
   12526   HAVE_DOCTOOLS_FALSE='#'
   12527 else
   12528   HAVE_DOCTOOLS_TRUE='#'
   12529   HAVE_DOCTOOLS_FALSE=
   12530 fi
   12531 
   12532 if test $have_doctools = no; then
   12533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&5
   12534 $as_echo "$as_me: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&2;}
   12535 fi
   12536 
   12537 # Determine if the source for man pages is available
   12538 # It may already be present (tarball) or can be generated using doctools
   12539  if test -f "$srcdir/man/XAllowDeviceEvents.man" || \
   12540 	  test $have_doctools = yes; then
   12541   INSTALL_MANPAGES_TRUE=
   12542   INSTALL_MANPAGES_FALSE='#'
   12543 else
   12544   INSTALL_MANPAGES_TRUE='#'
   12545   INSTALL_MANPAGES_FALSE=
   12546 fi
   12547 
   12548 
   12549 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile doc/Makefile specs/Makefile xi.pc"
   12550 
   12551 cat >confcache <<\_ACEOF
   12552 # This file is a shell script that caches the results of configure
   12553 # tests run on this system so they can be shared between configure
   12554 # scripts and configure runs, see configure's option --config-cache.
   12555 # It is not useful on other systems.  If it contains results you don't
   12556 # want to keep, you may remove or edit it.
   12557 #
   12558 # config.status only pays attention to the cache file if you give it
   12559 # the --recheck option to rerun configure.
   12560 #
   12561 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12562 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12563 # following values.
   12564 
   12565 _ACEOF
   12566 
   12567 # The following way of writing the cache mishandles newlines in values,
   12568 # but we know of no workaround that is simple, portable, and efficient.
   12569 # So, we kill variables containing newlines.
   12570 # Ultrix sh set writes to stderr and can't be redirected directly,
   12571 # and sets the high bit in the cache file unless we assign to the vars.
   12572 (
   12573   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12574     eval ac_val=\$$ac_var
   12575     case $ac_val in #(
   12576     *${as_nl}*)
   12577       case $ac_var in #(
   12578       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12580       esac
   12581       case $ac_var in #(
   12582       _ | IFS | as_nl) ;; #(
   12583       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12584       *) { eval $ac_var=; unset $ac_var;} ;;
   12585       esac ;;
   12586     esac
   12587   done
   12588 
   12589   (set) 2>&1 |
   12590     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12591     *${as_nl}ac_space=\ *)
   12592       # `set' does not quote correctly, so add quotes: double-quote
   12593       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12594       sed -n \
   12595 	"s/'/'\\\\''/g;
   12596 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12597       ;; #(
   12598     *)
   12599       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12600       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12601       ;;
   12602     esac |
   12603     sort
   12604 ) |
   12605   sed '
   12606      /^ac_cv_env_/b end
   12607      t clear
   12608      :clear
   12609      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12610      t end
   12611      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12612      :end' >>confcache
   12613 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12614   if test -w "$cache_file"; then
   12615     if test "x$cache_file" != "x/dev/null"; then
   12616       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12617 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12618       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12619 	cat confcache >"$cache_file"
   12620       else
   12621         case $cache_file in #(
   12622         */* | ?:*)
   12623 	  mv -f confcache "$cache_file"$$ &&
   12624 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12625         *)
   12626 	  mv -f confcache "$cache_file" ;;
   12627 	esac
   12628       fi
   12629     fi
   12630   else
   12631     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12632 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12633   fi
   12634 fi
   12635 rm -f confcache
   12636 
   12637 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12638 # Let make expand exec_prefix.
   12639 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12640 
   12641 DEFS=-DHAVE_CONFIG_H
   12642 
   12643 ac_libobjs=
   12644 ac_ltlibobjs=
   12645 U=
   12646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12647   # 1. Remove the extension, and $U if already installed.
   12648   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12649   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12650   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12651   #    will be set to the directory where LIBOBJS objects are built.
   12652   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12653   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12654 done
   12655 LIBOBJS=$ac_libobjs
   12656 
   12657 LTLIBOBJS=$ac_ltlibobjs
   12658 
   12659 
   12660  if test -n "$EXEEXT"; then
   12661   am__EXEEXT_TRUE=
   12662   am__EXEEXT_FALSE='#'
   12663 else
   12664   am__EXEEXT_TRUE='#'
   12665   am__EXEEXT_FALSE=
   12666 fi
   12667 
   12668 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12669   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   12670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12671 fi
   12672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12673   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12675 fi
   12676 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12677   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12679 fi
   12680 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   12681   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   12682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12683 fi
   12684 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   12685   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   12686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12687 fi
   12688 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   12689   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   12690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12691 fi
   12692 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   12693   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   12694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12695 fi
   12696 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   12697   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   12698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12699 fi
   12700 if test -z "${HAVE_ASCIIDOC_TRUE}" && test -z "${HAVE_ASCIIDOC_FALSE}"; then
   12701   as_fn_error $? "conditional \"HAVE_ASCIIDOC\" was never defined.
   12702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12703 fi
   12704 if test -z "${HAVE_DOCTOOLS_TRUE}" && test -z "${HAVE_DOCTOOLS_FALSE}"; then
   12705   as_fn_error $? "conditional \"HAVE_DOCTOOLS\" was never defined.
   12706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12707 fi
   12708 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   12709   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   12710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12711 fi
   12712 
   12713 : "${CONFIG_STATUS=./config.status}"
   12714 ac_write_fail=0
   12715 ac_clean_files_save=$ac_clean_files
   12716 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12718 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12719 as_write_fail=0
   12720 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12721 #! $SHELL
   12722 # Generated by $as_me.
   12723 # Run this file to recreate the current configuration.
   12724 # Compiler output produced by configure, useful for debugging
   12725 # configure, is in config.log if it exists.
   12726 
   12727 debug=false
   12728 ac_cs_recheck=false
   12729 ac_cs_silent=false
   12730 
   12731 SHELL=\${CONFIG_SHELL-$SHELL}
   12732 export SHELL
   12733 _ASEOF
   12734 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12735 ## -------------------- ##
   12736 ## M4sh Initialization. ##
   12737 ## -------------------- ##
   12738 
   12739 # Be more Bourne compatible
   12740 DUALCASE=1; export DUALCASE # for MKS sh
   12741 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12742   emulate sh
   12743   NULLCMD=:
   12744   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12745   # is contrary to our usage.  Disable this feature.
   12746   alias -g '${1+"$@"}'='"$@"'
   12747   setopt NO_GLOB_SUBST
   12748 else
   12749   case `(set -o) 2>/dev/null` in #(
   12750   *posix*) :
   12751     set -o posix ;; #(
   12752   *) :
   12753      ;;
   12754 esac
   12755 fi
   12756 
   12757 
   12758 as_nl='
   12759 '
   12760 export as_nl
   12761 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12762 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12765 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12766 # but without wasting forks for bash or zsh.
   12767 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12768     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12769   as_echo='print -r --'
   12770   as_echo_n='print -rn --'
   12771 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12772   as_echo='printf %s\n'
   12773   as_echo_n='printf %s'
   12774 else
   12775   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12776     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12777     as_echo_n='/usr/ucb/echo -n'
   12778   else
   12779     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12780     as_echo_n_body='eval
   12781       arg=$1;
   12782       case $arg in #(
   12783       *"$as_nl"*)
   12784 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12785 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12786       esac;
   12787       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12788     '
   12789     export as_echo_n_body
   12790     as_echo_n='sh -c $as_echo_n_body as_echo'
   12791   fi
   12792   export as_echo_body
   12793   as_echo='sh -c $as_echo_body as_echo'
   12794 fi
   12795 
   12796 # The user is always right.
   12797 if test "${PATH_SEPARATOR+set}" != set; then
   12798   PATH_SEPARATOR=:
   12799   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12800     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12801       PATH_SEPARATOR=';'
   12802   }
   12803 fi
   12804 
   12805 
   12806 # IFS
   12807 # We need space, tab and new line, in precisely that order.  Quoting is
   12808 # there to prevent editors from complaining about space-tab.
   12809 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12810 # splitting by setting IFS to empty value.)
   12811 IFS=" ""	$as_nl"
   12812 
   12813 # Find who we are.  Look in the path if we contain no directory separator.
   12814 as_myself=
   12815 case $0 in #((
   12816   *[\\/]* ) as_myself=$0 ;;
   12817   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12818 for as_dir in $PATH
   12819 do
   12820   IFS=$as_save_IFS
   12821   test -z "$as_dir" && as_dir=.
   12822     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12823   done
   12824 IFS=$as_save_IFS
   12825 
   12826      ;;
   12827 esac
   12828 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12829 # in which case we are not to be found in the path.
   12830 if test "x$as_myself" = x; then
   12831   as_myself=$0
   12832 fi
   12833 if test ! -f "$as_myself"; then
   12834   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12835   exit 1
   12836 fi
   12837 
   12838 # Unset variables that we do not need and which cause bugs (e.g. in
   12839 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12840 # suppresses any "Segmentation fault" message there.  '((' could
   12841 # trigger a bug in pdksh 5.2.14.
   12842 for as_var in BASH_ENV ENV MAIL MAILPATH
   12843 do eval test x\${$as_var+set} = xset \
   12844   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12845 done
   12846 PS1='$ '
   12847 PS2='> '
   12848 PS4='+ '
   12849 
   12850 # NLS nuisances.
   12851 LC_ALL=C
   12852 export LC_ALL
   12853 LANGUAGE=C
   12854 export LANGUAGE
   12855 
   12856 # CDPATH.
   12857 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12858 
   12859 
   12860 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12861 # ----------------------------------------
   12862 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12863 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12864 # script with STATUS, using 1 if that was 0.
   12865 as_fn_error ()
   12866 {
   12867   as_status=$1; test $as_status -eq 0 && as_status=1
   12868   if test "$4"; then
   12869     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12870     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12871   fi
   12872   $as_echo "$as_me: error: $2" >&2
   12873   as_fn_exit $as_status
   12874 } # as_fn_error
   12875 
   12876 
   12877 # as_fn_set_status STATUS
   12878 # -----------------------
   12879 # Set $? to STATUS, without forking.
   12880 as_fn_set_status ()
   12881 {
   12882   return $1
   12883 } # as_fn_set_status
   12884 
   12885 # as_fn_exit STATUS
   12886 # -----------------
   12887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12888 as_fn_exit ()
   12889 {
   12890   set +e
   12891   as_fn_set_status $1
   12892   exit $1
   12893 } # as_fn_exit
   12894 
   12895 # as_fn_unset VAR
   12896 # ---------------
   12897 # Portably unset VAR.
   12898 as_fn_unset ()
   12899 {
   12900   { eval $1=; unset $1;}
   12901 }
   12902 as_unset=as_fn_unset
   12903 # as_fn_append VAR VALUE
   12904 # ----------------------
   12905 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12906 # advantage of any shell optimizations that allow amortized linear growth over
   12907 # repeated appends, instead of the typical quadratic growth present in naive
   12908 # implementations.
   12909 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12910   eval 'as_fn_append ()
   12911   {
   12912     eval $1+=\$2
   12913   }'
   12914 else
   12915   as_fn_append ()
   12916   {
   12917     eval $1=\$$1\$2
   12918   }
   12919 fi # as_fn_append
   12920 
   12921 # as_fn_arith ARG...
   12922 # ------------------
   12923 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12924 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12925 # must be portable across $(()) and expr.
   12926 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12927   eval 'as_fn_arith ()
   12928   {
   12929     as_val=$(( $* ))
   12930   }'
   12931 else
   12932   as_fn_arith ()
   12933   {
   12934     as_val=`expr "$@" || test $? -eq 1`
   12935   }
   12936 fi # as_fn_arith
   12937 
   12938 
   12939 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12940    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12941   as_expr=expr
   12942 else
   12943   as_expr=false
   12944 fi
   12945 
   12946 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12947   as_basename=basename
   12948 else
   12949   as_basename=false
   12950 fi
   12951 
   12952 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12953   as_dirname=dirname
   12954 else
   12955   as_dirname=false
   12956 fi
   12957 
   12958 as_me=`$as_basename -- "$0" ||
   12959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12960 	 X"$0" : 'X\(//\)$' \| \
   12961 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12962 $as_echo X/"$0" |
   12963     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12964 	    s//\1/
   12965 	    q
   12966 	  }
   12967 	  /^X\/\(\/\/\)$/{
   12968 	    s//\1/
   12969 	    q
   12970 	  }
   12971 	  /^X\/\(\/\).*/{
   12972 	    s//\1/
   12973 	    q
   12974 	  }
   12975 	  s/.*/./; q'`
   12976 
   12977 # Avoid depending upon Character Ranges.
   12978 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12979 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12980 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12981 as_cr_digits='0123456789'
   12982 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12983 
   12984 ECHO_C= ECHO_N= ECHO_T=
   12985 case `echo -n x` in #(((((
   12986 -n*)
   12987   case `echo 'xy\c'` in
   12988   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12989   xy)  ECHO_C='\c';;
   12990   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12991        ECHO_T='	';;
   12992   esac;;
   12993 *)
   12994   ECHO_N='-n';;
   12995 esac
   12996 
   12997 rm -f conf$$ conf$$.exe conf$$.file
   12998 if test -d conf$$.dir; then
   12999   rm -f conf$$.dir/conf$$.file
   13000 else
   13001   rm -f conf$$.dir
   13002   mkdir conf$$.dir 2>/dev/null
   13003 fi
   13004 if (echo >conf$$.file) 2>/dev/null; then
   13005   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13006     as_ln_s='ln -s'
   13007     # ... but there are two gotchas:
   13008     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13009     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13010     # In both cases, we have to default to `cp -p'.
   13011     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13012       as_ln_s='cp -p'
   13013   elif ln conf$$.file conf$$ 2>/dev/null; then
   13014     as_ln_s=ln
   13015   else
   13016     as_ln_s='cp -p'
   13017   fi
   13018 else
   13019   as_ln_s='cp -p'
   13020 fi
   13021 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13022 rmdir conf$$.dir 2>/dev/null
   13023 
   13024 
   13025 # as_fn_mkdir_p
   13026 # -------------
   13027 # Create "$as_dir" as a directory, including parents if necessary.
   13028 as_fn_mkdir_p ()
   13029 {
   13030 
   13031   case $as_dir in #(
   13032   -*) as_dir=./$as_dir;;
   13033   esac
   13034   test -d "$as_dir" || eval $as_mkdir_p || {
   13035     as_dirs=
   13036     while :; do
   13037       case $as_dir in #(
   13038       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13039       *) as_qdir=$as_dir;;
   13040       esac
   13041       as_dirs="'$as_qdir' $as_dirs"
   13042       as_dir=`$as_dirname -- "$as_dir" ||
   13043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13044 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13045 	 X"$as_dir" : 'X\(//\)$' \| \
   13046 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13047 $as_echo X"$as_dir" |
   13048     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13049 	    s//\1/
   13050 	    q
   13051 	  }
   13052 	  /^X\(\/\/\)[^/].*/{
   13053 	    s//\1/
   13054 	    q
   13055 	  }
   13056 	  /^X\(\/\/\)$/{
   13057 	    s//\1/
   13058 	    q
   13059 	  }
   13060 	  /^X\(\/\).*/{
   13061 	    s//\1/
   13062 	    q
   13063 	  }
   13064 	  s/.*/./; q'`
   13065       test -d "$as_dir" && break
   13066     done
   13067     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13068   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   13069 
   13070 
   13071 } # as_fn_mkdir_p
   13072 if mkdir -p . 2>/dev/null; then
   13073   as_mkdir_p='mkdir -p "$as_dir"'
   13074 else
   13075   test -d ./-p && rmdir ./-p
   13076   as_mkdir_p=false
   13077 fi
   13078 
   13079 if test -x / >/dev/null 2>&1; then
   13080   as_test_x='test -x'
   13081 else
   13082   if ls -dL / >/dev/null 2>&1; then
   13083     as_ls_L_option=L
   13084   else
   13085     as_ls_L_option=
   13086   fi
   13087   as_test_x='
   13088     eval sh -c '\''
   13089       if test -d "$1"; then
   13090 	test -d "$1/.";
   13091       else
   13092 	case $1 in #(
   13093 	-*)set "./$1";;
   13094 	esac;
   13095 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13096 	???[sx]*):;;*)false;;esac;fi
   13097     '\'' sh
   13098   '
   13099 fi
   13100 as_executable_p=$as_test_x
   13101 
   13102 # Sed expression to map a string onto a valid CPP name.
   13103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13104 
   13105 # Sed expression to map a string onto a valid variable name.
   13106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13107 
   13108 
   13109 exec 6>&1
   13110 ## ----------------------------------- ##
   13111 ## Main body of $CONFIG_STATUS script. ##
   13112 ## ----------------------------------- ##
   13113 _ASEOF
   13114 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13115 
   13116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13117 # Save the log message, to keep $0 and so on meaningful, and to
   13118 # report actual input values of CONFIG_FILES etc. instead of their
   13119 # values after options handling.
   13120 ac_log="
   13121 This file was extended by libXi $as_me 1.4.3, which was
   13122 generated by GNU Autoconf 2.68.  Invocation command line was
   13123 
   13124   CONFIG_FILES    = $CONFIG_FILES
   13125   CONFIG_HEADERS  = $CONFIG_HEADERS
   13126   CONFIG_LINKS    = $CONFIG_LINKS
   13127   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13128   $ $0 $@
   13129 
   13130 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13131 "
   13132 
   13133 _ACEOF
   13134 
   13135 case $ac_config_files in *"
   13136 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13137 esac
   13138 
   13139 case $ac_config_headers in *"
   13140 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13141 esac
   13142 
   13143 
   13144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13145 # Files that config.status was made for.
   13146 config_files="$ac_config_files"
   13147 config_headers="$ac_config_headers"
   13148 config_commands="$ac_config_commands"
   13149 
   13150 _ACEOF
   13151 
   13152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13153 ac_cs_usage="\
   13154 \`$as_me' instantiates files and other configuration actions
   13155 from templates according to the current configuration.  Unless the files
   13156 and actions are specified as TAGs, all are instantiated by default.
   13157 
   13158 Usage: $0 [OPTION]... [TAG]...
   13159 
   13160   -h, --help       print this help, then exit
   13161   -V, --version    print version number and configuration settings, then exit
   13162       --config     print configuration, then exit
   13163   -q, --quiet, --silent
   13164                    do not print progress messages
   13165   -d, --debug      don't remove temporary files
   13166       --recheck    update $as_me by reconfiguring in the same conditions
   13167       --file=FILE[:TEMPLATE]
   13168                    instantiate the configuration file FILE
   13169       --header=FILE[:TEMPLATE]
   13170                    instantiate the configuration header FILE
   13171 
   13172 Configuration files:
   13173 $config_files
   13174 
   13175 Configuration headers:
   13176 $config_headers
   13177 
   13178 Configuration commands:
   13179 $config_commands
   13180 
   13181 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   13182 
   13183 _ACEOF
   13184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13185 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   13186 ac_cs_version="\\
   13187 libXi config.status 1.4.3
   13188 configured by $0, generated by GNU Autoconf 2.68,
   13189   with options \\"\$ac_cs_config\\"
   13190 
   13191 Copyright (C) 2010 Free Software Foundation, Inc.
   13192 This config.status script is free software; the Free Software Foundation
   13193 gives unlimited permission to copy, distribute and modify it."
   13194 
   13195 ac_pwd='$ac_pwd'
   13196 srcdir='$srcdir'
   13197 INSTALL='$INSTALL'
   13198 MKDIR_P='$MKDIR_P'
   13199 AWK='$AWK'
   13200 test -n "\$AWK" || AWK=awk
   13201 _ACEOF
   13202 
   13203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13204 # The default lists apply if the user does not specify any file.
   13205 ac_need_defaults=:
   13206 while test $# != 0
   13207 do
   13208   case $1 in
   13209   --*=?*)
   13210     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13211     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13212     ac_shift=:
   13213     ;;
   13214   --*=)
   13215     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13216     ac_optarg=
   13217     ac_shift=:
   13218     ;;
   13219   *)
   13220     ac_option=$1
   13221     ac_optarg=$2
   13222     ac_shift=shift
   13223     ;;
   13224   esac
   13225 
   13226   case $ac_option in
   13227   # Handling of the options.
   13228   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13229     ac_cs_recheck=: ;;
   13230   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13231     $as_echo "$ac_cs_version"; exit ;;
   13232   --config | --confi | --conf | --con | --co | --c )
   13233     $as_echo "$ac_cs_config"; exit ;;
   13234   --debug | --debu | --deb | --de | --d | -d )
   13235     debug=: ;;
   13236   --file | --fil | --fi | --f )
   13237     $ac_shift
   13238     case $ac_optarg in
   13239     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13240     '') as_fn_error $? "missing file argument" ;;
   13241     esac
   13242     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13243     ac_need_defaults=false;;
   13244   --header | --heade | --head | --hea )
   13245     $ac_shift
   13246     case $ac_optarg in
   13247     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13248     esac
   13249     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13250     ac_need_defaults=false;;
   13251   --he | --h)
   13252     # Conflict between --help and --header
   13253     as_fn_error $? "ambiguous option: \`$1'
   13254 Try \`$0 --help' for more information.";;
   13255   --help | --hel | -h )
   13256     $as_echo "$ac_cs_usage"; exit ;;
   13257   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13258   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13259     ac_cs_silent=: ;;
   13260 
   13261   # This is an error.
   13262   -*) as_fn_error $? "unrecognized option: \`$1'
   13263 Try \`$0 --help' for more information." ;;
   13264 
   13265   *) as_fn_append ac_config_targets " $1"
   13266      ac_need_defaults=false ;;
   13267 
   13268   esac
   13269   shift
   13270 done
   13271 
   13272 ac_configure_extra_args=
   13273 
   13274 if $ac_cs_silent; then
   13275   exec 6>/dev/null
   13276   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13277 fi
   13278 
   13279 _ACEOF
   13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13281 if \$ac_cs_recheck; then
   13282   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13283   shift
   13284   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13285   CONFIG_SHELL='$SHELL'
   13286   export CONFIG_SHELL
   13287   exec "\$@"
   13288 fi
   13289 
   13290 _ACEOF
   13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13292 exec 5>>config.log
   13293 {
   13294   echo
   13295   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13296 ## Running $as_me. ##
   13297 _ASBOX
   13298   $as_echo "$ac_log"
   13299 } >&5
   13300 
   13301 _ACEOF
   13302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13303 #
   13304 # INIT-COMMANDS
   13305 #
   13306 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13307 
   13308 
   13309 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13310 # if CDPATH is set.
   13311 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13312 
   13313 sed_quote_subst='$sed_quote_subst'
   13314 double_quote_subst='$double_quote_subst'
   13315 delay_variable_subst='$delay_variable_subst'
   13316 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   13317 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   13318 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   13319 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   13320 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   13321 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   13322 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   13323 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   13324 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   13325 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   13326 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   13327 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   13328 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   13329 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   13330 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   13331 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   13332 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   13333 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   13334 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   13335 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   13336 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   13337 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   13338 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   13339 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   13340 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   13341 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   13342 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   13343 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   13344 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   13345 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   13346 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   13347 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   13348 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   13349 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   13350 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   13351 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   13352 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   13353 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   13354 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   13355 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   13356 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   13357 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   13358 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   13359 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   13360 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13361 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13362 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   13363 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   13364 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   13365 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   13366 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   13367 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   13368 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   13369 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   13370 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   13371 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"`'
   13372 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   13373 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   13374 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   13375 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   13376 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   13377 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   13378 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   13379 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   13380 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   13381 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   13382 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   13383 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   13384 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   13385 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   13386 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   13387 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   13388 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   13389 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   13390 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13391 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   13392 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   13393 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   13394 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   13395 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   13396 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   13397 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13398 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   13399 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13400 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   13401 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13402 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   13403 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13404 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13405 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   13406 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   13407 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   13408 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   13409 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   13410 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   13411 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13412 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   13413 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   13414 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   13415 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   13416 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   13417 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   13418 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   13419 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   13420 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   13421 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   13422 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   13423 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   13424 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   13425 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   13426 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   13427 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13428 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   13429 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   13430 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   13431 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   13432 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   13433 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13434 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13435 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   13436 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   13437 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   13438 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   13439 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   13440 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   13441 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   13442 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   13443 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   13444 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   13445 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   13446 
   13447 LTCC='$LTCC'
   13448 LTCFLAGS='$LTCFLAGS'
   13449 compiler='$compiler_DEFAULT'
   13450 
   13451 # A function that is used when there is no print builtin or printf.
   13452 func_fallback_echo ()
   13453 {
   13454   eval 'cat <<_LTECHO_EOF
   13455 \$1
   13456 _LTECHO_EOF'
   13457 }
   13458 
   13459 # Quote evaled strings.
   13460 for var in SHELL \
   13461 ECHO \
   13462 SED \
   13463 GREP \
   13464 EGREP \
   13465 FGREP \
   13466 LD \
   13467 NM \
   13468 LN_S \
   13469 lt_SP2NL \
   13470 lt_NL2SP \
   13471 reload_flag \
   13472 OBJDUMP \
   13473 deplibs_check_method \
   13474 file_magic_cmd \
   13475 file_magic_glob \
   13476 want_nocaseglob \
   13477 DLLTOOL \
   13478 sharedlib_from_linklib_cmd \
   13479 AR \
   13480 AR_FLAGS \
   13481 archiver_list_spec \
   13482 STRIP \
   13483 RANLIB \
   13484 CC \
   13485 CFLAGS \
   13486 compiler \
   13487 lt_cv_sys_global_symbol_pipe \
   13488 lt_cv_sys_global_symbol_to_cdecl \
   13489 lt_cv_sys_global_symbol_to_c_name_address \
   13490 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13491 nm_file_list_spec \
   13492 lt_prog_compiler_no_builtin_flag \
   13493 lt_prog_compiler_pic \
   13494 lt_prog_compiler_wl \
   13495 lt_prog_compiler_static \
   13496 lt_cv_prog_compiler_c_o \
   13497 need_locks \
   13498 MANIFEST_TOOL \
   13499 DSYMUTIL \
   13500 NMEDIT \
   13501 LIPO \
   13502 OTOOL \
   13503 OTOOL64 \
   13504 shrext_cmds \
   13505 export_dynamic_flag_spec \
   13506 whole_archive_flag_spec \
   13507 compiler_needs_object \
   13508 with_gnu_ld \
   13509 allow_undefined_flag \
   13510 no_undefined_flag \
   13511 hardcode_libdir_flag_spec \
   13512 hardcode_libdir_flag_spec_ld \
   13513 hardcode_libdir_separator \
   13514 exclude_expsyms \
   13515 include_expsyms \
   13516 file_list_spec \
   13517 variables_saved_for_relink \
   13518 libname_spec \
   13519 library_names_spec \
   13520 soname_spec \
   13521 install_override_mode \
   13522 finish_eval \
   13523 old_striplib \
   13524 striplib; do
   13525     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13526     *[\\\\\\\`\\"\\\$]*)
   13527       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13528       ;;
   13529     *)
   13530       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13531       ;;
   13532     esac
   13533 done
   13534 
   13535 # Double-quote double-evaled strings.
   13536 for var in reload_cmds \
   13537 old_postinstall_cmds \
   13538 old_postuninstall_cmds \
   13539 old_archive_cmds \
   13540 extract_expsyms_cmds \
   13541 old_archive_from_new_cmds \
   13542 old_archive_from_expsyms_cmds \
   13543 archive_cmds \
   13544 archive_expsym_cmds \
   13545 module_cmds \
   13546 module_expsym_cmds \
   13547 export_symbols_cmds \
   13548 prelink_cmds \
   13549 postlink_cmds \
   13550 postinstall_cmds \
   13551 postuninstall_cmds \
   13552 finish_cmds \
   13553 sys_lib_search_path_spec \
   13554 sys_lib_dlsearch_path_spec; do
   13555     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13556     *[\\\\\\\`\\"\\\$]*)
   13557       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13558       ;;
   13559     *)
   13560       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13561       ;;
   13562     esac
   13563 done
   13564 
   13565 ac_aux_dir='$ac_aux_dir'
   13566 xsi_shell='$xsi_shell'
   13567 lt_shell_append='$lt_shell_append'
   13568 
   13569 # See if we are running on zsh, and set the options which allow our
   13570 # commands through without removal of \ escapes INIT.
   13571 if test -n "\${ZSH_VERSION+set}" ; then
   13572    setopt NO_GLOB_SUBST
   13573 fi
   13574 
   13575 
   13576     PACKAGE='$PACKAGE'
   13577     VERSION='$VERSION'
   13578     TIMESTAMP='$TIMESTAMP'
   13579     RM='$RM'
   13580     ofile='$ofile'
   13581 
   13582 
   13583 
   13584 
   13585 _ACEOF
   13586 
   13587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13588 
   13589 # Handling of arguments.
   13590 for ac_config_target in $ac_config_targets
   13591 do
   13592   case $ac_config_target in
   13593     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   13594     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13595     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13596     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13597     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13598     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13599     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   13600     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   13601     "xi.pc") CONFIG_FILES="$CONFIG_FILES xi.pc" ;;
   13602 
   13603   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13604   esac
   13605 done
   13606 
   13607 
   13608 # If the user did not use the arguments to specify the items to instantiate,
   13609 # then the envvar interface is used.  Set only those that are not.
   13610 # We use the long form for the default assignment because of an extremely
   13611 # bizarre bug on SunOS 4.1.3.
   13612 if $ac_need_defaults; then
   13613   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13614   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13615   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13616 fi
   13617 
   13618 # Have a temporary directory for convenience.  Make it in the build tree
   13619 # simply because there is no reason against having it here, and in addition,
   13620 # creating and moving files from /tmp can sometimes cause problems.
   13621 # Hook for its removal unless debugging.
   13622 # Note that there is a small window in which the directory will not be cleaned:
   13623 # after its creation but before its name has been assigned to `$tmp'.
   13624 $debug ||
   13625 {
   13626   tmp= ac_tmp=
   13627   trap 'exit_status=$?
   13628   : "${ac_tmp:=$tmp}"
   13629   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13630 ' 0
   13631   trap 'as_fn_exit 1' 1 2 13 15
   13632 }
   13633 # Create a (secure) tmp directory for tmp files.
   13634 
   13635 {
   13636   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13637   test -d "$tmp"
   13638 }  ||
   13639 {
   13640   tmp=./conf$$-$RANDOM
   13641   (umask 077 && mkdir "$tmp")
   13642 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13643 ac_tmp=$tmp
   13644 
   13645 # Set up the scripts for CONFIG_FILES section.
   13646 # No need to generate them if there are no CONFIG_FILES.
   13647 # This happens for instance with `./config.status config.h'.
   13648 if test -n "$CONFIG_FILES"; then
   13649 
   13650 
   13651 ac_cr=`echo X | tr X '\015'`
   13652 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13653 # But we know of no other shell where ac_cr would be empty at this
   13654 # point, so we can use a bashism as a fallback.
   13655 if test "x$ac_cr" = x; then
   13656   eval ac_cr=\$\'\\r\'
   13657 fi
   13658 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13659 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13660   ac_cs_awk_cr='\\r'
   13661 else
   13662   ac_cs_awk_cr=$ac_cr
   13663 fi
   13664 
   13665 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13666 _ACEOF
   13667 
   13668 
   13669 {
   13670   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13671   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13672   echo "_ACEOF"
   13673 } >conf$$subs.sh ||
   13674   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13675 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13676 ac_delim='%!_!# '
   13677 for ac_last_try in false false false false false :; do
   13678   . ./conf$$subs.sh ||
   13679     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13680 
   13681   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13682   if test $ac_delim_n = $ac_delim_num; then
   13683     break
   13684   elif $ac_last_try; then
   13685     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13686   else
   13687     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13688   fi
   13689 done
   13690 rm -f conf$$subs.sh
   13691 
   13692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13693 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13694 _ACEOF
   13695 sed -n '
   13696 h
   13697 s/^/S["/; s/!.*/"]=/
   13698 p
   13699 g
   13700 s/^[^!]*!//
   13701 :repl
   13702 t repl
   13703 s/'"$ac_delim"'$//
   13704 t delim
   13705 :nl
   13706 h
   13707 s/\(.\{148\}\)..*/\1/
   13708 t more1
   13709 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13710 p
   13711 n
   13712 b repl
   13713 :more1
   13714 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13715 p
   13716 g
   13717 s/.\{148\}//
   13718 t nl
   13719 :delim
   13720 h
   13721 s/\(.\{148\}\)..*/\1/
   13722 t more2
   13723 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13724 p
   13725 b
   13726 :more2
   13727 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13728 p
   13729 g
   13730 s/.\{148\}//
   13731 t delim
   13732 ' <conf$$subs.awk | sed '
   13733 /^[^""]/{
   13734   N
   13735   s/\n//
   13736 }
   13737 ' >>$CONFIG_STATUS || ac_write_fail=1
   13738 rm -f conf$$subs.awk
   13739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13740 _ACAWK
   13741 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13742   for (key in S) S_is_set[key] = 1
   13743   FS = ""
   13744 
   13745 }
   13746 {
   13747   line = $ 0
   13748   nfields = split(line, field, "@")
   13749   substed = 0
   13750   len = length(field[1])
   13751   for (i = 2; i < nfields; i++) {
   13752     key = field[i]
   13753     keylen = length(key)
   13754     if (S_is_set[key]) {
   13755       value = S[key]
   13756       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13757       len += length(value) + length(field[++i])
   13758       substed = 1
   13759     } else
   13760       len += 1 + keylen
   13761   }
   13762 
   13763   print line
   13764 }
   13765 
   13766 _ACAWK
   13767 _ACEOF
   13768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13769 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13770   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13771 else
   13772   cat
   13773 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13774   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13775 _ACEOF
   13776 
   13777 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13778 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13779 # trailing colons and then remove the whole line if VPATH becomes empty
   13780 # (actually we leave an empty line to preserve line numbers).
   13781 if test "x$srcdir" = x.; then
   13782   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13783 h
   13784 s///
   13785 s/^/:/
   13786 s/[	 ]*$/:/
   13787 s/:\$(srcdir):/:/g
   13788 s/:\${srcdir}:/:/g
   13789 s/:@srcdir@:/:/g
   13790 s/^:*//
   13791 s/:*$//
   13792 x
   13793 s/\(=[	 ]*\).*/\1/
   13794 G
   13795 s/\n//
   13796 s/^[^=]*=[	 ]*$//
   13797 }'
   13798 fi
   13799 
   13800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13801 fi # test -n "$CONFIG_FILES"
   13802 
   13803 # Set up the scripts for CONFIG_HEADERS section.
   13804 # No need to generate them if there are no CONFIG_HEADERS.
   13805 # This happens for instance with `./config.status Makefile'.
   13806 if test -n "$CONFIG_HEADERS"; then
   13807 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13808 BEGIN {
   13809 _ACEOF
   13810 
   13811 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13812 # here-document in config.status, that substitutes the proper values into
   13813 # config.h.in to produce config.h.
   13814 
   13815 # Create a delimiter string that does not exist in confdefs.h, to ease
   13816 # handling of long lines.
   13817 ac_delim='%!_!# '
   13818 for ac_last_try in false false :; do
   13819   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13820   if test -z "$ac_tt"; then
   13821     break
   13822   elif $ac_last_try; then
   13823     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13824   else
   13825     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13826   fi
   13827 done
   13828 
   13829 # For the awk script, D is an array of macro values keyed by name,
   13830 # likewise P contains macro parameters if any.  Preserve backslash
   13831 # newline sequences.
   13832 
   13833 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13834 sed -n '
   13835 s/.\{148\}/&'"$ac_delim"'/g
   13836 t rset
   13837 :rset
   13838 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13839 t def
   13840 d
   13841 :def
   13842 s/\\$//
   13843 t bsnl
   13844 s/["\\]/\\&/g
   13845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13846 D["\1"]=" \3"/p
   13847 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13848 d
   13849 :bsnl
   13850 s/["\\]/\\&/g
   13851 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13852 D["\1"]=" \3\\\\\\n"\\/p
   13853 t cont
   13854 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13855 t cont
   13856 d
   13857 :cont
   13858 n
   13859 s/.\{148\}/&'"$ac_delim"'/g
   13860 t clear
   13861 :clear
   13862 s/\\$//
   13863 t bsnlc
   13864 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13865 d
   13866 :bsnlc
   13867 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13868 b cont
   13869 ' <confdefs.h | sed '
   13870 s/'"$ac_delim"'/"\\\
   13871 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13872 
   13873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13874   for (key in D) D_is_set[key] = 1
   13875   FS = ""
   13876 }
   13877 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13878   line = \$ 0
   13879   split(line, arg, " ")
   13880   if (arg[1] == "#") {
   13881     defundef = arg[2]
   13882     mac1 = arg[3]
   13883   } else {
   13884     defundef = substr(arg[1], 2)
   13885     mac1 = arg[2]
   13886   }
   13887   split(mac1, mac2, "(") #)
   13888   macro = mac2[1]
   13889   prefix = substr(line, 1, index(line, defundef) - 1)
   13890   if (D_is_set[macro]) {
   13891     # Preserve the white space surrounding the "#".
   13892     print prefix "define", macro P[macro] D[macro]
   13893     next
   13894   } else {
   13895     # Replace #undef with comments.  This is necessary, for example,
   13896     # in the case of _POSIX_SOURCE, which is predefined and required
   13897     # on some systems where configure will not decide to define it.
   13898     if (defundef == "undef") {
   13899       print "/*", prefix defundef, macro, "*/"
   13900       next
   13901     }
   13902   }
   13903 }
   13904 { print }
   13905 _ACAWK
   13906 _ACEOF
   13907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13908   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13909 fi # test -n "$CONFIG_HEADERS"
   13910 
   13911 
   13912 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13913 shift
   13914 for ac_tag
   13915 do
   13916   case $ac_tag in
   13917   :[FHLC]) ac_mode=$ac_tag; continue;;
   13918   esac
   13919   case $ac_mode$ac_tag in
   13920   :[FHL]*:*);;
   13921   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13922   :[FH]-) ac_tag=-:-;;
   13923   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13924   esac
   13925   ac_save_IFS=$IFS
   13926   IFS=:
   13927   set x $ac_tag
   13928   IFS=$ac_save_IFS
   13929   shift
   13930   ac_file=$1
   13931   shift
   13932 
   13933   case $ac_mode in
   13934   :L) ac_source=$1;;
   13935   :[FH])
   13936     ac_file_inputs=
   13937     for ac_f
   13938     do
   13939       case $ac_f in
   13940       -) ac_f="$ac_tmp/stdin";;
   13941       *) # Look for the file first in the build tree, then in the source tree
   13942 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13943 	 # because $ac_f cannot contain `:'.
   13944 	 test -f "$ac_f" ||
   13945 	   case $ac_f in
   13946 	   [\\/$]*) false;;
   13947 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13948 	   esac ||
   13949 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13950       esac
   13951       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13952       as_fn_append ac_file_inputs " '$ac_f'"
   13953     done
   13954 
   13955     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13956     # use $as_me), people would be surprised to read:
   13957     #    /* config.h.  Generated by config.status.  */
   13958     configure_input='Generated from '`
   13959 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13960 	`' by configure.'
   13961     if test x"$ac_file" != x-; then
   13962       configure_input="$ac_file.  $configure_input"
   13963       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13964 $as_echo "$as_me: creating $ac_file" >&6;}
   13965     fi
   13966     # Neutralize special characters interpreted by sed in replacement strings.
   13967     case $configure_input in #(
   13968     *\&* | *\|* | *\\* )
   13969        ac_sed_conf_input=`$as_echo "$configure_input" |
   13970        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13971     *) ac_sed_conf_input=$configure_input;;
   13972     esac
   13973 
   13974     case $ac_tag in
   13975     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13976       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13977     esac
   13978     ;;
   13979   esac
   13980 
   13981   ac_dir=`$as_dirname -- "$ac_file" ||
   13982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13983 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13984 	 X"$ac_file" : 'X\(//\)$' \| \
   13985 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13986 $as_echo X"$ac_file" |
   13987     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13988 	    s//\1/
   13989 	    q
   13990 	  }
   13991 	  /^X\(\/\/\)[^/].*/{
   13992 	    s//\1/
   13993 	    q
   13994 	  }
   13995 	  /^X\(\/\/\)$/{
   13996 	    s//\1/
   13997 	    q
   13998 	  }
   13999 	  /^X\(\/\).*/{
   14000 	    s//\1/
   14001 	    q
   14002 	  }
   14003 	  s/.*/./; q'`
   14004   as_dir="$ac_dir"; as_fn_mkdir_p
   14005   ac_builddir=.
   14006 
   14007 case "$ac_dir" in
   14008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14009 *)
   14010   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14011   # A ".." for each directory in $ac_dir_suffix.
   14012   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14013   case $ac_top_builddir_sub in
   14014   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14015   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14016   esac ;;
   14017 esac
   14018 ac_abs_top_builddir=$ac_pwd
   14019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14020 # for backward compatibility:
   14021 ac_top_builddir=$ac_top_build_prefix
   14022 
   14023 case $srcdir in
   14024   .)  # We are building in place.
   14025     ac_srcdir=.
   14026     ac_top_srcdir=$ac_top_builddir_sub
   14027     ac_abs_top_srcdir=$ac_pwd ;;
   14028   [\\/]* | ?:[\\/]* )  # Absolute name.
   14029     ac_srcdir=$srcdir$ac_dir_suffix;
   14030     ac_top_srcdir=$srcdir
   14031     ac_abs_top_srcdir=$srcdir ;;
   14032   *) # Relative name.
   14033     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14034     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14035     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14036 esac
   14037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14038 
   14039 
   14040   case $ac_mode in
   14041   :F)
   14042   #
   14043   # CONFIG_FILE
   14044   #
   14045 
   14046   case $INSTALL in
   14047   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14048   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14049   esac
   14050   ac_MKDIR_P=$MKDIR_P
   14051   case $MKDIR_P in
   14052   [\\/$]* | ?:[\\/]* ) ;;
   14053   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14054   esac
   14055 _ACEOF
   14056 
   14057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14058 # If the template does not know about datarootdir, expand it.
   14059 # FIXME: This hack should be removed a few years after 2.60.
   14060 ac_datarootdir_hack=; ac_datarootdir_seen=
   14061 ac_sed_dataroot='
   14062 /datarootdir/ {
   14063   p
   14064   q
   14065 }
   14066 /@datadir@/p
   14067 /@docdir@/p
   14068 /@infodir@/p
   14069 /@localedir@/p
   14070 /@mandir@/p'
   14071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14072 *datarootdir*) ac_datarootdir_seen=yes;;
   14073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14074   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14076 _ACEOF
   14077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14078   ac_datarootdir_hack='
   14079   s&@datadir@&$datadir&g
   14080   s&@docdir@&$docdir&g
   14081   s&@infodir@&$infodir&g
   14082   s&@localedir@&$localedir&g
   14083   s&@mandir@&$mandir&g
   14084   s&\\\${datarootdir}&$datarootdir&g' ;;
   14085 esac
   14086 _ACEOF
   14087 
   14088 # Neutralize VPATH when `$srcdir' = `.'.
   14089 # Shell code in configure.ac might set extrasub.
   14090 # FIXME: do we really want to maintain this feature?
   14091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14092 ac_sed_extra="$ac_vpsub
   14093 $extrasub
   14094 _ACEOF
   14095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14096 :t
   14097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14098 s|@configure_input@|$ac_sed_conf_input|;t t
   14099 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14101 s&@srcdir@&$ac_srcdir&;t t
   14102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14103 s&@top_srcdir@&$ac_top_srcdir&;t t
   14104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14105 s&@builddir@&$ac_builddir&;t t
   14106 s&@abs_builddir@&$ac_abs_builddir&;t t
   14107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14108 s&@INSTALL@&$ac_INSTALL&;t t
   14109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14110 $ac_datarootdir_hack
   14111 "
   14112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   14113   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14114 
   14115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14116   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   14117   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   14118       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   14119   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14120 which seems to be undefined.  Please make sure it is defined" >&5
   14121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14122 which seems to be undefined.  Please make sure it is defined" >&2;}
   14123 
   14124   rm -f "$ac_tmp/stdin"
   14125   case $ac_file in
   14126   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   14127   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   14128   esac \
   14129   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14130  ;;
   14131   :H)
   14132   #
   14133   # CONFIG_HEADER
   14134   #
   14135   if test x"$ac_file" != x-; then
   14136     {
   14137       $as_echo "/* $configure_input  */" \
   14138       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   14139     } >"$ac_tmp/config.h" \
   14140       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14141     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   14142       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14143 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14144     else
   14145       rm -f "$ac_file"
   14146       mv "$ac_tmp/config.h" "$ac_file" \
   14147 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   14148     fi
   14149   else
   14150     $as_echo "/* $configure_input  */" \
   14151       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   14152       || as_fn_error $? "could not create -" "$LINENO" 5
   14153   fi
   14154 # Compute "$ac_file"'s index in $config_headers.
   14155 _am_arg="$ac_file"
   14156 _am_stamp_count=1
   14157 for _am_header in $config_headers :; do
   14158   case $_am_header in
   14159     $_am_arg | $_am_arg:* )
   14160       break ;;
   14161     * )
   14162       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14163   esac
   14164 done
   14165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14167 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14168 	 X"$_am_arg" : 'X\(//\)$' \| \
   14169 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14170 $as_echo X"$_am_arg" |
   14171     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14172 	    s//\1/
   14173 	    q
   14174 	  }
   14175 	  /^X\(\/\/\)[^/].*/{
   14176 	    s//\1/
   14177 	    q
   14178 	  }
   14179 	  /^X\(\/\/\)$/{
   14180 	    s//\1/
   14181 	    q
   14182 	  }
   14183 	  /^X\(\/\).*/{
   14184 	    s//\1/
   14185 	    q
   14186 	  }
   14187 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14188  ;;
   14189 
   14190   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14191 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14192  ;;
   14193   esac
   14194 
   14195 
   14196   case $ac_file$ac_mode in
   14197     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   14198   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14199   # are listed without --file.  Let's play safe and only enable the eval
   14200   # if we detect the quoting.
   14201   case $CONFIG_FILES in
   14202   *\'*) eval set x "$CONFIG_FILES" ;;
   14203   *)   set x $CONFIG_FILES ;;
   14204   esac
   14205   shift
   14206   for mf
   14207   do
   14208     # Strip MF so we end up with the name of the file.
   14209     mf=`echo "$mf" | sed -e 's/:.*$//'`
   14210     # Check whether this is an Automake generated Makefile or not.
   14211     # We used to match only the files named `Makefile.in', but
   14212     # some people rename them; so instead we look at the file content.
   14213     # Grep'ing the first line is not enough: some people post-process
   14214     # each Makefile.in and add a new line on top of each file to say so.
   14215     # Grep'ing the whole file is not good either: AIX grep has a line
   14216     # limit of 2048, but all sed's we know have understand at least 4000.
   14217     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14218       dirpart=`$as_dirname -- "$mf" ||
   14219 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14220 	 X"$mf" : 'X\(//\)[^/]' \| \
   14221 	 X"$mf" : 'X\(//\)$' \| \
   14222 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14223 $as_echo X"$mf" |
   14224     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14225 	    s//\1/
   14226 	    q
   14227 	  }
   14228 	  /^X\(\/\/\)[^/].*/{
   14229 	    s//\1/
   14230 	    q
   14231 	  }
   14232 	  /^X\(\/\/\)$/{
   14233 	    s//\1/
   14234 	    q
   14235 	  }
   14236 	  /^X\(\/\).*/{
   14237 	    s//\1/
   14238 	    q
   14239 	  }
   14240 	  s/.*/./; q'`
   14241     else
   14242       continue
   14243     fi
   14244     # Extract the definition of DEPDIR, am__include, and am__quote
   14245     # from the Makefile without running `make'.
   14246     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14247     test -z "$DEPDIR" && continue
   14248     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14249     test -z "am__include" && continue
   14250     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14251     # When using ansi2knr, U may be empty or an underscore; expand it
   14252     U=`sed -n 's/^U = //p' < "$mf"`
   14253     # Find all dependency output files, they are included files with
   14254     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14255     # simplest approach to changing $(DEPDIR) to its actual value in the
   14256     # expansion.
   14257     for file in `sed -n "
   14258       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14259 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14260       # Make sure the directory exists.
   14261       test -f "$dirpart/$file" && continue
   14262       fdir=`$as_dirname -- "$file" ||
   14263 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14264 	 X"$file" : 'X\(//\)[^/]' \| \
   14265 	 X"$file" : 'X\(//\)$' \| \
   14266 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14267 $as_echo X"$file" |
   14268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14269 	    s//\1/
   14270 	    q
   14271 	  }
   14272 	  /^X\(\/\/\)[^/].*/{
   14273 	    s//\1/
   14274 	    q
   14275 	  }
   14276 	  /^X\(\/\/\)$/{
   14277 	    s//\1/
   14278 	    q
   14279 	  }
   14280 	  /^X\(\/\).*/{
   14281 	    s//\1/
   14282 	    q
   14283 	  }
   14284 	  s/.*/./; q'`
   14285       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   14286       # echo "creating $dirpart/$file"
   14287       echo '# dummy' > "$dirpart/$file"
   14288     done
   14289   done
   14290 }
   14291  ;;
   14292     "libtool":C)
   14293 
   14294     # See if we are running on zsh, and set the options which allow our
   14295     # commands through without removal of \ escapes.
   14296     if test -n "${ZSH_VERSION+set}" ; then
   14297       setopt NO_GLOB_SUBST
   14298     fi
   14299 
   14300     cfgfile="${ofile}T"
   14301     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14302     $RM "$cfgfile"
   14303 
   14304     cat <<_LT_EOF >> "$cfgfile"
   14305 #! $SHELL
   14306 
   14307 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14308 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14311 #
   14312 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14313 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   14314 #                 Inc.
   14315 #   Written by Gordon Matzigkeit, 1996
   14316 #
   14317 #   This file is part of GNU Libtool.
   14318 #
   14319 # GNU Libtool is free software; you can redistribute it and/or
   14320 # modify it under the terms of the GNU General Public License as
   14321 # published by the Free Software Foundation; either version 2 of
   14322 # the License, or (at your option) any later version.
   14323 #
   14324 # As a special exception to the GNU General Public License,
   14325 # if you distribute this file as part of a program or library that
   14326 # is built using GNU Libtool, you may include this file under the
   14327 # same distribution terms that you use for the rest of that program.
   14328 #
   14329 # GNU Libtool is distributed in the hope that it will be useful,
   14330 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14332 # GNU General Public License for more details.
   14333 #
   14334 # You should have received a copy of the GNU General Public License
   14335 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14336 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14337 # obtained by writing to the Free Software Foundation, Inc.,
   14338 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14339 
   14340 
   14341 # The names of the tagged configurations supported by this script.
   14342 available_tags=""
   14343 
   14344 # ### BEGIN LIBTOOL CONFIG
   14345 
   14346 # Which release of libtool.m4 was used?
   14347 macro_version=$macro_version
   14348 macro_revision=$macro_revision
   14349 
   14350 # Whether or not to build shared libraries.
   14351 build_libtool_libs=$enable_shared
   14352 
   14353 # Whether or not to build static libraries.
   14354 build_old_libs=$enable_static
   14355 
   14356 # What type of objects to build.
   14357 pic_mode=$pic_mode
   14358 
   14359 # Whether or not to optimize for fast installation.
   14360 fast_install=$enable_fast_install
   14361 
   14362 # Shell to use when invoking shell scripts.
   14363 SHELL=$lt_SHELL
   14364 
   14365 # An echo program that protects backslashes.
   14366 ECHO=$lt_ECHO
   14367 
   14368 # The host system.
   14369 host_alias=$host_alias
   14370 host=$host
   14371 host_os=$host_os
   14372 
   14373 # The build system.
   14374 build_alias=$build_alias
   14375 build=$build
   14376 build_os=$build_os
   14377 
   14378 # A sed program that does not truncate output.
   14379 SED=$lt_SED
   14380 
   14381 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14382 Xsed="\$SED -e 1s/^X//"
   14383 
   14384 # A grep program that handles long lines.
   14385 GREP=$lt_GREP
   14386 
   14387 # An ERE matcher.
   14388 EGREP=$lt_EGREP
   14389 
   14390 # A literal string matcher.
   14391 FGREP=$lt_FGREP
   14392 
   14393 # A BSD- or MS-compatible name lister.
   14394 NM=$lt_NM
   14395 
   14396 # Whether we need soft or hard links.
   14397 LN_S=$lt_LN_S
   14398 
   14399 # What is the maximum length of a command?
   14400 max_cmd_len=$max_cmd_len
   14401 
   14402 # Object file suffix (normally "o").
   14403 objext=$ac_objext
   14404 
   14405 # Executable file suffix (normally "").
   14406 exeext=$exeext
   14407 
   14408 # whether the shell understands "unset".
   14409 lt_unset=$lt_unset
   14410 
   14411 # turn spaces into newlines.
   14412 SP2NL=$lt_lt_SP2NL
   14413 
   14414 # turn newlines into spaces.
   14415 NL2SP=$lt_lt_NL2SP
   14416 
   14417 # convert \$build file names to \$host format.
   14418 to_host_file_cmd=$lt_cv_to_host_file_cmd
   14419 
   14420 # convert \$build files to toolchain format.
   14421 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   14422 
   14423 # An object symbol dumper.
   14424 OBJDUMP=$lt_OBJDUMP
   14425 
   14426 # Method to check whether dependent libraries are shared objects.
   14427 deplibs_check_method=$lt_deplibs_check_method
   14428 
   14429 # Command to use when deplibs_check_method = "file_magic".
   14430 file_magic_cmd=$lt_file_magic_cmd
   14431 
   14432 # How to find potential files when deplibs_check_method = "file_magic".
   14433 file_magic_glob=$lt_file_magic_glob
   14434 
   14435 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   14436 want_nocaseglob=$lt_want_nocaseglob
   14437 
   14438 # DLL creation program.
   14439 DLLTOOL=$lt_DLLTOOL
   14440 
   14441 # Command to associate shared and link libraries.
   14442 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   14443 
   14444 # The archiver.
   14445 AR=$lt_AR
   14446 
   14447 # Flags to create an archive.
   14448 AR_FLAGS=$lt_AR_FLAGS
   14449 
   14450 # How to feed a file listing to the archiver.
   14451 archiver_list_spec=$lt_archiver_list_spec
   14452 
   14453 # A symbol stripping program.
   14454 STRIP=$lt_STRIP
   14455 
   14456 # Commands used to install an old-style archive.
   14457 RANLIB=$lt_RANLIB
   14458 old_postinstall_cmds=$lt_old_postinstall_cmds
   14459 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14460 
   14461 # Whether to use a lock for old archive extraction.
   14462 lock_old_archive_extraction=$lock_old_archive_extraction
   14463 
   14464 # A C compiler.
   14465 LTCC=$lt_CC
   14466 
   14467 # LTCC compiler flags.
   14468 LTCFLAGS=$lt_CFLAGS
   14469 
   14470 # Take the output of nm and produce a listing of raw symbols and C names.
   14471 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14472 
   14473 # Transform the output of nm in a proper C declaration.
   14474 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14475 
   14476 # Transform the output of nm in a C name address pair.
   14477 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14478 
   14479 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14480 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14481 
   14482 # Specify filename containing input files for \$NM.
   14483 nm_file_list_spec=$lt_nm_file_list_spec
   14484 
   14485 # The root where to search for dependent libraries,and in which our libraries should be installed.
   14486 lt_sysroot=$lt_sysroot
   14487 
   14488 # The name of the directory that contains temporary libtool files.
   14489 objdir=$objdir
   14490 
   14491 # Used to examine libraries when file_magic_cmd begins with "file".
   14492 MAGIC_CMD=$MAGIC_CMD
   14493 
   14494 # Must we lock files when doing compilation?
   14495 need_locks=$lt_need_locks
   14496 
   14497 # Manifest tool.
   14498 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   14499 
   14500 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14501 DSYMUTIL=$lt_DSYMUTIL
   14502 
   14503 # Tool to change global to local symbols on Mac OS X.
   14504 NMEDIT=$lt_NMEDIT
   14505 
   14506 # Tool to manipulate fat objects and archives on Mac OS X.
   14507 LIPO=$lt_LIPO
   14508 
   14509 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14510 OTOOL=$lt_OTOOL
   14511 
   14512 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14513 OTOOL64=$lt_OTOOL64
   14514 
   14515 # Old archive suffix (normally "a").
   14516 libext=$libext
   14517 
   14518 # Shared library suffix (normally ".so").
   14519 shrext_cmds=$lt_shrext_cmds
   14520 
   14521 # The commands to extract the exported symbol list from a shared archive.
   14522 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14523 
   14524 # Variables whose values should be saved in libtool wrapper scripts and
   14525 # restored at link time.
   14526 variables_saved_for_relink=$lt_variables_saved_for_relink
   14527 
   14528 # Do we need the "lib" prefix for modules?
   14529 need_lib_prefix=$need_lib_prefix
   14530 
   14531 # Do we need a version for libraries?
   14532 need_version=$need_version
   14533 
   14534 # Library versioning type.
   14535 version_type=$version_type
   14536 
   14537 # Shared library runtime path variable.
   14538 runpath_var=$runpath_var
   14539 
   14540 # Shared library path variable.
   14541 shlibpath_var=$shlibpath_var
   14542 
   14543 # Is shlibpath searched before the hard-coded library search path?
   14544 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14545 
   14546 # Format of library name prefix.
   14547 libname_spec=$lt_libname_spec
   14548 
   14549 # List of archive names.  First name is the real one, the rest are links.
   14550 # The last name is the one that the linker finds with -lNAME
   14551 library_names_spec=$lt_library_names_spec
   14552 
   14553 # The coded name of the library, if different from the real name.
   14554 soname_spec=$lt_soname_spec
   14555 
   14556 # Permission mode override for installation of shared libraries.
   14557 install_override_mode=$lt_install_override_mode
   14558 
   14559 # Command to use after installation of a shared archive.
   14560 postinstall_cmds=$lt_postinstall_cmds
   14561 
   14562 # Command to use after uninstallation of a shared archive.
   14563 postuninstall_cmds=$lt_postuninstall_cmds
   14564 
   14565 # Commands used to finish a libtool library installation in a directory.
   14566 finish_cmds=$lt_finish_cmds
   14567 
   14568 # As "finish_cmds", except a single script fragment to be evaled but
   14569 # not shown.
   14570 finish_eval=$lt_finish_eval
   14571 
   14572 # Whether we should hardcode library paths into libraries.
   14573 hardcode_into_libs=$hardcode_into_libs
   14574 
   14575 # Compile-time system search path for libraries.
   14576 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14577 
   14578 # Run-time system search path for libraries.
   14579 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14580 
   14581 # Whether dlopen is supported.
   14582 dlopen_support=$enable_dlopen
   14583 
   14584 # Whether dlopen of programs is supported.
   14585 dlopen_self=$enable_dlopen_self
   14586 
   14587 # Whether dlopen of statically linked programs is supported.
   14588 dlopen_self_static=$enable_dlopen_self_static
   14589 
   14590 # Commands to strip libraries.
   14591 old_striplib=$lt_old_striplib
   14592 striplib=$lt_striplib
   14593 
   14594 
   14595 # The linker used to build libraries.
   14596 LD=$lt_LD
   14597 
   14598 # How to create reloadable object files.
   14599 reload_flag=$lt_reload_flag
   14600 reload_cmds=$lt_reload_cmds
   14601 
   14602 # Commands used to build an old-style archive.
   14603 old_archive_cmds=$lt_old_archive_cmds
   14604 
   14605 # A language specific compiler.
   14606 CC=$lt_compiler
   14607 
   14608 # Is the compiler the GNU compiler?
   14609 with_gcc=$GCC
   14610 
   14611 # Compiler flag to turn off builtin functions.
   14612 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14613 
   14614 # Additional compiler flags for building library objects.
   14615 pic_flag=$lt_lt_prog_compiler_pic
   14616 
   14617 # How to pass a linker flag through the compiler.
   14618 wl=$lt_lt_prog_compiler_wl
   14619 
   14620 # Compiler flag to prevent dynamic linking.
   14621 link_static_flag=$lt_lt_prog_compiler_static
   14622 
   14623 # Does compiler simultaneously support -c and -o options?
   14624 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14625 
   14626 # Whether or not to add -lc for building shared libraries.
   14627 build_libtool_need_lc=$archive_cmds_need_lc
   14628 
   14629 # Whether or not to disallow shared libs when runtime libs are static.
   14630 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14631 
   14632 # Compiler flag to allow reflexive dlopens.
   14633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14634 
   14635 # Compiler flag to generate shared objects directly from archives.
   14636 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14637 
   14638 # Whether the compiler copes with passing no objects directly.
   14639 compiler_needs_object=$lt_compiler_needs_object
   14640 
   14641 # Create an old-style archive from a shared archive.
   14642 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14643 
   14644 # Create a temporary old-style archive to link instead of a shared archive.
   14645 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14646 
   14647 # Commands used to build a shared archive.
   14648 archive_cmds=$lt_archive_cmds
   14649 archive_expsym_cmds=$lt_archive_expsym_cmds
   14650 
   14651 # Commands used to build a loadable module if different from building
   14652 # a shared archive.
   14653 module_cmds=$lt_module_cmds
   14654 module_expsym_cmds=$lt_module_expsym_cmds
   14655 
   14656 # Whether we are building with GNU ld or not.
   14657 with_gnu_ld=$lt_with_gnu_ld
   14658 
   14659 # Flag that allows shared libraries with undefined symbols to be built.
   14660 allow_undefined_flag=$lt_allow_undefined_flag
   14661 
   14662 # Flag that enforces no undefined symbols.
   14663 no_undefined_flag=$lt_no_undefined_flag
   14664 
   14665 # Flag to hardcode \$libdir into a binary during linking.
   14666 # This must work even if \$libdir does not exist
   14667 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14668 
   14669 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14670 # during linking.  This must work even if \$libdir does not exist.
   14671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14672 
   14673 # Whether we need a single "-rpath" flag with a separated argument.
   14674 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14675 
   14676 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14677 # DIR into the resulting binary.
   14678 hardcode_direct=$hardcode_direct
   14679 
   14680 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14681 # DIR into the resulting binary and the resulting library dependency is
   14682 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14683 # library is relocated.
   14684 hardcode_direct_absolute=$hardcode_direct_absolute
   14685 
   14686 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14687 # into the resulting binary.
   14688 hardcode_minus_L=$hardcode_minus_L
   14689 
   14690 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14691 # into the resulting binary.
   14692 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14693 
   14694 # Set to "yes" if building a shared library automatically hardcodes DIR
   14695 # into the library and all subsequent libraries and executables linked
   14696 # against it.
   14697 hardcode_automatic=$hardcode_automatic
   14698 
   14699 # Set to yes if linker adds runtime paths of dependent libraries
   14700 # to runtime path list.
   14701 inherit_rpath=$inherit_rpath
   14702 
   14703 # Whether libtool must link a program against all its dependency libraries.
   14704 link_all_deplibs=$link_all_deplibs
   14705 
   14706 # Set to "yes" if exported symbols are required.
   14707 always_export_symbols=$always_export_symbols
   14708 
   14709 # The commands to list exported symbols.
   14710 export_symbols_cmds=$lt_export_symbols_cmds
   14711 
   14712 # Symbols that should not be listed in the preloaded symbols.
   14713 exclude_expsyms=$lt_exclude_expsyms
   14714 
   14715 # Symbols that must always be exported.
   14716 include_expsyms=$lt_include_expsyms
   14717 
   14718 # Commands necessary for linking programs (against libraries) with templates.
   14719 prelink_cmds=$lt_prelink_cmds
   14720 
   14721 # Commands necessary for finishing linking programs.
   14722 postlink_cmds=$lt_postlink_cmds
   14723 
   14724 # Specify filename containing input files.
   14725 file_list_spec=$lt_file_list_spec
   14726 
   14727 # How to hardcode a shared library path into an executable.
   14728 hardcode_action=$hardcode_action
   14729 
   14730 # ### END LIBTOOL CONFIG
   14731 
   14732 _LT_EOF
   14733 
   14734   case $host_os in
   14735   aix3*)
   14736     cat <<\_LT_EOF >> "$cfgfile"
   14737 # AIX sometimes has problems with the GCC collect2 program.  For some
   14738 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14739 # vanish in a puff of smoke.
   14740 if test "X${COLLECT_NAMES+set}" != Xset; then
   14741   COLLECT_NAMES=
   14742   export COLLECT_NAMES
   14743 fi
   14744 _LT_EOF
   14745     ;;
   14746   esac
   14747 
   14748 
   14749 ltmain="$ac_aux_dir/ltmain.sh"
   14750 
   14751 
   14752   # We use sed instead of cat because bash on DJGPP gets confused if
   14753   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14754   # text mode, it properly converts lines to CR/LF.  This bash problem
   14755   # is reportedly fixed, but why not run on old versions too?
   14756   sed '$q' "$ltmain" >> "$cfgfile" \
   14757      || (rm -f "$cfgfile"; exit 1)
   14758 
   14759   if test x"$xsi_shell" = xyes; then
   14760   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   14761 func_dirname ()\
   14762 {\
   14763 \    case ${1} in\
   14764 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   14765 \      *  ) func_dirname_result="${3}" ;;\
   14766 \    esac\
   14767 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   14768   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14769     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14770 test 0 -eq $? || _lt_function_replace_fail=:
   14771 
   14772 
   14773   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   14774 func_basename ()\
   14775 {\
   14776 \    func_basename_result="${1##*/}"\
   14777 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   14778   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14779     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14780 test 0 -eq $? || _lt_function_replace_fail=:
   14781 
   14782 
   14783   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   14784 func_dirname_and_basename ()\
   14785 {\
   14786 \    case ${1} in\
   14787 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   14788 \      *  ) func_dirname_result="${3}" ;;\
   14789 \    esac\
   14790 \    func_basename_result="${1##*/}"\
   14791 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   14792   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14793     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14794 test 0 -eq $? || _lt_function_replace_fail=:
   14795 
   14796 
   14797   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   14798 func_stripname ()\
   14799 {\
   14800 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   14801 \    # positional parameters, so assign one to ordinary parameter first.\
   14802 \    func_stripname_result=${3}\
   14803 \    func_stripname_result=${func_stripname_result#"${1}"}\
   14804 \    func_stripname_result=${func_stripname_result%"${2}"}\
   14805 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   14806   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14807     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14808 test 0 -eq $? || _lt_function_replace_fail=:
   14809 
   14810 
   14811   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   14812 func_split_long_opt ()\
   14813 {\
   14814 \    func_split_long_opt_name=${1%%=*}\
   14815 \    func_split_long_opt_arg=${1#*=}\
   14816 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   14817   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14818     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14819 test 0 -eq $? || _lt_function_replace_fail=:
   14820 
   14821 
   14822   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   14823 func_split_short_opt ()\
   14824 {\
   14825 \    func_split_short_opt_arg=${1#??}\
   14826 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   14827 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   14828   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14829     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14830 test 0 -eq $? || _lt_function_replace_fail=:
   14831 
   14832 
   14833   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   14834 func_lo2o ()\
   14835 {\
   14836 \    case ${1} in\
   14837 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   14838 \      *)    func_lo2o_result=${1} ;;\
   14839 \    esac\
   14840 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   14841   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14842     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14843 test 0 -eq $? || _lt_function_replace_fail=:
   14844 
   14845 
   14846   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   14847 func_xform ()\
   14848 {\
   14849     func_xform_result=${1%.*}.lo\
   14850 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   14851   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14852     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14853 test 0 -eq $? || _lt_function_replace_fail=:
   14854 
   14855 
   14856   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   14857 func_arith ()\
   14858 {\
   14859     func_arith_result=$(( $* ))\
   14860 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   14861   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14862     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14863 test 0 -eq $? || _lt_function_replace_fail=:
   14864 
   14865 
   14866   sed -e '/^func_len ()$/,/^} # func_len /c\
   14867 func_len ()\
   14868 {\
   14869     func_len_result=${#1}\
   14870 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   14871   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14872     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14873 test 0 -eq $? || _lt_function_replace_fail=:
   14874 
   14875 fi
   14876 
   14877 if test x"$lt_shell_append" = xyes; then
   14878   sed -e '/^func_append ()$/,/^} # func_append /c\
   14879 func_append ()\
   14880 {\
   14881     eval "${1}+=\\${2}"\
   14882 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   14883   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14884     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14885 test 0 -eq $? || _lt_function_replace_fail=:
   14886 
   14887 
   14888   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   14889 func_append_quoted ()\
   14890 {\
   14891 \    func_quote_for_eval "${2}"\
   14892 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   14893 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   14894   && mv -f "$cfgfile.tmp" "$cfgfile" \
   14895     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14896 test 0 -eq $? || _lt_function_replace_fail=:
   14897 
   14898 
   14899   # Save a `func_append' function call where possible by direct use of '+='
   14900   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   14901     && mv -f "$cfgfile.tmp" "$cfgfile" \
   14902       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14903   test 0 -eq $? || _lt_function_replace_fail=:
   14904 else
   14905   # Save a `func_append' function call even when '+=' is not available
   14906   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   14907     && mv -f "$cfgfile.tmp" "$cfgfile" \
   14908       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   14909   test 0 -eq $? || _lt_function_replace_fail=:
   14910 fi
   14911 
   14912 if test x"$_lt_function_replace_fail" = x":"; then
   14913   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   14914 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   14915 fi
   14916 
   14917 
   14918    mv -f "$cfgfile" "$ofile" ||
   14919     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14920   chmod +x "$ofile"
   14921 
   14922  ;;
   14923 
   14924   esac
   14925 done # for ac_tag
   14926 
   14927 
   14928 as_fn_exit 0
   14929 _ACEOF
   14930 ac_clean_files=$ac_clean_files_save
   14931 
   14932 test $ac_write_fail = 0 ||
   14933   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14934 
   14935 
   14936 # configure is writing to config.log, and then calls config.status.
   14937 # config.status does its own redirection, appending to config.log.
   14938 # Unfortunately, on DOS this fails, as config.log is still kept open
   14939 # by configure, so config.status won't be able to write to it; its
   14940 # output is simply discarded.  So we exec the FD to /dev/null,
   14941 # effectively closing config.log, so it can be properly (re)opened and
   14942 # appended to by config.status.  When coming back to configure, we
   14943 # need to make the FD available again.
   14944 if test "$no_create" != yes; then
   14945   ac_cs_success=:
   14946   ac_config_status_args=
   14947   test "$silent" = yes &&
   14948     ac_config_status_args="$ac_config_status_args --quiet"
   14949   exec 5>/dev/null
   14950   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14951   exec 5>>config.log
   14952   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14953   # would make configure fail if this is the last instruction.
   14954   $ac_cs_success || as_fn_exit 1
   14955 fi
   14956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14957   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14959 fi
   14960 
   14961