Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64 for xcb-util 0.3.6.
      4 #
      5 # Report bugs to <xcb (at] lists.freedesktop.org>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      9 # Foundation, Inc.
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 case $0 in #((
     93   *[\\/]* ) as_myself=$0 ;;
     94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95 for as_dir in $PATH
     96 do
     97   IFS=$as_save_IFS
     98   test -z "$as_dir" && as_dir=.
     99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
    123 PS1='$ '
    124 PS2='> '
    125 PS4='+ '
    126 
    127 # NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1"
    175   if (eval "$as_required") 2>/dev/null; then :
    176   as_have_required=yes
    177 else
    178   as_have_required=no
    179 fi
    180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    181 
    182 else
    183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    184 as_found=false
    185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    186 do
    187   IFS=$as_save_IFS
    188   test -z "$as_dir" && as_dir=.
    189   as_found=:
    190   case $as_dir in #(
    191 	 /*)
    192 	   for as_base in sh bash ksh sh5; do
    193 	     # Try only shells that exist, to save several forks.
    194 	     as_shell=$as_dir/$as_base
    195 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    196 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    197   CONFIG_SHELL=$as_shell as_have_required=yes
    198 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   break 2
    200 fi
    201 fi
    202 	   done;;
    203        esac
    204   as_found=false
    205 done
    206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    207 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$SHELL as_have_required=yes
    209 fi; }
    210 IFS=$as_save_IFS
    211 
    212 
    213       if test "x$CONFIG_SHELL" != x; then :
    214   # We cannot yet assume a decent shell, so we have to provide a
    215 	# neutralization value for shells without unset; and this also
    216 	# works around shells that cannot unset nonexistent variables.
    217 	BASH_ENV=/dev/null
    218 	ENV=/dev/null
    219 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    220 	export CONFIG_SHELL
    221 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    222 fi
    223 
    224     if test x$as_have_required = xno; then :
    225   $as_echo "$0: This script requires a shell more modern than all"
    226   $as_echo "$0: the shells that I found on your system."
    227   if test x${ZSH_VERSION+set} = xset ; then
    228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    230   else
    231     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    232 $0: xcb (at] lists.freedesktop.org about your system, including
    233 $0: any error possibly output before this message. Then
    234 $0: install a modern shell, or manually run the script
    235 $0: under such a shell if you do have one."
    236   fi
    237   exit 1
    238 fi
    239 fi
    240 fi
    241 SHELL=${CONFIG_SHELL-/bin/sh}
    242 export SHELL
    243 # Unset more variables known to interfere with behavior of common tools.
    244 CLICOLOR_FORCE= GREP_OPTIONS=
    245 unset CLICOLOR_FORCE GREP_OPTIONS
    246 
    247 ## --------------------- ##
    248 ## M4sh Shell Functions. ##
    249 ## --------------------- ##
    250 # as_fn_unset VAR
    251 # ---------------
    252 # Portably unset VAR.
    253 as_fn_unset ()
    254 {
    255   { eval $1=; unset $1;}
    256 }
    257 as_unset=as_fn_unset
    258 
    259 # as_fn_set_status STATUS
    260 # -----------------------
    261 # Set $? to STATUS, without forking.
    262 as_fn_set_status ()
    263 {
    264   return $1
    265 } # as_fn_set_status
    266 
    267 # as_fn_exit STATUS
    268 # -----------------
    269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    270 as_fn_exit ()
    271 {
    272   set +e
    273   as_fn_set_status $1
    274   exit $1
    275 } # as_fn_exit
    276 
    277 # as_fn_mkdir_p
    278 # -------------
    279 # Create "$as_dir" as a directory, including parents if necessary.
    280 as_fn_mkdir_p ()
    281 {
    282 
    283   case $as_dir in #(
    284   -*) as_dir=./$as_dir;;
    285   esac
    286   test -d "$as_dir" || eval $as_mkdir_p || {
    287     as_dirs=
    288     while :; do
    289       case $as_dir in #(
    290       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    291       *) as_qdir=$as_dir;;
    292       esac
    293       as_dirs="'$as_qdir' $as_dirs"
    294       as_dir=`$as_dirname -- "$as_dir" ||
    295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    296 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    297 	 X"$as_dir" : 'X\(//\)$' \| \
    298 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    299 $as_echo X"$as_dir" |
    300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    301 	    s//\1/
    302 	    q
    303 	  }
    304 	  /^X\(\/\/\)[^/].*/{
    305 	    s//\1/
    306 	    q
    307 	  }
    308 	  /^X\(\/\/\)$/{
    309 	    s//\1/
    310 	    q
    311 	  }
    312 	  /^X\(\/\).*/{
    313 	    s//\1/
    314 	    q
    315 	  }
    316 	  s/.*/./; q'`
    317       test -d "$as_dir" && break
    318     done
    319     test -z "$as_dirs" || eval "mkdir $as_dirs"
    320   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    321 
    322 
    323 } # as_fn_mkdir_p
    324 # as_fn_append VAR VALUE
    325 # ----------------------
    326 # Append the text in VALUE to the end of the definition contained in VAR. Take
    327 # advantage of any shell optimizations that allow amortized linear growth over
    328 # repeated appends, instead of the typical quadratic growth present in naive
    329 # implementations.
    330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    331   eval 'as_fn_append ()
    332   {
    333     eval $1+=\$2
    334   }'
    335 else
    336   as_fn_append ()
    337   {
    338     eval $1=\$$1\$2
    339   }
    340 fi # as_fn_append
    341 
    342 # as_fn_arith ARG...
    343 # ------------------
    344 # Perform arithmetic evaluation on the ARGs, and store the result in the
    345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    346 # must be portable across $(()) and expr.
    347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    348   eval 'as_fn_arith ()
    349   {
    350     as_val=$(( $* ))
    351   }'
    352 else
    353   as_fn_arith ()
    354   {
    355     as_val=`expr "$@" || test $? -eq 1`
    356   }
    357 fi # as_fn_arith
    358 
    359 
    360 # as_fn_error ERROR [LINENO LOG_FD]
    361 # ---------------------------------
    362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    364 # script with status $?, using 1 if that was 0.
    365 as_fn_error ()
    366 {
    367   as_status=$?; test $as_status -eq 0 && as_status=1
    368   if test "$3"; then
    369     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    370     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    371   fi
    372   $as_echo "$as_me: error: $1" >&2
    373   as_fn_exit $as_status
    374 } # as_fn_error
    375 
    376 if expr a : '\(a\)' >/dev/null 2>&1 &&
    377    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    378   as_expr=expr
    379 else
    380   as_expr=false
    381 fi
    382 
    383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    384   as_basename=basename
    385 else
    386   as_basename=false
    387 fi
    388 
    389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    390   as_dirname=dirname
    391 else
    392   as_dirname=false
    393 fi
    394 
    395 as_me=`$as_basename -- "$0" ||
    396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    397 	 X"$0" : 'X\(//\)$' \| \
    398 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    399 $as_echo X/"$0" |
    400     sed '/^.*\/\([^/][^/]*\)\/*$/{
    401 	    s//\1/
    402 	    q
    403 	  }
    404 	  /^X\/\(\/\/\)$/{
    405 	    s//\1/
    406 	    q
    407 	  }
    408 	  /^X\/\(\/\).*/{
    409 	    s//\1/
    410 	    q
    411 	  }
    412 	  s/.*/./; q'`
    413 
    414 # Avoid depending upon Character Ranges.
    415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    418 as_cr_digits='0123456789'
    419 as_cr_alnum=$as_cr_Letters$as_cr_digits
    420 
    421 
    422   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    423   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    424   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    425   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    426   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    427   sed -n '
    428     p
    429     /[$]LINENO/=
    430   ' <$as_myself |
    431     sed '
    432       s/[$]LINENO.*/&-/
    433       t lineno
    434       b
    435       :lineno
    436       N
    437       :loop
    438       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    439       t loop
    440       s/-\n.*//
    441     ' >$as_me.lineno &&
    442   chmod +x "$as_me.lineno" ||
    443     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    444 
    445   # Don't try to exec as it changes $[0], causing all sort of problems
    446   # (the dirname of $[0] is not the place where we might find the
    447   # original and so on.  Autoconf is especially sensitive to this).
    448   . "./$as_me.lineno"
    449   # Exit status is that of the last command.
    450   exit
    451 }
    452 
    453 ECHO_C= ECHO_N= ECHO_T=
    454 case `echo -n x` in #(((((
    455 -n*)
    456   case `echo 'xy\c'` in
    457   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    458   xy)  ECHO_C='\c';;
    459   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    460        ECHO_T='	';;
    461   esac;;
    462 *)
    463   ECHO_N='-n';;
    464 esac
    465 
    466 rm -f conf$$ conf$$.exe conf$$.file
    467 if test -d conf$$.dir; then
    468   rm -f conf$$.dir/conf$$.file
    469 else
    470   rm -f conf$$.dir
    471   mkdir conf$$.dir 2>/dev/null
    472 fi
    473 if (echo >conf$$.file) 2>/dev/null; then
    474   if ln -s conf$$.file conf$$ 2>/dev/null; then
    475     as_ln_s='ln -s'
    476     # ... but there are two gotchas:
    477     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    478     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    479     # In both cases, we have to default to `cp -p'.
    480     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    481       as_ln_s='cp -p'
    482   elif ln conf$$.file conf$$ 2>/dev/null; then
    483     as_ln_s=ln
    484   else
    485     as_ln_s='cp -p'
    486   fi
    487 else
    488   as_ln_s='cp -p'
    489 fi
    490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    491 rmdir conf$$.dir 2>/dev/null
    492 
    493 if mkdir -p . 2>/dev/null; then
    494   as_mkdir_p='mkdir -p "$as_dir"'
    495 else
    496   test -d ./-p && rmdir ./-p
    497   as_mkdir_p=false
    498 fi
    499 
    500 if test -x / >/dev/null 2>&1; then
    501   as_test_x='test -x'
    502 else
    503   if ls -dL / >/dev/null 2>&1; then
    504     as_ls_L_option=L
    505   else
    506     as_ls_L_option=
    507   fi
    508   as_test_x='
    509     eval sh -c '\''
    510       if test -d "$1"; then
    511 	test -d "$1/.";
    512       else
    513 	case $1 in #(
    514 	-*)set "./$1";;
    515 	esac;
    516 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    517 	???[sx]*):;;*)false;;esac;fi
    518     '\'' sh
    519   '
    520 fi
    521 as_executable_p=$as_test_x
    522 
    523 # Sed expression to map a string onto a valid CPP name.
    524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    525 
    526 # Sed expression to map a string onto a valid variable name.
    527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 
    530 
    531 # Check that we are running under the correct shell.
    532 SHELL=${CONFIG_SHELL-/bin/sh}
    533 
    534 case X$lt_ECHO in
    535 X*--fallback-echo)
    536   # Remove one level of quotation (which was required for Make).
    537   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    538   ;;
    539 esac
    540 
    541 ECHO=${lt_ECHO-echo}
    542 if test "X$1" = X--no-reexec; then
    543   # Discard the --no-reexec flag, and continue.
    544   shift
    545 elif test "X$1" = X--fallback-echo; then
    546   # Avoid inline document here, it may be left over
    547   :
    548 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    549   # Yippee, $ECHO works!
    550   :
    551 else
    552   # Restart under the correct shell.
    553   exec $SHELL "$0" --no-reexec ${1+"$@"}
    554 fi
    555 
    556 if test "X$1" = X--fallback-echo; then
    557   # used as fallback echo
    558   shift
    559   cat <<_LT_EOF
    560 $*
    561 _LT_EOF
    562   exit 0
    563 fi
    564 
    565 # The HP-UX ksh and POSIX shell print the target directory to stdout
    566 # if CDPATH is set.
    567 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    568 
    569 if test -z "$lt_ECHO"; then
    570   if test "X${echo_test_string+set}" != Xset; then
    571     # find a string as large as possible, as long as the shell can cope with it
    572     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    573       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    574       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    575 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    576       then
    577         break
    578       fi
    579     done
    580   fi
    581 
    582   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    583      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    584      test "X$echo_testing_string" = "X$echo_test_string"; then
    585     :
    586   else
    587     # The Solaris, AIX, and Digital Unix default echo programs unquote
    588     # backslashes.  This makes it impossible to quote backslashes using
    589     #   echo "$something" | sed 's/\\/\\\\/g'
    590     #
    591     # So, first we look for a working echo in the user's PATH.
    592 
    593     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    594     for dir in $PATH /usr/ucb; do
    595       IFS="$lt_save_ifs"
    596       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    597          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    598          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    599          test "X$echo_testing_string" = "X$echo_test_string"; then
    600         ECHO="$dir/echo"
    601         break
    602       fi
    603     done
    604     IFS="$lt_save_ifs"
    605 
    606     if test "X$ECHO" = Xecho; then
    607       # We didn't find a better echo, so look for alternatives.
    608       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    609          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    610          test "X$echo_testing_string" = "X$echo_test_string"; then
    611         # This shell has a builtin print -r that does the trick.
    612         ECHO='print -r'
    613       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    614 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    615         # If we have ksh, try running configure again with it.
    616         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    617         export ORIGINAL_CONFIG_SHELL
    618         CONFIG_SHELL=/bin/ksh
    619         export CONFIG_SHELL
    620         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    621       else
    622         # Try using printf.
    623         ECHO='printf %s\n'
    624         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    625 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    626 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    627 	  # Cool, printf works
    628 	  :
    629         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    630 	     test "X$echo_testing_string" = 'X\t' &&
    631 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    632 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    633 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    634 	  export CONFIG_SHELL
    635 	  SHELL="$CONFIG_SHELL"
    636 	  export SHELL
    637 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    638         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    639 	     test "X$echo_testing_string" = 'X\t' &&
    640 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    641 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    642 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    643         else
    644 	  # maybe with a smaller string...
    645 	  prev=:
    646 
    647 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    648 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    649 	    then
    650 	      break
    651 	    fi
    652 	    prev="$cmd"
    653 	  done
    654 
    655 	  if test "$prev" != 'sed 50q "$0"'; then
    656 	    echo_test_string=`eval $prev`
    657 	    export echo_test_string
    658 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    659 	  else
    660 	    # Oops.  We lost completely, so just stick with echo.
    661 	    ECHO=echo
    662 	  fi
    663         fi
    664       fi
    665     fi
    666   fi
    667 fi
    668 
    669 # Copy echo and quote the copy suitably for passing to libtool from
    670 # the Makefile, instead of quoting the original, which is used later.
    671 lt_ECHO=$ECHO
    672 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    673    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    674 fi
    675 
    676 
    677 
    678 
    679 exec 7<&0 </dev/null 6>&1
    680 
    681 # Name of the host.
    682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    683 # so uname gets run too.
    684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    685 
    686 #
    687 # Initializations.
    688 #
    689 ac_default_prefix=/usr/local
    690 ac_clean_files=
    691 ac_config_libobj_dir=.
    692 LIBOBJS=
    693 cross_compiling=no
    694 subdirs=
    695 MFLAGS=
    696 MAKEFLAGS=
    697 
    698 # Identity of this package.
    699 PACKAGE_NAME='xcb-util'
    700 PACKAGE_TARNAME='xcb-util'
    701 PACKAGE_VERSION='0.3.6'
    702 PACKAGE_STRING='xcb-util 0.3.6'
    703 PACKAGE_BUGREPORT='xcb (at] lists.freedesktop.org'
    704 PACKAGE_URL=''
    705 
    706 ac_unique_file="Makefile.am"
    707 # Factoring default headers for most tests.
    708 ac_includes_default="\
    709 #include <stdio.h>
    710 #ifdef HAVE_SYS_TYPES_H
    711 # include <sys/types.h>
    712 #endif
    713 #ifdef HAVE_SYS_STAT_H
    714 # include <sys/stat.h>
    715 #endif
    716 #ifdef STDC_HEADERS
    717 # include <stdlib.h>
    718 # include <stddef.h>
    719 #else
    720 # ifdef HAVE_STDLIB_H
    721 #  include <stdlib.h>
    722 # endif
    723 #endif
    724 #ifdef HAVE_STRING_H
    725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    726 #  include <memory.h>
    727 # endif
    728 # include <string.h>
    729 #endif
    730 #ifdef HAVE_STRINGS_H
    731 # include <strings.h>
    732 #endif
    733 #ifdef HAVE_INTTYPES_H
    734 # include <inttypes.h>
    735 #endif
    736 #ifdef HAVE_STDINT_H
    737 # include <stdint.h>
    738 #endif
    739 #ifdef HAVE_UNISTD_H
    740 # include <unistd.h>
    741 #endif"
    742 
    743 ac_func_list=
    744 ac_subst_vars='am__EXEEXT_FALSE
    745 am__EXEEXT_TRUE
    746 LTLIBOBJS
    747 LIBOBJS
    748 XCB_ICCCM_LIBS
    749 XCB_ICCCM_CFLAGS
    750 XCB_PROPERTY_LIBS
    751 XCB_PROPERTY_CFLAGS
    752 XCB_EVENT_LIBS
    753 XCB_EVENT_CFLAGS
    754 XCB_ATOM_LIBS
    755 XCB_ATOM_CFLAGS
    756 XCB_AUX_LIBS
    757 XCB_AUX_CFLAGS
    758 XPROTO_LIBS
    759 XPROTO_CFLAGS
    760 XCB_RENDER_LIBS
    761 XCB_RENDER_CFLAGS
    762 XCB_SHM_LIBS
    763 XCB_SHM_CFLAGS
    764 XCB_LIBS
    765 XCB_CFLAGS
    766 PKG_CONFIG
    767 pkgconfigdir
    768 xcbincludedir
    769 CWARNFLAGS
    770 CPP
    771 OTOOL64
    772 OTOOL
    773 LIPO
    774 NMEDIT
    775 DSYMUTIL
    776 lt_ECHO
    777 RANLIB
    778 AR
    779 OBJDUMP
    780 LN_S
    781 NM
    782 ac_ct_DUMPBIN
    783 DUMPBIN
    784 LD
    785 FGREP
    786 EGREP
    787 GREP
    788 SED
    789 host_os
    790 host_vendor
    791 host_cpu
    792 host
    793 build_os
    794 build_vendor
    795 build_cpu
    796 build
    797 LIBTOOL
    798 am__fastdepCC_FALSE
    799 am__fastdepCC_TRUE
    800 CCDEPMODE
    801 AMDEPBACKSLASH
    802 AMDEP_FALSE
    803 AMDEP_TRUE
    804 am__quote
    805 am__include
    806 DEPDIR
    807 OBJEXT
    808 EXEEXT
    809 ac_ct_CC
    810 CPPFLAGS
    811 LDFLAGS
    812 CFLAGS
    813 CC
    814 GPERF
    815 GNUM4
    816 GM4
    817 M4
    818 am__untar
    819 am__tar
    820 AMTAR
    821 am__leading_dot
    822 SET_MAKE
    823 AWK
    824 mkdir_p
    825 MKDIR_P
    826 INSTALL_STRIP_PROGRAM
    827 STRIP
    828 install_sh
    829 MAKEINFO
    830 AUTOHEADER
    831 AUTOMAKE
    832 AUTOCONF
    833 ACLOCAL
    834 VERSION
    835 PACKAGE
    836 CYGPATH_W
    837 am__isrc
    838 INSTALL_DATA
    839 INSTALL_SCRIPT
    840 INSTALL_PROGRAM
    841 target_alias
    842 host_alias
    843 build_alias
    844 LIBS
    845 ECHO_T
    846 ECHO_N
    847 ECHO_C
    848 DEFS
    849 mandir
    850 localedir
    851 libdir
    852 psdir
    853 pdfdir
    854 dvidir
    855 htmldir
    856 infodir
    857 docdir
    858 oldincludedir
    859 includedir
    860 localstatedir
    861 sharedstatedir
    862 sysconfdir
    863 datadir
    864 datarootdir
    865 libexecdir
    866 sbindir
    867 bindir
    868 program_transform_name
    869 prefix
    870 exec_prefix
    871 PACKAGE_URL
    872 PACKAGE_BUGREPORT
    873 PACKAGE_STRING
    874 PACKAGE_VERSION
    875 PACKAGE_TARNAME
    876 PACKAGE_NAME
    877 PATH_SEPARATOR
    878 SHELL'
    879 ac_subst_files=''
    880 ac_user_opts='
    881 enable_option_checking
    882 enable_dependency_tracking
    883 enable_shared
    884 enable_static
    885 with_pic
    886 enable_fast_install
    887 with_gnu_ld
    888 enable_libtool_lock
    889 '
    890       ac_precious_vars='build_alias
    891 host_alias
    892 target_alias
    893 CC
    894 CFLAGS
    895 LDFLAGS
    896 LIBS
    897 CPPFLAGS
    898 CPP
    899 PKG_CONFIG
    900 XCB_CFLAGS
    901 XCB_LIBS
    902 XCB_SHM_CFLAGS
    903 XCB_SHM_LIBS
    904 XCB_RENDER_CFLAGS
    905 XCB_RENDER_LIBS
    906 XPROTO_CFLAGS
    907 XPROTO_LIBS'
    908 
    909 
    910 # Initialize some variables set by options.
    911 ac_init_help=
    912 ac_init_version=false
    913 ac_unrecognized_opts=
    914 ac_unrecognized_sep=
    915 # The variables have the same names as the options, with
    916 # dashes changed to underlines.
    917 cache_file=/dev/null
    918 exec_prefix=NONE
    919 no_create=
    920 no_recursion=
    921 prefix=NONE
    922 program_prefix=NONE
    923 program_suffix=NONE
    924 program_transform_name=s,x,x,
    925 silent=
    926 site=
    927 srcdir=
    928 verbose=
    929 x_includes=NONE
    930 x_libraries=NONE
    931 
    932 # Installation directory options.
    933 # These are left unexpanded so users can "make install exec_prefix=/foo"
    934 # and all the variables that are supposed to be based on exec_prefix
    935 # by default will actually change.
    936 # Use braces instead of parens because sh, perl, etc. also accept them.
    937 # (The list follows the same order as the GNU Coding Standards.)
    938 bindir='${exec_prefix}/bin'
    939 sbindir='${exec_prefix}/sbin'
    940 libexecdir='${exec_prefix}/libexec'
    941 datarootdir='${prefix}/share'
    942 datadir='${datarootdir}'
    943 sysconfdir='${prefix}/etc'
    944 sharedstatedir='${prefix}/com'
    945 localstatedir='${prefix}/var'
    946 includedir='${prefix}/include'
    947 oldincludedir='/usr/include'
    948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    949 infodir='${datarootdir}/info'
    950 htmldir='${docdir}'
    951 dvidir='${docdir}'
    952 pdfdir='${docdir}'
    953 psdir='${docdir}'
    954 libdir='${exec_prefix}/lib'
    955 localedir='${datarootdir}/locale'
    956 mandir='${datarootdir}/man'
    957 
    958 ac_prev=
    959 ac_dashdash=
    960 for ac_option
    961 do
    962   # If the previous option needs an argument, assign it.
    963   if test -n "$ac_prev"; then
    964     eval $ac_prev=\$ac_option
    965     ac_prev=
    966     continue
    967   fi
    968 
    969   case $ac_option in
    970   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    971   *)	ac_optarg=yes ;;
    972   esac
    973 
    974   # Accept the important Cygnus configure options, so we can diagnose typos.
    975 
    976   case $ac_dashdash$ac_option in
    977   --)
    978     ac_dashdash=yes ;;
    979 
    980   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    981     ac_prev=bindir ;;
    982   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    983     bindir=$ac_optarg ;;
    984 
    985   -build | --build | --buil | --bui | --bu)
    986     ac_prev=build_alias ;;
    987   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    988     build_alias=$ac_optarg ;;
    989 
    990   -cache-file | --cache-file | --cache-fil | --cache-fi \
    991   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    992     ac_prev=cache_file ;;
    993   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    994   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    995     cache_file=$ac_optarg ;;
    996 
    997   --config-cache | -C)
    998     cache_file=config.cache ;;
    999 
   1000   -datadir | --datadir | --datadi | --datad)
   1001     ac_prev=datadir ;;
   1002   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1003     datadir=$ac_optarg ;;
   1004 
   1005   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1006   | --dataroo | --dataro | --datar)
   1007     ac_prev=datarootdir ;;
   1008   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1009   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1010     datarootdir=$ac_optarg ;;
   1011 
   1012   -disable-* | --disable-*)
   1013     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1014     # Reject names that are not valid shell variable names.
   1015     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1016       as_fn_error "invalid feature name: $ac_useropt"
   1017     ac_useropt_orig=$ac_useropt
   1018     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1019     case $ac_user_opts in
   1020       *"
   1021 "enable_$ac_useropt"
   1022 "*) ;;
   1023       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1024 	 ac_unrecognized_sep=', ';;
   1025     esac
   1026     eval enable_$ac_useropt=no ;;
   1027 
   1028   -docdir | --docdir | --docdi | --doc | --do)
   1029     ac_prev=docdir ;;
   1030   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1031     docdir=$ac_optarg ;;
   1032 
   1033   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1034     ac_prev=dvidir ;;
   1035   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1036     dvidir=$ac_optarg ;;
   1037 
   1038   -enable-* | --enable-*)
   1039     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1040     # Reject names that are not valid shell variable names.
   1041     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1042       as_fn_error "invalid feature name: $ac_useropt"
   1043     ac_useropt_orig=$ac_useropt
   1044     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1045     case $ac_user_opts in
   1046       *"
   1047 "enable_$ac_useropt"
   1048 "*) ;;
   1049       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1050 	 ac_unrecognized_sep=', ';;
   1051     esac
   1052     eval enable_$ac_useropt=\$ac_optarg ;;
   1053 
   1054   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1055   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1056   | --exec | --exe | --ex)
   1057     ac_prev=exec_prefix ;;
   1058   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1059   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1060   | --exec=* | --exe=* | --ex=*)
   1061     exec_prefix=$ac_optarg ;;
   1062 
   1063   -gas | --gas | --ga | --g)
   1064     # Obsolete; use --with-gas.
   1065     with_gas=yes ;;
   1066 
   1067   -help | --help | --hel | --he | -h)
   1068     ac_init_help=long ;;
   1069   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1070     ac_init_help=recursive ;;
   1071   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1072     ac_init_help=short ;;
   1073 
   1074   -host | --host | --hos | --ho)
   1075     ac_prev=host_alias ;;
   1076   -host=* | --host=* | --hos=* | --ho=*)
   1077     host_alias=$ac_optarg ;;
   1078 
   1079   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1080     ac_prev=htmldir ;;
   1081   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1082   | --ht=*)
   1083     htmldir=$ac_optarg ;;
   1084 
   1085   -includedir | --includedir | --includedi | --included | --include \
   1086   | --includ | --inclu | --incl | --inc)
   1087     ac_prev=includedir ;;
   1088   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1089   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1090     includedir=$ac_optarg ;;
   1091 
   1092   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1093     ac_prev=infodir ;;
   1094   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1095     infodir=$ac_optarg ;;
   1096 
   1097   -libdir | --libdir | --libdi | --libd)
   1098     ac_prev=libdir ;;
   1099   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1100     libdir=$ac_optarg ;;
   1101 
   1102   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1103   | --libexe | --libex | --libe)
   1104     ac_prev=libexecdir ;;
   1105   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1106   | --libexe=* | --libex=* | --libe=*)
   1107     libexecdir=$ac_optarg ;;
   1108 
   1109   -localedir | --localedir | --localedi | --localed | --locale)
   1110     ac_prev=localedir ;;
   1111   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1112     localedir=$ac_optarg ;;
   1113 
   1114   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1115   | --localstate | --localstat | --localsta | --localst | --locals)
   1116     ac_prev=localstatedir ;;
   1117   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1118   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1119     localstatedir=$ac_optarg ;;
   1120 
   1121   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1122     ac_prev=mandir ;;
   1123   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1124     mandir=$ac_optarg ;;
   1125 
   1126   -nfp | --nfp | --nf)
   1127     # Obsolete; use --without-fp.
   1128     with_fp=no ;;
   1129 
   1130   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1131   | --no-cr | --no-c | -n)
   1132     no_create=yes ;;
   1133 
   1134   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1135   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1136     no_recursion=yes ;;
   1137 
   1138   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1139   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1140   | --oldin | --oldi | --old | --ol | --o)
   1141     ac_prev=oldincludedir ;;
   1142   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1143   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1144   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1145     oldincludedir=$ac_optarg ;;
   1146 
   1147   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1148     ac_prev=prefix ;;
   1149   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1150     prefix=$ac_optarg ;;
   1151 
   1152   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1153   | --program-pre | --program-pr | --program-p)
   1154     ac_prev=program_prefix ;;
   1155   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1156   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1157     program_prefix=$ac_optarg ;;
   1158 
   1159   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1160   | --program-suf | --program-su | --program-s)
   1161     ac_prev=program_suffix ;;
   1162   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1163   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1164     program_suffix=$ac_optarg ;;
   1165 
   1166   -program-transform-name | --program-transform-name \
   1167   | --program-transform-nam | --program-transform-na \
   1168   | --program-transform-n | --program-transform- \
   1169   | --program-transform | --program-transfor \
   1170   | --program-transfo | --program-transf \
   1171   | --program-trans | --program-tran \
   1172   | --progr-tra | --program-tr | --program-t)
   1173     ac_prev=program_transform_name ;;
   1174   -program-transform-name=* | --program-transform-name=* \
   1175   | --program-transform-nam=* | --program-transform-na=* \
   1176   | --program-transform-n=* | --program-transform-=* \
   1177   | --program-transform=* | --program-transfor=* \
   1178   | --program-transfo=* | --program-transf=* \
   1179   | --program-trans=* | --program-tran=* \
   1180   | --progr-tra=* | --program-tr=* | --program-t=*)
   1181     program_transform_name=$ac_optarg ;;
   1182 
   1183   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1184     ac_prev=pdfdir ;;
   1185   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1186     pdfdir=$ac_optarg ;;
   1187 
   1188   -psdir | --psdir | --psdi | --psd | --ps)
   1189     ac_prev=psdir ;;
   1190   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1191     psdir=$ac_optarg ;;
   1192 
   1193   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1194   | -silent | --silent | --silen | --sile | --sil)
   1195     silent=yes ;;
   1196 
   1197   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1198     ac_prev=sbindir ;;
   1199   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1200   | --sbi=* | --sb=*)
   1201     sbindir=$ac_optarg ;;
   1202 
   1203   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1204   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1205   | --sharedst | --shareds | --shared | --share | --shar \
   1206   | --sha | --sh)
   1207     ac_prev=sharedstatedir ;;
   1208   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1209   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1210   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1211   | --sha=* | --sh=*)
   1212     sharedstatedir=$ac_optarg ;;
   1213 
   1214   -site | --site | --sit)
   1215     ac_prev=site ;;
   1216   -site=* | --site=* | --sit=*)
   1217     site=$ac_optarg ;;
   1218 
   1219   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1220     ac_prev=srcdir ;;
   1221   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1222     srcdir=$ac_optarg ;;
   1223 
   1224   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1225   | --syscon | --sysco | --sysc | --sys | --sy)
   1226     ac_prev=sysconfdir ;;
   1227   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1228   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1229     sysconfdir=$ac_optarg ;;
   1230 
   1231   -target | --target | --targe | --targ | --tar | --ta | --t)
   1232     ac_prev=target_alias ;;
   1233   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1234     target_alias=$ac_optarg ;;
   1235 
   1236   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1237     verbose=yes ;;
   1238 
   1239   -version | --version | --versio | --versi | --vers | -V)
   1240     ac_init_version=: ;;
   1241 
   1242   -with-* | --with-*)
   1243     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1244     # Reject names that are not valid shell variable names.
   1245     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1246       as_fn_error "invalid package name: $ac_useropt"
   1247     ac_useropt_orig=$ac_useropt
   1248     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1249     case $ac_user_opts in
   1250       *"
   1251 "with_$ac_useropt"
   1252 "*) ;;
   1253       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1254 	 ac_unrecognized_sep=', ';;
   1255     esac
   1256     eval with_$ac_useropt=\$ac_optarg ;;
   1257 
   1258   -without-* | --without-*)
   1259     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1260     # Reject names that are not valid shell variable names.
   1261     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1262       as_fn_error "invalid package name: $ac_useropt"
   1263     ac_useropt_orig=$ac_useropt
   1264     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1265     case $ac_user_opts in
   1266       *"
   1267 "with_$ac_useropt"
   1268 "*) ;;
   1269       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1270 	 ac_unrecognized_sep=', ';;
   1271     esac
   1272     eval with_$ac_useropt=no ;;
   1273 
   1274   --x)
   1275     # Obsolete; use --with-x.
   1276     with_x=yes ;;
   1277 
   1278   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1279   | --x-incl | --x-inc | --x-in | --x-i)
   1280     ac_prev=x_includes ;;
   1281   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1282   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1283     x_includes=$ac_optarg ;;
   1284 
   1285   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1286   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1287     ac_prev=x_libraries ;;
   1288   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1289   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1290     x_libraries=$ac_optarg ;;
   1291 
   1292   -*) as_fn_error "unrecognized option: \`$ac_option'
   1293 Try \`$0 --help' for more information."
   1294     ;;
   1295 
   1296   *=*)
   1297     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1298     # Reject names that are not valid shell variable names.
   1299     case $ac_envvar in #(
   1300       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1301       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1302     esac
   1303     eval $ac_envvar=\$ac_optarg
   1304     export $ac_envvar ;;
   1305 
   1306   *)
   1307     # FIXME: should be removed in autoconf 3.0.
   1308     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1309     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1310       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1311     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1312     ;;
   1313 
   1314   esac
   1315 done
   1316 
   1317 if test -n "$ac_prev"; then
   1318   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1319   as_fn_error "missing argument to $ac_option"
   1320 fi
   1321 
   1322 if test -n "$ac_unrecognized_opts"; then
   1323   case $enable_option_checking in
   1324     no) ;;
   1325     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1326     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1327   esac
   1328 fi
   1329 
   1330 # Check all directory arguments for consistency.
   1331 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1332 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1333 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1334 		libdir localedir mandir
   1335 do
   1336   eval ac_val=\$$ac_var
   1337   # Remove trailing slashes.
   1338   case $ac_val in
   1339     */ )
   1340       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1341       eval $ac_var=\$ac_val;;
   1342   esac
   1343   # Be sure to have absolute directory names.
   1344   case $ac_val in
   1345     [\\/$]* | ?:[\\/]* )  continue;;
   1346     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1347   esac
   1348   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1349 done
   1350 
   1351 # There might be people who depend on the old broken behavior: `$host'
   1352 # used to hold the argument of --host etc.
   1353 # FIXME: To remove some day.
   1354 build=$build_alias
   1355 host=$host_alias
   1356 target=$target_alias
   1357 
   1358 # FIXME: To remove some day.
   1359 if test "x$host_alias" != x; then
   1360   if test "x$build_alias" = x; then
   1361     cross_compiling=maybe
   1362     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1363     If a cross compiler is detected then cross compile mode will be used." >&2
   1364   elif test "x$build_alias" != "x$host_alias"; then
   1365     cross_compiling=yes
   1366   fi
   1367 fi
   1368 
   1369 ac_tool_prefix=
   1370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1371 
   1372 test "$silent" = yes && exec 6>/dev/null
   1373 
   1374 
   1375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1376 ac_ls_di=`ls -di .` &&
   1377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1378   as_fn_error "working directory cannot be determined"
   1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1380   as_fn_error "pwd does not report name of working directory"
   1381 
   1382 
   1383 # Find the source files, if location was not specified.
   1384 if test -z "$srcdir"; then
   1385   ac_srcdir_defaulted=yes
   1386   # Try the directory containing this script, then the parent directory.
   1387   ac_confdir=`$as_dirname -- "$as_myself" ||
   1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1389 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1390 	 X"$as_myself" : 'X\(//\)$' \| \
   1391 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1392 $as_echo X"$as_myself" |
   1393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1394 	    s//\1/
   1395 	    q
   1396 	  }
   1397 	  /^X\(\/\/\)[^/].*/{
   1398 	    s//\1/
   1399 	    q
   1400 	  }
   1401 	  /^X\(\/\/\)$/{
   1402 	    s//\1/
   1403 	    q
   1404 	  }
   1405 	  /^X\(\/\).*/{
   1406 	    s//\1/
   1407 	    q
   1408 	  }
   1409 	  s/.*/./; q'`
   1410   srcdir=$ac_confdir
   1411   if test ! -r "$srcdir/$ac_unique_file"; then
   1412     srcdir=..
   1413   fi
   1414 else
   1415   ac_srcdir_defaulted=no
   1416 fi
   1417 if test ! -r "$srcdir/$ac_unique_file"; then
   1418   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1419   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1420 fi
   1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1422 ac_abs_confdir=`(
   1423 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1424 	pwd)`
   1425 # When building in place, set srcdir=.
   1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1427   srcdir=.
   1428 fi
   1429 # Remove unnecessary trailing slashes from srcdir.
   1430 # Double slashes in file names in object file debugging info
   1431 # mess up M-x gdb in Emacs.
   1432 case $srcdir in
   1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1434 esac
   1435 for ac_var in $ac_precious_vars; do
   1436   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1437   eval ac_env_${ac_var}_value=\$${ac_var}
   1438   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1439   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1440 done
   1441 
   1442 #
   1443 # Report the --help message.
   1444 #
   1445 if test "$ac_init_help" = "long"; then
   1446   # Omit some internal or obsolete options to make the list less imposing.
   1447   # This message is too long to be a string in the A/UX 3.1 sh.
   1448   cat <<_ACEOF
   1449 \`configure' configures xcb-util 0.3.6 to adapt to many kinds of systems.
   1450 
   1451 Usage: $0 [OPTION]... [VAR=VALUE]...
   1452 
   1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1454 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1455 
   1456 Defaults for the options are specified in brackets.
   1457 
   1458 Configuration:
   1459   -h, --help              display this help and exit
   1460       --help=short        display options specific to this package
   1461       --help=recursive    display the short help of all the included packages
   1462   -V, --version           display version information and exit
   1463   -q, --quiet, --silent   do not print \`checking...' messages
   1464       --cache-file=FILE   cache test results in FILE [disabled]
   1465   -C, --config-cache      alias for \`--cache-file=config.cache'
   1466   -n, --no-create         do not create output files
   1467       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1468 
   1469 Installation directories:
   1470   --prefix=PREFIX         install architecture-independent files in PREFIX
   1471                           [$ac_default_prefix]
   1472   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1473                           [PREFIX]
   1474 
   1475 By default, \`make install' will install all the files in
   1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1478 for instance \`--prefix=\$HOME'.
   1479 
   1480 For better control, use the options below.
   1481 
   1482 Fine tuning of the installation directories:
   1483   --bindir=DIR            user executables [EPREFIX/bin]
   1484   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1485   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1486   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1487   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1488   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1489   --libdir=DIR            object code libraries [EPREFIX/lib]
   1490   --includedir=DIR        C header files [PREFIX/include]
   1491   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1492   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1493   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1494   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1495   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1496   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1497   --docdir=DIR            documentation root [DATAROOTDIR/doc/xcb-util]
   1498   --htmldir=DIR           html documentation [DOCDIR]
   1499   --dvidir=DIR            dvi documentation [DOCDIR]
   1500   --pdfdir=DIR            pdf documentation [DOCDIR]
   1501   --psdir=DIR             ps documentation [DOCDIR]
   1502 _ACEOF
   1503 
   1504   cat <<\_ACEOF
   1505 
   1506 Program names:
   1507   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1508   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1509   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1510 
   1511 System types:
   1512   --build=BUILD     configure for building on BUILD [guessed]
   1513   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1514 _ACEOF
   1515 fi
   1516 
   1517 if test -n "$ac_init_help"; then
   1518   case $ac_init_help in
   1519      short | recursive ) echo "Configuration of xcb-util 0.3.6:";;
   1520    esac
   1521   cat <<\_ACEOF
   1522 
   1523 Optional Features:
   1524   --disable-option-checking  ignore unrecognized --enable/--with options
   1525   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1526   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1527   --disable-dependency-tracking  speeds up one-time build
   1528   --enable-dependency-tracking   do not reject slow dependency extractors
   1529   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1530   --enable-static[=PKGS]  build static libraries [default=yes]
   1531   --enable-fast-install[=PKGS]
   1532                           optimize for fast installation [default=yes]
   1533   --disable-libtool-lock  avoid locking (might break parallel builds)
   1534 
   1535 Optional Packages:
   1536   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1537   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1538   --with-pic              try to use only PIC/non-PIC objects [default=use
   1539                           both]
   1540   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1541 
   1542 Some influential environment variables:
   1543   CC          C compiler command
   1544   CFLAGS      C compiler flags
   1545   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1546               nonstandard directory <lib dir>
   1547   LIBS        libraries to pass to the linker, e.g. -l<library>
   1548   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1549               you have headers in a nonstandard directory <include dir>
   1550   CPP         C preprocessor
   1551   PKG_CONFIG  path to pkg-config utility
   1552   XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
   1553   XCB_LIBS    linker flags for XCB, overriding pkg-config
   1554   XCB_SHM_CFLAGS
   1555               C compiler flags for XCB_SHM, overriding pkg-config
   1556   XCB_SHM_LIBS
   1557               linker flags for XCB_SHM, overriding pkg-config
   1558   XCB_RENDER_CFLAGS
   1559               C compiler flags for XCB_RENDER, overriding pkg-config
   1560   XCB_RENDER_LIBS
   1561               linker flags for XCB_RENDER, overriding pkg-config
   1562   XPROTO_CFLAGS
   1563               C compiler flags for XPROTO, overriding pkg-config
   1564   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1565 
   1566 Use these variables to override the choices made by `configure' or to help
   1567 it to find libraries and programs with nonstandard names/locations.
   1568 
   1569 Report bugs to <xcb@lists.freedesktop.org>.
   1570 _ACEOF
   1571 ac_status=$?
   1572 fi
   1573 
   1574 if test "$ac_init_help" = "recursive"; then
   1575   # If there are subdirs, report their specific --help.
   1576   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1577     test -d "$ac_dir" ||
   1578       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1579       continue
   1580     ac_builddir=.
   1581 
   1582 case "$ac_dir" in
   1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1584 *)
   1585   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1586   # A ".." for each directory in $ac_dir_suffix.
   1587   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1588   case $ac_top_builddir_sub in
   1589   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1590   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1591   esac ;;
   1592 esac
   1593 ac_abs_top_builddir=$ac_pwd
   1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1595 # for backward compatibility:
   1596 ac_top_builddir=$ac_top_build_prefix
   1597 
   1598 case $srcdir in
   1599   .)  # We are building in place.
   1600     ac_srcdir=.
   1601     ac_top_srcdir=$ac_top_builddir_sub
   1602     ac_abs_top_srcdir=$ac_pwd ;;
   1603   [\\/]* | ?:[\\/]* )  # Absolute name.
   1604     ac_srcdir=$srcdir$ac_dir_suffix;
   1605     ac_top_srcdir=$srcdir
   1606     ac_abs_top_srcdir=$srcdir ;;
   1607   *) # Relative name.
   1608     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1609     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1610     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1611 esac
   1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1613 
   1614     cd "$ac_dir" || { ac_status=$?; continue; }
   1615     # Check for guested configure.
   1616     if test -f "$ac_srcdir/configure.gnu"; then
   1617       echo &&
   1618       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1619     elif test -f "$ac_srcdir/configure"; then
   1620       echo &&
   1621       $SHELL "$ac_srcdir/configure" --help=recursive
   1622     else
   1623       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1624     fi || ac_status=$?
   1625     cd "$ac_pwd" || { ac_status=$?; break; }
   1626   done
   1627 fi
   1628 
   1629 test -n "$ac_init_help" && exit $ac_status
   1630 if $ac_init_version; then
   1631   cat <<\_ACEOF
   1632 xcb-util configure 0.3.6
   1633 generated by GNU Autoconf 2.64
   1634 
   1635 Copyright (C) 2009 Free Software Foundation, Inc.
   1636 This configure script is free software; the Free Software Foundation
   1637 gives unlimited permission to copy, distribute and modify it.
   1638 _ACEOF
   1639   exit
   1640 fi
   1641 
   1642 ## ------------------------ ##
   1643 ## Autoconf initialization. ##
   1644 ## ------------------------ ##
   1645 
   1646 # ac_fn_c_try_compile LINENO
   1647 # --------------------------
   1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1649 ac_fn_c_try_compile ()
   1650 {
   1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1652   rm -f conftest.$ac_objext
   1653   if { { ac_try="$ac_compile"
   1654 case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_compile") 2>conftest.err
   1661   ac_status=$?
   1662   if test -s conftest.err; then
   1663     grep -v '^ *+' conftest.err >conftest.er1
   1664     cat conftest.er1 >&5
   1665     mv -f conftest.er1 conftest.err
   1666   fi
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; } && {
   1669 	 test -z "$ac_c_werror_flag" ||
   1670 	 test ! -s conftest.err
   1671        } && test -s conftest.$ac_objext; then :
   1672   ac_retval=0
   1673 else
   1674   $as_echo "$as_me: failed program was:" >&5
   1675 sed 's/^/| /' conftest.$ac_ext >&5
   1676 
   1677 	ac_retval=1
   1678 fi
   1679   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1680   return $ac_retval
   1681 
   1682 } # ac_fn_c_try_compile
   1683 
   1684 # ac_fn_c_try_link LINENO
   1685 # -----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_link ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext conftest$ac_exeext
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && {
   1707 	 test -z "$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        } && test -s conftest$ac_exeext && {
   1710 	 test "$cross_compiling" = yes ||
   1711 	 $as_test_x conftest$ac_exeext
   1712        }; then :
   1713   ac_retval=0
   1714 else
   1715   $as_echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718 	ac_retval=1
   1719 fi
   1720   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1721   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1722   # interfere with the next link command; also delete a directory that is
   1723   # left behind by Apple's compiler.  We do this before executing the actions.
   1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1725   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1726   return $ac_retval
   1727 
   1728 } # ac_fn_c_try_link
   1729 
   1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1731 # -------------------------------------------------------
   1732 # Tests whether HEADER exists and can be compiled using the include files in
   1733 # INCLUDES, setting the cache variable VAR accordingly.
   1734 ac_fn_c_check_header_compile ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 $as_echo_n "checking for $2... " >&6; }
   1739 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1740   $as_echo_n "(cached) " >&6
   1741 else
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 $4
   1745 #include <$2>
   1746 _ACEOF
   1747 if ac_fn_c_try_compile "$LINENO"; then :
   1748   eval "$3=yes"
   1749 else
   1750   eval "$3=no"
   1751 fi
   1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 $as_echo "$ac_res" >&6; }
   1757   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1758 
   1759 } # ac_fn_c_check_header_compile
   1760 
   1761 # ac_fn_c_try_cpp LINENO
   1762 # ----------------------
   1763 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_cpp ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1768 case "(($ac_try" in
   1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770   *) ac_try_echo=$ac_try;;
   1771 esac
   1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773 $as_echo "$ac_try_echo"; } >&5
   1774   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1775   ac_status=$?
   1776   if test -s conftest.err; then
   1777     grep -v '^ *+' conftest.err >conftest.er1
   1778     cat conftest.er1 >&5
   1779     mv -f conftest.er1 conftest.err
   1780   fi
   1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1782   test $ac_status = 0; } >/dev/null && {
   1783 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1784 	 test ! -s conftest.err
   1785        }; then :
   1786   ac_retval=0
   1787 else
   1788   $as_echo "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791     ac_retval=1
   1792 fi
   1793   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1794   return $ac_retval
   1795 
   1796 } # ac_fn_c_try_cpp
   1797 
   1798 # ac_fn_c_try_run LINENO
   1799 # ----------------------
   1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1801 # that executables *can* be run.
   1802 ac_fn_c_try_run ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   if { { ac_try="$ac_link"
   1806 case "(($ac_try" in
   1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1808   *) ac_try_echo=$ac_try;;
   1809 esac
   1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1811 $as_echo "$ac_try_echo"; } >&5
   1812   (eval "$ac_link") 2>&5
   1813   ac_status=$?
   1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1815   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1816   { { case "(($ac_try" in
   1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1818   *) ac_try_echo=$ac_try;;
   1819 esac
   1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1821 $as_echo "$ac_try_echo"; } >&5
   1822   (eval "$ac_try") 2>&5
   1823   ac_status=$?
   1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1825   test $ac_status = 0; }; }; then :
   1826   ac_retval=0
   1827 else
   1828   $as_echo "$as_me: program exited with status $ac_status" >&5
   1829        $as_echo "$as_me: failed program was:" >&5
   1830 sed 's/^/| /' conftest.$ac_ext >&5
   1831 
   1832        ac_retval=$ac_status
   1833 fi
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1836   return $ac_retval
   1837 
   1838 } # ac_fn_c_try_run
   1839 
   1840 # ac_fn_c_check_func LINENO FUNC VAR
   1841 # ----------------------------------
   1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1843 ac_fn_c_check_func ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1847 $as_echo_n "checking for $2... " >&6; }
   1848 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1849   $as_echo_n "(cached) " >&6
   1850 else
   1851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1852 /* end confdefs.h.  */
   1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1855 #define $2 innocuous_$2
   1856 
   1857 /* System header to define __stub macros and hopefully few prototypes,
   1858     which can conflict with char $2 (); below.
   1859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1860     <limits.h> exists even on freestanding compilers.  */
   1861 
   1862 #ifdef __STDC__
   1863 # include <limits.h>
   1864 #else
   1865 # include <assert.h>
   1866 #endif
   1867 
   1868 #undef $2
   1869 
   1870 /* Override any GCC internal prototype to avoid an error.
   1871    Use char because int might match the return type of a GCC
   1872    builtin and then its argument prototype would still apply.  */
   1873 #ifdef __cplusplus
   1874 extern "C"
   1875 #endif
   1876 char $2 ();
   1877 /* The GNU C library defines this for functions which it implements
   1878     to always fail with ENOSYS.  Some functions are actually named
   1879     something starting with __ and the normal name is an alias.  */
   1880 #if defined __stub_$2 || defined __stub___$2
   1881 choke me
   1882 #endif
   1883 
   1884 int
   1885 main ()
   1886 {
   1887 return $2 ();
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_link "$LINENO"; then :
   1893   eval "$3=yes"
   1894 else
   1895   eval "$3=no"
   1896 fi
   1897 rm -f core conftest.err conftest.$ac_objext \
   1898     conftest$ac_exeext conftest.$ac_ext
   1899 fi
   1900 eval ac_res=\$$3
   1901 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1902 $as_echo "$ac_res" >&6; }
   1903   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1904 
   1905 } # ac_fn_c_check_func
   1906 
   1907 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1908 # ------------------------------------
   1909 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1910 ac_fn_c_check_decl ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1914 $as_echo_n "checking whether $2 is declared... " >&6; }
   1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1916   $as_echo_n "(cached) " >&6
   1917 else
   1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1919 /* end confdefs.h.  */
   1920 $4
   1921 int
   1922 main ()
   1923 {
   1924 #ifndef $2
   1925   (void) $2;
   1926 #endif
   1927 
   1928   ;
   1929   return 0;
   1930 }
   1931 _ACEOF
   1932 if ac_fn_c_try_compile "$LINENO"; then :
   1933   eval "$3=yes"
   1934 else
   1935   eval "$3=no"
   1936 fi
   1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1938 fi
   1939 eval ac_res=\$$3
   1940 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1941 $as_echo "$ac_res" >&6; }
   1942   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1943 
   1944 } # ac_fn_c_check_decl
   1945 
   1946 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1947 # -------------------------------------------
   1948 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1949 # variable VAR accordingly.
   1950 ac_fn_c_check_type ()
   1951 {
   1952   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1954 $as_echo_n "checking for $2... " >&6; }
   1955 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1956   $as_echo_n "(cached) " >&6
   1957 else
   1958   eval "$3=no"
   1959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1960 /* end confdefs.h.  */
   1961 $4
   1962 int
   1963 main ()
   1964 {
   1965 if (sizeof ($2))
   1966 	 return 0;
   1967   ;
   1968   return 0;
   1969 }
   1970 _ACEOF
   1971 if ac_fn_c_try_compile "$LINENO"; then :
   1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1973 /* end confdefs.h.  */
   1974 $4
   1975 int
   1976 main ()
   1977 {
   1978 if (sizeof (($2)))
   1979 	    return 0;
   1980   ;
   1981   return 0;
   1982 }
   1983 _ACEOF
   1984 if ac_fn_c_try_compile "$LINENO"; then :
   1985 
   1986 else
   1987   eval "$3=yes"
   1988 fi
   1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1990 fi
   1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1992 fi
   1993 eval ac_res=\$$3
   1994 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1995 $as_echo "$ac_res" >&6; }
   1996   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1997 
   1998 } # ac_fn_c_check_type
   1999 cat >config.log <<_ACEOF
   2000 This file contains any messages produced by compilers while
   2001 running configure, to aid debugging if configure makes a mistake.
   2002 
   2003 It was created by xcb-util $as_me 0.3.6, which was
   2004 generated by GNU Autoconf 2.64.  Invocation command line was
   2005 
   2006   $ $0 $@
   2007 
   2008 _ACEOF
   2009 exec 5>>config.log
   2010 {
   2011 cat <<_ASUNAME
   2012 ## --------- ##
   2013 ## Platform. ##
   2014 ## --------- ##
   2015 
   2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2021 
   2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2023 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2024 
   2025 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2026 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2028 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2029 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2030 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2031 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2032 
   2033 _ASUNAME
   2034 
   2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2036 for as_dir in $PATH
   2037 do
   2038   IFS=$as_save_IFS
   2039   test -z "$as_dir" && as_dir=.
   2040     $as_echo "PATH: $as_dir"
   2041   done
   2042 IFS=$as_save_IFS
   2043 
   2044 } >&5
   2045 
   2046 cat >&5 <<_ACEOF
   2047 
   2048 
   2049 ## ----------- ##
   2050 ## Core tests. ##
   2051 ## ----------- ##
   2052 
   2053 _ACEOF
   2054 
   2055 
   2056 # Keep a trace of the command line.
   2057 # Strip out --no-create and --no-recursion so they do not pile up.
   2058 # Strip out --silent because we don't want to record it for future runs.
   2059 # Also quote any args containing shell meta-characters.
   2060 # Make two passes to allow for proper duplicate-argument suppression.
   2061 ac_configure_args=
   2062 ac_configure_args0=
   2063 ac_configure_args1=
   2064 ac_must_keep_next=false
   2065 for ac_pass in 1 2
   2066 do
   2067   for ac_arg
   2068   do
   2069     case $ac_arg in
   2070     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2071     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2072     | -silent | --silent | --silen | --sile | --sil)
   2073       continue ;;
   2074     *\'*)
   2075       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2076     esac
   2077     case $ac_pass in
   2078     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2079     2)
   2080       as_fn_append ac_configure_args1 " '$ac_arg'"
   2081       if test $ac_must_keep_next = true; then
   2082 	ac_must_keep_next=false # Got value, back to normal.
   2083       else
   2084 	case $ac_arg in
   2085 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2086 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2087 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2088 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2089 	    case "$ac_configure_args0 " in
   2090 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2091 	    esac
   2092 	    ;;
   2093 	  -* ) ac_must_keep_next=true ;;
   2094 	esac
   2095       fi
   2096       as_fn_append ac_configure_args " '$ac_arg'"
   2097       ;;
   2098     esac
   2099   done
   2100 done
   2101 { ac_configure_args0=; unset ac_configure_args0;}
   2102 { ac_configure_args1=; unset ac_configure_args1;}
   2103 
   2104 # When interrupted or exit'd, cleanup temporary files, and complete
   2105 # config.log.  We remove comments because anyway the quotes in there
   2106 # would cause problems or look ugly.
   2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2109 trap 'exit_status=$?
   2110   # Save into config.log some information that might help in debugging.
   2111   {
   2112     echo
   2113 
   2114     cat <<\_ASBOX
   2115 ## ---------------- ##
   2116 ## Cache variables. ##
   2117 ## ---------------- ##
   2118 _ASBOX
   2119     echo
   2120     # The following way of writing the cache mishandles newlines in values,
   2121 (
   2122   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2123     eval ac_val=\$$ac_var
   2124     case $ac_val in #(
   2125     *${as_nl}*)
   2126       case $ac_var in #(
   2127       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2129       esac
   2130       case $ac_var in #(
   2131       _ | IFS | as_nl) ;; #(
   2132       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2133       *) { eval $ac_var=; unset $ac_var;} ;;
   2134       esac ;;
   2135     esac
   2136   done
   2137   (set) 2>&1 |
   2138     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2139     *${as_nl}ac_space=\ *)
   2140       sed -n \
   2141 	"s/'\''/'\''\\\\'\'''\''/g;
   2142 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2143       ;; #(
   2144     *)
   2145       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2146       ;;
   2147     esac |
   2148     sort
   2149 )
   2150     echo
   2151 
   2152     cat <<\_ASBOX
   2153 ## ----------------- ##
   2154 ## Output variables. ##
   2155 ## ----------------- ##
   2156 _ASBOX
   2157     echo
   2158     for ac_var in $ac_subst_vars
   2159     do
   2160       eval ac_val=\$$ac_var
   2161       case $ac_val in
   2162       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2163       esac
   2164       $as_echo "$ac_var='\''$ac_val'\''"
   2165     done | sort
   2166     echo
   2167 
   2168     if test -n "$ac_subst_files"; then
   2169       cat <<\_ASBOX
   2170 ## ------------------- ##
   2171 ## File substitutions. ##
   2172 ## ------------------- ##
   2173 _ASBOX
   2174       echo
   2175       for ac_var in $ac_subst_files
   2176       do
   2177 	eval ac_val=\$$ac_var
   2178 	case $ac_val in
   2179 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2180 	esac
   2181 	$as_echo "$ac_var='\''$ac_val'\''"
   2182       done | sort
   2183       echo
   2184     fi
   2185 
   2186     if test -s confdefs.h; then
   2187       cat <<\_ASBOX
   2188 ## ----------- ##
   2189 ## confdefs.h. ##
   2190 ## ----------- ##
   2191 _ASBOX
   2192       echo
   2193       cat confdefs.h
   2194       echo
   2195     fi
   2196     test "$ac_signal" != 0 &&
   2197       $as_echo "$as_me: caught signal $ac_signal"
   2198     $as_echo "$as_me: exit $exit_status"
   2199   } >&5
   2200   rm -f core *.core core.conftest.* &&
   2201     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2202     exit $exit_status
   2203 ' 0
   2204 for ac_signal in 1 2 13 15; do
   2205   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2206 done
   2207 ac_signal=0
   2208 
   2209 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2210 rm -f -r conftest* confdefs.h
   2211 
   2212 $as_echo "/* confdefs.h */" > confdefs.h
   2213 
   2214 # Predefined preprocessor variables.
   2215 
   2216 cat >>confdefs.h <<_ACEOF
   2217 #define PACKAGE_NAME "$PACKAGE_NAME"
   2218 _ACEOF
   2219 
   2220 cat >>confdefs.h <<_ACEOF
   2221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2222 _ACEOF
   2223 
   2224 cat >>confdefs.h <<_ACEOF
   2225 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2226 _ACEOF
   2227 
   2228 cat >>confdefs.h <<_ACEOF
   2229 #define PACKAGE_STRING "$PACKAGE_STRING"
   2230 _ACEOF
   2231 
   2232 cat >>confdefs.h <<_ACEOF
   2233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2234 _ACEOF
   2235 
   2236 cat >>confdefs.h <<_ACEOF
   2237 #define PACKAGE_URL "$PACKAGE_URL"
   2238 _ACEOF
   2239 
   2240 
   2241 # Let the site file select an alternate cache file if it wants to.
   2242 # Prefer an explicitly selected file to automatically selected ones.
   2243 ac_site_file1=NONE
   2244 ac_site_file2=NONE
   2245 if test -n "$CONFIG_SITE"; then
   2246   ac_site_file1=$CONFIG_SITE
   2247 elif test "x$prefix" != xNONE; then
   2248   ac_site_file1=$prefix/share/config.site
   2249   ac_site_file2=$prefix/etc/config.site
   2250 else
   2251   ac_site_file1=$ac_default_prefix/share/config.site
   2252   ac_site_file2=$ac_default_prefix/etc/config.site
   2253 fi
   2254 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2255 do
   2256   test "x$ac_site_file" = xNONE && continue
   2257   if test -r "$ac_site_file"; then
   2258     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2259 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2260     sed 's/^/| /' "$ac_site_file" >&5
   2261     . "$ac_site_file"
   2262   fi
   2263 done
   2264 
   2265 if test -r "$cache_file"; then
   2266   # Some versions of bash will fail to source /dev/null (special
   2267   # files actually), so we avoid doing that.
   2268   if test -f "$cache_file"; then
   2269     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2270 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2271     case $cache_file in
   2272       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2273       *)                      . "./$cache_file";;
   2274     esac
   2275   fi
   2276 else
   2277   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2278 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2279   >$cache_file
   2280 fi
   2281 
   2282 as_fn_append ac_func_list " vasprintf"
   2283 # Check that the precious variables saved in the cache have kept the same
   2284 # value.
   2285 ac_cache_corrupted=false
   2286 for ac_var in $ac_precious_vars; do
   2287   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2288   eval ac_new_set=\$ac_env_${ac_var}_set
   2289   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2290   eval ac_new_val=\$ac_env_${ac_var}_value
   2291   case $ac_old_set,$ac_new_set in
   2292     set,)
   2293       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2294 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2295       ac_cache_corrupted=: ;;
   2296     ,set)
   2297       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2298 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2299       ac_cache_corrupted=: ;;
   2300     ,);;
   2301     *)
   2302       if test "x$ac_old_val" != "x$ac_new_val"; then
   2303 	# differences in whitespace do not lead to failure.
   2304 	ac_old_val_w=`echo x $ac_old_val`
   2305 	ac_new_val_w=`echo x $ac_new_val`
   2306 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2307 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2308 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2309 	  ac_cache_corrupted=:
   2310 	else
   2311 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2312 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2313 	  eval $ac_var=\$ac_old_val
   2314 	fi
   2315 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2316 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2317 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2318 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2319       fi;;
   2320   esac
   2321   # Pass precious variables to config.status.
   2322   if test "$ac_new_set" = set; then
   2323     case $ac_new_val in
   2324     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2325     *) ac_arg=$ac_var=$ac_new_val ;;
   2326     esac
   2327     case " $ac_configure_args " in
   2328       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2329       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2330     esac
   2331   fi
   2332 done
   2333 if $ac_cache_corrupted; then
   2334   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2336   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2337 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2338   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2339 fi
   2340 ## -------------------- ##
   2341 ## Main body of script. ##
   2342 ## -------------------- ##
   2343 
   2344 ac_ext=c
   2345 ac_cpp='$CPP $CPPFLAGS'
   2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2349 
   2350 
   2351 
   2352 am__api_version='1.11'
   2353 
   2354 ac_aux_dir=
   2355 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2356   for ac_t in install-sh install.sh shtool; do
   2357     if test -f "$ac_dir/$ac_t"; then
   2358       ac_aux_dir=$ac_dir
   2359       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2360       break 2
   2361     fi
   2362   done
   2363 done
   2364 if test -z "$ac_aux_dir"; then
   2365   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2366 fi
   2367 
   2368 # These three variables are undocumented and unsupported,
   2369 # and are intended to be withdrawn in a future Autoconf release.
   2370 # They can cause serious problems if a builder's source tree is in a directory
   2371 # whose full name contains unusual characters.
   2372 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2373 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2374 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2375 
   2376 
   2377 # Find a good install program.  We prefer a C program (faster),
   2378 # so one script is as good as another.  But avoid the broken or
   2379 # incompatible versions:
   2380 # SysV /etc/install, /usr/sbin/install
   2381 # SunOS /usr/etc/install
   2382 # IRIX /sbin/install
   2383 # AIX /bin/install
   2384 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2388 # OS/2's system install, which has a completely different semantic
   2389 # ./install, which can be erroneously created by make from ./install.sh.
   2390 # Reject install programs that cannot install multiple files.
   2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2392 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2393 if test -z "$INSTALL"; then
   2394 if test "${ac_cv_path_install+set}" = set; then :
   2395   $as_echo_n "(cached) " >&6
   2396 else
   2397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402     # Account for people who put trailing slashes in PATH elements.
   2403 case $as_dir/ in #((
   2404   ./ | .// | /[cC]/* | \
   2405   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2406   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2407   /usr/ucb/* ) ;;
   2408   *)
   2409     # OSF1 and SCO ODT 3.0 have their own names for install.
   2410     # Don't use installbsd from OSF since it installs stuff as root
   2411     # by default.
   2412     for ac_prog in ginstall scoinst install; do
   2413       for ac_exec_ext in '' $ac_executable_extensions; do
   2414 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2415 	  if test $ac_prog = install &&
   2416 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2417 	    # AIX install.  It has an incompatible calling convention.
   2418 	    :
   2419 	  elif test $ac_prog = install &&
   2420 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2421 	    # program-specific install script used by HP pwplus--don't use.
   2422 	    :
   2423 	  else
   2424 	    rm -rf conftest.one conftest.two conftest.dir
   2425 	    echo one > conftest.one
   2426 	    echo two > conftest.two
   2427 	    mkdir conftest.dir
   2428 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2429 	      test -s conftest.one && test -s conftest.two &&
   2430 	      test -s conftest.dir/conftest.one &&
   2431 	      test -s conftest.dir/conftest.two
   2432 	    then
   2433 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2434 	      break 3
   2435 	    fi
   2436 	  fi
   2437 	fi
   2438       done
   2439     done
   2440     ;;
   2441 esac
   2442 
   2443   done
   2444 IFS=$as_save_IFS
   2445 
   2446 rm -rf conftest.one conftest.two conftest.dir
   2447 
   2448 fi
   2449   if test "${ac_cv_path_install+set}" = set; then
   2450     INSTALL=$ac_cv_path_install
   2451   else
   2452     # As a last resort, use the slow shell script.  Don't cache a
   2453     # value for INSTALL within a source directory, because that will
   2454     # break other packages using the cache if that directory is
   2455     # removed, or if the value is a relative name.
   2456     INSTALL=$ac_install_sh
   2457   fi
   2458 fi
   2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2460 $as_echo "$INSTALL" >&6; }
   2461 
   2462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2463 # It thinks the first close brace ends the variable substitution.
   2464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2465 
   2466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2467 
   2468 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2469 
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2471 $as_echo_n "checking whether build environment is sane... " >&6; }
   2472 # Just in case
   2473 sleep 1
   2474 echo timestamp > conftest.file
   2475 # Reject unsafe characters in $srcdir or the absolute working directory
   2476 # name.  Accept space and tab only in the latter.
   2477 am_lf='
   2478 '
   2479 case `pwd` in
   2480   *[\\\"\#\$\&\'\`$am_lf]*)
   2481     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   2482 esac
   2483 case $srcdir in
   2484   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2485     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2486 esac
   2487 
   2488 # Do `set' in a subshell so we don't clobber the current shell's
   2489 # arguments.  Must try -L first in case configure is actually a
   2490 # symlink; some systems play weird games with the mod time of symlinks
   2491 # (eg FreeBSD returns the mod time of the symlink's containing
   2492 # directory).
   2493 if (
   2494    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2495    if test "$*" = "X"; then
   2496       # -L didn't work.
   2497       set X `ls -t "$srcdir/configure" conftest.file`
   2498    fi
   2499    rm -f conftest.file
   2500    if test "$*" != "X $srcdir/configure conftest.file" \
   2501       && test "$*" != "X conftest.file $srcdir/configure"; then
   2502 
   2503       # If neither matched, then we have a broken ls.  This can happen
   2504       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2505       # broken ls alias from the environment.  This has actually
   2506       # happened.  Such a system could not be considered "sane".
   2507       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2508 alias in your environment" "$LINENO" 5
   2509    fi
   2510 
   2511    test "$2" = conftest.file
   2512    )
   2513 then
   2514    # Ok.
   2515    :
   2516 else
   2517    as_fn_error "newly created file is older than distributed files!
   2518 Check your system clock" "$LINENO" 5
   2519 fi
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2521 $as_echo "yes" >&6; }
   2522 test "$program_prefix" != NONE &&
   2523   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2524 # Use a double $ so make ignores it.
   2525 test "$program_suffix" != NONE &&
   2526   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2527 # Double any \ or $.
   2528 # By default was `s,x,x', remove it if useless.
   2529 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2530 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2531 
   2532 # expand $ac_aux_dir to an absolute path
   2533 am_aux_dir=`cd $ac_aux_dir && pwd`
   2534 
   2535 if test x"${MISSING+set}" != xset; then
   2536   case $am_aux_dir in
   2537   *\ * | *\	*)
   2538     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2539   *)
   2540     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2541   esac
   2542 fi
   2543 # Use eval to expand $SHELL
   2544 if eval "$MISSING --run true"; then
   2545   am_missing_run="$MISSING --run "
   2546 else
   2547   am_missing_run=
   2548   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2549 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2550 fi
   2551 
   2552 if test x"${install_sh}" != xset; then
   2553   case $am_aux_dir in
   2554   *\ * | *\	*)
   2555     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2556   *)
   2557     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2558   esac
   2559 fi
   2560 
   2561 # Installed binaries are usually stripped using `strip' when the user
   2562 # run `make install-strip'.  However `strip' might not be the right
   2563 # tool to use in cross-compilation environments, therefore Automake
   2564 # will honor the `STRIP' environment variable to overrule this program.
   2565 if test "$cross_compiling" != no; then
   2566   if test -n "$ac_tool_prefix"; then
   2567   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2568 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2570 $as_echo_n "checking for $ac_word... " >&6; }
   2571 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2572   $as_echo_n "(cached) " >&6
   2573 else
   2574   if test -n "$STRIP"; then
   2575   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2576 else
   2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2578 for as_dir in $PATH
   2579 do
   2580   IFS=$as_save_IFS
   2581   test -z "$as_dir" && as_dir=.
   2582     for ac_exec_ext in '' $ac_executable_extensions; do
   2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2584     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2586     break 2
   2587   fi
   2588 done
   2589   done
   2590 IFS=$as_save_IFS
   2591 
   2592 fi
   2593 fi
   2594 STRIP=$ac_cv_prog_STRIP
   2595 if test -n "$STRIP"; then
   2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2597 $as_echo "$STRIP" >&6; }
   2598 else
   2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2600 $as_echo "no" >&6; }
   2601 fi
   2602 
   2603 
   2604 fi
   2605 if test -z "$ac_cv_prog_STRIP"; then
   2606   ac_ct_STRIP=$STRIP
   2607   # Extract the first word of "strip", so it can be a program name with args.
   2608 set dummy strip; ac_word=$2
   2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2610 $as_echo_n "checking for $ac_word... " >&6; }
   2611 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2612   $as_echo_n "(cached) " >&6
   2613 else
   2614   if test -n "$ac_ct_STRIP"; then
   2615   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2616 else
   2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2618 for as_dir in $PATH
   2619 do
   2620   IFS=$as_save_IFS
   2621   test -z "$as_dir" && as_dir=.
   2622     for ac_exec_ext in '' $ac_executable_extensions; do
   2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2624     ac_cv_prog_ac_ct_STRIP="strip"
   2625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2626     break 2
   2627   fi
   2628 done
   2629   done
   2630 IFS=$as_save_IFS
   2631 
   2632 fi
   2633 fi
   2634 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2635 if test -n "$ac_ct_STRIP"; then
   2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2637 $as_echo "$ac_ct_STRIP" >&6; }
   2638 else
   2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2640 $as_echo "no" >&6; }
   2641 fi
   2642 
   2643   if test "x$ac_ct_STRIP" = x; then
   2644     STRIP=":"
   2645   else
   2646     case $cross_compiling:$ac_tool_warned in
   2647 yes:)
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2650 ac_tool_warned=yes ;;
   2651 esac
   2652     STRIP=$ac_ct_STRIP
   2653   fi
   2654 else
   2655   STRIP="$ac_cv_prog_STRIP"
   2656 fi
   2657 
   2658 fi
   2659 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2660 
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2662 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2663 if test -z "$MKDIR_P"; then
   2664   if test "${ac_cv_path_mkdir+set}" = set; then :
   2665   $as_echo_n "(cached) " >&6
   2666 else
   2667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2668 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2669 do
   2670   IFS=$as_save_IFS
   2671   test -z "$as_dir" && as_dir=.
   2672     for ac_prog in mkdir gmkdir; do
   2673 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2674 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2675 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2676 	     'mkdir (GNU coreutils) '* | \
   2677 	     'mkdir (coreutils) '* | \
   2678 	     'mkdir (fileutils) '4.1*)
   2679 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2680 	       break 3;;
   2681 	   esac
   2682 	 done
   2683        done
   2684   done
   2685 IFS=$as_save_IFS
   2686 
   2687 fi
   2688 
   2689   if test "${ac_cv_path_mkdir+set}" = set; then
   2690     MKDIR_P="$ac_cv_path_mkdir -p"
   2691   else
   2692     # As a last resort, use the slow shell script.  Don't cache a
   2693     # value for MKDIR_P within a source directory, because that will
   2694     # break other packages using the cache if that directory is
   2695     # removed, or if the value is a relative name.
   2696     test -d ./--version && rmdir ./--version
   2697     MKDIR_P="$ac_install_sh -d"
   2698   fi
   2699 fi
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2701 $as_echo "$MKDIR_P" >&6; }
   2702 
   2703 mkdir_p="$MKDIR_P"
   2704 case $mkdir_p in
   2705   [\\/$]* | ?:[\\/]*) ;;
   2706   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2707 esac
   2708 
   2709 for ac_prog in gawk mawk nawk awk
   2710 do
   2711   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2712 set dummy $ac_prog; ac_word=$2
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2714 $as_echo_n "checking for $ac_word... " >&6; }
   2715 if test "${ac_cv_prog_AWK+set}" = set; then :
   2716   $as_echo_n "(cached) " >&6
   2717 else
   2718   if test -n "$AWK"; then
   2719   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2720 else
   2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2722 for as_dir in $PATH
   2723 do
   2724   IFS=$as_save_IFS
   2725   test -z "$as_dir" && as_dir=.
   2726     for ac_exec_ext in '' $ac_executable_extensions; do
   2727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2728     ac_cv_prog_AWK="$ac_prog"
   2729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2730     break 2
   2731   fi
   2732 done
   2733   done
   2734 IFS=$as_save_IFS
   2735 
   2736 fi
   2737 fi
   2738 AWK=$ac_cv_prog_AWK
   2739 if test -n "$AWK"; then
   2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2741 $as_echo "$AWK" >&6; }
   2742 else
   2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2744 $as_echo "no" >&6; }
   2745 fi
   2746 
   2747 
   2748   test -n "$AWK" && break
   2749 done
   2750 
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2752 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2753 set x ${MAKE-make}
   2754 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2755 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2756   $as_echo_n "(cached) " >&6
   2757 else
   2758   cat >conftest.make <<\_ACEOF
   2759 SHELL = /bin/sh
   2760 all:
   2761 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2762 _ACEOF
   2763 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2764 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2765   *@@@%%%=?*=@@@%%%*)
   2766     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2767   *)
   2768     eval ac_cv_prog_make_${ac_make}_set=no;;
   2769 esac
   2770 rm -f conftest.make
   2771 fi
   2772 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2774 $as_echo "yes" >&6; }
   2775   SET_MAKE=
   2776 else
   2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2778 $as_echo "no" >&6; }
   2779   SET_MAKE="MAKE=${MAKE-make}"
   2780 fi
   2781 
   2782 rm -rf .tst 2>/dev/null
   2783 mkdir .tst 2>/dev/null
   2784 if test -d .tst; then
   2785   am__leading_dot=.
   2786 else
   2787   am__leading_dot=_
   2788 fi
   2789 rmdir .tst 2>/dev/null
   2790 
   2791 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2792   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2793   # is not polluted with repeated "-I."
   2794   am__isrc=' -I$(srcdir)'
   2795   # test to see if srcdir already configured
   2796   if test -f $srcdir/config.status; then
   2797     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2798   fi
   2799 fi
   2800 
   2801 # test whether we have cygpath
   2802 if test -z "$CYGPATH_W"; then
   2803   if (cygpath --version) >/dev/null 2>/dev/null; then
   2804     CYGPATH_W='cygpath -w'
   2805   else
   2806     CYGPATH_W=echo
   2807   fi
   2808 fi
   2809 
   2810 
   2811 # Define the identity of the package.
   2812  PACKAGE='xcb-util'
   2813  VERSION='0.3.6'
   2814 
   2815 
   2816 cat >>confdefs.h <<_ACEOF
   2817 #define PACKAGE "$PACKAGE"
   2818 _ACEOF
   2819 
   2820 
   2821 cat >>confdefs.h <<_ACEOF
   2822 #define VERSION "$VERSION"
   2823 _ACEOF
   2824 
   2825 # Some tools Automake needs.
   2826 
   2827 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2828 
   2829 
   2830 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2831 
   2832 
   2833 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2834 
   2835 
   2836 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2837 
   2838 
   2839 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2840 
   2841 # We need awk for the "check" target.  The system "awk" is bad on
   2842 # some platforms.
   2843 # Always define AMTAR for backward compatibility.
   2844 
   2845 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2846 
   2847 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2848 
   2849 
   2850 
   2851 
   2852 
   2853 
   2854 for ac_prog in m4 gm4
   2855 do
   2856   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2857 set dummy $ac_prog; ac_word=$2
   2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2859 $as_echo_n "checking for $ac_word... " >&6; }
   2860 if test "${ac_cv_prog_M4+set}" = set; then :
   2861   $as_echo_n "(cached) " >&6
   2862 else
   2863   if test -n "$M4"; then
   2864   ac_cv_prog_M4="$M4" # Let the user override the test.
   2865 else
   2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2867 for as_dir in $PATH
   2868 do
   2869   IFS=$as_save_IFS
   2870   test -z "$as_dir" && as_dir=.
   2871     for ac_exec_ext in '' $ac_executable_extensions; do
   2872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2873     ac_cv_prog_M4="$ac_prog"
   2874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2875     break 2
   2876   fi
   2877 done
   2878   done
   2879 IFS=$as_save_IFS
   2880 
   2881 fi
   2882 fi
   2883 M4=$ac_cv_prog_M4
   2884 if test -n "$M4"; then
   2885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
   2886 $as_echo "$M4" >&6; }
   2887 else
   2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2889 $as_echo "no" >&6; }
   2890 fi
   2891 
   2892 
   2893   test -n "$M4" && break
   2894 done
   2895 test -n "$M4" || M4="no"
   2896 
   2897 if test $M4 != "no" ; then
   2898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $M4 supports -I" >&5
   2899 $as_echo_n "checking if $M4 supports -I... " >&6; }
   2900 	if $M4 -I. /dev/null > /dev/null 2>&1 ; then
   2901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2902 $as_echo "yes" >&6; }
   2903 	else
   2904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 $as_echo "no" >&6; }
   2906 		# Try finding the gnu version
   2907 		for ac_prog in gm4
   2908 do
   2909   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2910 set dummy $ac_prog; ac_word=$2
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2912 $as_echo_n "checking for $ac_word... " >&6; }
   2913 if test "${ac_cv_prog_GM4+set}" = set; then :
   2914   $as_echo_n "(cached) " >&6
   2915 else
   2916   if test -n "$GM4"; then
   2917   ac_cv_prog_GM4="$GM4" # Let the user override the test.
   2918 else
   2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2920 for as_dir in $PATH
   2921 do
   2922   IFS=$as_save_IFS
   2923   test -z "$as_dir" && as_dir=.
   2924     for ac_exec_ext in '' $ac_executable_extensions; do
   2925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2926     ac_cv_prog_GM4="$ac_prog"
   2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2928     break 2
   2929   fi
   2930 done
   2931   done
   2932 IFS=$as_save_IFS
   2933 
   2934 fi
   2935 fi
   2936 GM4=$ac_cv_prog_GM4
   2937 if test -n "$GM4"; then
   2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GM4" >&5
   2939 $as_echo "$GM4" >&6; }
   2940 else
   2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2942 $as_echo "no" >&6; }
   2943 fi
   2944 
   2945 
   2946   test -n "$GM4" && break
   2947 done
   2948 test -n "$GM4" || GM4="no"
   2949 
   2950 		if test $GM4 = "no" ; then
   2951 			for ac_prog in m4
   2952 do
   2953   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2954 set dummy $ac_prog; ac_word=$2
   2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2956 $as_echo_n "checking for $ac_word... " >&6; }
   2957 if test "${ac_cv_path_GNUM4+set}" = set; then :
   2958   $as_echo_n "(cached) " >&6
   2959 else
   2960   case $GNUM4 in
   2961   [\\/]* | ?:[\\/]*)
   2962   ac_cv_path_GNUM4="$GNUM4" # Let the user override the test with a path.
   2963   ;;
   2964   *)
   2965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2966 for as_dir in /usr/gnu/bin
   2967 do
   2968   IFS=$as_save_IFS
   2969   test -z "$as_dir" && as_dir=.
   2970     for ac_exec_ext in '' $ac_executable_extensions; do
   2971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2972     ac_cv_path_GNUM4="$as_dir/$ac_word$ac_exec_ext"
   2973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2974     break 2
   2975   fi
   2976 done
   2977   done
   2978 IFS=$as_save_IFS
   2979 
   2980   ;;
   2981 esac
   2982 fi
   2983 GNUM4=$ac_cv_path_GNUM4
   2984 if test -n "$GNUM4"; then
   2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUM4" >&5
   2986 $as_echo "$GNUM4" >&6; }
   2987 else
   2988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2989 $as_echo "no" >&6; }
   2990 fi
   2991 
   2992 
   2993   test -n "$GNUM4" && break
   2994 done
   2995 test -n "$GNUM4" || GNUM4="no"
   2996 
   2997 			M4="$GNUM4"
   2998 		else
   2999 			M4="$GM4"
   3000 		fi
   3001 	fi
   3002 fi
   3003 if test $M4 = "no"; then
   3004 	as_fn_error "Can't find usable m4, please install it and try again" "$LINENO" 5
   3005 fi
   3006 for ac_prog in gperf
   3007 do
   3008   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3009 set dummy $ac_prog; ac_word=$2
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3011 $as_echo_n "checking for $ac_word... " >&6; }
   3012 if test "${ac_cv_prog_GPERF+set}" = set; then :
   3013   $as_echo_n "(cached) " >&6
   3014 else
   3015   if test -n "$GPERF"; then
   3016   ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
   3017 else
   3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3019 for as_dir in $PATH
   3020 do
   3021   IFS=$as_save_IFS
   3022   test -z "$as_dir" && as_dir=.
   3023     for ac_exec_ext in '' $ac_executable_extensions; do
   3024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3025     ac_cv_prog_GPERF="$ac_prog"
   3026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3027     break 2
   3028   fi
   3029 done
   3030   done
   3031 IFS=$as_save_IFS
   3032 
   3033 fi
   3034 fi
   3035 GPERF=$ac_cv_prog_GPERF
   3036 if test -n "$GPERF"; then
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
   3038 $as_echo "$GPERF" >&6; }
   3039 else
   3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3041 $as_echo "no" >&6; }
   3042 fi
   3043 
   3044 
   3045   test -n "$GPERF" && break
   3046 done
   3047 test -n "$GPERF" || GPERF="no"
   3048 
   3049 if test $GPERF = "no"; then
   3050 	as_fn_error "Can't find gperf, please install it and try again" "$LINENO" 5
   3051 fi
   3052 ac_ext=c
   3053 ac_cpp='$CPP $CPPFLAGS'
   3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3057 if test -n "$ac_tool_prefix"; then
   3058   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3059 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3061 $as_echo_n "checking for $ac_word... " >&6; }
   3062 if test "${ac_cv_prog_CC+set}" = set; then :
   3063   $as_echo_n "(cached) " >&6
   3064 else
   3065   if test -n "$CC"; then
   3066   ac_cv_prog_CC="$CC" # Let the user override the test.
   3067 else
   3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3069 for as_dir in $PATH
   3070 do
   3071   IFS=$as_save_IFS
   3072   test -z "$as_dir" && as_dir=.
   3073     for ac_exec_ext in '' $ac_executable_extensions; do
   3074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3075     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3077     break 2
   3078   fi
   3079 done
   3080   done
   3081 IFS=$as_save_IFS
   3082 
   3083 fi
   3084 fi
   3085 CC=$ac_cv_prog_CC
   3086 if test -n "$CC"; then
   3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3088 $as_echo "$CC" >&6; }
   3089 else
   3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3091 $as_echo "no" >&6; }
   3092 fi
   3093 
   3094 
   3095 fi
   3096 if test -z "$ac_cv_prog_CC"; then
   3097   ac_ct_CC=$CC
   3098   # Extract the first word of "gcc", so it can be a program name with args.
   3099 set dummy gcc; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$ac_ct_CC"; then
   3106   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3115     ac_cv_prog_ac_ct_CC="gcc"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3126 if test -n "$ac_ct_CC"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3128 $as_echo "$ac_ct_CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134   if test "x$ac_ct_CC" = x; then
   3135     CC=""
   3136   else
   3137     case $cross_compiling:$ac_tool_warned in
   3138 yes:)
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3141 ac_tool_warned=yes ;;
   3142 esac
   3143     CC=$ac_ct_CC
   3144   fi
   3145 else
   3146   CC="$ac_cv_prog_CC"
   3147 fi
   3148 
   3149 if test -z "$CC"; then
   3150           if test -n "$ac_tool_prefix"; then
   3151     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3152 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3154 $as_echo_n "checking for $ac_word... " >&6; }
   3155 if test "${ac_cv_prog_CC+set}" = set; then :
   3156   $as_echo_n "(cached) " >&6
   3157 else
   3158   if test -n "$CC"; then
   3159   ac_cv_prog_CC="$CC" # Let the user override the test.
   3160 else
   3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3162 for as_dir in $PATH
   3163 do
   3164   IFS=$as_save_IFS
   3165   test -z "$as_dir" && as_dir=.
   3166     for ac_exec_ext in '' $ac_executable_extensions; do
   3167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3168     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3170     break 2
   3171   fi
   3172 done
   3173   done
   3174 IFS=$as_save_IFS
   3175 
   3176 fi
   3177 fi
   3178 CC=$ac_cv_prog_CC
   3179 if test -n "$CC"; then
   3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3181 $as_echo "$CC" >&6; }
   3182 else
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3184 $as_echo "no" >&6; }
   3185 fi
   3186 
   3187 
   3188   fi
   3189 fi
   3190 if test -z "$CC"; then
   3191   # Extract the first word of "cc", so it can be a program name with args.
   3192 set dummy cc; ac_word=$2
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3194 $as_echo_n "checking for $ac_word... " >&6; }
   3195 if test "${ac_cv_prog_CC+set}" = set; then :
   3196   $as_echo_n "(cached) " >&6
   3197 else
   3198   if test -n "$CC"; then
   3199   ac_cv_prog_CC="$CC" # Let the user override the test.
   3200 else
   3201   ac_prog_rejected=no
   3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3203 for as_dir in $PATH
   3204 do
   3205   IFS=$as_save_IFS
   3206   test -z "$as_dir" && as_dir=.
   3207     for ac_exec_ext in '' $ac_executable_extensions; do
   3208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3209     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3210        ac_prog_rejected=yes
   3211        continue
   3212      fi
   3213     ac_cv_prog_CC="cc"
   3214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3215     break 2
   3216   fi
   3217 done
   3218   done
   3219 IFS=$as_save_IFS
   3220 
   3221 if test $ac_prog_rejected = yes; then
   3222   # We found a bogon in the path, so make sure we never use it.
   3223   set dummy $ac_cv_prog_CC
   3224   shift
   3225   if test $# != 0; then
   3226     # We chose a different compiler from the bogus one.
   3227     # However, it has the same basename, so the bogon will be chosen
   3228     # first if we set CC to just the basename; use the full file name.
   3229     shift
   3230     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3231   fi
   3232 fi
   3233 fi
   3234 fi
   3235 CC=$ac_cv_prog_CC
   3236 if test -n "$CC"; then
   3237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3238 $as_echo "$CC" >&6; }
   3239 else
   3240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3241 $as_echo "no" >&6; }
   3242 fi
   3243 
   3244 
   3245 fi
   3246 if test -z "$CC"; then
   3247   if test -n "$ac_tool_prefix"; then
   3248   for ac_prog in cl.exe
   3249   do
   3250     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3253 $as_echo_n "checking for $ac_word... " >&6; }
   3254 if test "${ac_cv_prog_CC+set}" = set; then :
   3255   $as_echo_n "(cached) " >&6
   3256 else
   3257   if test -n "$CC"; then
   3258   ac_cv_prog_CC="$CC" # Let the user override the test.
   3259 else
   3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3261 for as_dir in $PATH
   3262 do
   3263   IFS=$as_save_IFS
   3264   test -z "$as_dir" && as_dir=.
   3265     for ac_exec_ext in '' $ac_executable_extensions; do
   3266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3267     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3269     break 2
   3270   fi
   3271 done
   3272   done
   3273 IFS=$as_save_IFS
   3274 
   3275 fi
   3276 fi
   3277 CC=$ac_cv_prog_CC
   3278 if test -n "$CC"; then
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3280 $as_echo "$CC" >&6; }
   3281 else
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3283 $as_echo "no" >&6; }
   3284 fi
   3285 
   3286 
   3287     test -n "$CC" && break
   3288   done
   3289 fi
   3290 if test -z "$CC"; then
   3291   ac_ct_CC=$CC
   3292   for ac_prog in cl.exe
   3293 do
   3294   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3295 set dummy $ac_prog; ac_word=$2
   3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3297 $as_echo_n "checking for $ac_word... " >&6; }
   3298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3299   $as_echo_n "(cached) " >&6
   3300 else
   3301   if test -n "$ac_ct_CC"; then
   3302   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3303 else
   3304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3305 for as_dir in $PATH
   3306 do
   3307   IFS=$as_save_IFS
   3308   test -z "$as_dir" && as_dir=.
   3309     for ac_exec_ext in '' $ac_executable_extensions; do
   3310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3311     ac_cv_prog_ac_ct_CC="$ac_prog"
   3312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3313     break 2
   3314   fi
   3315 done
   3316   done
   3317 IFS=$as_save_IFS
   3318 
   3319 fi
   3320 fi
   3321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3322 if test -n "$ac_ct_CC"; then
   3323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3324 $as_echo "$ac_ct_CC" >&6; }
   3325 else
   3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3327 $as_echo "no" >&6; }
   3328 fi
   3329 
   3330 
   3331   test -n "$ac_ct_CC" && break
   3332 done
   3333 
   3334   if test "x$ac_ct_CC" = x; then
   3335     CC=""
   3336   else
   3337     case $cross_compiling:$ac_tool_warned in
   3338 yes:)
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3341 ac_tool_warned=yes ;;
   3342 esac
   3343     CC=$ac_ct_CC
   3344   fi
   3345 fi
   3346 
   3347 fi
   3348 
   3349 
   3350 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3352 as_fn_error "no acceptable C compiler found in \$PATH
   3353 See \`config.log' for more details." "$LINENO" 5; }
   3354 
   3355 # Provide some information about the compiler.
   3356 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3357 set X $ac_compile
   3358 ac_compiler=$2
   3359 for ac_option in --version -v -V -qversion; do
   3360   { { ac_try="$ac_compiler $ac_option >&5"
   3361 case "(($ac_try" in
   3362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3363   *) ac_try_echo=$ac_try;;
   3364 esac
   3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3366 $as_echo "$ac_try_echo"; } >&5
   3367   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3368   ac_status=$?
   3369   if test -s conftest.err; then
   3370     sed '10a\
   3371 ... rest of stderr output deleted ...
   3372          10q' conftest.err >conftest.er1
   3373     cat conftest.er1 >&5
   3374     rm -f conftest.er1 conftest.err
   3375   fi
   3376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3377   test $ac_status = 0; }
   3378 done
   3379 
   3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3381 /* end confdefs.h.  */
   3382 #include <stdio.h>
   3383 int
   3384 main ()
   3385 {
   3386 FILE *f = fopen ("conftest.out", "w");
   3387  return ferror (f) || fclose (f) != 0;
   3388 
   3389   ;
   3390   return 0;
   3391 }
   3392 _ACEOF
   3393 ac_clean_files_save=$ac_clean_files
   3394 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   3395 # Try to create an executable without -o first, disregard a.out.
   3396 # It will help us diagnose broken compilers, and finding out an intuition
   3397 # of exeext.
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3399 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3400 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3401 
   3402 # The possible output files:
   3403 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3404 
   3405 ac_rmfiles=
   3406 for ac_file in $ac_files
   3407 do
   3408   case $ac_file in
   3409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3410     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3411   esac
   3412 done
   3413 rm -f $ac_rmfiles
   3414 
   3415 if { { ac_try="$ac_link_default"
   3416 case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3421 $as_echo "$ac_try_echo"; } >&5
   3422   (eval "$ac_link_default") 2>&5
   3423   ac_status=$?
   3424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3425   test $ac_status = 0; }; then :
   3426   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3427 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3428 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3429 # so that the user can short-circuit this test for compilers unknown to
   3430 # Autoconf.
   3431 for ac_file in $ac_files ''
   3432 do
   3433   test -f "$ac_file" || continue
   3434   case $ac_file in
   3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3436 	;;
   3437     [ab].out )
   3438 	# We found the default executable, but exeext='' is most
   3439 	# certainly right.
   3440 	break;;
   3441     *.* )
   3442 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3443 	then :; else
   3444 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3445 	fi
   3446 	# We set ac_cv_exeext here because the later test for it is not
   3447 	# safe: cross compilers may not add the suffix if given an `-o'
   3448 	# argument, so we may need to know it at that point already.
   3449 	# Even if this section looks crufty: it has the advantage of
   3450 	# actually working.
   3451 	break;;
   3452     * )
   3453 	break;;
   3454   esac
   3455 done
   3456 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3457 
   3458 else
   3459   ac_file=''
   3460 fi
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3462 $as_echo "$ac_file" >&6; }
   3463 if test -z "$ac_file"; then :
   3464   $as_echo "$as_me: failed program was:" >&5
   3465 sed 's/^/| /' conftest.$ac_ext >&5
   3466 
   3467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3469 { as_fn_set_status 77
   3470 as_fn_error "C compiler cannot create executables
   3471 See \`config.log' for more details." "$LINENO" 5; }; }
   3472 fi
   3473 ac_exeext=$ac_cv_exeext
   3474 
   3475 # Check that the compiler produces executables we can run.  If not, either
   3476 # the compiler is broken, or we cross compile.
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3478 $as_echo_n "checking whether the C compiler works... " >&6; }
   3479 # If not cross compiling, check that we can run a simple program.
   3480 if test "$cross_compiling" != yes; then
   3481   if { ac_try='./$ac_file'
   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_try") 2>&5
   3489   ac_status=$?
   3490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3491   test $ac_status = 0; }; }; then
   3492     cross_compiling=no
   3493   else
   3494     if test "$cross_compiling" = maybe; then
   3495 	cross_compiling=yes
   3496     else
   3497 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3499 as_fn_error "cannot run C compiled programs.
   3500 If you meant to cross compile, use \`--host'.
   3501 See \`config.log' for more details." "$LINENO" 5; }
   3502     fi
   3503   fi
   3504 fi
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3506 $as_echo "yes" >&6; }
   3507 
   3508 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   3509 ac_clean_files=$ac_clean_files_save
   3510 # Check that the compiler produces executables we can run.  If not, either
   3511 # the compiler is broken, or we cross compile.
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3513 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3515 $as_echo "$cross_compiling" >&6; }
   3516 
   3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3518 $as_echo_n "checking for suffix of executables... " >&6; }
   3519 if { { ac_try="$ac_link"
   3520 case "(($ac_try" in
   3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3522   *) ac_try_echo=$ac_try;;
   3523 esac
   3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3525 $as_echo "$ac_try_echo"; } >&5
   3526   (eval "$ac_link") 2>&5
   3527   ac_status=$?
   3528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3529   test $ac_status = 0; }; then :
   3530   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3531 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3532 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3533 # `rm'.
   3534 for ac_file in conftest.exe conftest conftest.*; do
   3535   test -f "$ac_file" || continue
   3536   case $ac_file in
   3537     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3538     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3539 	  break;;
   3540     * ) break;;
   3541   esac
   3542 done
   3543 else
   3544   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3546 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3547 See \`config.log' for more details." "$LINENO" 5; }
   3548 fi
   3549 rm -f conftest$ac_cv_exeext
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3551 $as_echo "$ac_cv_exeext" >&6; }
   3552 
   3553 rm -f conftest.$ac_ext
   3554 EXEEXT=$ac_cv_exeext
   3555 ac_exeext=$EXEEXT
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3557 $as_echo_n "checking for suffix of object files... " >&6; }
   3558 if test "${ac_cv_objext+set}" = set; then :
   3559   $as_echo_n "(cached) " >&6
   3560 else
   3561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3562 /* end confdefs.h.  */
   3563 
   3564 int
   3565 main ()
   3566 {
   3567 
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 rm -f conftest.o conftest.obj
   3573 if { { ac_try="$ac_compile"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3579 $as_echo "$ac_try_echo"; } >&5
   3580   (eval "$ac_compile") 2>&5
   3581   ac_status=$?
   3582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3583   test $ac_status = 0; }; then :
   3584   for ac_file in conftest.o conftest.obj conftest.*; do
   3585   test -f "$ac_file" || continue;
   3586   case $ac_file in
   3587     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3588     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3589        break;;
   3590   esac
   3591 done
   3592 else
   3593   $as_echo "$as_me: failed program was:" >&5
   3594 sed 's/^/| /' conftest.$ac_ext >&5
   3595 
   3596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3598 as_fn_error "cannot compute suffix of object files: cannot compile
   3599 See \`config.log' for more details." "$LINENO" 5; }
   3600 fi
   3601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3602 fi
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3604 $as_echo "$ac_cv_objext" >&6; }
   3605 OBJEXT=$ac_cv_objext
   3606 ac_objext=$OBJEXT
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3608 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3609 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3610   $as_echo_n "(cached) " >&6
   3611 else
   3612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3613 /* end confdefs.h.  */
   3614 
   3615 int
   3616 main ()
   3617 {
   3618 #ifndef __GNUC__
   3619        choke me
   3620 #endif
   3621 
   3622   ;
   3623   return 0;
   3624 }
   3625 _ACEOF
   3626 if ac_fn_c_try_compile "$LINENO"; then :
   3627   ac_compiler_gnu=yes
   3628 else
   3629   ac_compiler_gnu=no
   3630 fi
   3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3633 
   3634 fi
   3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3636 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3637 if test $ac_compiler_gnu = yes; then
   3638   GCC=yes
   3639 else
   3640   GCC=
   3641 fi
   3642 ac_test_CFLAGS=${CFLAGS+set}
   3643 ac_save_CFLAGS=$CFLAGS
   3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3645 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3646 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3647   $as_echo_n "(cached) " >&6
   3648 else
   3649   ac_save_c_werror_flag=$ac_c_werror_flag
   3650    ac_c_werror_flag=yes
   3651    ac_cv_prog_cc_g=no
   3652    CFLAGS="-g"
   3653    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3654 /* end confdefs.h.  */
   3655 
   3656 int
   3657 main ()
   3658 {
   3659 
   3660   ;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 if ac_fn_c_try_compile "$LINENO"; then :
   3665   ac_cv_prog_cc_g=yes
   3666 else
   3667   CFLAGS=""
   3668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3669 /* end confdefs.h.  */
   3670 
   3671 int
   3672 main ()
   3673 {
   3674 
   3675   ;
   3676   return 0;
   3677 }
   3678 _ACEOF
   3679 if ac_fn_c_try_compile "$LINENO"; then :
   3680 
   3681 else
   3682   ac_c_werror_flag=$ac_save_c_werror_flag
   3683 	 CFLAGS="-g"
   3684 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3685 /* end confdefs.h.  */
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695 if ac_fn_c_try_compile "$LINENO"; then :
   3696   ac_cv_prog_cc_g=yes
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3699 fi
   3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3701 fi
   3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3703    ac_c_werror_flag=$ac_save_c_werror_flag
   3704 fi
   3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3706 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3707 if test "$ac_test_CFLAGS" = set; then
   3708   CFLAGS=$ac_save_CFLAGS
   3709 elif test $ac_cv_prog_cc_g = yes; then
   3710   if test "$GCC" = yes; then
   3711     CFLAGS="-g -O2"
   3712   else
   3713     CFLAGS="-g"
   3714   fi
   3715 else
   3716   if test "$GCC" = yes; then
   3717     CFLAGS="-O2"
   3718   else
   3719     CFLAGS=
   3720   fi
   3721 fi
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3723 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3724 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3725   $as_echo_n "(cached) " >&6
   3726 else
   3727   ac_cv_prog_cc_c89=no
   3728 ac_save_CC=$CC
   3729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 #include <stdarg.h>
   3732 #include <stdio.h>
   3733 #include <sys/types.h>
   3734 #include <sys/stat.h>
   3735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3736 struct buf { int x; };
   3737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3738 static char *e (p, i)
   3739      char **p;
   3740      int i;
   3741 {
   3742   return p[i];
   3743 }
   3744 static char *f (char * (*g) (char **, int), char **p, ...)
   3745 {
   3746   char *s;
   3747   va_list v;
   3748   va_start (v,p);
   3749   s = g (p, va_arg (v,int));
   3750   va_end (v);
   3751   return s;
   3752 }
   3753 
   3754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3755    function prototypes and stuff, but not '\xHH' hex character constants.
   3756    These don't provoke an error unfortunately, instead are silently treated
   3757    as 'x'.  The following induces an error, until -std is added to get
   3758    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3759    array size at least.  It's necessary to write '\x00'==0 to get something
   3760    that's true only with -std.  */
   3761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3762 
   3763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3764    inside strings and character constants.  */
   3765 #define FOO(x) 'x'
   3766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3767 
   3768 int test (int i, double x);
   3769 struct s1 {int (*f) (int a);};
   3770 struct s2 {int (*f) (double a);};
   3771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3772 int argc;
   3773 char **argv;
   3774 int
   3775 main ()
   3776 {
   3777 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3778   ;
   3779   return 0;
   3780 }
   3781 _ACEOF
   3782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3783 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3784 do
   3785   CC="$ac_save_CC $ac_arg"
   3786   if ac_fn_c_try_compile "$LINENO"; then :
   3787   ac_cv_prog_cc_c89=$ac_arg
   3788 fi
   3789 rm -f core conftest.err conftest.$ac_objext
   3790   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3791 done
   3792 rm -f conftest.$ac_ext
   3793 CC=$ac_save_CC
   3794 
   3795 fi
   3796 # AC_CACHE_VAL
   3797 case "x$ac_cv_prog_cc_c89" in
   3798   x)
   3799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3800 $as_echo "none needed" >&6; } ;;
   3801   xno)
   3802     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3803 $as_echo "unsupported" >&6; } ;;
   3804   *)
   3805     CC="$CC $ac_cv_prog_cc_c89"
   3806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3807 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3808 esac
   3809 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3810 
   3811 fi
   3812 
   3813 ac_ext=c
   3814 ac_cpp='$CPP $CPPFLAGS'
   3815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3818 DEPDIR="${am__leading_dot}deps"
   3819 
   3820 ac_config_commands="$ac_config_commands depfiles"
   3821 
   3822 
   3823 am_make=${MAKE-make}
   3824 cat > confinc << 'END'
   3825 am__doit:
   3826 	@echo this is the am__doit target
   3827 .PHONY: am__doit
   3828 END
   3829 # If we don't find an include directive, just comment out the code.
   3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3831 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3832 am__include="#"
   3833 am__quote=
   3834 _am_result=none
   3835 # First try GNU make style include.
   3836 echo "include confinc" > confmf
   3837 # Ignore all kinds of additional output from `make'.
   3838 case `$am_make -s -f confmf 2> /dev/null` in #(
   3839 *the\ am__doit\ target*)
   3840   am__include=include
   3841   am__quote=
   3842   _am_result=GNU
   3843   ;;
   3844 esac
   3845 # Now try BSD make style include.
   3846 if test "$am__include" = "#"; then
   3847    echo '.include "confinc"' > confmf
   3848    case `$am_make -s -f confmf 2> /dev/null` in #(
   3849    *the\ am__doit\ target*)
   3850      am__include=.include
   3851      am__quote="\""
   3852      _am_result=BSD
   3853      ;;
   3854    esac
   3855 fi
   3856 
   3857 
   3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3859 $as_echo "$_am_result" >&6; }
   3860 rm -f confinc confmf
   3861 
   3862 # Check whether --enable-dependency-tracking was given.
   3863 if test "${enable_dependency_tracking+set}" = set; then :
   3864   enableval=$enable_dependency_tracking;
   3865 fi
   3866 
   3867 if test "x$enable_dependency_tracking" != xno; then
   3868   am_depcomp="$ac_aux_dir/depcomp"
   3869   AMDEPBACKSLASH='\'
   3870 fi
   3871  if test "x$enable_dependency_tracking" != xno; then
   3872   AMDEP_TRUE=
   3873   AMDEP_FALSE='#'
   3874 else
   3875   AMDEP_TRUE='#'
   3876   AMDEP_FALSE=
   3877 fi
   3878 
   3879 
   3880 
   3881 depcc="$CC"   am_compiler_list=
   3882 
   3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3884 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3885 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3886   $as_echo_n "(cached) " >&6
   3887 else
   3888   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3889   # We make a subdir and do the tests there.  Otherwise we can end up
   3890   # making bogus files that we don't know about and never remove.  For
   3891   # instance it was reported that on HP-UX the gcc test will end up
   3892   # making a dummy file named `D' -- because `-MD' means `put the output
   3893   # in D'.
   3894   mkdir conftest.dir
   3895   # Copy depcomp to subdir because otherwise we won't find it if we're
   3896   # using a relative directory.
   3897   cp "$am_depcomp" conftest.dir
   3898   cd conftest.dir
   3899   # We will build objects and dependencies in a subdirectory because
   3900   # it helps to detect inapplicable dependency modes.  For instance
   3901   # both Tru64's cc and ICC support -MD to output dependencies as a
   3902   # side effect of compilation, but ICC will put the dependencies in
   3903   # the current directory while Tru64 will put them in the object
   3904   # directory.
   3905   mkdir sub
   3906 
   3907   am_cv_CC_dependencies_compiler_type=none
   3908   if test "$am_compiler_list" = ""; then
   3909      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3910   fi
   3911   am__universal=false
   3912   case " $depcc " in #(
   3913      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3914      esac
   3915 
   3916   for depmode in $am_compiler_list; do
   3917     # Setup a source with many dependencies, because some compilers
   3918     # like to wrap large dependency lists on column 80 (with \), and
   3919     # we should not choose a depcomp mode which is confused by this.
   3920     #
   3921     # We need to recreate these files for each test, as the compiler may
   3922     # overwrite some of them when testing with obscure command lines.
   3923     # This happens at least with the AIX C compiler.
   3924     : > sub/conftest.c
   3925     for i in 1 2 3 4 5 6; do
   3926       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3927       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3928       # Solaris 8's {/usr,}/bin/sh.
   3929       touch sub/conftst$i.h
   3930     done
   3931     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3932 
   3933     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3934     # mode.  It turns out that the SunPro C++ compiler does not properly
   3935     # handle `-M -o', and we need to detect this.  Also, some Intel
   3936     # versions had trouble with output in subdirs
   3937     am__obj=sub/conftest.${OBJEXT-o}
   3938     am__minus_obj="-o $am__obj"
   3939     case $depmode in
   3940     gcc)
   3941       # This depmode causes a compiler race in universal mode.
   3942       test "$am__universal" = false || continue
   3943       ;;
   3944     nosideeffect)
   3945       # after this tag, mechanisms are not by side-effect, so they'll
   3946       # only be used when explicitly requested
   3947       if test "x$enable_dependency_tracking" = xyes; then
   3948 	continue
   3949       else
   3950 	break
   3951       fi
   3952       ;;
   3953     msvisualcpp | msvcmsys)
   3954       # This compiler won't grok `-c -o', but also, the minuso test has
   3955       # not run yet.  These depmodes are late enough in the game, and
   3956       # so weak that their functioning should not be impacted.
   3957       am__obj=conftest.${OBJEXT-o}
   3958       am__minus_obj=
   3959       ;;
   3960     none) break ;;
   3961     esac
   3962     if depmode=$depmode \
   3963        source=sub/conftest.c object=$am__obj \
   3964        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3965        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3966          >/dev/null 2>conftest.err &&
   3967        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3968        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3969        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3970        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3971       # icc doesn't choke on unknown options, it will just issue warnings
   3972       # or remarks (even with -Werror).  So we grep stderr for any message
   3973       # that says an option was ignored or not supported.
   3974       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3975       #   icc: Command line warning: ignoring option '-M'; no argument required
   3976       # The diagnosis changed in icc 8.0:
   3977       #   icc: Command line remark: option '-MP' not supported
   3978       if (grep 'ignoring option' conftest.err ||
   3979           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3980         am_cv_CC_dependencies_compiler_type=$depmode
   3981         break
   3982       fi
   3983     fi
   3984   done
   3985 
   3986   cd ..
   3987   rm -rf conftest.dir
   3988 else
   3989   am_cv_CC_dependencies_compiler_type=none
   3990 fi
   3991 
   3992 fi
   3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3994 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3995 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3996 
   3997  if
   3998   test "x$enable_dependency_tracking" != xno \
   3999   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4000   am__fastdepCC_TRUE=
   4001   am__fastdepCC_FALSE='#'
   4002 else
   4003   am__fastdepCC_TRUE='#'
   4004   am__fastdepCC_FALSE=
   4005 fi
   4006 
   4007 
   4008 case `pwd` in
   4009   *\ * | *\	*)
   4010     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4011 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4012 esac
   4013 
   4014 
   4015 
   4016 macro_version='2.2.6'
   4017 macro_revision='1.3012'
   4018 
   4019 
   4020 
   4021 
   4022 
   4023 
   4024 
   4025 
   4026 
   4027 
   4028 
   4029 
   4030 
   4031 ltmain="$ac_aux_dir/ltmain.sh"
   4032 
   4033 # Make sure we can run config.sub.
   4034 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4035   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4036 
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4038 $as_echo_n "checking build system type... " >&6; }
   4039 if test "${ac_cv_build+set}" = set; then :
   4040   $as_echo_n "(cached) " >&6
   4041 else
   4042   ac_build_alias=$build_alias
   4043 test "x$ac_build_alias" = x &&
   4044   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4045 test "x$ac_build_alias" = x &&
   4046   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   4047 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4048   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4049 
   4050 fi
   4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4052 $as_echo "$ac_cv_build" >&6; }
   4053 case $ac_cv_build in
   4054 *-*-*) ;;
   4055 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   4056 esac
   4057 build=$ac_cv_build
   4058 ac_save_IFS=$IFS; IFS='-'
   4059 set x $ac_cv_build
   4060 shift
   4061 build_cpu=$1
   4062 build_vendor=$2
   4063 shift; shift
   4064 # Remember, the first character of IFS is used to create $*,
   4065 # except with old shells:
   4066 build_os=$*
   4067 IFS=$ac_save_IFS
   4068 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4069 
   4070 
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4072 $as_echo_n "checking host system type... " >&6; }
   4073 if test "${ac_cv_host+set}" = set; then :
   4074   $as_echo_n "(cached) " >&6
   4075 else
   4076   if test "x$host_alias" = x; then
   4077   ac_cv_host=$ac_cv_build
   4078 else
   4079   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4080     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4081 fi
   4082 
   4083 fi
   4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4085 $as_echo "$ac_cv_host" >&6; }
   4086 case $ac_cv_host in
   4087 *-*-*) ;;
   4088 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   4089 esac
   4090 host=$ac_cv_host
   4091 ac_save_IFS=$IFS; IFS='-'
   4092 set x $ac_cv_host
   4093 shift
   4094 host_cpu=$1
   4095 host_vendor=$2
   4096 shift; shift
   4097 # Remember, the first character of IFS is used to create $*,
   4098 # except with old shells:
   4099 host_os=$*
   4100 IFS=$ac_save_IFS
   4101 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4102 
   4103 
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4105 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4106 if test "${ac_cv_path_SED+set}" = set; then :
   4107   $as_echo_n "(cached) " >&6
   4108 else
   4109             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4110      for ac_i in 1 2 3 4 5 6 7; do
   4111        ac_script="$ac_script$as_nl$ac_script"
   4112      done
   4113      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4114      { ac_script=; unset ac_script;}
   4115      if test -z "$SED"; then
   4116   ac_path_SED_found=false
   4117   # Loop through the user's path and test for each of PROGNAME-LIST
   4118   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4119 for as_dir in $PATH
   4120 do
   4121   IFS=$as_save_IFS
   4122   test -z "$as_dir" && as_dir=.
   4123     for ac_prog in sed gsed; do
   4124     for ac_exec_ext in '' $ac_executable_extensions; do
   4125       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4126       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4127 # Check for GNU ac_path_SED and select it if it is found.
   4128   # Check for GNU $ac_path_SED
   4129 case `"$ac_path_SED" --version 2>&1` in
   4130 *GNU*)
   4131   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4132 *)
   4133   ac_count=0
   4134   $as_echo_n 0123456789 >"conftest.in"
   4135   while :
   4136   do
   4137     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4138     mv "conftest.tmp" "conftest.in"
   4139     cp "conftest.in" "conftest.nl"
   4140     $as_echo '' >> "conftest.nl"
   4141     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4142     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4143     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4144     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4145       # Best one so far, save it but keep looking for a better one
   4146       ac_cv_path_SED="$ac_path_SED"
   4147       ac_path_SED_max=$ac_count
   4148     fi
   4149     # 10*(2^10) chars as input seems more than enough
   4150     test $ac_count -gt 10 && break
   4151   done
   4152   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4153 esac
   4154 
   4155       $ac_path_SED_found && break 3
   4156     done
   4157   done
   4158   done
   4159 IFS=$as_save_IFS
   4160   if test -z "$ac_cv_path_SED"; then
   4161     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4162   fi
   4163 else
   4164   ac_cv_path_SED=$SED
   4165 fi
   4166 
   4167 fi
   4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4169 $as_echo "$ac_cv_path_SED" >&6; }
   4170  SED="$ac_cv_path_SED"
   4171   rm -f conftest.sed
   4172 
   4173 test -z "$SED" && SED=sed
   4174 Xsed="$SED -e 1s/^X//"
   4175 
   4176 
   4177 
   4178 
   4179 
   4180 
   4181 
   4182 
   4183 
   4184 
   4185 
   4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4187 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4188 if test "${ac_cv_path_GREP+set}" = set; then :
   4189   $as_echo_n "(cached) " >&6
   4190 else
   4191   if test -z "$GREP"; then
   4192   ac_path_GREP_found=false
   4193   # Loop through the user's path and test for each of PROGNAME-LIST
   4194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4196 do
   4197   IFS=$as_save_IFS
   4198   test -z "$as_dir" && as_dir=.
   4199     for ac_prog in grep ggrep; do
   4200     for ac_exec_ext in '' $ac_executable_extensions; do
   4201       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4202       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4203 # Check for GNU ac_path_GREP and select it if it is found.
   4204   # Check for GNU $ac_path_GREP
   4205 case `"$ac_path_GREP" --version 2>&1` in
   4206 *GNU*)
   4207   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4208 *)
   4209   ac_count=0
   4210   $as_echo_n 0123456789 >"conftest.in"
   4211   while :
   4212   do
   4213     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4214     mv "conftest.tmp" "conftest.in"
   4215     cp "conftest.in" "conftest.nl"
   4216     $as_echo 'GREP' >> "conftest.nl"
   4217     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4218     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4219     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4220     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4221       # Best one so far, save it but keep looking for a better one
   4222       ac_cv_path_GREP="$ac_path_GREP"
   4223       ac_path_GREP_max=$ac_count
   4224     fi
   4225     # 10*(2^10) chars as input seems more than enough
   4226     test $ac_count -gt 10 && break
   4227   done
   4228   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4229 esac
   4230 
   4231       $ac_path_GREP_found && break 3
   4232     done
   4233   done
   4234   done
   4235 IFS=$as_save_IFS
   4236   if test -z "$ac_cv_path_GREP"; then
   4237     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4238   fi
   4239 else
   4240   ac_cv_path_GREP=$GREP
   4241 fi
   4242 
   4243 fi
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4245 $as_echo "$ac_cv_path_GREP" >&6; }
   4246  GREP="$ac_cv_path_GREP"
   4247 
   4248 
   4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4250 $as_echo_n "checking for egrep... " >&6; }
   4251 if test "${ac_cv_path_EGREP+set}" = set; then :
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4255    then ac_cv_path_EGREP="$GREP -E"
   4256    else
   4257      if test -z "$EGREP"; then
   4258   ac_path_EGREP_found=false
   4259   # Loop through the user's path and test for each of PROGNAME-LIST
   4260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4262 do
   4263   IFS=$as_save_IFS
   4264   test -z "$as_dir" && as_dir=.
   4265     for ac_prog in egrep; do
   4266     for ac_exec_ext in '' $ac_executable_extensions; do
   4267       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4268       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4269 # Check for GNU ac_path_EGREP and select it if it is found.
   4270   # Check for GNU $ac_path_EGREP
   4271 case `"$ac_path_EGREP" --version 2>&1` in
   4272 *GNU*)
   4273   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4274 *)
   4275   ac_count=0
   4276   $as_echo_n 0123456789 >"conftest.in"
   4277   while :
   4278   do
   4279     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4280     mv "conftest.tmp" "conftest.in"
   4281     cp "conftest.in" "conftest.nl"
   4282     $as_echo 'EGREP' >> "conftest.nl"
   4283     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4284     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4285     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4286     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4287       # Best one so far, save it but keep looking for a better one
   4288       ac_cv_path_EGREP="$ac_path_EGREP"
   4289       ac_path_EGREP_max=$ac_count
   4290     fi
   4291     # 10*(2^10) chars as input seems more than enough
   4292     test $ac_count -gt 10 && break
   4293   done
   4294   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4295 esac
   4296 
   4297       $ac_path_EGREP_found && break 3
   4298     done
   4299   done
   4300   done
   4301 IFS=$as_save_IFS
   4302   if test -z "$ac_cv_path_EGREP"; then
   4303     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4304   fi
   4305 else
   4306   ac_cv_path_EGREP=$EGREP
   4307 fi
   4308 
   4309    fi
   4310 fi
   4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4312 $as_echo "$ac_cv_path_EGREP" >&6; }
   4313  EGREP="$ac_cv_path_EGREP"
   4314 
   4315 
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4317 $as_echo_n "checking for fgrep... " >&6; }
   4318 if test "${ac_cv_path_FGREP+set}" = set; then :
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4322    then ac_cv_path_FGREP="$GREP -F"
   4323    else
   4324      if test -z "$FGREP"; then
   4325   ac_path_FGREP_found=false
   4326   # Loop through the user's path and test for each of PROGNAME-LIST
   4327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4328 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4329 do
   4330   IFS=$as_save_IFS
   4331   test -z "$as_dir" && as_dir=.
   4332     for ac_prog in fgrep; do
   4333     for ac_exec_ext in '' $ac_executable_extensions; do
   4334       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4335       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4336 # Check for GNU ac_path_FGREP and select it if it is found.
   4337   # Check for GNU $ac_path_FGREP
   4338 case `"$ac_path_FGREP" --version 2>&1` in
   4339 *GNU*)
   4340   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4341 *)
   4342   ac_count=0
   4343   $as_echo_n 0123456789 >"conftest.in"
   4344   while :
   4345   do
   4346     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4347     mv "conftest.tmp" "conftest.in"
   4348     cp "conftest.in" "conftest.nl"
   4349     $as_echo 'FGREP' >> "conftest.nl"
   4350     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4351     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4352     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4353     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4354       # Best one so far, save it but keep looking for a better one
   4355       ac_cv_path_FGREP="$ac_path_FGREP"
   4356       ac_path_FGREP_max=$ac_count
   4357     fi
   4358     # 10*(2^10) chars as input seems more than enough
   4359     test $ac_count -gt 10 && break
   4360   done
   4361   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4362 esac
   4363 
   4364       $ac_path_FGREP_found && break 3
   4365     done
   4366   done
   4367   done
   4368 IFS=$as_save_IFS
   4369   if test -z "$ac_cv_path_FGREP"; then
   4370     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4371   fi
   4372 else
   4373   ac_cv_path_FGREP=$FGREP
   4374 fi
   4375 
   4376    fi
   4377 fi
   4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4379 $as_echo "$ac_cv_path_FGREP" >&6; }
   4380  FGREP="$ac_cv_path_FGREP"
   4381 
   4382 
   4383 test -z "$GREP" && GREP=grep
   4384 
   4385 
   4386 
   4387 
   4388 
   4389 
   4390 
   4391 
   4392 
   4393 
   4394 
   4395 
   4396 
   4397 
   4398 
   4399 
   4400 
   4401 
   4402 
   4403 # Check whether --with-gnu-ld was given.
   4404 if test "${with_gnu_ld+set}" = set; then :
   4405   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4406 else
   4407   with_gnu_ld=no
   4408 fi
   4409 
   4410 ac_prog=ld
   4411 if test "$GCC" = yes; then
   4412   # Check if gcc -print-prog-name=ld gives a path.
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4414 $as_echo_n "checking for ld used by $CC... " >&6; }
   4415   case $host in
   4416   *-*-mingw*)
   4417     # gcc leaves a trailing carriage return which upsets mingw
   4418     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4419   *)
   4420     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4421   esac
   4422   case $ac_prog in
   4423     # Accept absolute paths.
   4424     [\\/]* | ?:[\\/]*)
   4425       re_direlt='/[^/][^/]*/\.\./'
   4426       # Canonicalize the pathname of ld
   4427       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4428       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4429 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4430       done
   4431       test -z "$LD" && LD="$ac_prog"
   4432       ;;
   4433   "")
   4434     # If it fails, then pretend we aren't using GCC.
   4435     ac_prog=ld
   4436     ;;
   4437   *)
   4438     # If it is relative, then search for the first ld in PATH.
   4439     with_gnu_ld=unknown
   4440     ;;
   4441   esac
   4442 elif test "$with_gnu_ld" = yes; then
   4443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4444 $as_echo_n "checking for GNU ld... " >&6; }
   4445 else
   4446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4447 $as_echo_n "checking for non-GNU ld... " >&6; }
   4448 fi
   4449 if test "${lt_cv_path_LD+set}" = set; then :
   4450   $as_echo_n "(cached) " >&6
   4451 else
   4452   if test -z "$LD"; then
   4453   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4454   for ac_dir in $PATH; do
   4455     IFS="$lt_save_ifs"
   4456     test -z "$ac_dir" && ac_dir=.
   4457     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4458       lt_cv_path_LD="$ac_dir/$ac_prog"
   4459       # Check to see if the program is GNU ld.  I'd rather use --version,
   4460       # but apparently some variants of GNU ld only accept -v.
   4461       # Break only if it was the GNU/non-GNU ld that we prefer.
   4462       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4463       *GNU* | *'with BFD'*)
   4464 	test "$with_gnu_ld" != no && break
   4465 	;;
   4466       *)
   4467 	test "$with_gnu_ld" != yes && break
   4468 	;;
   4469       esac
   4470     fi
   4471   done
   4472   IFS="$lt_save_ifs"
   4473 else
   4474   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4475 fi
   4476 fi
   4477 
   4478 LD="$lt_cv_path_LD"
   4479 if test -n "$LD"; then
   4480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4481 $as_echo "$LD" >&6; }
   4482 else
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4484 $as_echo "no" >&6; }
   4485 fi
   4486 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4488 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4489 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4493 case `$LD -v 2>&1 </dev/null` in
   4494 *GNU* | *'with BFD'*)
   4495   lt_cv_prog_gnu_ld=yes
   4496   ;;
   4497 *)
   4498   lt_cv_prog_gnu_ld=no
   4499   ;;
   4500 esac
   4501 fi
   4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4503 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4504 with_gnu_ld=$lt_cv_prog_gnu_ld
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4515 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4516 if test "${lt_cv_path_NM+set}" = set; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   if test -n "$NM"; then
   4520   # Let the user override the test.
   4521   lt_cv_path_NM="$NM"
   4522 else
   4523   lt_nm_to_check="${ac_tool_prefix}nm"
   4524   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4525     lt_nm_to_check="$lt_nm_to_check nm"
   4526   fi
   4527   for lt_tmp_nm in $lt_nm_to_check; do
   4528     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4529     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4530       IFS="$lt_save_ifs"
   4531       test -z "$ac_dir" && ac_dir=.
   4532       tmp_nm="$ac_dir/$lt_tmp_nm"
   4533       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4534 	# Check to see if the nm accepts a BSD-compat flag.
   4535 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4536 	#   nm: unknown option "B" ignored
   4537 	# Tru64's nm complains that /dev/null is an invalid object file
   4538 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4539 	*/dev/null* | *'Invalid file or object type'*)
   4540 	  lt_cv_path_NM="$tmp_nm -B"
   4541 	  break
   4542 	  ;;
   4543 	*)
   4544 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4545 	  */dev/null*)
   4546 	    lt_cv_path_NM="$tmp_nm -p"
   4547 	    break
   4548 	    ;;
   4549 	  *)
   4550 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4551 	    continue # so that we can try to find one that supports BSD flags
   4552 	    ;;
   4553 	  esac
   4554 	  ;;
   4555 	esac
   4556       fi
   4557     done
   4558     IFS="$lt_save_ifs"
   4559   done
   4560   : ${lt_cv_path_NM=no}
   4561 fi
   4562 fi
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4564 $as_echo "$lt_cv_path_NM" >&6; }
   4565 if test "$lt_cv_path_NM" != "no"; then
   4566   NM="$lt_cv_path_NM"
   4567 else
   4568   # Didn't find any BSD compatible name lister, look for dumpbin.
   4569   if test -n "$ac_tool_prefix"; then
   4570   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4571   do
   4572     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4575 $as_echo_n "checking for $ac_word... " >&6; }
   4576 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   4577   $as_echo_n "(cached) " >&6
   4578 else
   4579   if test -n "$DUMPBIN"; then
   4580   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4581 else
   4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4583 for as_dir in $PATH
   4584 do
   4585   IFS=$as_save_IFS
   4586   test -z "$as_dir" && as_dir=.
   4587     for ac_exec_ext in '' $ac_executable_extensions; do
   4588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4589     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4591     break 2
   4592   fi
   4593 done
   4594   done
   4595 IFS=$as_save_IFS
   4596 
   4597 fi
   4598 fi
   4599 DUMPBIN=$ac_cv_prog_DUMPBIN
   4600 if test -n "$DUMPBIN"; then
   4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4602 $as_echo "$DUMPBIN" >&6; }
   4603 else
   4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4605 $as_echo "no" >&6; }
   4606 fi
   4607 
   4608 
   4609     test -n "$DUMPBIN" && break
   4610   done
   4611 fi
   4612 if test -z "$DUMPBIN"; then
   4613   ac_ct_DUMPBIN=$DUMPBIN
   4614   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4615 do
   4616   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4617 set dummy $ac_prog; ac_word=$2
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4619 $as_echo_n "checking for $ac_word... " >&6; }
   4620 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623   if test -n "$ac_ct_DUMPBIN"; then
   4624   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4625 else
   4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4627 for as_dir in $PATH
   4628 do
   4629   IFS=$as_save_IFS
   4630   test -z "$as_dir" && as_dir=.
   4631     for ac_exec_ext in '' $ac_executable_extensions; do
   4632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4633     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4635     break 2
   4636   fi
   4637 done
   4638   done
   4639 IFS=$as_save_IFS
   4640 
   4641 fi
   4642 fi
   4643 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4644 if test -n "$ac_ct_DUMPBIN"; then
   4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4646 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4647 else
   4648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4649 $as_echo "no" >&6; }
   4650 fi
   4651 
   4652 
   4653   test -n "$ac_ct_DUMPBIN" && break
   4654 done
   4655 
   4656   if test "x$ac_ct_DUMPBIN" = x; then
   4657     DUMPBIN=":"
   4658   else
   4659     case $cross_compiling:$ac_tool_warned in
   4660 yes:)
   4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4663 ac_tool_warned=yes ;;
   4664 esac
   4665     DUMPBIN=$ac_ct_DUMPBIN
   4666   fi
   4667 fi
   4668 
   4669 
   4670   if test "$DUMPBIN" != ":"; then
   4671     NM="$DUMPBIN"
   4672   fi
   4673 fi
   4674 test -z "$NM" && NM=nm
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4682 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4683 if test "${lt_cv_nm_interface+set}" = set; then :
   4684   $as_echo_n "(cached) " >&6
   4685 else
   4686   lt_cv_nm_interface="BSD nm"
   4687   echo "int some_variable = 0;" > conftest.$ac_ext
   4688   (eval echo "\"\$as_me:4688: $ac_compile\"" >&5)
   4689   (eval "$ac_compile" 2>conftest.err)
   4690   cat conftest.err >&5
   4691   (eval echo "\"\$as_me:4691: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4692   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4693   cat conftest.err >&5
   4694   (eval echo "\"\$as_me:4694: output\"" >&5)
   4695   cat conftest.out >&5
   4696   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4697     lt_cv_nm_interface="MS dumpbin"
   4698   fi
   4699   rm -f conftest*
   4700 fi
   4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4702 $as_echo "$lt_cv_nm_interface" >&6; }
   4703 
   4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4705 $as_echo_n "checking whether ln -s works... " >&6; }
   4706 LN_S=$as_ln_s
   4707 if test "$LN_S" = "ln -s"; then
   4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4709 $as_echo "yes" >&6; }
   4710 else
   4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4712 $as_echo "no, using $LN_S" >&6; }
   4713 fi
   4714 
   4715 # find the maximum length of command line arguments
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4717 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4718 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721     i=0
   4722   teststring="ABCD"
   4723 
   4724   case $build_os in
   4725   msdosdjgpp*)
   4726     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4727     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4728     # during glob expansion).  Even if it were fixed, the result of this
   4729     # check would be larger than it should be.
   4730     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4731     ;;
   4732 
   4733   gnu*)
   4734     # Under GNU Hurd, this test is not required because there is
   4735     # no limit to the length of command line arguments.
   4736     # Libtool will interpret -1 as no limit whatsoever
   4737     lt_cv_sys_max_cmd_len=-1;
   4738     ;;
   4739 
   4740   cygwin* | mingw* | cegcc*)
   4741     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4742     # about 5 minutes as the teststring grows exponentially.
   4743     # Worse, since 9x/ME are not pre-emptively multitasking,
   4744     # you end up with a "frozen" computer, even though with patience
   4745     # the test eventually succeeds (with a max line length of 256k).
   4746     # Instead, let's just punt: use the minimum linelength reported by
   4747     # all of the supported platforms: 8192 (on NT/2K/XP).
   4748     lt_cv_sys_max_cmd_len=8192;
   4749     ;;
   4750 
   4751   amigaos*)
   4752     # On AmigaOS with pdksh, this test takes hours, literally.
   4753     # So we just punt and use a minimum line length of 8192.
   4754     lt_cv_sys_max_cmd_len=8192;
   4755     ;;
   4756 
   4757   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4758     # This has been around since 386BSD, at least.  Likely further.
   4759     if test -x /sbin/sysctl; then
   4760       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4761     elif test -x /usr/sbin/sysctl; then
   4762       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4763     else
   4764       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4765     fi
   4766     # And add a safety zone
   4767     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4768     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4769     ;;
   4770 
   4771   interix*)
   4772     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4773     lt_cv_sys_max_cmd_len=196608
   4774     ;;
   4775 
   4776   osf*)
   4777     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4778     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4779     # nice to cause kernel panics so lets avoid the loop below.
   4780     # First set a reasonable default.
   4781     lt_cv_sys_max_cmd_len=16384
   4782     #
   4783     if test -x /sbin/sysconfig; then
   4784       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4785         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4786       esac
   4787     fi
   4788     ;;
   4789   sco3.2v5*)
   4790     lt_cv_sys_max_cmd_len=102400
   4791     ;;
   4792   sysv5* | sco5v6* | sysv4.2uw2*)
   4793     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4794     if test -n "$kargmax"; then
   4795       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4796     else
   4797       lt_cv_sys_max_cmd_len=32768
   4798     fi
   4799     ;;
   4800   *)
   4801     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4802     if test -n "$lt_cv_sys_max_cmd_len"; then
   4803       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4804       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4805     else
   4806       # Make teststring a little bigger before we do anything with it.
   4807       # a 1K string should be a reasonable start.
   4808       for i in 1 2 3 4 5 6 7 8 ; do
   4809         teststring=$teststring$teststring
   4810       done
   4811       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4812       # If test is not a shell built-in, we'll probably end up computing a
   4813       # maximum length that is only half of the actual maximum length, but
   4814       # we can't tell.
   4815       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4816 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4817 	      test $i != 17 # 1/2 MB should be enough
   4818       do
   4819         i=`expr $i + 1`
   4820         teststring=$teststring$teststring
   4821       done
   4822       # Only check the string length outside the loop.
   4823       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4824       teststring=
   4825       # Add a significant safety factor because C++ compilers can tack on
   4826       # massive amounts of additional arguments before passing them to the
   4827       # linker.  It appears as though 1/2 is a usable value.
   4828       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4829     fi
   4830     ;;
   4831   esac
   4832 
   4833 fi
   4834 
   4835 if test -n $lt_cv_sys_max_cmd_len ; then
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4837 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4838 else
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4840 $as_echo "none" >&6; }
   4841 fi
   4842 max_cmd_len=$lt_cv_sys_max_cmd_len
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 : ${CP="cp -f"}
   4850 : ${MV="mv -f"}
   4851 : ${RM="rm -f"}
   4852 
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4854 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4855 # Try some XSI features
   4856 xsi_shell=no
   4857 ( _lt_dummy="a/b/c"
   4858   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4859       = c,a/b,, \
   4860     && eval 'test $(( 1 + 1 )) -eq 2 \
   4861     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4862   && xsi_shell=yes
   4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4864 $as_echo "$xsi_shell" >&6; }
   4865 
   4866 
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4868 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4869 lt_shell_append=no
   4870 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4871     >/dev/null 2>&1 \
   4872   && lt_shell_append=yes
   4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4874 $as_echo "$lt_shell_append" >&6; }
   4875 
   4876 
   4877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4878   lt_unset=unset
   4879 else
   4880   lt_unset=false
   4881 fi
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 # test EBCDIC or ASCII
   4888 case `echo X|tr X '\101'` in
   4889  A) # ASCII based system
   4890     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4891   lt_SP2NL='tr \040 \012'
   4892   lt_NL2SP='tr \015\012 \040\040'
   4893   ;;
   4894  *) # EBCDIC based system
   4895   lt_SP2NL='tr \100 \n'
   4896   lt_NL2SP='tr \r\n \100\100'
   4897   ;;
   4898 esac
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4909 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4910 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   lt_cv_ld_reload_flag='-r'
   4914 fi
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4916 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4917 reload_flag=$lt_cv_ld_reload_flag
   4918 case $reload_flag in
   4919 "" | " "*) ;;
   4920 *) reload_flag=" $reload_flag" ;;
   4921 esac
   4922 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4923 case $host_os in
   4924   darwin*)
   4925     if test "$GCC" = yes; then
   4926       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4927     else
   4928       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4929     fi
   4930     ;;
   4931 esac
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 if test -n "$ac_tool_prefix"; then
   4942   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4943 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4945 $as_echo_n "checking for $ac_word... " >&6; }
   4946 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   if test -n "$OBJDUMP"; then
   4950   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4951 else
   4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4953 for as_dir in $PATH
   4954 do
   4955   IFS=$as_save_IFS
   4956   test -z "$as_dir" && as_dir=.
   4957     for ac_exec_ext in '' $ac_executable_extensions; do
   4958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4959     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4961     break 2
   4962   fi
   4963 done
   4964   done
   4965 IFS=$as_save_IFS
   4966 
   4967 fi
   4968 fi
   4969 OBJDUMP=$ac_cv_prog_OBJDUMP
   4970 if test -n "$OBJDUMP"; then
   4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4972 $as_echo "$OBJDUMP" >&6; }
   4973 else
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4975 $as_echo "no" >&6; }
   4976 fi
   4977 
   4978 
   4979 fi
   4980 if test -z "$ac_cv_prog_OBJDUMP"; then
   4981   ac_ct_OBJDUMP=$OBJDUMP
   4982   # Extract the first word of "objdump", so it can be a program name with args.
   4983 set dummy objdump; ac_word=$2
   4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4985 $as_echo_n "checking for $ac_word... " >&6; }
   4986 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   4987   $as_echo_n "(cached) " >&6
   4988 else
   4989   if test -n "$ac_ct_OBJDUMP"; then
   4990   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4991 else
   4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4993 for as_dir in $PATH
   4994 do
   4995   IFS=$as_save_IFS
   4996   test -z "$as_dir" && as_dir=.
   4997     for ac_exec_ext in '' $ac_executable_extensions; do
   4998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4999     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5001     break 2
   5002   fi
   5003 done
   5004   done
   5005 IFS=$as_save_IFS
   5006 
   5007 fi
   5008 fi
   5009 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5010 if test -n "$ac_ct_OBJDUMP"; then
   5011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5012 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5013 else
   5014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5015 $as_echo "no" >&6; }
   5016 fi
   5017 
   5018   if test "x$ac_ct_OBJDUMP" = x; then
   5019     OBJDUMP="false"
   5020   else
   5021     case $cross_compiling:$ac_tool_warned in
   5022 yes:)
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5025 ac_tool_warned=yes ;;
   5026 esac
   5027     OBJDUMP=$ac_ct_OBJDUMP
   5028   fi
   5029 else
   5030   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5031 fi
   5032 
   5033 test -z "$OBJDUMP" && OBJDUMP=objdump
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5044 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5045 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5049 lt_cv_file_magic_test_file=
   5050 lt_cv_deplibs_check_method='unknown'
   5051 # Need to set the preceding variable on all platforms that support
   5052 # interlibrary dependencies.
   5053 # 'none' -- dependencies not supported.
   5054 # `unknown' -- same as none, but documents that we really don't know.
   5055 # 'pass_all' -- all dependencies passed with no checks.
   5056 # 'test_compile' -- check by making test program.
   5057 # 'file_magic [[regex]]' -- check by looking for files in library path
   5058 # which responds to the $file_magic_cmd with a given extended regex.
   5059 # If you have `file' or equivalent on your system and you're not sure
   5060 # whether `pass_all' will *always* work, you probably want this one.
   5061 
   5062 case $host_os in
   5063 aix[4-9]*)
   5064   lt_cv_deplibs_check_method=pass_all
   5065   ;;
   5066 
   5067 beos*)
   5068   lt_cv_deplibs_check_method=pass_all
   5069   ;;
   5070 
   5071 bsdi[45]*)
   5072   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5073   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5074   lt_cv_file_magic_test_file=/shlib/libc.so
   5075   ;;
   5076 
   5077 cygwin*)
   5078   # func_win32_libid is a shell function defined in ltmain.sh
   5079   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5080   lt_cv_file_magic_cmd='func_win32_libid'
   5081   ;;
   5082 
   5083 mingw* | pw32*)
   5084   # Base MSYS/MinGW do not provide the 'file' command needed by
   5085   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5086   # unless we find 'file', for example because we are cross-compiling.
   5087   if ( file / ) >/dev/null 2>&1; then
   5088     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5089     lt_cv_file_magic_cmd='func_win32_libid'
   5090   else
   5091     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5092     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5093   fi
   5094   ;;
   5095 
   5096 cegcc)
   5097   # use the weaker test based on 'objdump'. See mingw*.
   5098   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5099   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5100   ;;
   5101 
   5102 darwin* | rhapsody*)
   5103   lt_cv_deplibs_check_method=pass_all
   5104   ;;
   5105 
   5106 freebsd* | dragonfly*)
   5107   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5108     case $host_cpu in
   5109     i*86 )
   5110       # Not sure whether the presence of OpenBSD here was a mistake.
   5111       # Let's accept both of them until this is cleared up.
   5112       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5113       lt_cv_file_magic_cmd=/usr/bin/file
   5114       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5115       ;;
   5116     esac
   5117   else
   5118     lt_cv_deplibs_check_method=pass_all
   5119   fi
   5120   ;;
   5121 
   5122 gnu*)
   5123   lt_cv_deplibs_check_method=pass_all
   5124   ;;
   5125 
   5126 hpux10.20* | hpux11*)
   5127   lt_cv_file_magic_cmd=/usr/bin/file
   5128   case $host_cpu in
   5129   ia64*)
   5130     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5131     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5132     ;;
   5133   hppa*64*)
   5134     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5135     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5136     ;;
   5137   *)
   5138     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5139     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5140     ;;
   5141   esac
   5142   ;;
   5143 
   5144 interix[3-9]*)
   5145   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5146   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5147   ;;
   5148 
   5149 irix5* | irix6* | nonstopux*)
   5150   case $LD in
   5151   *-32|*"-32 ") libmagic=32-bit;;
   5152   *-n32|*"-n32 ") libmagic=N32;;
   5153   *-64|*"-64 ") libmagic=64-bit;;
   5154   *) libmagic=never-match;;
   5155   esac
   5156   lt_cv_deplibs_check_method=pass_all
   5157   ;;
   5158 
   5159 # This must be Linux ELF.
   5160 linux* | k*bsd*-gnu)
   5161   lt_cv_deplibs_check_method=pass_all
   5162   ;;
   5163 
   5164 netbsd* | netbsdelf*-gnu)
   5165   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5166     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5167   else
   5168     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5169   fi
   5170   ;;
   5171 
   5172 newos6*)
   5173   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5174   lt_cv_file_magic_cmd=/usr/bin/file
   5175   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5176   ;;
   5177 
   5178 *nto* | *qnx*)
   5179   lt_cv_deplibs_check_method=pass_all
   5180   ;;
   5181 
   5182 openbsd*)
   5183   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5184     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5185   else
   5186     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5187   fi
   5188   ;;
   5189 
   5190 osf3* | osf4* | osf5*)
   5191   lt_cv_deplibs_check_method=pass_all
   5192   ;;
   5193 
   5194 rdos*)
   5195   lt_cv_deplibs_check_method=pass_all
   5196   ;;
   5197 
   5198 solaris*)
   5199   lt_cv_deplibs_check_method=pass_all
   5200   ;;
   5201 
   5202 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5203   lt_cv_deplibs_check_method=pass_all
   5204   ;;
   5205 
   5206 sysv4 | sysv4.3*)
   5207   case $host_vendor in
   5208   motorola)
   5209     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]'
   5210     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5211     ;;
   5212   ncr)
   5213     lt_cv_deplibs_check_method=pass_all
   5214     ;;
   5215   sequent)
   5216     lt_cv_file_magic_cmd='/bin/file'
   5217     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5218     ;;
   5219   sni)
   5220     lt_cv_file_magic_cmd='/bin/file'
   5221     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5222     lt_cv_file_magic_test_file=/lib/libc.so
   5223     ;;
   5224   siemens)
   5225     lt_cv_deplibs_check_method=pass_all
   5226     ;;
   5227   pc)
   5228     lt_cv_deplibs_check_method=pass_all
   5229     ;;
   5230   esac
   5231   ;;
   5232 
   5233 tpf*)
   5234   lt_cv_deplibs_check_method=pass_all
   5235   ;;
   5236 esac
   5237 
   5238 fi
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5240 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5241 file_magic_cmd=$lt_cv_file_magic_cmd
   5242 deplibs_check_method=$lt_cv_deplibs_check_method
   5243 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 if test -n "$ac_tool_prefix"; then
   5257   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5258 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5260 $as_echo_n "checking for $ac_word... " >&6; }
   5261 if test "${ac_cv_prog_AR+set}" = set; then :
   5262   $as_echo_n "(cached) " >&6
   5263 else
   5264   if test -n "$AR"; then
   5265   ac_cv_prog_AR="$AR" # Let the user override the test.
   5266 else
   5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5268 for as_dir in $PATH
   5269 do
   5270   IFS=$as_save_IFS
   5271   test -z "$as_dir" && as_dir=.
   5272     for ac_exec_ext in '' $ac_executable_extensions; do
   5273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5274     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5276     break 2
   5277   fi
   5278 done
   5279   done
   5280 IFS=$as_save_IFS
   5281 
   5282 fi
   5283 fi
   5284 AR=$ac_cv_prog_AR
   5285 if test -n "$AR"; then
   5286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5287 $as_echo "$AR" >&6; }
   5288 else
   5289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5290 $as_echo "no" >&6; }
   5291 fi
   5292 
   5293 
   5294 fi
   5295 if test -z "$ac_cv_prog_AR"; then
   5296   ac_ct_AR=$AR
   5297   # Extract the first word of "ar", so it can be a program name with args.
   5298 set dummy ar; ac_word=$2
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5300 $as_echo_n "checking for $ac_word... " >&6; }
   5301 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   if test -n "$ac_ct_AR"; then
   5305   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5306 else
   5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5308 for as_dir in $PATH
   5309 do
   5310   IFS=$as_save_IFS
   5311   test -z "$as_dir" && as_dir=.
   5312     for ac_exec_ext in '' $ac_executable_extensions; do
   5313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5314     ac_cv_prog_ac_ct_AR="ar"
   5315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5316     break 2
   5317   fi
   5318 done
   5319   done
   5320 IFS=$as_save_IFS
   5321 
   5322 fi
   5323 fi
   5324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5325 if test -n "$ac_ct_AR"; then
   5326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5327 $as_echo "$ac_ct_AR" >&6; }
   5328 else
   5329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5330 $as_echo "no" >&6; }
   5331 fi
   5332 
   5333   if test "x$ac_ct_AR" = x; then
   5334     AR="false"
   5335   else
   5336     case $cross_compiling:$ac_tool_warned in
   5337 yes:)
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5340 ac_tool_warned=yes ;;
   5341 esac
   5342     AR=$ac_ct_AR
   5343   fi
   5344 else
   5345   AR="$ac_cv_prog_AR"
   5346 fi
   5347 
   5348 test -z "$AR" && AR=ar
   5349 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 if test -n "$ac_tool_prefix"; then
   5362   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5363 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5365 $as_echo_n "checking for $ac_word... " >&6; }
   5366 if test "${ac_cv_prog_STRIP+set}" = set; then :
   5367   $as_echo_n "(cached) " >&6
   5368 else
   5369   if test -n "$STRIP"; then
   5370   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5371 else
   5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5373 for as_dir in $PATH
   5374 do
   5375   IFS=$as_save_IFS
   5376   test -z "$as_dir" && as_dir=.
   5377     for ac_exec_ext in '' $ac_executable_extensions; do
   5378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5379     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5381     break 2
   5382   fi
   5383 done
   5384   done
   5385 IFS=$as_save_IFS
   5386 
   5387 fi
   5388 fi
   5389 STRIP=$ac_cv_prog_STRIP
   5390 if test -n "$STRIP"; then
   5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5392 $as_echo "$STRIP" >&6; }
   5393 else
   5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5395 $as_echo "no" >&6; }
   5396 fi
   5397 
   5398 
   5399 fi
   5400 if test -z "$ac_cv_prog_STRIP"; then
   5401   ac_ct_STRIP=$STRIP
   5402   # Extract the first word of "strip", so it can be a program name with args.
   5403 set dummy strip; ac_word=$2
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5405 $as_echo_n "checking for $ac_word... " >&6; }
   5406 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   if test -n "$ac_ct_STRIP"; then
   5410   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5411 else
   5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5413 for as_dir in $PATH
   5414 do
   5415   IFS=$as_save_IFS
   5416   test -z "$as_dir" && as_dir=.
   5417     for ac_exec_ext in '' $ac_executable_extensions; do
   5418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5419     ac_cv_prog_ac_ct_STRIP="strip"
   5420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5421     break 2
   5422   fi
   5423 done
   5424   done
   5425 IFS=$as_save_IFS
   5426 
   5427 fi
   5428 fi
   5429 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5430 if test -n "$ac_ct_STRIP"; then
   5431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5432 $as_echo "$ac_ct_STRIP" >&6; }
   5433 else
   5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5435 $as_echo "no" >&6; }
   5436 fi
   5437 
   5438   if test "x$ac_ct_STRIP" = x; then
   5439     STRIP=":"
   5440   else
   5441     case $cross_compiling:$ac_tool_warned in
   5442 yes:)
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5445 ac_tool_warned=yes ;;
   5446 esac
   5447     STRIP=$ac_ct_STRIP
   5448   fi
   5449 else
   5450   STRIP="$ac_cv_prog_STRIP"
   5451 fi
   5452 
   5453 test -z "$STRIP" && STRIP=:
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 if test -n "$ac_tool_prefix"; then
   5461   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5462 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5464 $as_echo_n "checking for $ac_word... " >&6; }
   5465 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   if test -n "$RANLIB"; then
   5469   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5470 else
   5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5472 for as_dir in $PATH
   5473 do
   5474   IFS=$as_save_IFS
   5475   test -z "$as_dir" && as_dir=.
   5476     for ac_exec_ext in '' $ac_executable_extensions; do
   5477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5478     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5480     break 2
   5481   fi
   5482 done
   5483   done
   5484 IFS=$as_save_IFS
   5485 
   5486 fi
   5487 fi
   5488 RANLIB=$ac_cv_prog_RANLIB
   5489 if test -n "$RANLIB"; then
   5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5491 $as_echo "$RANLIB" >&6; }
   5492 else
   5493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5494 $as_echo "no" >&6; }
   5495 fi
   5496 
   5497 
   5498 fi
   5499 if test -z "$ac_cv_prog_RANLIB"; then
   5500   ac_ct_RANLIB=$RANLIB
   5501   # Extract the first word of "ranlib", so it can be a program name with args.
   5502 set dummy ranlib; ac_word=$2
   5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5504 $as_echo_n "checking for $ac_word... " >&6; }
   5505 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5506   $as_echo_n "(cached) " >&6
   5507 else
   5508   if test -n "$ac_ct_RANLIB"; then
   5509   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5510 else
   5511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5512 for as_dir in $PATH
   5513 do
   5514   IFS=$as_save_IFS
   5515   test -z "$as_dir" && as_dir=.
   5516     for ac_exec_ext in '' $ac_executable_extensions; do
   5517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5518     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5520     break 2
   5521   fi
   5522 done
   5523   done
   5524 IFS=$as_save_IFS
   5525 
   5526 fi
   5527 fi
   5528 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5529 if test -n "$ac_ct_RANLIB"; then
   5530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5531 $as_echo "$ac_ct_RANLIB" >&6; }
   5532 else
   5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5534 $as_echo "no" >&6; }
   5535 fi
   5536 
   5537   if test "x$ac_ct_RANLIB" = x; then
   5538     RANLIB=":"
   5539   else
   5540     case $cross_compiling:$ac_tool_warned in
   5541 yes:)
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5544 ac_tool_warned=yes ;;
   5545 esac
   5546     RANLIB=$ac_ct_RANLIB
   5547   fi
   5548 else
   5549   RANLIB="$ac_cv_prog_RANLIB"
   5550 fi
   5551 
   5552 test -z "$RANLIB" && RANLIB=:
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 # Determine commands to create old-style static archives.
   5560 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5561 old_postinstall_cmds='chmod 644 $oldlib'
   5562 old_postuninstall_cmds=
   5563 
   5564 if test -n "$RANLIB"; then
   5565   case $host_os in
   5566   openbsd*)
   5567     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5568     ;;
   5569   *)
   5570     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5571     ;;
   5572   esac
   5573   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5574 fi
   5575 
   5576 
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 # If no C compiler was specified, use CC.
   5610 LTCC=${LTCC-"$CC"}
   5611 
   5612 # If no C compiler flags were specified, use CFLAGS.
   5613 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5614 
   5615 # Allow CC to be a program name with arguments.
   5616 compiler=$CC
   5617 
   5618 
   5619 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5621 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5622 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625 
   5626 # These are sane defaults that work on at least a few old systems.
   5627 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5628 
   5629 # Character class describing NM global symbol codes.
   5630 symcode='[BCDEGRST]'
   5631 
   5632 # Regexp to match symbols that can be accessed directly from C.
   5633 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5634 
   5635 # Define system-specific variables.
   5636 case $host_os in
   5637 aix*)
   5638   symcode='[BCDT]'
   5639   ;;
   5640 cygwin* | mingw* | pw32* | cegcc*)
   5641   symcode='[ABCDGISTW]'
   5642   ;;
   5643 hpux*)
   5644   if test "$host_cpu" = ia64; then
   5645     symcode='[ABCDEGRST]'
   5646   fi
   5647   ;;
   5648 irix* | nonstopux*)
   5649   symcode='[BCDEGRST]'
   5650   ;;
   5651 osf*)
   5652   symcode='[BCDEGQRST]'
   5653   ;;
   5654 solaris*)
   5655   symcode='[BDRT]'
   5656   ;;
   5657 sco3.2v5*)
   5658   symcode='[DT]'
   5659   ;;
   5660 sysv4.2uw2*)
   5661   symcode='[DT]'
   5662   ;;
   5663 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5664   symcode='[ABDT]'
   5665   ;;
   5666 sysv4)
   5667   symcode='[DFNSTU]'
   5668   ;;
   5669 esac
   5670 
   5671 # If we're using GNU nm, then use its standard symbol codes.
   5672 case `$NM -V 2>&1` in
   5673 *GNU* | *'with BFD'*)
   5674   symcode='[ABCDGIRSTW]' ;;
   5675 esac
   5676 
   5677 # Transform an extracted symbol line into a proper C declaration.
   5678 # Some systems (esp. on ia64) link data and code symbols differently,
   5679 # so use this general approach.
   5680 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5681 
   5682 # Transform an extracted symbol line into symbol name and symbol address
   5683 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5684 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'"
   5685 
   5686 # Handle CRLF in mingw tool chain
   5687 opt_cr=
   5688 case $build_os in
   5689 mingw*)
   5690   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5691   ;;
   5692 esac
   5693 
   5694 # Try without a prefix underscore, then with it.
   5695 for ac_symprfx in "" "_"; do
   5696 
   5697   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5698   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5699 
   5700   # Write the raw and C identifiers.
   5701   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5702     # Fake it for dumpbin and say T for any non-static function
   5703     # and D for any global variable.
   5704     # Also find C++ and __fastcall symbols from MSVC++,
   5705     # which start with @ or ?.
   5706     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5707 "     {last_section=section; section=\$ 3};"\
   5708 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5709 "     \$ 0!~/External *\|/{next};"\
   5710 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5711 "     {if(hide[section]) next};"\
   5712 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5713 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5714 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5715 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5716 "     ' prfx=^$ac_symprfx"
   5717   else
   5718     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5719   fi
   5720 
   5721   # Check to see that the pipe works correctly.
   5722   pipe_works=no
   5723 
   5724   rm -f conftest*
   5725   cat > conftest.$ac_ext <<_LT_EOF
   5726 #ifdef __cplusplus
   5727 extern "C" {
   5728 #endif
   5729 char nm_test_var;
   5730 void nm_test_func(void);
   5731 void nm_test_func(void){}
   5732 #ifdef __cplusplus
   5733 }
   5734 #endif
   5735 int main(){nm_test_var='a';nm_test_func();return(0);}
   5736 _LT_EOF
   5737 
   5738   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5739   (eval $ac_compile) 2>&5
   5740   ac_status=$?
   5741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5742   test $ac_status = 0; }; then
   5743     # Now try to grab the symbols.
   5744     nlist=conftest.nm
   5745     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   5746   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5747   ac_status=$?
   5748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5749   test $ac_status = 0; } && test -s "$nlist"; then
   5750       # Try sorting and uniquifying the output.
   5751       if sort "$nlist" | uniq > "$nlist"T; then
   5752 	mv -f "$nlist"T "$nlist"
   5753       else
   5754 	rm -f "$nlist"T
   5755       fi
   5756 
   5757       # Make sure that we snagged all the symbols we need.
   5758       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5759 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5760 	  cat <<_LT_EOF > conftest.$ac_ext
   5761 #ifdef __cplusplus
   5762 extern "C" {
   5763 #endif
   5764 
   5765 _LT_EOF
   5766 	  # Now generate the symbol file.
   5767 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5768 
   5769 	  cat <<_LT_EOF >> conftest.$ac_ext
   5770 
   5771 /* The mapping between symbol names and symbols.  */
   5772 const struct {
   5773   const char *name;
   5774   void       *address;
   5775 }
   5776 lt__PROGRAM__LTX_preloaded_symbols[] =
   5777 {
   5778   { "@PROGRAM@", (void *) 0 },
   5779 _LT_EOF
   5780 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5781 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5782   {0, (void *) 0}
   5783 };
   5784 
   5785 /* This works around a problem in FreeBSD linker */
   5786 #ifdef FREEBSD_WORKAROUND
   5787 static const void *lt_preloaded_setup() {
   5788   return lt__PROGRAM__LTX_preloaded_symbols;
   5789 }
   5790 #endif
   5791 
   5792 #ifdef __cplusplus
   5793 }
   5794 #endif
   5795 _LT_EOF
   5796 	  # Now try linking the two files.
   5797 	  mv conftest.$ac_objext conftstm.$ac_objext
   5798 	  lt_save_LIBS="$LIBS"
   5799 	  lt_save_CFLAGS="$CFLAGS"
   5800 	  LIBS="conftstm.$ac_objext"
   5801 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5802 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5803   (eval $ac_link) 2>&5
   5804   ac_status=$?
   5805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5806   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5807 	    pipe_works=yes
   5808 	  fi
   5809 	  LIBS="$lt_save_LIBS"
   5810 	  CFLAGS="$lt_save_CFLAGS"
   5811 	else
   5812 	  echo "cannot find nm_test_func in $nlist" >&5
   5813 	fi
   5814       else
   5815 	echo "cannot find nm_test_var in $nlist" >&5
   5816       fi
   5817     else
   5818       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5819     fi
   5820   else
   5821     echo "$progname: failed program was:" >&5
   5822     cat conftest.$ac_ext >&5
   5823   fi
   5824   rm -rf conftest* conftst*
   5825 
   5826   # Do not use the global_symbol_pipe unless it works.
   5827   if test "$pipe_works" = yes; then
   5828     break
   5829   else
   5830     lt_cv_sys_global_symbol_pipe=
   5831   fi
   5832 done
   5833 
   5834 fi
   5835 
   5836 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5837   lt_cv_sys_global_symbol_to_cdecl=
   5838 fi
   5839 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5841 $as_echo "failed" >&6; }
   5842 else
   5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5844 $as_echo "ok" >&6; }
   5845 fi
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 # Check whether --enable-libtool-lock was given.
   5870 if test "${enable_libtool_lock+set}" = set; then :
   5871   enableval=$enable_libtool_lock;
   5872 fi
   5873 
   5874 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5875 
   5876 # Some flags need to be propagated to the compiler or linker for good
   5877 # libtool support.
   5878 case $host in
   5879 ia64-*-hpux*)
   5880   # Find out which ABI we are using.
   5881   echo 'int i;' > conftest.$ac_ext
   5882   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5883   (eval $ac_compile) 2>&5
   5884   ac_status=$?
   5885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5886   test $ac_status = 0; }; then
   5887     case `/usr/bin/file conftest.$ac_objext` in
   5888       *ELF-32*)
   5889 	HPUX_IA64_MODE="32"
   5890 	;;
   5891       *ELF-64*)
   5892 	HPUX_IA64_MODE="64"
   5893 	;;
   5894     esac
   5895   fi
   5896   rm -rf conftest*
   5897   ;;
   5898 *-*-irix6*)
   5899   # Find out which ABI we are using.
   5900   echo '#line 5900 "configure"' > conftest.$ac_ext
   5901   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5902   (eval $ac_compile) 2>&5
   5903   ac_status=$?
   5904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5905   test $ac_status = 0; }; then
   5906     if test "$lt_cv_prog_gnu_ld" = yes; then
   5907       case `/usr/bin/file conftest.$ac_objext` in
   5908 	*32-bit*)
   5909 	  LD="${LD-ld} -melf32bsmip"
   5910 	  ;;
   5911 	*N32*)
   5912 	  LD="${LD-ld} -melf32bmipn32"
   5913 	  ;;
   5914 	*64-bit*)
   5915 	  LD="${LD-ld} -melf64bmip"
   5916 	;;
   5917       esac
   5918     else
   5919       case `/usr/bin/file conftest.$ac_objext` in
   5920 	*32-bit*)
   5921 	  LD="${LD-ld} -32"
   5922 	  ;;
   5923 	*N32*)
   5924 	  LD="${LD-ld} -n32"
   5925 	  ;;
   5926 	*64-bit*)
   5927 	  LD="${LD-ld} -64"
   5928 	  ;;
   5929       esac
   5930     fi
   5931   fi
   5932   rm -rf conftest*
   5933   ;;
   5934 
   5935 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5936 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5937   # Find out which ABI we are using.
   5938   echo 'int i;' > conftest.$ac_ext
   5939   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5940   (eval $ac_compile) 2>&5
   5941   ac_status=$?
   5942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5943   test $ac_status = 0; }; then
   5944     case `/usr/bin/file conftest.o` in
   5945       *32-bit*)
   5946 	case $host in
   5947 	  x86_64-*kfreebsd*-gnu)
   5948 	    LD="${LD-ld} -m elf_i386_fbsd"
   5949 	    ;;
   5950 	  x86_64-*linux*)
   5951 	    LD="${LD-ld} -m elf_i386"
   5952 	    ;;
   5953 	  ppc64-*linux*|powerpc64-*linux*)
   5954 	    LD="${LD-ld} -m elf32ppclinux"
   5955 	    ;;
   5956 	  s390x-*linux*)
   5957 	    LD="${LD-ld} -m elf_s390"
   5958 	    ;;
   5959 	  sparc64-*linux*)
   5960 	    LD="${LD-ld} -m elf32_sparc"
   5961 	    ;;
   5962 	esac
   5963 	;;
   5964       *64-bit*)
   5965 	case $host in
   5966 	  x86_64-*kfreebsd*-gnu)
   5967 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5968 	    ;;
   5969 	  x86_64-*linux*)
   5970 	    LD="${LD-ld} -m elf_x86_64"
   5971 	    ;;
   5972 	  ppc*-*linux*|powerpc*-*linux*)
   5973 	    LD="${LD-ld} -m elf64ppc"
   5974 	    ;;
   5975 	  s390*-*linux*|s390*-*tpf*)
   5976 	    LD="${LD-ld} -m elf64_s390"
   5977 	    ;;
   5978 	  sparc*-*linux*)
   5979 	    LD="${LD-ld} -m elf64_sparc"
   5980 	    ;;
   5981 	esac
   5982 	;;
   5983     esac
   5984   fi
   5985   rm -rf conftest*
   5986   ;;
   5987 
   5988 *-*-sco3.2v5*)
   5989   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5990   SAVE_CFLAGS="$CFLAGS"
   5991   CFLAGS="$CFLAGS -belf"
   5992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   5993 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5994 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   5995   $as_echo_n "(cached) " >&6
   5996 else
   5997   ac_ext=c
   5998 ac_cpp='$CPP $CPPFLAGS'
   5999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6002 
   6003      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6004 /* end confdefs.h.  */
   6005 
   6006 int
   6007 main ()
   6008 {
   6009 
   6010   ;
   6011   return 0;
   6012 }
   6013 _ACEOF
   6014 if ac_fn_c_try_link "$LINENO"; then :
   6015   lt_cv_cc_needs_belf=yes
   6016 else
   6017   lt_cv_cc_needs_belf=no
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext \
   6020     conftest$ac_exeext conftest.$ac_ext
   6021      ac_ext=c
   6022 ac_cpp='$CPP $CPPFLAGS'
   6023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6026 
   6027 fi
   6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6029 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6030   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6031     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6032     CFLAGS="$SAVE_CFLAGS"
   6033   fi
   6034   ;;
   6035 sparc*-*solaris*)
   6036   # Find out which ABI we are using.
   6037   echo 'int i;' > conftest.$ac_ext
   6038   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6039   (eval $ac_compile) 2>&5
   6040   ac_status=$?
   6041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6042   test $ac_status = 0; }; then
   6043     case `/usr/bin/file conftest.o` in
   6044     *64-bit*)
   6045       case $lt_cv_prog_gnu_ld in
   6046       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6047       *)
   6048 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6049 	  LD="${LD-ld} -64"
   6050 	fi
   6051 	;;
   6052       esac
   6053       ;;
   6054     esac
   6055   fi
   6056   rm -rf conftest*
   6057   ;;
   6058 esac
   6059 
   6060 need_locks="$enable_libtool_lock"
   6061 
   6062 
   6063   case $host_os in
   6064     rhapsody* | darwin*)
   6065     if test -n "$ac_tool_prefix"; then
   6066   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6067 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6069 $as_echo_n "checking for $ac_word... " >&6; }
   6070 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6071   $as_echo_n "(cached) " >&6
   6072 else
   6073   if test -n "$DSYMUTIL"; then
   6074   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6075 else
   6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6077 for as_dir in $PATH
   6078 do
   6079   IFS=$as_save_IFS
   6080   test -z "$as_dir" && as_dir=.
   6081     for ac_exec_ext in '' $ac_executable_extensions; do
   6082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6083     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6085     break 2
   6086   fi
   6087 done
   6088   done
   6089 IFS=$as_save_IFS
   6090 
   6091 fi
   6092 fi
   6093 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6094 if test -n "$DSYMUTIL"; then
   6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6096 $as_echo "$DSYMUTIL" >&6; }
   6097 else
   6098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6099 $as_echo "no" >&6; }
   6100 fi
   6101 
   6102 
   6103 fi
   6104 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6105   ac_ct_DSYMUTIL=$DSYMUTIL
   6106   # Extract the first word of "dsymutil", so it can be a program name with args.
   6107 set dummy dsymutil; ac_word=$2
   6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6109 $as_echo_n "checking for $ac_word... " >&6; }
   6110 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   if test -n "$ac_ct_DSYMUTIL"; then
   6114   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6115 else
   6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6117 for as_dir in $PATH
   6118 do
   6119   IFS=$as_save_IFS
   6120   test -z "$as_dir" && as_dir=.
   6121     for ac_exec_ext in '' $ac_executable_extensions; do
   6122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6123     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6125     break 2
   6126   fi
   6127 done
   6128   done
   6129 IFS=$as_save_IFS
   6130 
   6131 fi
   6132 fi
   6133 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6134 if test -n "$ac_ct_DSYMUTIL"; then
   6135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6136 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6137 else
   6138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6139 $as_echo "no" >&6; }
   6140 fi
   6141 
   6142   if test "x$ac_ct_DSYMUTIL" = x; then
   6143     DSYMUTIL=":"
   6144   else
   6145     case $cross_compiling:$ac_tool_warned in
   6146 yes:)
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6149 ac_tool_warned=yes ;;
   6150 esac
   6151     DSYMUTIL=$ac_ct_DSYMUTIL
   6152   fi
   6153 else
   6154   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6155 fi
   6156 
   6157     if test -n "$ac_tool_prefix"; then
   6158   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6159 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6161 $as_echo_n "checking for $ac_word... " >&6; }
   6162 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   if test -n "$NMEDIT"; then
   6166   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6167 else
   6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6169 for as_dir in $PATH
   6170 do
   6171   IFS=$as_save_IFS
   6172   test -z "$as_dir" && as_dir=.
   6173     for ac_exec_ext in '' $ac_executable_extensions; do
   6174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6175     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6177     break 2
   6178   fi
   6179 done
   6180   done
   6181 IFS=$as_save_IFS
   6182 
   6183 fi
   6184 fi
   6185 NMEDIT=$ac_cv_prog_NMEDIT
   6186 if test -n "$NMEDIT"; then
   6187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6188 $as_echo "$NMEDIT" >&6; }
   6189 else
   6190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6191 $as_echo "no" >&6; }
   6192 fi
   6193 
   6194 
   6195 fi
   6196 if test -z "$ac_cv_prog_NMEDIT"; then
   6197   ac_ct_NMEDIT=$NMEDIT
   6198   # Extract the first word of "nmedit", so it can be a program name with args.
   6199 set dummy nmedit; ac_word=$2
   6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6201 $as_echo_n "checking for $ac_word... " >&6; }
   6202 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6203   $as_echo_n "(cached) " >&6
   6204 else
   6205   if test -n "$ac_ct_NMEDIT"; then
   6206   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6207 else
   6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6209 for as_dir in $PATH
   6210 do
   6211   IFS=$as_save_IFS
   6212   test -z "$as_dir" && as_dir=.
   6213     for ac_exec_ext in '' $ac_executable_extensions; do
   6214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6215     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6217     break 2
   6218   fi
   6219 done
   6220   done
   6221 IFS=$as_save_IFS
   6222 
   6223 fi
   6224 fi
   6225 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6226 if test -n "$ac_ct_NMEDIT"; then
   6227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6228 $as_echo "$ac_ct_NMEDIT" >&6; }
   6229 else
   6230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6231 $as_echo "no" >&6; }
   6232 fi
   6233 
   6234   if test "x$ac_ct_NMEDIT" = x; then
   6235     NMEDIT=":"
   6236   else
   6237     case $cross_compiling:$ac_tool_warned in
   6238 yes:)
   6239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6241 ac_tool_warned=yes ;;
   6242 esac
   6243     NMEDIT=$ac_ct_NMEDIT
   6244   fi
   6245 else
   6246   NMEDIT="$ac_cv_prog_NMEDIT"
   6247 fi
   6248 
   6249     if test -n "$ac_tool_prefix"; then
   6250   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6251 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6253 $as_echo_n "checking for $ac_word... " >&6; }
   6254 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6255   $as_echo_n "(cached) " >&6
   6256 else
   6257   if test -n "$LIPO"; then
   6258   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6259 else
   6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6261 for as_dir in $PATH
   6262 do
   6263   IFS=$as_save_IFS
   6264   test -z "$as_dir" && as_dir=.
   6265     for ac_exec_ext in '' $ac_executable_extensions; do
   6266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6267     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6269     break 2
   6270   fi
   6271 done
   6272   done
   6273 IFS=$as_save_IFS
   6274 
   6275 fi
   6276 fi
   6277 LIPO=$ac_cv_prog_LIPO
   6278 if test -n "$LIPO"; then
   6279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6280 $as_echo "$LIPO" >&6; }
   6281 else
   6282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6283 $as_echo "no" >&6; }
   6284 fi
   6285 
   6286 
   6287 fi
   6288 if test -z "$ac_cv_prog_LIPO"; then
   6289   ac_ct_LIPO=$LIPO
   6290   # Extract the first word of "lipo", so it can be a program name with args.
   6291 set dummy lipo; ac_word=$2
   6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6293 $as_echo_n "checking for $ac_word... " >&6; }
   6294 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   if test -n "$ac_ct_LIPO"; then
   6298   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6299 else
   6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6301 for as_dir in $PATH
   6302 do
   6303   IFS=$as_save_IFS
   6304   test -z "$as_dir" && as_dir=.
   6305     for ac_exec_ext in '' $ac_executable_extensions; do
   6306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6307     ac_cv_prog_ac_ct_LIPO="lipo"
   6308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6309     break 2
   6310   fi
   6311 done
   6312   done
   6313 IFS=$as_save_IFS
   6314 
   6315 fi
   6316 fi
   6317 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6318 if test -n "$ac_ct_LIPO"; then
   6319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6320 $as_echo "$ac_ct_LIPO" >&6; }
   6321 else
   6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6323 $as_echo "no" >&6; }
   6324 fi
   6325 
   6326   if test "x$ac_ct_LIPO" = x; then
   6327     LIPO=":"
   6328   else
   6329     case $cross_compiling:$ac_tool_warned in
   6330 yes:)
   6331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6333 ac_tool_warned=yes ;;
   6334 esac
   6335     LIPO=$ac_ct_LIPO
   6336   fi
   6337 else
   6338   LIPO="$ac_cv_prog_LIPO"
   6339 fi
   6340 
   6341     if test -n "$ac_tool_prefix"; then
   6342   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6343 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6345 $as_echo_n "checking for $ac_word... " >&6; }
   6346 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6347   $as_echo_n "(cached) " >&6
   6348 else
   6349   if test -n "$OTOOL"; then
   6350   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6351 else
   6352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6353 for as_dir in $PATH
   6354 do
   6355   IFS=$as_save_IFS
   6356   test -z "$as_dir" && as_dir=.
   6357     for ac_exec_ext in '' $ac_executable_extensions; do
   6358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6359     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6361     break 2
   6362   fi
   6363 done
   6364   done
   6365 IFS=$as_save_IFS
   6366 
   6367 fi
   6368 fi
   6369 OTOOL=$ac_cv_prog_OTOOL
   6370 if test -n "$OTOOL"; then
   6371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6372 $as_echo "$OTOOL" >&6; }
   6373 else
   6374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6375 $as_echo "no" >&6; }
   6376 fi
   6377 
   6378 
   6379 fi
   6380 if test -z "$ac_cv_prog_OTOOL"; then
   6381   ac_ct_OTOOL=$OTOOL
   6382   # Extract the first word of "otool", so it can be a program name with args.
   6383 set dummy otool; ac_word=$2
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6385 $as_echo_n "checking for $ac_word... " >&6; }
   6386 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389   if test -n "$ac_ct_OTOOL"; then
   6390   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6391 else
   6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6393 for as_dir in $PATH
   6394 do
   6395   IFS=$as_save_IFS
   6396   test -z "$as_dir" && as_dir=.
   6397     for ac_exec_ext in '' $ac_executable_extensions; do
   6398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6399     ac_cv_prog_ac_ct_OTOOL="otool"
   6400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6401     break 2
   6402   fi
   6403 done
   6404   done
   6405 IFS=$as_save_IFS
   6406 
   6407 fi
   6408 fi
   6409 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6410 if test -n "$ac_ct_OTOOL"; then
   6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6412 $as_echo "$ac_ct_OTOOL" >&6; }
   6413 else
   6414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6415 $as_echo "no" >&6; }
   6416 fi
   6417 
   6418   if test "x$ac_ct_OTOOL" = x; then
   6419     OTOOL=":"
   6420   else
   6421     case $cross_compiling:$ac_tool_warned in
   6422 yes:)
   6423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6425 ac_tool_warned=yes ;;
   6426 esac
   6427     OTOOL=$ac_ct_OTOOL
   6428   fi
   6429 else
   6430   OTOOL="$ac_cv_prog_OTOOL"
   6431 fi
   6432 
   6433     if test -n "$ac_tool_prefix"; then
   6434   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6435 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6437 $as_echo_n "checking for $ac_word... " >&6; }
   6438 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   6439   $as_echo_n "(cached) " >&6
   6440 else
   6441   if test -n "$OTOOL64"; then
   6442   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6443 else
   6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6445 for as_dir in $PATH
   6446 do
   6447   IFS=$as_save_IFS
   6448   test -z "$as_dir" && as_dir=.
   6449     for ac_exec_ext in '' $ac_executable_extensions; do
   6450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6451     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6452     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6453     break 2
   6454   fi
   6455 done
   6456   done
   6457 IFS=$as_save_IFS
   6458 
   6459 fi
   6460 fi
   6461 OTOOL64=$ac_cv_prog_OTOOL64
   6462 if test -n "$OTOOL64"; then
   6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6464 $as_echo "$OTOOL64" >&6; }
   6465 else
   6466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6467 $as_echo "no" >&6; }
   6468 fi
   6469 
   6470 
   6471 fi
   6472 if test -z "$ac_cv_prog_OTOOL64"; then
   6473   ac_ct_OTOOL64=$OTOOL64
   6474   # Extract the first word of "otool64", so it can be a program name with args.
   6475 set dummy otool64; ac_word=$2
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6477 $as_echo_n "checking for $ac_word... " >&6; }
   6478 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   6479   $as_echo_n "(cached) " >&6
   6480 else
   6481   if test -n "$ac_ct_OTOOL64"; then
   6482   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6483 else
   6484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6485 for as_dir in $PATH
   6486 do
   6487   IFS=$as_save_IFS
   6488   test -z "$as_dir" && as_dir=.
   6489     for ac_exec_ext in '' $ac_executable_extensions; do
   6490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6491     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6493     break 2
   6494   fi
   6495 done
   6496   done
   6497 IFS=$as_save_IFS
   6498 
   6499 fi
   6500 fi
   6501 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6502 if test -n "$ac_ct_OTOOL64"; then
   6503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6504 $as_echo "$ac_ct_OTOOL64" >&6; }
   6505 else
   6506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6507 $as_echo "no" >&6; }
   6508 fi
   6509 
   6510   if test "x$ac_ct_OTOOL64" = x; then
   6511     OTOOL64=":"
   6512   else
   6513     case $cross_compiling:$ac_tool_warned in
   6514 yes:)
   6515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6517 ac_tool_warned=yes ;;
   6518 esac
   6519     OTOOL64=$ac_ct_OTOOL64
   6520   fi
   6521 else
   6522   OTOOL64="$ac_cv_prog_OTOOL64"
   6523 fi
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6552 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6553 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   lt_cv_apple_cc_single_mod=no
   6557       if test -z "${LT_MULTI_MODULE}"; then
   6558 	# By default we will add the -single_module flag. You can override
   6559 	# by either setting the environment variable LT_MULTI_MODULE
   6560 	# non-empty at configure time, or by adding -multi_module to the
   6561 	# link flags.
   6562 	rm -rf libconftest.dylib*
   6563 	echo "int foo(void){return 1;}" > conftest.c
   6564 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6565 -dynamiclib -Wl,-single_module conftest.c" >&5
   6566 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6567 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6568         _lt_result=$?
   6569 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6570 	  lt_cv_apple_cc_single_mod=yes
   6571 	else
   6572 	  cat conftest.err >&5
   6573 	fi
   6574 	rm -rf libconftest.dylib*
   6575 	rm -f conftest.*
   6576       fi
   6577 fi
   6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6579 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6580     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6581 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6582 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   6583   $as_echo_n "(cached) " >&6
   6584 else
   6585   lt_cv_ld_exported_symbols_list=no
   6586       save_LDFLAGS=$LDFLAGS
   6587       echo "_main" > conftest.sym
   6588       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6590 /* end confdefs.h.  */
   6591 
   6592 int
   6593 main ()
   6594 {
   6595 
   6596   ;
   6597   return 0;
   6598 }
   6599 _ACEOF
   6600 if ac_fn_c_try_link "$LINENO"; then :
   6601   lt_cv_ld_exported_symbols_list=yes
   6602 else
   6603   lt_cv_ld_exported_symbols_list=no
   6604 fi
   6605 rm -f core conftest.err conftest.$ac_objext \
   6606     conftest$ac_exeext conftest.$ac_ext
   6607 	LDFLAGS="$save_LDFLAGS"
   6608 
   6609 fi
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6611 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6612     case $host_os in
   6613     rhapsody* | darwin1.[012])
   6614       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6615     darwin1.*)
   6616       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6617     darwin*) # darwin 5.x on
   6618       # if running on 10.5 or later, the deployment target defaults
   6619       # to the OS version, if on x86, and 10.4, the deployment
   6620       # target defaults to 10.4. Don't you love it?
   6621       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6622 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6623 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6624 	10.[012]*)
   6625 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6626 	10.*)
   6627 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6628       esac
   6629     ;;
   6630   esac
   6631     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6632       _lt_dar_single_mod='$single_module'
   6633     fi
   6634     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6635       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6636     else
   6637       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6638     fi
   6639     if test "$DSYMUTIL" != ":"; then
   6640       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6641     else
   6642       _lt_dsymutil=
   6643     fi
   6644     ;;
   6645   esac
   6646 
   6647 ac_ext=c
   6648 ac_cpp='$CPP $CPPFLAGS'
   6649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6653 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6654 # On Suns, sometimes $CPP names a directory.
   6655 if test -n "$CPP" && test -d "$CPP"; then
   6656   CPP=
   6657 fi
   6658 if test -z "$CPP"; then
   6659   if test "${ac_cv_prog_CPP+set}" = set; then :
   6660   $as_echo_n "(cached) " >&6
   6661 else
   6662       # Double quotes because CPP needs to be expanded
   6663     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6664     do
   6665       ac_preproc_ok=false
   6666 for ac_c_preproc_warn_flag in '' yes
   6667 do
   6668   # Use a header file that comes with gcc, so configuring glibc
   6669   # with a fresh cross-compiler works.
   6670   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6671   # <limits.h> exists even on freestanding compilers.
   6672   # On the NeXT, cc -E runs the code through the compiler's parser,
   6673   # not just through cpp. "Syntax error" is here to catch this case.
   6674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6675 /* end confdefs.h.  */
   6676 #ifdef __STDC__
   6677 # include <limits.h>
   6678 #else
   6679 # include <assert.h>
   6680 #endif
   6681 		     Syntax error
   6682 _ACEOF
   6683 if ac_fn_c_try_cpp "$LINENO"; then :
   6684 
   6685 else
   6686   # Broken: fails on valid input.
   6687 continue
   6688 fi
   6689 rm -f conftest.err conftest.$ac_ext
   6690 
   6691   # OK, works on sane cases.  Now check whether nonexistent headers
   6692   # can be detected and how.
   6693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 #include <ac_nonexistent.h>
   6696 _ACEOF
   6697 if ac_fn_c_try_cpp "$LINENO"; then :
   6698   # Broken: success on invalid input.
   6699 continue
   6700 else
   6701   # Passes both tests.
   6702 ac_preproc_ok=:
   6703 break
   6704 fi
   6705 rm -f conftest.err conftest.$ac_ext
   6706 
   6707 done
   6708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6709 rm -f conftest.err conftest.$ac_ext
   6710 if $ac_preproc_ok; then :
   6711   break
   6712 fi
   6713 
   6714     done
   6715     ac_cv_prog_CPP=$CPP
   6716 
   6717 fi
   6718   CPP=$ac_cv_prog_CPP
   6719 else
   6720   ac_cv_prog_CPP=$CPP
   6721 fi
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   6723 $as_echo "$CPP" >&6; }
   6724 ac_preproc_ok=false
   6725 for ac_c_preproc_warn_flag in '' yes
   6726 do
   6727   # Use a header file that comes with gcc, so configuring glibc
   6728   # with a fresh cross-compiler works.
   6729   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6730   # <limits.h> exists even on freestanding compilers.
   6731   # On the NeXT, cc -E runs the code through the compiler's parser,
   6732   # not just through cpp. "Syntax error" is here to catch this case.
   6733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6734 /* end confdefs.h.  */
   6735 #ifdef __STDC__
   6736 # include <limits.h>
   6737 #else
   6738 # include <assert.h>
   6739 #endif
   6740 		     Syntax error
   6741 _ACEOF
   6742 if ac_fn_c_try_cpp "$LINENO"; then :
   6743 
   6744 else
   6745   # Broken: fails on valid input.
   6746 continue
   6747 fi
   6748 rm -f conftest.err conftest.$ac_ext
   6749 
   6750   # OK, works on sane cases.  Now check whether nonexistent headers
   6751   # can be detected and how.
   6752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6753 /* end confdefs.h.  */
   6754 #include <ac_nonexistent.h>
   6755 _ACEOF
   6756 if ac_fn_c_try_cpp "$LINENO"; then :
   6757   # Broken: success on invalid input.
   6758 continue
   6759 else
   6760   # Passes both tests.
   6761 ac_preproc_ok=:
   6762 break
   6763 fi
   6764 rm -f conftest.err conftest.$ac_ext
   6765 
   6766 done
   6767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6768 rm -f conftest.err conftest.$ac_ext
   6769 if $ac_preproc_ok; then :
   6770 
   6771 else
   6772   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6774 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   6775 See \`config.log' for more details." "$LINENO" 5; }
   6776 fi
   6777 
   6778 ac_ext=c
   6779 ac_cpp='$CPP $CPPFLAGS'
   6780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6783 
   6784 
   6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6786 $as_echo_n "checking for ANSI C header files... " >&6; }
   6787 if test "${ac_cv_header_stdc+set}" = set; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 #include <stdlib.h>
   6793 #include <stdarg.h>
   6794 #include <string.h>
   6795 #include <float.h>
   6796 
   6797 int
   6798 main ()
   6799 {
   6800 
   6801   ;
   6802   return 0;
   6803 }
   6804 _ACEOF
   6805 if ac_fn_c_try_compile "$LINENO"; then :
   6806   ac_cv_header_stdc=yes
   6807 else
   6808   ac_cv_header_stdc=no
   6809 fi
   6810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6811 
   6812 if test $ac_cv_header_stdc = yes; then
   6813   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 #include <string.h>
   6817 
   6818 _ACEOF
   6819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6820   $EGREP "memchr" >/dev/null 2>&1; then :
   6821 
   6822 else
   6823   ac_cv_header_stdc=no
   6824 fi
   6825 rm -f conftest*
   6826 
   6827 fi
   6828 
   6829 if test $ac_cv_header_stdc = yes; then
   6830   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 #include <stdlib.h>
   6834 
   6835 _ACEOF
   6836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6837   $EGREP "free" >/dev/null 2>&1; then :
   6838 
   6839 else
   6840   ac_cv_header_stdc=no
   6841 fi
   6842 rm -f conftest*
   6843 
   6844 fi
   6845 
   6846 if test $ac_cv_header_stdc = yes; then
   6847   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6848   if test "$cross_compiling" = yes; then :
   6849   :
   6850 else
   6851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6852 /* end confdefs.h.  */
   6853 #include <ctype.h>
   6854 #include <stdlib.h>
   6855 #if ((' ' & 0x0FF) == 0x020)
   6856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6858 #else
   6859 # define ISLOWER(c) \
   6860 		   (('a' <= (c) && (c) <= 'i') \
   6861 		     || ('j' <= (c) && (c) <= 'r') \
   6862 		     || ('s' <= (c) && (c) <= 'z'))
   6863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6864 #endif
   6865 
   6866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6867 int
   6868 main ()
   6869 {
   6870   int i;
   6871   for (i = 0; i < 256; i++)
   6872     if (XOR (islower (i), ISLOWER (i))
   6873 	|| toupper (i) != TOUPPER (i))
   6874       return 2;
   6875   return 0;
   6876 }
   6877 _ACEOF
   6878 if ac_fn_c_try_run "$LINENO"; then :
   6879 
   6880 else
   6881   ac_cv_header_stdc=no
   6882 fi
   6883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6884   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6885 fi
   6886 
   6887 fi
   6888 fi
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6890 $as_echo "$ac_cv_header_stdc" >&6; }
   6891 if test $ac_cv_header_stdc = yes; then
   6892 
   6893 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6894 
   6895 fi
   6896 
   6897 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6898 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6899 		  inttypes.h stdint.h unistd.h
   6900 do :
   6901   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6902 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   6903 "
   6904 eval as_val=\$$as_ac_Header
   6905    if test "x$as_val" = x""yes; then :
   6906   cat >>confdefs.h <<_ACEOF
   6907 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6908 _ACEOF
   6909 
   6910 fi
   6911 
   6912 done
   6913 
   6914 
   6915 for ac_header in dlfcn.h
   6916 do :
   6917   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   6918 "
   6919 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   6920   cat >>confdefs.h <<_ACEOF
   6921 #define HAVE_DLFCN_H 1
   6922 _ACEOF
   6923 
   6924 fi
   6925 
   6926 done
   6927 
   6928 
   6929 
   6930 # Set options
   6931 
   6932 
   6933 
   6934         enable_dlopen=no
   6935 
   6936 
   6937   enable_win32_dll=no
   6938 
   6939 
   6940             # Check whether --enable-shared was given.
   6941 if test "${enable_shared+set}" = set; then :
   6942   enableval=$enable_shared; p=${PACKAGE-default}
   6943     case $enableval in
   6944     yes) enable_shared=yes ;;
   6945     no) enable_shared=no ;;
   6946     *)
   6947       enable_shared=no
   6948       # Look at the argument we got.  We use all the common list separators.
   6949       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6950       for pkg in $enableval; do
   6951 	IFS="$lt_save_ifs"
   6952 	if test "X$pkg" = "X$p"; then
   6953 	  enable_shared=yes
   6954 	fi
   6955       done
   6956       IFS="$lt_save_ifs"
   6957       ;;
   6958     esac
   6959 else
   6960   enable_shared=yes
   6961 fi
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971   # Check whether --enable-static was given.
   6972 if test "${enable_static+set}" = set; then :
   6973   enableval=$enable_static; p=${PACKAGE-default}
   6974     case $enableval in
   6975     yes) enable_static=yes ;;
   6976     no) enable_static=no ;;
   6977     *)
   6978      enable_static=no
   6979       # Look at the argument we got.  We use all the common list separators.
   6980       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6981       for pkg in $enableval; do
   6982 	IFS="$lt_save_ifs"
   6983 	if test "X$pkg" = "X$p"; then
   6984 	  enable_static=yes
   6985 	fi
   6986       done
   6987       IFS="$lt_save_ifs"
   6988       ;;
   6989     esac
   6990 else
   6991   enable_static=yes
   6992 fi
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 # Check whether --with-pic was given.
   7004 if test "${with_pic+set}" = set; then :
   7005   withval=$with_pic; pic_mode="$withval"
   7006 else
   7007   pic_mode=default
   7008 fi
   7009 
   7010 
   7011 test -z "$pic_mode" && pic_mode=default
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019   # Check whether --enable-fast-install was given.
   7020 if test "${enable_fast_install+set}" = set; then :
   7021   enableval=$enable_fast_install; p=${PACKAGE-default}
   7022     case $enableval in
   7023     yes) enable_fast_install=yes ;;
   7024     no) enable_fast_install=no ;;
   7025     *)
   7026       enable_fast_install=no
   7027       # Look at the argument we got.  We use all the common list separators.
   7028       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7029       for pkg in $enableval; do
   7030 	IFS="$lt_save_ifs"
   7031 	if test "X$pkg" = "X$p"; then
   7032 	  enable_fast_install=yes
   7033 	fi
   7034       done
   7035       IFS="$lt_save_ifs"
   7036       ;;
   7037     esac
   7038 else
   7039   enable_fast_install=yes
   7040 fi
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 # This can be used to rebuild libtool when needed
   7053 LIBTOOL_DEPS="$ltmain"
   7054 
   7055 # Always use our own libtool.
   7056 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 test -z "$LN_S" && LN_S="ln -s"
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 if test -n "${ZSH_VERSION+set}" ; then
   7098    setopt NO_GLOB_SUBST
   7099 fi
   7100 
   7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7102 $as_echo_n "checking for objdir... " >&6; }
   7103 if test "${lt_cv_objdir+set}" = set; then :
   7104   $as_echo_n "(cached) " >&6
   7105 else
   7106   rm -f .libs 2>/dev/null
   7107 mkdir .libs 2>/dev/null
   7108 if test -d .libs; then
   7109   lt_cv_objdir=.libs
   7110 else
   7111   # MS-DOS does not allow filenames that begin with a dot.
   7112   lt_cv_objdir=_libs
   7113 fi
   7114 rmdir .libs 2>/dev/null
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7117 $as_echo "$lt_cv_objdir" >&6; }
   7118 objdir=$lt_cv_objdir
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 cat >>confdefs.h <<_ACEOF
   7125 #define LT_OBJDIR "$lt_cv_objdir/"
   7126 _ACEOF
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 case $host_os in
   7145 aix3*)
   7146   # AIX sometimes has problems with the GCC collect2 program.  For some
   7147   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7148   # vanish in a puff of smoke.
   7149   if test "X${COLLECT_NAMES+set}" != Xset; then
   7150     COLLECT_NAMES=
   7151     export COLLECT_NAMES
   7152   fi
   7153   ;;
   7154 esac
   7155 
   7156 # Sed substitution that helps us do robust quoting.  It backslashifies
   7157 # metacharacters that are still active within double-quoted strings.
   7158 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7159 
   7160 # Same as above, but do not quote variable references.
   7161 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7162 
   7163 # Sed substitution to delay expansion of an escaped shell variable in a
   7164 # double_quote_subst'ed string.
   7165 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7166 
   7167 # Sed substitution to delay expansion of an escaped single quote.
   7168 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7169 
   7170 # Sed substitution to avoid accidental globbing in evaled expressions
   7171 no_glob_subst='s/\*/\\\*/g'
   7172 
   7173 # Global variables:
   7174 ofile=libtool
   7175 can_build_shared=yes
   7176 
   7177 # All known linkers require a `.a' archive for static linking (except MSVC,
   7178 # which needs '.lib').
   7179 libext=a
   7180 
   7181 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7182 
   7183 old_CC="$CC"
   7184 old_CFLAGS="$CFLAGS"
   7185 
   7186 # Set sane defaults for various variables
   7187 test -z "$CC" && CC=cc
   7188 test -z "$LTCC" && LTCC=$CC
   7189 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7190 test -z "$LD" && LD=ld
   7191 test -z "$ac_objext" && ac_objext=o
   7192 
   7193 for cc_temp in $compiler""; do
   7194   case $cc_temp in
   7195     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7196     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7197     \-*) ;;
   7198     *) break;;
   7199   esac
   7200 done
   7201 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7202 
   7203 
   7204 # Only perform the check for file, if the check method requires it
   7205 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7206 case $deplibs_check_method in
   7207 file_magic*)
   7208   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7210 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7211 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7212   $as_echo_n "(cached) " >&6
   7213 else
   7214   case $MAGIC_CMD in
   7215 [\\/*] |  ?:[\\/]*)
   7216   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7217   ;;
   7218 *)
   7219   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7220   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7221   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7222   for ac_dir in $ac_dummy; do
   7223     IFS="$lt_save_ifs"
   7224     test -z "$ac_dir" && ac_dir=.
   7225     if test -f $ac_dir/${ac_tool_prefix}file; then
   7226       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7227       if test -n "$file_magic_test_file"; then
   7228 	case $deplibs_check_method in
   7229 	"file_magic "*)
   7230 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7231 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7232 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7233 	    $EGREP "$file_magic_regex" > /dev/null; then
   7234 	    :
   7235 	  else
   7236 	    cat <<_LT_EOF 1>&2
   7237 
   7238 *** Warning: the command libtool uses to detect shared libraries,
   7239 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7240 *** The result is that libtool may fail to recognize shared libraries
   7241 *** as such.  This will affect the creation of libtool libraries that
   7242 *** depend on shared libraries, but programs linked with such libtool
   7243 *** libraries will work regardless of this problem.  Nevertheless, you
   7244 *** may want to report the problem to your system manager and/or to
   7245 *** bug-libtool@gnu.org
   7246 
   7247 _LT_EOF
   7248 	  fi ;;
   7249 	esac
   7250       fi
   7251       break
   7252     fi
   7253   done
   7254   IFS="$lt_save_ifs"
   7255   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7256   ;;
   7257 esac
   7258 fi
   7259 
   7260 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7261 if test -n "$MAGIC_CMD"; then
   7262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7263 $as_echo "$MAGIC_CMD" >&6; }
   7264 else
   7265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7266 $as_echo "no" >&6; }
   7267 fi
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7274   if test -n "$ac_tool_prefix"; then
   7275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7276 $as_echo_n "checking for file... " >&6; }
   7277 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7278   $as_echo_n "(cached) " >&6
   7279 else
   7280   case $MAGIC_CMD in
   7281 [\\/*] |  ?:[\\/]*)
   7282   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7283   ;;
   7284 *)
   7285   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7286   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7287   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7288   for ac_dir in $ac_dummy; do
   7289     IFS="$lt_save_ifs"
   7290     test -z "$ac_dir" && ac_dir=.
   7291     if test -f $ac_dir/file; then
   7292       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7293       if test -n "$file_magic_test_file"; then
   7294 	case $deplibs_check_method in
   7295 	"file_magic "*)
   7296 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7297 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7298 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7299 	    $EGREP "$file_magic_regex" > /dev/null; then
   7300 	    :
   7301 	  else
   7302 	    cat <<_LT_EOF 1>&2
   7303 
   7304 *** Warning: the command libtool uses to detect shared libraries,
   7305 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7306 *** The result is that libtool may fail to recognize shared libraries
   7307 *** as such.  This will affect the creation of libtool libraries that
   7308 *** depend on shared libraries, but programs linked with such libtool
   7309 *** libraries will work regardless of this problem.  Nevertheless, you
   7310 *** may want to report the problem to your system manager and/or to
   7311 *** bug-libtool@gnu.org
   7312 
   7313 _LT_EOF
   7314 	  fi ;;
   7315 	esac
   7316       fi
   7317       break
   7318     fi
   7319   done
   7320   IFS="$lt_save_ifs"
   7321   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7322   ;;
   7323 esac
   7324 fi
   7325 
   7326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7327 if test -n "$MAGIC_CMD"; then
   7328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7329 $as_echo "$MAGIC_CMD" >&6; }
   7330 else
   7331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7332 $as_echo "no" >&6; }
   7333 fi
   7334 
   7335 
   7336   else
   7337     MAGIC_CMD=:
   7338   fi
   7339 fi
   7340 
   7341   fi
   7342   ;;
   7343 esac
   7344 
   7345 # Use C for the default configuration in the libtool script
   7346 
   7347 lt_save_CC="$CC"
   7348 ac_ext=c
   7349 ac_cpp='$CPP $CPPFLAGS'
   7350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7353 
   7354 
   7355 # Source file extension for C test sources.
   7356 ac_ext=c
   7357 
   7358 # Object file extension for compiled C test sources.
   7359 objext=o
   7360 objext=$objext
   7361 
   7362 # Code to be used in simple compile tests
   7363 lt_simple_compile_test_code="int some_variable = 0;"
   7364 
   7365 # Code to be used in simple link tests
   7366 lt_simple_link_test_code='int main(){return(0);}'
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 # If no C compiler was specified, use CC.
   7375 LTCC=${LTCC-"$CC"}
   7376 
   7377 # If no C compiler flags were specified, use CFLAGS.
   7378 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7379 
   7380 # Allow CC to be a program name with arguments.
   7381 compiler=$CC
   7382 
   7383 # Save the default compiler, since it gets overwritten when the other
   7384 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7385 compiler_DEFAULT=$CC
   7386 
   7387 # save warnings/boilerplate of simple test code
   7388 ac_outfile=conftest.$ac_objext
   7389 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7390 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7391 _lt_compiler_boilerplate=`cat conftest.err`
   7392 $RM conftest*
   7393 
   7394 ac_outfile=conftest.$ac_objext
   7395 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7396 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7397 _lt_linker_boilerplate=`cat conftest.err`
   7398 $RM -r conftest*
   7399 
   7400 
   7401 if test -n "$compiler"; then
   7402 
   7403 lt_prog_compiler_no_builtin_flag=
   7404 
   7405 if test "$GCC" = yes; then
   7406   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7407 
   7408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7409 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7410 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7411   $as_echo_n "(cached) " >&6
   7412 else
   7413   lt_cv_prog_compiler_rtti_exceptions=no
   7414    ac_outfile=conftest.$ac_objext
   7415    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7416    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7417    # Insert the option either (1) after the last *FLAGS variable, or
   7418    # (2) before a word containing "conftest.", or (3) at the end.
   7419    # Note that $ac_compile itself does not contain backslashes and begins
   7420    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7421    # The option is referenced via a variable to avoid confusing sed.
   7422    lt_compile=`echo "$ac_compile" | $SED \
   7423    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7424    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7425    -e 's:$: $lt_compiler_flag:'`
   7426    (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
   7427    (eval "$lt_compile" 2>conftest.err)
   7428    ac_status=$?
   7429    cat conftest.err >&5
   7430    echo "$as_me:7430: \$? = $ac_status" >&5
   7431    if (exit $ac_status) && test -s "$ac_outfile"; then
   7432      # The compiler can only warn and ignore the option if not recognized
   7433      # So say no if there are warnings other than the usual output.
   7434      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7435      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7436      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7437        lt_cv_prog_compiler_rtti_exceptions=yes
   7438      fi
   7439    fi
   7440    $RM conftest*
   7441 
   7442 fi
   7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7444 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7445 
   7446 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7447     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7448 else
   7449     :
   7450 fi
   7451 
   7452 fi
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459   lt_prog_compiler_wl=
   7460 lt_prog_compiler_pic=
   7461 lt_prog_compiler_static=
   7462 
   7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7464 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7465 
   7466   if test "$GCC" = yes; then
   7467     lt_prog_compiler_wl='-Wl,'
   7468     lt_prog_compiler_static='-static'
   7469 
   7470     case $host_os in
   7471       aix*)
   7472       # All AIX code is PIC.
   7473       if test "$host_cpu" = ia64; then
   7474 	# AIX 5 now supports IA64 processor
   7475 	lt_prog_compiler_static='-Bstatic'
   7476       fi
   7477       ;;
   7478 
   7479     amigaos*)
   7480       case $host_cpu in
   7481       powerpc)
   7482             # see comment about AmigaOS4 .so support
   7483             lt_prog_compiler_pic='-fPIC'
   7484         ;;
   7485       m68k)
   7486             # FIXME: we need at least 68020 code to build shared libraries, but
   7487             # adding the `-m68020' flag to GCC prevents building anything better,
   7488             # like `-m68040'.
   7489             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7490         ;;
   7491       esac
   7492       ;;
   7493 
   7494     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7495       # PIC is the default for these OSes.
   7496       ;;
   7497 
   7498     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7499       # This hack is so that the source file can tell whether it is being
   7500       # built for inclusion in a dll (and should export symbols for example).
   7501       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7502       # (--disable-auto-import) libraries
   7503       lt_prog_compiler_pic='-DDLL_EXPORT'
   7504       ;;
   7505 
   7506     darwin* | rhapsody*)
   7507       # PIC is the default on this platform
   7508       # Common symbols not allowed in MH_DYLIB files
   7509       lt_prog_compiler_pic='-fno-common'
   7510       ;;
   7511 
   7512     hpux*)
   7513       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7514       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7515       # sets the default TLS model and affects inlining.
   7516       case $host_cpu in
   7517       hppa*64*)
   7518 	# +Z the default
   7519 	;;
   7520       *)
   7521 	lt_prog_compiler_pic='-fPIC'
   7522 	;;
   7523       esac
   7524       ;;
   7525 
   7526     interix[3-9]*)
   7527       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7528       # Instead, we relocate shared libraries at runtime.
   7529       ;;
   7530 
   7531     msdosdjgpp*)
   7532       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7533       # on systems that don't support them.
   7534       lt_prog_compiler_can_build_shared=no
   7535       enable_shared=no
   7536       ;;
   7537 
   7538     *nto* | *qnx*)
   7539       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7540       # it will coredump.
   7541       lt_prog_compiler_pic='-fPIC -shared'
   7542       ;;
   7543 
   7544     sysv4*MP*)
   7545       if test -d /usr/nec; then
   7546 	lt_prog_compiler_pic=-Kconform_pic
   7547       fi
   7548       ;;
   7549 
   7550     *)
   7551       lt_prog_compiler_pic='-fPIC'
   7552       ;;
   7553     esac
   7554   else
   7555     # PORTME Check for flag to pass linker flags through the system compiler.
   7556     case $host_os in
   7557     aix*)
   7558       lt_prog_compiler_wl='-Wl,'
   7559       if test "$host_cpu" = ia64; then
   7560 	# AIX 5 now supports IA64 processor
   7561 	lt_prog_compiler_static='-Bstatic'
   7562       else
   7563 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7564       fi
   7565       ;;
   7566 
   7567     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7568       # This hack is so that the source file can tell whether it is being
   7569       # built for inclusion in a dll (and should export symbols for example).
   7570       lt_prog_compiler_pic='-DDLL_EXPORT'
   7571       ;;
   7572 
   7573     hpux9* | hpux10* | hpux11*)
   7574       lt_prog_compiler_wl='-Wl,'
   7575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7576       # not for PA HP-UX.
   7577       case $host_cpu in
   7578       hppa*64*|ia64*)
   7579 	# +Z the default
   7580 	;;
   7581       *)
   7582 	lt_prog_compiler_pic='+Z'
   7583 	;;
   7584       esac
   7585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7586       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7587       ;;
   7588 
   7589     irix5* | irix6* | nonstopux*)
   7590       lt_prog_compiler_wl='-Wl,'
   7591       # PIC (with -KPIC) is the default.
   7592       lt_prog_compiler_static='-non_shared'
   7593       ;;
   7594 
   7595     linux* | k*bsd*-gnu)
   7596       case $cc_basename in
   7597       # old Intel for x86_64 which still supported -KPIC.
   7598       ecc*)
   7599 	lt_prog_compiler_wl='-Wl,'
   7600 	lt_prog_compiler_pic='-KPIC'
   7601 	lt_prog_compiler_static='-static'
   7602         ;;
   7603       # icc used to be incompatible with GCC.
   7604       # ICC 10 doesn't accept -KPIC any more.
   7605       icc* | ifort*)
   7606 	lt_prog_compiler_wl='-Wl,'
   7607 	lt_prog_compiler_pic='-fPIC'
   7608 	lt_prog_compiler_static='-static'
   7609         ;;
   7610       # Lahey Fortran 8.1.
   7611       lf95*)
   7612 	lt_prog_compiler_wl='-Wl,'
   7613 	lt_prog_compiler_pic='--shared'
   7614 	lt_prog_compiler_static='--static'
   7615 	;;
   7616       pgcc* | pgf77* | pgf90* | pgf95*)
   7617         # Portland Group compilers (*not* the Pentium gcc compiler,
   7618 	# which looks to be a dead project)
   7619 	lt_prog_compiler_wl='-Wl,'
   7620 	lt_prog_compiler_pic='-fpic'
   7621 	lt_prog_compiler_static='-Bstatic'
   7622         ;;
   7623       ccc*)
   7624         lt_prog_compiler_wl='-Wl,'
   7625         # All Alpha code is PIC.
   7626         lt_prog_compiler_static='-non_shared'
   7627         ;;
   7628       xl*)
   7629 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7630 	lt_prog_compiler_wl='-Wl,'
   7631 	lt_prog_compiler_pic='-qpic'
   7632 	lt_prog_compiler_static='-qstaticlink'
   7633 	;;
   7634       *)
   7635 	case `$CC -V 2>&1 | sed 5q` in
   7636 	*Sun\ C*)
   7637 	  # Sun C 5.9
   7638 	  lt_prog_compiler_pic='-KPIC'
   7639 	  lt_prog_compiler_static='-Bstatic'
   7640 	  lt_prog_compiler_wl='-Wl,'
   7641 	  ;;
   7642 	*Sun\ F*)
   7643 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7644 	  lt_prog_compiler_pic='-KPIC'
   7645 	  lt_prog_compiler_static='-Bstatic'
   7646 	  lt_prog_compiler_wl=''
   7647 	  ;;
   7648 	esac
   7649 	;;
   7650       esac
   7651       ;;
   7652 
   7653     newsos6)
   7654       lt_prog_compiler_pic='-KPIC'
   7655       lt_prog_compiler_static='-Bstatic'
   7656       ;;
   7657 
   7658     *nto* | *qnx*)
   7659       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7660       # it will coredump.
   7661       lt_prog_compiler_pic='-fPIC -shared'
   7662       ;;
   7663 
   7664     osf3* | osf4* | osf5*)
   7665       lt_prog_compiler_wl='-Wl,'
   7666       # All OSF/1 code is PIC.
   7667       lt_prog_compiler_static='-non_shared'
   7668       ;;
   7669 
   7670     rdos*)
   7671       lt_prog_compiler_static='-non_shared'
   7672       ;;
   7673 
   7674     solaris*)
   7675       lt_prog_compiler_pic='-KPIC'
   7676       lt_prog_compiler_static='-Bstatic'
   7677       case $cc_basename in
   7678       f77* | f90* | f95*)
   7679 	lt_prog_compiler_wl='-Qoption ld ';;
   7680       *)
   7681 	lt_prog_compiler_wl='-Wl,';;
   7682       esac
   7683       ;;
   7684 
   7685     sunos4*)
   7686       lt_prog_compiler_wl='-Qoption ld '
   7687       lt_prog_compiler_pic='-PIC'
   7688       lt_prog_compiler_static='-Bstatic'
   7689       ;;
   7690 
   7691     sysv4 | sysv4.2uw2* | sysv4.3*)
   7692       lt_prog_compiler_wl='-Wl,'
   7693       lt_prog_compiler_pic='-KPIC'
   7694       lt_prog_compiler_static='-Bstatic'
   7695       ;;
   7696 
   7697     sysv4*MP*)
   7698       if test -d /usr/nec ;then
   7699 	lt_prog_compiler_pic='-Kconform_pic'
   7700 	lt_prog_compiler_static='-Bstatic'
   7701       fi
   7702       ;;
   7703 
   7704     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7705       lt_prog_compiler_wl='-Wl,'
   7706       lt_prog_compiler_pic='-KPIC'
   7707       lt_prog_compiler_static='-Bstatic'
   7708       ;;
   7709 
   7710     unicos*)
   7711       lt_prog_compiler_wl='-Wl,'
   7712       lt_prog_compiler_can_build_shared=no
   7713       ;;
   7714 
   7715     uts4*)
   7716       lt_prog_compiler_pic='-pic'
   7717       lt_prog_compiler_static='-Bstatic'
   7718       ;;
   7719 
   7720     *)
   7721       lt_prog_compiler_can_build_shared=no
   7722       ;;
   7723     esac
   7724   fi
   7725 
   7726 case $host_os in
   7727   # For platforms which do not support PIC, -DPIC is meaningless:
   7728   *djgpp*)
   7729     lt_prog_compiler_pic=
   7730     ;;
   7731   *)
   7732     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7733     ;;
   7734 esac
   7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   7736 $as_echo "$lt_prog_compiler_pic" >&6; }
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 #
   7744 # Check to make sure the PIC flag actually works.
   7745 #
   7746 if test -n "$lt_prog_compiler_pic"; then
   7747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7748 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7749 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   7750   $as_echo_n "(cached) " >&6
   7751 else
   7752   lt_cv_prog_compiler_pic_works=no
   7753    ac_outfile=conftest.$ac_objext
   7754    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7755    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7756    # Insert the option either (1) after the last *FLAGS variable, or
   7757    # (2) before a word containing "conftest.", or (3) at the end.
   7758    # Note that $ac_compile itself does not contain backslashes and begins
   7759    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7760    # The option is referenced via a variable to avoid confusing sed.
   7761    lt_compile=`echo "$ac_compile" | $SED \
   7762    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7763    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7764    -e 's:$: $lt_compiler_flag:'`
   7765    (eval echo "\"\$as_me:7765: $lt_compile\"" >&5)
   7766    (eval "$lt_compile" 2>conftest.err)
   7767    ac_status=$?
   7768    cat conftest.err >&5
   7769    echo "$as_me:7769: \$? = $ac_status" >&5
   7770    if (exit $ac_status) && test -s "$ac_outfile"; then
   7771      # The compiler can only warn and ignore the option if not recognized
   7772      # So say no if there are warnings other than the usual output.
   7773      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7774      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7775      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7776        lt_cv_prog_compiler_pic_works=yes
   7777      fi
   7778    fi
   7779    $RM conftest*
   7780 
   7781 fi
   7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   7783 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7784 
   7785 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7786     case $lt_prog_compiler_pic in
   7787      "" | " "*) ;;
   7788      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7789      esac
   7790 else
   7791     lt_prog_compiler_pic=
   7792      lt_prog_compiler_can_build_shared=no
   7793 fi
   7794 
   7795 fi
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 #
   7803 # Check to make sure the static flag actually works.
   7804 #
   7805 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7807 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7808 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   7809   $as_echo_n "(cached) " >&6
   7810 else
   7811   lt_cv_prog_compiler_static_works=no
   7812    save_LDFLAGS="$LDFLAGS"
   7813    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7814    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7815    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7816      # The linker can only warn and ignore the option if not recognized
   7817      # So say no if there are warnings
   7818      if test -s conftest.err; then
   7819        # Append any errors to the config.log.
   7820        cat conftest.err 1>&5
   7821        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7822        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7823        if diff conftest.exp conftest.er2 >/dev/null; then
   7824          lt_cv_prog_compiler_static_works=yes
   7825        fi
   7826      else
   7827        lt_cv_prog_compiler_static_works=yes
   7828      fi
   7829    fi
   7830    $RM -r conftest*
   7831    LDFLAGS="$save_LDFLAGS"
   7832 
   7833 fi
   7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   7835 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7836 
   7837 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7838     :
   7839 else
   7840     lt_prog_compiler_static=
   7841 fi
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7850 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7851 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   lt_cv_prog_compiler_c_o=no
   7855    $RM -r conftest 2>/dev/null
   7856    mkdir conftest
   7857    cd conftest
   7858    mkdir out
   7859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7860 
   7861    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7862    # Insert the option either (1) after the last *FLAGS variable, or
   7863    # (2) before a word containing "conftest.", or (3) at the end.
   7864    # Note that $ac_compile itself does not contain backslashes and begins
   7865    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7866    lt_compile=`echo "$ac_compile" | $SED \
   7867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7869    -e 's:$: $lt_compiler_flag:'`
   7870    (eval echo "\"\$as_me:7870: $lt_compile\"" >&5)
   7871    (eval "$lt_compile" 2>out/conftest.err)
   7872    ac_status=$?
   7873    cat out/conftest.err >&5
   7874    echo "$as_me:7874: \$? = $ac_status" >&5
   7875    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7876    then
   7877      # The compiler can only warn and ignore the option if not recognized
   7878      # So say no if there are warnings
   7879      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7880      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7881      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7882        lt_cv_prog_compiler_c_o=yes
   7883      fi
   7884    fi
   7885    chmod u+w . 2>&5
   7886    $RM conftest*
   7887    # SGI C++ compiler will create directory out/ii_files/ for
   7888    # template instantiation
   7889    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7890    $RM out/* && rmdir out
   7891    cd ..
   7892    $RM -r conftest
   7893    $RM conftest*
   7894 
   7895 fi
   7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7897 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   7905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   lt_cv_prog_compiler_c_o=no
   7910    $RM -r conftest 2>/dev/null
   7911    mkdir conftest
   7912    cd conftest
   7913    mkdir out
   7914    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7915 
   7916    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7917    # Insert the option either (1) after the last *FLAGS variable, or
   7918    # (2) before a word containing "conftest.", or (3) at the end.
   7919    # Note that $ac_compile itself does not contain backslashes and begins
   7920    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7921    lt_compile=`echo "$ac_compile" | $SED \
   7922    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7923    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7924    -e 's:$: $lt_compiler_flag:'`
   7925    (eval echo "\"\$as_me:7925: $lt_compile\"" >&5)
   7926    (eval "$lt_compile" 2>out/conftest.err)
   7927    ac_status=$?
   7928    cat out/conftest.err >&5
   7929    echo "$as_me:7929: \$? = $ac_status" >&5
   7930    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7931    then
   7932      # The compiler can only warn and ignore the option if not recognized
   7933      # So say no if there are warnings
   7934      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7935      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7936      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7937        lt_cv_prog_compiler_c_o=yes
   7938      fi
   7939    fi
   7940    chmod u+w . 2>&5
   7941    $RM conftest*
   7942    # SGI C++ compiler will create directory out/ii_files/ for
   7943    # template instantiation
   7944    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7945    $RM out/* && rmdir out
   7946    cd ..
   7947    $RM -r conftest
   7948    $RM conftest*
   7949 
   7950 fi
   7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   7952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7953 
   7954 
   7955 
   7956 
   7957 hard_links="nottested"
   7958 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7959   # do not overwrite the value of need_locks provided by the user
   7960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   7961 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7962   hard_links=yes
   7963   $RM conftest*
   7964   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7965   touch conftest.a
   7966   ln conftest.a conftest.b 2>&5 || hard_links=no
   7967   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   7969 $as_echo "$hard_links" >&6; }
   7970   if test "$hard_links" = no; then
   7971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7972 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7973     need_locks=warn
   7974   fi
   7975 else
   7976   need_locks=no
   7977 fi
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7985 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   7986 
   7987   runpath_var=
   7988   allow_undefined_flag=
   7989   always_export_symbols=no
   7990   archive_cmds=
   7991   archive_expsym_cmds=
   7992   compiler_needs_object=no
   7993   enable_shared_with_static_runtimes=no
   7994   export_dynamic_flag_spec=
   7995   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7996   hardcode_automatic=no
   7997   hardcode_direct=no
   7998   hardcode_direct_absolute=no
   7999   hardcode_libdir_flag_spec=
   8000   hardcode_libdir_flag_spec_ld=
   8001   hardcode_libdir_separator=
   8002   hardcode_minus_L=no
   8003   hardcode_shlibpath_var=unsupported
   8004   inherit_rpath=no
   8005   link_all_deplibs=unknown
   8006   module_cmds=
   8007   module_expsym_cmds=
   8008   old_archive_from_new_cmds=
   8009   old_archive_from_expsyms_cmds=
   8010   thread_safe_flag_spec=
   8011   whole_archive_flag_spec=
   8012   # include_expsyms should be a list of space-separated symbols to be *always*
   8013   # included in the symbol list
   8014   include_expsyms=
   8015   # exclude_expsyms can be an extended regexp of symbols to exclude
   8016   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8017   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8018   # as well as any symbol that contains `d'.
   8019   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8020   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8021   # platforms (ab)use it in PIC code, but their linkers get confused if
   8022   # the symbol is explicitly referenced.  Since portable code cannot
   8023   # rely on this symbol name, it's probably fine to never include it in
   8024   # preloaded symbol tables.
   8025   # Exclude shared library initialization/finalization symbols.
   8026   extract_expsyms_cmds=
   8027 
   8028   case $host_os in
   8029   cygwin* | mingw* | pw32* | cegcc*)
   8030     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8031     # When not using gcc, we currently assume that we are using
   8032     # Microsoft Visual C++.
   8033     if test "$GCC" != yes; then
   8034       with_gnu_ld=no
   8035     fi
   8036     ;;
   8037   interix*)
   8038     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8039     with_gnu_ld=yes
   8040     ;;
   8041   openbsd*)
   8042     with_gnu_ld=no
   8043     ;;
   8044   linux* | k*bsd*-gnu)
   8045     link_all_deplibs=no
   8046     ;;
   8047   esac
   8048 
   8049   ld_shlibs=yes
   8050   if test "$with_gnu_ld" = yes; then
   8051     # If archive_cmds runs LD, not CC, wlarc should be empty
   8052     wlarc='${wl}'
   8053 
   8054     # Set some defaults for GNU ld with shared library support. These
   8055     # are reset later if shared libraries are not supported. Putting them
   8056     # here allows them to be overridden if necessary.
   8057     runpath_var=LD_RUN_PATH
   8058     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8059     export_dynamic_flag_spec='${wl}--export-dynamic'
   8060     # ancient GNU ld didn't support --whole-archive et. al.
   8061     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8062       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8063     else
   8064       whole_archive_flag_spec=
   8065     fi
   8066     supports_anon_versioning=no
   8067     case `$LD -v 2>&1` in
   8068       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8069       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8070       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8071       *\ 2.11.*) ;; # other 2.11 versions
   8072       *) supports_anon_versioning=yes ;;
   8073     esac
   8074 
   8075     # See if GNU ld supports shared libraries.
   8076     case $host_os in
   8077     aix[3-9]*)
   8078       # On AIX/PPC, the GNU linker is very broken
   8079       if test "$host_cpu" != ia64; then
   8080 	ld_shlibs=no
   8081 	cat <<_LT_EOF 1>&2
   8082 
   8083 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8084 *** to be unable to reliably create shared libraries on AIX.
   8085 *** Therefore, libtool is disabling shared libraries support.  If you
   8086 *** really care for shared libraries, you may want to modify your PATH
   8087 *** so that a non-GNU linker is found, and then restart.
   8088 
   8089 _LT_EOF
   8090       fi
   8091       ;;
   8092 
   8093     amigaos*)
   8094       case $host_cpu in
   8095       powerpc)
   8096             # see comment about AmigaOS4 .so support
   8097             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8098             archive_expsym_cmds=''
   8099         ;;
   8100       m68k)
   8101             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)'
   8102             hardcode_libdir_flag_spec='-L$libdir'
   8103             hardcode_minus_L=yes
   8104         ;;
   8105       esac
   8106       ;;
   8107 
   8108     beos*)
   8109       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8110 	allow_undefined_flag=unsupported
   8111 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8112 	# support --undefined.  This deserves some investigation.  FIXME
   8113 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8114       else
   8115 	ld_shlibs=no
   8116       fi
   8117       ;;
   8118 
   8119     cygwin* | mingw* | pw32* | cegcc*)
   8120       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8121       # as there is no search path for DLLs.
   8122       hardcode_libdir_flag_spec='-L$libdir'
   8123       allow_undefined_flag=unsupported
   8124       always_export_symbols=no
   8125       enable_shared_with_static_runtimes=yes
   8126       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8127 
   8128       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8129         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8130 	# If the export-symbols file already is a .def file (1st line
   8131 	# is EXPORTS), use it as is; otherwise, prepend...
   8132 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8133 	  cp $export_symbols $output_objdir/$soname.def;
   8134 	else
   8135 	  echo EXPORTS > $output_objdir/$soname.def;
   8136 	  cat $export_symbols >> $output_objdir/$soname.def;
   8137 	fi~
   8138 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8139       else
   8140 	ld_shlibs=no
   8141       fi
   8142       ;;
   8143 
   8144     interix[3-9]*)
   8145       hardcode_direct=no
   8146       hardcode_shlibpath_var=no
   8147       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8148       export_dynamic_flag_spec='${wl}-E'
   8149       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8150       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8151       # default) and relocated if they conflict, which is a slow very memory
   8152       # consuming and fragmenting process.  To avoid this, we pick a random,
   8153       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8154       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8155       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8156       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'
   8157       ;;
   8158 
   8159     gnu* | linux* | tpf* | k*bsd*-gnu)
   8160       tmp_diet=no
   8161       if test "$host_os" = linux-dietlibc; then
   8162 	case $cc_basename in
   8163 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8164 	esac
   8165       fi
   8166       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8167 	 && test "$tmp_diet" = no
   8168       then
   8169 	tmp_addflag=
   8170 	tmp_sharedflag='-shared'
   8171 	case $cc_basename,$host_cpu in
   8172         pgcc*)				# Portland Group C compiler
   8173 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8174 	  tmp_addflag=' $pic_flag'
   8175 	  ;;
   8176 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8177 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8178 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8179 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8180 	  tmp_addflag=' -i_dynamic' ;;
   8181 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8182 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8183 	ifc* | ifort*)			# Intel Fortran compiler
   8184 	  tmp_addflag=' -nofor_main' ;;
   8185 	lf95*)				# Lahey Fortran 8.1
   8186 	  whole_archive_flag_spec=
   8187 	  tmp_sharedflag='--shared' ;;
   8188 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8189 	  tmp_sharedflag='-qmkshrobj'
   8190 	  tmp_addflag= ;;
   8191 	esac
   8192 	case `$CC -V 2>&1 | sed 5q` in
   8193 	*Sun\ C*)			# Sun C 5.9
   8194 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8195 	  compiler_needs_object=yes
   8196 	  tmp_sharedflag='-G' ;;
   8197 	*Sun\ F*)			# Sun Fortran 8.3
   8198 	  tmp_sharedflag='-G' ;;
   8199 	esac
   8200 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8201 
   8202         if test "x$supports_anon_versioning" = xyes; then
   8203           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8204 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8205 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8206 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8207         fi
   8208 
   8209 	case $cc_basename in
   8210 	xlf*)
   8211 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8212 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8213 	  hardcode_libdir_flag_spec=
   8214 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8215 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8216 	  if test "x$supports_anon_versioning" = xyes; then
   8217 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8218 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8219 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8220 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8221 	  fi
   8222 	  ;;
   8223 	esac
   8224       else
   8225         ld_shlibs=no
   8226       fi
   8227       ;;
   8228 
   8229     netbsd* | netbsdelf*-gnu)
   8230       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8231 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8232 	wlarc=
   8233       else
   8234 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8235 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8236       fi
   8237       ;;
   8238 
   8239     solaris*)
   8240       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8241 	ld_shlibs=no
   8242 	cat <<_LT_EOF 1>&2
   8243 
   8244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8245 *** create shared libraries on Solaris systems.  Therefore, libtool
   8246 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8247 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8248 *** your PATH or compiler configuration so that the native linker is
   8249 *** used, and then restart.
   8250 
   8251 _LT_EOF
   8252       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8253 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8254 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8255       else
   8256 	ld_shlibs=no
   8257       fi
   8258       ;;
   8259 
   8260     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8261       case `$LD -v 2>&1` in
   8262         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8263 	ld_shlibs=no
   8264 	cat <<_LT_EOF 1>&2
   8265 
   8266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8267 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8268 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8269 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8270 *** your PATH or compiler configuration so that the native linker is
   8271 *** used, and then restart.
   8272 
   8273 _LT_EOF
   8274 	;;
   8275 	*)
   8276 	  # For security reasons, it is highly recommended that you always
   8277 	  # use absolute paths for naming shared libraries, and exclude the
   8278 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8279 	  # requires that you compile everything twice, which is a pain.
   8280 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8281 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8282 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8283 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8284 	  else
   8285 	    ld_shlibs=no
   8286 	  fi
   8287 	;;
   8288       esac
   8289       ;;
   8290 
   8291     sunos4*)
   8292       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8293       wlarc=
   8294       hardcode_direct=yes
   8295       hardcode_shlibpath_var=no
   8296       ;;
   8297 
   8298     *)
   8299       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8300 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8301 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8302       else
   8303 	ld_shlibs=no
   8304       fi
   8305       ;;
   8306     esac
   8307 
   8308     if test "$ld_shlibs" = no; then
   8309       runpath_var=
   8310       hardcode_libdir_flag_spec=
   8311       export_dynamic_flag_spec=
   8312       whole_archive_flag_spec=
   8313     fi
   8314   else
   8315     # PORTME fill in a description of your system's linker (not GNU ld)
   8316     case $host_os in
   8317     aix3*)
   8318       allow_undefined_flag=unsupported
   8319       always_export_symbols=yes
   8320       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'
   8321       # Note: this linker hardcodes the directories in LIBPATH if there
   8322       # are no directories specified by -L.
   8323       hardcode_minus_L=yes
   8324       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8325 	# Neither direct hardcoding nor static linking is supported with a
   8326 	# broken collect2.
   8327 	hardcode_direct=unsupported
   8328       fi
   8329       ;;
   8330 
   8331     aix[4-9]*)
   8332       if test "$host_cpu" = ia64; then
   8333 	# On IA64, the linker does run time linking by default, so we don't
   8334 	# have to do anything special.
   8335 	aix_use_runtimelinking=no
   8336 	exp_sym_flag='-Bexport'
   8337 	no_entry_flag=""
   8338       else
   8339 	# If we're using GNU nm, then we don't want the "-C" option.
   8340 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8341 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8342 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8343 	else
   8344 	  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'
   8345 	fi
   8346 	aix_use_runtimelinking=no
   8347 
   8348 	# Test if we are trying to use run time linking or normal
   8349 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8350 	# need to do runtime linking.
   8351 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8352 	  for ld_flag in $LDFLAGS; do
   8353 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8354 	    aix_use_runtimelinking=yes
   8355 	    break
   8356 	  fi
   8357 	  done
   8358 	  ;;
   8359 	esac
   8360 
   8361 	exp_sym_flag='-bexport'
   8362 	no_entry_flag='-bnoentry'
   8363       fi
   8364 
   8365       # When large executables or shared objects are built, AIX ld can
   8366       # have problems creating the table of contents.  If linking a library
   8367       # or program results in "error TOC overflow" add -mminimal-toc to
   8368       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8369       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8370 
   8371       archive_cmds=''
   8372       hardcode_direct=yes
   8373       hardcode_direct_absolute=yes
   8374       hardcode_libdir_separator=':'
   8375       link_all_deplibs=yes
   8376       file_list_spec='${wl}-f,'
   8377 
   8378       if test "$GCC" = yes; then
   8379 	case $host_os in aix4.[012]|aix4.[012].*)
   8380 	# We only want to do this on AIX 4.2 and lower, the check
   8381 	# below for broken collect2 doesn't work under 4.3+
   8382 	  collect2name=`${CC} -print-prog-name=collect2`
   8383 	  if test -f "$collect2name" &&
   8384 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8385 	  then
   8386 	  # We have reworked collect2
   8387 	  :
   8388 	  else
   8389 	  # We have old collect2
   8390 	  hardcode_direct=unsupported
   8391 	  # It fails to find uninstalled libraries when the uninstalled
   8392 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8393 	  # to unsupported forces relinking
   8394 	  hardcode_minus_L=yes
   8395 	  hardcode_libdir_flag_spec='-L$libdir'
   8396 	  hardcode_libdir_separator=
   8397 	  fi
   8398 	  ;;
   8399 	esac
   8400 	shared_flag='-shared'
   8401 	if test "$aix_use_runtimelinking" = yes; then
   8402 	  shared_flag="$shared_flag "'${wl}-G'
   8403 	fi
   8404 	link_all_deplibs=no
   8405       else
   8406 	# not using gcc
   8407 	if test "$host_cpu" = ia64; then
   8408 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8409 	# chokes on -Wl,-G. The following line is correct:
   8410 	  shared_flag='-G'
   8411 	else
   8412 	  if test "$aix_use_runtimelinking" = yes; then
   8413 	    shared_flag='${wl}-G'
   8414 	  else
   8415 	    shared_flag='${wl}-bM:SRE'
   8416 	  fi
   8417 	fi
   8418       fi
   8419 
   8420       export_dynamic_flag_spec='${wl}-bexpall'
   8421       # It seems that -bexpall does not export symbols beginning with
   8422       # underscore (_), so it is better to generate a list of symbols to export.
   8423       always_export_symbols=yes
   8424       if test "$aix_use_runtimelinking" = yes; then
   8425 	# Warning - without using the other runtime loading flags (-brtl),
   8426 	# -berok will link without error, but may produce a broken library.
   8427 	allow_undefined_flag='-berok'
   8428         # Determine the default libpath from the value encoded in an
   8429         # empty executable.
   8430         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8431 /* end confdefs.h.  */
   8432 
   8433 int
   8434 main ()
   8435 {
   8436 
   8437   ;
   8438   return 0;
   8439 }
   8440 _ACEOF
   8441 if ac_fn_c_try_link "$LINENO"; then :
   8442 
   8443 lt_aix_libpath_sed='
   8444     /Import File Strings/,/^$/ {
   8445 	/^0/ {
   8446 	    s/^0  *\(.*\)$/\1/
   8447 	    p
   8448 	}
   8449     }'
   8450 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8451 # Check for a 64-bit object if we didn't find anything.
   8452 if test -z "$aix_libpath"; then
   8453   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8454 fi
   8455 fi
   8456 rm -f core conftest.err conftest.$ac_objext \
   8457     conftest$ac_exeext conftest.$ac_ext
   8458 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8459 
   8460         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8461         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8462       else
   8463 	if test "$host_cpu" = ia64; then
   8464 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8465 	  allow_undefined_flag="-z nodefs"
   8466 	  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"
   8467 	else
   8468 	 # Determine the default libpath from the value encoded in an
   8469 	 # empty executable.
   8470 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8471 /* end confdefs.h.  */
   8472 
   8473 int
   8474 main ()
   8475 {
   8476 
   8477   ;
   8478   return 0;
   8479 }
   8480 _ACEOF
   8481 if ac_fn_c_try_link "$LINENO"; then :
   8482 
   8483 lt_aix_libpath_sed='
   8484     /Import File Strings/,/^$/ {
   8485 	/^0/ {
   8486 	    s/^0  *\(.*\)$/\1/
   8487 	    p
   8488 	}
   8489     }'
   8490 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8491 # Check for a 64-bit object if we didn't find anything.
   8492 if test -z "$aix_libpath"; then
   8493   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8494 fi
   8495 fi
   8496 rm -f core conftest.err conftest.$ac_objext \
   8497     conftest$ac_exeext conftest.$ac_ext
   8498 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8499 
   8500 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8501 	  # Warning - without using the other run time loading flags,
   8502 	  # -berok will link without error, but may produce a broken library.
   8503 	  no_undefined_flag=' ${wl}-bernotok'
   8504 	  allow_undefined_flag=' ${wl}-berok'
   8505 	  # Exported symbols can be pulled into shared objects from archives
   8506 	  whole_archive_flag_spec='$convenience'
   8507 	  archive_cmds_need_lc=yes
   8508 	  # This is similar to how AIX traditionally builds its shared libraries.
   8509 	  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'
   8510 	fi
   8511       fi
   8512       ;;
   8513 
   8514     amigaos*)
   8515       case $host_cpu in
   8516       powerpc)
   8517             # see comment about AmigaOS4 .so support
   8518             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8519             archive_expsym_cmds=''
   8520         ;;
   8521       m68k)
   8522             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)'
   8523             hardcode_libdir_flag_spec='-L$libdir'
   8524             hardcode_minus_L=yes
   8525         ;;
   8526       esac
   8527       ;;
   8528 
   8529     bsdi[45]*)
   8530       export_dynamic_flag_spec=-rdynamic
   8531       ;;
   8532 
   8533     cygwin* | mingw* | pw32* | cegcc*)
   8534       # When not using gcc, we currently assume that we are using
   8535       # Microsoft Visual C++.
   8536       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8537       # no search path for DLLs.
   8538       hardcode_libdir_flag_spec=' '
   8539       allow_undefined_flag=unsupported
   8540       # Tell ltmain to make .lib files, not .a files.
   8541       libext=lib
   8542       # Tell ltmain to make .dll files, not .so files.
   8543       shrext_cmds=".dll"
   8544       # FIXME: Setting linknames here is a bad hack.
   8545       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8546       # The linker will automatically build a .lib file if we build a DLL.
   8547       old_archive_from_new_cmds='true'
   8548       # FIXME: Should let the user specify the lib program.
   8549       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8550       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8551       enable_shared_with_static_runtimes=yes
   8552       ;;
   8553 
   8554     darwin* | rhapsody*)
   8555 
   8556 
   8557   archive_cmds_need_lc=no
   8558   hardcode_direct=no
   8559   hardcode_automatic=yes
   8560   hardcode_shlibpath_var=unsupported
   8561   whole_archive_flag_spec=''
   8562   link_all_deplibs=yes
   8563   allow_undefined_flag="$_lt_dar_allow_undefined"
   8564   case $cc_basename in
   8565      ifort*) _lt_dar_can_shared=yes ;;
   8566      *) _lt_dar_can_shared=$GCC ;;
   8567   esac
   8568   if test "$_lt_dar_can_shared" = "yes"; then
   8569     output_verbose_link_cmd=echo
   8570     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8571     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8572     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}"
   8573     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}"
   8574 
   8575   else
   8576   ld_shlibs=no
   8577   fi
   8578 
   8579       ;;
   8580 
   8581     dgux*)
   8582       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8583       hardcode_libdir_flag_spec='-L$libdir'
   8584       hardcode_shlibpath_var=no
   8585       ;;
   8586 
   8587     freebsd1*)
   8588       ld_shlibs=no
   8589       ;;
   8590 
   8591     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8592     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8593     # does not break anything, and helps significantly (at the cost of a little
   8594     # extra space).
   8595     freebsd2.2*)
   8596       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8597       hardcode_libdir_flag_spec='-R$libdir'
   8598       hardcode_direct=yes
   8599       hardcode_shlibpath_var=no
   8600       ;;
   8601 
   8602     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8603     freebsd2*)
   8604       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8605       hardcode_direct=yes
   8606       hardcode_minus_L=yes
   8607       hardcode_shlibpath_var=no
   8608       ;;
   8609 
   8610     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8611     freebsd* | dragonfly*)
   8612       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8613       hardcode_libdir_flag_spec='-R$libdir'
   8614       hardcode_direct=yes
   8615       hardcode_shlibpath_var=no
   8616       ;;
   8617 
   8618     hpux9*)
   8619       if test "$GCC" = yes; then
   8620 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8621       else
   8622 	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'
   8623       fi
   8624       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8625       hardcode_libdir_separator=:
   8626       hardcode_direct=yes
   8627 
   8628       # hardcode_minus_L: Not really in the search PATH,
   8629       # but as the default location of the library.
   8630       hardcode_minus_L=yes
   8631       export_dynamic_flag_spec='${wl}-E'
   8632       ;;
   8633 
   8634     hpux10*)
   8635       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8636 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8637       else
   8638 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8639       fi
   8640       if test "$with_gnu_ld" = no; then
   8641 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8642 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8643 	hardcode_libdir_separator=:
   8644 	hardcode_direct=yes
   8645 	hardcode_direct_absolute=yes
   8646 	export_dynamic_flag_spec='${wl}-E'
   8647 	# hardcode_minus_L: Not really in the search PATH,
   8648 	# but as the default location of the library.
   8649 	hardcode_minus_L=yes
   8650       fi
   8651       ;;
   8652 
   8653     hpux11*)
   8654       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8655 	case $host_cpu in
   8656 	hppa*64*)
   8657 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8658 	  ;;
   8659 	ia64*)
   8660 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8661 	  ;;
   8662 	*)
   8663 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8664 	  ;;
   8665 	esac
   8666       else
   8667 	case $host_cpu in
   8668 	hppa*64*)
   8669 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8670 	  ;;
   8671 	ia64*)
   8672 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8673 	  ;;
   8674 	*)
   8675 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8676 	  ;;
   8677 	esac
   8678       fi
   8679       if test "$with_gnu_ld" = no; then
   8680 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8681 	hardcode_libdir_separator=:
   8682 
   8683 	case $host_cpu in
   8684 	hppa*64*|ia64*)
   8685 	  hardcode_direct=no
   8686 	  hardcode_shlibpath_var=no
   8687 	  ;;
   8688 	*)
   8689 	  hardcode_direct=yes
   8690 	  hardcode_direct_absolute=yes
   8691 	  export_dynamic_flag_spec='${wl}-E'
   8692 
   8693 	  # hardcode_minus_L: Not really in the search PATH,
   8694 	  # but as the default location of the library.
   8695 	  hardcode_minus_L=yes
   8696 	  ;;
   8697 	esac
   8698       fi
   8699       ;;
   8700 
   8701     irix5* | irix6* | nonstopux*)
   8702       if test "$GCC" = yes; then
   8703 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8704 	# Try to use the -exported_symbol ld option, if it does not
   8705 	# work, assume that -exports_file does not work either and
   8706 	# implicitly export all symbols.
   8707         save_LDFLAGS="$LDFLAGS"
   8708         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8709         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8710 /* end confdefs.h.  */
   8711 int foo(void) {}
   8712 _ACEOF
   8713 if ac_fn_c_try_link "$LINENO"; then :
   8714   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8715 
   8716 fi
   8717 rm -f core conftest.err conftest.$ac_objext \
   8718     conftest$ac_exeext conftest.$ac_ext
   8719         LDFLAGS="$save_LDFLAGS"
   8720       else
   8721 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8722 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8723       fi
   8724       archive_cmds_need_lc='no'
   8725       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8726       hardcode_libdir_separator=:
   8727       inherit_rpath=yes
   8728       link_all_deplibs=yes
   8729       ;;
   8730 
   8731     netbsd* | netbsdelf*-gnu)
   8732       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8733 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8734       else
   8735 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8736       fi
   8737       hardcode_libdir_flag_spec='-R$libdir'
   8738       hardcode_direct=yes
   8739       hardcode_shlibpath_var=no
   8740       ;;
   8741 
   8742     newsos6)
   8743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8744       hardcode_direct=yes
   8745       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8746       hardcode_libdir_separator=:
   8747       hardcode_shlibpath_var=no
   8748       ;;
   8749 
   8750     *nto* | *qnx*)
   8751       ;;
   8752 
   8753     openbsd*)
   8754       if test -f /usr/libexec/ld.so; then
   8755 	hardcode_direct=yes
   8756 	hardcode_shlibpath_var=no
   8757 	hardcode_direct_absolute=yes
   8758 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8759 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8760 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8761 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8762 	  export_dynamic_flag_spec='${wl}-E'
   8763 	else
   8764 	  case $host_os in
   8765 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8766 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8767 	     hardcode_libdir_flag_spec='-R$libdir'
   8768 	     ;;
   8769 	   *)
   8770 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8771 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8772 	     ;;
   8773 	  esac
   8774 	fi
   8775       else
   8776 	ld_shlibs=no
   8777       fi
   8778       ;;
   8779 
   8780     os2*)
   8781       hardcode_libdir_flag_spec='-L$libdir'
   8782       hardcode_minus_L=yes
   8783       allow_undefined_flag=unsupported
   8784       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'
   8785       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8786       ;;
   8787 
   8788     osf3*)
   8789       if test "$GCC" = yes; then
   8790 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8791 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8792       else
   8793 	allow_undefined_flag=' -expect_unresolved \*'
   8794 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8795       fi
   8796       archive_cmds_need_lc='no'
   8797       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8798       hardcode_libdir_separator=:
   8799       ;;
   8800 
   8801     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8802       if test "$GCC" = yes; then
   8803 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8804 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8805 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8806       else
   8807 	allow_undefined_flag=' -expect_unresolved \*'
   8808 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8809 	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~
   8810 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8811 
   8812 	# Both c and cxx compiler support -rpath directly
   8813 	hardcode_libdir_flag_spec='-rpath $libdir'
   8814       fi
   8815       archive_cmds_need_lc='no'
   8816       hardcode_libdir_separator=:
   8817       ;;
   8818 
   8819     solaris*)
   8820       no_undefined_flag=' -z defs'
   8821       if test "$GCC" = yes; then
   8822 	wlarc='${wl}'
   8823 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8824 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8825 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8826       else
   8827 	case `$CC -V 2>&1` in
   8828 	*"Compilers 5.0"*)
   8829 	  wlarc=''
   8830 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8831 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8832 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8833 	  ;;
   8834 	*)
   8835 	  wlarc='${wl}'
   8836 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8837 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8838 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8839 	  ;;
   8840 	esac
   8841       fi
   8842       hardcode_libdir_flag_spec='-R$libdir'
   8843       hardcode_shlibpath_var=no
   8844       case $host_os in
   8845       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8846       *)
   8847 	# The compiler driver will combine and reorder linker options,
   8848 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8849 	# but is careful enough not to reorder.
   8850 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8851 	if test "$GCC" = yes; then
   8852 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8853 	else
   8854 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8855 	fi
   8856 	;;
   8857       esac
   8858       link_all_deplibs=yes
   8859       ;;
   8860 
   8861     sunos4*)
   8862       if test "x$host_vendor" = xsequent; then
   8863 	# Use $CC to link under sequent, because it throws in some extra .o
   8864 	# files that make .init and .fini sections work.
   8865 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8866       else
   8867 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8868       fi
   8869       hardcode_libdir_flag_spec='-L$libdir'
   8870       hardcode_direct=yes
   8871       hardcode_minus_L=yes
   8872       hardcode_shlibpath_var=no
   8873       ;;
   8874 
   8875     sysv4)
   8876       case $host_vendor in
   8877 	sni)
   8878 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8879 	  hardcode_direct=yes # is this really true???
   8880 	;;
   8881 	siemens)
   8882 	  ## LD is ld it makes a PLAMLIB
   8883 	  ## CC just makes a GrossModule.
   8884 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8885 	  reload_cmds='$CC -r -o $output$reload_objs'
   8886 	  hardcode_direct=no
   8887         ;;
   8888 	motorola)
   8889 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8890 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8891 	;;
   8892       esac
   8893       runpath_var='LD_RUN_PATH'
   8894       hardcode_shlibpath_var=no
   8895       ;;
   8896 
   8897     sysv4.3*)
   8898       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8899       hardcode_shlibpath_var=no
   8900       export_dynamic_flag_spec='-Bexport'
   8901       ;;
   8902 
   8903     sysv4*MP*)
   8904       if test -d /usr/nec; then
   8905 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8906 	hardcode_shlibpath_var=no
   8907 	runpath_var=LD_RUN_PATH
   8908 	hardcode_runpath_var=yes
   8909 	ld_shlibs=yes
   8910       fi
   8911       ;;
   8912 
   8913     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8914       no_undefined_flag='${wl}-z,text'
   8915       archive_cmds_need_lc=no
   8916       hardcode_shlibpath_var=no
   8917       runpath_var='LD_RUN_PATH'
   8918 
   8919       if test "$GCC" = yes; then
   8920 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8921 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8922       else
   8923 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8924 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8925       fi
   8926       ;;
   8927 
   8928     sysv5* | sco3.2v5* | sco5v6*)
   8929       # Note: We can NOT use -z defs as we might desire, because we do not
   8930       # link with -lc, and that would cause any symbols used from libc to
   8931       # always be unresolved, which means just about no library would
   8932       # ever link correctly.  If we're not using GNU ld we use -z text
   8933       # though, which does catch some bad symbols but isn't as heavy-handed
   8934       # as -z defs.
   8935       no_undefined_flag='${wl}-z,text'
   8936       allow_undefined_flag='${wl}-z,nodefs'
   8937       archive_cmds_need_lc=no
   8938       hardcode_shlibpath_var=no
   8939       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8940       hardcode_libdir_separator=':'
   8941       link_all_deplibs=yes
   8942       export_dynamic_flag_spec='${wl}-Bexport'
   8943       runpath_var='LD_RUN_PATH'
   8944 
   8945       if test "$GCC" = yes; then
   8946 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8947 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8948       else
   8949 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8950 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8951       fi
   8952       ;;
   8953 
   8954     uts4*)
   8955       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8956       hardcode_libdir_flag_spec='-L$libdir'
   8957       hardcode_shlibpath_var=no
   8958       ;;
   8959 
   8960     *)
   8961       ld_shlibs=no
   8962       ;;
   8963     esac
   8964 
   8965     if test x$host_vendor = xsni; then
   8966       case $host in
   8967       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8968 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8969 	;;
   8970       esac
   8971     fi
   8972   fi
   8973 
   8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   8975 $as_echo "$ld_shlibs" >&6; }
   8976 test "$ld_shlibs" = no && can_build_shared=no
   8977 
   8978 with_gnu_ld=$with_gnu_ld
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 #
   8995 # Do we need to explicitly link libc?
   8996 #
   8997 case "x$archive_cmds_need_lc" in
   8998 x|xyes)
   8999   # Assume -lc should be added
   9000   archive_cmds_need_lc=yes
   9001 
   9002   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9003     case $archive_cmds in
   9004     *'~'*)
   9005       # FIXME: we may have to deal with multi-command sequences.
   9006       ;;
   9007     '$CC '*)
   9008       # Test whether the compiler implicitly links with -lc since on some
   9009       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9010       # to ld, don't add -lc before -lgcc.
   9011       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9013       $RM conftest*
   9014       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9015 
   9016       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9017   (eval $ac_compile) 2>&5
   9018   ac_status=$?
   9019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9020   test $ac_status = 0; } 2>conftest.err; then
   9021         soname=conftest
   9022         lib=conftest
   9023         libobjs=conftest.$ac_objext
   9024         deplibs=
   9025         wl=$lt_prog_compiler_wl
   9026 	pic_flag=$lt_prog_compiler_pic
   9027         compiler_flags=-v
   9028         linker_flags=-v
   9029         verstring=
   9030         output_objdir=.
   9031         libname=conftest
   9032         lt_save_allow_undefined_flag=$allow_undefined_flag
   9033         allow_undefined_flag=
   9034         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9035   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9036   ac_status=$?
   9037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9038   test $ac_status = 0; }
   9039         then
   9040 	  archive_cmds_need_lc=no
   9041         else
   9042 	  archive_cmds_need_lc=yes
   9043         fi
   9044         allow_undefined_flag=$lt_save_allow_undefined_flag
   9045       else
   9046         cat conftest.err 1>&5
   9047       fi
   9048       $RM conftest*
   9049       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9050 $as_echo "$archive_cmds_need_lc" >&6; }
   9051       ;;
   9052     esac
   9053   fi
   9054   ;;
   9055 esac
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9214 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9215 
   9216 if test "$GCC" = yes; then
   9217   case $host_os in
   9218     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9219     *) lt_awk_arg="/^libraries:/" ;;
   9220   esac
   9221   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9222   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9223     # if the path contains ";" then we assume it to be the separator
   9224     # otherwise default to the standard path separator (i.e. ":") - it is
   9225     # assumed that no part of a normal pathname contains ";" but that should
   9226     # okay in the real world where ";" in dirpaths is itself problematic.
   9227     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9228   else
   9229     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9230   fi
   9231   # Ok, now we have the path, separated by spaces, we can step through it
   9232   # and add multilib dir if necessary.
   9233   lt_tmp_lt_search_path_spec=
   9234   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9235   for lt_sys_path in $lt_search_path_spec; do
   9236     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9237       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9238     else
   9239       test -d "$lt_sys_path" && \
   9240 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9241     fi
   9242   done
   9243   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9244 BEGIN {RS=" "; FS="/|\n";} {
   9245   lt_foo="";
   9246   lt_count=0;
   9247   for (lt_i = NF; lt_i > 0; lt_i--) {
   9248     if ($lt_i != "" && $lt_i != ".") {
   9249       if ($lt_i == "..") {
   9250         lt_count++;
   9251       } else {
   9252         if (lt_count == 0) {
   9253           lt_foo="/" $lt_i lt_foo;
   9254         } else {
   9255           lt_count--;
   9256         }
   9257       }
   9258     }
   9259   }
   9260   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9261   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9262 }'`
   9263   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9264 else
   9265   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9266 fi
   9267 library_names_spec=
   9268 libname_spec='lib$name'
   9269 soname_spec=
   9270 shrext_cmds=".so"
   9271 postinstall_cmds=
   9272 postuninstall_cmds=
   9273 finish_cmds=
   9274 finish_eval=
   9275 shlibpath_var=
   9276 shlibpath_overrides_runpath=unknown
   9277 version_type=none
   9278 dynamic_linker="$host_os ld.so"
   9279 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9280 need_lib_prefix=unknown
   9281 hardcode_into_libs=no
   9282 
   9283 # when you set need_version to no, make sure it does not cause -set_version
   9284 # flags to be left without arguments
   9285 need_version=unknown
   9286 
   9287 case $host_os in
   9288 aix3*)
   9289   version_type=linux
   9290   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9291   shlibpath_var=LIBPATH
   9292 
   9293   # AIX 3 has no versioning support, so we append a major version to the name.
   9294   soname_spec='${libname}${release}${shared_ext}$major'
   9295   ;;
   9296 
   9297 aix[4-9]*)
   9298   version_type=linux
   9299   need_lib_prefix=no
   9300   need_version=no
   9301   hardcode_into_libs=yes
   9302   if test "$host_cpu" = ia64; then
   9303     # AIX 5 supports IA64
   9304     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9305     shlibpath_var=LD_LIBRARY_PATH
   9306   else
   9307     # With GCC up to 2.95.x, collect2 would create an import file
   9308     # for dependence libraries.  The import file would start with
   9309     # the line `#! .'.  This would cause the generated library to
   9310     # depend on `.', always an invalid library.  This was fixed in
   9311     # development snapshots of GCC prior to 3.0.
   9312     case $host_os in
   9313       aix4 | aix4.[01] | aix4.[01].*)
   9314       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9315 	   echo ' yes '
   9316 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9317 	:
   9318       else
   9319 	can_build_shared=no
   9320       fi
   9321       ;;
   9322     esac
   9323     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9324     # soname into executable. Probably we can add versioning support to
   9325     # collect2, so additional links can be useful in future.
   9326     if test "$aix_use_runtimelinking" = yes; then
   9327       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9328       # instead of lib<name>.a to let people know that these are not
   9329       # typical AIX shared libraries.
   9330       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9331     else
   9332       # We preserve .a as extension for shared libraries through AIX4.2
   9333       # and later when we are not doing run time linking.
   9334       library_names_spec='${libname}${release}.a $libname.a'
   9335       soname_spec='${libname}${release}${shared_ext}$major'
   9336     fi
   9337     shlibpath_var=LIBPATH
   9338   fi
   9339   ;;
   9340 
   9341 amigaos*)
   9342   case $host_cpu in
   9343   powerpc)
   9344     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9345     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9346     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9347     ;;
   9348   m68k)
   9349     library_names_spec='$libname.ixlibrary $libname.a'
   9350     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9351     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
   9352     ;;
   9353   esac
   9354   ;;
   9355 
   9356 beos*)
   9357   library_names_spec='${libname}${shared_ext}'
   9358   dynamic_linker="$host_os ld.so"
   9359   shlibpath_var=LIBRARY_PATH
   9360   ;;
   9361 
   9362 bsdi[45]*)
   9363   version_type=linux
   9364   need_version=no
   9365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9366   soname_spec='${libname}${release}${shared_ext}$major'
   9367   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9368   shlibpath_var=LD_LIBRARY_PATH
   9369   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9370   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9371   # the default ld.so.conf also contains /usr/contrib/lib and
   9372   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9373   # libtool to hard-code these into programs
   9374   ;;
   9375 
   9376 cygwin* | mingw* | pw32* | cegcc*)
   9377   version_type=windows
   9378   shrext_cmds=".dll"
   9379   need_version=no
   9380   need_lib_prefix=no
   9381 
   9382   case $GCC,$host_os in
   9383   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9384     library_names_spec='$libname.dll.a'
   9385     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9386     postinstall_cmds='base_file=`basename \${file}`~
   9387       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9388       dldir=$destdir/`dirname \$dlpath`~
   9389       test -d \$dldir || mkdir -p \$dldir~
   9390       $install_prog $dir/$dlname \$dldir/$dlname~
   9391       chmod a+x \$dldir/$dlname~
   9392       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9393         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9394       fi'
   9395     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9396       dlpath=$dir/\$dldll~
   9397        $RM \$dlpath'
   9398     shlibpath_overrides_runpath=yes
   9399 
   9400     case $host_os in
   9401     cygwin*)
   9402       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9403       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9404       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9405       ;;
   9406     mingw* | cegcc*)
   9407       # MinGW DLLs use traditional 'lib' prefix
   9408       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9409       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9410       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9411         # It is most probably a Windows format PATH printed by
   9412         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9413         # path with ; separators, and with drive letters. We can handle the
   9414         # drive letters (cygwin fileutils understands them), so leave them,
   9415         # especially as we might pass files found there to a mingw objdump,
   9416         # which wouldn't understand a cygwinified path. Ahh.
   9417         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9418       else
   9419         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9420       fi
   9421       ;;
   9422     pw32*)
   9423       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9424       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9425       ;;
   9426     esac
   9427     ;;
   9428 
   9429   *)
   9430     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9431     ;;
   9432   esac
   9433   dynamic_linker='Win32 ld.exe'
   9434   # FIXME: first we should search . and the directory the executable is in
   9435   shlibpath_var=PATH
   9436   ;;
   9437 
   9438 darwin* | rhapsody*)
   9439   dynamic_linker="$host_os dyld"
   9440   version_type=darwin
   9441   need_lib_prefix=no
   9442   need_version=no
   9443   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9444   soname_spec='${libname}${release}${major}$shared_ext'
   9445   shlibpath_overrides_runpath=yes
   9446   shlibpath_var=DYLD_LIBRARY_PATH
   9447   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9448 
   9449   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9450   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9451   ;;
   9452 
   9453 dgux*)
   9454   version_type=linux
   9455   need_lib_prefix=no
   9456   need_version=no
   9457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9458   soname_spec='${libname}${release}${shared_ext}$major'
   9459   shlibpath_var=LD_LIBRARY_PATH
   9460   ;;
   9461 
   9462 freebsd1*)
   9463   dynamic_linker=no
   9464   ;;
   9465 
   9466 freebsd* | dragonfly*)
   9467   # DragonFly does not have aout.  When/if they implement a new
   9468   # versioning mechanism, adjust this.
   9469   if test -x /usr/bin/objformat; then
   9470     objformat=`/usr/bin/objformat`
   9471   else
   9472     case $host_os in
   9473     freebsd[123]*) objformat=aout ;;
   9474     *) objformat=elf ;;
   9475     esac
   9476   fi
   9477   version_type=freebsd-$objformat
   9478   case $version_type in
   9479     freebsd-elf*)
   9480       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9481       need_version=no
   9482       need_lib_prefix=no
   9483       ;;
   9484     freebsd-*)
   9485       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9486       need_version=yes
   9487       ;;
   9488   esac
   9489   shlibpath_var=LD_LIBRARY_PATH
   9490   case $host_os in
   9491   freebsd2*)
   9492     shlibpath_overrides_runpath=yes
   9493     ;;
   9494   freebsd3.[01]* | freebsdelf3.[01]*)
   9495     shlibpath_overrides_runpath=yes
   9496     hardcode_into_libs=yes
   9497     ;;
   9498   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9499   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9500     shlibpath_overrides_runpath=no
   9501     hardcode_into_libs=yes
   9502     ;;
   9503   *) # from 4.6 on, and DragonFly
   9504     shlibpath_overrides_runpath=yes
   9505     hardcode_into_libs=yes
   9506     ;;
   9507   esac
   9508   ;;
   9509 
   9510 gnu*)
   9511   version_type=linux
   9512   need_lib_prefix=no
   9513   need_version=no
   9514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9515   soname_spec='${libname}${release}${shared_ext}$major'
   9516   shlibpath_var=LD_LIBRARY_PATH
   9517   hardcode_into_libs=yes
   9518   ;;
   9519 
   9520 hpux9* | hpux10* | hpux11*)
   9521   # Give a soname corresponding to the major version so that dld.sl refuses to
   9522   # link against other versions.
   9523   version_type=sunos
   9524   need_lib_prefix=no
   9525   need_version=no
   9526   case $host_cpu in
   9527   ia64*)
   9528     shrext_cmds='.so'
   9529     hardcode_into_libs=yes
   9530     dynamic_linker="$host_os dld.so"
   9531     shlibpath_var=LD_LIBRARY_PATH
   9532     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9533     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9534     soname_spec='${libname}${release}${shared_ext}$major'
   9535     if test "X$HPUX_IA64_MODE" = X32; then
   9536       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9537     else
   9538       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9539     fi
   9540     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9541     ;;
   9542   hppa*64*)
   9543     shrext_cmds='.sl'
   9544     hardcode_into_libs=yes
   9545     dynamic_linker="$host_os dld.sl"
   9546     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9547     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9549     soname_spec='${libname}${release}${shared_ext}$major'
   9550     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9551     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9552     ;;
   9553   *)
   9554     shrext_cmds='.sl'
   9555     dynamic_linker="$host_os dld.sl"
   9556     shlibpath_var=SHLIB_PATH
   9557     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9558     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9559     soname_spec='${libname}${release}${shared_ext}$major'
   9560     ;;
   9561   esac
   9562   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9563   postinstall_cmds='chmod 555 $lib'
   9564   ;;
   9565 
   9566 interix[3-9]*)
   9567   version_type=linux
   9568   need_lib_prefix=no
   9569   need_version=no
   9570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9571   soname_spec='${libname}${release}${shared_ext}$major'
   9572   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9573   shlibpath_var=LD_LIBRARY_PATH
   9574   shlibpath_overrides_runpath=no
   9575   hardcode_into_libs=yes
   9576   ;;
   9577 
   9578 irix5* | irix6* | nonstopux*)
   9579   case $host_os in
   9580     nonstopux*) version_type=nonstopux ;;
   9581     *)
   9582 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9583 		version_type=linux
   9584 	else
   9585 		version_type=irix
   9586 	fi ;;
   9587   esac
   9588   need_lib_prefix=no
   9589   need_version=no
   9590   soname_spec='${libname}${release}${shared_ext}$major'
   9591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9592   case $host_os in
   9593   irix5* | nonstopux*)
   9594     libsuff= shlibsuff=
   9595     ;;
   9596   *)
   9597     case $LD in # libtool.m4 will add one of these switches to LD
   9598     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9599       libsuff= shlibsuff= libmagic=32-bit;;
   9600     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9601       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9602     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9603       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9604     *) libsuff= shlibsuff= libmagic=never-match;;
   9605     esac
   9606     ;;
   9607   esac
   9608   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9609   shlibpath_overrides_runpath=no
   9610   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9611   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9612   hardcode_into_libs=yes
   9613   ;;
   9614 
   9615 # No shared lib support for Linux oldld, aout, or coff.
   9616 linux*oldld* | linux*aout* | linux*coff*)
   9617   dynamic_linker=no
   9618   ;;
   9619 
   9620 # This must be Linux ELF.
   9621 linux* | k*bsd*-gnu)
   9622   version_type=linux
   9623   need_lib_prefix=no
   9624   need_version=no
   9625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9626   soname_spec='${libname}${release}${shared_ext}$major'
   9627   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   shlibpath_overrides_runpath=no
   9630   # Some binutils ld are patched to set DT_RUNPATH
   9631   save_LDFLAGS=$LDFLAGS
   9632   save_libdir=$libdir
   9633   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9634        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9636 /* end confdefs.h.  */
   9637 
   9638 int
   9639 main ()
   9640 {
   9641 
   9642   ;
   9643   return 0;
   9644 }
   9645 _ACEOF
   9646 if ac_fn_c_try_link "$LINENO"; then :
   9647   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   9648   shlibpath_overrides_runpath=yes
   9649 fi
   9650 fi
   9651 rm -f core conftest.err conftest.$ac_objext \
   9652     conftest$ac_exeext conftest.$ac_ext
   9653   LDFLAGS=$save_LDFLAGS
   9654   libdir=$save_libdir
   9655 
   9656   # This implies no fast_install, which is unacceptable.
   9657   # Some rework will be needed to allow for fast_install
   9658   # before this can be enabled.
   9659   hardcode_into_libs=yes
   9660 
   9661   # Append ld.so.conf contents to the search path
   9662   if test -f /etc/ld.so.conf; then
   9663     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;/^$/d' | tr '\n' ' '`
   9664     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9665   fi
   9666 
   9667   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9668   # powerpc, because MkLinux only supported shared libraries with the
   9669   # GNU dynamic linker.  Since this was broken with cross compilers,
   9670   # most powerpc-linux boxes support dynamic linking these days and
   9671   # people can always --disable-shared, the test was removed, and we
   9672   # assume the GNU/Linux dynamic linker is in use.
   9673   dynamic_linker='GNU/Linux ld.so'
   9674   ;;
   9675 
   9676 netbsdelf*-gnu)
   9677   version_type=linux
   9678   need_lib_prefix=no
   9679   need_version=no
   9680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9681   soname_spec='${libname}${release}${shared_ext}$major'
   9682   shlibpath_var=LD_LIBRARY_PATH
   9683   shlibpath_overrides_runpath=no
   9684   hardcode_into_libs=yes
   9685   dynamic_linker='NetBSD ld.elf_so'
   9686   ;;
   9687 
   9688 netbsd*)
   9689   version_type=sunos
   9690   need_lib_prefix=no
   9691   need_version=no
   9692   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9693     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9694     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9695     dynamic_linker='NetBSD (a.out) ld.so'
   9696   else
   9697     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9698     soname_spec='${libname}${release}${shared_ext}$major'
   9699     dynamic_linker='NetBSD ld.elf_so'
   9700   fi
   9701   shlibpath_var=LD_LIBRARY_PATH
   9702   shlibpath_overrides_runpath=yes
   9703   hardcode_into_libs=yes
   9704   ;;
   9705 
   9706 newsos6)
   9707   version_type=linux
   9708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9709   shlibpath_var=LD_LIBRARY_PATH
   9710   shlibpath_overrides_runpath=yes
   9711   ;;
   9712 
   9713 *nto* | *qnx*)
   9714   version_type=qnx
   9715   need_lib_prefix=no
   9716   need_version=no
   9717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9718   soname_spec='${libname}${release}${shared_ext}$major'
   9719   shlibpath_var=LD_LIBRARY_PATH
   9720   shlibpath_overrides_runpath=no
   9721   hardcode_into_libs=yes
   9722   dynamic_linker='ldqnx.so'
   9723   ;;
   9724 
   9725 openbsd*)
   9726   version_type=sunos
   9727   sys_lib_dlsearch_path_spec="/usr/lib"
   9728   need_lib_prefix=no
   9729   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9730   case $host_os in
   9731     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9732     *)				need_version=no  ;;
   9733   esac
   9734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9735   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9736   shlibpath_var=LD_LIBRARY_PATH
   9737   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9738     case $host_os in
   9739       openbsd2.[89] | openbsd2.[89].*)
   9740 	shlibpath_overrides_runpath=no
   9741 	;;
   9742       *)
   9743 	shlibpath_overrides_runpath=yes
   9744 	;;
   9745       esac
   9746   else
   9747     shlibpath_overrides_runpath=yes
   9748   fi
   9749   ;;
   9750 
   9751 os2*)
   9752   libname_spec='$name'
   9753   shrext_cmds=".dll"
   9754   need_lib_prefix=no
   9755   library_names_spec='$libname${shared_ext} $libname.a'
   9756   dynamic_linker='OS/2 ld.exe'
   9757   shlibpath_var=LIBPATH
   9758   ;;
   9759 
   9760 osf3* | osf4* | osf5*)
   9761   version_type=osf
   9762   need_lib_prefix=no
   9763   need_version=no
   9764   soname_spec='${libname}${release}${shared_ext}$major'
   9765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9766   shlibpath_var=LD_LIBRARY_PATH
   9767   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9768   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9769   ;;
   9770 
   9771 rdos*)
   9772   dynamic_linker=no
   9773   ;;
   9774 
   9775 solaris*)
   9776   version_type=linux
   9777   need_lib_prefix=no
   9778   need_version=no
   9779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9780   soname_spec='${libname}${release}${shared_ext}$major'
   9781   shlibpath_var=LD_LIBRARY_PATH
   9782   shlibpath_overrides_runpath=yes
   9783   hardcode_into_libs=yes
   9784   # ldd complains unless libraries are executable
   9785   postinstall_cmds='chmod +x $lib'
   9786   ;;
   9787 
   9788 sunos4*)
   9789   version_type=sunos
   9790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9791   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9792   shlibpath_var=LD_LIBRARY_PATH
   9793   shlibpath_overrides_runpath=yes
   9794   if test "$with_gnu_ld" = yes; then
   9795     need_lib_prefix=no
   9796   fi
   9797   need_version=yes
   9798   ;;
   9799 
   9800 sysv4 | sysv4.3*)
   9801   version_type=linux
   9802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9803   soname_spec='${libname}${release}${shared_ext}$major'
   9804   shlibpath_var=LD_LIBRARY_PATH
   9805   case $host_vendor in
   9806     sni)
   9807       shlibpath_overrides_runpath=no
   9808       need_lib_prefix=no
   9809       runpath_var=LD_RUN_PATH
   9810       ;;
   9811     siemens)
   9812       need_lib_prefix=no
   9813       ;;
   9814     motorola)
   9815       need_lib_prefix=no
   9816       need_version=no
   9817       shlibpath_overrides_runpath=no
   9818       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9819       ;;
   9820   esac
   9821   ;;
   9822 
   9823 sysv4*MP*)
   9824   if test -d /usr/nec ;then
   9825     version_type=linux
   9826     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9827     soname_spec='$libname${shared_ext}.$major'
   9828     shlibpath_var=LD_LIBRARY_PATH
   9829   fi
   9830   ;;
   9831 
   9832 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9833   version_type=freebsd-elf
   9834   need_lib_prefix=no
   9835   need_version=no
   9836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9837   soname_spec='${libname}${release}${shared_ext}$major'
   9838   shlibpath_var=LD_LIBRARY_PATH
   9839   shlibpath_overrides_runpath=yes
   9840   hardcode_into_libs=yes
   9841   if test "$with_gnu_ld" = yes; then
   9842     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9843   else
   9844     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9845     case $host_os in
   9846       sco3.2v5*)
   9847         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9848 	;;
   9849     esac
   9850   fi
   9851   sys_lib_dlsearch_path_spec='/usr/lib'
   9852   ;;
   9853 
   9854 tpf*)
   9855   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9856   version_type=linux
   9857   need_lib_prefix=no
   9858   need_version=no
   9859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9860   shlibpath_var=LD_LIBRARY_PATH
   9861   shlibpath_overrides_runpath=no
   9862   hardcode_into_libs=yes
   9863   ;;
   9864 
   9865 uts4*)
   9866   version_type=linux
   9867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9868   soname_spec='${libname}${release}${shared_ext}$major'
   9869   shlibpath_var=LD_LIBRARY_PATH
   9870   ;;
   9871 
   9872 *)
   9873   dynamic_linker=no
   9874   ;;
   9875 esac
   9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   9877 $as_echo "$dynamic_linker" >&6; }
   9878 test "$dynamic_linker" = no && can_build_shared=no
   9879 
   9880 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9881 if test "$GCC" = yes; then
   9882   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9883 fi
   9884 
   9885 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9886   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9887 fi
   9888 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9889   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9890 fi
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   9979 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9980 hardcode_action=
   9981 if test -n "$hardcode_libdir_flag_spec" ||
   9982    test -n "$runpath_var" ||
   9983    test "X$hardcode_automatic" = "Xyes" ; then
   9984 
   9985   # We can hardcode non-existent directories.
   9986   if test "$hardcode_direct" != no &&
   9987      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9988      # have to relink, otherwise we might link with an installed library
   9989      # when we should be linking with a yet-to-be-installed one
   9990      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9991      test "$hardcode_minus_L" != no; then
   9992     # Linking always hardcodes the temporary library directory.
   9993     hardcode_action=relink
   9994   else
   9995     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9996     hardcode_action=immediate
   9997   fi
   9998 else
   9999   # We cannot hardcode anything, or else we can only hardcode existing
   10000   # directories.
   10001   hardcode_action=unsupported
   10002 fi
   10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10004 $as_echo "$hardcode_action" >&6; }
   10005 
   10006 if test "$hardcode_action" = relink ||
   10007    test "$inherit_rpath" = yes; then
   10008   # Fast installation is not supported
   10009   enable_fast_install=no
   10010 elif test "$shlibpath_overrides_runpath" = yes ||
   10011      test "$enable_shared" = no; then
   10012   # Fast installation is not necessary
   10013   enable_fast_install=needless
   10014 fi
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021   if test "x$enable_dlopen" != xyes; then
   10022   enable_dlopen=unknown
   10023   enable_dlopen_self=unknown
   10024   enable_dlopen_self_static=unknown
   10025 else
   10026   lt_cv_dlopen=no
   10027   lt_cv_dlopen_libs=
   10028 
   10029   case $host_os in
   10030   beos*)
   10031     lt_cv_dlopen="load_add_on"
   10032     lt_cv_dlopen_libs=
   10033     lt_cv_dlopen_self=yes
   10034     ;;
   10035 
   10036   mingw* | pw32* | cegcc*)
   10037     lt_cv_dlopen="LoadLibrary"
   10038     lt_cv_dlopen_libs=
   10039     ;;
   10040 
   10041   cygwin*)
   10042     lt_cv_dlopen="dlopen"
   10043     lt_cv_dlopen_libs=
   10044     ;;
   10045 
   10046   darwin*)
   10047   # if libdl is installed we need to link against it
   10048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10049 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10050 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10051   $as_echo_n "(cached) " >&6
   10052 else
   10053   ac_check_lib_save_LIBS=$LIBS
   10054 LIBS="-ldl  $LIBS"
   10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10056 /* end confdefs.h.  */
   10057 
   10058 /* Override any GCC internal prototype to avoid an error.
   10059    Use char because int might match the return type of a GCC
   10060    builtin and then its argument prototype would still apply.  */
   10061 #ifdef __cplusplus
   10062 extern "C"
   10063 #endif
   10064 char dlopen ();
   10065 int
   10066 main ()
   10067 {
   10068 return dlopen ();
   10069   ;
   10070   return 0;
   10071 }
   10072 _ACEOF
   10073 if ac_fn_c_try_link "$LINENO"; then :
   10074   ac_cv_lib_dl_dlopen=yes
   10075 else
   10076   ac_cv_lib_dl_dlopen=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext \
   10079     conftest$ac_exeext conftest.$ac_ext
   10080 LIBS=$ac_check_lib_save_LIBS
   10081 fi
   10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10083 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10084 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10085   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10086 else
   10087 
   10088     lt_cv_dlopen="dyld"
   10089     lt_cv_dlopen_libs=
   10090     lt_cv_dlopen_self=yes
   10091 
   10092 fi
   10093 
   10094     ;;
   10095 
   10096   *)
   10097     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10098 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10099   lt_cv_dlopen="shl_load"
   10100 else
   10101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10102 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10103 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10104   $as_echo_n "(cached) " >&6
   10105 else
   10106   ac_check_lib_save_LIBS=$LIBS
   10107 LIBS="-ldld  $LIBS"
   10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 
   10111 /* Override any GCC internal prototype to avoid an error.
   10112    Use char because int might match the return type of a GCC
   10113    builtin and then its argument prototype would still apply.  */
   10114 #ifdef __cplusplus
   10115 extern "C"
   10116 #endif
   10117 char shl_load ();
   10118 int
   10119 main ()
   10120 {
   10121 return shl_load ();
   10122   ;
   10123   return 0;
   10124 }
   10125 _ACEOF
   10126 if ac_fn_c_try_link "$LINENO"; then :
   10127   ac_cv_lib_dld_shl_load=yes
   10128 else
   10129   ac_cv_lib_dld_shl_load=no
   10130 fi
   10131 rm -f core conftest.err conftest.$ac_objext \
   10132     conftest$ac_exeext conftest.$ac_ext
   10133 LIBS=$ac_check_lib_save_LIBS
   10134 fi
   10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10136 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10137 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10138   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10139 else
   10140   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10141 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10142   lt_cv_dlopen="dlopen"
   10143 else
   10144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10145 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10146 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10147   $as_echo_n "(cached) " >&6
   10148 else
   10149   ac_check_lib_save_LIBS=$LIBS
   10150 LIBS="-ldl  $LIBS"
   10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10152 /* end confdefs.h.  */
   10153 
   10154 /* Override any GCC internal prototype to avoid an error.
   10155    Use char because int might match the return type of a GCC
   10156    builtin and then its argument prototype would still apply.  */
   10157 #ifdef __cplusplus
   10158 extern "C"
   10159 #endif
   10160 char dlopen ();
   10161 int
   10162 main ()
   10163 {
   10164 return dlopen ();
   10165   ;
   10166   return 0;
   10167 }
   10168 _ACEOF
   10169 if ac_fn_c_try_link "$LINENO"; then :
   10170   ac_cv_lib_dl_dlopen=yes
   10171 else
   10172   ac_cv_lib_dl_dlopen=no
   10173 fi
   10174 rm -f core conftest.err conftest.$ac_objext \
   10175     conftest$ac_exeext conftest.$ac_ext
   10176 LIBS=$ac_check_lib_save_LIBS
   10177 fi
   10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10179 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10180 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10181   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10182 else
   10183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10184 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10185 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10186   $as_echo_n "(cached) " >&6
   10187 else
   10188   ac_check_lib_save_LIBS=$LIBS
   10189 LIBS="-lsvld  $LIBS"
   10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 
   10193 /* Override any GCC internal prototype to avoid an error.
   10194    Use char because int might match the return type of a GCC
   10195    builtin and then its argument prototype would still apply.  */
   10196 #ifdef __cplusplus
   10197 extern "C"
   10198 #endif
   10199 char dlopen ();
   10200 int
   10201 main ()
   10202 {
   10203 return dlopen ();
   10204   ;
   10205   return 0;
   10206 }
   10207 _ACEOF
   10208 if ac_fn_c_try_link "$LINENO"; then :
   10209   ac_cv_lib_svld_dlopen=yes
   10210 else
   10211   ac_cv_lib_svld_dlopen=no
   10212 fi
   10213 rm -f core conftest.err conftest.$ac_objext \
   10214     conftest$ac_exeext conftest.$ac_ext
   10215 LIBS=$ac_check_lib_save_LIBS
   10216 fi
   10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10218 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10219 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10220   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10221 else
   10222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10223 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10224 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10225   $as_echo_n "(cached) " >&6
   10226 else
   10227   ac_check_lib_save_LIBS=$LIBS
   10228 LIBS="-ldld  $LIBS"
   10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10230 /* end confdefs.h.  */
   10231 
   10232 /* Override any GCC internal prototype to avoid an error.
   10233    Use char because int might match the return type of a GCC
   10234    builtin and then its argument prototype would still apply.  */
   10235 #ifdef __cplusplus
   10236 extern "C"
   10237 #endif
   10238 char dld_link ();
   10239 int
   10240 main ()
   10241 {
   10242 return dld_link ();
   10243   ;
   10244   return 0;
   10245 }
   10246 _ACEOF
   10247 if ac_fn_c_try_link "$LINENO"; then :
   10248   ac_cv_lib_dld_dld_link=yes
   10249 else
   10250   ac_cv_lib_dld_dld_link=no
   10251 fi
   10252 rm -f core conftest.err conftest.$ac_objext \
   10253     conftest$ac_exeext conftest.$ac_ext
   10254 LIBS=$ac_check_lib_save_LIBS
   10255 fi
   10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10257 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10258 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10259   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10260 fi
   10261 
   10262 
   10263 fi
   10264 
   10265 
   10266 fi
   10267 
   10268 
   10269 fi
   10270 
   10271 
   10272 fi
   10273 
   10274 
   10275 fi
   10276 
   10277     ;;
   10278   esac
   10279 
   10280   if test "x$lt_cv_dlopen" != xno; then
   10281     enable_dlopen=yes
   10282   else
   10283     enable_dlopen=no
   10284   fi
   10285 
   10286   case $lt_cv_dlopen in
   10287   dlopen)
   10288     save_CPPFLAGS="$CPPFLAGS"
   10289     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10290 
   10291     save_LDFLAGS="$LDFLAGS"
   10292     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10293 
   10294     save_LIBS="$LIBS"
   10295     LIBS="$lt_cv_dlopen_libs $LIBS"
   10296 
   10297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10298 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10299 if test "${lt_cv_dlopen_self+set}" = set; then :
   10300   $as_echo_n "(cached) " >&6
   10301 else
   10302   	  if test "$cross_compiling" = yes; then :
   10303   lt_cv_dlopen_self=cross
   10304 else
   10305   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10306   lt_status=$lt_dlunknown
   10307   cat > conftest.$ac_ext <<_LT_EOF
   10308 #line 10308 "configure"
   10309 #include "confdefs.h"
   10310 
   10311 #if HAVE_DLFCN_H
   10312 #include <dlfcn.h>
   10313 #endif
   10314 
   10315 #include <stdio.h>
   10316 
   10317 #ifdef RTLD_GLOBAL
   10318 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10319 #else
   10320 #  ifdef DL_GLOBAL
   10321 #    define LT_DLGLOBAL		DL_GLOBAL
   10322 #  else
   10323 #    define LT_DLGLOBAL		0
   10324 #  endif
   10325 #endif
   10326 
   10327 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10328    find out it does not work in some platform. */
   10329 #ifndef LT_DLLAZY_OR_NOW
   10330 #  ifdef RTLD_LAZY
   10331 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10332 #  else
   10333 #    ifdef DL_LAZY
   10334 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10335 #    else
   10336 #      ifdef RTLD_NOW
   10337 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10338 #      else
   10339 #        ifdef DL_NOW
   10340 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10341 #        else
   10342 #          define LT_DLLAZY_OR_NOW	0
   10343 #        endif
   10344 #      endif
   10345 #    endif
   10346 #  endif
   10347 #endif
   10348 
   10349 void fnord() { int i=42;}
   10350 int main ()
   10351 {
   10352   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10353   int status = $lt_dlunknown;
   10354 
   10355   if (self)
   10356     {
   10357       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10358       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10359       /* dlclose (self); */
   10360     }
   10361   else
   10362     puts (dlerror ());
   10363 
   10364   return status;
   10365 }
   10366 _LT_EOF
   10367   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10368   (eval $ac_link) 2>&5
   10369   ac_status=$?
   10370   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10371   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10372     (./conftest; exit; ) >&5 2>/dev/null
   10373     lt_status=$?
   10374     case x$lt_status in
   10375       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10376       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10377       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10378     esac
   10379   else :
   10380     # compilation failed
   10381     lt_cv_dlopen_self=no
   10382   fi
   10383 fi
   10384 rm -fr conftest*
   10385 
   10386 
   10387 fi
   10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10389 $as_echo "$lt_cv_dlopen_self" >&6; }
   10390 
   10391     if test "x$lt_cv_dlopen_self" = xyes; then
   10392       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10393       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10394 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10395 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10396   $as_echo_n "(cached) " >&6
   10397 else
   10398   	  if test "$cross_compiling" = yes; then :
   10399   lt_cv_dlopen_self_static=cross
   10400 else
   10401   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10402   lt_status=$lt_dlunknown
   10403   cat > conftest.$ac_ext <<_LT_EOF
   10404 #line 10404 "configure"
   10405 #include "confdefs.h"
   10406 
   10407 #if HAVE_DLFCN_H
   10408 #include <dlfcn.h>
   10409 #endif
   10410 
   10411 #include <stdio.h>
   10412 
   10413 #ifdef RTLD_GLOBAL
   10414 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10415 #else
   10416 #  ifdef DL_GLOBAL
   10417 #    define LT_DLGLOBAL		DL_GLOBAL
   10418 #  else
   10419 #    define LT_DLGLOBAL		0
   10420 #  endif
   10421 #endif
   10422 
   10423 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10424    find out it does not work in some platform. */
   10425 #ifndef LT_DLLAZY_OR_NOW
   10426 #  ifdef RTLD_LAZY
   10427 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10428 #  else
   10429 #    ifdef DL_LAZY
   10430 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10431 #    else
   10432 #      ifdef RTLD_NOW
   10433 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10434 #      else
   10435 #        ifdef DL_NOW
   10436 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10437 #        else
   10438 #          define LT_DLLAZY_OR_NOW	0
   10439 #        endif
   10440 #      endif
   10441 #    endif
   10442 #  endif
   10443 #endif
   10444 
   10445 void fnord() { int i=42;}
   10446 int main ()
   10447 {
   10448   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10449   int status = $lt_dlunknown;
   10450 
   10451   if (self)
   10452     {
   10453       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10454       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10455       /* dlclose (self); */
   10456     }
   10457   else
   10458     puts (dlerror ());
   10459 
   10460   return status;
   10461 }
   10462 _LT_EOF
   10463   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10464   (eval $ac_link) 2>&5
   10465   ac_status=$?
   10466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10467   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10468     (./conftest; exit; ) >&5 2>/dev/null
   10469     lt_status=$?
   10470     case x$lt_status in
   10471       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10472       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10473       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10474     esac
   10475   else :
   10476     # compilation failed
   10477     lt_cv_dlopen_self_static=no
   10478   fi
   10479 fi
   10480 rm -fr conftest*
   10481 
   10482 
   10483 fi
   10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10485 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10486     fi
   10487 
   10488     CPPFLAGS="$save_CPPFLAGS"
   10489     LDFLAGS="$save_LDFLAGS"
   10490     LIBS="$save_LIBS"
   10491     ;;
   10492   esac
   10493 
   10494   case $lt_cv_dlopen_self in
   10495   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10496   *) enable_dlopen_self=unknown ;;
   10497   esac
   10498 
   10499   case $lt_cv_dlopen_self_static in
   10500   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10501   *) enable_dlopen_self_static=unknown ;;
   10502   esac
   10503 fi
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 striplib=
   10522 old_striplib=
   10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10524 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10525 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10526   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10527   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10529 $as_echo "yes" >&6; }
   10530 else
   10531 # FIXME - insert some real tests, host_os isn't really good enough
   10532   case $host_os in
   10533   darwin*)
   10534     if test -n "$STRIP" ; then
   10535       striplib="$STRIP -x"
   10536       old_striplib="$STRIP -S"
   10537       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10538 $as_echo "yes" >&6; }
   10539     else
   10540       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10541 $as_echo "no" >&6; }
   10542     fi
   10543     ;;
   10544   *)
   10545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10546 $as_echo "no" >&6; }
   10547     ;;
   10548   esac
   10549 fi
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562   # Report which library types will actually be built
   10563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10564 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10566 $as_echo "$can_build_shared" >&6; }
   10567 
   10568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10569 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10570   test "$can_build_shared" = "no" && enable_shared=no
   10571 
   10572   # On AIX, shared libraries and static libraries use the same namespace, and
   10573   # are all built from PIC.
   10574   case $host_os in
   10575   aix3*)
   10576     test "$enable_shared" = yes && enable_static=no
   10577     if test -n "$RANLIB"; then
   10578       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10579       postinstall_cmds='$RANLIB $lib'
   10580     fi
   10581     ;;
   10582 
   10583   aix[4-9]*)
   10584     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10585       test "$enable_shared" = yes && enable_static=no
   10586     fi
   10587     ;;
   10588   esac
   10589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10590 $as_echo "$enable_shared" >&6; }
   10591 
   10592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10593 $as_echo_n "checking whether to build static libraries... " >&6; }
   10594   # Make sure either enable_shared or enable_static is yes.
   10595   test "$enable_shared" = yes || enable_static=yes
   10596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10597 $as_echo "$enable_static" >&6; }
   10598 
   10599 
   10600 
   10601 
   10602 fi
   10603 ac_ext=c
   10604 ac_cpp='$CPP $CPPFLAGS'
   10605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10608 
   10609 CC="$lt_save_CC"
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623         ac_config_commands="$ac_config_commands libtool"
   10624 
   10625 
   10626 
   10627 
   10628 # Only expand once:
   10629 
   10630 
   10631 
   10632 if  test "x$GCC" = xyes ; then
   10633     CWARNFLAGS="-Wall"
   10634 else
   10635     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   10636 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   10637   SUNCC="yes"
   10638 else
   10639   SUNCC="no"
   10640 fi
   10641 
   10642     if test "x$SUNCC" = "xyes"; then
   10643 	CWARNFLAGS="-v"
   10644     fi
   10645 fi
   10646 
   10647 
   10648 
   10649 
   10650   for ac_func in $ac_func_list
   10651 do :
   10652   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10654 eval as_val=\$$as_ac_var
   10655    if test "x$as_val" = x""yes; then :
   10656   cat >>confdefs.h <<_ACEOF
   10657 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10658 _ACEOF
   10659 
   10660 fi
   10661 done
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   10668 if test "x$ac_cv_type_ssize_t" = x""yes; then :
   10669 
   10670 else
   10671 
   10672 cat >>confdefs.h <<_ACEOF
   10673 #define ssize_t int
   10674 _ACEOF
   10675 
   10676 fi
   10677 
   10678 
   10679 xcbincludedir='${includedir}/xcb'
   10680 
   10681 
   10682 pkgconfigdir='${libdir}/pkgconfig'
   10683 
   10684 
   10685 
   10686 
   10687 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   10688 	if test -n "$ac_tool_prefix"; then
   10689   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   10690 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10692 $as_echo_n "checking for $ac_word... " >&6; }
   10693 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   10694   $as_echo_n "(cached) " >&6
   10695 else
   10696   case $PKG_CONFIG in
   10697   [\\/]* | ?:[\\/]*)
   10698   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   10699   ;;
   10700   *)
   10701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10702 for as_dir in $PATH
   10703 do
   10704   IFS=$as_save_IFS
   10705   test -z "$as_dir" && as_dir=.
   10706     for ac_exec_ext in '' $ac_executable_extensions; do
   10707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10708     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10710     break 2
   10711   fi
   10712 done
   10713   done
   10714 IFS=$as_save_IFS
   10715 
   10716   ;;
   10717 esac
   10718 fi
   10719 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   10720 if test -n "$PKG_CONFIG"; then
   10721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   10722 $as_echo "$PKG_CONFIG" >&6; }
   10723 else
   10724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10725 $as_echo "no" >&6; }
   10726 fi
   10727 
   10728 
   10729 fi
   10730 if test -z "$ac_cv_path_PKG_CONFIG"; then
   10731   ac_pt_PKG_CONFIG=$PKG_CONFIG
   10732   # Extract the first word of "pkg-config", so it can be a program name with args.
   10733 set dummy pkg-config; ac_word=$2
   10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10735 $as_echo_n "checking for $ac_word... " >&6; }
   10736 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   10737   $as_echo_n "(cached) " >&6
   10738 else
   10739   case $ac_pt_PKG_CONFIG in
   10740   [\\/]* | ?:[\\/]*)
   10741   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   10742   ;;
   10743   *)
   10744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10745 for as_dir in $PATH
   10746 do
   10747   IFS=$as_save_IFS
   10748   test -z "$as_dir" && as_dir=.
   10749     for ac_exec_ext in '' $ac_executable_extensions; do
   10750   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10751     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   10752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10753     break 2
   10754   fi
   10755 done
   10756   done
   10757 IFS=$as_save_IFS
   10758 
   10759   ;;
   10760 esac
   10761 fi
   10762 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   10763 if test -n "$ac_pt_PKG_CONFIG"; then
   10764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   10765 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   10766 else
   10767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10768 $as_echo "no" >&6; }
   10769 fi
   10770 
   10771   if test "x$ac_pt_PKG_CONFIG" = x; then
   10772     PKG_CONFIG=""
   10773   else
   10774     case $cross_compiling:$ac_tool_warned in
   10775 yes:)
   10776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10778 ac_tool_warned=yes ;;
   10779 esac
   10780     PKG_CONFIG=$ac_pt_PKG_CONFIG
   10781   fi
   10782 else
   10783   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   10784 fi
   10785 
   10786 fi
   10787 if test -n "$PKG_CONFIG"; then
   10788 	_pkg_min_version=0.9.0
   10789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   10790 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   10791 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   10792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10793 $as_echo "yes" >&6; }
   10794 	else
   10795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10796 $as_echo "no" >&6; }
   10797 		PKG_CONFIG=""
   10798 	fi
   10799 
   10800 fi
   10801 
   10802 pkg_failed=no
   10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
   10804 $as_echo_n "checking for XCB... " >&6; }
   10805 
   10806 if test -n "$PKG_CONFIG"; then
   10807     if test -n "$XCB_CFLAGS"; then
   10808         pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
   10809     else
   10810         if test -n "$PKG_CONFIG" && \
   10811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.4\""; } >&5
   10812   ($PKG_CONFIG --exists --print-errors "xcb >= 1.4") 2>&5
   10813   ac_status=$?
   10814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10815   test $ac_status = 0; }; then
   10816   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.4" 2>/dev/null`
   10817 else
   10818   pkg_failed=yes
   10819 fi
   10820     fi
   10821 else
   10822 	pkg_failed=untried
   10823 fi
   10824 if test -n "$PKG_CONFIG"; then
   10825     if test -n "$XCB_LIBS"; then
   10826         pkg_cv_XCB_LIBS="$XCB_LIBS"
   10827     else
   10828         if test -n "$PKG_CONFIG" && \
   10829     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.4\""; } >&5
   10830   ($PKG_CONFIG --exists --print-errors "xcb >= 1.4") 2>&5
   10831   ac_status=$?
   10832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10833   test $ac_status = 0; }; then
   10834   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb >= 1.4" 2>/dev/null`
   10835 else
   10836   pkg_failed=yes
   10837 fi
   10838     fi
   10839 else
   10840 	pkg_failed=untried
   10841 fi
   10842 
   10843 
   10844 
   10845 if test $pkg_failed = yes; then
   10846 
   10847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10848         _pkg_short_errors_supported=yes
   10849 else
   10850         _pkg_short_errors_supported=no
   10851 fi
   10852         if test $_pkg_short_errors_supported = yes; then
   10853 	        XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb >= 1.4"`
   10854         else
   10855 	        XCB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb >= 1.4"`
   10856         fi
   10857 	# Put the nasty error message in config.log where it belongs
   10858 	echo "$XCB_PKG_ERRORS" >&5
   10859 
   10860 	as_fn_error "Package requirements (xcb >= 1.4) were not met:
   10861 
   10862 $XCB_PKG_ERRORS
   10863 
   10864 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10865 installed software in a non-standard prefix.
   10866 
   10867 Alternatively, you may set the environment variables XCB_CFLAGS
   10868 and XCB_LIBS to avoid the need to call pkg-config.
   10869 See the pkg-config man page for more details.
   10870 " "$LINENO" 5
   10871 elif test $pkg_failed = untried; then
   10872 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10874 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   10875 is in your PATH or set the PKG_CONFIG environment variable to the full
   10876 path to pkg-config.
   10877 
   10878 Alternatively, you may set the environment variables XCB_CFLAGS
   10879 and XCB_LIBS to avoid the need to call pkg-config.
   10880 See the pkg-config man page for more details.
   10881 
   10882 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10883 See \`config.log' for more details." "$LINENO" 5; }
   10884 else
   10885 	XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
   10886 	XCB_LIBS=$pkg_cv_XCB_LIBS
   10887         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10888 $as_echo "yes" >&6; }
   10889 	:
   10890 fi
   10891 
   10892 ######
   10893 # Check version of xcb-proto that xcb was compiled against
   10894 ######
   10895 xcbproto_required=1.5
   10896 
   10897 # Moved from AX_COMPARE_VERSION to maintain proper output
   10898 for ac_prog in gawk mawk nawk awk
   10899 do
   10900   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10901 set dummy $ac_prog; ac_word=$2
   10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10903 $as_echo_n "checking for $ac_word... " >&6; }
   10904 if test "${ac_cv_prog_AWK+set}" = set; then :
   10905   $as_echo_n "(cached) " >&6
   10906 else
   10907   if test -n "$AWK"; then
   10908   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   10909 else
   10910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10911 for as_dir in $PATH
   10912 do
   10913   IFS=$as_save_IFS
   10914   test -z "$as_dir" && as_dir=.
   10915     for ac_exec_ext in '' $ac_executable_extensions; do
   10916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10917     ac_cv_prog_AWK="$ac_prog"
   10918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10919     break 2
   10920   fi
   10921 done
   10922   done
   10923 IFS=$as_save_IFS
   10924 
   10925 fi
   10926 fi
   10927 AWK=$ac_cv_prog_AWK
   10928 if test -n "$AWK"; then
   10929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   10930 $as_echo "$AWK" >&6; }
   10931 else
   10932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10933 $as_echo "no" >&6; }
   10934 fi
   10935 
   10936 
   10937   test -n "$AWK" && break
   10938 done
   10939 
   10940 
   10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libxcb was compiled against xcb-proto >= $xcbproto_required" >&5
   10942 $as_echo_n "checking whether libxcb was compiled against xcb-proto >= $xcbproto_required... " >&6; }
   10943 xcbproto_version=`$PKG_CONFIG --variable=xcbproto_version xcb`
   10944 
   10945 
   10946   # Used to indicate true or false condition
   10947   ax_compare_version=false
   10948 
   10949   # Convert the two version strings to be compared into a format that
   10950   # allows a simple string comparison.  The end result is that a version
   10951   # string of the form 1.12.5-r617 will be converted to the form
   10952   # 0001001200050617.  In other words, each number is zero padded to four
   10953   # digits, and non digits are removed.
   10954 
   10955   ax_compare_version_A=`echo "$xcbproto_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
   10956                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
   10957                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
   10958                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
   10959                      -e 's/[^0-9]//g'`
   10960 
   10961 
   10962   ax_compare_version_B=`echo "$xcbproto_required" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
   10963                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
   10964                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
   10965                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
   10966                      -e 's/[^0-9]//g'`
   10967 
   10968 
   10969     ax_compare_version=`echo "x$ax_compare_version_A
   10970 x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
   10971 
   10972 
   10973 
   10974     if test "$ax_compare_version" = "true" ; then
   10975     xcbproto_ok="yes"
   10976     else xcbproto_ok="no"
   10977   fi
   10978 
   10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xcbproto_ok" >&5
   10980 $as_echo "$xcbproto_ok" >&6; }
   10981 
   10982 if test $xcbproto_ok = no; then
   10983 	as_fn_error "libxcb was compiled against xcb-proto $xcbproto_version; it needs to be compiled against version $xcbproto_required or higher" "$LINENO" 5
   10984 fi
   10985 
   10986 
   10987 
   10988 pkg_failed=no
   10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHM" >&5
   10990 $as_echo_n "checking for XCB_SHM... " >&6; }
   10991 
   10992 if test -n "$PKG_CONFIG"; then
   10993     if test -n "$XCB_SHM_CFLAGS"; then
   10994         pkg_cv_XCB_SHM_CFLAGS="$XCB_SHM_CFLAGS"
   10995     else
   10996         if test -n "$PKG_CONFIG" && \
   10997     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5
   10998   ($PKG_CONFIG --exists --print-errors "xcb-shm") 2>&5
   10999   ac_status=$?
   11000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11001   test $ac_status = 0; }; then
   11002   pkg_cv_XCB_SHM_CFLAGS=`$PKG_CONFIG --cflags "xcb-shm" 2>/dev/null`
   11003 else
   11004   pkg_failed=yes
   11005 fi
   11006     fi
   11007 else
   11008 	pkg_failed=untried
   11009 fi
   11010 if test -n "$PKG_CONFIG"; then
   11011     if test -n "$XCB_SHM_LIBS"; then
   11012         pkg_cv_XCB_SHM_LIBS="$XCB_SHM_LIBS"
   11013     else
   11014         if test -n "$PKG_CONFIG" && \
   11015     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shm\""; } >&5
   11016   ($PKG_CONFIG --exists --print-errors "xcb-shm") 2>&5
   11017   ac_status=$?
   11018   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11019   test $ac_status = 0; }; then
   11020   pkg_cv_XCB_SHM_LIBS=`$PKG_CONFIG --libs "xcb-shm" 2>/dev/null`
   11021 else
   11022   pkg_failed=yes
   11023 fi
   11024     fi
   11025 else
   11026 	pkg_failed=untried
   11027 fi
   11028 
   11029 
   11030 
   11031 if test $pkg_failed = yes; then
   11032 
   11033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11034         _pkg_short_errors_supported=yes
   11035 else
   11036         _pkg_short_errors_supported=no
   11037 fi
   11038         if test $_pkg_short_errors_supported = yes; then
   11039 	        XCB_SHM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-shm"`
   11040         else
   11041 	        XCB_SHM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-shm"`
   11042         fi
   11043 	# Put the nasty error message in config.log where it belongs
   11044 	echo "$XCB_SHM_PKG_ERRORS" >&5
   11045 
   11046 	as_fn_error "Package requirements (xcb-shm) were not met:
   11047 
   11048 $XCB_SHM_PKG_ERRORS
   11049 
   11050 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11051 installed software in a non-standard prefix.
   11052 
   11053 Alternatively, you may set the environment variables XCB_SHM_CFLAGS
   11054 and XCB_SHM_LIBS to avoid the need to call pkg-config.
   11055 See the pkg-config man page for more details.
   11056 " "$LINENO" 5
   11057 elif test $pkg_failed = untried; then
   11058 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11060 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11061 is in your PATH or set the PKG_CONFIG environment variable to the full
   11062 path to pkg-config.
   11063 
   11064 Alternatively, you may set the environment variables XCB_SHM_CFLAGS
   11065 and XCB_SHM_LIBS to avoid the need to call pkg-config.
   11066 See the pkg-config man page for more details.
   11067 
   11068 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11069 See \`config.log' for more details." "$LINENO" 5; }
   11070 else
   11071 	XCB_SHM_CFLAGS=$pkg_cv_XCB_SHM_CFLAGS
   11072 	XCB_SHM_LIBS=$pkg_cv_XCB_SHM_LIBS
   11073         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11074 $as_echo "yes" >&6; }
   11075 	:
   11076 fi
   11077 
   11078 pkg_failed=no
   11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
   11080 $as_echo_n "checking for XCB_RENDER... " >&6; }
   11081 
   11082 if test -n "$PKG_CONFIG"; then
   11083     if test -n "$XCB_RENDER_CFLAGS"; then
   11084         pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
   11085     else
   11086         if test -n "$PKG_CONFIG" && \
   11087     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render\""; } >&5
   11088   ($PKG_CONFIG --exists --print-errors "xcb-render") 2>&5
   11089   ac_status=$?
   11090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11091   test $ac_status = 0; }; then
   11092   pkg_cv_XCB_RENDER_CFLAGS=`$PKG_CONFIG --cflags "xcb-render" 2>/dev/null`
   11093 else
   11094   pkg_failed=yes
   11095 fi
   11096     fi
   11097 else
   11098 	pkg_failed=untried
   11099 fi
   11100 if test -n "$PKG_CONFIG"; then
   11101     if test -n "$XCB_RENDER_LIBS"; then
   11102         pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
   11103     else
   11104         if test -n "$PKG_CONFIG" && \
   11105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render\""; } >&5
   11106   ($PKG_CONFIG --exists --print-errors "xcb-render") 2>&5
   11107   ac_status=$?
   11108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11109   test $ac_status = 0; }; then
   11110   pkg_cv_XCB_RENDER_LIBS=`$PKG_CONFIG --libs "xcb-render" 2>/dev/null`
   11111 else
   11112   pkg_failed=yes
   11113 fi
   11114     fi
   11115 else
   11116 	pkg_failed=untried
   11117 fi
   11118 
   11119 
   11120 
   11121 if test $pkg_failed = yes; then
   11122 
   11123 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11124         _pkg_short_errors_supported=yes
   11125 else
   11126         _pkg_short_errors_supported=no
   11127 fi
   11128         if test $_pkg_short_errors_supported = yes; then
   11129 	        XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xcb-render"`
   11130         else
   11131 	        XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xcb-render"`
   11132         fi
   11133 	# Put the nasty error message in config.log where it belongs
   11134 	echo "$XCB_RENDER_PKG_ERRORS" >&5
   11135 
   11136 	as_fn_error "Package requirements (xcb-render) were not met:
   11137 
   11138 $XCB_RENDER_PKG_ERRORS
   11139 
   11140 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11141 installed software in a non-standard prefix.
   11142 
   11143 Alternatively, you may set the environment variables XCB_RENDER_CFLAGS
   11144 and XCB_RENDER_LIBS to avoid the need to call pkg-config.
   11145 See the pkg-config man page for more details.
   11146 " "$LINENO" 5
   11147 elif test $pkg_failed = untried; then
   11148 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11150 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11151 is in your PATH or set the PKG_CONFIG environment variable to the full
   11152 path to pkg-config.
   11153 
   11154 Alternatively, you may set the environment variables XCB_RENDER_CFLAGS
   11155 and XCB_RENDER_LIBS to avoid the need to call pkg-config.
   11156 See the pkg-config man page for more details.
   11157 
   11158 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11159 See \`config.log' for more details." "$LINENO" 5; }
   11160 else
   11161 	XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
   11162 	XCB_RENDER_LIBS=$pkg_cv_XCB_RENDER_LIBS
   11163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11164 $as_echo "yes" >&6; }
   11165 	:
   11166 fi
   11167 
   11168 pkg_failed=no
   11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   11170 $as_echo_n "checking for XPROTO... " >&6; }
   11171 
   11172 if test -n "$PKG_CONFIG"; then
   11173     if test -n "$XPROTO_CFLAGS"; then
   11174         pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   11175     else
   11176         if test -n "$PKG_CONFIG" && \
   11177     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.8\""; } >&5
   11178   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.8") 2>&5
   11179   ac_status=$?
   11180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11181   test $ac_status = 0; }; then
   11182   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.8" 2>/dev/null`
   11183 else
   11184   pkg_failed=yes
   11185 fi
   11186     fi
   11187 else
   11188 	pkg_failed=untried
   11189 fi
   11190 if test -n "$PKG_CONFIG"; then
   11191     if test -n "$XPROTO_LIBS"; then
   11192         pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   11193     else
   11194         if test -n "$PKG_CONFIG" && \
   11195     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.8\""; } >&5
   11196   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.8") 2>&5
   11197   ac_status=$?
   11198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11199   test $ac_status = 0; }; then
   11200   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.8" 2>/dev/null`
   11201 else
   11202   pkg_failed=yes
   11203 fi
   11204     fi
   11205 else
   11206 	pkg_failed=untried
   11207 fi
   11208 
   11209 
   11210 
   11211 if test $pkg_failed = yes; then
   11212 
   11213 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11214         _pkg_short_errors_supported=yes
   11215 else
   11216         _pkg_short_errors_supported=no
   11217 fi
   11218         if test $_pkg_short_errors_supported = yes; then
   11219 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto >= 7.0.8"`
   11220         else
   11221 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto >= 7.0.8"`
   11222         fi
   11223 	# Put the nasty error message in config.log where it belongs
   11224 	echo "$XPROTO_PKG_ERRORS" >&5
   11225 
   11226 	as_fn_error "Package requirements (xproto >= 7.0.8) were not met:
   11227 
   11228 $XPROTO_PKG_ERRORS
   11229 
   11230 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11231 installed software in a non-standard prefix.
   11232 
   11233 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11234 and XPROTO_LIBS to avoid the need to call pkg-config.
   11235 See the pkg-config man page for more details.
   11236 " "$LINENO" 5
   11237 elif test $pkg_failed = untried; then
   11238 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11240 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11241 is in your PATH or set the PKG_CONFIG environment variable to the full
   11242 path to pkg-config.
   11243 
   11244 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11245 and XPROTO_LIBS to avoid the need to call pkg-config.
   11246 See the pkg-config man page for more details.
   11247 
   11248 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11249 See \`config.log' for more details." "$LINENO" 5; }
   11250 else
   11251 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   11252 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   11253         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11254 $as_echo "yes" >&6; }
   11255 	:
   11256 fi
   11257 
   11258 XCB_AUX_CFLAGS='-I$(top_srcdir)/aux'
   11259 XCB_AUX_LIBS='$(top_builddir)/aux/libxcb-aux.la'
   11260 XCB_ATOM_CFLAGS='-I$(top_srcdir)/atom -I$(top_builddir)/atom'
   11261 XCB_ATOM_LIBS='$(top_builddir)/atom/libxcb-atom.la'
   11262 XCB_EVENT_CFLAGS='-I$(top_srcdir)/event'
   11263 XCB_EVENT_LIBS='$(top_builddir)/event/libxcb-event.la'
   11264 XCB_PROPERTY_CFLAGS='-I$(top_srcdir)/property'
   11265 XCB_PROPERTY_LIBS='$(top_builddir)/property/libxcb-property.la'
   11266 XCB_ICCCM_CFLAGS='-I$(top_srcdir)/icccm'
   11267 XCB_ICCCM_LIBS='$(top_builddir)/icccm/libxcb-icccm.la'
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 ac_config_files="$ac_config_files Makefile aux/Makefile aux/xcb-aux.pc reply/Makefile reply/xcb-reply.pc image/Makefile image/xcb-image.pc atom/Makefile atom/xcb-atom.pc event/Makefile event/xcb-event.pc keysyms/Makefile keysyms/xcb-keysyms.pc property/Makefile property/xcb-property.pc icccm/Makefile icccm/xcb-icccm.pc renderutil/Makefile renderutil/xcb-renderutil.pc xcb_util_intro"
   11280 
   11281 cat >confcache <<\_ACEOF
   11282 # This file is a shell script that caches the results of configure
   11283 # tests run on this system so they can be shared between configure
   11284 # scripts and configure runs, see configure's option --config-cache.
   11285 # It is not useful on other systems.  If it contains results you don't
   11286 # want to keep, you may remove or edit it.
   11287 #
   11288 # config.status only pays attention to the cache file if you give it
   11289 # the --recheck option to rerun configure.
   11290 #
   11291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11293 # following values.
   11294 
   11295 _ACEOF
   11296 
   11297 # The following way of writing the cache mishandles newlines in values,
   11298 # but we know of no workaround that is simple, portable, and efficient.
   11299 # So, we kill variables containing newlines.
   11300 # Ultrix sh set writes to stderr and can't be redirected directly,
   11301 # and sets the high bit in the cache file unless we assign to the vars.
   11302 (
   11303   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11304     eval ac_val=\$$ac_var
   11305     case $ac_val in #(
   11306     *${as_nl}*)
   11307       case $ac_var in #(
   11308       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11310       esac
   11311       case $ac_var in #(
   11312       _ | IFS | as_nl) ;; #(
   11313       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11314       *) { eval $ac_var=; unset $ac_var;} ;;
   11315       esac ;;
   11316     esac
   11317   done
   11318 
   11319   (set) 2>&1 |
   11320     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11321     *${as_nl}ac_space=\ *)
   11322       # `set' does not quote correctly, so add quotes: double-quote
   11323       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11324       sed -n \
   11325 	"s/'/'\\\\''/g;
   11326 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11327       ;; #(
   11328     *)
   11329       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11330       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11331       ;;
   11332     esac |
   11333     sort
   11334 ) |
   11335   sed '
   11336      /^ac_cv_env_/b end
   11337      t clear
   11338      :clear
   11339      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11340      t end
   11341      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11342      :end' >>confcache
   11343 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11344   if test -w "$cache_file"; then
   11345     test "x$cache_file" != "x/dev/null" &&
   11346       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11347 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11348     cat confcache >$cache_file
   11349   else
   11350     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11351 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11352   fi
   11353 fi
   11354 rm -f confcache
   11355 
   11356 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11357 # Let make expand exec_prefix.
   11358 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11359 
   11360 # Transform confdefs.h into DEFS.
   11361 # Protect against shell expansion while executing Makefile rules.
   11362 # Protect against Makefile macro expansion.
   11363 #
   11364 # If the first sed substitution is executed (which looks for macros that
   11365 # take arguments), then branch to the quote section.  Otherwise,
   11366 # look for a macro that doesn't take arguments.
   11367 ac_script='
   11368 :mline
   11369 /\\$/{
   11370  N
   11371  s,\\\n,,
   11372  b mline
   11373 }
   11374 t clear
   11375 :clear
   11376 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   11377 t quote
   11378 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   11379 t quote
   11380 b any
   11381 :quote
   11382 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   11383 s/\[/\\&/g
   11384 s/\]/\\&/g
   11385 s/\$/$$/g
   11386 H
   11387 :any
   11388 ${
   11389 	g
   11390 	s/^\n//
   11391 	s/\n/ /g
   11392 	p
   11393 }
   11394 '
   11395 DEFS=`sed -n "$ac_script" confdefs.h`
   11396 
   11397 
   11398 ac_libobjs=
   11399 ac_ltlibobjs=
   11400 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11401   # 1. Remove the extension, and $U if already installed.
   11402   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11403   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11404   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11405   #    will be set to the directory where LIBOBJS objects are built.
   11406   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11407   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11408 done
   11409 LIBOBJS=$ac_libobjs
   11410 
   11411 LTLIBOBJS=$ac_ltlibobjs
   11412 
   11413 
   11414  if test -n "$EXEEXT"; then
   11415   am__EXEEXT_TRUE=
   11416   am__EXEEXT_FALSE='#'
   11417 else
   11418   am__EXEEXT_TRUE='#'
   11419   am__EXEEXT_FALSE=
   11420 fi
   11421 
   11422 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11423   as_fn_error "conditional \"AMDEP\" was never defined.
   11424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11425 fi
   11426 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11427   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   11428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11429 fi
   11430 
   11431 : ${CONFIG_STATUS=./config.status}
   11432 ac_write_fail=0
   11433 ac_clean_files_save=$ac_clean_files
   11434 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11435 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11436 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11437 as_write_fail=0
   11438 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11439 #! $SHELL
   11440 # Generated by $as_me.
   11441 # Run this file to recreate the current configuration.
   11442 # Compiler output produced by configure, useful for debugging
   11443 # configure, is in config.log if it exists.
   11444 
   11445 debug=false
   11446 ac_cs_recheck=false
   11447 ac_cs_silent=false
   11448 
   11449 SHELL=\${CONFIG_SHELL-$SHELL}
   11450 export SHELL
   11451 _ASEOF
   11452 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11453 ## -------------------- ##
   11454 ## M4sh Initialization. ##
   11455 ## -------------------- ##
   11456 
   11457 # Be more Bourne compatible
   11458 DUALCASE=1; export DUALCASE # for MKS sh
   11459 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11460   emulate sh
   11461   NULLCMD=:
   11462   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11463   # is contrary to our usage.  Disable this feature.
   11464   alias -g '${1+"$@"}'='"$@"'
   11465   setopt NO_GLOB_SUBST
   11466 else
   11467   case `(set -o) 2>/dev/null` in #(
   11468   *posix*) :
   11469     set -o posix ;; #(
   11470   *) :
   11471      ;;
   11472 esac
   11473 fi
   11474 
   11475 
   11476 as_nl='
   11477 '
   11478 export as_nl
   11479 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11480 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11481 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11482 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11483 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11484 # but without wasting forks for bash or zsh.
   11485 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11486     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11487   as_echo='print -r --'
   11488   as_echo_n='print -rn --'
   11489 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11490   as_echo='printf %s\n'
   11491   as_echo_n='printf %s'
   11492 else
   11493   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11494     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11495     as_echo_n='/usr/ucb/echo -n'
   11496   else
   11497     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11498     as_echo_n_body='eval
   11499       arg=$1;
   11500       case $arg in #(
   11501       *"$as_nl"*)
   11502 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11503 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11504       esac;
   11505       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11506     '
   11507     export as_echo_n_body
   11508     as_echo_n='sh -c $as_echo_n_body as_echo'
   11509   fi
   11510   export as_echo_body
   11511   as_echo='sh -c $as_echo_body as_echo'
   11512 fi
   11513 
   11514 # The user is always right.
   11515 if test "${PATH_SEPARATOR+set}" != set; then
   11516   PATH_SEPARATOR=:
   11517   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11518     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11519       PATH_SEPARATOR=';'
   11520   }
   11521 fi
   11522 
   11523 
   11524 # IFS
   11525 # We need space, tab and new line, in precisely that order.  Quoting is
   11526 # there to prevent editors from complaining about space-tab.
   11527 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11528 # splitting by setting IFS to empty value.)
   11529 IFS=" ""	$as_nl"
   11530 
   11531 # Find who we are.  Look in the path if we contain no directory separator.
   11532 case $0 in #((
   11533   *[\\/]* ) as_myself=$0 ;;
   11534   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11535 for as_dir in $PATH
   11536 do
   11537   IFS=$as_save_IFS
   11538   test -z "$as_dir" && as_dir=.
   11539     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11540   done
   11541 IFS=$as_save_IFS
   11542 
   11543      ;;
   11544 esac
   11545 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11546 # in which case we are not to be found in the path.
   11547 if test "x$as_myself" = x; then
   11548   as_myself=$0
   11549 fi
   11550 if test ! -f "$as_myself"; then
   11551   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11552   exit 1
   11553 fi
   11554 
   11555 # Unset variables that we do not need and which cause bugs (e.g. in
   11556 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11557 # suppresses any "Segmentation fault" message there.  '((' could
   11558 # trigger a bug in pdksh 5.2.14.
   11559 for as_var in BASH_ENV ENV MAIL MAILPATH
   11560 do eval test x\${$as_var+set} = xset \
   11561   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11562 done
   11563 PS1='$ '
   11564 PS2='> '
   11565 PS4='+ '
   11566 
   11567 # NLS nuisances.
   11568 LC_ALL=C
   11569 export LC_ALL
   11570 LANGUAGE=C
   11571 export LANGUAGE
   11572 
   11573 # CDPATH.
   11574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11575 
   11576 
   11577 # as_fn_error ERROR [LINENO LOG_FD]
   11578 # ---------------------------------
   11579 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11580 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11581 # script with status $?, using 1 if that was 0.
   11582 as_fn_error ()
   11583 {
   11584   as_status=$?; test $as_status -eq 0 && as_status=1
   11585   if test "$3"; then
   11586     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11587     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   11588   fi
   11589   $as_echo "$as_me: error: $1" >&2
   11590   as_fn_exit $as_status
   11591 } # as_fn_error
   11592 
   11593 
   11594 # as_fn_set_status STATUS
   11595 # -----------------------
   11596 # Set $? to STATUS, without forking.
   11597 as_fn_set_status ()
   11598 {
   11599   return $1
   11600 } # as_fn_set_status
   11601 
   11602 # as_fn_exit STATUS
   11603 # -----------------
   11604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11605 as_fn_exit ()
   11606 {
   11607   set +e
   11608   as_fn_set_status $1
   11609   exit $1
   11610 } # as_fn_exit
   11611 
   11612 # as_fn_unset VAR
   11613 # ---------------
   11614 # Portably unset VAR.
   11615 as_fn_unset ()
   11616 {
   11617   { eval $1=; unset $1;}
   11618 }
   11619 as_unset=as_fn_unset
   11620 # as_fn_append VAR VALUE
   11621 # ----------------------
   11622 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11623 # advantage of any shell optimizations that allow amortized linear growth over
   11624 # repeated appends, instead of the typical quadratic growth present in naive
   11625 # implementations.
   11626 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11627   eval 'as_fn_append ()
   11628   {
   11629     eval $1+=\$2
   11630   }'
   11631 else
   11632   as_fn_append ()
   11633   {
   11634     eval $1=\$$1\$2
   11635   }
   11636 fi # as_fn_append
   11637 
   11638 # as_fn_arith ARG...
   11639 # ------------------
   11640 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11641 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11642 # must be portable across $(()) and expr.
   11643 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11644   eval 'as_fn_arith ()
   11645   {
   11646     as_val=$(( $* ))
   11647   }'
   11648 else
   11649   as_fn_arith ()
   11650   {
   11651     as_val=`expr "$@" || test $? -eq 1`
   11652   }
   11653 fi # as_fn_arith
   11654 
   11655 
   11656 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11657    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11658   as_expr=expr
   11659 else
   11660   as_expr=false
   11661 fi
   11662 
   11663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11664   as_basename=basename
   11665 else
   11666   as_basename=false
   11667 fi
   11668 
   11669 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11670   as_dirname=dirname
   11671 else
   11672   as_dirname=false
   11673 fi
   11674 
   11675 as_me=`$as_basename -- "$0" ||
   11676 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11677 	 X"$0" : 'X\(//\)$' \| \
   11678 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11679 $as_echo X/"$0" |
   11680     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11681 	    s//\1/
   11682 	    q
   11683 	  }
   11684 	  /^X\/\(\/\/\)$/{
   11685 	    s//\1/
   11686 	    q
   11687 	  }
   11688 	  /^X\/\(\/\).*/{
   11689 	    s//\1/
   11690 	    q
   11691 	  }
   11692 	  s/.*/./; q'`
   11693 
   11694 # Avoid depending upon Character Ranges.
   11695 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11696 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11697 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11698 as_cr_digits='0123456789'
   11699 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11700 
   11701 ECHO_C= ECHO_N= ECHO_T=
   11702 case `echo -n x` in #(((((
   11703 -n*)
   11704   case `echo 'xy\c'` in
   11705   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11706   xy)  ECHO_C='\c';;
   11707   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11708        ECHO_T='	';;
   11709   esac;;
   11710 *)
   11711   ECHO_N='-n';;
   11712 esac
   11713 
   11714 rm -f conf$$ conf$$.exe conf$$.file
   11715 if test -d conf$$.dir; then
   11716   rm -f conf$$.dir/conf$$.file
   11717 else
   11718   rm -f conf$$.dir
   11719   mkdir conf$$.dir 2>/dev/null
   11720 fi
   11721 if (echo >conf$$.file) 2>/dev/null; then
   11722   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11723     as_ln_s='ln -s'
   11724     # ... but there are two gotchas:
   11725     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11726     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11727     # In both cases, we have to default to `cp -p'.
   11728     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11729       as_ln_s='cp -p'
   11730   elif ln conf$$.file conf$$ 2>/dev/null; then
   11731     as_ln_s=ln
   11732   else
   11733     as_ln_s='cp -p'
   11734   fi
   11735 else
   11736   as_ln_s='cp -p'
   11737 fi
   11738 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11739 rmdir conf$$.dir 2>/dev/null
   11740 
   11741 
   11742 # as_fn_mkdir_p
   11743 # -------------
   11744 # Create "$as_dir" as a directory, including parents if necessary.
   11745 as_fn_mkdir_p ()
   11746 {
   11747 
   11748   case $as_dir in #(
   11749   -*) as_dir=./$as_dir;;
   11750   esac
   11751   test -d "$as_dir" || eval $as_mkdir_p || {
   11752     as_dirs=
   11753     while :; do
   11754       case $as_dir in #(
   11755       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11756       *) as_qdir=$as_dir;;
   11757       esac
   11758       as_dirs="'$as_qdir' $as_dirs"
   11759       as_dir=`$as_dirname -- "$as_dir" ||
   11760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11761 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11762 	 X"$as_dir" : 'X\(//\)$' \| \
   11763 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11764 $as_echo X"$as_dir" |
   11765     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11766 	    s//\1/
   11767 	    q
   11768 	  }
   11769 	  /^X\(\/\/\)[^/].*/{
   11770 	    s//\1/
   11771 	    q
   11772 	  }
   11773 	  /^X\(\/\/\)$/{
   11774 	    s//\1/
   11775 	    q
   11776 	  }
   11777 	  /^X\(\/\).*/{
   11778 	    s//\1/
   11779 	    q
   11780 	  }
   11781 	  s/.*/./; q'`
   11782       test -d "$as_dir" && break
   11783     done
   11784     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11785   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   11786 
   11787 
   11788 } # as_fn_mkdir_p
   11789 if mkdir -p . 2>/dev/null; then
   11790   as_mkdir_p='mkdir -p "$as_dir"'
   11791 else
   11792   test -d ./-p && rmdir ./-p
   11793   as_mkdir_p=false
   11794 fi
   11795 
   11796 if test -x / >/dev/null 2>&1; then
   11797   as_test_x='test -x'
   11798 else
   11799   if ls -dL / >/dev/null 2>&1; then
   11800     as_ls_L_option=L
   11801   else
   11802     as_ls_L_option=
   11803   fi
   11804   as_test_x='
   11805     eval sh -c '\''
   11806       if test -d "$1"; then
   11807 	test -d "$1/.";
   11808       else
   11809 	case $1 in #(
   11810 	-*)set "./$1";;
   11811 	esac;
   11812 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   11813 	???[sx]*):;;*)false;;esac;fi
   11814     '\'' sh
   11815   '
   11816 fi
   11817 as_executable_p=$as_test_x
   11818 
   11819 # Sed expression to map a string onto a valid CPP name.
   11820 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11821 
   11822 # Sed expression to map a string onto a valid variable name.
   11823 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11824 
   11825 
   11826 exec 6>&1
   11827 ## ----------------------------------- ##
   11828 ## Main body of $CONFIG_STATUS script. ##
   11829 ## ----------------------------------- ##
   11830 _ASEOF
   11831 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11832 
   11833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11834 # Save the log message, to keep $0 and so on meaningful, and to
   11835 # report actual input values of CONFIG_FILES etc. instead of their
   11836 # values after options handling.
   11837 ac_log="
   11838 This file was extended by xcb-util $as_me 0.3.6, which was
   11839 generated by GNU Autoconf 2.64.  Invocation command line was
   11840 
   11841   CONFIG_FILES    = $CONFIG_FILES
   11842   CONFIG_HEADERS  = $CONFIG_HEADERS
   11843   CONFIG_LINKS    = $CONFIG_LINKS
   11844   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11845   $ $0 $@
   11846 
   11847 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11848 "
   11849 
   11850 _ACEOF
   11851 
   11852 case $ac_config_files in *"
   11853 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11854 esac
   11855 
   11856 
   11857 
   11858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11859 # Files that config.status was made for.
   11860 config_files="$ac_config_files"
   11861 config_commands="$ac_config_commands"
   11862 
   11863 _ACEOF
   11864 
   11865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11866 ac_cs_usage="\
   11867 \`$as_me' instantiates files and other configuration actions
   11868 from templates according to the current configuration.  Unless the files
   11869 and actions are specified as TAGs, all are instantiated by default.
   11870 
   11871 Usage: $0 [OPTION]... [TAG]...
   11872 
   11873   -h, --help       print this help, then exit
   11874   -V, --version    print version number and configuration settings, then exit
   11875   -q, --quiet, --silent
   11876                    do not print progress messages
   11877   -d, --debug      don't remove temporary files
   11878       --recheck    update $as_me by reconfiguring in the same conditions
   11879       --file=FILE[:TEMPLATE]
   11880                    instantiate the configuration file FILE
   11881 
   11882 Configuration files:
   11883 $config_files
   11884 
   11885 Configuration commands:
   11886 $config_commands
   11887 
   11888 Report bugs to <xcb (at] lists.freedesktop.org>."
   11889 
   11890 _ACEOF
   11891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11892 ac_cs_version="\\
   11893 xcb-util config.status 0.3.6
   11894 configured by $0, generated by GNU Autoconf 2.64,
   11895   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   11896 
   11897 Copyright (C) 2009 Free Software Foundation, Inc.
   11898 This config.status script is free software; the Free Software Foundation
   11899 gives unlimited permission to copy, distribute and modify it."
   11900 
   11901 ac_pwd='$ac_pwd'
   11902 srcdir='$srcdir'
   11903 INSTALL='$INSTALL'
   11904 MKDIR_P='$MKDIR_P'
   11905 AWK='$AWK'
   11906 test -n "\$AWK" || AWK=awk
   11907 _ACEOF
   11908 
   11909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11910 # The default lists apply if the user does not specify any file.
   11911 ac_need_defaults=:
   11912 while test $# != 0
   11913 do
   11914   case $1 in
   11915   --*=*)
   11916     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11917     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11918     ac_shift=:
   11919     ;;
   11920   *)
   11921     ac_option=$1
   11922     ac_optarg=$2
   11923     ac_shift=shift
   11924     ;;
   11925   esac
   11926 
   11927   case $ac_option in
   11928   # Handling of the options.
   11929   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11930     ac_cs_recheck=: ;;
   11931   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11932     $as_echo "$ac_cs_version"; exit ;;
   11933   --debug | --debu | --deb | --de | --d | -d )
   11934     debug=: ;;
   11935   --file | --fil | --fi | --f )
   11936     $ac_shift
   11937     case $ac_optarg in
   11938     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11939     esac
   11940     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11941     ac_need_defaults=false;;
   11942   --he | --h |  --help | --hel | -h )
   11943     $as_echo "$ac_cs_usage"; exit ;;
   11944   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11945   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11946     ac_cs_silent=: ;;
   11947 
   11948   # This is an error.
   11949   -*) as_fn_error "unrecognized option: \`$1'
   11950 Try \`$0 --help' for more information." ;;
   11951 
   11952   *) as_fn_append ac_config_targets " $1"
   11953      ac_need_defaults=false ;;
   11954 
   11955   esac
   11956   shift
   11957 done
   11958 
   11959 ac_configure_extra_args=
   11960 
   11961 if $ac_cs_silent; then
   11962   exec 6>/dev/null
   11963   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11964 fi
   11965 
   11966 _ACEOF
   11967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11968 if \$ac_cs_recheck; then
   11969   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11970   shift
   11971   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11972   CONFIG_SHELL='$SHELL'
   11973   export CONFIG_SHELL
   11974   exec "\$@"
   11975 fi
   11976 
   11977 _ACEOF
   11978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11979 exec 5>>config.log
   11980 {
   11981   echo
   11982   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11983 ## Running $as_me. ##
   11984 _ASBOX
   11985   $as_echo "$ac_log"
   11986 } >&5
   11987 
   11988 _ACEOF
   11989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11990 #
   11991 # INIT-COMMANDS
   11992 #
   11993 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11994 
   11995 
   11996 # The HP-UX ksh and POSIX shell print the target directory to stdout
   11997 # if CDPATH is set.
   11998 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11999 
   12000 sed_quote_subst='$sed_quote_subst'
   12001 double_quote_subst='$double_quote_subst'
   12002 delay_variable_subst='$delay_variable_subst'
   12003 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12004 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12005 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12006 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12007 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12008 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12009 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12010 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12011 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12012 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12013 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12014 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12015 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12016 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12017 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12018 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12019 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12020 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12021 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12022 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12023 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12024 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12025 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12026 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12027 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12028 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12029 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12030 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12031 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12032 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12033 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12034 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12035 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12036 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12037 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12038 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12039 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12040 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12041 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12042 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12043 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12044 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12045 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12046 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12047 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12048 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12049 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12050 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12051 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12052 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12053 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12054 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12055 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12056 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12057 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12058 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12059 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12060 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12061 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12062 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12063 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12064 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12065 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12066 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12067 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12068 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12069 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12070 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12071 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12072 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12073 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12074 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12075 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12076 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12077 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12078 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12079 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12080 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12081 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12082 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12083 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12084 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12085 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12086 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12087 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12088 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12089 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12090 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12091 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12092 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12093 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12094 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12095 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12096 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12097 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12098 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12099 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12100 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12101 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12102 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12103 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12104 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12105 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12106 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12107 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12108 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12109 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12110 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12111 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12112 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12113 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12114 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12115 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12116 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12117 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12118 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12119 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12120 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12121 
   12122 LTCC='$LTCC'
   12123 LTCFLAGS='$LTCFLAGS'
   12124 compiler='$compiler_DEFAULT'
   12125 
   12126 # Quote evaled strings.
   12127 for var in SED \
   12128 GREP \
   12129 EGREP \
   12130 FGREP \
   12131 LD \
   12132 NM \
   12133 LN_S \
   12134 lt_SP2NL \
   12135 lt_NL2SP \
   12136 reload_flag \
   12137 OBJDUMP \
   12138 deplibs_check_method \
   12139 file_magic_cmd \
   12140 AR \
   12141 AR_FLAGS \
   12142 STRIP \
   12143 RANLIB \
   12144 CC \
   12145 CFLAGS \
   12146 compiler \
   12147 lt_cv_sys_global_symbol_pipe \
   12148 lt_cv_sys_global_symbol_to_cdecl \
   12149 lt_cv_sys_global_symbol_to_c_name_address \
   12150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12151 SHELL \
   12152 ECHO \
   12153 lt_prog_compiler_no_builtin_flag \
   12154 lt_prog_compiler_wl \
   12155 lt_prog_compiler_pic \
   12156 lt_prog_compiler_static \
   12157 lt_cv_prog_compiler_c_o \
   12158 need_locks \
   12159 DSYMUTIL \
   12160 NMEDIT \
   12161 LIPO \
   12162 OTOOL \
   12163 OTOOL64 \
   12164 shrext_cmds \
   12165 export_dynamic_flag_spec \
   12166 whole_archive_flag_spec \
   12167 compiler_needs_object \
   12168 with_gnu_ld \
   12169 allow_undefined_flag \
   12170 no_undefined_flag \
   12171 hardcode_libdir_flag_spec \
   12172 hardcode_libdir_flag_spec_ld \
   12173 hardcode_libdir_separator \
   12174 fix_srcfile_path \
   12175 exclude_expsyms \
   12176 include_expsyms \
   12177 file_list_spec \
   12178 variables_saved_for_relink \
   12179 libname_spec \
   12180 library_names_spec \
   12181 soname_spec \
   12182 finish_eval \
   12183 old_striplib \
   12184 striplib; do
   12185     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12186     *[\\\\\\\`\\"\\\$]*)
   12187       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12188       ;;
   12189     *)
   12190       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12191       ;;
   12192     esac
   12193 done
   12194 
   12195 # Double-quote double-evaled strings.
   12196 for var in reload_cmds \
   12197 old_postinstall_cmds \
   12198 old_postuninstall_cmds \
   12199 old_archive_cmds \
   12200 extract_expsyms_cmds \
   12201 old_archive_from_new_cmds \
   12202 old_archive_from_expsyms_cmds \
   12203 archive_cmds \
   12204 archive_expsym_cmds \
   12205 module_cmds \
   12206 module_expsym_cmds \
   12207 export_symbols_cmds \
   12208 prelink_cmds \
   12209 postinstall_cmds \
   12210 postuninstall_cmds \
   12211 finish_cmds \
   12212 sys_lib_search_path_spec \
   12213 sys_lib_dlsearch_path_spec; do
   12214     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12215     *[\\\\\\\`\\"\\\$]*)
   12216       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12217       ;;
   12218     *)
   12219       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12220       ;;
   12221     esac
   12222 done
   12223 
   12224 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12225 case \$lt_ECHO in
   12226 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12227   ;;
   12228 esac
   12229 
   12230 ac_aux_dir='$ac_aux_dir'
   12231 xsi_shell='$xsi_shell'
   12232 lt_shell_append='$lt_shell_append'
   12233 
   12234 # See if we are running on zsh, and set the options which allow our
   12235 # commands through without removal of \ escapes INIT.
   12236 if test -n "\${ZSH_VERSION+set}" ; then
   12237    setopt NO_GLOB_SUBST
   12238 fi
   12239 
   12240 
   12241     PACKAGE='$PACKAGE'
   12242     VERSION='$VERSION'
   12243     TIMESTAMP='$TIMESTAMP'
   12244     RM='$RM'
   12245     ofile='$ofile'
   12246 
   12247 
   12248 
   12249 
   12250 _ACEOF
   12251 
   12252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12253 
   12254 # Handling of arguments.
   12255 for ac_config_target in $ac_config_targets
   12256 do
   12257   case $ac_config_target in
   12258     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12259     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12260     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12261     "aux/Makefile") CONFIG_FILES="$CONFIG_FILES aux/Makefile" ;;
   12262     "aux/xcb-aux.pc") CONFIG_FILES="$CONFIG_FILES aux/xcb-aux.pc" ;;
   12263     "reply/Makefile") CONFIG_FILES="$CONFIG_FILES reply/Makefile" ;;
   12264     "reply/xcb-reply.pc") CONFIG_FILES="$CONFIG_FILES reply/xcb-reply.pc" ;;
   12265     "image/Makefile") CONFIG_FILES="$CONFIG_FILES image/Makefile" ;;
   12266     "image/xcb-image.pc") CONFIG_FILES="$CONFIG_FILES image/xcb-image.pc" ;;
   12267     "atom/Makefile") CONFIG_FILES="$CONFIG_FILES atom/Makefile" ;;
   12268     "atom/xcb-atom.pc") CONFIG_FILES="$CONFIG_FILES atom/xcb-atom.pc" ;;
   12269     "event/Makefile") CONFIG_FILES="$CONFIG_FILES event/Makefile" ;;
   12270     "event/xcb-event.pc") CONFIG_FILES="$CONFIG_FILES event/xcb-event.pc" ;;
   12271     "keysyms/Makefile") CONFIG_FILES="$CONFIG_FILES keysyms/Makefile" ;;
   12272     "keysyms/xcb-keysyms.pc") CONFIG_FILES="$CONFIG_FILES keysyms/xcb-keysyms.pc" ;;
   12273     "property/Makefile") CONFIG_FILES="$CONFIG_FILES property/Makefile" ;;
   12274     "property/xcb-property.pc") CONFIG_FILES="$CONFIG_FILES property/xcb-property.pc" ;;
   12275     "icccm/Makefile") CONFIG_FILES="$CONFIG_FILES icccm/Makefile" ;;
   12276     "icccm/xcb-icccm.pc") CONFIG_FILES="$CONFIG_FILES icccm/xcb-icccm.pc" ;;
   12277     "renderutil/Makefile") CONFIG_FILES="$CONFIG_FILES renderutil/Makefile" ;;
   12278     "renderutil/xcb-renderutil.pc") CONFIG_FILES="$CONFIG_FILES renderutil/xcb-renderutil.pc" ;;
   12279     "xcb_util_intro") CONFIG_FILES="$CONFIG_FILES xcb_util_intro" ;;
   12280 
   12281   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   12282   esac
   12283 done
   12284 
   12285 
   12286 # If the user did not use the arguments to specify the items to instantiate,
   12287 # then the envvar interface is used.  Set only those that are not.
   12288 # We use the long form for the default assignment because of an extremely
   12289 # bizarre bug on SunOS 4.1.3.
   12290 if $ac_need_defaults; then
   12291   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12292   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12293 fi
   12294 
   12295 # Have a temporary directory for convenience.  Make it in the build tree
   12296 # simply because there is no reason against having it here, and in addition,
   12297 # creating and moving files from /tmp can sometimes cause problems.
   12298 # Hook for its removal unless debugging.
   12299 # Note that there is a small window in which the directory will not be cleaned:
   12300 # after its creation but before its name has been assigned to `$tmp'.
   12301 $debug ||
   12302 {
   12303   tmp=
   12304   trap 'exit_status=$?
   12305   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12306 ' 0
   12307   trap 'as_fn_exit 1' 1 2 13 15
   12308 }
   12309 # Create a (secure) tmp directory for tmp files.
   12310 
   12311 {
   12312   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12313   test -n "$tmp" && test -d "$tmp"
   12314 }  ||
   12315 {
   12316   tmp=./conf$$-$RANDOM
   12317   (umask 077 && mkdir "$tmp")
   12318 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   12319 
   12320 # Set up the scripts for CONFIG_FILES section.
   12321 # No need to generate them if there are no CONFIG_FILES.
   12322 # This happens for instance with `./config.status config.h'.
   12323 if test -n "$CONFIG_FILES"; then
   12324 
   12325 
   12326 ac_cr=`echo X | tr X '\015'`
   12327 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12328 # But we know of no other shell where ac_cr would be empty at this
   12329 # point, so we can use a bashism as a fallback.
   12330 if test "x$ac_cr" = x; then
   12331   eval ac_cr=\$\'\\r\'
   12332 fi
   12333 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12334 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12335   ac_cs_awk_cr='\r'
   12336 else
   12337   ac_cs_awk_cr=$ac_cr
   12338 fi
   12339 
   12340 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12341 _ACEOF
   12342 
   12343 
   12344 {
   12345   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12346   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12347   echo "_ACEOF"
   12348 } >conf$$subs.sh ||
   12349   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12350 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   12351 ac_delim='%!_!# '
   12352 for ac_last_try in false false false false false :; do
   12353   . ./conf$$subs.sh ||
   12354     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12355 
   12356   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12357   if test $ac_delim_n = $ac_delim_num; then
   12358     break
   12359   elif $ac_last_try; then
   12360     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   12361   else
   12362     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12363   fi
   12364 done
   12365 rm -f conf$$subs.sh
   12366 
   12367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12368 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12369 _ACEOF
   12370 sed -n '
   12371 h
   12372 s/^/S["/; s/!.*/"]=/
   12373 p
   12374 g
   12375 s/^[^!]*!//
   12376 :repl
   12377 t repl
   12378 s/'"$ac_delim"'$//
   12379 t delim
   12380 :nl
   12381 h
   12382 s/\(.\{148\}\).*/\1/
   12383 t more1
   12384 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12385 p
   12386 n
   12387 b repl
   12388 :more1
   12389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12390 p
   12391 g
   12392 s/.\{148\}//
   12393 t nl
   12394 :delim
   12395 h
   12396 s/\(.\{148\}\).*/\1/
   12397 t more2
   12398 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12399 p
   12400 b
   12401 :more2
   12402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12403 p
   12404 g
   12405 s/.\{148\}//
   12406 t delim
   12407 ' <conf$$subs.awk | sed '
   12408 /^[^""]/{
   12409   N
   12410   s/\n//
   12411 }
   12412 ' >>$CONFIG_STATUS || ac_write_fail=1
   12413 rm -f conf$$subs.awk
   12414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12415 _ACAWK
   12416 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12417   for (key in S) S_is_set[key] = 1
   12418   FS = ""
   12419 
   12420 }
   12421 {
   12422   line = $ 0
   12423   nfields = split(line, field, "@")
   12424   substed = 0
   12425   len = length(field[1])
   12426   for (i = 2; i < nfields; i++) {
   12427     key = field[i]
   12428     keylen = length(key)
   12429     if (S_is_set[key]) {
   12430       value = S[key]
   12431       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12432       len += length(value) + length(field[++i])
   12433       substed = 1
   12434     } else
   12435       len += 1 + keylen
   12436   }
   12437 
   12438   print line
   12439 }
   12440 
   12441 _ACAWK
   12442 _ACEOF
   12443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12444 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12445   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12446 else
   12447   cat
   12448 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12449   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   12450 _ACEOF
   12451 
   12452 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   12453 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   12454 # trailing colons and then remove the whole line if VPATH becomes empty
   12455 # (actually we leave an empty line to preserve line numbers).
   12456 if test "x$srcdir" = x.; then
   12457   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   12458 s/:*\$(srcdir):*/:/
   12459 s/:*\${srcdir}:*/:/
   12460 s/:*@srcdir@:*/:/
   12461 s/^\([^=]*=[	 ]*\):*/\1/
   12462 s/:*$//
   12463 s/^[^=]*=[	 ]*$//
   12464 }'
   12465 fi
   12466 
   12467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12468 fi # test -n "$CONFIG_FILES"
   12469 
   12470 
   12471 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   12472 shift
   12473 for ac_tag
   12474 do
   12475   case $ac_tag in
   12476   :[FHLC]) ac_mode=$ac_tag; continue;;
   12477   esac
   12478   case $ac_mode$ac_tag in
   12479   :[FHL]*:*);;
   12480   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12481   :[FH]-) ac_tag=-:-;;
   12482   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12483   esac
   12484   ac_save_IFS=$IFS
   12485   IFS=:
   12486   set x $ac_tag
   12487   IFS=$ac_save_IFS
   12488   shift
   12489   ac_file=$1
   12490   shift
   12491 
   12492   case $ac_mode in
   12493   :L) ac_source=$1;;
   12494   :[FH])
   12495     ac_file_inputs=
   12496     for ac_f
   12497     do
   12498       case $ac_f in
   12499       -) ac_f="$tmp/stdin";;
   12500       *) # Look for the file first in the build tree, then in the source tree
   12501 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12502 	 # because $ac_f cannot contain `:'.
   12503 	 test -f "$ac_f" ||
   12504 	   case $ac_f in
   12505 	   [\\/$]*) false;;
   12506 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12507 	   esac ||
   12508 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12509       esac
   12510       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12511       as_fn_append ac_file_inputs " '$ac_f'"
   12512     done
   12513 
   12514     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12515     # use $as_me), people would be surprised to read:
   12516     #    /* config.h.  Generated by config.status.  */
   12517     configure_input='Generated from '`
   12518 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12519 	`' by configure.'
   12520     if test x"$ac_file" != x-; then
   12521       configure_input="$ac_file.  $configure_input"
   12522       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12523 $as_echo "$as_me: creating $ac_file" >&6;}
   12524     fi
   12525     # Neutralize special characters interpreted by sed in replacement strings.
   12526     case $configure_input in #(
   12527     *\&* | *\|* | *\\* )
   12528        ac_sed_conf_input=`$as_echo "$configure_input" |
   12529        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12530     *) ac_sed_conf_input=$configure_input;;
   12531     esac
   12532 
   12533     case $ac_tag in
   12534     *:-:* | *:-) cat >"$tmp/stdin" \
   12535       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   12536     esac
   12537     ;;
   12538   esac
   12539 
   12540   ac_dir=`$as_dirname -- "$ac_file" ||
   12541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12542 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12543 	 X"$ac_file" : 'X\(//\)$' \| \
   12544 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12545 $as_echo X"$ac_file" |
   12546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12547 	    s//\1/
   12548 	    q
   12549 	  }
   12550 	  /^X\(\/\/\)[^/].*/{
   12551 	    s//\1/
   12552 	    q
   12553 	  }
   12554 	  /^X\(\/\/\)$/{
   12555 	    s//\1/
   12556 	    q
   12557 	  }
   12558 	  /^X\(\/\).*/{
   12559 	    s//\1/
   12560 	    q
   12561 	  }
   12562 	  s/.*/./; q'`
   12563   as_dir="$ac_dir"; as_fn_mkdir_p
   12564   ac_builddir=.
   12565 
   12566 case "$ac_dir" in
   12567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12568 *)
   12569   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12570   # A ".." for each directory in $ac_dir_suffix.
   12571   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12572   case $ac_top_builddir_sub in
   12573   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12574   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12575   esac ;;
   12576 esac
   12577 ac_abs_top_builddir=$ac_pwd
   12578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12579 # for backward compatibility:
   12580 ac_top_builddir=$ac_top_build_prefix
   12581 
   12582 case $srcdir in
   12583   .)  # We are building in place.
   12584     ac_srcdir=.
   12585     ac_top_srcdir=$ac_top_builddir_sub
   12586     ac_abs_top_srcdir=$ac_pwd ;;
   12587   [\\/]* | ?:[\\/]* )  # Absolute name.
   12588     ac_srcdir=$srcdir$ac_dir_suffix;
   12589     ac_top_srcdir=$srcdir
   12590     ac_abs_top_srcdir=$srcdir ;;
   12591   *) # Relative name.
   12592     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12593     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12594     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12595 esac
   12596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12597 
   12598 
   12599   case $ac_mode in
   12600   :F)
   12601   #
   12602   # CONFIG_FILE
   12603   #
   12604 
   12605   case $INSTALL in
   12606   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12607   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12608   esac
   12609   ac_MKDIR_P=$MKDIR_P
   12610   case $MKDIR_P in
   12611   [\\/$]* | ?:[\\/]* ) ;;
   12612   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12613   esac
   12614 _ACEOF
   12615 
   12616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12617 # If the template does not know about datarootdir, expand it.
   12618 # FIXME: This hack should be removed a few years after 2.60.
   12619 ac_datarootdir_hack=; ac_datarootdir_seen=
   12620 ac_sed_dataroot='
   12621 /datarootdir/ {
   12622   p
   12623   q
   12624 }
   12625 /@datadir@/p
   12626 /@docdir@/p
   12627 /@infodir@/p
   12628 /@localedir@/p
   12629 /@mandir@/p'
   12630 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12631 *datarootdir*) ac_datarootdir_seen=yes;;
   12632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12633   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12634 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12635 _ACEOF
   12636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12637   ac_datarootdir_hack='
   12638   s&@datadir@&$datadir&g
   12639   s&@docdir@&$docdir&g
   12640   s&@infodir@&$infodir&g
   12641   s&@localedir@&$localedir&g
   12642   s&@mandir@&$mandir&g
   12643   s&\\\${datarootdir}&$datarootdir&g' ;;
   12644 esac
   12645 _ACEOF
   12646 
   12647 # Neutralize VPATH when `$srcdir' = `.'.
   12648 # Shell code in configure.ac might set extrasub.
   12649 # FIXME: do we really want to maintain this feature?
   12650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12651 ac_sed_extra="$ac_vpsub
   12652 $extrasub
   12653 _ACEOF
   12654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12655 :t
   12656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12657 s|@configure_input@|$ac_sed_conf_input|;t t
   12658 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12659 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12660 s&@srcdir@&$ac_srcdir&;t t
   12661 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12662 s&@top_srcdir@&$ac_top_srcdir&;t t
   12663 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12664 s&@builddir@&$ac_builddir&;t t
   12665 s&@abs_builddir@&$ac_abs_builddir&;t t
   12666 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12667 s&@INSTALL@&$ac_INSTALL&;t t
   12668 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12669 $ac_datarootdir_hack
   12670 "
   12671 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   12672   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12673 
   12674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12675   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   12676   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   12677   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12678 which seems to be undefined.  Please make sure it is defined." >&5
   12679 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12680 which seems to be undefined.  Please make sure it is defined." >&2;}
   12681 
   12682   rm -f "$tmp/stdin"
   12683   case $ac_file in
   12684   -) cat "$tmp/out" && rm -f "$tmp/out";;
   12685   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   12686   esac \
   12687   || as_fn_error "could not create $ac_file" "$LINENO" 5
   12688  ;;
   12689 
   12690 
   12691   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12692 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12693  ;;
   12694   esac
   12695 
   12696 
   12697   case $ac_file$ac_mode in
   12698     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12699   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   12700   # are listed without --file.  Let's play safe and only enable the eval
   12701   # if we detect the quoting.
   12702   case $CONFIG_FILES in
   12703   *\'*) eval set x "$CONFIG_FILES" ;;
   12704   *)   set x $CONFIG_FILES ;;
   12705   esac
   12706   shift
   12707   for mf
   12708   do
   12709     # Strip MF so we end up with the name of the file.
   12710     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12711     # Check whether this is an Automake generated Makefile or not.
   12712     # We used to match only the files named `Makefile.in', but
   12713     # some people rename them; so instead we look at the file content.
   12714     # Grep'ing the first line is not enough: some people post-process
   12715     # each Makefile.in and add a new line on top of each file to say so.
   12716     # Grep'ing the whole file is not good either: AIX grep has a line
   12717     # limit of 2048, but all sed's we know have understand at least 4000.
   12718     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12719       dirpart=`$as_dirname -- "$mf" ||
   12720 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12721 	 X"$mf" : 'X\(//\)[^/]' \| \
   12722 	 X"$mf" : 'X\(//\)$' \| \
   12723 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12724 $as_echo X"$mf" |
   12725     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12726 	    s//\1/
   12727 	    q
   12728 	  }
   12729 	  /^X\(\/\/\)[^/].*/{
   12730 	    s//\1/
   12731 	    q
   12732 	  }
   12733 	  /^X\(\/\/\)$/{
   12734 	    s//\1/
   12735 	    q
   12736 	  }
   12737 	  /^X\(\/\).*/{
   12738 	    s//\1/
   12739 	    q
   12740 	  }
   12741 	  s/.*/./; q'`
   12742     else
   12743       continue
   12744     fi
   12745     # Extract the definition of DEPDIR, am__include, and am__quote
   12746     # from the Makefile without running `make'.
   12747     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12748     test -z "$DEPDIR" && continue
   12749     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12750     test -z "am__include" && continue
   12751     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12752     # When using ansi2knr, U may be empty or an underscore; expand it
   12753     U=`sed -n 's/^U = //p' < "$mf"`
   12754     # Find all dependency output files, they are included files with
   12755     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12756     # simplest approach to changing $(DEPDIR) to its actual value in the
   12757     # expansion.
   12758     for file in `sed -n "
   12759       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12760 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   12761       # Make sure the directory exists.
   12762       test -f "$dirpart/$file" && continue
   12763       fdir=`$as_dirname -- "$file" ||
   12764 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12765 	 X"$file" : 'X\(//\)[^/]' \| \
   12766 	 X"$file" : 'X\(//\)$' \| \
   12767 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12768 $as_echo X"$file" |
   12769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12770 	    s//\1/
   12771 	    q
   12772 	  }
   12773 	  /^X\(\/\/\)[^/].*/{
   12774 	    s//\1/
   12775 	    q
   12776 	  }
   12777 	  /^X\(\/\/\)$/{
   12778 	    s//\1/
   12779 	    q
   12780 	  }
   12781 	  /^X\(\/\).*/{
   12782 	    s//\1/
   12783 	    q
   12784 	  }
   12785 	  s/.*/./; q'`
   12786       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12787       # echo "creating $dirpart/$file"
   12788       echo '# dummy' > "$dirpart/$file"
   12789     done
   12790   done
   12791 }
   12792  ;;
   12793     "libtool":C)
   12794 
   12795     # See if we are running on zsh, and set the options which allow our
   12796     # commands through without removal of \ escapes.
   12797     if test -n "${ZSH_VERSION+set}" ; then
   12798       setopt NO_GLOB_SUBST
   12799     fi
   12800 
   12801     cfgfile="${ofile}T"
   12802     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   12803     $RM "$cfgfile"
   12804 
   12805     cat <<_LT_EOF >> "$cfgfile"
   12806 #! $SHELL
   12807 
   12808 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   12809 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   12810 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   12811 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   12812 #
   12813 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   12814 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   12815 #   Written by Gordon Matzigkeit, 1996
   12816 #
   12817 #   This file is part of GNU Libtool.
   12818 #
   12819 # GNU Libtool is free software; you can redistribute it and/or
   12820 # modify it under the terms of the GNU General Public License as
   12821 # published by the Free Software Foundation; either version 2 of
   12822 # the License, or (at your option) any later version.
   12823 #
   12824 # As a special exception to the GNU General Public License,
   12825 # if you distribute this file as part of a program or library that
   12826 # is built using GNU Libtool, you may include this file under the
   12827 # same distribution terms that you use for the rest of that program.
   12828 #
   12829 # GNU Libtool is distributed in the hope that it will be useful,
   12830 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   12831 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12832 # GNU General Public License for more details.
   12833 #
   12834 # You should have received a copy of the GNU General Public License
   12835 # along with GNU Libtool; see the file COPYING.  If not, a copy
   12836 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   12837 # obtained by writing to the Free Software Foundation, Inc.,
   12838 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   12839 
   12840 
   12841 # The names of the tagged configurations supported by this script.
   12842 available_tags=""
   12843 
   12844 # ### BEGIN LIBTOOL CONFIG
   12845 
   12846 # Which release of libtool.m4 was used?
   12847 macro_version=$macro_version
   12848 macro_revision=$macro_revision
   12849 
   12850 # Whether or not to build shared libraries.
   12851 build_libtool_libs=$enable_shared
   12852 
   12853 # Whether or not to build static libraries.
   12854 build_old_libs=$enable_static
   12855 
   12856 # What type of objects to build.
   12857 pic_mode=$pic_mode
   12858 
   12859 # Whether or not to optimize for fast installation.
   12860 fast_install=$enable_fast_install
   12861 
   12862 # The host system.
   12863 host_alias=$host_alias
   12864 host=$host
   12865 host_os=$host_os
   12866 
   12867 # The build system.
   12868 build_alias=$build_alias
   12869 build=$build
   12870 build_os=$build_os
   12871 
   12872 # A sed program that does not truncate output.
   12873 SED=$lt_SED
   12874 
   12875 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   12876 Xsed="\$SED -e 1s/^X//"
   12877 
   12878 # A grep program that handles long lines.
   12879 GREP=$lt_GREP
   12880 
   12881 # An ERE matcher.
   12882 EGREP=$lt_EGREP
   12883 
   12884 # A literal string matcher.
   12885 FGREP=$lt_FGREP
   12886 
   12887 # A BSD- or MS-compatible name lister.
   12888 NM=$lt_NM
   12889 
   12890 # Whether we need soft or hard links.
   12891 LN_S=$lt_LN_S
   12892 
   12893 # What is the maximum length of a command?
   12894 max_cmd_len=$max_cmd_len
   12895 
   12896 # Object file suffix (normally "o").
   12897 objext=$ac_objext
   12898 
   12899 # Executable file suffix (normally "").
   12900 exeext=$exeext
   12901 
   12902 # whether the shell understands "unset".
   12903 lt_unset=$lt_unset
   12904 
   12905 # turn spaces into newlines.
   12906 SP2NL=$lt_lt_SP2NL
   12907 
   12908 # turn newlines into spaces.
   12909 NL2SP=$lt_lt_NL2SP
   12910 
   12911 # How to create reloadable object files.
   12912 reload_flag=$lt_reload_flag
   12913 reload_cmds=$lt_reload_cmds
   12914 
   12915 # An object symbol dumper.
   12916 OBJDUMP=$lt_OBJDUMP
   12917 
   12918 # Method to check whether dependent libraries are shared objects.
   12919 deplibs_check_method=$lt_deplibs_check_method
   12920 
   12921 # Command to use when deplibs_check_method == "file_magic".
   12922 file_magic_cmd=$lt_file_magic_cmd
   12923 
   12924 # The archiver.
   12925 AR=$lt_AR
   12926 AR_FLAGS=$lt_AR_FLAGS
   12927 
   12928 # A symbol stripping program.
   12929 STRIP=$lt_STRIP
   12930 
   12931 # Commands used to install an old-style archive.
   12932 RANLIB=$lt_RANLIB
   12933 old_postinstall_cmds=$lt_old_postinstall_cmds
   12934 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   12935 
   12936 # A C compiler.
   12937 LTCC=$lt_CC
   12938 
   12939 # LTCC compiler flags.
   12940 LTCFLAGS=$lt_CFLAGS
   12941 
   12942 # Take the output of nm and produce a listing of raw symbols and C names.
   12943 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   12944 
   12945 # Transform the output of nm in a proper C declaration.
   12946 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   12947 
   12948 # Transform the output of nm in a C name address pair.
   12949 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   12950 
   12951 # Transform the output of nm in a C name address pair when lib prefix is needed.
   12952 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   12953 
   12954 # The name of the directory that contains temporary libtool files.
   12955 objdir=$objdir
   12956 
   12957 # Shell to use when invoking shell scripts.
   12958 SHELL=$lt_SHELL
   12959 
   12960 # An echo program that does not interpret backslashes.
   12961 ECHO=$lt_ECHO
   12962 
   12963 # Used to examine libraries when file_magic_cmd begins with "file".
   12964 MAGIC_CMD=$MAGIC_CMD
   12965 
   12966 # Must we lock files when doing compilation?
   12967 need_locks=$lt_need_locks
   12968 
   12969 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   12970 DSYMUTIL=$lt_DSYMUTIL
   12971 
   12972 # Tool to change global to local symbols on Mac OS X.
   12973 NMEDIT=$lt_NMEDIT
   12974 
   12975 # Tool to manipulate fat objects and archives on Mac OS X.
   12976 LIPO=$lt_LIPO
   12977 
   12978 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   12979 OTOOL=$lt_OTOOL
   12980 
   12981 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   12982 OTOOL64=$lt_OTOOL64
   12983 
   12984 # Old archive suffix (normally "a").
   12985 libext=$libext
   12986 
   12987 # Shared library suffix (normally ".so").
   12988 shrext_cmds=$lt_shrext_cmds
   12989 
   12990 # The commands to extract the exported symbol list from a shared archive.
   12991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   12992 
   12993 # Variables whose values should be saved in libtool wrapper scripts and
   12994 # restored at link time.
   12995 variables_saved_for_relink=$lt_variables_saved_for_relink
   12996 
   12997 # Do we need the "lib" prefix for modules?
   12998 need_lib_prefix=$need_lib_prefix
   12999 
   13000 # Do we need a version for libraries?
   13001 need_version=$need_version
   13002 
   13003 # Library versioning type.
   13004 version_type=$version_type
   13005 
   13006 # Shared library runtime path variable.
   13007 runpath_var=$runpath_var
   13008 
   13009 # Shared library path variable.
   13010 shlibpath_var=$shlibpath_var
   13011 
   13012 # Is shlibpath searched before the hard-coded library search path?
   13013 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13014 
   13015 # Format of library name prefix.
   13016 libname_spec=$lt_libname_spec
   13017 
   13018 # List of archive names.  First name is the real one, the rest are links.
   13019 # The last name is the one that the linker finds with -lNAME
   13020 library_names_spec=$lt_library_names_spec
   13021 
   13022 # The coded name of the library, if different from the real name.
   13023 soname_spec=$lt_soname_spec
   13024 
   13025 # Command to use after installation of a shared archive.
   13026 postinstall_cmds=$lt_postinstall_cmds
   13027 
   13028 # Command to use after uninstallation of a shared archive.
   13029 postuninstall_cmds=$lt_postuninstall_cmds
   13030 
   13031 # Commands used to finish a libtool library installation in a directory.
   13032 finish_cmds=$lt_finish_cmds
   13033 
   13034 # As "finish_cmds", except a single script fragment to be evaled but
   13035 # not shown.
   13036 finish_eval=$lt_finish_eval
   13037 
   13038 # Whether we should hardcode library paths into libraries.
   13039 hardcode_into_libs=$hardcode_into_libs
   13040 
   13041 # Compile-time system search path for libraries.
   13042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13043 
   13044 # Run-time system search path for libraries.
   13045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13046 
   13047 # Whether dlopen is supported.
   13048 dlopen_support=$enable_dlopen
   13049 
   13050 # Whether dlopen of programs is supported.
   13051 dlopen_self=$enable_dlopen_self
   13052 
   13053 # Whether dlopen of statically linked programs is supported.
   13054 dlopen_self_static=$enable_dlopen_self_static
   13055 
   13056 # Commands to strip libraries.
   13057 old_striplib=$lt_old_striplib
   13058 striplib=$lt_striplib
   13059 
   13060 
   13061 # The linker used to build libraries.
   13062 LD=$lt_LD
   13063 
   13064 # Commands used to build an old-style archive.
   13065 old_archive_cmds=$lt_old_archive_cmds
   13066 
   13067 # A language specific compiler.
   13068 CC=$lt_compiler
   13069 
   13070 # Is the compiler the GNU compiler?
   13071 with_gcc=$GCC
   13072 
   13073 # Compiler flag to turn off builtin functions.
   13074 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13075 
   13076 # How to pass a linker flag through the compiler.
   13077 wl=$lt_lt_prog_compiler_wl
   13078 
   13079 # Additional compiler flags for building library objects.
   13080 pic_flag=$lt_lt_prog_compiler_pic
   13081 
   13082 # Compiler flag to prevent dynamic linking.
   13083 link_static_flag=$lt_lt_prog_compiler_static
   13084 
   13085 # Does compiler simultaneously support -c and -o options?
   13086 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13087 
   13088 # Whether or not to add -lc for building shared libraries.
   13089 build_libtool_need_lc=$archive_cmds_need_lc
   13090 
   13091 # Whether or not to disallow shared libs when runtime libs are static.
   13092 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13093 
   13094 # Compiler flag to allow reflexive dlopens.
   13095 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13096 
   13097 # Compiler flag to generate shared objects directly from archives.
   13098 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13099 
   13100 # Whether the compiler copes with passing no objects directly.
   13101 compiler_needs_object=$lt_compiler_needs_object
   13102 
   13103 # Create an old-style archive from a shared archive.
   13104 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13105 
   13106 # Create a temporary old-style archive to link instead of a shared archive.
   13107 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13108 
   13109 # Commands used to build a shared archive.
   13110 archive_cmds=$lt_archive_cmds
   13111 archive_expsym_cmds=$lt_archive_expsym_cmds
   13112 
   13113 # Commands used to build a loadable module if different from building
   13114 # a shared archive.
   13115 module_cmds=$lt_module_cmds
   13116 module_expsym_cmds=$lt_module_expsym_cmds
   13117 
   13118 # Whether we are building with GNU ld or not.
   13119 with_gnu_ld=$lt_with_gnu_ld
   13120 
   13121 # Flag that allows shared libraries with undefined symbols to be built.
   13122 allow_undefined_flag=$lt_allow_undefined_flag
   13123 
   13124 # Flag that enforces no undefined symbols.
   13125 no_undefined_flag=$lt_no_undefined_flag
   13126 
   13127 # Flag to hardcode \$libdir into a binary during linking.
   13128 # This must work even if \$libdir does not exist
   13129 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13130 
   13131 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13132 # during linking.  This must work even if \$libdir does not exist.
   13133 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13134 
   13135 # Whether we need a single "-rpath" flag with a separated argument.
   13136 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13137 
   13138 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13139 # DIR into the resulting binary.
   13140 hardcode_direct=$hardcode_direct
   13141 
   13142 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13143 # DIR into the resulting binary and the resulting library dependency is
   13144 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13145 # library is relocated.
   13146 hardcode_direct_absolute=$hardcode_direct_absolute
   13147 
   13148 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13149 # into the resulting binary.
   13150 hardcode_minus_L=$hardcode_minus_L
   13151 
   13152 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13153 # into the resulting binary.
   13154 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13155 
   13156 # Set to "yes" if building a shared library automatically hardcodes DIR
   13157 # into the library and all subsequent libraries and executables linked
   13158 # against it.
   13159 hardcode_automatic=$hardcode_automatic
   13160 
   13161 # Set to yes if linker adds runtime paths of dependent libraries
   13162 # to runtime path list.
   13163 inherit_rpath=$inherit_rpath
   13164 
   13165 # Whether libtool must link a program against all its dependency libraries.
   13166 link_all_deplibs=$link_all_deplibs
   13167 
   13168 # Fix the shell variable \$srcfile for the compiler.
   13169 fix_srcfile_path=$lt_fix_srcfile_path
   13170 
   13171 # Set to "yes" if exported symbols are required.
   13172 always_export_symbols=$always_export_symbols
   13173 
   13174 # The commands to list exported symbols.
   13175 export_symbols_cmds=$lt_export_symbols_cmds
   13176 
   13177 # Symbols that should not be listed in the preloaded symbols.
   13178 exclude_expsyms=$lt_exclude_expsyms
   13179 
   13180 # Symbols that must always be exported.
   13181 include_expsyms=$lt_include_expsyms
   13182 
   13183 # Commands necessary for linking programs (against libraries) with templates.
   13184 prelink_cmds=$lt_prelink_cmds
   13185 
   13186 # Specify filename containing input files.
   13187 file_list_spec=$lt_file_list_spec
   13188 
   13189 # How to hardcode a shared library path into an executable.
   13190 hardcode_action=$hardcode_action
   13191 
   13192 # ### END LIBTOOL CONFIG
   13193 
   13194 _LT_EOF
   13195 
   13196   case $host_os in
   13197   aix3*)
   13198     cat <<\_LT_EOF >> "$cfgfile"
   13199 # AIX sometimes has problems with the GCC collect2 program.  For some
   13200 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13201 # vanish in a puff of smoke.
   13202 if test "X${COLLECT_NAMES+set}" != Xset; then
   13203   COLLECT_NAMES=
   13204   export COLLECT_NAMES
   13205 fi
   13206 _LT_EOF
   13207     ;;
   13208   esac
   13209 
   13210 
   13211 ltmain="$ac_aux_dir/ltmain.sh"
   13212 
   13213 
   13214   # We use sed instead of cat because bash on DJGPP gets confused if
   13215   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13216   # text mode, it properly converts lines to CR/LF.  This bash problem
   13217   # is reportedly fixed, but why not run on old versions too?
   13218   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13219     || (rm -f "$cfgfile"; exit 1)
   13220 
   13221   case $xsi_shell in
   13222   yes)
   13223     cat << \_LT_EOF >> "$cfgfile"
   13224 
   13225 # func_dirname file append nondir_replacement
   13226 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13227 # otherwise set result to NONDIR_REPLACEMENT.
   13228 func_dirname ()
   13229 {
   13230   case ${1} in
   13231     */*) func_dirname_result="${1%/*}${2}" ;;
   13232     *  ) func_dirname_result="${3}" ;;
   13233   esac
   13234 }
   13235 
   13236 # func_basename file
   13237 func_basename ()
   13238 {
   13239   func_basename_result="${1##*/}"
   13240 }
   13241 
   13242 # func_dirname_and_basename file append nondir_replacement
   13243 # perform func_basename and func_dirname in a single function
   13244 # call:
   13245 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13246 #             add APPEND to the result, otherwise set result
   13247 #             to NONDIR_REPLACEMENT.
   13248 #             value returned in "$func_dirname_result"
   13249 #   basename: Compute filename of FILE.
   13250 #             value retuned in "$func_basename_result"
   13251 # Implementation must be kept synchronized with func_dirname
   13252 # and func_basename. For efficiency, we do not delegate to
   13253 # those functions but instead duplicate the functionality here.
   13254 func_dirname_and_basename ()
   13255 {
   13256   case ${1} in
   13257     */*) func_dirname_result="${1%/*}${2}" ;;
   13258     *  ) func_dirname_result="${3}" ;;
   13259   esac
   13260   func_basename_result="${1##*/}"
   13261 }
   13262 
   13263 # func_stripname prefix suffix name
   13264 # strip PREFIX and SUFFIX off of NAME.
   13265 # PREFIX and SUFFIX must not contain globbing or regex special
   13266 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13267 # dot (in which case that matches only a dot).
   13268 func_stripname ()
   13269 {
   13270   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13271   # positional parameters, so assign one to ordinary parameter first.
   13272   func_stripname_result=${3}
   13273   func_stripname_result=${func_stripname_result#"${1}"}
   13274   func_stripname_result=${func_stripname_result%"${2}"}
   13275 }
   13276 
   13277 # func_opt_split
   13278 func_opt_split ()
   13279 {
   13280   func_opt_split_opt=${1%%=*}
   13281   func_opt_split_arg=${1#*=}
   13282 }
   13283 
   13284 # func_lo2o object
   13285 func_lo2o ()
   13286 {
   13287   case ${1} in
   13288     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13289     *)    func_lo2o_result=${1} ;;
   13290   esac
   13291 }
   13292 
   13293 # func_xform libobj-or-source
   13294 func_xform ()
   13295 {
   13296   func_xform_result=${1%.*}.lo
   13297 }
   13298 
   13299 # func_arith arithmetic-term...
   13300 func_arith ()
   13301 {
   13302   func_arith_result=$(( $* ))
   13303 }
   13304 
   13305 # func_len string
   13306 # STRING may not start with a hyphen.
   13307 func_len ()
   13308 {
   13309   func_len_result=${#1}
   13310 }
   13311 
   13312 _LT_EOF
   13313     ;;
   13314   *) # Bourne compatible functions.
   13315     cat << \_LT_EOF >> "$cfgfile"
   13316 
   13317 # func_dirname file append nondir_replacement
   13318 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13319 # otherwise set result to NONDIR_REPLACEMENT.
   13320 func_dirname ()
   13321 {
   13322   # Extract subdirectory from the argument.
   13323   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13324   if test "X$func_dirname_result" = "X${1}"; then
   13325     func_dirname_result="${3}"
   13326   else
   13327     func_dirname_result="$func_dirname_result${2}"
   13328   fi
   13329 }
   13330 
   13331 # func_basename file
   13332 func_basename ()
   13333 {
   13334   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13335 }
   13336 
   13337 
   13338 # func_stripname prefix suffix name
   13339 # strip PREFIX and SUFFIX off of NAME.
   13340 # PREFIX and SUFFIX must not contain globbing or regex special
   13341 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13342 # dot (in which case that matches only a dot).
   13343 # func_strip_suffix prefix name
   13344 func_stripname ()
   13345 {
   13346   case ${2} in
   13347     .*) func_stripname_result=`$ECHO "X${3}" \
   13348            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13349     *)  func_stripname_result=`$ECHO "X${3}" \
   13350            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13351   esac
   13352 }
   13353 
   13354 # sed scripts:
   13355 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13356 my_sed_long_arg='1s/^-[^=]*=//'
   13357 
   13358 # func_opt_split
   13359 func_opt_split ()
   13360 {
   13361   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13362   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13363 }
   13364 
   13365 # func_lo2o object
   13366 func_lo2o ()
   13367 {
   13368   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13369 }
   13370 
   13371 # func_xform libobj-or-source
   13372 func_xform ()
   13373 {
   13374   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   13375 }
   13376 
   13377 # func_arith arithmetic-term...
   13378 func_arith ()
   13379 {
   13380   func_arith_result=`expr "$@"`
   13381 }
   13382 
   13383 # func_len string
   13384 # STRING may not start with a hyphen.
   13385 func_len ()
   13386 {
   13387   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13388 }
   13389 
   13390 _LT_EOF
   13391 esac
   13392 
   13393 case $lt_shell_append in
   13394   yes)
   13395     cat << \_LT_EOF >> "$cfgfile"
   13396 
   13397 # func_append var value
   13398 # Append VALUE to the end of shell variable VAR.
   13399 func_append ()
   13400 {
   13401   eval "$1+=\$2"
   13402 }
   13403 _LT_EOF
   13404     ;;
   13405   *)
   13406     cat << \_LT_EOF >> "$cfgfile"
   13407 
   13408 # func_append var value
   13409 # Append VALUE to the end of shell variable VAR.
   13410 func_append ()
   13411 {
   13412   eval "$1=\$$1\$2"
   13413 }
   13414 
   13415 _LT_EOF
   13416     ;;
   13417   esac
   13418 
   13419 
   13420   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   13421     || (rm -f "$cfgfile"; exit 1)
   13422 
   13423   mv -f "$cfgfile" "$ofile" ||
   13424     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   13425   chmod +x "$ofile"
   13426 
   13427  ;;
   13428 
   13429   esac
   13430 done # for ac_tag
   13431 
   13432 
   13433 as_fn_exit 0
   13434 _ACEOF
   13435 ac_clean_files=$ac_clean_files_save
   13436 
   13437 test $ac_write_fail = 0 ||
   13438   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13439 
   13440 
   13441 # configure is writing to config.log, and then calls config.status.
   13442 # config.status does its own redirection, appending to config.log.
   13443 # Unfortunately, on DOS this fails, as config.log is still kept open
   13444 # by configure, so config.status won't be able to write to it; its
   13445 # output is simply discarded.  So we exec the FD to /dev/null,
   13446 # effectively closing config.log, so it can be properly (re)opened and
   13447 # appended to by config.status.  When coming back to configure, we
   13448 # need to make the FD available again.
   13449 if test "$no_create" != yes; then
   13450   ac_cs_success=:
   13451   ac_config_status_args=
   13452   test "$silent" = yes &&
   13453     ac_config_status_args="$ac_config_status_args --quiet"
   13454   exec 5>/dev/null
   13455   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13456   exec 5>>config.log
   13457   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13458   # would make configure fail if this is the last instruction.
   13459   $ac_cs_success || as_fn_exit $?
   13460 fi
   13461 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13462   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13463 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13464 fi
   13465 
   13466