Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXcursor 1.1.11.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXcursor'
    573 PACKAGE_TARNAME='libXcursor'
    574 PACKAGE_VERSION='1.1.11'
    575 PACKAGE_STRING='libXcursor 1.1.11'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 LINT_FALSE
    621 LINT_TRUE
    622 LINT_FLAGS
    623 LINT
    624 XCURSOR_LIBS
    625 XCURSOR_CFLAGS
    626 XCURSORPATH_LIST
    627 XCURSORPATH
    628 ICONDIR
    629 OTOOL64
    630 OTOOL
    631 LIPO
    632 NMEDIT
    633 DSYMUTIL
    634 RANLIB
    635 AR
    636 OBJDUMP
    637 LN_S
    638 NM
    639 ac_ct_DUMPBIN
    640 DUMPBIN
    641 LD
    642 FGREP
    643 LIBTOOL
    644 AM_BACKSLASH
    645 AM_DEFAULT_VERBOSITY
    646 MAN_SUBSTS
    647 XORG_MAN_PAGE
    648 ADMIN_MAN_DIR
    649 DRIVER_MAN_DIR
    650 MISC_MAN_DIR
    651 FILE_MAN_DIR
    652 LIB_MAN_DIR
    653 APP_MAN_DIR
    654 ADMIN_MAN_SUFFIX
    655 DRIVER_MAN_SUFFIX
    656 MISC_MAN_SUFFIX
    657 FILE_MAN_SUFFIX
    658 LIB_MAN_SUFFIX
    659 APP_MAN_SUFFIX
    660 SED
    661 host_os
    662 host_vendor
    663 host_cpu
    664 host
    665 build_os
    666 build_vendor
    667 build_cpu
    668 build
    669 INSTALL_CMD
    670 PKG_CONFIG
    671 CHANGELOG_CMD
    672 CWARNFLAGS
    673 EGREP
    674 GREP
    675 CPP
    676 am__fastdepCC_FALSE
    677 am__fastdepCC_TRUE
    678 CCDEPMODE
    679 AMDEPBACKSLASH
    680 AMDEP_FALSE
    681 AMDEP_TRUE
    682 am__quote
    683 am__include
    684 DEPDIR
    685 OBJEXT
    686 EXEEXT
    687 ac_ct_CC
    688 CPPFLAGS
    689 LDFLAGS
    690 CFLAGS
    691 CC
    692 MAINT
    693 MAINTAINER_MODE_FALSE
    694 MAINTAINER_MODE_TRUE
    695 am__untar
    696 am__tar
    697 AMTAR
    698 am__leading_dot
    699 SET_MAKE
    700 AWK
    701 mkdir_p
    702 MKDIR_P
    703 INSTALL_STRIP_PROGRAM
    704 STRIP
    705 install_sh
    706 MAKEINFO
    707 AUTOHEADER
    708 AUTOMAKE
    709 AUTOCONF
    710 ACLOCAL
    711 VERSION
    712 PACKAGE
    713 CYGPATH_W
    714 am__isrc
    715 INSTALL_DATA
    716 INSTALL_SCRIPT
    717 INSTALL_PROGRAM
    718 target_alias
    719 host_alias
    720 build_alias
    721 LIBS
    722 ECHO_T
    723 ECHO_N
    724 ECHO_C
    725 DEFS
    726 mandir
    727 localedir
    728 libdir
    729 psdir
    730 pdfdir
    731 dvidir
    732 htmldir
    733 infodir
    734 docdir
    735 oldincludedir
    736 includedir
    737 localstatedir
    738 sharedstatedir
    739 sysconfdir
    740 datadir
    741 datarootdir
    742 libexecdir
    743 sbindir
    744 bindir
    745 program_transform_name
    746 prefix
    747 exec_prefix
    748 PACKAGE_URL
    749 PACKAGE_BUGREPORT
    750 PACKAGE_STRING
    751 PACKAGE_VERSION
    752 PACKAGE_TARNAME
    753 PACKAGE_NAME
    754 PATH_SEPARATOR
    755 SHELL'
    756 ac_subst_files=''
    757 ac_user_opts='
    758 enable_option_checking
    759 enable_maintainer_mode
    760 enable_dependency_tracking
    761 enable_strict_compilation
    762 enable_silent_rules
    763 enable_shared
    764 enable_static
    765 with_pic
    766 enable_fast_install
    767 with_gnu_ld
    768 enable_libtool_lock
    769 with_icondir
    770 with_cursorpath
    771 with_lint
    772 '
    773       ac_precious_vars='build_alias
    774 host_alias
    775 target_alias
    776 CC
    777 CFLAGS
    778 LDFLAGS
    779 LIBS
    780 CPPFLAGS
    781 CPP
    782 PKG_CONFIG
    783 XCURSOR_CFLAGS
    784 XCURSOR_LIBS
    785 LINT
    786 LINT_FLAGS'
    787 
    788 
    789 # Initialize some variables set by options.
    790 ac_init_help=
    791 ac_init_version=false
    792 ac_unrecognized_opts=
    793 ac_unrecognized_sep=
    794 # The variables have the same names as the options, with
    795 # dashes changed to underlines.
    796 cache_file=/dev/null
    797 exec_prefix=NONE
    798 no_create=
    799 no_recursion=
    800 prefix=NONE
    801 program_prefix=NONE
    802 program_suffix=NONE
    803 program_transform_name=s,x,x,
    804 silent=
    805 site=
    806 srcdir=
    807 verbose=
    808 x_includes=NONE
    809 x_libraries=NONE
    810 
    811 # Installation directory options.
    812 # These are left unexpanded so users can "make install exec_prefix=/foo"
    813 # and all the variables that are supposed to be based on exec_prefix
    814 # by default will actually change.
    815 # Use braces instead of parens because sh, perl, etc. also accept them.
    816 # (The list follows the same order as the GNU Coding Standards.)
    817 bindir='${exec_prefix}/bin'
    818 sbindir='${exec_prefix}/sbin'
    819 libexecdir='${exec_prefix}/libexec'
    820 datarootdir='${prefix}/share'
    821 datadir='${datarootdir}'
    822 sysconfdir='${prefix}/etc'
    823 sharedstatedir='${prefix}/com'
    824 localstatedir='${prefix}/var'
    825 includedir='${prefix}/include'
    826 oldincludedir='/usr/include'
    827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    828 infodir='${datarootdir}/info'
    829 htmldir='${docdir}'
    830 dvidir='${docdir}'
    831 pdfdir='${docdir}'
    832 psdir='${docdir}'
    833 libdir='${exec_prefix}/lib'
    834 localedir='${datarootdir}/locale'
    835 mandir='${datarootdir}/man'
    836 
    837 ac_prev=
    838 ac_dashdash=
    839 for ac_option
    840 do
    841   # If the previous option needs an argument, assign it.
    842   if test -n "$ac_prev"; then
    843     eval $ac_prev=\$ac_option
    844     ac_prev=
    845     continue
    846   fi
    847 
    848   case $ac_option in
    849   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    850   *=)   ac_optarg= ;;
    851   *)    ac_optarg=yes ;;
    852   esac
    853 
    854   # Accept the important Cygnus configure options, so we can diagnose typos.
    855 
    856   case $ac_dashdash$ac_option in
    857   --)
    858     ac_dashdash=yes ;;
    859 
    860   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    861     ac_prev=bindir ;;
    862   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    863     bindir=$ac_optarg ;;
    864 
    865   -build | --build | --buil | --bui | --bu)
    866     ac_prev=build_alias ;;
    867   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    868     build_alias=$ac_optarg ;;
    869 
    870   -cache-file | --cache-file | --cache-fil | --cache-fi \
    871   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    872     ac_prev=cache_file ;;
    873   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    874   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    875     cache_file=$ac_optarg ;;
    876 
    877   --config-cache | -C)
    878     cache_file=config.cache ;;
    879 
    880   -datadir | --datadir | --datadi | --datad)
    881     ac_prev=datadir ;;
    882   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    883     datadir=$ac_optarg ;;
    884 
    885   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    886   | --dataroo | --dataro | --datar)
    887     ac_prev=datarootdir ;;
    888   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    889   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    890     datarootdir=$ac_optarg ;;
    891 
    892   -disable-* | --disable-*)
    893     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    894     # Reject names that are not valid shell variable names.
    895     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    896       as_fn_error $? "invalid feature name: $ac_useropt"
    897     ac_useropt_orig=$ac_useropt
    898     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    899     case $ac_user_opts in
    900       *"
    901 "enable_$ac_useropt"
    902 "*) ;;
    903       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    904 	 ac_unrecognized_sep=', ';;
    905     esac
    906     eval enable_$ac_useropt=no ;;
    907 
    908   -docdir | --docdir | --docdi | --doc | --do)
    909     ac_prev=docdir ;;
    910   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    911     docdir=$ac_optarg ;;
    912 
    913   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    914     ac_prev=dvidir ;;
    915   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    916     dvidir=$ac_optarg ;;
    917 
    918   -enable-* | --enable-*)
    919     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    920     # Reject names that are not valid shell variable names.
    921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    922       as_fn_error $? "invalid feature name: $ac_useropt"
    923     ac_useropt_orig=$ac_useropt
    924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    925     case $ac_user_opts in
    926       *"
    927 "enable_$ac_useropt"
    928 "*) ;;
    929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    930 	 ac_unrecognized_sep=', ';;
    931     esac
    932     eval enable_$ac_useropt=\$ac_optarg ;;
    933 
    934   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    935   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    936   | --exec | --exe | --ex)
    937     ac_prev=exec_prefix ;;
    938   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    939   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    940   | --exec=* | --exe=* | --ex=*)
    941     exec_prefix=$ac_optarg ;;
    942 
    943   -gas | --gas | --ga | --g)
    944     # Obsolete; use --with-gas.
    945     with_gas=yes ;;
    946 
    947   -help | --help | --hel | --he | -h)
    948     ac_init_help=long ;;
    949   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    950     ac_init_help=recursive ;;
    951   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    952     ac_init_help=short ;;
    953 
    954   -host | --host | --hos | --ho)
    955     ac_prev=host_alias ;;
    956   -host=* | --host=* | --hos=* | --ho=*)
    957     host_alias=$ac_optarg ;;
    958 
    959   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    960     ac_prev=htmldir ;;
    961   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    962   | --ht=*)
    963     htmldir=$ac_optarg ;;
    964 
    965   -includedir | --includedir | --includedi | --included | --include \
    966   | --includ | --inclu | --incl | --inc)
    967     ac_prev=includedir ;;
    968   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    969   | --includ=* | --inclu=* | --incl=* | --inc=*)
    970     includedir=$ac_optarg ;;
    971 
    972   -infodir | --infodir | --infodi | --infod | --info | --inf)
    973     ac_prev=infodir ;;
    974   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    975     infodir=$ac_optarg ;;
    976 
    977   -libdir | --libdir | --libdi | --libd)
    978     ac_prev=libdir ;;
    979   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    980     libdir=$ac_optarg ;;
    981 
    982   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    983   | --libexe | --libex | --libe)
    984     ac_prev=libexecdir ;;
    985   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    986   | --libexe=* | --libex=* | --libe=*)
    987     libexecdir=$ac_optarg ;;
    988 
    989   -localedir | --localedir | --localedi | --localed | --locale)
    990     ac_prev=localedir ;;
    991   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    992     localedir=$ac_optarg ;;
    993 
    994   -localstatedir | --localstatedir | --localstatedi | --localstated \
    995   | --localstate | --localstat | --localsta | --localst | --locals)
    996     ac_prev=localstatedir ;;
    997   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    998   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    999     localstatedir=$ac_optarg ;;
   1000 
   1001   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1002     ac_prev=mandir ;;
   1003   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1004     mandir=$ac_optarg ;;
   1005 
   1006   -nfp | --nfp | --nf)
   1007     # Obsolete; use --without-fp.
   1008     with_fp=no ;;
   1009 
   1010   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1011   | --no-cr | --no-c | -n)
   1012     no_create=yes ;;
   1013 
   1014   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1015   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1016     no_recursion=yes ;;
   1017 
   1018   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1019   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1020   | --oldin | --oldi | --old | --ol | --o)
   1021     ac_prev=oldincludedir ;;
   1022   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1023   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1024   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1025     oldincludedir=$ac_optarg ;;
   1026 
   1027   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1028     ac_prev=prefix ;;
   1029   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1030     prefix=$ac_optarg ;;
   1031 
   1032   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1033   | --program-pre | --program-pr | --program-p)
   1034     ac_prev=program_prefix ;;
   1035   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1036   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1037     program_prefix=$ac_optarg ;;
   1038 
   1039   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1040   | --program-suf | --program-su | --program-s)
   1041     ac_prev=program_suffix ;;
   1042   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1043   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1044     program_suffix=$ac_optarg ;;
   1045 
   1046   -program-transform-name | --program-transform-name \
   1047   | --program-transform-nam | --program-transform-na \
   1048   | --program-transform-n | --program-transform- \
   1049   | --program-transform | --program-transfor \
   1050   | --program-transfo | --program-transf \
   1051   | --program-trans | --program-tran \
   1052   | --progr-tra | --program-tr | --program-t)
   1053     ac_prev=program_transform_name ;;
   1054   -program-transform-name=* | --program-transform-name=* \
   1055   | --program-transform-nam=* | --program-transform-na=* \
   1056   | --program-transform-n=* | --program-transform-=* \
   1057   | --program-transform=* | --program-transfor=* \
   1058   | --program-transfo=* | --program-transf=* \
   1059   | --program-trans=* | --program-tran=* \
   1060   | --progr-tra=* | --program-tr=* | --program-t=*)
   1061     program_transform_name=$ac_optarg ;;
   1062 
   1063   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1064     ac_prev=pdfdir ;;
   1065   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1066     pdfdir=$ac_optarg ;;
   1067 
   1068   -psdir | --psdir | --psdi | --psd | --ps)
   1069     ac_prev=psdir ;;
   1070   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1071     psdir=$ac_optarg ;;
   1072 
   1073   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1074   | -silent | --silent | --silen | --sile | --sil)
   1075     silent=yes ;;
   1076 
   1077   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1078     ac_prev=sbindir ;;
   1079   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1080   | --sbi=* | --sb=*)
   1081     sbindir=$ac_optarg ;;
   1082 
   1083   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1084   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1085   | --sharedst | --shareds | --shared | --share | --shar \
   1086   | --sha | --sh)
   1087     ac_prev=sharedstatedir ;;
   1088   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1089   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1090   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1091   | --sha=* | --sh=*)
   1092     sharedstatedir=$ac_optarg ;;
   1093 
   1094   -site | --site | --sit)
   1095     ac_prev=site ;;
   1096   -site=* | --site=* | --sit=*)
   1097     site=$ac_optarg ;;
   1098 
   1099   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1100     ac_prev=srcdir ;;
   1101   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1102     srcdir=$ac_optarg ;;
   1103 
   1104   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1105   | --syscon | --sysco | --sysc | --sys | --sy)
   1106     ac_prev=sysconfdir ;;
   1107   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1108   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1109     sysconfdir=$ac_optarg ;;
   1110 
   1111   -target | --target | --targe | --targ | --tar | --ta | --t)
   1112     ac_prev=target_alias ;;
   1113   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1114     target_alias=$ac_optarg ;;
   1115 
   1116   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1117     verbose=yes ;;
   1118 
   1119   -version | --version | --versio | --versi | --vers | -V)
   1120     ac_init_version=: ;;
   1121 
   1122   -with-* | --with-*)
   1123     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1124     # Reject names that are not valid shell variable names.
   1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1126       as_fn_error $? "invalid package name: $ac_useropt"
   1127     ac_useropt_orig=$ac_useropt
   1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1129     case $ac_user_opts in
   1130       *"
   1131 "with_$ac_useropt"
   1132 "*) ;;
   1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1134 	 ac_unrecognized_sep=', ';;
   1135     esac
   1136     eval with_$ac_useropt=\$ac_optarg ;;
   1137 
   1138   -without-* | --without-*)
   1139     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1140     # Reject names that are not valid shell variable names.
   1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1142       as_fn_error $? "invalid package name: $ac_useropt"
   1143     ac_useropt_orig=$ac_useropt
   1144     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1145     case $ac_user_opts in
   1146       *"
   1147 "with_$ac_useropt"
   1148 "*) ;;
   1149       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1150 	 ac_unrecognized_sep=', ';;
   1151     esac
   1152     eval with_$ac_useropt=no ;;
   1153 
   1154   --x)
   1155     # Obsolete; use --with-x.
   1156     with_x=yes ;;
   1157 
   1158   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1159   | --x-incl | --x-inc | --x-in | --x-i)
   1160     ac_prev=x_includes ;;
   1161   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1162   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1163     x_includes=$ac_optarg ;;
   1164 
   1165   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1166   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1167     ac_prev=x_libraries ;;
   1168   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1169   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1170     x_libraries=$ac_optarg ;;
   1171 
   1172   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1173 Try \`$0 --help' for more information"
   1174     ;;
   1175 
   1176   *=*)
   1177     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1178     # Reject names that are not valid shell variable names.
   1179     case $ac_envvar in #(
   1180       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1181       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1182     esac
   1183     eval $ac_envvar=\$ac_optarg
   1184     export $ac_envvar ;;
   1185 
   1186   *)
   1187     # FIXME: should be removed in autoconf 3.0.
   1188     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1189     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1190       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1191     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1192     ;;
   1193 
   1194   esac
   1195 done
   1196 
   1197 if test -n "$ac_prev"; then
   1198   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1199   as_fn_error $? "missing argument to $ac_option"
   1200 fi
   1201 
   1202 if test -n "$ac_unrecognized_opts"; then
   1203   case $enable_option_checking in
   1204     no) ;;
   1205     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1206     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1207   esac
   1208 fi
   1209 
   1210 # Check all directory arguments for consistency.
   1211 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1212 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1213 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1214 		libdir localedir mandir
   1215 do
   1216   eval ac_val=\$$ac_var
   1217   # Remove trailing slashes.
   1218   case $ac_val in
   1219     */ )
   1220       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1221       eval $ac_var=\$ac_val;;
   1222   esac
   1223   # Be sure to have absolute directory names.
   1224   case $ac_val in
   1225     [\\/$]* | ?:[\\/]* )  continue;;
   1226     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1227   esac
   1228   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1229 done
   1230 
   1231 # There might be people who depend on the old broken behavior: `$host'
   1232 # used to hold the argument of --host etc.
   1233 # FIXME: To remove some day.
   1234 build=$build_alias
   1235 host=$host_alias
   1236 target=$target_alias
   1237 
   1238 # FIXME: To remove some day.
   1239 if test "x$host_alias" != x; then
   1240   if test "x$build_alias" = x; then
   1241     cross_compiling=maybe
   1242     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1243     If a cross compiler is detected then cross compile mode will be used" >&2
   1244   elif test "x$build_alias" != "x$host_alias"; then
   1245     cross_compiling=yes
   1246   fi
   1247 fi
   1248 
   1249 ac_tool_prefix=
   1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1251 
   1252 test "$silent" = yes && exec 6>/dev/null
   1253 
   1254 
   1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1256 ac_ls_di=`ls -di .` &&
   1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1258   as_fn_error $? "working directory cannot be determined"
   1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1260   as_fn_error $? "pwd does not report name of working directory"
   1261 
   1262 
   1263 # Find the source files, if location was not specified.
   1264 if test -z "$srcdir"; then
   1265   ac_srcdir_defaulted=yes
   1266   # Try the directory containing this script, then the parent directory.
   1267   ac_confdir=`$as_dirname -- "$as_myself" ||
   1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1269 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1270 	 X"$as_myself" : 'X\(//\)$' \| \
   1271 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1272 $as_echo X"$as_myself" |
   1273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  /^X\(\/\/\)[^/].*/{
   1278 	    s//\1/
   1279 	    q
   1280 	  }
   1281 	  /^X\(\/\/\)$/{
   1282 	    s//\1/
   1283 	    q
   1284 	  }
   1285 	  /^X\(\/\).*/{
   1286 	    s//\1/
   1287 	    q
   1288 	  }
   1289 	  s/.*/./; q'`
   1290   srcdir=$ac_confdir
   1291   if test ! -r "$srcdir/$ac_unique_file"; then
   1292     srcdir=..
   1293   fi
   1294 else
   1295   ac_srcdir_defaulted=no
   1296 fi
   1297 if test ! -r "$srcdir/$ac_unique_file"; then
   1298   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1299   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1300 fi
   1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1302 ac_abs_confdir=`(
   1303 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1304 	pwd)`
   1305 # When building in place, set srcdir=.
   1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1307   srcdir=.
   1308 fi
   1309 # Remove unnecessary trailing slashes from srcdir.
   1310 # Double slashes in file names in object file debugging info
   1311 # mess up M-x gdb in Emacs.
   1312 case $srcdir in
   1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1314 esac
   1315 for ac_var in $ac_precious_vars; do
   1316   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1317   eval ac_env_${ac_var}_value=\$${ac_var}
   1318   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1319   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1320 done
   1321 
   1322 #
   1323 # Report the --help message.
   1324 #
   1325 if test "$ac_init_help" = "long"; then
   1326   # Omit some internal or obsolete options to make the list less imposing.
   1327   # This message is too long to be a string in the A/UX 3.1 sh.
   1328   cat <<_ACEOF
   1329 \`configure' configures libXcursor 1.1.11 to adapt to many kinds of systems.
   1330 
   1331 Usage: $0 [OPTION]... [VAR=VALUE]...
   1332 
   1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1334 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1335 
   1336 Defaults for the options are specified in brackets.
   1337 
   1338 Configuration:
   1339   -h, --help              display this help and exit
   1340       --help=short        display options specific to this package
   1341       --help=recursive    display the short help of all the included packages
   1342   -V, --version           display version information and exit
   1343   -q, --quiet, --silent   do not print \`checking ...' messages
   1344       --cache-file=FILE   cache test results in FILE [disabled]
   1345   -C, --config-cache      alias for \`--cache-file=config.cache'
   1346   -n, --no-create         do not create output files
   1347       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1348 
   1349 Installation directories:
   1350   --prefix=PREFIX         install architecture-independent files in PREFIX
   1351                           [$ac_default_prefix]
   1352   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1353                           [PREFIX]
   1354 
   1355 By default, \`make install' will install all the files in
   1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1358 for instance \`--prefix=\$HOME'.
   1359 
   1360 For better control, use the options below.
   1361 
   1362 Fine tuning of the installation directories:
   1363   --bindir=DIR            user executables [EPREFIX/bin]
   1364   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1365   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1366   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1367   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1368   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1369   --libdir=DIR            object code libraries [EPREFIX/lib]
   1370   --includedir=DIR        C header files [PREFIX/include]
   1371   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1372   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1373   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1374   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1375   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1376   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1377   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcursor]
   1378   --htmldir=DIR           html documentation [DOCDIR]
   1379   --dvidir=DIR            dvi documentation [DOCDIR]
   1380   --pdfdir=DIR            pdf documentation [DOCDIR]
   1381   --psdir=DIR             ps documentation [DOCDIR]
   1382 _ACEOF
   1383 
   1384   cat <<\_ACEOF
   1385 
   1386 Program names:
   1387   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1388   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1389   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1390 
   1391 System types:
   1392   --build=BUILD     configure for building on BUILD [guessed]
   1393   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1394 _ACEOF
   1395 fi
   1396 
   1397 if test -n "$ac_init_help"; then
   1398   case $ac_init_help in
   1399      short | recursive ) echo "Configuration of libXcursor 1.1.11:";;
   1400    esac
   1401   cat <<\_ACEOF
   1402 
   1403 Optional Features:
   1404   --disable-option-checking  ignore unrecognized --enable/--with options
   1405   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1406   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1407   --enable-maintainer-mode  enable make rules and dependencies not useful
   1408 			  (and sometimes confusing) to the casual installer
   1409   --disable-dependency-tracking  speeds up one-time build
   1410   --enable-dependency-tracking   do not reject slow dependency extractors
   1411   --enable-strict-compilation
   1412                           Enable all warnings from compiler and make them
   1413                           errors (default: disabled)
   1414   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1415   --disable-silent-rules         verbose build output (undo: `make V=0')
   1416   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1417   --enable-static[=PKGS]  build static libraries [default=yes]
   1418   --enable-fast-install[=PKGS]
   1419                           optimize for fast installation [default=yes]
   1420   --disable-libtool-lock  avoid locking (might break parallel builds)
   1421 
   1422 Optional Packages:
   1423   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1424   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1425   --with-pic              try to use only PIC/non-PIC objects [default=use
   1426                           both]
   1427   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1428   --with-icondir=<path>   Set default icon directory (default:
   1429                           ${datadir}/icons)
   1430   --with-cursorpath=<paths>
   1431                           Set default search path for cursors
   1432   --with-lint             Use a lint-style source code checker (default:
   1433                           disabled)
   1434 
   1435 Some influential environment variables:
   1436   CC          C compiler command
   1437   CFLAGS      C compiler flags
   1438   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1439               nonstandard directory <lib dir>
   1440   LIBS        libraries to pass to the linker, e.g. -l<library>
   1441   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1442               you have headers in a nonstandard directory <include dir>
   1443   CPP         C preprocessor
   1444   PKG_CONFIG  path to pkg-config utility
   1445   XCURSOR_CFLAGS
   1446               C compiler flags for XCURSOR, overriding pkg-config
   1447   XCURSOR_LIBS
   1448               linker flags for XCURSOR, overriding pkg-config
   1449   LINT        Path to a lint-style command
   1450   LINT_FLAGS  Flags for the lint-style command
   1451 
   1452 Use these variables to override the choices made by `configure' or to help
   1453 it to find libraries and programs with nonstandard names/locations.
   1454 
   1455 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1456 _ACEOF
   1457 ac_status=$?
   1458 fi
   1459 
   1460 if test "$ac_init_help" = "recursive"; then
   1461   # If there are subdirs, report their specific --help.
   1462   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1463     test -d "$ac_dir" ||
   1464       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1465       continue
   1466     ac_builddir=.
   1467 
   1468 case "$ac_dir" in
   1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1470 *)
   1471   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1472   # A ".." for each directory in $ac_dir_suffix.
   1473   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1474   case $ac_top_builddir_sub in
   1475   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1477   esac ;;
   1478 esac
   1479 ac_abs_top_builddir=$ac_pwd
   1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1481 # for backward compatibility:
   1482 ac_top_builddir=$ac_top_build_prefix
   1483 
   1484 case $srcdir in
   1485   .)  # We are building in place.
   1486     ac_srcdir=.
   1487     ac_top_srcdir=$ac_top_builddir_sub
   1488     ac_abs_top_srcdir=$ac_pwd ;;
   1489   [\\/]* | ?:[\\/]* )  # Absolute name.
   1490     ac_srcdir=$srcdir$ac_dir_suffix;
   1491     ac_top_srcdir=$srcdir
   1492     ac_abs_top_srcdir=$srcdir ;;
   1493   *) # Relative name.
   1494     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1495     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1496     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1497 esac
   1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1499 
   1500     cd "$ac_dir" || { ac_status=$?; continue; }
   1501     # Check for guested configure.
   1502     if test -f "$ac_srcdir/configure.gnu"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1505     elif test -f "$ac_srcdir/configure"; then
   1506       echo &&
   1507       $SHELL "$ac_srcdir/configure" --help=recursive
   1508     else
   1509       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1510     fi || ac_status=$?
   1511     cd "$ac_pwd" || { ac_status=$?; break; }
   1512   done
   1513 fi
   1514 
   1515 test -n "$ac_init_help" && exit $ac_status
   1516 if $ac_init_version; then
   1517   cat <<\_ACEOF
   1518 libXcursor configure 1.1.11
   1519 generated by GNU Autoconf 2.68
   1520 
   1521 Copyright (C) 2010 Free Software Foundation, Inc.
   1522 This configure script is free software; the Free Software Foundation
   1523 gives unlimited permission to copy, distribute and modify it.
   1524 _ACEOF
   1525   exit
   1526 fi
   1527 
   1528 ## ------------------------ ##
   1529 ## Autoconf initialization. ##
   1530 ## ------------------------ ##
   1531 
   1532 # ac_fn_c_try_compile LINENO
   1533 # --------------------------
   1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1535 ac_fn_c_try_compile ()
   1536 {
   1537   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1538   rm -f conftest.$ac_objext
   1539   if { { ac_try="$ac_compile"
   1540 case "(($ac_try" in
   1541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1542   *) ac_try_echo=$ac_try;;
   1543 esac
   1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1545 $as_echo "$ac_try_echo"; } >&5
   1546   (eval "$ac_compile") 2>conftest.err
   1547   ac_status=$?
   1548   if test -s conftest.err; then
   1549     grep -v '^ *+' conftest.err >conftest.er1
   1550     cat conftest.er1 >&5
   1551     mv -f conftest.er1 conftest.err
   1552   fi
   1553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1554   test $ac_status = 0; } && {
   1555 	 test -z "$ac_c_werror_flag" ||
   1556 	 test ! -s conftest.err
   1557        } && test -s conftest.$ac_objext; then :
   1558   ac_retval=0
   1559 else
   1560   $as_echo "$as_me: failed program was:" >&5
   1561 sed 's/^/| /' conftest.$ac_ext >&5
   1562 
   1563 	ac_retval=1
   1564 fi
   1565   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1566   as_fn_set_status $ac_retval
   1567 
   1568 } # ac_fn_c_try_compile
   1569 
   1570 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1571 # ---------------------------------------------
   1572 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1573 # accordingly.
   1574 ac_fn_c_check_decl ()
   1575 {
   1576   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1577   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1578   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1580 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1581 if eval \${$3+:} false; then :
   1582   $as_echo_n "(cached) " >&6
   1583 else
   1584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1585 /* end confdefs.h.  */
   1586 $4
   1587 int
   1588 main ()
   1589 {
   1590 #ifndef $as_decl_name
   1591 #ifdef __cplusplus
   1592   (void) $as_decl_use;
   1593 #else
   1594   (void) $as_decl_name;
   1595 #endif
   1596 #endif
   1597 
   1598   ;
   1599   return 0;
   1600 }
   1601 _ACEOF
   1602 if ac_fn_c_try_compile "$LINENO"; then :
   1603   eval "$3=yes"
   1604 else
   1605   eval "$3=no"
   1606 fi
   1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1608 fi
   1609 eval ac_res=\$$3
   1610 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1611 $as_echo "$ac_res" >&6; }
   1612   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1613 
   1614 } # ac_fn_c_check_decl
   1615 
   1616 # ac_fn_c_try_cpp LINENO
   1617 # ----------------------
   1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_cpp ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } > conftest.i && {
   1638 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646     ac_retval=1
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_cpp
   1652 
   1653 # ac_fn_c_try_run LINENO
   1654 # ----------------------
   1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1656 # that executables *can* be run.
   1657 ac_fn_c_try_run ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   if { { ac_try="$ac_link"
   1661 case "(($ac_try" in
   1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1663   *) ac_try_echo=$ac_try;;
   1664 esac
   1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1666 $as_echo "$ac_try_echo"; } >&5
   1667   (eval "$ac_link") 2>&5
   1668   ac_status=$?
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1671   { { case "(($ac_try" in
   1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1673   *) ac_try_echo=$ac_try;;
   1674 esac
   1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1676 $as_echo "$ac_try_echo"; } >&5
   1677   (eval "$ac_try") 2>&5
   1678   ac_status=$?
   1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1680   test $ac_status = 0; }; }; then :
   1681   ac_retval=0
   1682 else
   1683   $as_echo "$as_me: program exited with status $ac_status" >&5
   1684        $as_echo "$as_me: failed program was:" >&5
   1685 sed 's/^/| /' conftest.$ac_ext >&5
   1686 
   1687        ac_retval=$ac_status
   1688 fi
   1689   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1690   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1691   as_fn_set_status $ac_retval
   1692 
   1693 } # ac_fn_c_try_run
   1694 
   1695 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1696 # -------------------------------------------------------
   1697 # Tests whether HEADER exists and can be compiled using the include files in
   1698 # INCLUDES, setting the cache variable VAR accordingly.
   1699 ac_fn_c_check_header_compile ()
   1700 {
   1701   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1703 $as_echo_n "checking for $2... " >&6; }
   1704 if eval \${$3+:} false; then :
   1705   $as_echo_n "(cached) " >&6
   1706 else
   1707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1708 /* end confdefs.h.  */
   1709 $4
   1710 #include <$2>
   1711 _ACEOF
   1712 if ac_fn_c_try_compile "$LINENO"; then :
   1713   eval "$3=yes"
   1714 else
   1715   eval "$3=no"
   1716 fi
   1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1718 fi
   1719 eval ac_res=\$$3
   1720 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1721 $as_echo "$ac_res" >&6; }
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_c_check_header_compile
   1725 
   1726 # ac_fn_c_try_link LINENO
   1727 # -----------------------
   1728 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1729 ac_fn_c_try_link ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   rm -f conftest.$ac_objext conftest$ac_exeext
   1733   if { { ac_try="$ac_link"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_link") 2>conftest.err
   1741   ac_status=$?
   1742   if test -s conftest.err; then
   1743     grep -v '^ *+' conftest.err >conftest.er1
   1744     cat conftest.er1 >&5
   1745     mv -f conftest.er1 conftest.err
   1746   fi
   1747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; } && {
   1749 	 test -z "$ac_c_werror_flag" ||
   1750 	 test ! -s conftest.err
   1751        } && test -s conftest$ac_exeext && {
   1752 	 test "$cross_compiling" = yes ||
   1753 	 $as_test_x conftest$ac_exeext
   1754        }; then :
   1755   ac_retval=0
   1756 else
   1757   $as_echo "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760 	ac_retval=1
   1761 fi
   1762   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1763   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1764   # interfere with the next link command; also delete a directory that is
   1765   # left behind by Apple's compiler.  We do this before executing the actions.
   1766   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1767   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1768   as_fn_set_status $ac_retval
   1769 
   1770 } # ac_fn_c_try_link
   1771 
   1772 # ac_fn_c_check_func LINENO FUNC VAR
   1773 # ----------------------------------
   1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1775 ac_fn_c_check_func ()
   1776 {
   1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1779 $as_echo_n "checking for $2... " >&6; }
   1780 if eval \${$3+:} false; then :
   1781   $as_echo_n "(cached) " >&6
   1782 else
   1783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1784 /* end confdefs.h.  */
   1785 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1787 #define $2 innocuous_$2
   1788 
   1789 /* System header to define __stub macros and hopefully few prototypes,
   1790     which can conflict with char $2 (); below.
   1791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1792     <limits.h> exists even on freestanding compilers.  */
   1793 
   1794 #ifdef __STDC__
   1795 # include <limits.h>
   1796 #else
   1797 # include <assert.h>
   1798 #endif
   1799 
   1800 #undef $2
   1801 
   1802 /* Override any GCC internal prototype to avoid an error.
   1803    Use char because int might match the return type of a GCC
   1804    builtin and then its argument prototype would still apply.  */
   1805 #ifdef __cplusplus
   1806 extern "C"
   1807 #endif
   1808 char $2 ();
   1809 /* The GNU C library defines this for functions which it implements
   1810     to always fail with ENOSYS.  Some functions are actually named
   1811     something starting with __ and the normal name is an alias.  */
   1812 #if defined __stub_$2 || defined __stub___$2
   1813 choke me
   1814 #endif
   1815 
   1816 int
   1817 main ()
   1818 {
   1819 return $2 ();
   1820   ;
   1821   return 0;
   1822 }
   1823 _ACEOF
   1824 if ac_fn_c_try_link "$LINENO"; then :
   1825   eval "$3=yes"
   1826 else
   1827   eval "$3=no"
   1828 fi
   1829 rm -f core conftest.err conftest.$ac_objext \
   1830     conftest$ac_exeext conftest.$ac_ext
   1831 fi
   1832 eval ac_res=\$$3
   1833 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1834 $as_echo "$ac_res" >&6; }
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836 
   1837 } # ac_fn_c_check_func
   1838 cat >config.log <<_ACEOF
   1839 This file contains any messages produced by compilers while
   1840 running configure, to aid debugging if configure makes a mistake.
   1841 
   1842 It was created by libXcursor $as_me 1.1.11, which was
   1843 generated by GNU Autoconf 2.68.  Invocation command line was
   1844 
   1845   $ $0 $@
   1846 
   1847 _ACEOF
   1848 exec 5>>config.log
   1849 {
   1850 cat <<_ASUNAME
   1851 ## --------- ##
   1852 ## Platform. ##
   1853 ## --------- ##
   1854 
   1855 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1856 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1857 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1858 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1859 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1860 
   1861 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1862 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1863 
   1864 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1865 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1866 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1867 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1868 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1869 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1870 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1871 
   1872 _ASUNAME
   1873 
   1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1875 for as_dir in $PATH
   1876 do
   1877   IFS=$as_save_IFS
   1878   test -z "$as_dir" && as_dir=.
   1879     $as_echo "PATH: $as_dir"
   1880   done
   1881 IFS=$as_save_IFS
   1882 
   1883 } >&5
   1884 
   1885 cat >&5 <<_ACEOF
   1886 
   1887 
   1888 ## ----------- ##
   1889 ## Core tests. ##
   1890 ## ----------- ##
   1891 
   1892 _ACEOF
   1893 
   1894 
   1895 # Keep a trace of the command line.
   1896 # Strip out --no-create and --no-recursion so they do not pile up.
   1897 # Strip out --silent because we don't want to record it for future runs.
   1898 # Also quote any args containing shell meta-characters.
   1899 # Make two passes to allow for proper duplicate-argument suppression.
   1900 ac_configure_args=
   1901 ac_configure_args0=
   1902 ac_configure_args1=
   1903 ac_must_keep_next=false
   1904 for ac_pass in 1 2
   1905 do
   1906   for ac_arg
   1907   do
   1908     case $ac_arg in
   1909     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1910     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1911     | -silent | --silent | --silen | --sile | --sil)
   1912       continue ;;
   1913     *\'*)
   1914       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1915     esac
   1916     case $ac_pass in
   1917     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1918     2)
   1919       as_fn_append ac_configure_args1 " '$ac_arg'"
   1920       if test $ac_must_keep_next = true; then
   1921 	ac_must_keep_next=false # Got value, back to normal.
   1922       else
   1923 	case $ac_arg in
   1924 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1925 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1926 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1927 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1928 	    case "$ac_configure_args0 " in
   1929 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1930 	    esac
   1931 	    ;;
   1932 	  -* ) ac_must_keep_next=true ;;
   1933 	esac
   1934       fi
   1935       as_fn_append ac_configure_args " '$ac_arg'"
   1936       ;;
   1937     esac
   1938   done
   1939 done
   1940 { ac_configure_args0=; unset ac_configure_args0;}
   1941 { ac_configure_args1=; unset ac_configure_args1;}
   1942 
   1943 # When interrupted or exit'd, cleanup temporary files, and complete
   1944 # config.log.  We remove comments because anyway the quotes in there
   1945 # would cause problems or look ugly.
   1946 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1947 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1948 trap 'exit_status=$?
   1949   # Save into config.log some information that might help in debugging.
   1950   {
   1951     echo
   1952 
   1953     $as_echo "## ---------------- ##
   1954 ## Cache variables. ##
   1955 ## ---------------- ##"
   1956     echo
   1957     # The following way of writing the cache mishandles newlines in values,
   1958 (
   1959   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1960     eval ac_val=\$$ac_var
   1961     case $ac_val in #(
   1962     *${as_nl}*)
   1963       case $ac_var in #(
   1964       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1965 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1966       esac
   1967       case $ac_var in #(
   1968       _ | IFS | as_nl) ;; #(
   1969       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1970       *) { eval $ac_var=; unset $ac_var;} ;;
   1971       esac ;;
   1972     esac
   1973   done
   1974   (set) 2>&1 |
   1975     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1976     *${as_nl}ac_space=\ *)
   1977       sed -n \
   1978 	"s/'\''/'\''\\\\'\'''\''/g;
   1979 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1980       ;; #(
   1981     *)
   1982       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1983       ;;
   1984     esac |
   1985     sort
   1986 )
   1987     echo
   1988 
   1989     $as_echo "## ----------------- ##
   1990 ## Output variables. ##
   1991 ## ----------------- ##"
   1992     echo
   1993     for ac_var in $ac_subst_vars
   1994     do
   1995       eval ac_val=\$$ac_var
   1996       case $ac_val in
   1997       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1998       esac
   1999       $as_echo "$ac_var='\''$ac_val'\''"
   2000     done | sort
   2001     echo
   2002 
   2003     if test -n "$ac_subst_files"; then
   2004       $as_echo "## ------------------- ##
   2005 ## File substitutions. ##
   2006 ## ------------------- ##"
   2007       echo
   2008       for ac_var in $ac_subst_files
   2009       do
   2010 	eval ac_val=\$$ac_var
   2011 	case $ac_val in
   2012 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2013 	esac
   2014 	$as_echo "$ac_var='\''$ac_val'\''"
   2015       done | sort
   2016       echo
   2017     fi
   2018 
   2019     if test -s confdefs.h; then
   2020       $as_echo "## ----------- ##
   2021 ## confdefs.h. ##
   2022 ## ----------- ##"
   2023       echo
   2024       cat confdefs.h
   2025       echo
   2026     fi
   2027     test "$ac_signal" != 0 &&
   2028       $as_echo "$as_me: caught signal $ac_signal"
   2029     $as_echo "$as_me: exit $exit_status"
   2030   } >&5
   2031   rm -f core *.core core.conftest.* &&
   2032     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2033     exit $exit_status
   2034 ' 0
   2035 for ac_signal in 1 2 13 15; do
   2036   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2037 done
   2038 ac_signal=0
   2039 
   2040 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2041 rm -f -r conftest* confdefs.h
   2042 
   2043 $as_echo "/* confdefs.h */" > confdefs.h
   2044 
   2045 # Predefined preprocessor variables.
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_NAME "$PACKAGE_NAME"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_STRING "$PACKAGE_STRING"
   2061 _ACEOF
   2062 
   2063 cat >>confdefs.h <<_ACEOF
   2064 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2065 _ACEOF
   2066 
   2067 cat >>confdefs.h <<_ACEOF
   2068 #define PACKAGE_URL "$PACKAGE_URL"
   2069 _ACEOF
   2070 
   2071 
   2072 # Let the site file select an alternate cache file if it wants to.
   2073 # Prefer an explicitly selected file to automatically selected ones.
   2074 ac_site_file1=NONE
   2075 ac_site_file2=NONE
   2076 if test -n "$CONFIG_SITE"; then
   2077   # We do not want a PATH search for config.site.
   2078   case $CONFIG_SITE in #((
   2079     -*)  ac_site_file1=./$CONFIG_SITE;;
   2080     */*) ac_site_file1=$CONFIG_SITE;;
   2081     *)   ac_site_file1=./$CONFIG_SITE;;
   2082   esac
   2083 elif test "x$prefix" != xNONE; then
   2084   ac_site_file1=$prefix/share/config.site
   2085   ac_site_file2=$prefix/etc/config.site
   2086 else
   2087   ac_site_file1=$ac_default_prefix/share/config.site
   2088   ac_site_file2=$ac_default_prefix/etc/config.site
   2089 fi
   2090 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2091 do
   2092   test "x$ac_site_file" = xNONE && continue
   2093   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2094     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2095 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2096     sed 's/^/| /' "$ac_site_file" >&5
   2097     . "$ac_site_file" \
   2098       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2100 as_fn_error $? "failed to load site script $ac_site_file
   2101 See \`config.log' for more details" "$LINENO" 5; }
   2102   fi
   2103 done
   2104 
   2105 if test -r "$cache_file"; then
   2106   # Some versions of bash will fail to source /dev/null (special files
   2107   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2108   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2109     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2110 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2111     case $cache_file in
   2112       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2113       *)                      . "./$cache_file";;
   2114     esac
   2115   fi
   2116 else
   2117   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2118 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2119   >$cache_file
   2120 fi
   2121 
   2122 # Check that the precious variables saved in the cache have kept the same
   2123 # value.
   2124 ac_cache_corrupted=false
   2125 for ac_var in $ac_precious_vars; do
   2126   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2127   eval ac_new_set=\$ac_env_${ac_var}_set
   2128   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2129   eval ac_new_val=\$ac_env_${ac_var}_value
   2130   case $ac_old_set,$ac_new_set in
   2131     set,)
   2132       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2133 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2134       ac_cache_corrupted=: ;;
   2135     ,set)
   2136       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2137 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2138       ac_cache_corrupted=: ;;
   2139     ,);;
   2140     *)
   2141       if test "x$ac_old_val" != "x$ac_new_val"; then
   2142 	# differences in whitespace do not lead to failure.
   2143 	ac_old_val_w=`echo x $ac_old_val`
   2144 	ac_new_val_w=`echo x $ac_new_val`
   2145 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2146 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2147 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2148 	  ac_cache_corrupted=:
   2149 	else
   2150 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2151 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2152 	  eval $ac_var=\$ac_old_val
   2153 	fi
   2154 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2155 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2156 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2157 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2158       fi;;
   2159   esac
   2160   # Pass precious variables to config.status.
   2161   if test "$ac_new_set" = set; then
   2162     case $ac_new_val in
   2163     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2164     *) ac_arg=$ac_var=$ac_new_val ;;
   2165     esac
   2166     case " $ac_configure_args " in
   2167       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2168       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2169     esac
   2170   fi
   2171 done
   2172 if $ac_cache_corrupted; then
   2173   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2175   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2176 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2177   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2178 fi
   2179 ## -------------------- ##
   2180 ## Main body of script. ##
   2181 ## -------------------- ##
   2182 
   2183 ac_ext=c
   2184 ac_cpp='$CPP $CPPFLAGS'
   2185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2188 
   2189 
   2190 am__api_version='1.11'
   2191 
   2192 ac_aux_dir=
   2193 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2194   if test -f "$ac_dir/install-sh"; then
   2195     ac_aux_dir=$ac_dir
   2196     ac_install_sh="$ac_aux_dir/install-sh -c"
   2197     break
   2198   elif test -f "$ac_dir/install.sh"; then
   2199     ac_aux_dir=$ac_dir
   2200     ac_install_sh="$ac_aux_dir/install.sh -c"
   2201     break
   2202   elif test -f "$ac_dir/shtool"; then
   2203     ac_aux_dir=$ac_dir
   2204     ac_install_sh="$ac_aux_dir/shtool install -c"
   2205     break
   2206   fi
   2207 done
   2208 if test -z "$ac_aux_dir"; then
   2209   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2210 fi
   2211 
   2212 # These three variables are undocumented and unsupported,
   2213 # and are intended to be withdrawn in a future Autoconf release.
   2214 # They can cause serious problems if a builder's source tree is in a directory
   2215 # whose full name contains unusual characters.
   2216 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2217 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2218 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2219 
   2220 
   2221 # Find a good install program.  We prefer a C program (faster),
   2222 # so one script is as good as another.  But avoid the broken or
   2223 # incompatible versions:
   2224 # SysV /etc/install, /usr/sbin/install
   2225 # SunOS /usr/etc/install
   2226 # IRIX /sbin/install
   2227 # AIX /bin/install
   2228 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2232 # OS/2's system install, which has a completely different semantic
   2233 # ./install, which can be erroneously created by make from ./install.sh.
   2234 # Reject install programs that cannot install multiple files.
   2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2236 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2237 if test -z "$INSTALL"; then
   2238 if ${ac_cv_path_install+:} false; then :
   2239   $as_echo_n "(cached) " >&6
   2240 else
   2241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2242 for as_dir in $PATH
   2243 do
   2244   IFS=$as_save_IFS
   2245   test -z "$as_dir" && as_dir=.
   2246     # Account for people who put trailing slashes in PATH elements.
   2247 case $as_dir/ in #((
   2248   ./ | .// | /[cC]/* | \
   2249   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2250   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2251   /usr/ucb/* ) ;;
   2252   *)
   2253     # OSF1 and SCO ODT 3.0 have their own names for install.
   2254     # Don't use installbsd from OSF since it installs stuff as root
   2255     # by default.
   2256     for ac_prog in ginstall scoinst install; do
   2257       for ac_exec_ext in '' $ac_executable_extensions; do
   2258 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2259 	  if test $ac_prog = install &&
   2260 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2261 	    # AIX install.  It has an incompatible calling convention.
   2262 	    :
   2263 	  elif test $ac_prog = install &&
   2264 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2265 	    # program-specific install script used by HP pwplus--don't use.
   2266 	    :
   2267 	  else
   2268 	    rm -rf conftest.one conftest.two conftest.dir
   2269 	    echo one > conftest.one
   2270 	    echo two > conftest.two
   2271 	    mkdir conftest.dir
   2272 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2273 	      test -s conftest.one && test -s conftest.two &&
   2274 	      test -s conftest.dir/conftest.one &&
   2275 	      test -s conftest.dir/conftest.two
   2276 	    then
   2277 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2278 	      break 3
   2279 	    fi
   2280 	  fi
   2281 	fi
   2282       done
   2283     done
   2284     ;;
   2285 esac
   2286 
   2287   done
   2288 IFS=$as_save_IFS
   2289 
   2290 rm -rf conftest.one conftest.two conftest.dir
   2291 
   2292 fi
   2293   if test "${ac_cv_path_install+set}" = set; then
   2294     INSTALL=$ac_cv_path_install
   2295   else
   2296     # As a last resort, use the slow shell script.  Don't cache a
   2297     # value for INSTALL within a source directory, because that will
   2298     # break other packages using the cache if that directory is
   2299     # removed, or if the value is a relative name.
   2300     INSTALL=$ac_install_sh
   2301   fi
   2302 fi
   2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2304 $as_echo "$INSTALL" >&6; }
   2305 
   2306 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2307 # It thinks the first close brace ends the variable substitution.
   2308 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2309 
   2310 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2311 
   2312 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2313 
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2315 $as_echo_n "checking whether build environment is sane... " >&6; }
   2316 # Just in case
   2317 sleep 1
   2318 echo timestamp > conftest.file
   2319 # Reject unsafe characters in $srcdir or the absolute working directory
   2320 # name.  Accept space and tab only in the latter.
   2321 am_lf='
   2322 '
   2323 case `pwd` in
   2324   *[\\\"\#\$\&\'\`$am_lf]*)
   2325     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2326 esac
   2327 case $srcdir in
   2328   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2329     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2330 esac
   2331 
   2332 # Do `set' in a subshell so we don't clobber the current shell's
   2333 # arguments.  Must try -L first in case configure is actually a
   2334 # symlink; some systems play weird games with the mod time of symlinks
   2335 # (eg FreeBSD returns the mod time of the symlink's containing
   2336 # directory).
   2337 if (
   2338    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2339    if test "$*" = "X"; then
   2340       # -L didn't work.
   2341       set X `ls -t "$srcdir/configure" conftest.file`
   2342    fi
   2343    rm -f conftest.file
   2344    if test "$*" != "X $srcdir/configure conftest.file" \
   2345       && test "$*" != "X conftest.file $srcdir/configure"; then
   2346 
   2347       # If neither matched, then we have a broken ls.  This can happen
   2348       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2349       # broken ls alias from the environment.  This has actually
   2350       # happened.  Such a system could not be considered "sane".
   2351       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2352 alias in your environment" "$LINENO" 5
   2353    fi
   2354 
   2355    test "$2" = conftest.file
   2356    )
   2357 then
   2358    # Ok.
   2359    :
   2360 else
   2361    as_fn_error $? "newly created file is older than distributed files!
   2362 Check your system clock" "$LINENO" 5
   2363 fi
   2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2365 $as_echo "yes" >&6; }
   2366 test "$program_prefix" != NONE &&
   2367   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2368 # Use a double $ so make ignores it.
   2369 test "$program_suffix" != NONE &&
   2370   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2371 # Double any \ or $.
   2372 # By default was `s,x,x', remove it if useless.
   2373 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2374 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2375 
   2376 # expand $ac_aux_dir to an absolute path
   2377 am_aux_dir=`cd $ac_aux_dir && pwd`
   2378 
   2379 if test x"${MISSING+set}" != xset; then
   2380   case $am_aux_dir in
   2381   *\ * | *\	*)
   2382     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2383   *)
   2384     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2385   esac
   2386 fi
   2387 # Use eval to expand $SHELL
   2388 if eval "$MISSING --run true"; then
   2389   am_missing_run="$MISSING --run "
   2390 else
   2391   am_missing_run=
   2392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2393 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2394 fi
   2395 
   2396 if test x"${install_sh}" != xset; then
   2397   case $am_aux_dir in
   2398   *\ * | *\	*)
   2399     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2400   *)
   2401     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2402   esac
   2403 fi
   2404 
   2405 # Installed binaries are usually stripped using `strip' when the user
   2406 # run `make install-strip'.  However `strip' might not be the right
   2407 # tool to use in cross-compilation environments, therefore Automake
   2408 # will honor the `STRIP' environment variable to overrule this program.
   2409 if test "$cross_compiling" != no; then
   2410   if test -n "$ac_tool_prefix"; then
   2411   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2412 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2414 $as_echo_n "checking for $ac_word... " >&6; }
   2415 if ${ac_cv_prog_STRIP+:} false; then :
   2416   $as_echo_n "(cached) " >&6
   2417 else
   2418   if test -n "$STRIP"; then
   2419   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2420 else
   2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2422 for as_dir in $PATH
   2423 do
   2424   IFS=$as_save_IFS
   2425   test -z "$as_dir" && as_dir=.
   2426     for ac_exec_ext in '' $ac_executable_extensions; do
   2427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2428     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2430     break 2
   2431   fi
   2432 done
   2433   done
   2434 IFS=$as_save_IFS
   2435 
   2436 fi
   2437 fi
   2438 STRIP=$ac_cv_prog_STRIP
   2439 if test -n "$STRIP"; then
   2440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2441 $as_echo "$STRIP" >&6; }
   2442 else
   2443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2444 $as_echo "no" >&6; }
   2445 fi
   2446 
   2447 
   2448 fi
   2449 if test -z "$ac_cv_prog_STRIP"; then
   2450   ac_ct_STRIP=$STRIP
   2451   # Extract the first word of "strip", so it can be a program name with args.
   2452 set dummy strip; ac_word=$2
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2454 $as_echo_n "checking for $ac_word... " >&6; }
   2455 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2456   $as_echo_n "(cached) " >&6
   2457 else
   2458   if test -n "$ac_ct_STRIP"; then
   2459   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2460 else
   2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2462 for as_dir in $PATH
   2463 do
   2464   IFS=$as_save_IFS
   2465   test -z "$as_dir" && as_dir=.
   2466     for ac_exec_ext in '' $ac_executable_extensions; do
   2467   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2468     ac_cv_prog_ac_ct_STRIP="strip"
   2469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2470     break 2
   2471   fi
   2472 done
   2473   done
   2474 IFS=$as_save_IFS
   2475 
   2476 fi
   2477 fi
   2478 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2479 if test -n "$ac_ct_STRIP"; then
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2481 $as_echo "$ac_ct_STRIP" >&6; }
   2482 else
   2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2484 $as_echo "no" >&6; }
   2485 fi
   2486 
   2487   if test "x$ac_ct_STRIP" = x; then
   2488     STRIP=":"
   2489   else
   2490     case $cross_compiling:$ac_tool_warned in
   2491 yes:)
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2494 ac_tool_warned=yes ;;
   2495 esac
   2496     STRIP=$ac_ct_STRIP
   2497   fi
   2498 else
   2499   STRIP="$ac_cv_prog_STRIP"
   2500 fi
   2501 
   2502 fi
   2503 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2504 
   2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2506 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2507 if test -z "$MKDIR_P"; then
   2508   if ${ac_cv_path_mkdir+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     for ac_prog in mkdir gmkdir; do
   2517 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2518 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2519 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2520 	     'mkdir (GNU coreutils) '* | \
   2521 	     'mkdir (coreutils) '* | \
   2522 	     'mkdir (fileutils) '4.1*)
   2523 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2524 	       break 3;;
   2525 	   esac
   2526 	 done
   2527        done
   2528   done
   2529 IFS=$as_save_IFS
   2530 
   2531 fi
   2532 
   2533   test -d ./--version && rmdir ./--version
   2534   if test "${ac_cv_path_mkdir+set}" = set; then
   2535     MKDIR_P="$ac_cv_path_mkdir -p"
   2536   else
   2537     # As a last resort, use the slow shell script.  Don't cache a
   2538     # value for MKDIR_P within a source directory, because that will
   2539     # break other packages using the cache if that directory is
   2540     # removed, or if the value is a relative name.
   2541     MKDIR_P="$ac_install_sh -d"
   2542   fi
   2543 fi
   2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2545 $as_echo "$MKDIR_P" >&6; }
   2546 
   2547 mkdir_p="$MKDIR_P"
   2548 case $mkdir_p in
   2549   [\\/$]* | ?:[\\/]*) ;;
   2550   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2551 esac
   2552 
   2553 for ac_prog in gawk mawk nawk awk
   2554 do
   2555   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2556 set dummy $ac_prog; ac_word=$2
   2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2558 $as_echo_n "checking for $ac_word... " >&6; }
   2559 if ${ac_cv_prog_AWK+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   if test -n "$AWK"; then
   2563   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2564 else
   2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2566 for as_dir in $PATH
   2567 do
   2568   IFS=$as_save_IFS
   2569   test -z "$as_dir" && as_dir=.
   2570     for ac_exec_ext in '' $ac_executable_extensions; do
   2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2572     ac_cv_prog_AWK="$ac_prog"
   2573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2574     break 2
   2575   fi
   2576 done
   2577   done
   2578 IFS=$as_save_IFS
   2579 
   2580 fi
   2581 fi
   2582 AWK=$ac_cv_prog_AWK
   2583 if test -n "$AWK"; then
   2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2585 $as_echo "$AWK" >&6; }
   2586 else
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2588 $as_echo "no" >&6; }
   2589 fi
   2590 
   2591 
   2592   test -n "$AWK" && break
   2593 done
   2594 
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2597 set x ${MAKE-make}
   2598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2599 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2600   $as_echo_n "(cached) " >&6
   2601 else
   2602   cat >conftest.make <<\_ACEOF
   2603 SHELL = /bin/sh
   2604 all:
   2605 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2606 _ACEOF
   2607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2609   *@@@%%%=?*=@@@%%%*)
   2610     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2611   *)
   2612     eval ac_cv_prog_make_${ac_make}_set=no;;
   2613 esac
   2614 rm -f conftest.make
   2615 fi
   2616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2618 $as_echo "yes" >&6; }
   2619   SET_MAKE=
   2620 else
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2622 $as_echo "no" >&6; }
   2623   SET_MAKE="MAKE=${MAKE-make}"
   2624 fi
   2625 
   2626 rm -rf .tst 2>/dev/null
   2627 mkdir .tst 2>/dev/null
   2628 if test -d .tst; then
   2629   am__leading_dot=.
   2630 else
   2631   am__leading_dot=_
   2632 fi
   2633 rmdir .tst 2>/dev/null
   2634 
   2635 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2636   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2637   # is not polluted with repeated "-I."
   2638   am__isrc=' -I$(srcdir)'
   2639   # test to see if srcdir already configured
   2640   if test -f $srcdir/config.status; then
   2641     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2642   fi
   2643 fi
   2644 
   2645 # test whether we have cygpath
   2646 if test -z "$CYGPATH_W"; then
   2647   if (cygpath --version) >/dev/null 2>/dev/null; then
   2648     CYGPATH_W='cygpath -w'
   2649   else
   2650     CYGPATH_W=echo
   2651   fi
   2652 fi
   2653 
   2654 
   2655 # Define the identity of the package.
   2656  PACKAGE='libXcursor'
   2657  VERSION='1.1.11'
   2658 
   2659 
   2660 cat >>confdefs.h <<_ACEOF
   2661 #define PACKAGE "$PACKAGE"
   2662 _ACEOF
   2663 
   2664 
   2665 cat >>confdefs.h <<_ACEOF
   2666 #define VERSION "$VERSION"
   2667 _ACEOF
   2668 
   2669 # Some tools Automake needs.
   2670 
   2671 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2672 
   2673 
   2674 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2675 
   2676 
   2677 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2678 
   2679 
   2680 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2681 
   2682 
   2683 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2684 
   2685 # We need awk for the "check" target.  The system "awk" is bad on
   2686 # some platforms.
   2687 # Always define AMTAR for backward compatibility.
   2688 
   2689 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2690 
   2691 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2692 
   2693 
   2694 
   2695 
   2696 
   2697 
   2698 
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2700 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2701     # Check whether --enable-maintainer-mode was given.
   2702 if test "${enable_maintainer_mode+set}" = set; then :
   2703   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2704 else
   2705   USE_MAINTAINER_MODE=no
   2706 fi
   2707 
   2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2709 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2710    if test $USE_MAINTAINER_MODE = yes; then
   2711   MAINTAINER_MODE_TRUE=
   2712   MAINTAINER_MODE_FALSE='#'
   2713 else
   2714   MAINTAINER_MODE_TRUE='#'
   2715   MAINTAINER_MODE_FALSE=
   2716 fi
   2717 
   2718   MAINT=$MAINTAINER_MODE_TRUE
   2719 
   2720 
   2721 ac_config_headers="$ac_config_headers config.h"
   2722 
   2723 
   2724 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2725 
   2726 
   2727 
   2728 
   2729 
   2730 
   2731 
   2732 
   2733 
   2734 
   2735 
   2736 DEPDIR="${am__leading_dot}deps"
   2737 
   2738 ac_config_commands="$ac_config_commands depfiles"
   2739 
   2740 
   2741 am_make=${MAKE-make}
   2742 cat > confinc << 'END'
   2743 am__doit:
   2744 	@echo this is the am__doit target
   2745 .PHONY: am__doit
   2746 END
   2747 # If we don't find an include directive, just comment out the code.
   2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2749 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2750 am__include="#"
   2751 am__quote=
   2752 _am_result=none
   2753 # First try GNU make style include.
   2754 echo "include confinc" > confmf
   2755 # Ignore all kinds of additional output from `make'.
   2756 case `$am_make -s -f confmf 2> /dev/null` in #(
   2757 *the\ am__doit\ target*)
   2758   am__include=include
   2759   am__quote=
   2760   _am_result=GNU
   2761   ;;
   2762 esac
   2763 # Now try BSD make style include.
   2764 if test "$am__include" = "#"; then
   2765    echo '.include "confinc"' > confmf
   2766    case `$am_make -s -f confmf 2> /dev/null` in #(
   2767    *the\ am__doit\ target*)
   2768      am__include=.include
   2769      am__quote="\""
   2770      _am_result=BSD
   2771      ;;
   2772    esac
   2773 fi
   2774 
   2775 
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2777 $as_echo "$_am_result" >&6; }
   2778 rm -f confinc confmf
   2779 
   2780 # Check whether --enable-dependency-tracking was given.
   2781 if test "${enable_dependency_tracking+set}" = set; then :
   2782   enableval=$enable_dependency_tracking;
   2783 fi
   2784 
   2785 if test "x$enable_dependency_tracking" != xno; then
   2786   am_depcomp="$ac_aux_dir/depcomp"
   2787   AMDEPBACKSLASH='\'
   2788 fi
   2789  if test "x$enable_dependency_tracking" != xno; then
   2790   AMDEP_TRUE=
   2791   AMDEP_FALSE='#'
   2792 else
   2793   AMDEP_TRUE='#'
   2794   AMDEP_FALSE=
   2795 fi
   2796 
   2797 
   2798 ac_ext=c
   2799 ac_cpp='$CPP $CPPFLAGS'
   2800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2803 if test -n "$ac_tool_prefix"; then
   2804   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2805 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2807 $as_echo_n "checking for $ac_word... " >&6; }
   2808 if ${ac_cv_prog_CC+:} false; then :
   2809   $as_echo_n "(cached) " >&6
   2810 else
   2811   if test -n "$CC"; then
   2812   ac_cv_prog_CC="$CC" # Let the user override the test.
   2813 else
   2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2815 for as_dir in $PATH
   2816 do
   2817   IFS=$as_save_IFS
   2818   test -z "$as_dir" && as_dir=.
   2819     for ac_exec_ext in '' $ac_executable_extensions; do
   2820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2821     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2823     break 2
   2824   fi
   2825 done
   2826   done
   2827 IFS=$as_save_IFS
   2828 
   2829 fi
   2830 fi
   2831 CC=$ac_cv_prog_CC
   2832 if test -n "$CC"; then
   2833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2834 $as_echo "$CC" >&6; }
   2835 else
   2836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2837 $as_echo "no" >&6; }
   2838 fi
   2839 
   2840 
   2841 fi
   2842 if test -z "$ac_cv_prog_CC"; then
   2843   ac_ct_CC=$CC
   2844   # Extract the first word of "gcc", so it can be a program name with args.
   2845 set dummy gcc; ac_word=$2
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2847 $as_echo_n "checking for $ac_word... " >&6; }
   2848 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2849   $as_echo_n "(cached) " >&6
   2850 else
   2851   if test -n "$ac_ct_CC"; then
   2852   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2853 else
   2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2855 for as_dir in $PATH
   2856 do
   2857   IFS=$as_save_IFS
   2858   test -z "$as_dir" && as_dir=.
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2861     ac_cv_prog_ac_ct_CC="gcc"
   2862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi
   2870 fi
   2871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2872 if test -n "$ac_ct_CC"; then
   2873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2874 $as_echo "$ac_ct_CC" >&6; }
   2875 else
   2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2877 $as_echo "no" >&6; }
   2878 fi
   2879 
   2880   if test "x$ac_ct_CC" = x; then
   2881     CC=""
   2882   else
   2883     case $cross_compiling:$ac_tool_warned in
   2884 yes:)
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2887 ac_tool_warned=yes ;;
   2888 esac
   2889     CC=$ac_ct_CC
   2890   fi
   2891 else
   2892   CC="$ac_cv_prog_CC"
   2893 fi
   2894 
   2895 if test -z "$CC"; then
   2896           if test -n "$ac_tool_prefix"; then
   2897     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2898 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2900 $as_echo_n "checking for $ac_word... " >&6; }
   2901 if ${ac_cv_prog_CC+:} false; then :
   2902   $as_echo_n "(cached) " >&6
   2903 else
   2904   if test -n "$CC"; then
   2905   ac_cv_prog_CC="$CC" # Let the user override the test.
   2906 else
   2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2908 for as_dir in $PATH
   2909 do
   2910   IFS=$as_save_IFS
   2911   test -z "$as_dir" && as_dir=.
   2912     for ac_exec_ext in '' $ac_executable_extensions; do
   2913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2914     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2916     break 2
   2917   fi
   2918 done
   2919   done
   2920 IFS=$as_save_IFS
   2921 
   2922 fi
   2923 fi
   2924 CC=$ac_cv_prog_CC
   2925 if test -n "$CC"; then
   2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2927 $as_echo "$CC" >&6; }
   2928 else
   2929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2930 $as_echo "no" >&6; }
   2931 fi
   2932 
   2933 
   2934   fi
   2935 fi
   2936 if test -z "$CC"; then
   2937   # Extract the first word of "cc", so it can be a program name with args.
   2938 set dummy cc; ac_word=$2
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2940 $as_echo_n "checking for $ac_word... " >&6; }
   2941 if ${ac_cv_prog_CC+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   if test -n "$CC"; then
   2945   ac_cv_prog_CC="$CC" # Let the user override the test.
   2946 else
   2947   ac_prog_rejected=no
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2956        ac_prog_rejected=yes
   2957        continue
   2958      fi
   2959     ac_cv_prog_CC="cc"
   2960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2961     break 2
   2962   fi
   2963 done
   2964   done
   2965 IFS=$as_save_IFS
   2966 
   2967 if test $ac_prog_rejected = yes; then
   2968   # We found a bogon in the path, so make sure we never use it.
   2969   set dummy $ac_cv_prog_CC
   2970   shift
   2971   if test $# != 0; then
   2972     # We chose a different compiler from the bogus one.
   2973     # However, it has the same basename, so the bogon will be chosen
   2974     # first if we set CC to just the basename; use the full file name.
   2975     shift
   2976     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2977   fi
   2978 fi
   2979 fi
   2980 fi
   2981 CC=$ac_cv_prog_CC
   2982 if test -n "$CC"; then
   2983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2984 $as_echo "$CC" >&6; }
   2985 else
   2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 $as_echo "no" >&6; }
   2988 fi
   2989 
   2990 
   2991 fi
   2992 if test -z "$CC"; then
   2993   if test -n "$ac_tool_prefix"; then
   2994   for ac_prog in cl.exe
   2995   do
   2996     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2999 $as_echo_n "checking for $ac_word... " >&6; }
   3000 if ${ac_cv_prog_CC+:} false; then :
   3001   $as_echo_n "(cached) " >&6
   3002 else
   3003   if test -n "$CC"; then
   3004   ac_cv_prog_CC="$CC" # Let the user override the test.
   3005 else
   3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3007 for as_dir in $PATH
   3008 do
   3009   IFS=$as_save_IFS
   3010   test -z "$as_dir" && as_dir=.
   3011     for ac_exec_ext in '' $ac_executable_extensions; do
   3012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3013     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3015     break 2
   3016   fi
   3017 done
   3018   done
   3019 IFS=$as_save_IFS
   3020 
   3021 fi
   3022 fi
   3023 CC=$ac_cv_prog_CC
   3024 if test -n "$CC"; then
   3025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3026 $as_echo "$CC" >&6; }
   3027 else
   3028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3029 $as_echo "no" >&6; }
   3030 fi
   3031 
   3032 
   3033     test -n "$CC" && break
   3034   done
   3035 fi
   3036 if test -z "$CC"; then
   3037   ac_ct_CC=$CC
   3038   for ac_prog in cl.exe
   3039 do
   3040   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3041 set dummy $ac_prog; ac_word=$2
   3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3043 $as_echo_n "checking for $ac_word... " >&6; }
   3044 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3045   $as_echo_n "(cached) " >&6
   3046 else
   3047   if test -n "$ac_ct_CC"; then
   3048   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3049 else
   3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3051 for as_dir in $PATH
   3052 do
   3053   IFS=$as_save_IFS
   3054   test -z "$as_dir" && as_dir=.
   3055     for ac_exec_ext in '' $ac_executable_extensions; do
   3056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3057     ac_cv_prog_ac_ct_CC="$ac_prog"
   3058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3059     break 2
   3060   fi
   3061 done
   3062   done
   3063 IFS=$as_save_IFS
   3064 
   3065 fi
   3066 fi
   3067 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3068 if test -n "$ac_ct_CC"; then
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3070 $as_echo "$ac_ct_CC" >&6; }
   3071 else
   3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3073 $as_echo "no" >&6; }
   3074 fi
   3075 
   3076 
   3077   test -n "$ac_ct_CC" && break
   3078 done
   3079 
   3080   if test "x$ac_ct_CC" = x; then
   3081     CC=""
   3082   else
   3083     case $cross_compiling:$ac_tool_warned in
   3084 yes:)
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3087 ac_tool_warned=yes ;;
   3088 esac
   3089     CC=$ac_ct_CC
   3090   fi
   3091 fi
   3092 
   3093 fi
   3094 
   3095 
   3096 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3098 as_fn_error $? "no acceptable C compiler found in \$PATH
   3099 See \`config.log' for more details" "$LINENO" 5; }
   3100 
   3101 # Provide some information about the compiler.
   3102 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3103 set X $ac_compile
   3104 ac_compiler=$2
   3105 for ac_option in --version -v -V -qversion; do
   3106   { { ac_try="$ac_compiler $ac_option >&5"
   3107 case "(($ac_try" in
   3108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3109   *) ac_try_echo=$ac_try;;
   3110 esac
   3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3112 $as_echo "$ac_try_echo"; } >&5
   3113   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3114   ac_status=$?
   3115   if test -s conftest.err; then
   3116     sed '10a\
   3117 ... rest of stderr output deleted ...
   3118          10q' conftest.err >conftest.er1
   3119     cat conftest.er1 >&5
   3120   fi
   3121   rm -f conftest.er1 conftest.err
   3122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3123   test $ac_status = 0; }
   3124 done
   3125 
   3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3127 /* end confdefs.h.  */
   3128 
   3129 int
   3130 main ()
   3131 {
   3132 
   3133   ;
   3134   return 0;
   3135 }
   3136 _ACEOF
   3137 ac_clean_files_save=$ac_clean_files
   3138 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3139 # Try to create an executable without -o first, disregard a.out.
   3140 # It will help us diagnose broken compilers, and finding out an intuition
   3141 # of exeext.
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3143 $as_echo_n "checking whether the C compiler works... " >&6; }
   3144 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3145 
   3146 # The possible output files:
   3147 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3148 
   3149 ac_rmfiles=
   3150 for ac_file in $ac_files
   3151 do
   3152   case $ac_file in
   3153     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3154     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3155   esac
   3156 done
   3157 rm -f $ac_rmfiles
   3158 
   3159 if { { ac_try="$ac_link_default"
   3160 case "(($ac_try" in
   3161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3162   *) ac_try_echo=$ac_try;;
   3163 esac
   3164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3165 $as_echo "$ac_try_echo"; } >&5
   3166   (eval "$ac_link_default") 2>&5
   3167   ac_status=$?
   3168   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3169   test $ac_status = 0; }; then :
   3170   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3171 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3172 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3173 # so that the user can short-circuit this test for compilers unknown to
   3174 # Autoconf.
   3175 for ac_file in $ac_files ''
   3176 do
   3177   test -f "$ac_file" || continue
   3178   case $ac_file in
   3179     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3180 	;;
   3181     [ab].out )
   3182 	# We found the default executable, but exeext='' is most
   3183 	# certainly right.
   3184 	break;;
   3185     *.* )
   3186 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3187 	then :; else
   3188 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3189 	fi
   3190 	# We set ac_cv_exeext here because the later test for it is not
   3191 	# safe: cross compilers may not add the suffix if given an `-o'
   3192 	# argument, so we may need to know it at that point already.
   3193 	# Even if this section looks crufty: it has the advantage of
   3194 	# actually working.
   3195 	break;;
   3196     * )
   3197 	break;;
   3198   esac
   3199 done
   3200 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3201 
   3202 else
   3203   ac_file=''
   3204 fi
   3205 if test -z "$ac_file"; then :
   3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3207 $as_echo "no" >&6; }
   3208 $as_echo "$as_me: failed program was:" >&5
   3209 sed 's/^/| /' conftest.$ac_ext >&5
   3210 
   3211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3213 as_fn_error 77 "C compiler cannot create executables
   3214 See \`config.log' for more details" "$LINENO" 5; }
   3215 else
   3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3217 $as_echo "yes" >&6; }
   3218 fi
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3220 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3222 $as_echo "$ac_file" >&6; }
   3223 ac_exeext=$ac_cv_exeext
   3224 
   3225 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3226 ac_clean_files=$ac_clean_files_save
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3228 $as_echo_n "checking for suffix of executables... " >&6; }
   3229 if { { ac_try="$ac_link"
   3230 case "(($ac_try" in
   3231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3232   *) ac_try_echo=$ac_try;;
   3233 esac
   3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3235 $as_echo "$ac_try_echo"; } >&5
   3236   (eval "$ac_link") 2>&5
   3237   ac_status=$?
   3238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3239   test $ac_status = 0; }; then :
   3240   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3241 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3242 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3243 # `rm'.
   3244 for ac_file in conftest.exe conftest conftest.*; do
   3245   test -f "$ac_file" || continue
   3246   case $ac_file in
   3247     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3248     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3249 	  break;;
   3250     * ) break;;
   3251   esac
   3252 done
   3253 else
   3254   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3256 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3257 See \`config.log' for more details" "$LINENO" 5; }
   3258 fi
   3259 rm -f conftest conftest$ac_cv_exeext
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3261 $as_echo "$ac_cv_exeext" >&6; }
   3262 
   3263 rm -f conftest.$ac_ext
   3264 EXEEXT=$ac_cv_exeext
   3265 ac_exeext=$EXEEXT
   3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3267 /* end confdefs.h.  */
   3268 #include <stdio.h>
   3269 int
   3270 main ()
   3271 {
   3272 FILE *f = fopen ("conftest.out", "w");
   3273  return ferror (f) || fclose (f) != 0;
   3274 
   3275   ;
   3276   return 0;
   3277 }
   3278 _ACEOF
   3279 ac_clean_files="$ac_clean_files conftest.out"
   3280 # Check that the compiler produces executables we can run.  If not, either
   3281 # the compiler is broken, or we cross compile.
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3283 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3284 if test "$cross_compiling" != yes; then
   3285   { { ac_try="$ac_link"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_link") 2>&5
   3293   ac_status=$?
   3294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3295   test $ac_status = 0; }
   3296   if { ac_try='./conftest$ac_cv_exeext'
   3297   { { case "(($ac_try" in
   3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3299   *) ac_try_echo=$ac_try;;
   3300 esac
   3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3302 $as_echo "$ac_try_echo"; } >&5
   3303   (eval "$ac_try") 2>&5
   3304   ac_status=$?
   3305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3306   test $ac_status = 0; }; }; then
   3307     cross_compiling=no
   3308   else
   3309     if test "$cross_compiling" = maybe; then
   3310 	cross_compiling=yes
   3311     else
   3312 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3314 as_fn_error $? "cannot run C compiled programs.
   3315 If you meant to cross compile, use \`--host'.
   3316 See \`config.log' for more details" "$LINENO" 5; }
   3317     fi
   3318   fi
   3319 fi
   3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3321 $as_echo "$cross_compiling" >&6; }
   3322 
   3323 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3324 ac_clean_files=$ac_clean_files_save
   3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3326 $as_echo_n "checking for suffix of object files... " >&6; }
   3327 if ${ac_cv_objext+:} false; then :
   3328   $as_echo_n "(cached) " >&6
   3329 else
   3330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3331 /* end confdefs.h.  */
   3332 
   3333 int
   3334 main ()
   3335 {
   3336 
   3337   ;
   3338   return 0;
   3339 }
   3340 _ACEOF
   3341 rm -f conftest.o conftest.obj
   3342 if { { ac_try="$ac_compile"
   3343 case "(($ac_try" in
   3344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3345   *) ac_try_echo=$ac_try;;
   3346 esac
   3347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3348 $as_echo "$ac_try_echo"; } >&5
   3349   (eval "$ac_compile") 2>&5
   3350   ac_status=$?
   3351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3352   test $ac_status = 0; }; then :
   3353   for ac_file in conftest.o conftest.obj conftest.*; do
   3354   test -f "$ac_file" || continue;
   3355   case $ac_file in
   3356     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3357     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3358        break;;
   3359   esac
   3360 done
   3361 else
   3362   $as_echo "$as_me: failed program was:" >&5
   3363 sed 's/^/| /' conftest.$ac_ext >&5
   3364 
   3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3367 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3368 See \`config.log' for more details" "$LINENO" 5; }
   3369 fi
   3370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3371 fi
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3373 $as_echo "$ac_cv_objext" >&6; }
   3374 OBJEXT=$ac_cv_objext
   3375 ac_objext=$OBJEXT
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3377 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3378 if ${ac_cv_c_compiler_gnu+:} false; then :
   3379   $as_echo_n "(cached) " >&6
   3380 else
   3381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3382 /* end confdefs.h.  */
   3383 
   3384 int
   3385 main ()
   3386 {
   3387 #ifndef __GNUC__
   3388        choke me
   3389 #endif
   3390 
   3391   ;
   3392   return 0;
   3393 }
   3394 _ACEOF
   3395 if ac_fn_c_try_compile "$LINENO"; then :
   3396   ac_compiler_gnu=yes
   3397 else
   3398   ac_compiler_gnu=no
   3399 fi
   3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3401 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3402 
   3403 fi
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3405 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3406 if test $ac_compiler_gnu = yes; then
   3407   GCC=yes
   3408 else
   3409   GCC=
   3410 fi
   3411 ac_test_CFLAGS=${CFLAGS+set}
   3412 ac_save_CFLAGS=$CFLAGS
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3414 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3415 if ${ac_cv_prog_cc_g+:} false; then :
   3416   $as_echo_n "(cached) " >&6
   3417 else
   3418   ac_save_c_werror_flag=$ac_c_werror_flag
   3419    ac_c_werror_flag=yes
   3420    ac_cv_prog_cc_g=no
   3421    CFLAGS="-g"
   3422    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3423 /* end confdefs.h.  */
   3424 
   3425 int
   3426 main ()
   3427 {
   3428 
   3429   ;
   3430   return 0;
   3431 }
   3432 _ACEOF
   3433 if ac_fn_c_try_compile "$LINENO"; then :
   3434   ac_cv_prog_cc_g=yes
   3435 else
   3436   CFLAGS=""
   3437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 
   3440 int
   3441 main ()
   3442 {
   3443 
   3444   ;
   3445   return 0;
   3446 }
   3447 _ACEOF
   3448 if ac_fn_c_try_compile "$LINENO"; then :
   3449 
   3450 else
   3451   ac_c_werror_flag=$ac_save_c_werror_flag
   3452 	 CFLAGS="-g"
   3453 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 if ac_fn_c_try_compile "$LINENO"; then :
   3465   ac_cv_prog_cc_g=yes
   3466 fi
   3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3468 fi
   3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3470 fi
   3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3472    ac_c_werror_flag=$ac_save_c_werror_flag
   3473 fi
   3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3475 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3476 if test "$ac_test_CFLAGS" = set; then
   3477   CFLAGS=$ac_save_CFLAGS
   3478 elif test $ac_cv_prog_cc_g = yes; then
   3479   if test "$GCC" = yes; then
   3480     CFLAGS="-g -O2"
   3481   else
   3482     CFLAGS="-g"
   3483   fi
   3484 else
   3485   if test "$GCC" = yes; then
   3486     CFLAGS="-O2"
   3487   else
   3488     CFLAGS=
   3489   fi
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3492 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3493 if ${ac_cv_prog_cc_c89+:} false; then :
   3494   $as_echo_n "(cached) " >&6
   3495 else
   3496   ac_cv_prog_cc_c89=no
   3497 ac_save_CC=$CC
   3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3499 /* end confdefs.h.  */
   3500 #include <stdarg.h>
   3501 #include <stdio.h>
   3502 #include <sys/types.h>
   3503 #include <sys/stat.h>
   3504 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3505 struct buf { int x; };
   3506 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3507 static char *e (p, i)
   3508      char **p;
   3509      int i;
   3510 {
   3511   return p[i];
   3512 }
   3513 static char *f (char * (*g) (char **, int), char **p, ...)
   3514 {
   3515   char *s;
   3516   va_list v;
   3517   va_start (v,p);
   3518   s = g (p, va_arg (v,int));
   3519   va_end (v);
   3520   return s;
   3521 }
   3522 
   3523 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3524    function prototypes and stuff, but not '\xHH' hex character constants.
   3525    These don't provoke an error unfortunately, instead are silently treated
   3526    as 'x'.  The following induces an error, until -std is added to get
   3527    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3528    array size at least.  It's necessary to write '\x00'==0 to get something
   3529    that's true only with -std.  */
   3530 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3531 
   3532 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3533    inside strings and character constants.  */
   3534 #define FOO(x) 'x'
   3535 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3536 
   3537 int test (int i, double x);
   3538 struct s1 {int (*f) (int a);};
   3539 struct s2 {int (*f) (double a);};
   3540 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3541 int argc;
   3542 char **argv;
   3543 int
   3544 main ()
   3545 {
   3546 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3552 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3553 do
   3554   CC="$ac_save_CC $ac_arg"
   3555   if ac_fn_c_try_compile "$LINENO"; then :
   3556   ac_cv_prog_cc_c89=$ac_arg
   3557 fi
   3558 rm -f core conftest.err conftest.$ac_objext
   3559   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3560 done
   3561 rm -f conftest.$ac_ext
   3562 CC=$ac_save_CC
   3563 
   3564 fi
   3565 # AC_CACHE_VAL
   3566 case "x$ac_cv_prog_cc_c89" in
   3567   x)
   3568     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3569 $as_echo "none needed" >&6; } ;;
   3570   xno)
   3571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3572 $as_echo "unsupported" >&6; } ;;
   3573   *)
   3574     CC="$CC $ac_cv_prog_cc_c89"
   3575     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3576 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3577 esac
   3578 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3579 
   3580 fi
   3581 
   3582 ac_ext=c
   3583 ac_cpp='$CPP $CPPFLAGS'
   3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3587 
   3588 depcc="$CC"   am_compiler_list=
   3589 
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3591 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3592 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3593   $as_echo_n "(cached) " >&6
   3594 else
   3595   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3596   # We make a subdir and do the tests there.  Otherwise we can end up
   3597   # making bogus files that we don't know about and never remove.  For
   3598   # instance it was reported that on HP-UX the gcc test will end up
   3599   # making a dummy file named `D' -- because `-MD' means `put the output
   3600   # in D'.
   3601   mkdir conftest.dir
   3602   # Copy depcomp to subdir because otherwise we won't find it if we're
   3603   # using a relative directory.
   3604   cp "$am_depcomp" conftest.dir
   3605   cd conftest.dir
   3606   # We will build objects and dependencies in a subdirectory because
   3607   # it helps to detect inapplicable dependency modes.  For instance
   3608   # both Tru64's cc and ICC support -MD to output dependencies as a
   3609   # side effect of compilation, but ICC will put the dependencies in
   3610   # the current directory while Tru64 will put them in the object
   3611   # directory.
   3612   mkdir sub
   3613 
   3614   am_cv_CC_dependencies_compiler_type=none
   3615   if test "$am_compiler_list" = ""; then
   3616      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3617   fi
   3618   am__universal=false
   3619   case " $depcc " in #(
   3620      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3621      esac
   3622 
   3623   for depmode in $am_compiler_list; do
   3624     # Setup a source with many dependencies, because some compilers
   3625     # like to wrap large dependency lists on column 80 (with \), and
   3626     # we should not choose a depcomp mode which is confused by this.
   3627     #
   3628     # We need to recreate these files for each test, as the compiler may
   3629     # overwrite some of them when testing with obscure command lines.
   3630     # This happens at least with the AIX C compiler.
   3631     : > sub/conftest.c
   3632     for i in 1 2 3 4 5 6; do
   3633       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3634       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3635       # Solaris 8's {/usr,}/bin/sh.
   3636       touch sub/conftst$i.h
   3637     done
   3638     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3639 
   3640     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3641     # mode.  It turns out that the SunPro C++ compiler does not properly
   3642     # handle `-M -o', and we need to detect this.  Also, some Intel
   3643     # versions had trouble with output in subdirs
   3644     am__obj=sub/conftest.${OBJEXT-o}
   3645     am__minus_obj="-o $am__obj"
   3646     case $depmode in
   3647     gcc)
   3648       # This depmode causes a compiler race in universal mode.
   3649       test "$am__universal" = false || continue
   3650       ;;
   3651     nosideeffect)
   3652       # after this tag, mechanisms are not by side-effect, so they'll
   3653       # only be used when explicitly requested
   3654       if test "x$enable_dependency_tracking" = xyes; then
   3655 	continue
   3656       else
   3657 	break
   3658       fi
   3659       ;;
   3660     msvisualcpp | msvcmsys)
   3661       # This compiler won't grok `-c -o', but also, the minuso test has
   3662       # not run yet.  These depmodes are late enough in the game, and
   3663       # so weak that their functioning should not be impacted.
   3664       am__obj=conftest.${OBJEXT-o}
   3665       am__minus_obj=
   3666       ;;
   3667     none) break ;;
   3668     esac
   3669     if depmode=$depmode \
   3670        source=sub/conftest.c object=$am__obj \
   3671        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3672        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3673          >/dev/null 2>conftest.err &&
   3674        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3675        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3676        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3677        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3678       # icc doesn't choke on unknown options, it will just issue warnings
   3679       # or remarks (even with -Werror).  So we grep stderr for any message
   3680       # that says an option was ignored or not supported.
   3681       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3682       #   icc: Command line warning: ignoring option '-M'; no argument required
   3683       # The diagnosis changed in icc 8.0:
   3684       #   icc: Command line remark: option '-MP' not supported
   3685       if (grep 'ignoring option' conftest.err ||
   3686           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3687         am_cv_CC_dependencies_compiler_type=$depmode
   3688         break
   3689       fi
   3690     fi
   3691   done
   3692 
   3693   cd ..
   3694   rm -rf conftest.dir
   3695 else
   3696   am_cv_CC_dependencies_compiler_type=none
   3697 fi
   3698 
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3701 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3702 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3703 
   3704  if
   3705   test "x$enable_dependency_tracking" != xno \
   3706   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3707   am__fastdepCC_TRUE=
   3708   am__fastdepCC_FALSE='#'
   3709 else
   3710   am__fastdepCC_TRUE='#'
   3711   am__fastdepCC_FALSE=
   3712 fi
   3713 
   3714 
   3715    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3716 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3717 if ${ac_cv_prog_cc_c99+:} false; then :
   3718   $as_echo_n "(cached) " >&6
   3719 else
   3720   ac_cv_prog_cc_c99=no
   3721 ac_save_CC=$CC
   3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3723 /* end confdefs.h.  */
   3724 #include <stdarg.h>
   3725 #include <stdbool.h>
   3726 #include <stdlib.h>
   3727 #include <wchar.h>
   3728 #include <stdio.h>
   3729 
   3730 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3731 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3732 #define showlist(...) puts (#__VA_ARGS__)
   3733 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3734 static void
   3735 test_varargs_macros (void)
   3736 {
   3737   int x = 1234;
   3738   int y = 5678;
   3739   debug ("Flag");
   3740   debug ("X = %d\n", x);
   3741   showlist (The first, second, and third items.);
   3742   report (x>y, "x is %d but y is %d", x, y);
   3743 }
   3744 
   3745 // Check long long types.
   3746 #define BIG64 18446744073709551615ull
   3747 #define BIG32 4294967295ul
   3748 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3749 #if !BIG_OK
   3750   your preprocessor is broken;
   3751 #endif
   3752 #if BIG_OK
   3753 #else
   3754   your preprocessor is broken;
   3755 #endif
   3756 static long long int bignum = -9223372036854775807LL;
   3757 static unsigned long long int ubignum = BIG64;
   3758 
   3759 struct incomplete_array
   3760 {
   3761   int datasize;
   3762   double data[];
   3763 };
   3764 
   3765 struct named_init {
   3766   int number;
   3767   const wchar_t *name;
   3768   double average;
   3769 };
   3770 
   3771 typedef const char *ccp;
   3772 
   3773 static inline int
   3774 test_restrict (ccp restrict text)
   3775 {
   3776   // See if C++-style comments work.
   3777   // Iterate through items via the restricted pointer.
   3778   // Also check for declarations in for loops.
   3779   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3780     continue;
   3781   return 0;
   3782 }
   3783 
   3784 // Check varargs and va_copy.
   3785 static void
   3786 test_varargs (const char *format, ...)
   3787 {
   3788   va_list args;
   3789   va_start (args, format);
   3790   va_list args_copy;
   3791   va_copy (args_copy, args);
   3792 
   3793   const char *str;
   3794   int number;
   3795   float fnumber;
   3796 
   3797   while (*format)
   3798     {
   3799       switch (*format++)
   3800 	{
   3801 	case 's': // string
   3802 	  str = va_arg (args_copy, const char *);
   3803 	  break;
   3804 	case 'd': // int
   3805 	  number = va_arg (args_copy, int);
   3806 	  break;
   3807 	case 'f': // float
   3808 	  fnumber = va_arg (args_copy, double);
   3809 	  break;
   3810 	default:
   3811 	  break;
   3812 	}
   3813     }
   3814   va_end (args_copy);
   3815   va_end (args);
   3816 }
   3817 
   3818 int
   3819 main ()
   3820 {
   3821 
   3822   // Check bool.
   3823   _Bool success = false;
   3824 
   3825   // Check restrict.
   3826   if (test_restrict ("String literal") == 0)
   3827     success = true;
   3828   char *restrict newvar = "Another string";
   3829 
   3830   // Check varargs.
   3831   test_varargs ("s, d' f .", "string", 65, 34.234);
   3832   test_varargs_macros ();
   3833 
   3834   // Check flexible array members.
   3835   struct incomplete_array *ia =
   3836     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3837   ia->datasize = 10;
   3838   for (int i = 0; i < ia->datasize; ++i)
   3839     ia->data[i] = i * 1.234;
   3840 
   3841   // Check named initializers.
   3842   struct named_init ni = {
   3843     .number = 34,
   3844     .name = L"Test wide string",
   3845     .average = 543.34343,
   3846   };
   3847 
   3848   ni.number = 58;
   3849 
   3850   int dynamic_array[ni.number];
   3851   dynamic_array[ni.number - 1] = 543;
   3852 
   3853   // work around unused variable warnings
   3854   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3855 	  || dynamic_array[ni.number - 1] != 543);
   3856 
   3857   ;
   3858   return 0;
   3859 }
   3860 _ACEOF
   3861 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3862 do
   3863   CC="$ac_save_CC $ac_arg"
   3864   if ac_fn_c_try_compile "$LINENO"; then :
   3865   ac_cv_prog_cc_c99=$ac_arg
   3866 fi
   3867 rm -f core conftest.err conftest.$ac_objext
   3868   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3869 done
   3870 rm -f conftest.$ac_ext
   3871 CC=$ac_save_CC
   3872 
   3873 fi
   3874 # AC_CACHE_VAL
   3875 case "x$ac_cv_prog_cc_c99" in
   3876   x)
   3877     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3878 $as_echo "none needed" >&6; } ;;
   3879   xno)
   3880     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3881 $as_echo "unsupported" >&6; } ;;
   3882   *)
   3883     CC="$CC $ac_cv_prog_cc_c99"
   3884     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3885 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3886 esac
   3887 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3888 
   3889 fi
   3890 
   3891 
   3892 
   3893 ac_ext=c
   3894 ac_cpp='$CPP $CPPFLAGS'
   3895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3899 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3900 # On Suns, sometimes $CPP names a directory.
   3901 if test -n "$CPP" && test -d "$CPP"; then
   3902   CPP=
   3903 fi
   3904 if test -z "$CPP"; then
   3905   if ${ac_cv_prog_CPP+:} false; then :
   3906   $as_echo_n "(cached) " >&6
   3907 else
   3908       # Double quotes because CPP needs to be expanded
   3909     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3910     do
   3911       ac_preproc_ok=false
   3912 for ac_c_preproc_warn_flag in '' yes
   3913 do
   3914   # Use a header file that comes with gcc, so configuring glibc
   3915   # with a fresh cross-compiler works.
   3916   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3917   # <limits.h> exists even on freestanding compilers.
   3918   # On the NeXT, cc -E runs the code through the compiler's parser,
   3919   # not just through cpp. "Syntax error" is here to catch this case.
   3920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3921 /* end confdefs.h.  */
   3922 #ifdef __STDC__
   3923 # include <limits.h>
   3924 #else
   3925 # include <assert.h>
   3926 #endif
   3927 		     Syntax error
   3928 _ACEOF
   3929 if ac_fn_c_try_cpp "$LINENO"; then :
   3930 
   3931 else
   3932   # Broken: fails on valid input.
   3933 continue
   3934 fi
   3935 rm -f conftest.err conftest.i conftest.$ac_ext
   3936 
   3937   # OK, works on sane cases.  Now check whether nonexistent headers
   3938   # can be detected and how.
   3939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 #include <ac_nonexistent.h>
   3942 _ACEOF
   3943 if ac_fn_c_try_cpp "$LINENO"; then :
   3944   # Broken: success on invalid input.
   3945 continue
   3946 else
   3947   # Passes both tests.
   3948 ac_preproc_ok=:
   3949 break
   3950 fi
   3951 rm -f conftest.err conftest.i conftest.$ac_ext
   3952 
   3953 done
   3954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3955 rm -f conftest.i conftest.err conftest.$ac_ext
   3956 if $ac_preproc_ok; then :
   3957   break
   3958 fi
   3959 
   3960     done
   3961     ac_cv_prog_CPP=$CPP
   3962 
   3963 fi
   3964   CPP=$ac_cv_prog_CPP
   3965 else
   3966   ac_cv_prog_CPP=$CPP
   3967 fi
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3969 $as_echo "$CPP" >&6; }
   3970 ac_preproc_ok=false
   3971 for ac_c_preproc_warn_flag in '' yes
   3972 do
   3973   # Use a header file that comes with gcc, so configuring glibc
   3974   # with a fresh cross-compiler works.
   3975   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3976   # <limits.h> exists even on freestanding compilers.
   3977   # On the NeXT, cc -E runs the code through the compiler's parser,
   3978   # not just through cpp. "Syntax error" is here to catch this case.
   3979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3980 /* end confdefs.h.  */
   3981 #ifdef __STDC__
   3982 # include <limits.h>
   3983 #else
   3984 # include <assert.h>
   3985 #endif
   3986 		     Syntax error
   3987 _ACEOF
   3988 if ac_fn_c_try_cpp "$LINENO"; then :
   3989 
   3990 else
   3991   # Broken: fails on valid input.
   3992 continue
   3993 fi
   3994 rm -f conftest.err conftest.i conftest.$ac_ext
   3995 
   3996   # OK, works on sane cases.  Now check whether nonexistent headers
   3997   # can be detected and how.
   3998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3999 /* end confdefs.h.  */
   4000 #include <ac_nonexistent.h>
   4001 _ACEOF
   4002 if ac_fn_c_try_cpp "$LINENO"; then :
   4003   # Broken: success on invalid input.
   4004 continue
   4005 else
   4006   # Passes both tests.
   4007 ac_preproc_ok=:
   4008 break
   4009 fi
   4010 rm -f conftest.err conftest.i conftest.$ac_ext
   4011 
   4012 done
   4013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4014 rm -f conftest.i conftest.err conftest.$ac_ext
   4015 if $ac_preproc_ok; then :
   4016 
   4017 else
   4018   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4020 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4021 See \`config.log' for more details" "$LINENO" 5; }
   4022 fi
   4023 
   4024 ac_ext=c
   4025 ac_cpp='$CPP $CPPFLAGS'
   4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4029 
   4030 
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4032 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4033 if ${ac_cv_path_GREP+:} false; then :
   4034   $as_echo_n "(cached) " >&6
   4035 else
   4036   if test -z "$GREP"; then
   4037   ac_path_GREP_found=false
   4038   # Loop through the user's path and test for each of PROGNAME-LIST
   4039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4041 do
   4042   IFS=$as_save_IFS
   4043   test -z "$as_dir" && as_dir=.
   4044     for ac_prog in grep ggrep; do
   4045     for ac_exec_ext in '' $ac_executable_extensions; do
   4046       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4047       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4048 # Check for GNU ac_path_GREP and select it if it is found.
   4049   # Check for GNU $ac_path_GREP
   4050 case `"$ac_path_GREP" --version 2>&1` in
   4051 *GNU*)
   4052   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4053 *)
   4054   ac_count=0
   4055   $as_echo_n 0123456789 >"conftest.in"
   4056   while :
   4057   do
   4058     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4059     mv "conftest.tmp" "conftest.in"
   4060     cp "conftest.in" "conftest.nl"
   4061     $as_echo 'GREP' >> "conftest.nl"
   4062     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4063     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4064     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4065     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4066       # Best one so far, save it but keep looking for a better one
   4067       ac_cv_path_GREP="$ac_path_GREP"
   4068       ac_path_GREP_max=$ac_count
   4069     fi
   4070     # 10*(2^10) chars as input seems more than enough
   4071     test $ac_count -gt 10 && break
   4072   done
   4073   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4074 esac
   4075 
   4076       $ac_path_GREP_found && break 3
   4077     done
   4078   done
   4079   done
   4080 IFS=$as_save_IFS
   4081   if test -z "$ac_cv_path_GREP"; then
   4082     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4083   fi
   4084 else
   4085   ac_cv_path_GREP=$GREP
   4086 fi
   4087 
   4088 fi
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4090 $as_echo "$ac_cv_path_GREP" >&6; }
   4091  GREP="$ac_cv_path_GREP"
   4092 
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4095 $as_echo_n "checking for egrep... " >&6; }
   4096 if ${ac_cv_path_EGREP+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4100    then ac_cv_path_EGREP="$GREP -E"
   4101    else
   4102      if test -z "$EGREP"; then
   4103   ac_path_EGREP_found=false
   4104   # Loop through the user's path and test for each of PROGNAME-LIST
   4105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4107 do
   4108   IFS=$as_save_IFS
   4109   test -z "$as_dir" && as_dir=.
   4110     for ac_prog in egrep; do
   4111     for ac_exec_ext in '' $ac_executable_extensions; do
   4112       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4113       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4114 # Check for GNU ac_path_EGREP and select it if it is found.
   4115   # Check for GNU $ac_path_EGREP
   4116 case `"$ac_path_EGREP" --version 2>&1` in
   4117 *GNU*)
   4118   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4119 *)
   4120   ac_count=0
   4121   $as_echo_n 0123456789 >"conftest.in"
   4122   while :
   4123   do
   4124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4125     mv "conftest.tmp" "conftest.in"
   4126     cp "conftest.in" "conftest.nl"
   4127     $as_echo 'EGREP' >> "conftest.nl"
   4128     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4131     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4132       # Best one so far, save it but keep looking for a better one
   4133       ac_cv_path_EGREP="$ac_path_EGREP"
   4134       ac_path_EGREP_max=$ac_count
   4135     fi
   4136     # 10*(2^10) chars as input seems more than enough
   4137     test $ac_count -gt 10 && break
   4138   done
   4139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4140 esac
   4141 
   4142       $ac_path_EGREP_found && break 3
   4143     done
   4144   done
   4145   done
   4146 IFS=$as_save_IFS
   4147   if test -z "$ac_cv_path_EGREP"; then
   4148     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4149   fi
   4150 else
   4151   ac_cv_path_EGREP=$EGREP
   4152 fi
   4153 
   4154    fi
   4155 fi
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4157 $as_echo "$ac_cv_path_EGREP" >&6; }
   4158  EGREP="$ac_cv_path_EGREP"
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4162 $as_echo_n "checking for ANSI C header files... " >&6; }
   4163 if ${ac_cv_header_stdc+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4167 /* end confdefs.h.  */
   4168 #include <stdlib.h>
   4169 #include <stdarg.h>
   4170 #include <string.h>
   4171 #include <float.h>
   4172 
   4173 int
   4174 main ()
   4175 {
   4176 
   4177   ;
   4178   return 0;
   4179 }
   4180 _ACEOF
   4181 if ac_fn_c_try_compile "$LINENO"; then :
   4182   ac_cv_header_stdc=yes
   4183 else
   4184   ac_cv_header_stdc=no
   4185 fi
   4186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4187 
   4188 if test $ac_cv_header_stdc = yes; then
   4189   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4191 /* end confdefs.h.  */
   4192 #include <string.h>
   4193 
   4194 _ACEOF
   4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4196   $EGREP "memchr" >/dev/null 2>&1; then :
   4197 
   4198 else
   4199   ac_cv_header_stdc=no
   4200 fi
   4201 rm -f conftest*
   4202 
   4203 fi
   4204 
   4205 if test $ac_cv_header_stdc = yes; then
   4206   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4208 /* end confdefs.h.  */
   4209 #include <stdlib.h>
   4210 
   4211 _ACEOF
   4212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4213   $EGREP "free" >/dev/null 2>&1; then :
   4214 
   4215 else
   4216   ac_cv_header_stdc=no
   4217 fi
   4218 rm -f conftest*
   4219 
   4220 fi
   4221 
   4222 if test $ac_cv_header_stdc = yes; then
   4223   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4224   if test "$cross_compiling" = yes; then :
   4225   :
   4226 else
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <ctype.h>
   4230 #include <stdlib.h>
   4231 #if ((' ' & 0x0FF) == 0x020)
   4232 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4233 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4234 #else
   4235 # define ISLOWER(c) \
   4236 		   (('a' <= (c) && (c) <= 'i') \
   4237 		     || ('j' <= (c) && (c) <= 'r') \
   4238 		     || ('s' <= (c) && (c) <= 'z'))
   4239 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4240 #endif
   4241 
   4242 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4243 int
   4244 main ()
   4245 {
   4246   int i;
   4247   for (i = 0; i < 256; i++)
   4248     if (XOR (islower (i), ISLOWER (i))
   4249 	|| toupper (i) != TOUPPER (i))
   4250       return 2;
   4251   return 0;
   4252 }
   4253 _ACEOF
   4254 if ac_fn_c_try_run "$LINENO"; then :
   4255 
   4256 else
   4257   ac_cv_header_stdc=no
   4258 fi
   4259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4260   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4261 fi
   4262 
   4263 fi
   4264 fi
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4266 $as_echo "$ac_cv_header_stdc" >&6; }
   4267 if test $ac_cv_header_stdc = yes; then
   4268 
   4269 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4270 
   4271 fi
   4272 
   4273 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4274 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4275 		  inttypes.h stdint.h unistd.h
   4276 do :
   4277   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4278 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4279 "
   4280 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4281   cat >>confdefs.h <<_ACEOF
   4282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4283 _ACEOF
   4284 
   4285 fi
   4286 
   4287 done
   4288 
   4289 
   4290 
   4291 
   4292 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4293 	if test -n "$ac_tool_prefix"; then
   4294   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4295 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4297 $as_echo_n "checking for $ac_word... " >&6; }
   4298 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4299   $as_echo_n "(cached) " >&6
   4300 else
   4301   case $PKG_CONFIG in
   4302   [\\/]* | ?:[\\/]*)
   4303   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4304   ;;
   4305   *)
   4306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4307 for as_dir in $PATH
   4308 do
   4309   IFS=$as_save_IFS
   4310   test -z "$as_dir" && as_dir=.
   4311     for ac_exec_ext in '' $ac_executable_extensions; do
   4312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4313     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4315     break 2
   4316   fi
   4317 done
   4318   done
   4319 IFS=$as_save_IFS
   4320 
   4321   ;;
   4322 esac
   4323 fi
   4324 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4325 if test -n "$PKG_CONFIG"; then
   4326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4327 $as_echo "$PKG_CONFIG" >&6; }
   4328 else
   4329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4330 $as_echo "no" >&6; }
   4331 fi
   4332 
   4333 
   4334 fi
   4335 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4336   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4337   # Extract the first word of "pkg-config", so it can be a program name with args.
   4338 set dummy pkg-config; ac_word=$2
   4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4340 $as_echo_n "checking for $ac_word... " >&6; }
   4341 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4342   $as_echo_n "(cached) " >&6
   4343 else
   4344   case $ac_pt_PKG_CONFIG in
   4345   [\\/]* | ?:[\\/]*)
   4346   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4347   ;;
   4348   *)
   4349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4350 for as_dir in $PATH
   4351 do
   4352   IFS=$as_save_IFS
   4353   test -z "$as_dir" && as_dir=.
   4354     for ac_exec_ext in '' $ac_executable_extensions; do
   4355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4356     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4358     break 2
   4359   fi
   4360 done
   4361   done
   4362 IFS=$as_save_IFS
   4363 
   4364   ;;
   4365 esac
   4366 fi
   4367 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4368 if test -n "$ac_pt_PKG_CONFIG"; then
   4369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4370 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4371 else
   4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4373 $as_echo "no" >&6; }
   4374 fi
   4375 
   4376   if test "x$ac_pt_PKG_CONFIG" = x; then
   4377     PKG_CONFIG=""
   4378   else
   4379     case $cross_compiling:$ac_tool_warned in
   4380 yes:)
   4381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4383 ac_tool_warned=yes ;;
   4384 esac
   4385     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4386   fi
   4387 else
   4388   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4389 fi
   4390 
   4391 fi
   4392 if test -n "$PKG_CONFIG"; then
   4393 	_pkg_min_version=0.9.0
   4394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4395 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4396 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4398 $as_echo "yes" >&6; }
   4399 	else
   4400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4401 $as_echo "no" >&6; }
   4402 		PKG_CONFIG=""
   4403 	fi
   4404 
   4405 fi
   4406 # Make sure we can run config.sub.
   4407 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4408   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4409 
   4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4411 $as_echo_n "checking build system type... " >&6; }
   4412 if ${ac_cv_build+:} false; then :
   4413   $as_echo_n "(cached) " >&6
   4414 else
   4415   ac_build_alias=$build_alias
   4416 test "x$ac_build_alias" = x &&
   4417   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4418 test "x$ac_build_alias" = x &&
   4419   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4420 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4421   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4422 
   4423 fi
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4425 $as_echo "$ac_cv_build" >&6; }
   4426 case $ac_cv_build in
   4427 *-*-*) ;;
   4428 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4429 esac
   4430 build=$ac_cv_build
   4431 ac_save_IFS=$IFS; IFS='-'
   4432 set x $ac_cv_build
   4433 shift
   4434 build_cpu=$1
   4435 build_vendor=$2
   4436 shift; shift
   4437 # Remember, the first character of IFS is used to create $*,
   4438 # except with old shells:
   4439 build_os=$*
   4440 IFS=$ac_save_IFS
   4441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4442 
   4443 
   4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4445 $as_echo_n "checking host system type... " >&6; }
   4446 if ${ac_cv_host+:} false; then :
   4447   $as_echo_n "(cached) " >&6
   4448 else
   4449   if test "x$host_alias" = x; then
   4450   ac_cv_host=$ac_cv_build
   4451 else
   4452   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4453     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4454 fi
   4455 
   4456 fi
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4458 $as_echo "$ac_cv_host" >&6; }
   4459 case $ac_cv_host in
   4460 *-*-*) ;;
   4461 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4462 esac
   4463 host=$ac_cv_host
   4464 ac_save_IFS=$IFS; IFS='-'
   4465 set x $ac_cv_host
   4466 shift
   4467 host_cpu=$1
   4468 host_vendor=$2
   4469 shift; shift
   4470 # Remember, the first character of IFS is used to create $*,
   4471 # except with old shells:
   4472 host_os=$*
   4473 IFS=$ac_save_IFS
   4474 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4475 
   4476 
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4478 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4479 if ${ac_cv_path_SED+:} false; then :
   4480   $as_echo_n "(cached) " >&6
   4481 else
   4482             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4483      for ac_i in 1 2 3 4 5 6 7; do
   4484        ac_script="$ac_script$as_nl$ac_script"
   4485      done
   4486      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4487      { ac_script=; unset ac_script;}
   4488      if test -z "$SED"; then
   4489   ac_path_SED_found=false
   4490   # Loop through the user's path and test for each of PROGNAME-LIST
   4491   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4492 for as_dir in $PATH
   4493 do
   4494   IFS=$as_save_IFS
   4495   test -z "$as_dir" && as_dir=.
   4496     for ac_prog in sed gsed; do
   4497     for ac_exec_ext in '' $ac_executable_extensions; do
   4498       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4499       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4500 # Check for GNU ac_path_SED and select it if it is found.
   4501   # Check for GNU $ac_path_SED
   4502 case `"$ac_path_SED" --version 2>&1` in
   4503 *GNU*)
   4504   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4505 *)
   4506   ac_count=0
   4507   $as_echo_n 0123456789 >"conftest.in"
   4508   while :
   4509   do
   4510     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4511     mv "conftest.tmp" "conftest.in"
   4512     cp "conftest.in" "conftest.nl"
   4513     $as_echo '' >> "conftest.nl"
   4514     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4515     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4516     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4517     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4518       # Best one so far, save it but keep looking for a better one
   4519       ac_cv_path_SED="$ac_path_SED"
   4520       ac_path_SED_max=$ac_count
   4521     fi
   4522     # 10*(2^10) chars as input seems more than enough
   4523     test $ac_count -gt 10 && break
   4524   done
   4525   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4526 esac
   4527 
   4528       $ac_path_SED_found && break 3
   4529     done
   4530   done
   4531   done
   4532 IFS=$as_save_IFS
   4533   if test -z "$ac_cv_path_SED"; then
   4534     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4535   fi
   4536 else
   4537   ac_cv_path_SED=$SED
   4538 fi
   4539 
   4540 fi
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4542 $as_echo "$ac_cv_path_SED" >&6; }
   4543  SED="$ac_cv_path_SED"
   4544   rm -f conftest.sed
   4545 
   4546 
   4547 
   4548 
   4549 
   4550 if  test "x$GCC" = xyes ; then
   4551     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4552 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4553 -Wbad-function-cast -Wformat=2"
   4554     case `$CC -dumpversion` in
   4555     3.4.* | 4.*)
   4556 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4557 	;;
   4558     esac
   4559 else
   4560     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4561 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4562   SUNCC="yes"
   4563 else
   4564   SUNCC="no"
   4565 fi
   4566 
   4567     if test "x$SUNCC" = "xyes"; then
   4568 	CWARNFLAGS="-v"
   4569     fi
   4570 fi
   4571 
   4572 
   4573 
   4574 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4575 
   4576 
   4577 
   4578 # Check whether --enable-strict-compilation was given.
   4579 if test "${enable_strict_compilation+set}" = set; then :
   4580   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4581 else
   4582   STRICT_COMPILE=no
   4583 fi
   4584 
   4585 if test "x$STRICT_COMPILE" = "xyes"; then
   4586 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4587 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4588   SUNCC="yes"
   4589 else
   4590   SUNCC="no"
   4591 fi
   4592 
   4593 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4594 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4595   INTELCC="yes"
   4596 else
   4597   INTELCC="no"
   4598 fi
   4599 
   4600 	if test "x$GCC" = xyes ; then
   4601 		STRICT_CFLAGS="-pedantic -Werror"
   4602 	elif test "x$SUNCC" = "xyes"; then
   4603 		STRICT_CFLAGS="-errwarn"
   4604     elif test "x$INTELCC" = "xyes"; then
   4605 		STRICT_CFLAGS="-Werror"
   4606 	fi
   4607 fi
   4608 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4609 
   4610 
   4611 
   4612 
   4613 cat >>confdefs.h <<_ACEOF
   4614 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4615 _ACEOF
   4616 
   4617 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4618 	if test "x$PVM" = "x"; then
   4619 		PVM="0"
   4620 	fi
   4621 
   4622 cat >>confdefs.h <<_ACEOF
   4623 #define PACKAGE_VERSION_MINOR $PVM
   4624 _ACEOF
   4625 
   4626 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4627 	if test "x$PVP" = "x"; then
   4628 		PVP="0"
   4629 	fi
   4630 
   4631 cat >>confdefs.h <<_ACEOF
   4632 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4633 _ACEOF
   4634 
   4635 
   4636 
   4637 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4638 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4639 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4640 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4641 
   4642 
   4643 
   4644 
   4645 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4646 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4647 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4648 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4649 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 if test x$APP_MAN_SUFFIX = x    ; then
   4657     APP_MAN_SUFFIX=1
   4658 fi
   4659 if test x$APP_MAN_DIR = x    ; then
   4660     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4661 fi
   4662 
   4663 if test x$LIB_MAN_SUFFIX = x    ; then
   4664     LIB_MAN_SUFFIX=3
   4665 fi
   4666 if test x$LIB_MAN_DIR = x    ; then
   4667     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4668 fi
   4669 
   4670 if test x$FILE_MAN_SUFFIX = x    ; then
   4671     case $host_os in
   4672 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4673 	*)		FILE_MAN_SUFFIX=5  ;;
   4674     esac
   4675 fi
   4676 if test x$FILE_MAN_DIR = x    ; then
   4677     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4678 fi
   4679 
   4680 if test x$MISC_MAN_SUFFIX = x    ; then
   4681     case $host_os in
   4682 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4683 	*)		MISC_MAN_SUFFIX=7  ;;
   4684     esac
   4685 fi
   4686 if test x$MISC_MAN_DIR = x    ; then
   4687     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4688 fi
   4689 
   4690 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4691     case $host_os in
   4692 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4693 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4694     esac
   4695 fi
   4696 if test x$DRIVER_MAN_DIR = x    ; then
   4697     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4698 fi
   4699 
   4700 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4701     case $host_os in
   4702 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4703 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4704     esac
   4705 fi
   4706 if test x$ADMIN_MAN_DIR = x    ; then
   4707     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4708 fi
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 XORG_MAN_PAGE="X Version 11"
   4725 
   4726 MAN_SUBSTS="\
   4727 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4728 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4729 	-e 's|__xservername__|Xorg|g' \
   4730 	-e 's|__xconfigfile__|xorg.conf|g' \
   4731 	-e 's|__projectroot__|\$(prefix)|g' \
   4732 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   4733 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4734 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4735 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4736 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4737 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4738 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4739 
   4740 
   4741 
   4742 # Check whether --enable-silent-rules was given.
   4743 if test "${enable_silent_rules+set}" = set; then :
   4744   enableval=$enable_silent_rules;
   4745 fi
   4746 
   4747 case $enable_silent_rules in
   4748 yes) AM_DEFAULT_VERBOSITY=0;;
   4749 no)  AM_DEFAULT_VERBOSITY=1;;
   4750 *)   AM_DEFAULT_VERBOSITY=0;;
   4751 esac
   4752 AM_BACKSLASH='\'
   4753 
   4754 
   4755 
   4756 # Check for progs
   4757 ac_ext=c
   4758 ac_cpp='$CPP $CPPFLAGS'
   4759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4762 if test -n "$ac_tool_prefix"; then
   4763   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4764 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4766 $as_echo_n "checking for $ac_word... " >&6; }
   4767 if ${ac_cv_prog_CC+:} false; then :
   4768   $as_echo_n "(cached) " >&6
   4769 else
   4770   if test -n "$CC"; then
   4771   ac_cv_prog_CC="$CC" # Let the user override the test.
   4772 else
   4773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4774 for as_dir in $PATH
   4775 do
   4776   IFS=$as_save_IFS
   4777   test -z "$as_dir" && as_dir=.
   4778     for ac_exec_ext in '' $ac_executable_extensions; do
   4779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4780     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4782     break 2
   4783   fi
   4784 done
   4785   done
   4786 IFS=$as_save_IFS
   4787 
   4788 fi
   4789 fi
   4790 CC=$ac_cv_prog_CC
   4791 if test -n "$CC"; then
   4792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4793 $as_echo "$CC" >&6; }
   4794 else
   4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4796 $as_echo "no" >&6; }
   4797 fi
   4798 
   4799 
   4800 fi
   4801 if test -z "$ac_cv_prog_CC"; then
   4802   ac_ct_CC=$CC
   4803   # Extract the first word of "gcc", so it can be a program name with args.
   4804 set dummy gcc; ac_word=$2
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4806 $as_echo_n "checking for $ac_word... " >&6; }
   4807 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810   if test -n "$ac_ct_CC"; then
   4811   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4812 else
   4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4814 for as_dir in $PATH
   4815 do
   4816   IFS=$as_save_IFS
   4817   test -z "$as_dir" && as_dir=.
   4818     for ac_exec_ext in '' $ac_executable_extensions; do
   4819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4820     ac_cv_prog_ac_ct_CC="gcc"
   4821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4822     break 2
   4823   fi
   4824 done
   4825   done
   4826 IFS=$as_save_IFS
   4827 
   4828 fi
   4829 fi
   4830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4831 if test -n "$ac_ct_CC"; then
   4832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4833 $as_echo "$ac_ct_CC" >&6; }
   4834 else
   4835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4836 $as_echo "no" >&6; }
   4837 fi
   4838 
   4839   if test "x$ac_ct_CC" = x; then
   4840     CC=""
   4841   else
   4842     case $cross_compiling:$ac_tool_warned in
   4843 yes:)
   4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4846 ac_tool_warned=yes ;;
   4847 esac
   4848     CC=$ac_ct_CC
   4849   fi
   4850 else
   4851   CC="$ac_cv_prog_CC"
   4852 fi
   4853 
   4854 if test -z "$CC"; then
   4855           if test -n "$ac_tool_prefix"; then
   4856     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4857 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4859 $as_echo_n "checking for $ac_word... " >&6; }
   4860 if ${ac_cv_prog_CC+:} false; then :
   4861   $as_echo_n "(cached) " >&6
   4862 else
   4863   if test -n "$CC"; then
   4864   ac_cv_prog_CC="$CC" # Let the user override the test.
   4865 else
   4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4867 for as_dir in $PATH
   4868 do
   4869   IFS=$as_save_IFS
   4870   test -z "$as_dir" && as_dir=.
   4871     for ac_exec_ext in '' $ac_executable_extensions; do
   4872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4873     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4875     break 2
   4876   fi
   4877 done
   4878   done
   4879 IFS=$as_save_IFS
   4880 
   4881 fi
   4882 fi
   4883 CC=$ac_cv_prog_CC
   4884 if test -n "$CC"; then
   4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4886 $as_echo "$CC" >&6; }
   4887 else
   4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4889 $as_echo "no" >&6; }
   4890 fi
   4891 
   4892 
   4893   fi
   4894 fi
   4895 if test -z "$CC"; then
   4896   # Extract the first word of "cc", so it can be a program name with args.
   4897 set dummy cc; ac_word=$2
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4899 $as_echo_n "checking for $ac_word... " >&6; }
   4900 if ${ac_cv_prog_CC+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903   if test -n "$CC"; then
   4904   ac_cv_prog_CC="$CC" # Let the user override the test.
   4905 else
   4906   ac_prog_rejected=no
   4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4908 for as_dir in $PATH
   4909 do
   4910   IFS=$as_save_IFS
   4911   test -z "$as_dir" && as_dir=.
   4912     for ac_exec_ext in '' $ac_executable_extensions; do
   4913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4914     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4915        ac_prog_rejected=yes
   4916        continue
   4917      fi
   4918     ac_cv_prog_CC="cc"
   4919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4920     break 2
   4921   fi
   4922 done
   4923   done
   4924 IFS=$as_save_IFS
   4925 
   4926 if test $ac_prog_rejected = yes; then
   4927   # We found a bogon in the path, so make sure we never use it.
   4928   set dummy $ac_cv_prog_CC
   4929   shift
   4930   if test $# != 0; then
   4931     # We chose a different compiler from the bogus one.
   4932     # However, it has the same basename, so the bogon will be chosen
   4933     # first if we set CC to just the basename; use the full file name.
   4934     shift
   4935     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4936   fi
   4937 fi
   4938 fi
   4939 fi
   4940 CC=$ac_cv_prog_CC
   4941 if test -n "$CC"; then
   4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4943 $as_echo "$CC" >&6; }
   4944 else
   4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4946 $as_echo "no" >&6; }
   4947 fi
   4948 
   4949 
   4950 fi
   4951 if test -z "$CC"; then
   4952   if test -n "$ac_tool_prefix"; then
   4953   for ac_prog in cl.exe
   4954   do
   4955     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4958 $as_echo_n "checking for $ac_word... " >&6; }
   4959 if ${ac_cv_prog_CC+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   if test -n "$CC"; then
   4963   ac_cv_prog_CC="$CC" # Let the user override the test.
   4964 else
   4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4966 for as_dir in $PATH
   4967 do
   4968   IFS=$as_save_IFS
   4969   test -z "$as_dir" && as_dir=.
   4970     for ac_exec_ext in '' $ac_executable_extensions; do
   4971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4972     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4974     break 2
   4975   fi
   4976 done
   4977   done
   4978 IFS=$as_save_IFS
   4979 
   4980 fi
   4981 fi
   4982 CC=$ac_cv_prog_CC
   4983 if test -n "$CC"; then
   4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4985 $as_echo "$CC" >&6; }
   4986 else
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4988 $as_echo "no" >&6; }
   4989 fi
   4990 
   4991 
   4992     test -n "$CC" && break
   4993   done
   4994 fi
   4995 if test -z "$CC"; then
   4996   ac_ct_CC=$CC
   4997   for ac_prog in cl.exe
   4998 do
   4999   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5000 set dummy $ac_prog; ac_word=$2
   5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5002 $as_echo_n "checking for $ac_word... " >&6; }
   5003 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5004   $as_echo_n "(cached) " >&6
   5005 else
   5006   if test -n "$ac_ct_CC"; then
   5007   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5008 else
   5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5010 for as_dir in $PATH
   5011 do
   5012   IFS=$as_save_IFS
   5013   test -z "$as_dir" && as_dir=.
   5014     for ac_exec_ext in '' $ac_executable_extensions; do
   5015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5016     ac_cv_prog_ac_ct_CC="$ac_prog"
   5017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5018     break 2
   5019   fi
   5020 done
   5021   done
   5022 IFS=$as_save_IFS
   5023 
   5024 fi
   5025 fi
   5026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5027 if test -n "$ac_ct_CC"; then
   5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5029 $as_echo "$ac_ct_CC" >&6; }
   5030 else
   5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5032 $as_echo "no" >&6; }
   5033 fi
   5034 
   5035 
   5036   test -n "$ac_ct_CC" && break
   5037 done
   5038 
   5039   if test "x$ac_ct_CC" = x; then
   5040     CC=""
   5041   else
   5042     case $cross_compiling:$ac_tool_warned in
   5043 yes:)
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5046 ac_tool_warned=yes ;;
   5047 esac
   5048     CC=$ac_ct_CC
   5049   fi
   5050 fi
   5051 
   5052 fi
   5053 
   5054 
   5055 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5057 as_fn_error $? "no acceptable C compiler found in \$PATH
   5058 See \`config.log' for more details" "$LINENO" 5; }
   5059 
   5060 # Provide some information about the compiler.
   5061 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5062 set X $ac_compile
   5063 ac_compiler=$2
   5064 for ac_option in --version -v -V -qversion; do
   5065   { { ac_try="$ac_compiler $ac_option >&5"
   5066 case "(($ac_try" in
   5067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5068   *) ac_try_echo=$ac_try;;
   5069 esac
   5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5071 $as_echo "$ac_try_echo"; } >&5
   5072   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5073   ac_status=$?
   5074   if test -s conftest.err; then
   5075     sed '10a\
   5076 ... rest of stderr output deleted ...
   5077          10q' conftest.err >conftest.er1
   5078     cat conftest.er1 >&5
   5079   fi
   5080   rm -f conftest.er1 conftest.err
   5081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5082   test $ac_status = 0; }
   5083 done
   5084 
   5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5086 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5087 if ${ac_cv_c_compiler_gnu+:} false; then :
   5088   $as_echo_n "(cached) " >&6
   5089 else
   5090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5091 /* end confdefs.h.  */
   5092 
   5093 int
   5094 main ()
   5095 {
   5096 #ifndef __GNUC__
   5097        choke me
   5098 #endif
   5099 
   5100   ;
   5101   return 0;
   5102 }
   5103 _ACEOF
   5104 if ac_fn_c_try_compile "$LINENO"; then :
   5105   ac_compiler_gnu=yes
   5106 else
   5107   ac_compiler_gnu=no
   5108 fi
   5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5110 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5111 
   5112 fi
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5114 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5115 if test $ac_compiler_gnu = yes; then
   5116   GCC=yes
   5117 else
   5118   GCC=
   5119 fi
   5120 ac_test_CFLAGS=${CFLAGS+set}
   5121 ac_save_CFLAGS=$CFLAGS
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5123 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5124 if ${ac_cv_prog_cc_g+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   ac_save_c_werror_flag=$ac_c_werror_flag
   5128    ac_c_werror_flag=yes
   5129    ac_cv_prog_cc_g=no
   5130    CFLAGS="-g"
   5131    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5132 /* end confdefs.h.  */
   5133 
   5134 int
   5135 main ()
   5136 {
   5137 
   5138   ;
   5139   return 0;
   5140 }
   5141 _ACEOF
   5142 if ac_fn_c_try_compile "$LINENO"; then :
   5143   ac_cv_prog_cc_g=yes
   5144 else
   5145   CFLAGS=""
   5146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5147 /* end confdefs.h.  */
   5148 
   5149 int
   5150 main ()
   5151 {
   5152 
   5153   ;
   5154   return 0;
   5155 }
   5156 _ACEOF
   5157 if ac_fn_c_try_compile "$LINENO"; then :
   5158 
   5159 else
   5160   ac_c_werror_flag=$ac_save_c_werror_flag
   5161 	 CFLAGS="-g"
   5162 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5163 /* end confdefs.h.  */
   5164 
   5165 int
   5166 main ()
   5167 {
   5168 
   5169   ;
   5170   return 0;
   5171 }
   5172 _ACEOF
   5173 if ac_fn_c_try_compile "$LINENO"; then :
   5174   ac_cv_prog_cc_g=yes
   5175 fi
   5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5179 fi
   5180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5181    ac_c_werror_flag=$ac_save_c_werror_flag
   5182 fi
   5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5184 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5185 if test "$ac_test_CFLAGS" = set; then
   5186   CFLAGS=$ac_save_CFLAGS
   5187 elif test $ac_cv_prog_cc_g = yes; then
   5188   if test "$GCC" = yes; then
   5189     CFLAGS="-g -O2"
   5190   else
   5191     CFLAGS="-g"
   5192   fi
   5193 else
   5194   if test "$GCC" = yes; then
   5195     CFLAGS="-O2"
   5196   else
   5197     CFLAGS=
   5198   fi
   5199 fi
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5201 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5202 if ${ac_cv_prog_cc_c89+:} false; then :
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   ac_cv_prog_cc_c89=no
   5206 ac_save_CC=$CC
   5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5208 /* end confdefs.h.  */
   5209 #include <stdarg.h>
   5210 #include <stdio.h>
   5211 #include <sys/types.h>
   5212 #include <sys/stat.h>
   5213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5214 struct buf { int x; };
   5215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5216 static char *e (p, i)
   5217      char **p;
   5218      int i;
   5219 {
   5220   return p[i];
   5221 }
   5222 static char *f (char * (*g) (char **, int), char **p, ...)
   5223 {
   5224   char *s;
   5225   va_list v;
   5226   va_start (v,p);
   5227   s = g (p, va_arg (v,int));
   5228   va_end (v);
   5229   return s;
   5230 }
   5231 
   5232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5233    function prototypes and stuff, but not '\xHH' hex character constants.
   5234    These don't provoke an error unfortunately, instead are silently treated
   5235    as 'x'.  The following induces an error, until -std is added to get
   5236    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5237    array size at least.  It's necessary to write '\x00'==0 to get something
   5238    that's true only with -std.  */
   5239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5240 
   5241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5242    inside strings and character constants.  */
   5243 #define FOO(x) 'x'
   5244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5245 
   5246 int test (int i, double x);
   5247 struct s1 {int (*f) (int a);};
   5248 struct s2 {int (*f) (double a);};
   5249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5250 int argc;
   5251 char **argv;
   5252 int
   5253 main ()
   5254 {
   5255 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5256   ;
   5257   return 0;
   5258 }
   5259 _ACEOF
   5260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5261 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5262 do
   5263   CC="$ac_save_CC $ac_arg"
   5264   if ac_fn_c_try_compile "$LINENO"; then :
   5265   ac_cv_prog_cc_c89=$ac_arg
   5266 fi
   5267 rm -f core conftest.err conftest.$ac_objext
   5268   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5269 done
   5270 rm -f conftest.$ac_ext
   5271 CC=$ac_save_CC
   5272 
   5273 fi
   5274 # AC_CACHE_VAL
   5275 case "x$ac_cv_prog_cc_c89" in
   5276   x)
   5277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5278 $as_echo "none needed" >&6; } ;;
   5279   xno)
   5280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5281 $as_echo "unsupported" >&6; } ;;
   5282   *)
   5283     CC="$CC $ac_cv_prog_cc_c89"
   5284     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5285 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5286 esac
   5287 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5288 
   5289 fi
   5290 
   5291 ac_ext=c
   5292 ac_cpp='$CPP $CPPFLAGS'
   5293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5296 
   5297 depcc="$CC"   am_compiler_list=
   5298 
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5300 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5301 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5302   $as_echo_n "(cached) " >&6
   5303 else
   5304   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5305   # We make a subdir and do the tests there.  Otherwise we can end up
   5306   # making bogus files that we don't know about and never remove.  For
   5307   # instance it was reported that on HP-UX the gcc test will end up
   5308   # making a dummy file named `D' -- because `-MD' means `put the output
   5309   # in D'.
   5310   mkdir conftest.dir
   5311   # Copy depcomp to subdir because otherwise we won't find it if we're
   5312   # using a relative directory.
   5313   cp "$am_depcomp" conftest.dir
   5314   cd conftest.dir
   5315   # We will build objects and dependencies in a subdirectory because
   5316   # it helps to detect inapplicable dependency modes.  For instance
   5317   # both Tru64's cc and ICC support -MD to output dependencies as a
   5318   # side effect of compilation, but ICC will put the dependencies in
   5319   # the current directory while Tru64 will put them in the object
   5320   # directory.
   5321   mkdir sub
   5322 
   5323   am_cv_CC_dependencies_compiler_type=none
   5324   if test "$am_compiler_list" = ""; then
   5325      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5326   fi
   5327   am__universal=false
   5328   case " $depcc " in #(
   5329      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5330      esac
   5331 
   5332   for depmode in $am_compiler_list; do
   5333     # Setup a source with many dependencies, because some compilers
   5334     # like to wrap large dependency lists on column 80 (with \), and
   5335     # we should not choose a depcomp mode which is confused by this.
   5336     #
   5337     # We need to recreate these files for each test, as the compiler may
   5338     # overwrite some of them when testing with obscure command lines.
   5339     # This happens at least with the AIX C compiler.
   5340     : > sub/conftest.c
   5341     for i in 1 2 3 4 5 6; do
   5342       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5343       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5344       # Solaris 8's {/usr,}/bin/sh.
   5345       touch sub/conftst$i.h
   5346     done
   5347     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5348 
   5349     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5350     # mode.  It turns out that the SunPro C++ compiler does not properly
   5351     # handle `-M -o', and we need to detect this.  Also, some Intel
   5352     # versions had trouble with output in subdirs
   5353     am__obj=sub/conftest.${OBJEXT-o}
   5354     am__minus_obj="-o $am__obj"
   5355     case $depmode in
   5356     gcc)
   5357       # This depmode causes a compiler race in universal mode.
   5358       test "$am__universal" = false || continue
   5359       ;;
   5360     nosideeffect)
   5361       # after this tag, mechanisms are not by side-effect, so they'll
   5362       # only be used when explicitly requested
   5363       if test "x$enable_dependency_tracking" = xyes; then
   5364 	continue
   5365       else
   5366 	break
   5367       fi
   5368       ;;
   5369     msvisualcpp | msvcmsys)
   5370       # This compiler won't grok `-c -o', but also, the minuso test has
   5371       # not run yet.  These depmodes are late enough in the game, and
   5372       # so weak that their functioning should not be impacted.
   5373       am__obj=conftest.${OBJEXT-o}
   5374       am__minus_obj=
   5375       ;;
   5376     none) break ;;
   5377     esac
   5378     if depmode=$depmode \
   5379        source=sub/conftest.c object=$am__obj \
   5380        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5381        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5382          >/dev/null 2>conftest.err &&
   5383        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5384        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5385        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5386        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5387       # icc doesn't choke on unknown options, it will just issue warnings
   5388       # or remarks (even with -Werror).  So we grep stderr for any message
   5389       # that says an option was ignored or not supported.
   5390       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5391       #   icc: Command line warning: ignoring option '-M'; no argument required
   5392       # The diagnosis changed in icc 8.0:
   5393       #   icc: Command line remark: option '-MP' not supported
   5394       if (grep 'ignoring option' conftest.err ||
   5395           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5396         am_cv_CC_dependencies_compiler_type=$depmode
   5397         break
   5398       fi
   5399     fi
   5400   done
   5401 
   5402   cd ..
   5403   rm -rf conftest.dir
   5404 else
   5405   am_cv_CC_dependencies_compiler_type=none
   5406 fi
   5407 
   5408 fi
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5410 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5411 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5412 
   5413  if
   5414   test "x$enable_dependency_tracking" != xno \
   5415   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5416   am__fastdepCC_TRUE=
   5417   am__fastdepCC_FALSE='#'
   5418 else
   5419   am__fastdepCC_TRUE='#'
   5420   am__fastdepCC_FALSE=
   5421 fi
   5422 
   5423 
   5424 case `pwd` in
   5425   *\ * | *\	*)
   5426     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5427 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5428 esac
   5429 
   5430 
   5431 
   5432 macro_version='2.2.10'
   5433 macro_revision='1.3175'
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 ltmain="$ac_aux_dir/ltmain.sh"
   5448 
   5449 # Backslashify metacharacters that are still active within
   5450 # double-quoted strings.
   5451 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5452 
   5453 # Same as above, but do not quote variable references.
   5454 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5455 
   5456 # Sed substitution to delay expansion of an escaped shell variable in a
   5457 # double_quote_subst'ed string.
   5458 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5459 
   5460 # Sed substitution to delay expansion of an escaped single quote.
   5461 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5462 
   5463 # Sed substitution to avoid accidental globbing in evaled expressions
   5464 no_glob_subst='s/\*/\\\*/g'
   5465 
   5466 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5467 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5468 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5469 
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5471 $as_echo_n "checking how to print strings... " >&6; }
   5472 # Test print first, because it will be a builtin if present.
   5473 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5474    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5475   ECHO='print -r --'
   5476 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5477   ECHO='printf %s\n'
   5478 else
   5479   # Use this function as a fallback that always works.
   5480   func_fallback_echo ()
   5481   {
   5482     eval 'cat <<_LTECHO_EOF
   5483 $1
   5484 _LTECHO_EOF'
   5485   }
   5486   ECHO='func_fallback_echo'
   5487 fi
   5488 
   5489 # func_echo_all arg...
   5490 # Invoke $ECHO with all args, space-separated.
   5491 func_echo_all ()
   5492 {
   5493     $ECHO ""
   5494 }
   5495 
   5496 case "$ECHO" in
   5497   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5498 $as_echo "printf" >&6; } ;;
   5499   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5500 $as_echo "print -r" >&6; } ;;
   5501   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5502 $as_echo "cat" >&6; } ;;
   5503 esac
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5519 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5520 if ${ac_cv_path_SED+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5524      for ac_i in 1 2 3 4 5 6 7; do
   5525        ac_script="$ac_script$as_nl$ac_script"
   5526      done
   5527      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5528      { ac_script=; unset ac_script;}
   5529      if test -z "$SED"; then
   5530   ac_path_SED_found=false
   5531   # Loop through the user's path and test for each of PROGNAME-LIST
   5532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5533 for as_dir in $PATH
   5534 do
   5535   IFS=$as_save_IFS
   5536   test -z "$as_dir" && as_dir=.
   5537     for ac_prog in sed gsed; do
   5538     for ac_exec_ext in '' $ac_executable_extensions; do
   5539       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5540       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5541 # Check for GNU ac_path_SED and select it if it is found.
   5542   # Check for GNU $ac_path_SED
   5543 case `"$ac_path_SED" --version 2>&1` in
   5544 *GNU*)
   5545   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5546 *)
   5547   ac_count=0
   5548   $as_echo_n 0123456789 >"conftest.in"
   5549   while :
   5550   do
   5551     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5552     mv "conftest.tmp" "conftest.in"
   5553     cp "conftest.in" "conftest.nl"
   5554     $as_echo '' >> "conftest.nl"
   5555     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5556     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5557     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5558     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5559       # Best one so far, save it but keep looking for a better one
   5560       ac_cv_path_SED="$ac_path_SED"
   5561       ac_path_SED_max=$ac_count
   5562     fi
   5563     # 10*(2^10) chars as input seems more than enough
   5564     test $ac_count -gt 10 && break
   5565   done
   5566   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5567 esac
   5568 
   5569       $ac_path_SED_found && break 3
   5570     done
   5571   done
   5572   done
   5573 IFS=$as_save_IFS
   5574   if test -z "$ac_cv_path_SED"; then
   5575     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5576   fi
   5577 else
   5578   ac_cv_path_SED=$SED
   5579 fi
   5580 
   5581 fi
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5583 $as_echo "$ac_cv_path_SED" >&6; }
   5584  SED="$ac_cv_path_SED"
   5585   rm -f conftest.sed
   5586 
   5587 test -z "$SED" && SED=sed
   5588 Xsed="$SED -e 1s/^X//"
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5601 $as_echo_n "checking for fgrep... " >&6; }
   5602 if ${ac_cv_path_FGREP+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5606    then ac_cv_path_FGREP="$GREP -F"
   5607    else
   5608      if test -z "$FGREP"; then
   5609   ac_path_FGREP_found=false
   5610   # Loop through the user's path and test for each of PROGNAME-LIST
   5611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5612 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5613 do
   5614   IFS=$as_save_IFS
   5615   test -z "$as_dir" && as_dir=.
   5616     for ac_prog in fgrep; do
   5617     for ac_exec_ext in '' $ac_executable_extensions; do
   5618       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5619       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5620 # Check for GNU ac_path_FGREP and select it if it is found.
   5621   # Check for GNU $ac_path_FGREP
   5622 case `"$ac_path_FGREP" --version 2>&1` in
   5623 *GNU*)
   5624   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5625 *)
   5626   ac_count=0
   5627   $as_echo_n 0123456789 >"conftest.in"
   5628   while :
   5629   do
   5630     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5631     mv "conftest.tmp" "conftest.in"
   5632     cp "conftest.in" "conftest.nl"
   5633     $as_echo 'FGREP' >> "conftest.nl"
   5634     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5635     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5636     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5637     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5638       # Best one so far, save it but keep looking for a better one
   5639       ac_cv_path_FGREP="$ac_path_FGREP"
   5640       ac_path_FGREP_max=$ac_count
   5641     fi
   5642     # 10*(2^10) chars as input seems more than enough
   5643     test $ac_count -gt 10 && break
   5644   done
   5645   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5646 esac
   5647 
   5648       $ac_path_FGREP_found && break 3
   5649     done
   5650   done
   5651   done
   5652 IFS=$as_save_IFS
   5653   if test -z "$ac_cv_path_FGREP"; then
   5654     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5655   fi
   5656 else
   5657   ac_cv_path_FGREP=$FGREP
   5658 fi
   5659 
   5660    fi
   5661 fi
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5663 $as_echo "$ac_cv_path_FGREP" >&6; }
   5664  FGREP="$ac_cv_path_FGREP"
   5665 
   5666 
   5667 test -z "$GREP" && GREP=grep
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 # Check whether --with-gnu-ld was given.
   5688 if test "${with_gnu_ld+set}" = set; then :
   5689   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5690 else
   5691   with_gnu_ld=no
   5692 fi
   5693 
   5694 ac_prog=ld
   5695 if test "$GCC" = yes; then
   5696   # Check if gcc -print-prog-name=ld gives a path.
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5698 $as_echo_n "checking for ld used by $CC... " >&6; }
   5699   case $host in
   5700   *-*-mingw*)
   5701     # gcc leaves a trailing carriage return which upsets mingw
   5702     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5703   *)
   5704     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5705   esac
   5706   case $ac_prog in
   5707     # Accept absolute paths.
   5708     [\\/]* | ?:[\\/]*)
   5709       re_direlt='/[^/][^/]*/\.\./'
   5710       # Canonicalize the pathname of ld
   5711       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5712       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5713 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5714       done
   5715       test -z "$LD" && LD="$ac_prog"
   5716       ;;
   5717   "")
   5718     # If it fails, then pretend we aren't using GCC.
   5719     ac_prog=ld
   5720     ;;
   5721   *)
   5722     # If it is relative, then search for the first ld in PATH.
   5723     with_gnu_ld=unknown
   5724     ;;
   5725   esac
   5726 elif test "$with_gnu_ld" = yes; then
   5727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5728 $as_echo_n "checking for GNU ld... " >&6; }
   5729 else
   5730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5731 $as_echo_n "checking for non-GNU ld... " >&6; }
   5732 fi
   5733 if ${lt_cv_path_LD+:} false; then :
   5734   $as_echo_n "(cached) " >&6
   5735 else
   5736   if test -z "$LD"; then
   5737   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5738   for ac_dir in $PATH; do
   5739     IFS="$lt_save_ifs"
   5740     test -z "$ac_dir" && ac_dir=.
   5741     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5742       lt_cv_path_LD="$ac_dir/$ac_prog"
   5743       # Check to see if the program is GNU ld.  I'd rather use --version,
   5744       # but apparently some variants of GNU ld only accept -v.
   5745       # Break only if it was the GNU/non-GNU ld that we prefer.
   5746       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5747       *GNU* | *'with BFD'*)
   5748 	test "$with_gnu_ld" != no && break
   5749 	;;
   5750       *)
   5751 	test "$with_gnu_ld" != yes && break
   5752 	;;
   5753       esac
   5754     fi
   5755   done
   5756   IFS="$lt_save_ifs"
   5757 else
   5758   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5759 fi
   5760 fi
   5761 
   5762 LD="$lt_cv_path_LD"
   5763 if test -n "$LD"; then
   5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5765 $as_echo "$LD" >&6; }
   5766 else
   5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5768 $as_echo "no" >&6; }
   5769 fi
   5770 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5772 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5773 if ${lt_cv_prog_gnu_ld+:} false; then :
   5774   $as_echo_n "(cached) " >&6
   5775 else
   5776   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5777 case `$LD -v 2>&1 </dev/null` in
   5778 *GNU* | *'with BFD'*)
   5779   lt_cv_prog_gnu_ld=yes
   5780   ;;
   5781 *)
   5782   lt_cv_prog_gnu_ld=no
   5783   ;;
   5784 esac
   5785 fi
   5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5787 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5788 with_gnu_ld=$lt_cv_prog_gnu_ld
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5799 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5800 if ${lt_cv_path_NM+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   if test -n "$NM"; then
   5804   # Let the user override the test.
   5805   lt_cv_path_NM="$NM"
   5806 else
   5807   lt_nm_to_check="${ac_tool_prefix}nm"
   5808   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5809     lt_nm_to_check="$lt_nm_to_check nm"
   5810   fi
   5811   for lt_tmp_nm in $lt_nm_to_check; do
   5812     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5813     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5814       IFS="$lt_save_ifs"
   5815       test -z "$ac_dir" && ac_dir=.
   5816       tmp_nm="$ac_dir/$lt_tmp_nm"
   5817       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5818 	# Check to see if the nm accepts a BSD-compat flag.
   5819 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5820 	#   nm: unknown option "B" ignored
   5821 	# Tru64's nm complains that /dev/null is an invalid object file
   5822 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5823 	*/dev/null* | *'Invalid file or object type'*)
   5824 	  lt_cv_path_NM="$tmp_nm -B"
   5825 	  break
   5826 	  ;;
   5827 	*)
   5828 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5829 	  */dev/null*)
   5830 	    lt_cv_path_NM="$tmp_nm -p"
   5831 	    break
   5832 	    ;;
   5833 	  *)
   5834 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5835 	    continue # so that we can try to find one that supports BSD flags
   5836 	    ;;
   5837 	  esac
   5838 	  ;;
   5839 	esac
   5840       fi
   5841     done
   5842     IFS="$lt_save_ifs"
   5843   done
   5844   : ${lt_cv_path_NM=no}
   5845 fi
   5846 fi
   5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5848 $as_echo "$lt_cv_path_NM" >&6; }
   5849 if test "$lt_cv_path_NM" != "no"; then
   5850   NM="$lt_cv_path_NM"
   5851 else
   5852   # Didn't find any BSD compatible name lister, look for dumpbin.
   5853   if test -n "$DUMPBIN"; then :
   5854     # Let the user override the test.
   5855   else
   5856     if test -n "$ac_tool_prefix"; then
   5857   for ac_prog in dumpbin "link -dump"
   5858   do
   5859     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5862 $as_echo_n "checking for $ac_word... " >&6; }
   5863 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5864   $as_echo_n "(cached) " >&6
   5865 else
   5866   if test -n "$DUMPBIN"; then
   5867   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5868 else
   5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5870 for as_dir in $PATH
   5871 do
   5872   IFS=$as_save_IFS
   5873   test -z "$as_dir" && as_dir=.
   5874     for ac_exec_ext in '' $ac_executable_extensions; do
   5875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5876     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5878     break 2
   5879   fi
   5880 done
   5881   done
   5882 IFS=$as_save_IFS
   5883 
   5884 fi
   5885 fi
   5886 DUMPBIN=$ac_cv_prog_DUMPBIN
   5887 if test -n "$DUMPBIN"; then
   5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5889 $as_echo "$DUMPBIN" >&6; }
   5890 else
   5891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5892 $as_echo "no" >&6; }
   5893 fi
   5894 
   5895 
   5896     test -n "$DUMPBIN" && break
   5897   done
   5898 fi
   5899 if test -z "$DUMPBIN"; then
   5900   ac_ct_DUMPBIN=$DUMPBIN
   5901   for ac_prog in dumpbin "link -dump"
   5902 do
   5903   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5904 set dummy $ac_prog; ac_word=$2
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5906 $as_echo_n "checking for $ac_word... " >&6; }
   5907 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910   if test -n "$ac_ct_DUMPBIN"; then
   5911   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5912 else
   5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5914 for as_dir in $PATH
   5915 do
   5916   IFS=$as_save_IFS
   5917   test -z "$as_dir" && as_dir=.
   5918     for ac_exec_ext in '' $ac_executable_extensions; do
   5919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5920     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5922     break 2
   5923   fi
   5924 done
   5925   done
   5926 IFS=$as_save_IFS
   5927 
   5928 fi
   5929 fi
   5930 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5931 if test -n "$ac_ct_DUMPBIN"; then
   5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5933 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5934 else
   5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5936 $as_echo "no" >&6; }
   5937 fi
   5938 
   5939 
   5940   test -n "$ac_ct_DUMPBIN" && break
   5941 done
   5942 
   5943   if test "x$ac_ct_DUMPBIN" = x; then
   5944     DUMPBIN=":"
   5945   else
   5946     case $cross_compiling:$ac_tool_warned in
   5947 yes:)
   5948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5950 ac_tool_warned=yes ;;
   5951 esac
   5952     DUMPBIN=$ac_ct_DUMPBIN
   5953   fi
   5954 fi
   5955 
   5956     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5957     *COFF*)
   5958       DUMPBIN="$DUMPBIN -symbols"
   5959       ;;
   5960     *)
   5961       DUMPBIN=:
   5962       ;;
   5963     esac
   5964   fi
   5965 
   5966   if test "$DUMPBIN" != ":"; then
   5967     NM="$DUMPBIN"
   5968   fi
   5969 fi
   5970 test -z "$NM" && NM=nm
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5978 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5979 if ${lt_cv_nm_interface+:} false; then :
   5980   $as_echo_n "(cached) " >&6
   5981 else
   5982   lt_cv_nm_interface="BSD nm"
   5983   echo "int some_variable = 0;" > conftest.$ac_ext
   5984   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5985   (eval "$ac_compile" 2>conftest.err)
   5986   cat conftest.err >&5
   5987   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5988   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5989   cat conftest.err >&5
   5990   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5991   cat conftest.out >&5
   5992   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5993     lt_cv_nm_interface="MS dumpbin"
   5994   fi
   5995   rm -f conftest*
   5996 fi
   5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5998 $as_echo "$lt_cv_nm_interface" >&6; }
   5999 
   6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6001 $as_echo_n "checking whether ln -s works... " >&6; }
   6002 LN_S=$as_ln_s
   6003 if test "$LN_S" = "ln -s"; then
   6004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6005 $as_echo "yes" >&6; }
   6006 else
   6007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6008 $as_echo "no, using $LN_S" >&6; }
   6009 fi
   6010 
   6011 # find the maximum length of command line arguments
   6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6013 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6014 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017     i=0
   6018   teststring="ABCD"
   6019 
   6020   case $build_os in
   6021   msdosdjgpp*)
   6022     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6023     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6024     # during glob expansion).  Even if it were fixed, the result of this
   6025     # check would be larger than it should be.
   6026     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6027     ;;
   6028 
   6029   gnu*)
   6030     # Under GNU Hurd, this test is not required because there is
   6031     # no limit to the length of command line arguments.
   6032     # Libtool will interpret -1 as no limit whatsoever
   6033     lt_cv_sys_max_cmd_len=-1;
   6034     ;;
   6035 
   6036   cygwin* | mingw* | cegcc*)
   6037     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6038     # about 5 minutes as the teststring grows exponentially.
   6039     # Worse, since 9x/ME are not pre-emptively multitasking,
   6040     # you end up with a "frozen" computer, even though with patience
   6041     # the test eventually succeeds (with a max line length of 256k).
   6042     # Instead, let's just punt: use the minimum linelength reported by
   6043     # all of the supported platforms: 8192 (on NT/2K/XP).
   6044     lt_cv_sys_max_cmd_len=8192;
   6045     ;;
   6046 
   6047   mint*)
   6048     # On MiNT this can take a long time and run out of memory.
   6049     lt_cv_sys_max_cmd_len=8192;
   6050     ;;
   6051 
   6052   amigaos*)
   6053     # On AmigaOS with pdksh, this test takes hours, literally.
   6054     # So we just punt and use a minimum line length of 8192.
   6055     lt_cv_sys_max_cmd_len=8192;
   6056     ;;
   6057 
   6058   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6059     # This has been around since 386BSD, at least.  Likely further.
   6060     if test -x /sbin/sysctl; then
   6061       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6062     elif test -x /usr/sbin/sysctl; then
   6063       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6064     else
   6065       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6066     fi
   6067     # And add a safety zone
   6068     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6069     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6070     ;;
   6071 
   6072   interix*)
   6073     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6074     lt_cv_sys_max_cmd_len=196608
   6075     ;;
   6076 
   6077   osf*)
   6078     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6079     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6080     # nice to cause kernel panics so lets avoid the loop below.
   6081     # First set a reasonable default.
   6082     lt_cv_sys_max_cmd_len=16384
   6083     #
   6084     if test -x /sbin/sysconfig; then
   6085       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6086         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6087       esac
   6088     fi
   6089     ;;
   6090   sco3.2v5*)
   6091     lt_cv_sys_max_cmd_len=102400
   6092     ;;
   6093   sysv5* | sco5v6* | sysv4.2uw2*)
   6094     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6095     if test -n "$kargmax"; then
   6096       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6097     else
   6098       lt_cv_sys_max_cmd_len=32768
   6099     fi
   6100     ;;
   6101   *)
   6102     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6103     if test -n "$lt_cv_sys_max_cmd_len"; then
   6104       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6105       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6106     else
   6107       # Make teststring a little bigger before we do anything with it.
   6108       # a 1K string should be a reasonable start.
   6109       for i in 1 2 3 4 5 6 7 8 ; do
   6110         teststring=$teststring$teststring
   6111       done
   6112       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6113       # If test is not a shell built-in, we'll probably end up computing a
   6114       # maximum length that is only half of the actual maximum length, but
   6115       # we can't tell.
   6116       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6117 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6118 	      test $i != 17 # 1/2 MB should be enough
   6119       do
   6120         i=`expr $i + 1`
   6121         teststring=$teststring$teststring
   6122       done
   6123       # Only check the string length outside the loop.
   6124       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6125       teststring=
   6126       # Add a significant safety factor because C++ compilers can tack on
   6127       # massive amounts of additional arguments before passing them to the
   6128       # linker.  It appears as though 1/2 is a usable value.
   6129       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6130     fi
   6131     ;;
   6132   esac
   6133 
   6134 fi
   6135 
   6136 if test -n $lt_cv_sys_max_cmd_len ; then
   6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6138 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6139 else
   6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6141 $as_echo "none" >&6; }
   6142 fi
   6143 max_cmd_len=$lt_cv_sys_max_cmd_len
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 : ${CP="cp -f"}
   6151 : ${MV="mv -f"}
   6152 : ${RM="rm -f"}
   6153 
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6155 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6156 # Try some XSI features
   6157 xsi_shell=no
   6158 ( _lt_dummy="a/b/c"
   6159   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6160       = c,a/b,, \
   6161     && eval 'test $(( 1 + 1 )) -eq 2 \
   6162     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6163   && xsi_shell=yes
   6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6165 $as_echo "$xsi_shell" >&6; }
   6166 
   6167 
   6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6169 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6170 lt_shell_append=no
   6171 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6172     >/dev/null 2>&1 \
   6173   && lt_shell_append=yes
   6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6175 $as_echo "$lt_shell_append" >&6; }
   6176 
   6177 
   6178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6179   lt_unset=unset
   6180 else
   6181   lt_unset=false
   6182 fi
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 # test EBCDIC or ASCII
   6189 case `echo X|tr X '\101'` in
   6190  A) # ASCII based system
   6191     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6192   lt_SP2NL='tr \040 \012'
   6193   lt_NL2SP='tr \015\012 \040\040'
   6194   ;;
   6195  *) # EBCDIC based system
   6196   lt_SP2NL='tr \100 \n'
   6197   lt_NL2SP='tr \r\n \100\100'
   6198   ;;
   6199 esac
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6210 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6211 if ${lt_cv_ld_reload_flag+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   lt_cv_ld_reload_flag='-r'
   6215 fi
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6217 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6218 reload_flag=$lt_cv_ld_reload_flag
   6219 case $reload_flag in
   6220 "" | " "*) ;;
   6221 *) reload_flag=" $reload_flag" ;;
   6222 esac
   6223 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6224 case $host_os in
   6225   darwin*)
   6226     if test "$GCC" = yes; then
   6227       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6228     else
   6229       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6230     fi
   6231     ;;
   6232 esac
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 if test -n "$ac_tool_prefix"; then
   6243   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6244 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6246 $as_echo_n "checking for $ac_word... " >&6; }
   6247 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   if test -n "$OBJDUMP"; then
   6251   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6252 else
   6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6254 for as_dir in $PATH
   6255 do
   6256   IFS=$as_save_IFS
   6257   test -z "$as_dir" && as_dir=.
   6258     for ac_exec_ext in '' $ac_executable_extensions; do
   6259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6260     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6262     break 2
   6263   fi
   6264 done
   6265   done
   6266 IFS=$as_save_IFS
   6267 
   6268 fi
   6269 fi
   6270 OBJDUMP=$ac_cv_prog_OBJDUMP
   6271 if test -n "$OBJDUMP"; then
   6272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6273 $as_echo "$OBJDUMP" >&6; }
   6274 else
   6275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6276 $as_echo "no" >&6; }
   6277 fi
   6278 
   6279 
   6280 fi
   6281 if test -z "$ac_cv_prog_OBJDUMP"; then
   6282   ac_ct_OBJDUMP=$OBJDUMP
   6283   # Extract the first word of "objdump", so it can be a program name with args.
   6284 set dummy objdump; ac_word=$2
   6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6286 $as_echo_n "checking for $ac_word... " >&6; }
   6287 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6288   $as_echo_n "(cached) " >&6
   6289 else
   6290   if test -n "$ac_ct_OBJDUMP"; then
   6291   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6292 else
   6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6294 for as_dir in $PATH
   6295 do
   6296   IFS=$as_save_IFS
   6297   test -z "$as_dir" && as_dir=.
   6298     for ac_exec_ext in '' $ac_executable_extensions; do
   6299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6300     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6302     break 2
   6303   fi
   6304 done
   6305   done
   6306 IFS=$as_save_IFS
   6307 
   6308 fi
   6309 fi
   6310 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6311 if test -n "$ac_ct_OBJDUMP"; then
   6312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6313 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6314 else
   6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6316 $as_echo "no" >&6; }
   6317 fi
   6318 
   6319   if test "x$ac_ct_OBJDUMP" = x; then
   6320     OBJDUMP="false"
   6321   else
   6322     case $cross_compiling:$ac_tool_warned in
   6323 yes:)
   6324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6326 ac_tool_warned=yes ;;
   6327 esac
   6328     OBJDUMP=$ac_ct_OBJDUMP
   6329   fi
   6330 else
   6331   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6332 fi
   6333 
   6334 test -z "$OBJDUMP" && OBJDUMP=objdump
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6345 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6346 if ${lt_cv_deplibs_check_method+:} false; then :
   6347   $as_echo_n "(cached) " >&6
   6348 else
   6349   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6350 lt_cv_file_magic_test_file=
   6351 lt_cv_deplibs_check_method='unknown'
   6352 # Need to set the preceding variable on all platforms that support
   6353 # interlibrary dependencies.
   6354 # 'none' -- dependencies not supported.
   6355 # `unknown' -- same as none, but documents that we really don't know.
   6356 # 'pass_all' -- all dependencies passed with no checks.
   6357 # 'test_compile' -- check by making test program.
   6358 # 'file_magic [[regex]]' -- check by looking for files in library path
   6359 # which responds to the $file_magic_cmd with a given extended regex.
   6360 # If you have `file' or equivalent on your system and you're not sure
   6361 # whether `pass_all' will *always* work, you probably want this one.
   6362 
   6363 case $host_os in
   6364 aix[4-9]*)
   6365   lt_cv_deplibs_check_method=pass_all
   6366   ;;
   6367 
   6368 beos*)
   6369   lt_cv_deplibs_check_method=pass_all
   6370   ;;
   6371 
   6372 bsdi[45]*)
   6373   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6374   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6375   lt_cv_file_magic_test_file=/shlib/libc.so
   6376   ;;
   6377 
   6378 cygwin*)
   6379   # func_win32_libid is a shell function defined in ltmain.sh
   6380   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6381   lt_cv_file_magic_cmd='func_win32_libid'
   6382   ;;
   6383 
   6384 mingw* | pw32*)
   6385   # Base MSYS/MinGW do not provide the 'file' command needed by
   6386   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6387   # unless we find 'file', for example because we are cross-compiling.
   6388   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6389   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6390     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6391     lt_cv_file_magic_cmd='func_win32_libid'
   6392   else
   6393     # Keep this pattern in sync with the one in func_win32_libid.
   6394     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6395     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6396   fi
   6397   ;;
   6398 
   6399 cegcc*)
   6400   # use the weaker test based on 'objdump'. See mingw*.
   6401   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6402   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6403   ;;
   6404 
   6405 darwin* | rhapsody*)
   6406   lt_cv_deplibs_check_method=pass_all
   6407   ;;
   6408 
   6409 freebsd* | dragonfly*)
   6410   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6411     case $host_cpu in
   6412     i*86 )
   6413       # Not sure whether the presence of OpenBSD here was a mistake.
   6414       # Let's accept both of them until this is cleared up.
   6415       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6416       lt_cv_file_magic_cmd=/usr/bin/file
   6417       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6418       ;;
   6419     esac
   6420   else
   6421     lt_cv_deplibs_check_method=pass_all
   6422   fi
   6423   ;;
   6424 
   6425 gnu*)
   6426   lt_cv_deplibs_check_method=pass_all
   6427   ;;
   6428 
   6429 haiku*)
   6430   lt_cv_deplibs_check_method=pass_all
   6431   ;;
   6432 
   6433 hpux10.20* | hpux11*)
   6434   lt_cv_file_magic_cmd=/usr/bin/file
   6435   case $host_cpu in
   6436   ia64*)
   6437     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6438     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6439     ;;
   6440   hppa*64*)
   6441     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   6442     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6443     ;;
   6444   *)
   6445     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6446     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6447     ;;
   6448   esac
   6449   ;;
   6450 
   6451 interix[3-9]*)
   6452   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6453   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6454   ;;
   6455 
   6456 irix5* | irix6* | nonstopux*)
   6457   case $LD in
   6458   *-32|*"-32 ") libmagic=32-bit;;
   6459   *-n32|*"-n32 ") libmagic=N32;;
   6460   *-64|*"-64 ") libmagic=64-bit;;
   6461   *) libmagic=never-match;;
   6462   esac
   6463   lt_cv_deplibs_check_method=pass_all
   6464   ;;
   6465 
   6466 # This must be Linux ELF.
   6467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6468   lt_cv_deplibs_check_method=pass_all
   6469   ;;
   6470 
   6471 netbsd*)
   6472   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6473     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6474   else
   6475     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6476   fi
   6477   ;;
   6478 
   6479 newos6*)
   6480   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6481   lt_cv_file_magic_cmd=/usr/bin/file
   6482   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6483   ;;
   6484 
   6485 *nto* | *qnx*)
   6486   lt_cv_deplibs_check_method=pass_all
   6487   ;;
   6488 
   6489 openbsd*)
   6490   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6491     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6492   else
   6493     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6494   fi
   6495   ;;
   6496 
   6497 osf3* | osf4* | osf5*)
   6498   lt_cv_deplibs_check_method=pass_all
   6499   ;;
   6500 
   6501 rdos*)
   6502   lt_cv_deplibs_check_method=pass_all
   6503   ;;
   6504 
   6505 solaris*)
   6506   lt_cv_deplibs_check_method=pass_all
   6507   ;;
   6508 
   6509 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6510   lt_cv_deplibs_check_method=pass_all
   6511   ;;
   6512 
   6513 sysv4 | sysv4.3*)
   6514   case $host_vendor in
   6515   motorola)
   6516     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]'
   6517     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6518     ;;
   6519   ncr)
   6520     lt_cv_deplibs_check_method=pass_all
   6521     ;;
   6522   sequent)
   6523     lt_cv_file_magic_cmd='/bin/file'
   6524     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6525     ;;
   6526   sni)
   6527     lt_cv_file_magic_cmd='/bin/file'
   6528     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6529     lt_cv_file_magic_test_file=/lib/libc.so
   6530     ;;
   6531   siemens)
   6532     lt_cv_deplibs_check_method=pass_all
   6533     ;;
   6534   pc)
   6535     lt_cv_deplibs_check_method=pass_all
   6536     ;;
   6537   esac
   6538   ;;
   6539 
   6540 tpf*)
   6541   lt_cv_deplibs_check_method=pass_all
   6542   ;;
   6543 esac
   6544 
   6545 fi
   6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6547 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6548 file_magic_cmd=$lt_cv_file_magic_cmd
   6549 deplibs_check_method=$lt_cv_deplibs_check_method
   6550 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 if test -n "$ac_tool_prefix"; then
   6564   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6565 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6567 $as_echo_n "checking for $ac_word... " >&6; }
   6568 if ${ac_cv_prog_AR+:} false; then :
   6569   $as_echo_n "(cached) " >&6
   6570 else
   6571   if test -n "$AR"; then
   6572   ac_cv_prog_AR="$AR" # Let the user override the test.
   6573 else
   6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6575 for as_dir in $PATH
   6576 do
   6577   IFS=$as_save_IFS
   6578   test -z "$as_dir" && as_dir=.
   6579     for ac_exec_ext in '' $ac_executable_extensions; do
   6580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6581     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6583     break 2
   6584   fi
   6585 done
   6586   done
   6587 IFS=$as_save_IFS
   6588 
   6589 fi
   6590 fi
   6591 AR=$ac_cv_prog_AR
   6592 if test -n "$AR"; then
   6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6594 $as_echo "$AR" >&6; }
   6595 else
   6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6597 $as_echo "no" >&6; }
   6598 fi
   6599 
   6600 
   6601 fi
   6602 if test -z "$ac_cv_prog_AR"; then
   6603   ac_ct_AR=$AR
   6604   # Extract the first word of "ar", so it can be a program name with args.
   6605 set dummy ar; ac_word=$2
   6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6607 $as_echo_n "checking for $ac_word... " >&6; }
   6608 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   if test -n "$ac_ct_AR"; then
   6612   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6613 else
   6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6615 for as_dir in $PATH
   6616 do
   6617   IFS=$as_save_IFS
   6618   test -z "$as_dir" && as_dir=.
   6619     for ac_exec_ext in '' $ac_executable_extensions; do
   6620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6621     ac_cv_prog_ac_ct_AR="ar"
   6622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6623     break 2
   6624   fi
   6625 done
   6626   done
   6627 IFS=$as_save_IFS
   6628 
   6629 fi
   6630 fi
   6631 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6632 if test -n "$ac_ct_AR"; then
   6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6634 $as_echo "$ac_ct_AR" >&6; }
   6635 else
   6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6637 $as_echo "no" >&6; }
   6638 fi
   6639 
   6640   if test "x$ac_ct_AR" = x; then
   6641     AR="false"
   6642   else
   6643     case $cross_compiling:$ac_tool_warned in
   6644 yes:)
   6645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6647 ac_tool_warned=yes ;;
   6648 esac
   6649     AR=$ac_ct_AR
   6650   fi
   6651 else
   6652   AR="$ac_cv_prog_AR"
   6653 fi
   6654 
   6655 test -z "$AR" && AR=ar
   6656 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 if test -n "$ac_tool_prefix"; then
   6669   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6670 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6672 $as_echo_n "checking for $ac_word... " >&6; }
   6673 if ${ac_cv_prog_STRIP+:} false; then :
   6674   $as_echo_n "(cached) " >&6
   6675 else
   6676   if test -n "$STRIP"; then
   6677   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6678 else
   6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6680 for as_dir in $PATH
   6681 do
   6682   IFS=$as_save_IFS
   6683   test -z "$as_dir" && as_dir=.
   6684     for ac_exec_ext in '' $ac_executable_extensions; do
   6685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6686     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6688     break 2
   6689   fi
   6690 done
   6691   done
   6692 IFS=$as_save_IFS
   6693 
   6694 fi
   6695 fi
   6696 STRIP=$ac_cv_prog_STRIP
   6697 if test -n "$STRIP"; then
   6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6699 $as_echo "$STRIP" >&6; }
   6700 else
   6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6702 $as_echo "no" >&6; }
   6703 fi
   6704 
   6705 
   6706 fi
   6707 if test -z "$ac_cv_prog_STRIP"; then
   6708   ac_ct_STRIP=$STRIP
   6709   # Extract the first word of "strip", so it can be a program name with args.
   6710 set dummy strip; ac_word=$2
   6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6712 $as_echo_n "checking for $ac_word... " >&6; }
   6713 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6714   $as_echo_n "(cached) " >&6
   6715 else
   6716   if test -n "$ac_ct_STRIP"; then
   6717   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6718 else
   6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6720 for as_dir in $PATH
   6721 do
   6722   IFS=$as_save_IFS
   6723   test -z "$as_dir" && as_dir=.
   6724     for ac_exec_ext in '' $ac_executable_extensions; do
   6725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6726     ac_cv_prog_ac_ct_STRIP="strip"
   6727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6728     break 2
   6729   fi
   6730 done
   6731   done
   6732 IFS=$as_save_IFS
   6733 
   6734 fi
   6735 fi
   6736 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6737 if test -n "$ac_ct_STRIP"; then
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6739 $as_echo "$ac_ct_STRIP" >&6; }
   6740 else
   6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6742 $as_echo "no" >&6; }
   6743 fi
   6744 
   6745   if test "x$ac_ct_STRIP" = x; then
   6746     STRIP=":"
   6747   else
   6748     case $cross_compiling:$ac_tool_warned in
   6749 yes:)
   6750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6752 ac_tool_warned=yes ;;
   6753 esac
   6754     STRIP=$ac_ct_STRIP
   6755   fi
   6756 else
   6757   STRIP="$ac_cv_prog_STRIP"
   6758 fi
   6759 
   6760 test -z "$STRIP" && STRIP=:
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 if test -n "$ac_tool_prefix"; then
   6768   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6771 $as_echo_n "checking for $ac_word... " >&6; }
   6772 if ${ac_cv_prog_RANLIB+:} false; then :
   6773   $as_echo_n "(cached) " >&6
   6774 else
   6775   if test -n "$RANLIB"; then
   6776   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6777 else
   6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6779 for as_dir in $PATH
   6780 do
   6781   IFS=$as_save_IFS
   6782   test -z "$as_dir" && as_dir=.
   6783     for ac_exec_ext in '' $ac_executable_extensions; do
   6784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6785     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6787     break 2
   6788   fi
   6789 done
   6790   done
   6791 IFS=$as_save_IFS
   6792 
   6793 fi
   6794 fi
   6795 RANLIB=$ac_cv_prog_RANLIB
   6796 if test -n "$RANLIB"; then
   6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6798 $as_echo "$RANLIB" >&6; }
   6799 else
   6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6801 $as_echo "no" >&6; }
   6802 fi
   6803 
   6804 
   6805 fi
   6806 if test -z "$ac_cv_prog_RANLIB"; then
   6807   ac_ct_RANLIB=$RANLIB
   6808   # Extract the first word of "ranlib", so it can be a program name with args.
   6809 set dummy ranlib; ac_word=$2
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6811 $as_echo_n "checking for $ac_word... " >&6; }
   6812 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   if test -n "$ac_ct_RANLIB"; then
   6816   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6817 else
   6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6819 for as_dir in $PATH
   6820 do
   6821   IFS=$as_save_IFS
   6822   test -z "$as_dir" && as_dir=.
   6823     for ac_exec_ext in '' $ac_executable_extensions; do
   6824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6825     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6827     break 2
   6828   fi
   6829 done
   6830   done
   6831 IFS=$as_save_IFS
   6832 
   6833 fi
   6834 fi
   6835 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6836 if test -n "$ac_ct_RANLIB"; then
   6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6838 $as_echo "$ac_ct_RANLIB" >&6; }
   6839 else
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6841 $as_echo "no" >&6; }
   6842 fi
   6843 
   6844   if test "x$ac_ct_RANLIB" = x; then
   6845     RANLIB=":"
   6846   else
   6847     case $cross_compiling:$ac_tool_warned in
   6848 yes:)
   6849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6851 ac_tool_warned=yes ;;
   6852 esac
   6853     RANLIB=$ac_ct_RANLIB
   6854   fi
   6855 else
   6856   RANLIB="$ac_cv_prog_RANLIB"
   6857 fi
   6858 
   6859 test -z "$RANLIB" && RANLIB=:
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 # Determine commands to create old-style static archives.
   6867 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6868 old_postinstall_cmds='chmod 644 $oldlib'
   6869 old_postuninstall_cmds=
   6870 
   6871 if test -n "$RANLIB"; then
   6872   case $host_os in
   6873   openbsd*)
   6874     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6875     ;;
   6876   *)
   6877     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6878     ;;
   6879   esac
   6880   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6881 fi
   6882 
   6883 case $host_os in
   6884   darwin*)
   6885     lock_old_archive_extraction=yes ;;
   6886   *)
   6887     lock_old_archive_extraction=no ;;
   6888 esac
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 # If no C compiler was specified, use CC.
   6929 LTCC=${LTCC-"$CC"}
   6930 
   6931 # If no C compiler flags were specified, use CFLAGS.
   6932 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6933 
   6934 # Allow CC to be a program name with arguments.
   6935 compiler=$CC
   6936 
   6937 
   6938 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6940 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6941 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944 
   6945 # These are sane defaults that work on at least a few old systems.
   6946 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6947 
   6948 # Character class describing NM global symbol codes.
   6949 symcode='[BCDEGRST]'
   6950 
   6951 # Regexp to match symbols that can be accessed directly from C.
   6952 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6953 
   6954 # Define system-specific variables.
   6955 case $host_os in
   6956 aix*)
   6957   symcode='[BCDT]'
   6958   ;;
   6959 cygwin* | mingw* | pw32* | cegcc*)
   6960   symcode='[ABCDGISTW]'
   6961   ;;
   6962 hpux*)
   6963   if test "$host_cpu" = ia64; then
   6964     symcode='[ABCDEGRST]'
   6965   fi
   6966   ;;
   6967 irix* | nonstopux*)
   6968   symcode='[BCDEGRST]'
   6969   ;;
   6970 osf*)
   6971   symcode='[BCDEGQRST]'
   6972   ;;
   6973 solaris*)
   6974   symcode='[BDRT]'
   6975   ;;
   6976 sco3.2v5*)
   6977   symcode='[DT]'
   6978   ;;
   6979 sysv4.2uw2*)
   6980   symcode='[DT]'
   6981   ;;
   6982 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6983   symcode='[ABDT]'
   6984   ;;
   6985 sysv4)
   6986   symcode='[DFNSTU]'
   6987   ;;
   6988 esac
   6989 
   6990 # If we're using GNU nm, then use its standard symbol codes.
   6991 case `$NM -V 2>&1` in
   6992 *GNU* | *'with BFD'*)
   6993   symcode='[ABCDGIRSTW]' ;;
   6994 esac
   6995 
   6996 # Transform an extracted symbol line into a proper C declaration.
   6997 # Some systems (esp. on ia64) link data and code symbols differently,
   6998 # so use this general approach.
   6999 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7000 
   7001 # Transform an extracted symbol line into symbol name and symbol address
   7002 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7003 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'"
   7004 
   7005 # Handle CRLF in mingw tool chain
   7006 opt_cr=
   7007 case $build_os in
   7008 mingw*)
   7009   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7010   ;;
   7011 esac
   7012 
   7013 # Try without a prefix underscore, then with it.
   7014 for ac_symprfx in "" "_"; do
   7015 
   7016   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7017   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7018 
   7019   # Write the raw and C identifiers.
   7020   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7021     # Fake it for dumpbin and say T for any non-static function
   7022     # and D for any global variable.
   7023     # Also find C++ and __fastcall symbols from MSVC++,
   7024     # which start with @ or ?.
   7025     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7026 "     {last_section=section; section=\$ 3};"\
   7027 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7028 "     \$ 0!~/External *\|/{next};"\
   7029 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7030 "     {if(hide[section]) next};"\
   7031 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7032 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7033 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7034 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7035 "     ' prfx=^$ac_symprfx"
   7036   else
   7037     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7038   fi
   7039 
   7040   # Check to see that the pipe works correctly.
   7041   pipe_works=no
   7042 
   7043   rm -f conftest*
   7044   cat > conftest.$ac_ext <<_LT_EOF
   7045 #ifdef __cplusplus
   7046 extern "C" {
   7047 #endif
   7048 char nm_test_var;
   7049 void nm_test_func(void);
   7050 void nm_test_func(void){}
   7051 #ifdef __cplusplus
   7052 }
   7053 #endif
   7054 int main(){nm_test_var='a';nm_test_func();return(0);}
   7055 _LT_EOF
   7056 
   7057   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7058   (eval $ac_compile) 2>&5
   7059   ac_status=$?
   7060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7061   test $ac_status = 0; }; then
   7062     # Now try to grab the symbols.
   7063     nlist=conftest.nm
   7064     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7065   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7066   ac_status=$?
   7067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7068   test $ac_status = 0; } && test -s "$nlist"; then
   7069       # Try sorting and uniquifying the output.
   7070       if sort "$nlist" | uniq > "$nlist"T; then
   7071 	mv -f "$nlist"T "$nlist"
   7072       else
   7073 	rm -f "$nlist"T
   7074       fi
   7075 
   7076       # Make sure that we snagged all the symbols we need.
   7077       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7078 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7079 	  cat <<_LT_EOF > conftest.$ac_ext
   7080 #ifdef __cplusplus
   7081 extern "C" {
   7082 #endif
   7083 
   7084 _LT_EOF
   7085 	  # Now generate the symbol file.
   7086 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7087 
   7088 	  cat <<_LT_EOF >> conftest.$ac_ext
   7089 
   7090 /* The mapping between symbol names and symbols.  */
   7091 const struct {
   7092   const char *name;
   7093   void       *address;
   7094 }
   7095 lt__PROGRAM__LTX_preloaded_symbols[] =
   7096 {
   7097   { "@PROGRAM@", (void *) 0 },
   7098 _LT_EOF
   7099 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7100 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7101   {0, (void *) 0}
   7102 };
   7103 
   7104 /* This works around a problem in FreeBSD linker */
   7105 #ifdef FREEBSD_WORKAROUND
   7106 static const void *lt_preloaded_setup() {
   7107   return lt__PROGRAM__LTX_preloaded_symbols;
   7108 }
   7109 #endif
   7110 
   7111 #ifdef __cplusplus
   7112 }
   7113 #endif
   7114 _LT_EOF
   7115 	  # Now try linking the two files.
   7116 	  mv conftest.$ac_objext conftstm.$ac_objext
   7117 	  lt_save_LIBS="$LIBS"
   7118 	  lt_save_CFLAGS="$CFLAGS"
   7119 	  LIBS="conftstm.$ac_objext"
   7120 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7121 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7122   (eval $ac_link) 2>&5
   7123   ac_status=$?
   7124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7125   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7126 	    pipe_works=yes
   7127 	  fi
   7128 	  LIBS="$lt_save_LIBS"
   7129 	  CFLAGS="$lt_save_CFLAGS"
   7130 	else
   7131 	  echo "cannot find nm_test_func in $nlist" >&5
   7132 	fi
   7133       else
   7134 	echo "cannot find nm_test_var in $nlist" >&5
   7135       fi
   7136     else
   7137       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7138     fi
   7139   else
   7140     echo "$progname: failed program was:" >&5
   7141     cat conftest.$ac_ext >&5
   7142   fi
   7143   rm -rf conftest* conftst*
   7144 
   7145   # Do not use the global_symbol_pipe unless it works.
   7146   if test "$pipe_works" = yes; then
   7147     break
   7148   else
   7149     lt_cv_sys_global_symbol_pipe=
   7150   fi
   7151 done
   7152 
   7153 fi
   7154 
   7155 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7156   lt_cv_sys_global_symbol_to_cdecl=
   7157 fi
   7158 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7160 $as_echo "failed" >&6; }
   7161 else
   7162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7163 $as_echo "ok" >&6; }
   7164 fi
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 # Check whether --enable-libtool-lock was given.
   7188 if test "${enable_libtool_lock+set}" = set; then :
   7189   enableval=$enable_libtool_lock;
   7190 fi
   7191 
   7192 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7193 
   7194 # Some flags need to be propagated to the compiler or linker for good
   7195 # libtool support.
   7196 case $host in
   7197 ia64-*-hpux*)
   7198   # Find out which ABI we are using.
   7199   echo 'int i;' > conftest.$ac_ext
   7200   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7201   (eval $ac_compile) 2>&5
   7202   ac_status=$?
   7203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7204   test $ac_status = 0; }; then
   7205     case `/usr/bin/file conftest.$ac_objext` in
   7206       *ELF-32*)
   7207 	HPUX_IA64_MODE="32"
   7208 	;;
   7209       *ELF-64*)
   7210 	HPUX_IA64_MODE="64"
   7211 	;;
   7212     esac
   7213   fi
   7214   rm -rf conftest*
   7215   ;;
   7216 *-*-irix6*)
   7217   # Find out which ABI we are using.
   7218   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7219   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7220   (eval $ac_compile) 2>&5
   7221   ac_status=$?
   7222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7223   test $ac_status = 0; }; then
   7224     if test "$lt_cv_prog_gnu_ld" = yes; then
   7225       case `/usr/bin/file conftest.$ac_objext` in
   7226 	*32-bit*)
   7227 	  LD="${LD-ld} -melf32bsmip"
   7228 	  ;;
   7229 	*N32*)
   7230 	  LD="${LD-ld} -melf32bmipn32"
   7231 	  ;;
   7232 	*64-bit*)
   7233 	  LD="${LD-ld} -melf64bmip"
   7234 	;;
   7235       esac
   7236     else
   7237       case `/usr/bin/file conftest.$ac_objext` in
   7238 	*32-bit*)
   7239 	  LD="${LD-ld} -32"
   7240 	  ;;
   7241 	*N32*)
   7242 	  LD="${LD-ld} -n32"
   7243 	  ;;
   7244 	*64-bit*)
   7245 	  LD="${LD-ld} -64"
   7246 	  ;;
   7247       esac
   7248     fi
   7249   fi
   7250   rm -rf conftest*
   7251   ;;
   7252 
   7253 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   7254 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7255   # Find out which ABI we are using.
   7256   echo 'int i;' > conftest.$ac_ext
   7257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7258   (eval $ac_compile) 2>&5
   7259   ac_status=$?
   7260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7261   test $ac_status = 0; }; then
   7262     case `/usr/bin/file conftest.o` in
   7263       *32-bit*)
   7264 	case $host in
   7265 	  x86_64-*kfreebsd*-gnu)
   7266 	    LD="${LD-ld} -m elf_i386_fbsd"
   7267 	    ;;
   7268 	  x86_64-*linux*)
   7269 	    LD="${LD-ld} -m elf_i386"
   7270 	    ;;
   7271 	  ppc64-*linux*|powerpc64-*linux*)
   7272 	    LD="${LD-ld} -m elf32ppclinux"
   7273 	    ;;
   7274 	  s390x-*linux*)
   7275 	    LD="${LD-ld} -m elf_s390"
   7276 	    ;;
   7277 	  sparc64-*linux*)
   7278 	    LD="${LD-ld} -m elf32_sparc"
   7279 	    ;;
   7280 	esac
   7281 	;;
   7282       *64-bit*)
   7283 	case $host in
   7284 	  x86_64-*kfreebsd*-gnu)
   7285 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7286 	    ;;
   7287 	  x86_64-*linux*)
   7288 	    LD="${LD-ld} -m elf_x86_64"
   7289 	    ;;
   7290 	  ppc*-*linux*|powerpc*-*linux*)
   7291 	    LD="${LD-ld} -m elf64ppc"
   7292 	    ;;
   7293 	  s390*-*linux*|s390*-*tpf*)
   7294 	    LD="${LD-ld} -m elf64_s390"
   7295 	    ;;
   7296 	  sparc*-*linux*)
   7297 	    LD="${LD-ld} -m elf64_sparc"
   7298 	    ;;
   7299 	esac
   7300 	;;
   7301     esac
   7302   fi
   7303   rm -rf conftest*
   7304   ;;
   7305 
   7306 *-*-sco3.2v5*)
   7307   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7308   SAVE_CFLAGS="$CFLAGS"
   7309   CFLAGS="$CFLAGS -belf"
   7310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7311 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7312 if ${lt_cv_cc_needs_belf+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   ac_ext=c
   7316 ac_cpp='$CPP $CPPFLAGS'
   7317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7320 
   7321      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 
   7324 int
   7325 main ()
   7326 {
   7327 
   7328   ;
   7329   return 0;
   7330 }
   7331 _ACEOF
   7332 if ac_fn_c_try_link "$LINENO"; then :
   7333   lt_cv_cc_needs_belf=yes
   7334 else
   7335   lt_cv_cc_needs_belf=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext \
   7338     conftest$ac_exeext conftest.$ac_ext
   7339      ac_ext=c
   7340 ac_cpp='$CPP $CPPFLAGS'
   7341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7344 
   7345 fi
   7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7347 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7348   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7349     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7350     CFLAGS="$SAVE_CFLAGS"
   7351   fi
   7352   ;;
   7353 sparc*-*solaris*)
   7354   # Find out which ABI we are using.
   7355   echo 'int i;' > conftest.$ac_ext
   7356   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7357   (eval $ac_compile) 2>&5
   7358   ac_status=$?
   7359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7360   test $ac_status = 0; }; then
   7361     case `/usr/bin/file conftest.o` in
   7362     *64-bit*)
   7363       case $lt_cv_prog_gnu_ld in
   7364       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7365       *)
   7366 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7367 	  LD="${LD-ld} -64"
   7368 	fi
   7369 	;;
   7370       esac
   7371       ;;
   7372     esac
   7373   fi
   7374   rm -rf conftest*
   7375   ;;
   7376 esac
   7377 
   7378 need_locks="$enable_libtool_lock"
   7379 
   7380 
   7381   case $host_os in
   7382     rhapsody* | darwin*)
   7383     if test -n "$ac_tool_prefix"; then
   7384   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7385 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7387 $as_echo_n "checking for $ac_word... " >&6; }
   7388 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7389   $as_echo_n "(cached) " >&6
   7390 else
   7391   if test -n "$DSYMUTIL"; then
   7392   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7393 else
   7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7395 for as_dir in $PATH
   7396 do
   7397   IFS=$as_save_IFS
   7398   test -z "$as_dir" && as_dir=.
   7399     for ac_exec_ext in '' $ac_executable_extensions; do
   7400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7401     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7403     break 2
   7404   fi
   7405 done
   7406   done
   7407 IFS=$as_save_IFS
   7408 
   7409 fi
   7410 fi
   7411 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7412 if test -n "$DSYMUTIL"; then
   7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7414 $as_echo "$DSYMUTIL" >&6; }
   7415 else
   7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7417 $as_echo "no" >&6; }
   7418 fi
   7419 
   7420 
   7421 fi
   7422 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7423   ac_ct_DSYMUTIL=$DSYMUTIL
   7424   # Extract the first word of "dsymutil", so it can be a program name with args.
   7425 set dummy dsymutil; ac_word=$2
   7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7427 $as_echo_n "checking for $ac_word... " >&6; }
   7428 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7429   $as_echo_n "(cached) " >&6
   7430 else
   7431   if test -n "$ac_ct_DSYMUTIL"; then
   7432   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7433 else
   7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7435 for as_dir in $PATH
   7436 do
   7437   IFS=$as_save_IFS
   7438   test -z "$as_dir" && as_dir=.
   7439     for ac_exec_ext in '' $ac_executable_extensions; do
   7440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7441     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7443     break 2
   7444   fi
   7445 done
   7446   done
   7447 IFS=$as_save_IFS
   7448 
   7449 fi
   7450 fi
   7451 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7452 if test -n "$ac_ct_DSYMUTIL"; then
   7453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7454 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7455 else
   7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7457 $as_echo "no" >&6; }
   7458 fi
   7459 
   7460   if test "x$ac_ct_DSYMUTIL" = x; then
   7461     DSYMUTIL=":"
   7462   else
   7463     case $cross_compiling:$ac_tool_warned in
   7464 yes:)
   7465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7467 ac_tool_warned=yes ;;
   7468 esac
   7469     DSYMUTIL=$ac_ct_DSYMUTIL
   7470   fi
   7471 else
   7472   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7473 fi
   7474 
   7475     if test -n "$ac_tool_prefix"; then
   7476   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7477 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7479 $as_echo_n "checking for $ac_word... " >&6; }
   7480 if ${ac_cv_prog_NMEDIT+:} false; then :
   7481   $as_echo_n "(cached) " >&6
   7482 else
   7483   if test -n "$NMEDIT"; then
   7484   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7485 else
   7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7487 for as_dir in $PATH
   7488 do
   7489   IFS=$as_save_IFS
   7490   test -z "$as_dir" && as_dir=.
   7491     for ac_exec_ext in '' $ac_executable_extensions; do
   7492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7493     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7495     break 2
   7496   fi
   7497 done
   7498   done
   7499 IFS=$as_save_IFS
   7500 
   7501 fi
   7502 fi
   7503 NMEDIT=$ac_cv_prog_NMEDIT
   7504 if test -n "$NMEDIT"; then
   7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7506 $as_echo "$NMEDIT" >&6; }
   7507 else
   7508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7509 $as_echo "no" >&6; }
   7510 fi
   7511 
   7512 
   7513 fi
   7514 if test -z "$ac_cv_prog_NMEDIT"; then
   7515   ac_ct_NMEDIT=$NMEDIT
   7516   # Extract the first word of "nmedit", so it can be a program name with args.
   7517 set dummy nmedit; ac_word=$2
   7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7519 $as_echo_n "checking for $ac_word... " >&6; }
   7520 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523   if test -n "$ac_ct_NMEDIT"; then
   7524   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7525 else
   7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7527 for as_dir in $PATH
   7528 do
   7529   IFS=$as_save_IFS
   7530   test -z "$as_dir" && as_dir=.
   7531     for ac_exec_ext in '' $ac_executable_extensions; do
   7532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7533     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7535     break 2
   7536   fi
   7537 done
   7538   done
   7539 IFS=$as_save_IFS
   7540 
   7541 fi
   7542 fi
   7543 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7544 if test -n "$ac_ct_NMEDIT"; then
   7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7546 $as_echo "$ac_ct_NMEDIT" >&6; }
   7547 else
   7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7549 $as_echo "no" >&6; }
   7550 fi
   7551 
   7552   if test "x$ac_ct_NMEDIT" = x; then
   7553     NMEDIT=":"
   7554   else
   7555     case $cross_compiling:$ac_tool_warned in
   7556 yes:)
   7557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7559 ac_tool_warned=yes ;;
   7560 esac
   7561     NMEDIT=$ac_ct_NMEDIT
   7562   fi
   7563 else
   7564   NMEDIT="$ac_cv_prog_NMEDIT"
   7565 fi
   7566 
   7567     if test -n "$ac_tool_prefix"; then
   7568   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7569 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7571 $as_echo_n "checking for $ac_word... " >&6; }
   7572 if ${ac_cv_prog_LIPO+:} false; then :
   7573   $as_echo_n "(cached) " >&6
   7574 else
   7575   if test -n "$LIPO"; then
   7576   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7577 else
   7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7579 for as_dir in $PATH
   7580 do
   7581   IFS=$as_save_IFS
   7582   test -z "$as_dir" && as_dir=.
   7583     for ac_exec_ext in '' $ac_executable_extensions; do
   7584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7585     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7587     break 2
   7588   fi
   7589 done
   7590   done
   7591 IFS=$as_save_IFS
   7592 
   7593 fi
   7594 fi
   7595 LIPO=$ac_cv_prog_LIPO
   7596 if test -n "$LIPO"; then
   7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7598 $as_echo "$LIPO" >&6; }
   7599 else
   7600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7601 $as_echo "no" >&6; }
   7602 fi
   7603 
   7604 
   7605 fi
   7606 if test -z "$ac_cv_prog_LIPO"; then
   7607   ac_ct_LIPO=$LIPO
   7608   # Extract the first word of "lipo", so it can be a program name with args.
   7609 set dummy lipo; ac_word=$2
   7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7611 $as_echo_n "checking for $ac_word... " >&6; }
   7612 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7613   $as_echo_n "(cached) " >&6
   7614 else
   7615   if test -n "$ac_ct_LIPO"; then
   7616   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7617 else
   7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7619 for as_dir in $PATH
   7620 do
   7621   IFS=$as_save_IFS
   7622   test -z "$as_dir" && as_dir=.
   7623     for ac_exec_ext in '' $ac_executable_extensions; do
   7624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7625     ac_cv_prog_ac_ct_LIPO="lipo"
   7626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7627     break 2
   7628   fi
   7629 done
   7630   done
   7631 IFS=$as_save_IFS
   7632 
   7633 fi
   7634 fi
   7635 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7636 if test -n "$ac_ct_LIPO"; then
   7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7638 $as_echo "$ac_ct_LIPO" >&6; }
   7639 else
   7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7641 $as_echo "no" >&6; }
   7642 fi
   7643 
   7644   if test "x$ac_ct_LIPO" = x; then
   7645     LIPO=":"
   7646   else
   7647     case $cross_compiling:$ac_tool_warned in
   7648 yes:)
   7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7651 ac_tool_warned=yes ;;
   7652 esac
   7653     LIPO=$ac_ct_LIPO
   7654   fi
   7655 else
   7656   LIPO="$ac_cv_prog_LIPO"
   7657 fi
   7658 
   7659     if test -n "$ac_tool_prefix"; then
   7660   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7661 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7663 $as_echo_n "checking for $ac_word... " >&6; }
   7664 if ${ac_cv_prog_OTOOL+:} false; then :
   7665   $as_echo_n "(cached) " >&6
   7666 else
   7667   if test -n "$OTOOL"; then
   7668   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7669 else
   7670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7671 for as_dir in $PATH
   7672 do
   7673   IFS=$as_save_IFS
   7674   test -z "$as_dir" && as_dir=.
   7675     for ac_exec_ext in '' $ac_executable_extensions; do
   7676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7677     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7679     break 2
   7680   fi
   7681 done
   7682   done
   7683 IFS=$as_save_IFS
   7684 
   7685 fi
   7686 fi
   7687 OTOOL=$ac_cv_prog_OTOOL
   7688 if test -n "$OTOOL"; then
   7689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7690 $as_echo "$OTOOL" >&6; }
   7691 else
   7692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7693 $as_echo "no" >&6; }
   7694 fi
   7695 
   7696 
   7697 fi
   7698 if test -z "$ac_cv_prog_OTOOL"; then
   7699   ac_ct_OTOOL=$OTOOL
   7700   # Extract the first word of "otool", so it can be a program name with args.
   7701 set dummy otool; ac_word=$2
   7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7703 $as_echo_n "checking for $ac_word... " >&6; }
   7704 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7705   $as_echo_n "(cached) " >&6
   7706 else
   7707   if test -n "$ac_ct_OTOOL"; then
   7708   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7709 else
   7710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7711 for as_dir in $PATH
   7712 do
   7713   IFS=$as_save_IFS
   7714   test -z "$as_dir" && as_dir=.
   7715     for ac_exec_ext in '' $ac_executable_extensions; do
   7716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7717     ac_cv_prog_ac_ct_OTOOL="otool"
   7718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7719     break 2
   7720   fi
   7721 done
   7722   done
   7723 IFS=$as_save_IFS
   7724 
   7725 fi
   7726 fi
   7727 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7728 if test -n "$ac_ct_OTOOL"; then
   7729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7730 $as_echo "$ac_ct_OTOOL" >&6; }
   7731 else
   7732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7733 $as_echo "no" >&6; }
   7734 fi
   7735 
   7736   if test "x$ac_ct_OTOOL" = x; then
   7737     OTOOL=":"
   7738   else
   7739     case $cross_compiling:$ac_tool_warned in
   7740 yes:)
   7741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7743 ac_tool_warned=yes ;;
   7744 esac
   7745     OTOOL=$ac_ct_OTOOL
   7746   fi
   7747 else
   7748   OTOOL="$ac_cv_prog_OTOOL"
   7749 fi
   7750 
   7751     if test -n "$ac_tool_prefix"; then
   7752   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7753 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7755 $as_echo_n "checking for $ac_word... " >&6; }
   7756 if ${ac_cv_prog_OTOOL64+:} false; then :
   7757   $as_echo_n "(cached) " >&6
   7758 else
   7759   if test -n "$OTOOL64"; then
   7760   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7761 else
   7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7763 for as_dir in $PATH
   7764 do
   7765   IFS=$as_save_IFS
   7766   test -z "$as_dir" && as_dir=.
   7767     for ac_exec_ext in '' $ac_executable_extensions; do
   7768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7769     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7771     break 2
   7772   fi
   7773 done
   7774   done
   7775 IFS=$as_save_IFS
   7776 
   7777 fi
   7778 fi
   7779 OTOOL64=$ac_cv_prog_OTOOL64
   7780 if test -n "$OTOOL64"; then
   7781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7782 $as_echo "$OTOOL64" >&6; }
   7783 else
   7784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7785 $as_echo "no" >&6; }
   7786 fi
   7787 
   7788 
   7789 fi
   7790 if test -z "$ac_cv_prog_OTOOL64"; then
   7791   ac_ct_OTOOL64=$OTOOL64
   7792   # Extract the first word of "otool64", so it can be a program name with args.
   7793 set dummy otool64; ac_word=$2
   7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7795 $as_echo_n "checking for $ac_word... " >&6; }
   7796 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7797   $as_echo_n "(cached) " >&6
   7798 else
   7799   if test -n "$ac_ct_OTOOL64"; then
   7800   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7801 else
   7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7803 for as_dir in $PATH
   7804 do
   7805   IFS=$as_save_IFS
   7806   test -z "$as_dir" && as_dir=.
   7807     for ac_exec_ext in '' $ac_executable_extensions; do
   7808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7809     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7811     break 2
   7812   fi
   7813 done
   7814   done
   7815 IFS=$as_save_IFS
   7816 
   7817 fi
   7818 fi
   7819 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7820 if test -n "$ac_ct_OTOOL64"; then
   7821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7822 $as_echo "$ac_ct_OTOOL64" >&6; }
   7823 else
   7824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7825 $as_echo "no" >&6; }
   7826 fi
   7827 
   7828   if test "x$ac_ct_OTOOL64" = x; then
   7829     OTOOL64=":"
   7830   else
   7831     case $cross_compiling:$ac_tool_warned in
   7832 yes:)
   7833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7835 ac_tool_warned=yes ;;
   7836 esac
   7837     OTOOL64=$ac_ct_OTOOL64
   7838   fi
   7839 else
   7840   OTOOL64="$ac_cv_prog_OTOOL64"
   7841 fi
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7870 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7871 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7872   $as_echo_n "(cached) " >&6
   7873 else
   7874   lt_cv_apple_cc_single_mod=no
   7875       if test -z "${LT_MULTI_MODULE}"; then
   7876 	# By default we will add the -single_module flag. You can override
   7877 	# by either setting the environment variable LT_MULTI_MODULE
   7878 	# non-empty at configure time, or by adding -multi_module to the
   7879 	# link flags.
   7880 	rm -rf libconftest.dylib*
   7881 	echo "int foo(void){return 1;}" > conftest.c
   7882 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7883 -dynamiclib -Wl,-single_module conftest.c" >&5
   7884 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7885 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7886         _lt_result=$?
   7887 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7888 	  lt_cv_apple_cc_single_mod=yes
   7889 	else
   7890 	  cat conftest.err >&5
   7891 	fi
   7892 	rm -rf libconftest.dylib*
   7893 	rm -f conftest.*
   7894       fi
   7895 fi
   7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7897 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7899 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7900 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7901   $as_echo_n "(cached) " >&6
   7902 else
   7903   lt_cv_ld_exported_symbols_list=no
   7904       save_LDFLAGS=$LDFLAGS
   7905       echo "_main" > conftest.sym
   7906       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7908 /* end confdefs.h.  */
   7909 
   7910 int
   7911 main ()
   7912 {
   7913 
   7914   ;
   7915   return 0;
   7916 }
   7917 _ACEOF
   7918 if ac_fn_c_try_link "$LINENO"; then :
   7919   lt_cv_ld_exported_symbols_list=yes
   7920 else
   7921   lt_cv_ld_exported_symbols_list=no
   7922 fi
   7923 rm -f core conftest.err conftest.$ac_objext \
   7924     conftest$ac_exeext conftest.$ac_ext
   7925 	LDFLAGS="$save_LDFLAGS"
   7926 
   7927 fi
   7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7929 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7931 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7932 if ${lt_cv_ld_force_load+:} false; then :
   7933   $as_echo_n "(cached) " >&6
   7934 else
   7935   lt_cv_ld_force_load=no
   7936       cat > conftest.c << _LT_EOF
   7937 int forced_loaded() { return 2;}
   7938 _LT_EOF
   7939       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7940       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7941       echo "$AR cru libconftest.a conftest.o" >&5
   7942       $AR cru libconftest.a conftest.o 2>&5
   7943       echo "$RANLIB libconftest.a" >&5
   7944       $RANLIB libconftest.a 2>&5
   7945       cat > conftest.c << _LT_EOF
   7946 int main() { return 0;}
   7947 _LT_EOF
   7948       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7949       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7950       _lt_result=$?
   7951       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7952 	lt_cv_ld_force_load=yes
   7953       else
   7954 	cat conftest.err >&5
   7955       fi
   7956         rm -f conftest.err libconftest.a conftest conftest.c
   7957         rm -rf conftest.dSYM
   7958 
   7959 fi
   7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7961 $as_echo "$lt_cv_ld_force_load" >&6; }
   7962     case $host_os in
   7963     rhapsody* | darwin1.[012])
   7964       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7965     darwin1.*)
   7966       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7967     darwin*) # darwin 5.x on
   7968       # if running on 10.5 or later, the deployment target defaults
   7969       # to the OS version, if on x86, and 10.4, the deployment
   7970       # target defaults to 10.4. Don't you love it?
   7971       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7972 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7973 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7974 	10.[012]*)
   7975 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7976 	10.*)
   7977 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7978       esac
   7979     ;;
   7980   esac
   7981     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7982       _lt_dar_single_mod='$single_module'
   7983     fi
   7984     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7985       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7986     else
   7987       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7988     fi
   7989     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7990       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7991     else
   7992       _lt_dsymutil=
   7993     fi
   7994     ;;
   7995   esac
   7996 
   7997 for ac_header in dlfcn.h
   7998 do :
   7999   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8000 "
   8001 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8002   cat >>confdefs.h <<_ACEOF
   8003 #define HAVE_DLFCN_H 1
   8004 _ACEOF
   8005 
   8006 fi
   8007 
   8008 done
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 # Set options
   8015 
   8016 
   8017 
   8018         enable_dlopen=no
   8019 
   8020 
   8021   enable_win32_dll=no
   8022 
   8023 
   8024             # Check whether --enable-shared was given.
   8025 if test "${enable_shared+set}" = set; then :
   8026   enableval=$enable_shared; p=${PACKAGE-default}
   8027     case $enableval in
   8028     yes) enable_shared=yes ;;
   8029     no) enable_shared=no ;;
   8030     *)
   8031       enable_shared=no
   8032       # Look at the argument we got.  We use all the common list separators.
   8033       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8034       for pkg in $enableval; do
   8035 	IFS="$lt_save_ifs"
   8036 	if test "X$pkg" = "X$p"; then
   8037 	  enable_shared=yes
   8038 	fi
   8039       done
   8040       IFS="$lt_save_ifs"
   8041       ;;
   8042     esac
   8043 else
   8044   enable_shared=yes
   8045 fi
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055   # Check whether --enable-static was given.
   8056 if test "${enable_static+set}" = set; then :
   8057   enableval=$enable_static; p=${PACKAGE-default}
   8058     case $enableval in
   8059     yes) enable_static=yes ;;
   8060     no) enable_static=no ;;
   8061     *)
   8062      enable_static=no
   8063       # Look at the argument we got.  We use all the common list separators.
   8064       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8065       for pkg in $enableval; do
   8066 	IFS="$lt_save_ifs"
   8067 	if test "X$pkg" = "X$p"; then
   8068 	  enable_static=yes
   8069 	fi
   8070       done
   8071       IFS="$lt_save_ifs"
   8072       ;;
   8073     esac
   8074 else
   8075   enable_static=yes
   8076 fi
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 # Check whether --with-pic was given.
   8088 if test "${with_pic+set}" = set; then :
   8089   withval=$with_pic; pic_mode="$withval"
   8090 else
   8091   pic_mode=default
   8092 fi
   8093 
   8094 
   8095 test -z "$pic_mode" && pic_mode=default
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103   # Check whether --enable-fast-install was given.
   8104 if test "${enable_fast_install+set}" = set; then :
   8105   enableval=$enable_fast_install; p=${PACKAGE-default}
   8106     case $enableval in
   8107     yes) enable_fast_install=yes ;;
   8108     no) enable_fast_install=no ;;
   8109     *)
   8110       enable_fast_install=no
   8111       # Look at the argument we got.  We use all the common list separators.
   8112       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8113       for pkg in $enableval; do
   8114 	IFS="$lt_save_ifs"
   8115 	if test "X$pkg" = "X$p"; then
   8116 	  enable_fast_install=yes
   8117 	fi
   8118       done
   8119       IFS="$lt_save_ifs"
   8120       ;;
   8121     esac
   8122 else
   8123   enable_fast_install=yes
   8124 fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 # This can be used to rebuild libtool when needed
   8137 LIBTOOL_DEPS="$ltmain"
   8138 
   8139 # Always use our own libtool.
   8140 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 test -z "$LN_S" && LN_S="ln -s"
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 if test -n "${ZSH_VERSION+set}" ; then
   8183    setopt NO_GLOB_SUBST
   8184 fi
   8185 
   8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8187 $as_echo_n "checking for objdir... " >&6; }
   8188 if ${lt_cv_objdir+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   rm -f .libs 2>/dev/null
   8192 mkdir .libs 2>/dev/null
   8193 if test -d .libs; then
   8194   lt_cv_objdir=.libs
   8195 else
   8196   # MS-DOS does not allow filenames that begin with a dot.
   8197   lt_cv_objdir=_libs
   8198 fi
   8199 rmdir .libs 2>/dev/null
   8200 fi
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8202 $as_echo "$lt_cv_objdir" >&6; }
   8203 objdir=$lt_cv_objdir
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 cat >>confdefs.h <<_ACEOF
   8210 #define LT_OBJDIR "$lt_cv_objdir/"
   8211 _ACEOF
   8212 
   8213 
   8214 
   8215 
   8216 case $host_os in
   8217 aix3*)
   8218   # AIX sometimes has problems with the GCC collect2 program.  For some
   8219   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8220   # vanish in a puff of smoke.
   8221   if test "X${COLLECT_NAMES+set}" != Xset; then
   8222     COLLECT_NAMES=
   8223     export COLLECT_NAMES
   8224   fi
   8225   ;;
   8226 esac
   8227 
   8228 # Global variables:
   8229 ofile=libtool
   8230 can_build_shared=yes
   8231 
   8232 # All known linkers require a `.a' archive for static linking (except MSVC,
   8233 # which needs '.lib').
   8234 libext=a
   8235 
   8236 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8237 
   8238 old_CC="$CC"
   8239 old_CFLAGS="$CFLAGS"
   8240 
   8241 # Set sane defaults for various variables
   8242 test -z "$CC" && CC=cc
   8243 test -z "$LTCC" && LTCC=$CC
   8244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8245 test -z "$LD" && LD=ld
   8246 test -z "$ac_objext" && ac_objext=o
   8247 
   8248 for cc_temp in $compiler""; do
   8249   case $cc_temp in
   8250     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8251     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8252     \-*) ;;
   8253     *) break;;
   8254   esac
   8255 done
   8256 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8257 
   8258 
   8259 # Only perform the check for file, if the check method requires it
   8260 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8261 case $deplibs_check_method in
   8262 file_magic*)
   8263   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8265 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8266 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   case $MAGIC_CMD in
   8270 [\\/*] |  ?:[\\/]*)
   8271   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8272   ;;
   8273 *)
   8274   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8275   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8276   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8277   for ac_dir in $ac_dummy; do
   8278     IFS="$lt_save_ifs"
   8279     test -z "$ac_dir" && ac_dir=.
   8280     if test -f $ac_dir/${ac_tool_prefix}file; then
   8281       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8282       if test -n "$file_magic_test_file"; then
   8283 	case $deplibs_check_method in
   8284 	"file_magic "*)
   8285 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8286 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8287 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8288 	    $EGREP "$file_magic_regex" > /dev/null; then
   8289 	    :
   8290 	  else
   8291 	    cat <<_LT_EOF 1>&2
   8292 
   8293 *** Warning: the command libtool uses to detect shared libraries,
   8294 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8295 *** The result is that libtool may fail to recognize shared libraries
   8296 *** as such.  This will affect the creation of libtool libraries that
   8297 *** depend on shared libraries, but programs linked with such libtool
   8298 *** libraries will work regardless of this problem.  Nevertheless, you
   8299 *** may want to report the problem to your system manager and/or to
   8300 *** bug-libtool@gnu.org
   8301 
   8302 _LT_EOF
   8303 	  fi ;;
   8304 	esac
   8305       fi
   8306       break
   8307     fi
   8308   done
   8309   IFS="$lt_save_ifs"
   8310   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8311   ;;
   8312 esac
   8313 fi
   8314 
   8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8316 if test -n "$MAGIC_CMD"; then
   8317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8318 $as_echo "$MAGIC_CMD" >&6; }
   8319 else
   8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8321 $as_echo "no" >&6; }
   8322 fi
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8329   if test -n "$ac_tool_prefix"; then
   8330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8331 $as_echo_n "checking for file... " >&6; }
   8332 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8333   $as_echo_n "(cached) " >&6
   8334 else
   8335   case $MAGIC_CMD in
   8336 [\\/*] |  ?:[\\/]*)
   8337   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8338   ;;
   8339 *)
   8340   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8341   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8342   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8343   for ac_dir in $ac_dummy; do
   8344     IFS="$lt_save_ifs"
   8345     test -z "$ac_dir" && ac_dir=.
   8346     if test -f $ac_dir/file; then
   8347       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8348       if test -n "$file_magic_test_file"; then
   8349 	case $deplibs_check_method in
   8350 	"file_magic "*)
   8351 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8352 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8353 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8354 	    $EGREP "$file_magic_regex" > /dev/null; then
   8355 	    :
   8356 	  else
   8357 	    cat <<_LT_EOF 1>&2
   8358 
   8359 *** Warning: the command libtool uses to detect shared libraries,
   8360 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8361 *** The result is that libtool may fail to recognize shared libraries
   8362 *** as such.  This will affect the creation of libtool libraries that
   8363 *** depend on shared libraries, but programs linked with such libtool
   8364 *** libraries will work regardless of this problem.  Nevertheless, you
   8365 *** may want to report the problem to your system manager and/or to
   8366 *** bug-libtool@gnu.org
   8367 
   8368 _LT_EOF
   8369 	  fi ;;
   8370 	esac
   8371       fi
   8372       break
   8373     fi
   8374   done
   8375   IFS="$lt_save_ifs"
   8376   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8377   ;;
   8378 esac
   8379 fi
   8380 
   8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8382 if test -n "$MAGIC_CMD"; then
   8383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8384 $as_echo "$MAGIC_CMD" >&6; }
   8385 else
   8386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8387 $as_echo "no" >&6; }
   8388 fi
   8389 
   8390 
   8391   else
   8392     MAGIC_CMD=:
   8393   fi
   8394 fi
   8395 
   8396   fi
   8397   ;;
   8398 esac
   8399 
   8400 # Use C for the default configuration in the libtool script
   8401 
   8402 lt_save_CC="$CC"
   8403 ac_ext=c
   8404 ac_cpp='$CPP $CPPFLAGS'
   8405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8408 
   8409 
   8410 # Source file extension for C test sources.
   8411 ac_ext=c
   8412 
   8413 # Object file extension for compiled C test sources.
   8414 objext=o
   8415 objext=$objext
   8416 
   8417 # Code to be used in simple compile tests
   8418 lt_simple_compile_test_code="int some_variable = 0;"
   8419 
   8420 # Code to be used in simple link tests
   8421 lt_simple_link_test_code='int main(){return(0);}'
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 # If no C compiler was specified, use CC.
   8430 LTCC=${LTCC-"$CC"}
   8431 
   8432 # If no C compiler flags were specified, use CFLAGS.
   8433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8434 
   8435 # Allow CC to be a program name with arguments.
   8436 compiler=$CC
   8437 
   8438 # Save the default compiler, since it gets overwritten when the other
   8439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8440 compiler_DEFAULT=$CC
   8441 
   8442 # save warnings/boilerplate of simple test code
   8443 ac_outfile=conftest.$ac_objext
   8444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8446 _lt_compiler_boilerplate=`cat conftest.err`
   8447 $RM conftest*
   8448 
   8449 ac_outfile=conftest.$ac_objext
   8450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8452 _lt_linker_boilerplate=`cat conftest.err`
   8453 $RM -r conftest*
   8454 
   8455 
   8456 if test -n "$compiler"; then
   8457 
   8458 lt_prog_compiler_no_builtin_flag=
   8459 
   8460 if test "$GCC" = yes; then
   8461   case $cc_basename in
   8462   nvcc*)
   8463     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8464   *)
   8465     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8466   esac
   8467 
   8468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8469 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8470 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   lt_cv_prog_compiler_rtti_exceptions=no
   8474    ac_outfile=conftest.$ac_objext
   8475    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8476    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8477    # Insert the option either (1) after the last *FLAGS variable, or
   8478    # (2) before a word containing "conftest.", or (3) at the end.
   8479    # Note that $ac_compile itself does not contain backslashes and begins
   8480    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8481    # The option is referenced via a variable to avoid confusing sed.
   8482    lt_compile=`echo "$ac_compile" | $SED \
   8483    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8484    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8485    -e 's:$: $lt_compiler_flag:'`
   8486    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8487    (eval "$lt_compile" 2>conftest.err)
   8488    ac_status=$?
   8489    cat conftest.err >&5
   8490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8491    if (exit $ac_status) && test -s "$ac_outfile"; then
   8492      # The compiler can only warn and ignore the option if not recognized
   8493      # So say no if there are warnings other than the usual output.
   8494      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8495      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8496      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8497        lt_cv_prog_compiler_rtti_exceptions=yes
   8498      fi
   8499    fi
   8500    $RM conftest*
   8501 
   8502 fi
   8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8504 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8505 
   8506 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8507     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8508 else
   8509     :
   8510 fi
   8511 
   8512 fi
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519   lt_prog_compiler_wl=
   8520 lt_prog_compiler_pic=
   8521 lt_prog_compiler_static=
   8522 
   8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8524 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8525 
   8526   if test "$GCC" = yes; then
   8527     lt_prog_compiler_wl='-Wl,'
   8528     lt_prog_compiler_static='-static'
   8529 
   8530     case $host_os in
   8531       aix*)
   8532       # All AIX code is PIC.
   8533       if test "$host_cpu" = ia64; then
   8534 	# AIX 5 now supports IA64 processor
   8535 	lt_prog_compiler_static='-Bstatic'
   8536       fi
   8537       ;;
   8538 
   8539     amigaos*)
   8540       case $host_cpu in
   8541       powerpc)
   8542             # see comment about AmigaOS4 .so support
   8543             lt_prog_compiler_pic='-fPIC'
   8544         ;;
   8545       m68k)
   8546             # FIXME: we need at least 68020 code to build shared libraries, but
   8547             # adding the `-m68020' flag to GCC prevents building anything better,
   8548             # like `-m68040'.
   8549             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8550         ;;
   8551       esac
   8552       ;;
   8553 
   8554     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8555       # PIC is the default for these OSes.
   8556       ;;
   8557 
   8558     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8559       # This hack is so that the source file can tell whether it is being
   8560       # built for inclusion in a dll (and should export symbols for example).
   8561       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8562       # (--disable-auto-import) libraries
   8563       lt_prog_compiler_pic='-DDLL_EXPORT'
   8564       ;;
   8565 
   8566     darwin* | rhapsody*)
   8567       # PIC is the default on this platform
   8568       # Common symbols not allowed in MH_DYLIB files
   8569       lt_prog_compiler_pic='-fno-common'
   8570       ;;
   8571 
   8572     haiku*)
   8573       # PIC is the default for Haiku.
   8574       # The "-static" flag exists, but is broken.
   8575       lt_prog_compiler_static=
   8576       ;;
   8577 
   8578     hpux*)
   8579       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8580       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8581       # sets the default TLS model and affects inlining.
   8582       case $host_cpu in
   8583       hppa*64*)
   8584 	# +Z the default
   8585 	;;
   8586       *)
   8587 	lt_prog_compiler_pic='-fPIC'
   8588 	;;
   8589       esac
   8590       ;;
   8591 
   8592     interix[3-9]*)
   8593       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8594       # Instead, we relocate shared libraries at runtime.
   8595       ;;
   8596 
   8597     msdosdjgpp*)
   8598       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8599       # on systems that don't support them.
   8600       lt_prog_compiler_can_build_shared=no
   8601       enable_shared=no
   8602       ;;
   8603 
   8604     *nto* | *qnx*)
   8605       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8606       # it will coredump.
   8607       lt_prog_compiler_pic='-fPIC -shared'
   8608       ;;
   8609 
   8610     sysv4*MP*)
   8611       if test -d /usr/nec; then
   8612 	lt_prog_compiler_pic=-Kconform_pic
   8613       fi
   8614       ;;
   8615 
   8616     *)
   8617       lt_prog_compiler_pic='-fPIC'
   8618       ;;
   8619     esac
   8620 
   8621     case $cc_basename in
   8622     nvcc*) # Cuda Compiler Driver 2.2
   8623       lt_prog_compiler_wl='-Xlinker '
   8624       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8625       ;;
   8626     esac
   8627   else
   8628     # PORTME Check for flag to pass linker flags through the system compiler.
   8629     case $host_os in
   8630     aix*)
   8631       lt_prog_compiler_wl='-Wl,'
   8632       if test "$host_cpu" = ia64; then
   8633 	# AIX 5 now supports IA64 processor
   8634 	lt_prog_compiler_static='-Bstatic'
   8635       else
   8636 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8637       fi
   8638       ;;
   8639 
   8640     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8641       # This hack is so that the source file can tell whether it is being
   8642       # built for inclusion in a dll (and should export symbols for example).
   8643       lt_prog_compiler_pic='-DDLL_EXPORT'
   8644       ;;
   8645 
   8646     hpux9* | hpux10* | hpux11*)
   8647       lt_prog_compiler_wl='-Wl,'
   8648       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8649       # not for PA HP-UX.
   8650       case $host_cpu in
   8651       hppa*64*|ia64*)
   8652 	# +Z the default
   8653 	;;
   8654       *)
   8655 	lt_prog_compiler_pic='+Z'
   8656 	;;
   8657       esac
   8658       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8659       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8660       ;;
   8661 
   8662     irix5* | irix6* | nonstopux*)
   8663       lt_prog_compiler_wl='-Wl,'
   8664       # PIC (with -KPIC) is the default.
   8665       lt_prog_compiler_static='-non_shared'
   8666       ;;
   8667 
   8668     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8669       case $cc_basename in
   8670       # old Intel for x86_64 which still supported -KPIC.
   8671       ecc*)
   8672 	lt_prog_compiler_wl='-Wl,'
   8673 	lt_prog_compiler_pic='-KPIC'
   8674 	lt_prog_compiler_static='-static'
   8675         ;;
   8676       # icc used to be incompatible with GCC.
   8677       # ICC 10 doesn't accept -KPIC any more.
   8678       icc* | ifort*)
   8679 	lt_prog_compiler_wl='-Wl,'
   8680 	lt_prog_compiler_pic='-fPIC'
   8681 	lt_prog_compiler_static='-static'
   8682         ;;
   8683       # Lahey Fortran 8.1.
   8684       lf95*)
   8685 	lt_prog_compiler_wl='-Wl,'
   8686 	lt_prog_compiler_pic='--shared'
   8687 	lt_prog_compiler_static='--static'
   8688 	;;
   8689       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8690         # Portland Group compilers (*not* the Pentium gcc compiler,
   8691 	# which looks to be a dead project)
   8692 	lt_prog_compiler_wl='-Wl,'
   8693 	lt_prog_compiler_pic='-fpic'
   8694 	lt_prog_compiler_static='-Bstatic'
   8695         ;;
   8696       ccc*)
   8697         lt_prog_compiler_wl='-Wl,'
   8698         # All Alpha code is PIC.
   8699         lt_prog_compiler_static='-non_shared'
   8700         ;;
   8701       xl* | bgxl* | bgf* | mpixl*)
   8702 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8703 	lt_prog_compiler_wl='-Wl,'
   8704 	lt_prog_compiler_pic='-qpic'
   8705 	lt_prog_compiler_static='-qstaticlink'
   8706 	;;
   8707       *)
   8708 	case `$CC -V 2>&1 | sed 5q` in
   8709 	*Sun\ F* | *Sun*Fortran*)
   8710 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8711 	  lt_prog_compiler_pic='-KPIC'
   8712 	  lt_prog_compiler_static='-Bstatic'
   8713 	  lt_prog_compiler_wl=''
   8714 	  ;;
   8715 	*Sun\ C*)
   8716 	  # Sun C 5.9
   8717 	  lt_prog_compiler_pic='-KPIC'
   8718 	  lt_prog_compiler_static='-Bstatic'
   8719 	  lt_prog_compiler_wl='-Wl,'
   8720 	  ;;
   8721 	esac
   8722 	;;
   8723       esac
   8724       ;;
   8725 
   8726     newsos6)
   8727       lt_prog_compiler_pic='-KPIC'
   8728       lt_prog_compiler_static='-Bstatic'
   8729       ;;
   8730 
   8731     *nto* | *qnx*)
   8732       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8733       # it will coredump.
   8734       lt_prog_compiler_pic='-fPIC -shared'
   8735       ;;
   8736 
   8737     osf3* | osf4* | osf5*)
   8738       lt_prog_compiler_wl='-Wl,'
   8739       # All OSF/1 code is PIC.
   8740       lt_prog_compiler_static='-non_shared'
   8741       ;;
   8742 
   8743     rdos*)
   8744       lt_prog_compiler_static='-non_shared'
   8745       ;;
   8746 
   8747     solaris*)
   8748       lt_prog_compiler_pic='-KPIC'
   8749       lt_prog_compiler_static='-Bstatic'
   8750       case $cc_basename in
   8751       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8752 	lt_prog_compiler_wl='-Qoption ld ';;
   8753       *)
   8754 	lt_prog_compiler_wl='-Wl,';;
   8755       esac
   8756       ;;
   8757 
   8758     sunos4*)
   8759       lt_prog_compiler_wl='-Qoption ld '
   8760       lt_prog_compiler_pic='-PIC'
   8761       lt_prog_compiler_static='-Bstatic'
   8762       ;;
   8763 
   8764     sysv4 | sysv4.2uw2* | sysv4.3*)
   8765       lt_prog_compiler_wl='-Wl,'
   8766       lt_prog_compiler_pic='-KPIC'
   8767       lt_prog_compiler_static='-Bstatic'
   8768       ;;
   8769 
   8770     sysv4*MP*)
   8771       if test -d /usr/nec ;then
   8772 	lt_prog_compiler_pic='-Kconform_pic'
   8773 	lt_prog_compiler_static='-Bstatic'
   8774       fi
   8775       ;;
   8776 
   8777     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8778       lt_prog_compiler_wl='-Wl,'
   8779       lt_prog_compiler_pic='-KPIC'
   8780       lt_prog_compiler_static='-Bstatic'
   8781       ;;
   8782 
   8783     unicos*)
   8784       lt_prog_compiler_wl='-Wl,'
   8785       lt_prog_compiler_can_build_shared=no
   8786       ;;
   8787 
   8788     uts4*)
   8789       lt_prog_compiler_pic='-pic'
   8790       lt_prog_compiler_static='-Bstatic'
   8791       ;;
   8792 
   8793     *)
   8794       lt_prog_compiler_can_build_shared=no
   8795       ;;
   8796     esac
   8797   fi
   8798 
   8799 case $host_os in
   8800   # For platforms which do not support PIC, -DPIC is meaningless:
   8801   *djgpp*)
   8802     lt_prog_compiler_pic=
   8803     ;;
   8804   *)
   8805     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8806     ;;
   8807 esac
   8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8809 $as_echo "$lt_prog_compiler_pic" >&6; }
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 #
   8817 # Check to make sure the PIC flag actually works.
   8818 #
   8819 if test -n "$lt_prog_compiler_pic"; then
   8820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8821 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8822 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8823   $as_echo_n "(cached) " >&6
   8824 else
   8825   lt_cv_prog_compiler_pic_works=no
   8826    ac_outfile=conftest.$ac_objext
   8827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8828    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8829    # Insert the option either (1) after the last *FLAGS variable, or
   8830    # (2) before a word containing "conftest.", or (3) at the end.
   8831    # Note that $ac_compile itself does not contain backslashes and begins
   8832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8833    # The option is referenced via a variable to avoid confusing sed.
   8834    lt_compile=`echo "$ac_compile" | $SED \
   8835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8837    -e 's:$: $lt_compiler_flag:'`
   8838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8839    (eval "$lt_compile" 2>conftest.err)
   8840    ac_status=$?
   8841    cat conftest.err >&5
   8842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8843    if (exit $ac_status) && test -s "$ac_outfile"; then
   8844      # The compiler can only warn and ignore the option if not recognized
   8845      # So say no if there are warnings other than the usual output.
   8846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8847      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8848      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8849        lt_cv_prog_compiler_pic_works=yes
   8850      fi
   8851    fi
   8852    $RM conftest*
   8853 
   8854 fi
   8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8856 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8857 
   8858 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8859     case $lt_prog_compiler_pic in
   8860      "" | " "*) ;;
   8861      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8862      esac
   8863 else
   8864     lt_prog_compiler_pic=
   8865      lt_prog_compiler_can_build_shared=no
   8866 fi
   8867 
   8868 fi
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 #
   8876 # Check to make sure the static flag actually works.
   8877 #
   8878 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8881 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8882   $as_echo_n "(cached) " >&6
   8883 else
   8884   lt_cv_prog_compiler_static_works=no
   8885    save_LDFLAGS="$LDFLAGS"
   8886    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8887    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8888    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8889      # The linker can only warn and ignore the option if not recognized
   8890      # So say no if there are warnings
   8891      if test -s conftest.err; then
   8892        # Append any errors to the config.log.
   8893        cat conftest.err 1>&5
   8894        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8895        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8896        if diff conftest.exp conftest.er2 >/dev/null; then
   8897          lt_cv_prog_compiler_static_works=yes
   8898        fi
   8899      else
   8900        lt_cv_prog_compiler_static_works=yes
   8901      fi
   8902    fi
   8903    $RM -r conftest*
   8904    LDFLAGS="$save_LDFLAGS"
   8905 
   8906 fi
   8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8908 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8909 
   8910 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8911     :
   8912 else
   8913     lt_prog_compiler_static=
   8914 fi
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8925   $as_echo_n "(cached) " >&6
   8926 else
   8927   lt_cv_prog_compiler_c_o=no
   8928    $RM -r conftest 2>/dev/null
   8929    mkdir conftest
   8930    cd conftest
   8931    mkdir out
   8932    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8933 
   8934    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8935    # Insert the option either (1) after the last *FLAGS variable, or
   8936    # (2) before a word containing "conftest.", or (3) at the end.
   8937    # Note that $ac_compile itself does not contain backslashes and begins
   8938    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8939    lt_compile=`echo "$ac_compile" | $SED \
   8940    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8941    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8942    -e 's:$: $lt_compiler_flag:'`
   8943    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8944    (eval "$lt_compile" 2>out/conftest.err)
   8945    ac_status=$?
   8946    cat out/conftest.err >&5
   8947    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8948    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8949    then
   8950      # The compiler can only warn and ignore the option if not recognized
   8951      # So say no if there are warnings
   8952      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8953      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8954      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8955        lt_cv_prog_compiler_c_o=yes
   8956      fi
   8957    fi
   8958    chmod u+w . 2>&5
   8959    $RM conftest*
   8960    # SGI C++ compiler will create directory out/ii_files/ for
   8961    # template instantiation
   8962    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8963    $RM out/* && rmdir out
   8964    cd ..
   8965    $RM -r conftest
   8966    $RM conftest*
   8967 
   8968 fi
   8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8979 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8980   $as_echo_n "(cached) " >&6
   8981 else
   8982   lt_cv_prog_compiler_c_o=no
   8983    $RM -r conftest 2>/dev/null
   8984    mkdir conftest
   8985    cd conftest
   8986    mkdir out
   8987    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8988 
   8989    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8990    # Insert the option either (1) after the last *FLAGS variable, or
   8991    # (2) before a word containing "conftest.", or (3) at the end.
   8992    # Note that $ac_compile itself does not contain backslashes and begins
   8993    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8994    lt_compile=`echo "$ac_compile" | $SED \
   8995    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8996    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8997    -e 's:$: $lt_compiler_flag:'`
   8998    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8999    (eval "$lt_compile" 2>out/conftest.err)
   9000    ac_status=$?
   9001    cat out/conftest.err >&5
   9002    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9003    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9004    then
   9005      # The compiler can only warn and ignore the option if not recognized
   9006      # So say no if there are warnings
   9007      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9008      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9009      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9010        lt_cv_prog_compiler_c_o=yes
   9011      fi
   9012    fi
   9013    chmod u+w . 2>&5
   9014    $RM conftest*
   9015    # SGI C++ compiler will create directory out/ii_files/ for
   9016    # template instantiation
   9017    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9018    $RM out/* && rmdir out
   9019    cd ..
   9020    $RM -r conftest
   9021    $RM conftest*
   9022 
   9023 fi
   9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9026 
   9027 
   9028 
   9029 
   9030 hard_links="nottested"
   9031 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9032   # do not overwrite the value of need_locks provided by the user
   9033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9034 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9035   hard_links=yes
   9036   $RM conftest*
   9037   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9038   touch conftest.a
   9039   ln conftest.a conftest.b 2>&5 || hard_links=no
   9040   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9042 $as_echo "$hard_links" >&6; }
   9043   if test "$hard_links" = no; then
   9044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9045 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9046     need_locks=warn
   9047   fi
   9048 else
   9049   need_locks=no
   9050 fi
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9058 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9059 
   9060   runpath_var=
   9061   allow_undefined_flag=
   9062   always_export_symbols=no
   9063   archive_cmds=
   9064   archive_expsym_cmds=
   9065   compiler_needs_object=no
   9066   enable_shared_with_static_runtimes=no
   9067   export_dynamic_flag_spec=
   9068   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9069   hardcode_automatic=no
   9070   hardcode_direct=no
   9071   hardcode_direct_absolute=no
   9072   hardcode_libdir_flag_spec=
   9073   hardcode_libdir_flag_spec_ld=
   9074   hardcode_libdir_separator=
   9075   hardcode_minus_L=no
   9076   hardcode_shlibpath_var=unsupported
   9077   inherit_rpath=no
   9078   link_all_deplibs=unknown
   9079   module_cmds=
   9080   module_expsym_cmds=
   9081   old_archive_from_new_cmds=
   9082   old_archive_from_expsyms_cmds=
   9083   thread_safe_flag_spec=
   9084   whole_archive_flag_spec=
   9085   # include_expsyms should be a list of space-separated symbols to be *always*
   9086   # included in the symbol list
   9087   include_expsyms=
   9088   # exclude_expsyms can be an extended regexp of symbols to exclude
   9089   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9090   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9091   # as well as any symbol that contains `d'.
   9092   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9093   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9094   # platforms (ab)use it in PIC code, but their linkers get confused if
   9095   # the symbol is explicitly referenced.  Since portable code cannot
   9096   # rely on this symbol name, it's probably fine to never include it in
   9097   # preloaded symbol tables.
   9098   # Exclude shared library initialization/finalization symbols.
   9099   extract_expsyms_cmds=
   9100 
   9101   case $host_os in
   9102   cygwin* | mingw* | pw32* | cegcc*)
   9103     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9104     # When not using gcc, we currently assume that we are using
   9105     # Microsoft Visual C++.
   9106     if test "$GCC" != yes; then
   9107       with_gnu_ld=no
   9108     fi
   9109     ;;
   9110   interix*)
   9111     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9112     with_gnu_ld=yes
   9113     ;;
   9114   openbsd*)
   9115     with_gnu_ld=no
   9116     ;;
   9117   esac
   9118 
   9119   ld_shlibs=yes
   9120 
   9121   # On some targets, GNU ld is compatible enough with the native linker
   9122   # that we're better off using the native interface for both.
   9123   lt_use_gnu_ld_interface=no
   9124   if test "$with_gnu_ld" = yes; then
   9125     case $host_os in
   9126       aix*)
   9127 	# The AIX port of GNU ld has always aspired to compatibility
   9128 	# with the native linker.  However, as the warning in the GNU ld
   9129 	# block says, versions before 2.19.5* couldn't really create working
   9130 	# shared libraries, regardless of the interface used.
   9131 	case `$LD -v 2>&1` in
   9132 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9133 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9134 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9135 	  *)
   9136 	    lt_use_gnu_ld_interface=yes
   9137 	    ;;
   9138 	esac
   9139 	;;
   9140       *)
   9141 	lt_use_gnu_ld_interface=yes
   9142 	;;
   9143     esac
   9144   fi
   9145 
   9146   if test "$lt_use_gnu_ld_interface" = yes; then
   9147     # If archive_cmds runs LD, not CC, wlarc should be empty
   9148     wlarc='${wl}'
   9149 
   9150     # Set some defaults for GNU ld with shared library support. These
   9151     # are reset later if shared libraries are not supported. Putting them
   9152     # here allows them to be overridden if necessary.
   9153     runpath_var=LD_RUN_PATH
   9154     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9155     export_dynamic_flag_spec='${wl}--export-dynamic'
   9156     # ancient GNU ld didn't support --whole-archive et. al.
   9157     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9158       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9159     else
   9160       whole_archive_flag_spec=
   9161     fi
   9162     supports_anon_versioning=no
   9163     case `$LD -v 2>&1` in
   9164       *GNU\ gold*) supports_anon_versioning=yes ;;
   9165       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9166       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9167       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9168       *\ 2.11.*) ;; # other 2.11 versions
   9169       *) supports_anon_versioning=yes ;;
   9170     esac
   9171 
   9172     # See if GNU ld supports shared libraries.
   9173     case $host_os in
   9174     aix[3-9]*)
   9175       # On AIX/PPC, the GNU linker is very broken
   9176       if test "$host_cpu" != ia64; then
   9177 	ld_shlibs=no
   9178 	cat <<_LT_EOF 1>&2
   9179 
   9180 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9181 *** to be unable to reliably create shared libraries on AIX.
   9182 *** Therefore, libtool is disabling shared libraries support.  If you
   9183 *** really care for shared libraries, you may want to install binutils
   9184 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9185 *** You will then need to restart the configuration process.
   9186 
   9187 _LT_EOF
   9188       fi
   9189       ;;
   9190 
   9191     amigaos*)
   9192       case $host_cpu in
   9193       powerpc)
   9194             # see comment about AmigaOS4 .so support
   9195             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9196             archive_expsym_cmds=''
   9197         ;;
   9198       m68k)
   9199             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)'
   9200             hardcode_libdir_flag_spec='-L$libdir'
   9201             hardcode_minus_L=yes
   9202         ;;
   9203       esac
   9204       ;;
   9205 
   9206     beos*)
   9207       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9208 	allow_undefined_flag=unsupported
   9209 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9210 	# support --undefined.  This deserves some investigation.  FIXME
   9211 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9212       else
   9213 	ld_shlibs=no
   9214       fi
   9215       ;;
   9216 
   9217     cygwin* | mingw* | pw32* | cegcc*)
   9218       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9219       # as there is no search path for DLLs.
   9220       hardcode_libdir_flag_spec='-L$libdir'
   9221       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9222       allow_undefined_flag=unsupported
   9223       always_export_symbols=no
   9224       enable_shared_with_static_runtimes=yes
   9225       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9226 
   9227       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9228         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9229 	# If the export-symbols file already is a .def file (1st line
   9230 	# is EXPORTS), use it as is; otherwise, prepend...
   9231 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9232 	  cp $export_symbols $output_objdir/$soname.def;
   9233 	else
   9234 	  echo EXPORTS > $output_objdir/$soname.def;
   9235 	  cat $export_symbols >> $output_objdir/$soname.def;
   9236 	fi~
   9237 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9238       else
   9239 	ld_shlibs=no
   9240       fi
   9241       ;;
   9242 
   9243     haiku*)
   9244       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9245       link_all_deplibs=yes
   9246       ;;
   9247 
   9248     interix[3-9]*)
   9249       hardcode_direct=no
   9250       hardcode_shlibpath_var=no
   9251       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9252       export_dynamic_flag_spec='${wl}-E'
   9253       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9254       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9255       # default) and relocated if they conflict, which is a slow very memory
   9256       # consuming and fragmenting process.  To avoid this, we pick a random,
   9257       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9258       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9259       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9260       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'
   9261       ;;
   9262 
   9263     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9264       tmp_diet=no
   9265       if test "$host_os" = linux-dietlibc; then
   9266 	case $cc_basename in
   9267 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9268 	esac
   9269       fi
   9270       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9271 	 && test "$tmp_diet" = no
   9272       then
   9273 	tmp_addflag=
   9274 	tmp_sharedflag='-shared'
   9275 	case $cc_basename,$host_cpu in
   9276         pgcc*)				# Portland Group C compiler
   9277 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9278 	  tmp_addflag=' $pic_flag'
   9279 	  ;;
   9280 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9281 					# Portland Group f77 and f90 compilers
   9282 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9283 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9284 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9285 	  tmp_addflag=' -i_dynamic' ;;
   9286 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9287 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9288 	ifc* | ifort*)			# Intel Fortran compiler
   9289 	  tmp_addflag=' -nofor_main' ;;
   9290 	lf95*)				# Lahey Fortran 8.1
   9291 	  whole_archive_flag_spec=
   9292 	  tmp_sharedflag='--shared' ;;
   9293 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9294 	  tmp_sharedflag='-qmkshrobj'
   9295 	  tmp_addflag= ;;
   9296 	nvcc*)	# Cuda Compiler Driver 2.2
   9297 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9298 	  compiler_needs_object=yes
   9299 	  ;;
   9300 	esac
   9301 	case `$CC -V 2>&1 | sed 5q` in
   9302 	*Sun\ C*)			# Sun C 5.9
   9303 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9304 	  compiler_needs_object=yes
   9305 	  tmp_sharedflag='-G' ;;
   9306 	*Sun\ F*)			# Sun Fortran 8.3
   9307 	  tmp_sharedflag='-G' ;;
   9308 	esac
   9309 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9310 
   9311         if test "x$supports_anon_versioning" = xyes; then
   9312           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9313 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9314 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9315 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9316         fi
   9317 
   9318 	case $cc_basename in
   9319 	xlf* | bgf* | bgxlf* | mpixlf*)
   9320 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9321 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9322 	  hardcode_libdir_flag_spec=
   9323 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9324 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9325 	  if test "x$supports_anon_versioning" = xyes; then
   9326 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9327 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9328 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9329 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9330 	  fi
   9331 	  ;;
   9332 	esac
   9333       else
   9334         ld_shlibs=no
   9335       fi
   9336       ;;
   9337 
   9338     netbsd*)
   9339       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9340 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9341 	wlarc=
   9342       else
   9343 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9344 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9345       fi
   9346       ;;
   9347 
   9348     solaris*)
   9349       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9350 	ld_shlibs=no
   9351 	cat <<_LT_EOF 1>&2
   9352 
   9353 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9354 *** create shared libraries on Solaris systems.  Therefore, libtool
   9355 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9356 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9357 *** your PATH or compiler configuration so that the native linker is
   9358 *** used, and then restart.
   9359 
   9360 _LT_EOF
   9361       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9362 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9363 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9364       else
   9365 	ld_shlibs=no
   9366       fi
   9367       ;;
   9368 
   9369     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9370       case `$LD -v 2>&1` in
   9371         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9372 	ld_shlibs=no
   9373 	cat <<_LT_EOF 1>&2
   9374 
   9375 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9376 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9377 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9378 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9379 *** your PATH or compiler configuration so that the native linker is
   9380 *** used, and then restart.
   9381 
   9382 _LT_EOF
   9383 	;;
   9384 	*)
   9385 	  # For security reasons, it is highly recommended that you always
   9386 	  # use absolute paths for naming shared libraries, and exclude the
   9387 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9388 	  # requires that you compile everything twice, which is a pain.
   9389 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9390 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9391 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9392 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9393 	  else
   9394 	    ld_shlibs=no
   9395 	  fi
   9396 	;;
   9397       esac
   9398       ;;
   9399 
   9400     sunos4*)
   9401       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9402       wlarc=
   9403       hardcode_direct=yes
   9404       hardcode_shlibpath_var=no
   9405       ;;
   9406 
   9407     *)
   9408       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9409 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9410 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9411       else
   9412 	ld_shlibs=no
   9413       fi
   9414       ;;
   9415     esac
   9416 
   9417     if test "$ld_shlibs" = no; then
   9418       runpath_var=
   9419       hardcode_libdir_flag_spec=
   9420       export_dynamic_flag_spec=
   9421       whole_archive_flag_spec=
   9422     fi
   9423   else
   9424     # PORTME fill in a description of your system's linker (not GNU ld)
   9425     case $host_os in
   9426     aix3*)
   9427       allow_undefined_flag=unsupported
   9428       always_export_symbols=yes
   9429       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'
   9430       # Note: this linker hardcodes the directories in LIBPATH if there
   9431       # are no directories specified by -L.
   9432       hardcode_minus_L=yes
   9433       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9434 	# Neither direct hardcoding nor static linking is supported with a
   9435 	# broken collect2.
   9436 	hardcode_direct=unsupported
   9437       fi
   9438       ;;
   9439 
   9440     aix[4-9]*)
   9441       if test "$host_cpu" = ia64; then
   9442 	# On IA64, the linker does run time linking by default, so we don't
   9443 	# have to do anything special.
   9444 	aix_use_runtimelinking=no
   9445 	exp_sym_flag='-Bexport'
   9446 	no_entry_flag=""
   9447       else
   9448 	# If we're using GNU nm, then we don't want the "-C" option.
   9449 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9450 	# Also, AIX nm treats weak defined symbols like other global
   9451 	# defined symbols, whereas GNU nm marks them as "W".
   9452 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9453 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9454 	else
   9455 	  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'
   9456 	fi
   9457 	aix_use_runtimelinking=no
   9458 
   9459 	# Test if we are trying to use run time linking or normal
   9460 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9461 	# need to do runtime linking.
   9462 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9463 	  for ld_flag in $LDFLAGS; do
   9464 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9465 	    aix_use_runtimelinking=yes
   9466 	    break
   9467 	  fi
   9468 	  done
   9469 	  ;;
   9470 	esac
   9471 
   9472 	exp_sym_flag='-bexport'
   9473 	no_entry_flag='-bnoentry'
   9474       fi
   9475 
   9476       # When large executables or shared objects are built, AIX ld can
   9477       # have problems creating the table of contents.  If linking a library
   9478       # or program results in "error TOC overflow" add -mminimal-toc to
   9479       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9480       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9481 
   9482       archive_cmds=''
   9483       hardcode_direct=yes
   9484       hardcode_direct_absolute=yes
   9485       hardcode_libdir_separator=':'
   9486       link_all_deplibs=yes
   9487       file_list_spec='${wl}-f,'
   9488 
   9489       if test "$GCC" = yes; then
   9490 	case $host_os in aix4.[012]|aix4.[012].*)
   9491 	# We only want to do this on AIX 4.2 and lower, the check
   9492 	# below for broken collect2 doesn't work under 4.3+
   9493 	  collect2name=`${CC} -print-prog-name=collect2`
   9494 	  if test -f "$collect2name" &&
   9495 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9496 	  then
   9497 	  # We have reworked collect2
   9498 	  :
   9499 	  else
   9500 	  # We have old collect2
   9501 	  hardcode_direct=unsupported
   9502 	  # It fails to find uninstalled libraries when the uninstalled
   9503 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9504 	  # to unsupported forces relinking
   9505 	  hardcode_minus_L=yes
   9506 	  hardcode_libdir_flag_spec='-L$libdir'
   9507 	  hardcode_libdir_separator=
   9508 	  fi
   9509 	  ;;
   9510 	esac
   9511 	shared_flag='-shared'
   9512 	if test "$aix_use_runtimelinking" = yes; then
   9513 	  shared_flag="$shared_flag "'${wl}-G'
   9514 	fi
   9515       else
   9516 	# not using gcc
   9517 	if test "$host_cpu" = ia64; then
   9518 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9519 	# chokes on -Wl,-G. The following line is correct:
   9520 	  shared_flag='-G'
   9521 	else
   9522 	  if test "$aix_use_runtimelinking" = yes; then
   9523 	    shared_flag='${wl}-G'
   9524 	  else
   9525 	    shared_flag='${wl}-bM:SRE'
   9526 	  fi
   9527 	fi
   9528       fi
   9529 
   9530       export_dynamic_flag_spec='${wl}-bexpall'
   9531       # It seems that -bexpall does not export symbols beginning with
   9532       # underscore (_), so it is better to generate a list of symbols to export.
   9533       always_export_symbols=yes
   9534       if test "$aix_use_runtimelinking" = yes; then
   9535 	# Warning - without using the other runtime loading flags (-brtl),
   9536 	# -berok will link without error, but may produce a broken library.
   9537 	allow_undefined_flag='-berok'
   9538         # Determine the default libpath from the value encoded in an
   9539         # empty executable.
   9540         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 
   9543 int
   9544 main ()
   9545 {
   9546 
   9547   ;
   9548   return 0;
   9549 }
   9550 _ACEOF
   9551 if ac_fn_c_try_link "$LINENO"; then :
   9552 
   9553 lt_aix_libpath_sed='
   9554     /Import File Strings/,/^$/ {
   9555 	/^0/ {
   9556 	    s/^0  *\(.*\)$/\1/
   9557 	    p
   9558 	}
   9559     }'
   9560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9561 # Check for a 64-bit object if we didn't find anything.
   9562 if test -z "$aix_libpath"; then
   9563   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9564 fi
   9565 fi
   9566 rm -f core conftest.err conftest.$ac_objext \
   9567     conftest$ac_exeext conftest.$ac_ext
   9568 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9569 
   9570         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9571         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9572       else
   9573 	if test "$host_cpu" = ia64; then
   9574 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9575 	  allow_undefined_flag="-z nodefs"
   9576 	  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"
   9577 	else
   9578 	 # Determine the default libpath from the value encoded in an
   9579 	 # empty executable.
   9580 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9581 /* end confdefs.h.  */
   9582 
   9583 int
   9584 main ()
   9585 {
   9586 
   9587   ;
   9588   return 0;
   9589 }
   9590 _ACEOF
   9591 if ac_fn_c_try_link "$LINENO"; then :
   9592 
   9593 lt_aix_libpath_sed='
   9594     /Import File Strings/,/^$/ {
   9595 	/^0/ {
   9596 	    s/^0  *\(.*\)$/\1/
   9597 	    p
   9598 	}
   9599     }'
   9600 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9601 # Check for a 64-bit object if we didn't find anything.
   9602 if test -z "$aix_libpath"; then
   9603   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9604 fi
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9609 
   9610 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9611 	  # Warning - without using the other run time loading flags,
   9612 	  # -berok will link without error, but may produce a broken library.
   9613 	  no_undefined_flag=' ${wl}-bernotok'
   9614 	  allow_undefined_flag=' ${wl}-berok'
   9615 	  if test "$with_gnu_ld" = yes; then
   9616 	    # We only use this code for GNU lds that support --whole-archive.
   9617 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9618 	  else
   9619 	    # Exported symbols can be pulled into shared objects from archives
   9620 	    whole_archive_flag_spec='$convenience'
   9621 	  fi
   9622 	  archive_cmds_need_lc=yes
   9623 	  # This is similar to how AIX traditionally builds its shared libraries.
   9624 	  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'
   9625 	fi
   9626       fi
   9627       ;;
   9628 
   9629     amigaos*)
   9630       case $host_cpu in
   9631       powerpc)
   9632             # see comment about AmigaOS4 .so support
   9633             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9634             archive_expsym_cmds=''
   9635         ;;
   9636       m68k)
   9637             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)'
   9638             hardcode_libdir_flag_spec='-L$libdir'
   9639             hardcode_minus_L=yes
   9640         ;;
   9641       esac
   9642       ;;
   9643 
   9644     bsdi[45]*)
   9645       export_dynamic_flag_spec=-rdynamic
   9646       ;;
   9647 
   9648     cygwin* | mingw* | pw32* | cegcc*)
   9649       # When not using gcc, we currently assume that we are using
   9650       # Microsoft Visual C++.
   9651       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9652       # no search path for DLLs.
   9653       hardcode_libdir_flag_spec=' '
   9654       allow_undefined_flag=unsupported
   9655       # Tell ltmain to make .lib files, not .a files.
   9656       libext=lib
   9657       # Tell ltmain to make .dll files, not .so files.
   9658       shrext_cmds=".dll"
   9659       # FIXME: Setting linknames here is a bad hack.
   9660       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9661       # The linker will automatically build a .lib file if we build a DLL.
   9662       old_archive_from_new_cmds='true'
   9663       # FIXME: Should let the user specify the lib program.
   9664       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9665       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9666       enable_shared_with_static_runtimes=yes
   9667       ;;
   9668 
   9669     darwin* | rhapsody*)
   9670 
   9671 
   9672   archive_cmds_need_lc=no
   9673   hardcode_direct=no
   9674   hardcode_automatic=yes
   9675   hardcode_shlibpath_var=unsupported
   9676   if test "$lt_cv_ld_force_load" = "yes"; then
   9677     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9678   else
   9679     whole_archive_flag_spec=''
   9680   fi
   9681   link_all_deplibs=yes
   9682   allow_undefined_flag="$_lt_dar_allow_undefined"
   9683   case $cc_basename in
   9684      ifort*) _lt_dar_can_shared=yes ;;
   9685      *) _lt_dar_can_shared=$GCC ;;
   9686   esac
   9687   if test "$_lt_dar_can_shared" = "yes"; then
   9688     output_verbose_link_cmd=func_echo_all
   9689     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9690     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9691     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}"
   9692     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}"
   9693 
   9694   else
   9695   ld_shlibs=no
   9696   fi
   9697 
   9698       ;;
   9699 
   9700     dgux*)
   9701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9702       hardcode_libdir_flag_spec='-L$libdir'
   9703       hardcode_shlibpath_var=no
   9704       ;;
   9705 
   9706     freebsd1*)
   9707       ld_shlibs=no
   9708       ;;
   9709 
   9710     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9711     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9712     # does not break anything, and helps significantly (at the cost of a little
   9713     # extra space).
   9714     freebsd2.2*)
   9715       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9716       hardcode_libdir_flag_spec='-R$libdir'
   9717       hardcode_direct=yes
   9718       hardcode_shlibpath_var=no
   9719       ;;
   9720 
   9721     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9722     freebsd2*)
   9723       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9724       hardcode_direct=yes
   9725       hardcode_minus_L=yes
   9726       hardcode_shlibpath_var=no
   9727       ;;
   9728 
   9729     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9730     freebsd* | dragonfly*)
   9731       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9732       hardcode_libdir_flag_spec='-R$libdir'
   9733       hardcode_direct=yes
   9734       hardcode_shlibpath_var=no
   9735       ;;
   9736 
   9737     hpux9*)
   9738       if test "$GCC" = yes; then
   9739 	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'
   9740       else
   9741 	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'
   9742       fi
   9743       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9744       hardcode_libdir_separator=:
   9745       hardcode_direct=yes
   9746 
   9747       # hardcode_minus_L: Not really in the search PATH,
   9748       # but as the default location of the library.
   9749       hardcode_minus_L=yes
   9750       export_dynamic_flag_spec='${wl}-E'
   9751       ;;
   9752 
   9753     hpux10*)
   9754       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9755 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9756       else
   9757 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9758       fi
   9759       if test "$with_gnu_ld" = no; then
   9760 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9761 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9762 	hardcode_libdir_separator=:
   9763 	hardcode_direct=yes
   9764 	hardcode_direct_absolute=yes
   9765 	export_dynamic_flag_spec='${wl}-E'
   9766 	# hardcode_minus_L: Not really in the search PATH,
   9767 	# but as the default location of the library.
   9768 	hardcode_minus_L=yes
   9769       fi
   9770       ;;
   9771 
   9772     hpux11*)
   9773       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9774 	case $host_cpu in
   9775 	hppa*64*)
   9776 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9777 	  ;;
   9778 	ia64*)
   9779 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9780 	  ;;
   9781 	*)
   9782 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9783 	  ;;
   9784 	esac
   9785       else
   9786 	case $host_cpu in
   9787 	hppa*64*)
   9788 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9789 	  ;;
   9790 	ia64*)
   9791 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9792 	  ;;
   9793 	*)
   9794 
   9795 	  # Older versions of the 11.00 compiler do not understand -b yet
   9796 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9797 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9798 $as_echo_n "checking if $CC understands -b... " >&6; }
   9799 if ${lt_cv_prog_compiler__b+:} false; then :
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   lt_cv_prog_compiler__b=no
   9803    save_LDFLAGS="$LDFLAGS"
   9804    LDFLAGS="$LDFLAGS -b"
   9805    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9806    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9807      # The linker can only warn and ignore the option if not recognized
   9808      # So say no if there are warnings
   9809      if test -s conftest.err; then
   9810        # Append any errors to the config.log.
   9811        cat conftest.err 1>&5
   9812        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9813        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9814        if diff conftest.exp conftest.er2 >/dev/null; then
   9815          lt_cv_prog_compiler__b=yes
   9816        fi
   9817      else
   9818        lt_cv_prog_compiler__b=yes
   9819      fi
   9820    fi
   9821    $RM -r conftest*
   9822    LDFLAGS="$save_LDFLAGS"
   9823 
   9824 fi
   9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9826 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9827 
   9828 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9829     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9830 else
   9831     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9832 fi
   9833 
   9834 	  ;;
   9835 	esac
   9836       fi
   9837       if test "$with_gnu_ld" = no; then
   9838 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9839 	hardcode_libdir_separator=:
   9840 
   9841 	case $host_cpu in
   9842 	hppa*64*|ia64*)
   9843 	  hardcode_direct=no
   9844 	  hardcode_shlibpath_var=no
   9845 	  ;;
   9846 	*)
   9847 	  hardcode_direct=yes
   9848 	  hardcode_direct_absolute=yes
   9849 	  export_dynamic_flag_spec='${wl}-E'
   9850 
   9851 	  # hardcode_minus_L: Not really in the search PATH,
   9852 	  # but as the default location of the library.
   9853 	  hardcode_minus_L=yes
   9854 	  ;;
   9855 	esac
   9856       fi
   9857       ;;
   9858 
   9859     irix5* | irix6* | nonstopux*)
   9860       if test "$GCC" = yes; then
   9861 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9862 	# Try to use the -exported_symbol ld option, if it does not
   9863 	# work, assume that -exports_file does not work either and
   9864 	# implicitly export all symbols.
   9865         save_LDFLAGS="$LDFLAGS"
   9866         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9867         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int foo(void) {}
   9870 _ACEOF
   9871 if ac_fn_c_try_link "$LINENO"; then :
   9872   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9873 
   9874 fi
   9875 rm -f core conftest.err conftest.$ac_objext \
   9876     conftest$ac_exeext conftest.$ac_ext
   9877         LDFLAGS="$save_LDFLAGS"
   9878       else
   9879 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9880 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9881       fi
   9882       archive_cmds_need_lc='no'
   9883       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9884       hardcode_libdir_separator=:
   9885       inherit_rpath=yes
   9886       link_all_deplibs=yes
   9887       ;;
   9888 
   9889     netbsd*)
   9890       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9891 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9892       else
   9893 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9894       fi
   9895       hardcode_libdir_flag_spec='-R$libdir'
   9896       hardcode_direct=yes
   9897       hardcode_shlibpath_var=no
   9898       ;;
   9899 
   9900     newsos6)
   9901       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9902       hardcode_direct=yes
   9903       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9904       hardcode_libdir_separator=:
   9905       hardcode_shlibpath_var=no
   9906       ;;
   9907 
   9908     *nto* | *qnx*)
   9909       ;;
   9910 
   9911     openbsd*)
   9912       if test -f /usr/libexec/ld.so; then
   9913 	hardcode_direct=yes
   9914 	hardcode_shlibpath_var=no
   9915 	hardcode_direct_absolute=yes
   9916 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9917 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9918 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9919 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9920 	  export_dynamic_flag_spec='${wl}-E'
   9921 	else
   9922 	  case $host_os in
   9923 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9924 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9925 	     hardcode_libdir_flag_spec='-R$libdir'
   9926 	     ;;
   9927 	   *)
   9928 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9929 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9930 	     ;;
   9931 	  esac
   9932 	fi
   9933       else
   9934 	ld_shlibs=no
   9935       fi
   9936       ;;
   9937 
   9938     os2*)
   9939       hardcode_libdir_flag_spec='-L$libdir'
   9940       hardcode_minus_L=yes
   9941       allow_undefined_flag=unsupported
   9942       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'
   9943       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9944       ;;
   9945 
   9946     osf3*)
   9947       if test "$GCC" = yes; then
   9948 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9949 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9950       else
   9951 	allow_undefined_flag=' -expect_unresolved \*'
   9952 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9953       fi
   9954       archive_cmds_need_lc='no'
   9955       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9956       hardcode_libdir_separator=:
   9957       ;;
   9958 
   9959     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9960       if test "$GCC" = yes; then
   9961 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9962 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9963 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9964       else
   9965 	allow_undefined_flag=' -expect_unresolved \*'
   9966 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9967 	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~
   9968 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9969 
   9970 	# Both c and cxx compiler support -rpath directly
   9971 	hardcode_libdir_flag_spec='-rpath $libdir'
   9972       fi
   9973       archive_cmds_need_lc='no'
   9974       hardcode_libdir_separator=:
   9975       ;;
   9976 
   9977     solaris*)
   9978       no_undefined_flag=' -z defs'
   9979       if test "$GCC" = yes; then
   9980 	wlarc='${wl}'
   9981 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9982 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9983 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9984       else
   9985 	case `$CC -V 2>&1` in
   9986 	*"Compilers 5.0"*)
   9987 	  wlarc=''
   9988 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9989 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9990 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9991 	  ;;
   9992 	*)
   9993 	  wlarc='${wl}'
   9994 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9995 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9996 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9997 	  ;;
   9998 	esac
   9999       fi
   10000       hardcode_libdir_flag_spec='-R$libdir'
   10001       hardcode_shlibpath_var=no
   10002       case $host_os in
   10003       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10004       *)
   10005 	# The compiler driver will combine and reorder linker options,
   10006 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10007 	# but is careful enough not to reorder.
   10008 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10009 	if test "$GCC" = yes; then
   10010 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10011 	else
   10012 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10013 	fi
   10014 	;;
   10015       esac
   10016       link_all_deplibs=yes
   10017       ;;
   10018 
   10019     sunos4*)
   10020       if test "x$host_vendor" = xsequent; then
   10021 	# Use $CC to link under sequent, because it throws in some extra .o
   10022 	# files that make .init and .fini sections work.
   10023 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10024       else
   10025 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10026       fi
   10027       hardcode_libdir_flag_spec='-L$libdir'
   10028       hardcode_direct=yes
   10029       hardcode_minus_L=yes
   10030       hardcode_shlibpath_var=no
   10031       ;;
   10032 
   10033     sysv4)
   10034       case $host_vendor in
   10035 	sni)
   10036 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10037 	  hardcode_direct=yes # is this really true???
   10038 	;;
   10039 	siemens)
   10040 	  ## LD is ld it makes a PLAMLIB
   10041 	  ## CC just makes a GrossModule.
   10042 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10043 	  reload_cmds='$CC -r -o $output$reload_objs'
   10044 	  hardcode_direct=no
   10045         ;;
   10046 	motorola)
   10047 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10048 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10049 	;;
   10050       esac
   10051       runpath_var='LD_RUN_PATH'
   10052       hardcode_shlibpath_var=no
   10053       ;;
   10054 
   10055     sysv4.3*)
   10056       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10057       hardcode_shlibpath_var=no
   10058       export_dynamic_flag_spec='-Bexport'
   10059       ;;
   10060 
   10061     sysv4*MP*)
   10062       if test -d /usr/nec; then
   10063 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10064 	hardcode_shlibpath_var=no
   10065 	runpath_var=LD_RUN_PATH
   10066 	hardcode_runpath_var=yes
   10067 	ld_shlibs=yes
   10068       fi
   10069       ;;
   10070 
   10071     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10072       no_undefined_flag='${wl}-z,text'
   10073       archive_cmds_need_lc=no
   10074       hardcode_shlibpath_var=no
   10075       runpath_var='LD_RUN_PATH'
   10076 
   10077       if test "$GCC" = yes; then
   10078 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10079 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10080       else
   10081 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10082 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10083       fi
   10084       ;;
   10085 
   10086     sysv5* | sco3.2v5* | sco5v6*)
   10087       # Note: We can NOT use -z defs as we might desire, because we do not
   10088       # link with -lc, and that would cause any symbols used from libc to
   10089       # always be unresolved, which means just about no library would
   10090       # ever link correctly.  If we're not using GNU ld we use -z text
   10091       # though, which does catch some bad symbols but isn't as heavy-handed
   10092       # as -z defs.
   10093       no_undefined_flag='${wl}-z,text'
   10094       allow_undefined_flag='${wl}-z,nodefs'
   10095       archive_cmds_need_lc=no
   10096       hardcode_shlibpath_var=no
   10097       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10098       hardcode_libdir_separator=':'
   10099       link_all_deplibs=yes
   10100       export_dynamic_flag_spec='${wl}-Bexport'
   10101       runpath_var='LD_RUN_PATH'
   10102 
   10103       if test "$GCC" = yes; then
   10104 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10105 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10106       else
   10107 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10108 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10109       fi
   10110       ;;
   10111 
   10112     uts4*)
   10113       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10114       hardcode_libdir_flag_spec='-L$libdir'
   10115       hardcode_shlibpath_var=no
   10116       ;;
   10117 
   10118     *)
   10119       ld_shlibs=no
   10120       ;;
   10121     esac
   10122 
   10123     if test x$host_vendor = xsni; then
   10124       case $host in
   10125       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10126 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10127 	;;
   10128       esac
   10129     fi
   10130   fi
   10131 
   10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10133 $as_echo "$ld_shlibs" >&6; }
   10134 test "$ld_shlibs" = no && can_build_shared=no
   10135 
   10136 with_gnu_ld=$with_gnu_ld
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 #
   10153 # Do we need to explicitly link libc?
   10154 #
   10155 case "x$archive_cmds_need_lc" in
   10156 x|xyes)
   10157   # Assume -lc should be added
   10158   archive_cmds_need_lc=yes
   10159 
   10160   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10161     case $archive_cmds in
   10162     *'~'*)
   10163       # FIXME: we may have to deal with multi-command sequences.
   10164       ;;
   10165     '$CC '*)
   10166       # Test whether the compiler implicitly links with -lc since on some
   10167       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10168       # to ld, don't add -lc before -lgcc.
   10169       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10170 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10171 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10172   $as_echo_n "(cached) " >&6
   10173 else
   10174   $RM conftest*
   10175 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10176 
   10177 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10178   (eval $ac_compile) 2>&5
   10179   ac_status=$?
   10180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10181   test $ac_status = 0; } 2>conftest.err; then
   10182 	  soname=conftest
   10183 	  lib=conftest
   10184 	  libobjs=conftest.$ac_objext
   10185 	  deplibs=
   10186 	  wl=$lt_prog_compiler_wl
   10187 	  pic_flag=$lt_prog_compiler_pic
   10188 	  compiler_flags=-v
   10189 	  linker_flags=-v
   10190 	  verstring=
   10191 	  output_objdir=.
   10192 	  libname=conftest
   10193 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10194 	  allow_undefined_flag=
   10195 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10196   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10197   ac_status=$?
   10198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10199   test $ac_status = 0; }
   10200 	  then
   10201 	    lt_cv_archive_cmds_need_lc=no
   10202 	  else
   10203 	    lt_cv_archive_cmds_need_lc=yes
   10204 	  fi
   10205 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10206 	else
   10207 	  cat conftest.err 1>&5
   10208 	fi
   10209 	$RM conftest*
   10210 
   10211 fi
   10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10213 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10214       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10215       ;;
   10216     esac
   10217   fi
   10218   ;;
   10219 esac
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10378 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10379 
   10380 if test "$GCC" = yes; then
   10381   case $host_os in
   10382     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10383     *) lt_awk_arg="/^libraries:/" ;;
   10384   esac
   10385   case $host_os in
   10386     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10387     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10388   esac
   10389   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10390   case $lt_search_path_spec in
   10391   *\;*)
   10392     # if the path contains ";" then we assume it to be the separator
   10393     # otherwise default to the standard path separator (i.e. ":") - it is
   10394     # assumed that no part of a normal pathname contains ";" but that should
   10395     # okay in the real world where ";" in dirpaths is itself problematic.
   10396     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10397     ;;
   10398   *)
   10399     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10400     ;;
   10401   esac
   10402   # Ok, now we have the path, separated by spaces, we can step through it
   10403   # and add multilib dir if necessary.
   10404   lt_tmp_lt_search_path_spec=
   10405   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10406   for lt_sys_path in $lt_search_path_spec; do
   10407     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10408       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10409     else
   10410       test -d "$lt_sys_path" && \
   10411 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10412     fi
   10413   done
   10414   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10415 BEGIN {RS=" "; FS="/|\n";} {
   10416   lt_foo="";
   10417   lt_count=0;
   10418   for (lt_i = NF; lt_i > 0; lt_i--) {
   10419     if ($lt_i != "" && $lt_i != ".") {
   10420       if ($lt_i == "..") {
   10421         lt_count++;
   10422       } else {
   10423         if (lt_count == 0) {
   10424           lt_foo="/" $lt_i lt_foo;
   10425         } else {
   10426           lt_count--;
   10427         }
   10428       }
   10429     }
   10430   }
   10431   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10432   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10433 }'`
   10434   # AWK program above erroneously prepends '/' to C:/dos/paths
   10435   # for these hosts.
   10436   case $host_os in
   10437     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10438       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10439   esac
   10440   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10441 else
   10442   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10443 fi
   10444 library_names_spec=
   10445 libname_spec='lib$name'
   10446 soname_spec=
   10447 shrext_cmds=".so"
   10448 postinstall_cmds=
   10449 postuninstall_cmds=
   10450 finish_cmds=
   10451 finish_eval=
   10452 shlibpath_var=
   10453 shlibpath_overrides_runpath=unknown
   10454 version_type=none
   10455 dynamic_linker="$host_os ld.so"
   10456 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10457 need_lib_prefix=unknown
   10458 hardcode_into_libs=no
   10459 
   10460 # when you set need_version to no, make sure it does not cause -set_version
   10461 # flags to be left without arguments
   10462 need_version=unknown
   10463 
   10464 case $host_os in
   10465 aix3*)
   10466   version_type=linux
   10467   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10468   shlibpath_var=LIBPATH
   10469 
   10470   # AIX 3 has no versioning support, so we append a major version to the name.
   10471   soname_spec='${libname}${release}${shared_ext}$major'
   10472   ;;
   10473 
   10474 aix[4-9]*)
   10475   version_type=linux
   10476   need_lib_prefix=no
   10477   need_version=no
   10478   hardcode_into_libs=yes
   10479   if test "$host_cpu" = ia64; then
   10480     # AIX 5 supports IA64
   10481     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10482     shlibpath_var=LD_LIBRARY_PATH
   10483   else
   10484     # With GCC up to 2.95.x, collect2 would create an import file
   10485     # for dependence libraries.  The import file would start with
   10486     # the line `#! .'.  This would cause the generated library to
   10487     # depend on `.', always an invalid library.  This was fixed in
   10488     # development snapshots of GCC prior to 3.0.
   10489     case $host_os in
   10490       aix4 | aix4.[01] | aix4.[01].*)
   10491       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10492 	   echo ' yes '
   10493 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10494 	:
   10495       else
   10496 	can_build_shared=no
   10497       fi
   10498       ;;
   10499     esac
   10500     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10501     # soname into executable. Probably we can add versioning support to
   10502     # collect2, so additional links can be useful in future.
   10503     if test "$aix_use_runtimelinking" = yes; then
   10504       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10505       # instead of lib<name>.a to let people know that these are not
   10506       # typical AIX shared libraries.
   10507       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10508     else
   10509       # We preserve .a as extension for shared libraries through AIX4.2
   10510       # and later when we are not doing run time linking.
   10511       library_names_spec='${libname}${release}.a $libname.a'
   10512       soname_spec='${libname}${release}${shared_ext}$major'
   10513     fi
   10514     shlibpath_var=LIBPATH
   10515   fi
   10516   ;;
   10517 
   10518 amigaos*)
   10519   case $host_cpu in
   10520   powerpc)
   10521     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10522     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10524     ;;
   10525   m68k)
   10526     library_names_spec='$libname.ixlibrary $libname.a'
   10527     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10528     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10529     ;;
   10530   esac
   10531   ;;
   10532 
   10533 beos*)
   10534   library_names_spec='${libname}${shared_ext}'
   10535   dynamic_linker="$host_os ld.so"
   10536   shlibpath_var=LIBRARY_PATH
   10537   ;;
   10538 
   10539 bsdi[45]*)
   10540   version_type=linux
   10541   need_version=no
   10542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10543   soname_spec='${libname}${release}${shared_ext}$major'
   10544   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10545   shlibpath_var=LD_LIBRARY_PATH
   10546   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10547   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10548   # the default ld.so.conf also contains /usr/contrib/lib and
   10549   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10550   # libtool to hard-code these into programs
   10551   ;;
   10552 
   10553 cygwin* | mingw* | pw32* | cegcc*)
   10554   version_type=windows
   10555   shrext_cmds=".dll"
   10556   need_version=no
   10557   need_lib_prefix=no
   10558 
   10559   case $GCC,$host_os in
   10560   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10561     library_names_spec='$libname.dll.a'
   10562     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10563     postinstall_cmds='base_file=`basename \${file}`~
   10564       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10565       dldir=$destdir/`dirname \$dlpath`~
   10566       test -d \$dldir || mkdir -p \$dldir~
   10567       $install_prog $dir/$dlname \$dldir/$dlname~
   10568       chmod a+x \$dldir/$dlname~
   10569       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10570         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10571       fi'
   10572     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10573       dlpath=$dir/\$dldll~
   10574        $RM \$dlpath'
   10575     shlibpath_overrides_runpath=yes
   10576 
   10577     case $host_os in
   10578     cygwin*)
   10579       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10580       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10581 
   10582       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10583       ;;
   10584     mingw* | cegcc*)
   10585       # MinGW DLLs use traditional 'lib' prefix
   10586       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10587       ;;
   10588     pw32*)
   10589       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10590       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10591       ;;
   10592     esac
   10593     ;;
   10594 
   10595   *)
   10596     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10597     ;;
   10598   esac
   10599   dynamic_linker='Win32 ld.exe'
   10600   # FIXME: first we should search . and the directory the executable is in
   10601   shlibpath_var=PATH
   10602   ;;
   10603 
   10604 darwin* | rhapsody*)
   10605   dynamic_linker="$host_os dyld"
   10606   version_type=darwin
   10607   need_lib_prefix=no
   10608   need_version=no
   10609   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10610   soname_spec='${libname}${release}${major}$shared_ext'
   10611   shlibpath_overrides_runpath=yes
   10612   shlibpath_var=DYLD_LIBRARY_PATH
   10613   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10614 
   10615   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10616   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10617   ;;
   10618 
   10619 dgux*)
   10620   version_type=linux
   10621   need_lib_prefix=no
   10622   need_version=no
   10623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10624   soname_spec='${libname}${release}${shared_ext}$major'
   10625   shlibpath_var=LD_LIBRARY_PATH
   10626   ;;
   10627 
   10628 freebsd1*)
   10629   dynamic_linker=no
   10630   ;;
   10631 
   10632 freebsd* | dragonfly*)
   10633   # DragonFly does not have aout.  When/if they implement a new
   10634   # versioning mechanism, adjust this.
   10635   if test -x /usr/bin/objformat; then
   10636     objformat=`/usr/bin/objformat`
   10637   else
   10638     case $host_os in
   10639     freebsd[123]*) objformat=aout ;;
   10640     *) objformat=elf ;;
   10641     esac
   10642   fi
   10643   version_type=freebsd-$objformat
   10644   case $version_type in
   10645     freebsd-elf*)
   10646       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10647       need_version=no
   10648       need_lib_prefix=no
   10649       ;;
   10650     freebsd-*)
   10651       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10652       need_version=yes
   10653       ;;
   10654   esac
   10655   shlibpath_var=LD_LIBRARY_PATH
   10656   case $host_os in
   10657   freebsd2*)
   10658     shlibpath_overrides_runpath=yes
   10659     ;;
   10660   freebsd3.[01]* | freebsdelf3.[01]*)
   10661     shlibpath_overrides_runpath=yes
   10662     hardcode_into_libs=yes
   10663     ;;
   10664   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10665   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10666     shlibpath_overrides_runpath=no
   10667     hardcode_into_libs=yes
   10668     ;;
   10669   *) # from 4.6 on, and DragonFly
   10670     shlibpath_overrides_runpath=yes
   10671     hardcode_into_libs=yes
   10672     ;;
   10673   esac
   10674   ;;
   10675 
   10676 gnu*)
   10677   version_type=linux
   10678   need_lib_prefix=no
   10679   need_version=no
   10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10681   soname_spec='${libname}${release}${shared_ext}$major'
   10682   shlibpath_var=LD_LIBRARY_PATH
   10683   hardcode_into_libs=yes
   10684   ;;
   10685 
   10686 haiku*)
   10687   version_type=linux
   10688   need_lib_prefix=no
   10689   need_version=no
   10690   dynamic_linker="$host_os runtime_loader"
   10691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10692   soname_spec='${libname}${release}${shared_ext}$major'
   10693   shlibpath_var=LIBRARY_PATH
   10694   shlibpath_overrides_runpath=yes
   10695   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10696   hardcode_into_libs=yes
   10697   ;;
   10698 
   10699 hpux9* | hpux10* | hpux11*)
   10700   # Give a soname corresponding to the major version so that dld.sl refuses to
   10701   # link against other versions.
   10702   version_type=sunos
   10703   need_lib_prefix=no
   10704   need_version=no
   10705   case $host_cpu in
   10706   ia64*)
   10707     shrext_cmds='.so'
   10708     hardcode_into_libs=yes
   10709     dynamic_linker="$host_os dld.so"
   10710     shlibpath_var=LD_LIBRARY_PATH
   10711     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10712     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10713     soname_spec='${libname}${release}${shared_ext}$major'
   10714     if test "X$HPUX_IA64_MODE" = X32; then
   10715       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10716     else
   10717       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10718     fi
   10719     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10720     ;;
   10721   hppa*64*)
   10722     shrext_cmds='.sl'
   10723     hardcode_into_libs=yes
   10724     dynamic_linker="$host_os dld.sl"
   10725     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10726     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10727     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10728     soname_spec='${libname}${release}${shared_ext}$major'
   10729     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10730     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10731     ;;
   10732   *)
   10733     shrext_cmds='.sl'
   10734     dynamic_linker="$host_os dld.sl"
   10735     shlibpath_var=SHLIB_PATH
   10736     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10737     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10738     soname_spec='${libname}${release}${shared_ext}$major'
   10739     ;;
   10740   esac
   10741   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10742   postinstall_cmds='chmod 555 $lib'
   10743   # or fails outright, so override atomically:
   10744   install_override_mode=555
   10745   ;;
   10746 
   10747 interix[3-9]*)
   10748   version_type=linux
   10749   need_lib_prefix=no
   10750   need_version=no
   10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10752   soname_spec='${libname}${release}${shared_ext}$major'
   10753   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10754   shlibpath_var=LD_LIBRARY_PATH
   10755   shlibpath_overrides_runpath=no
   10756   hardcode_into_libs=yes
   10757   ;;
   10758 
   10759 irix5* | irix6* | nonstopux*)
   10760   case $host_os in
   10761     nonstopux*) version_type=nonstopux ;;
   10762     *)
   10763 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10764 		version_type=linux
   10765 	else
   10766 		version_type=irix
   10767 	fi ;;
   10768   esac
   10769   need_lib_prefix=no
   10770   need_version=no
   10771   soname_spec='${libname}${release}${shared_ext}$major'
   10772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10773   case $host_os in
   10774   irix5* | nonstopux*)
   10775     libsuff= shlibsuff=
   10776     ;;
   10777   *)
   10778     case $LD in # libtool.m4 will add one of these switches to LD
   10779     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10780       libsuff= shlibsuff= libmagic=32-bit;;
   10781     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10782       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10783     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10784       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10785     *) libsuff= shlibsuff= libmagic=never-match;;
   10786     esac
   10787     ;;
   10788   esac
   10789   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10790   shlibpath_overrides_runpath=no
   10791   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10792   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10793   hardcode_into_libs=yes
   10794   ;;
   10795 
   10796 # No shared lib support for Linux oldld, aout, or coff.
   10797 linux*oldld* | linux*aout* | linux*coff*)
   10798   dynamic_linker=no
   10799   ;;
   10800 
   10801 # This must be Linux ELF.
   10802 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10803   version_type=linux
   10804   need_lib_prefix=no
   10805   need_version=no
   10806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10807   soname_spec='${libname}${release}${shared_ext}$major'
   10808   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10809   shlibpath_var=LD_LIBRARY_PATH
   10810   shlibpath_overrides_runpath=no
   10811 
   10812   # Some binutils ld are patched to set DT_RUNPATH
   10813   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10814   $as_echo_n "(cached) " >&6
   10815 else
   10816   lt_cv_shlibpath_overrides_runpath=no
   10817     save_LDFLAGS=$LDFLAGS
   10818     save_libdir=$libdir
   10819     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10820 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10821     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 
   10824 int
   10825 main ()
   10826 {
   10827 
   10828   ;
   10829   return 0;
   10830 }
   10831 _ACEOF
   10832 if ac_fn_c_try_link "$LINENO"; then :
   10833   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10834   lt_cv_shlibpath_overrides_runpath=yes
   10835 fi
   10836 fi
   10837 rm -f core conftest.err conftest.$ac_objext \
   10838     conftest$ac_exeext conftest.$ac_ext
   10839     LDFLAGS=$save_LDFLAGS
   10840     libdir=$save_libdir
   10841 
   10842 fi
   10843 
   10844   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10845 
   10846   # This implies no fast_install, which is unacceptable.
   10847   # Some rework will be needed to allow for fast_install
   10848   # before this can be enabled.
   10849   hardcode_into_libs=yes
   10850 
   10851   # Append ld.so.conf contents to the search path
   10852   if test -f /etc/ld.so.conf; then
   10853     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   10854     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10855   fi
   10856 
   10857   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10858   # powerpc, because MkLinux only supported shared libraries with the
   10859   # GNU dynamic linker.  Since this was broken with cross compilers,
   10860   # most powerpc-linux boxes support dynamic linking these days and
   10861   # people can always --disable-shared, the test was removed, and we
   10862   # assume the GNU/Linux dynamic linker is in use.
   10863   dynamic_linker='GNU/Linux ld.so'
   10864   ;;
   10865 
   10866 netbsd*)
   10867   version_type=sunos
   10868   need_lib_prefix=no
   10869   need_version=no
   10870   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10871     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10872     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10873     dynamic_linker='NetBSD (a.out) ld.so'
   10874   else
   10875     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10876     soname_spec='${libname}${release}${shared_ext}$major'
   10877     dynamic_linker='NetBSD ld.elf_so'
   10878   fi
   10879   shlibpath_var=LD_LIBRARY_PATH
   10880   shlibpath_overrides_runpath=yes
   10881   hardcode_into_libs=yes
   10882   ;;
   10883 
   10884 newsos6)
   10885   version_type=linux
   10886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10887   shlibpath_var=LD_LIBRARY_PATH
   10888   shlibpath_overrides_runpath=yes
   10889   ;;
   10890 
   10891 *nto* | *qnx*)
   10892   version_type=qnx
   10893   need_lib_prefix=no
   10894   need_version=no
   10895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10896   soname_spec='${libname}${release}${shared_ext}$major'
   10897   shlibpath_var=LD_LIBRARY_PATH
   10898   shlibpath_overrides_runpath=no
   10899   hardcode_into_libs=yes
   10900   dynamic_linker='ldqnx.so'
   10901   ;;
   10902 
   10903 openbsd*)
   10904   version_type=sunos
   10905   sys_lib_dlsearch_path_spec="/usr/lib"
   10906   need_lib_prefix=no
   10907   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10908   case $host_os in
   10909     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10910     *)				need_version=no  ;;
   10911   esac
   10912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10913   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10914   shlibpath_var=LD_LIBRARY_PATH
   10915   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10916     case $host_os in
   10917       openbsd2.[89] | openbsd2.[89].*)
   10918 	shlibpath_overrides_runpath=no
   10919 	;;
   10920       *)
   10921 	shlibpath_overrides_runpath=yes
   10922 	;;
   10923       esac
   10924   else
   10925     shlibpath_overrides_runpath=yes
   10926   fi
   10927   ;;
   10928 
   10929 os2*)
   10930   libname_spec='$name'
   10931   shrext_cmds=".dll"
   10932   need_lib_prefix=no
   10933   library_names_spec='$libname${shared_ext} $libname.a'
   10934   dynamic_linker='OS/2 ld.exe'
   10935   shlibpath_var=LIBPATH
   10936   ;;
   10937 
   10938 osf3* | osf4* | osf5*)
   10939   version_type=osf
   10940   need_lib_prefix=no
   10941   need_version=no
   10942   soname_spec='${libname}${release}${shared_ext}$major'
   10943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10944   shlibpath_var=LD_LIBRARY_PATH
   10945   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10946   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10947   ;;
   10948 
   10949 rdos*)
   10950   dynamic_linker=no
   10951   ;;
   10952 
   10953 solaris*)
   10954   version_type=linux
   10955   need_lib_prefix=no
   10956   need_version=no
   10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10958   soname_spec='${libname}${release}${shared_ext}$major'
   10959   shlibpath_var=LD_LIBRARY_PATH
   10960   shlibpath_overrides_runpath=yes
   10961   hardcode_into_libs=yes
   10962   # ldd complains unless libraries are executable
   10963   postinstall_cmds='chmod +x $lib'
   10964   ;;
   10965 
   10966 sunos4*)
   10967   version_type=sunos
   10968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10969   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10970   shlibpath_var=LD_LIBRARY_PATH
   10971   shlibpath_overrides_runpath=yes
   10972   if test "$with_gnu_ld" = yes; then
   10973     need_lib_prefix=no
   10974   fi
   10975   need_version=yes
   10976   ;;
   10977 
   10978 sysv4 | sysv4.3*)
   10979   version_type=linux
   10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10981   soname_spec='${libname}${release}${shared_ext}$major'
   10982   shlibpath_var=LD_LIBRARY_PATH
   10983   case $host_vendor in
   10984     sni)
   10985       shlibpath_overrides_runpath=no
   10986       need_lib_prefix=no
   10987       runpath_var=LD_RUN_PATH
   10988       ;;
   10989     siemens)
   10990       need_lib_prefix=no
   10991       ;;
   10992     motorola)
   10993       need_lib_prefix=no
   10994       need_version=no
   10995       shlibpath_overrides_runpath=no
   10996       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10997       ;;
   10998   esac
   10999   ;;
   11000 
   11001 sysv4*MP*)
   11002   if test -d /usr/nec ;then
   11003     version_type=linux
   11004     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11005     soname_spec='$libname${shared_ext}.$major'
   11006     shlibpath_var=LD_LIBRARY_PATH
   11007   fi
   11008   ;;
   11009 
   11010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11011   version_type=freebsd-elf
   11012   need_lib_prefix=no
   11013   need_version=no
   11014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11015   soname_spec='${libname}${release}${shared_ext}$major'
   11016   shlibpath_var=LD_LIBRARY_PATH
   11017   shlibpath_overrides_runpath=yes
   11018   hardcode_into_libs=yes
   11019   if test "$with_gnu_ld" = yes; then
   11020     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11021   else
   11022     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11023     case $host_os in
   11024       sco3.2v5*)
   11025         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11026 	;;
   11027     esac
   11028   fi
   11029   sys_lib_dlsearch_path_spec='/usr/lib'
   11030   ;;
   11031 
   11032 tpf*)
   11033   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11034   version_type=linux
   11035   need_lib_prefix=no
   11036   need_version=no
   11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11038   shlibpath_var=LD_LIBRARY_PATH
   11039   shlibpath_overrides_runpath=no
   11040   hardcode_into_libs=yes
   11041   ;;
   11042 
   11043 uts4*)
   11044   version_type=linux
   11045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11046   soname_spec='${libname}${release}${shared_ext}$major'
   11047   shlibpath_var=LD_LIBRARY_PATH
   11048   ;;
   11049 
   11050 *)
   11051   dynamic_linker=no
   11052   ;;
   11053 esac
   11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11055 $as_echo "$dynamic_linker" >&6; }
   11056 test "$dynamic_linker" = no && can_build_shared=no
   11057 
   11058 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11059 if test "$GCC" = yes; then
   11060   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11061 fi
   11062 
   11063 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11064   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11065 fi
   11066 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11067   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11068 fi
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11162 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11163 hardcode_action=
   11164 if test -n "$hardcode_libdir_flag_spec" ||
   11165    test -n "$runpath_var" ||
   11166    test "X$hardcode_automatic" = "Xyes" ; then
   11167 
   11168   # We can hardcode non-existent directories.
   11169   if test "$hardcode_direct" != no &&
   11170      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11171      # have to relink, otherwise we might link with an installed library
   11172      # when we should be linking with a yet-to-be-installed one
   11173      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11174      test "$hardcode_minus_L" != no; then
   11175     # Linking always hardcodes the temporary library directory.
   11176     hardcode_action=relink
   11177   else
   11178     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11179     hardcode_action=immediate
   11180   fi
   11181 else
   11182   # We cannot hardcode anything, or else we can only hardcode existing
   11183   # directories.
   11184   hardcode_action=unsupported
   11185 fi
   11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11187 $as_echo "$hardcode_action" >&6; }
   11188 
   11189 if test "$hardcode_action" = relink ||
   11190    test "$inherit_rpath" = yes; then
   11191   # Fast installation is not supported
   11192   enable_fast_install=no
   11193 elif test "$shlibpath_overrides_runpath" = yes ||
   11194      test "$enable_shared" = no; then
   11195   # Fast installation is not necessary
   11196   enable_fast_install=needless
   11197 fi
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204   if test "x$enable_dlopen" != xyes; then
   11205   enable_dlopen=unknown
   11206   enable_dlopen_self=unknown
   11207   enable_dlopen_self_static=unknown
   11208 else
   11209   lt_cv_dlopen=no
   11210   lt_cv_dlopen_libs=
   11211 
   11212   case $host_os in
   11213   beos*)
   11214     lt_cv_dlopen="load_add_on"
   11215     lt_cv_dlopen_libs=
   11216     lt_cv_dlopen_self=yes
   11217     ;;
   11218 
   11219   mingw* | pw32* | cegcc*)
   11220     lt_cv_dlopen="LoadLibrary"
   11221     lt_cv_dlopen_libs=
   11222     ;;
   11223 
   11224   cygwin*)
   11225     lt_cv_dlopen="dlopen"
   11226     lt_cv_dlopen_libs=
   11227     ;;
   11228 
   11229   darwin*)
   11230   # if libdl is installed we need to link against it
   11231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11233 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11234   $as_echo_n "(cached) " >&6
   11235 else
   11236   ac_check_lib_save_LIBS=$LIBS
   11237 LIBS="-ldl  $LIBS"
   11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11239 /* end confdefs.h.  */
   11240 
   11241 /* Override any GCC internal prototype to avoid an error.
   11242    Use char because int might match the return type of a GCC
   11243    builtin and then its argument prototype would still apply.  */
   11244 #ifdef __cplusplus
   11245 extern "C"
   11246 #endif
   11247 char dlopen ();
   11248 int
   11249 main ()
   11250 {
   11251 return dlopen ();
   11252   ;
   11253   return 0;
   11254 }
   11255 _ACEOF
   11256 if ac_fn_c_try_link "$LINENO"; then :
   11257   ac_cv_lib_dl_dlopen=yes
   11258 else
   11259   ac_cv_lib_dl_dlopen=no
   11260 fi
   11261 rm -f core conftest.err conftest.$ac_objext \
   11262     conftest$ac_exeext conftest.$ac_ext
   11263 LIBS=$ac_check_lib_save_LIBS
   11264 fi
   11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11266 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11267 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11268   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11269 else
   11270 
   11271     lt_cv_dlopen="dyld"
   11272     lt_cv_dlopen_libs=
   11273     lt_cv_dlopen_self=yes
   11274 
   11275 fi
   11276 
   11277     ;;
   11278 
   11279   *)
   11280     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11281 if test "x$ac_cv_func_shl_load" = xyes; then :
   11282   lt_cv_dlopen="shl_load"
   11283 else
   11284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11285 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11286 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11287   $as_echo_n "(cached) " >&6
   11288 else
   11289   ac_check_lib_save_LIBS=$LIBS
   11290 LIBS="-ldld  $LIBS"
   11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11292 /* end confdefs.h.  */
   11293 
   11294 /* Override any GCC internal prototype to avoid an error.
   11295    Use char because int might match the return type of a GCC
   11296    builtin and then its argument prototype would still apply.  */
   11297 #ifdef __cplusplus
   11298 extern "C"
   11299 #endif
   11300 char shl_load ();
   11301 int
   11302 main ()
   11303 {
   11304 return shl_load ();
   11305   ;
   11306   return 0;
   11307 }
   11308 _ACEOF
   11309 if ac_fn_c_try_link "$LINENO"; then :
   11310   ac_cv_lib_dld_shl_load=yes
   11311 else
   11312   ac_cv_lib_dld_shl_load=no
   11313 fi
   11314 rm -f core conftest.err conftest.$ac_objext \
   11315     conftest$ac_exeext conftest.$ac_ext
   11316 LIBS=$ac_check_lib_save_LIBS
   11317 fi
   11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11320 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11321   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11322 else
   11323   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11324 if test "x$ac_cv_func_dlopen" = xyes; then :
   11325   lt_cv_dlopen="dlopen"
   11326 else
   11327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11329 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11330   $as_echo_n "(cached) " >&6
   11331 else
   11332   ac_check_lib_save_LIBS=$LIBS
   11333 LIBS="-ldl  $LIBS"
   11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11335 /* end confdefs.h.  */
   11336 
   11337 /* Override any GCC internal prototype to avoid an error.
   11338    Use char because int might match the return type of a GCC
   11339    builtin and then its argument prototype would still apply.  */
   11340 #ifdef __cplusplus
   11341 extern "C"
   11342 #endif
   11343 char dlopen ();
   11344 int
   11345 main ()
   11346 {
   11347 return dlopen ();
   11348   ;
   11349   return 0;
   11350 }
   11351 _ACEOF
   11352 if ac_fn_c_try_link "$LINENO"; then :
   11353   ac_cv_lib_dl_dlopen=yes
   11354 else
   11355   ac_cv_lib_dl_dlopen=no
   11356 fi
   11357 rm -f core conftest.err conftest.$ac_objext \
   11358     conftest$ac_exeext conftest.$ac_ext
   11359 LIBS=$ac_check_lib_save_LIBS
   11360 fi
   11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11363 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11364   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11365 else
   11366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11367 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11368 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11369   $as_echo_n "(cached) " >&6
   11370 else
   11371   ac_check_lib_save_LIBS=$LIBS
   11372 LIBS="-lsvld  $LIBS"
   11373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11374 /* end confdefs.h.  */
   11375 
   11376 /* Override any GCC internal prototype to avoid an error.
   11377    Use char because int might match the return type of a GCC
   11378    builtin and then its argument prototype would still apply.  */
   11379 #ifdef __cplusplus
   11380 extern "C"
   11381 #endif
   11382 char dlopen ();
   11383 int
   11384 main ()
   11385 {
   11386 return dlopen ();
   11387   ;
   11388   return 0;
   11389 }
   11390 _ACEOF
   11391 if ac_fn_c_try_link "$LINENO"; then :
   11392   ac_cv_lib_svld_dlopen=yes
   11393 else
   11394   ac_cv_lib_svld_dlopen=no
   11395 fi
   11396 rm -f core conftest.err conftest.$ac_objext \
   11397     conftest$ac_exeext conftest.$ac_ext
   11398 LIBS=$ac_check_lib_save_LIBS
   11399 fi
   11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11401 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11402 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11403   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11404 else
   11405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11406 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11407 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11408   $as_echo_n "(cached) " >&6
   11409 else
   11410   ac_check_lib_save_LIBS=$LIBS
   11411 LIBS="-ldld  $LIBS"
   11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11413 /* end confdefs.h.  */
   11414 
   11415 /* Override any GCC internal prototype to avoid an error.
   11416    Use char because int might match the return type of a GCC
   11417    builtin and then its argument prototype would still apply.  */
   11418 #ifdef __cplusplus
   11419 extern "C"
   11420 #endif
   11421 char dld_link ();
   11422 int
   11423 main ()
   11424 {
   11425 return dld_link ();
   11426   ;
   11427   return 0;
   11428 }
   11429 _ACEOF
   11430 if ac_fn_c_try_link "$LINENO"; then :
   11431   ac_cv_lib_dld_dld_link=yes
   11432 else
   11433   ac_cv_lib_dld_dld_link=no
   11434 fi
   11435 rm -f core conftest.err conftest.$ac_objext \
   11436     conftest$ac_exeext conftest.$ac_ext
   11437 LIBS=$ac_check_lib_save_LIBS
   11438 fi
   11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11441 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11442   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11443 fi
   11444 
   11445 
   11446 fi
   11447 
   11448 
   11449 fi
   11450 
   11451 
   11452 fi
   11453 
   11454 
   11455 fi
   11456 
   11457 
   11458 fi
   11459 
   11460     ;;
   11461   esac
   11462 
   11463   if test "x$lt_cv_dlopen" != xno; then
   11464     enable_dlopen=yes
   11465   else
   11466     enable_dlopen=no
   11467   fi
   11468 
   11469   case $lt_cv_dlopen in
   11470   dlopen)
   11471     save_CPPFLAGS="$CPPFLAGS"
   11472     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11473 
   11474     save_LDFLAGS="$LDFLAGS"
   11475     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11476 
   11477     save_LIBS="$LIBS"
   11478     LIBS="$lt_cv_dlopen_libs $LIBS"
   11479 
   11480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11482 if ${lt_cv_dlopen_self+:} false; then :
   11483   $as_echo_n "(cached) " >&6
   11484 else
   11485   	  if test "$cross_compiling" = yes; then :
   11486   lt_cv_dlopen_self=cross
   11487 else
   11488   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11489   lt_status=$lt_dlunknown
   11490   cat > conftest.$ac_ext <<_LT_EOF
   11491 #line $LINENO "configure"
   11492 #include "confdefs.h"
   11493 
   11494 #if HAVE_DLFCN_H
   11495 #include <dlfcn.h>
   11496 #endif
   11497 
   11498 #include <stdio.h>
   11499 
   11500 #ifdef RTLD_GLOBAL
   11501 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11502 #else
   11503 #  ifdef DL_GLOBAL
   11504 #    define LT_DLGLOBAL		DL_GLOBAL
   11505 #  else
   11506 #    define LT_DLGLOBAL		0
   11507 #  endif
   11508 #endif
   11509 
   11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11511    find out it does not work in some platform. */
   11512 #ifndef LT_DLLAZY_OR_NOW
   11513 #  ifdef RTLD_LAZY
   11514 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11515 #  else
   11516 #    ifdef DL_LAZY
   11517 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11518 #    else
   11519 #      ifdef RTLD_NOW
   11520 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11521 #      else
   11522 #        ifdef DL_NOW
   11523 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11524 #        else
   11525 #          define LT_DLLAZY_OR_NOW	0
   11526 #        endif
   11527 #      endif
   11528 #    endif
   11529 #  endif
   11530 #endif
   11531 
   11532 /* When -fvisbility=hidden is used, assume the code has been annotated
   11533    correspondingly for the symbols needed.  */
   11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11535 void fnord () __attribute__((visibility("default")));
   11536 #endif
   11537 
   11538 void fnord () { int i=42; }
   11539 int main ()
   11540 {
   11541   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11542   int status = $lt_dlunknown;
   11543 
   11544   if (self)
   11545     {
   11546       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11547       else
   11548         {
   11549 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11550           else puts (dlerror ());
   11551 	}
   11552       /* dlclose (self); */
   11553     }
   11554   else
   11555     puts (dlerror ());
   11556 
   11557   return status;
   11558 }
   11559 _LT_EOF
   11560   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11561   (eval $ac_link) 2>&5
   11562   ac_status=$?
   11563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11564   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11565     (./conftest; exit; ) >&5 2>/dev/null
   11566     lt_status=$?
   11567     case x$lt_status in
   11568       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11569       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11570       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11571     esac
   11572   else :
   11573     # compilation failed
   11574     lt_cv_dlopen_self=no
   11575   fi
   11576 fi
   11577 rm -fr conftest*
   11578 
   11579 
   11580 fi
   11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11582 $as_echo "$lt_cv_dlopen_self" >&6; }
   11583 
   11584     if test "x$lt_cv_dlopen_self" = xyes; then
   11585       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11586       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11588 if ${lt_cv_dlopen_self_static+:} false; then :
   11589   $as_echo_n "(cached) " >&6
   11590 else
   11591   	  if test "$cross_compiling" = yes; then :
   11592   lt_cv_dlopen_self_static=cross
   11593 else
   11594   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11595   lt_status=$lt_dlunknown
   11596   cat > conftest.$ac_ext <<_LT_EOF
   11597 #line $LINENO "configure"
   11598 #include "confdefs.h"
   11599 
   11600 #if HAVE_DLFCN_H
   11601 #include <dlfcn.h>
   11602 #endif
   11603 
   11604 #include <stdio.h>
   11605 
   11606 #ifdef RTLD_GLOBAL
   11607 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11608 #else
   11609 #  ifdef DL_GLOBAL
   11610 #    define LT_DLGLOBAL		DL_GLOBAL
   11611 #  else
   11612 #    define LT_DLGLOBAL		0
   11613 #  endif
   11614 #endif
   11615 
   11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11617    find out it does not work in some platform. */
   11618 #ifndef LT_DLLAZY_OR_NOW
   11619 #  ifdef RTLD_LAZY
   11620 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11621 #  else
   11622 #    ifdef DL_LAZY
   11623 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11624 #    else
   11625 #      ifdef RTLD_NOW
   11626 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11627 #      else
   11628 #        ifdef DL_NOW
   11629 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11630 #        else
   11631 #          define LT_DLLAZY_OR_NOW	0
   11632 #        endif
   11633 #      endif
   11634 #    endif
   11635 #  endif
   11636 #endif
   11637 
   11638 /* When -fvisbility=hidden is used, assume the code has been annotated
   11639    correspondingly for the symbols needed.  */
   11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11641 void fnord () __attribute__((visibility("default")));
   11642 #endif
   11643 
   11644 void fnord () { int i=42; }
   11645 int main ()
   11646 {
   11647   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11648   int status = $lt_dlunknown;
   11649 
   11650   if (self)
   11651     {
   11652       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11653       else
   11654         {
   11655 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11656           else puts (dlerror ());
   11657 	}
   11658       /* dlclose (self); */
   11659     }
   11660   else
   11661     puts (dlerror ());
   11662 
   11663   return status;
   11664 }
   11665 _LT_EOF
   11666   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11667   (eval $ac_link) 2>&5
   11668   ac_status=$?
   11669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11670   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11671     (./conftest; exit; ) >&5 2>/dev/null
   11672     lt_status=$?
   11673     case x$lt_status in
   11674       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11675       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11676       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11677     esac
   11678   else :
   11679     # compilation failed
   11680     lt_cv_dlopen_self_static=no
   11681   fi
   11682 fi
   11683 rm -fr conftest*
   11684 
   11685 
   11686 fi
   11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11689     fi
   11690 
   11691     CPPFLAGS="$save_CPPFLAGS"
   11692     LDFLAGS="$save_LDFLAGS"
   11693     LIBS="$save_LIBS"
   11694     ;;
   11695   esac
   11696 
   11697   case $lt_cv_dlopen_self in
   11698   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11699   *) enable_dlopen_self=unknown ;;
   11700   esac
   11701 
   11702   case $lt_cv_dlopen_self_static in
   11703   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11704   *) enable_dlopen_self_static=unknown ;;
   11705   esac
   11706 fi
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 striplib=
   11725 old_striplib=
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11729   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11730   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11732 $as_echo "yes" >&6; }
   11733 else
   11734 # FIXME - insert some real tests, host_os isn't really good enough
   11735   case $host_os in
   11736   darwin*)
   11737     if test -n "$STRIP" ; then
   11738       striplib="$STRIP -x"
   11739       old_striplib="$STRIP -S"
   11740       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11741 $as_echo "yes" >&6; }
   11742     else
   11743       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11744 $as_echo "no" >&6; }
   11745     fi
   11746     ;;
   11747   *)
   11748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11749 $as_echo "no" >&6; }
   11750     ;;
   11751   esac
   11752 fi
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765   # Report which library types will actually be built
   11766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11769 $as_echo "$can_build_shared" >&6; }
   11770 
   11771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11773   test "$can_build_shared" = "no" && enable_shared=no
   11774 
   11775   # On AIX, shared libraries and static libraries use the same namespace, and
   11776   # are all built from PIC.
   11777   case $host_os in
   11778   aix3*)
   11779     test "$enable_shared" = yes && enable_static=no
   11780     if test -n "$RANLIB"; then
   11781       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11782       postinstall_cmds='$RANLIB $lib'
   11783     fi
   11784     ;;
   11785 
   11786   aix[4-9]*)
   11787     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11788       test "$enable_shared" = yes && enable_static=no
   11789     fi
   11790     ;;
   11791   esac
   11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11793 $as_echo "$enable_shared" >&6; }
   11794 
   11795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11796 $as_echo_n "checking whether to build static libraries... " >&6; }
   11797   # Make sure either enable_shared or enable_static is yes.
   11798   test "$enable_shared" = yes || enable_static=yes
   11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11800 $as_echo "$enable_static" >&6; }
   11801 
   11802 
   11803 
   11804 
   11805 fi
   11806 ac_ext=c
   11807 ac_cpp='$CPP $CPPFLAGS'
   11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11811 
   11812 CC="$lt_save_CC"
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826         ac_config_commands="$ac_config_commands libtool"
   11827 
   11828 
   11829 
   11830 
   11831 # Only expand once:
   11832 
   11833 
   11834 
   11835 
   11836 # Check whether --with-icondir was given.
   11837 if test "${with_icondir+set}" = set; then :
   11838   withval=$with_icondir; ICONDIR="$withval"
   11839 else
   11840   ICONDIR=${datadir}/icons
   11841 fi
   11842 
   11843 
   11844 
   11845 DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps"
   11846 if test "x${ICONDIR}" != "x${datadir}/icons"; then
   11847 	DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}"
   11848 fi
   11849 
   11850 # Check whether --with-cursorpath was given.
   11851 if test "${with_cursorpath+set}" = set; then :
   11852   withval=$with_cursorpath; XCURSORPATH="$withval"
   11853 else
   11854   XCURSORPATH=$DEF_CURSORPATH
   11855 fi
   11856 
   11857 
   11858 
   11859 # Reformat cursor path for man page
   11860 XCURSORPATH_LIST=`echo $XCURSORPATH | sed 's/:/, /g'`
   11861 
   11862 
   11863 # Check for X
   11864 
   11865 pkg_failed=no
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCURSOR" >&5
   11867 $as_echo_n "checking for XCURSOR... " >&6; }
   11868 
   11869 if test -n "$XCURSOR_CFLAGS"; then
   11870     pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS"
   11871  elif test -n "$PKG_CONFIG"; then
   11872     if test -n "$PKG_CONFIG" && \
   11873     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   11874   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   11875   ac_status=$?
   11876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11877   test $ac_status = 0; }; then
   11878   pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   11879 else
   11880   pkg_failed=yes
   11881 fi
   11882  else
   11883     pkg_failed=untried
   11884 fi
   11885 if test -n "$XCURSOR_LIBS"; then
   11886     pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS"
   11887  elif test -n "$PKG_CONFIG"; then
   11888     if test -n "$PKG_CONFIG" && \
   11889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   11890   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   11891   ac_status=$?
   11892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11893   test $ac_status = 0; }; then
   11894   pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   11895 else
   11896   pkg_failed=yes
   11897 fi
   11898  else
   11899     pkg_failed=untried
   11900 fi
   11901 
   11902 
   11903 
   11904 if test $pkg_failed = yes; then
   11905 
   11906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11907         _pkg_short_errors_supported=yes
   11908 else
   11909         _pkg_short_errors_supported=no
   11910 fi
   11911         if test $_pkg_short_errors_supported = yes; then
   11912 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   11913         else
   11914 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   11915         fi
   11916 	# Put the nasty error message in config.log where it belongs
   11917 	echo "$XCURSOR_PKG_ERRORS" >&5
   11918 
   11919 	as_fn_error $? "Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   11920 
   11921 $XCURSOR_PKG_ERRORS
   11922 
   11923 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11924 installed software in a non-standard prefix.
   11925 
   11926 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11927 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11928 See the pkg-config man page for more details.
   11929 " "$LINENO" 5
   11930 elif test $pkg_failed = untried; then
   11931 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11933 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11934 is in your PATH or set the PKG_CONFIG environment variable to the full
   11935 path to pkg-config.
   11936 
   11937 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   11938 and XCURSOR_LIBS to avoid the need to call pkg-config.
   11939 See the pkg-config man page for more details.
   11940 
   11941 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11942 See \`config.log' for more details" "$LINENO" 5; }
   11943 else
   11944 	XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS
   11945 	XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS
   11946         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11947 $as_echo "yes" >&6; }
   11948 	:
   11949 fi
   11950 
   11951 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 # Check whether --with-lint was given.
   11960 if test "${with_lint+set}" = set; then :
   11961   withval=$with_lint; use_lint=$withval
   11962 else
   11963   use_lint=no
   11964 fi
   11965 
   11966 
   11967 # Obtain platform specific info like program name and options
   11968 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   11969 case $host_os in
   11970   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   11971 	lint_name=splint
   11972 	lint_options="-badflag"
   11973 	;;
   11974   *freebsd* | *netbsd*)
   11975 	lint_name=lint
   11976 	lint_options="-u -b"
   11977 	;;
   11978   *solaris*)
   11979 	lint_name=lint
   11980 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   11981 	;;
   11982 esac
   11983 
   11984 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   11985 if test "x$use_lint" = x"yes" ; then
   11986    # Extract the first word of "$lint_name", so it can be a program name with args.
   11987 set dummy $lint_name; ac_word=$2
   11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11989 $as_echo_n "checking for $ac_word... " >&6; }
   11990 if ${ac_cv_path_LINT+:} false; then :
   11991   $as_echo_n "(cached) " >&6
   11992 else
   11993   case $LINT in
   11994   [\\/]* | ?:[\\/]*)
   11995   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   11996   ;;
   11997   *)
   11998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11999 for as_dir in $PATH
   12000 do
   12001   IFS=$as_save_IFS
   12002   test -z "$as_dir" && as_dir=.
   12003     for ac_exec_ext in '' $ac_executable_extensions; do
   12004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12005     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   12006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12007     break 2
   12008   fi
   12009 done
   12010   done
   12011 IFS=$as_save_IFS
   12012 
   12013   ;;
   12014 esac
   12015 fi
   12016 LINT=$ac_cv_path_LINT
   12017 if test -n "$LINT"; then
   12018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   12019 $as_echo "$LINT" >&6; }
   12020 else
   12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12022 $as_echo "no" >&6; }
   12023 fi
   12024 
   12025 
   12026    if test "x$LINT" = "x"; then
   12027         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   12028    fi
   12029 elif test "x$use_lint" = x"no" ; then
   12030    if test "x$LINT" != "x"; then
   12031       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   12032 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   12033    fi
   12034 else
   12035    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   12036 fi
   12037 
   12038 # User supplied flags override default flags
   12039 if test "x$LINT_FLAGS" != "x"; then
   12040    lint_options=$LINT_FLAGS
   12041 fi
   12042 
   12043 LINT_FLAGS=$lint_options
   12044 
   12045  if test "x$LINT" != x; then
   12046   LINT_TRUE=
   12047   LINT_FALSE='#'
   12048 else
   12049   LINT_TRUE='#'
   12050   LINT_FALSE=
   12051 fi
   12052 
   12053 
   12054 
   12055 
   12056 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc"
   12057 
   12058 cat >confcache <<\_ACEOF
   12059 # This file is a shell script that caches the results of configure
   12060 # tests run on this system so they can be shared between configure
   12061 # scripts and configure runs, see configure's option --config-cache.
   12062 # It is not useful on other systems.  If it contains results you don't
   12063 # want to keep, you may remove or edit it.
   12064 #
   12065 # config.status only pays attention to the cache file if you give it
   12066 # the --recheck option to rerun configure.
   12067 #
   12068 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12069 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12070 # following values.
   12071 
   12072 _ACEOF
   12073 
   12074 # The following way of writing the cache mishandles newlines in values,
   12075 # but we know of no workaround that is simple, portable, and efficient.
   12076 # So, we kill variables containing newlines.
   12077 # Ultrix sh set writes to stderr and can't be redirected directly,
   12078 # and sets the high bit in the cache file unless we assign to the vars.
   12079 (
   12080   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12081     eval ac_val=\$$ac_var
   12082     case $ac_val in #(
   12083     *${as_nl}*)
   12084       case $ac_var in #(
   12085       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12086 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12087       esac
   12088       case $ac_var in #(
   12089       _ | IFS | as_nl) ;; #(
   12090       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12091       *) { eval $ac_var=; unset $ac_var;} ;;
   12092       esac ;;
   12093     esac
   12094   done
   12095 
   12096   (set) 2>&1 |
   12097     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12098     *${as_nl}ac_space=\ *)
   12099       # `set' does not quote correctly, so add quotes: double-quote
   12100       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12101       sed -n \
   12102 	"s/'/'\\\\''/g;
   12103 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12104       ;; #(
   12105     *)
   12106       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12107       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12108       ;;
   12109     esac |
   12110     sort
   12111 ) |
   12112   sed '
   12113      /^ac_cv_env_/b end
   12114      t clear
   12115      :clear
   12116      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12117      t end
   12118      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12119      :end' >>confcache
   12120 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12121   if test -w "$cache_file"; then
   12122     if test "x$cache_file" != "x/dev/null"; then
   12123       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12124 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12125       if test ! -f "$cache_file" || test -h "$cache_file"; then
   12126 	cat confcache >"$cache_file"
   12127       else
   12128         case $cache_file in #(
   12129         */* | ?:*)
   12130 	  mv -f confcache "$cache_file"$$ &&
   12131 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   12132         *)
   12133 	  mv -f confcache "$cache_file" ;;
   12134 	esac
   12135       fi
   12136     fi
   12137   else
   12138     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12139 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12140   fi
   12141 fi
   12142 rm -f confcache
   12143 
   12144 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12145 # Let make expand exec_prefix.
   12146 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12147 
   12148 DEFS=-DHAVE_CONFIG_H
   12149 
   12150 ac_libobjs=
   12151 ac_ltlibobjs=
   12152 U=
   12153 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12154   # 1. Remove the extension, and $U if already installed.
   12155   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12156   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12157   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12158   #    will be set to the directory where LIBOBJS objects are built.
   12159   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12160   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12161 done
   12162 LIBOBJS=$ac_libobjs
   12163 
   12164 LTLIBOBJS=$ac_ltlibobjs
   12165 
   12166 
   12167  if test -n "$EXEEXT"; then
   12168   am__EXEEXT_TRUE=
   12169   am__EXEEXT_FALSE='#'
   12170 else
   12171   am__EXEEXT_TRUE='#'
   12172   am__EXEEXT_FALSE=
   12173 fi
   12174 
   12175 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12176   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   12177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12178 fi
   12179 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12180   as_fn_error $? "conditional \"AMDEP\" was never defined.
   12181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12182 fi
   12183 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12184   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12186 fi
   12187 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12188   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   12189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12190 fi
   12191 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   12192   as_fn_error $? "conditional \"LINT\" was never defined.
   12193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12194 fi
   12195 
   12196 : "${CONFIG_STATUS=./config.status}"
   12197 ac_write_fail=0
   12198 ac_clean_files_save=$ac_clean_files
   12199 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12201 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12202 as_write_fail=0
   12203 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12204 #! $SHELL
   12205 # Generated by $as_me.
   12206 # Run this file to recreate the current configuration.
   12207 # Compiler output produced by configure, useful for debugging
   12208 # configure, is in config.log if it exists.
   12209 
   12210 debug=false
   12211 ac_cs_recheck=false
   12212 ac_cs_silent=false
   12213 
   12214 SHELL=\${CONFIG_SHELL-$SHELL}
   12215 export SHELL
   12216 _ASEOF
   12217 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12218 ## -------------------- ##
   12219 ## M4sh Initialization. ##
   12220 ## -------------------- ##
   12221 
   12222 # Be more Bourne compatible
   12223 DUALCASE=1; export DUALCASE # for MKS sh
   12224 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12225   emulate sh
   12226   NULLCMD=:
   12227   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12228   # is contrary to our usage.  Disable this feature.
   12229   alias -g '${1+"$@"}'='"$@"'
   12230   setopt NO_GLOB_SUBST
   12231 else
   12232   case `(set -o) 2>/dev/null` in #(
   12233   *posix*) :
   12234     set -o posix ;; #(
   12235   *) :
   12236      ;;
   12237 esac
   12238 fi
   12239 
   12240 
   12241 as_nl='
   12242 '
   12243 export as_nl
   12244 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12245 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12247 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12248 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12249 # but without wasting forks for bash or zsh.
   12250 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12251     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12252   as_echo='print -r --'
   12253   as_echo_n='print -rn --'
   12254 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12255   as_echo='printf %s\n'
   12256   as_echo_n='printf %s'
   12257 else
   12258   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12259     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12260     as_echo_n='/usr/ucb/echo -n'
   12261   else
   12262     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12263     as_echo_n_body='eval
   12264       arg=$1;
   12265       case $arg in #(
   12266       *"$as_nl"*)
   12267 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12268 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12269       esac;
   12270       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12271     '
   12272     export as_echo_n_body
   12273     as_echo_n='sh -c $as_echo_n_body as_echo'
   12274   fi
   12275   export as_echo_body
   12276   as_echo='sh -c $as_echo_body as_echo'
   12277 fi
   12278 
   12279 # The user is always right.
   12280 if test "${PATH_SEPARATOR+set}" != set; then
   12281   PATH_SEPARATOR=:
   12282   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12283     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12284       PATH_SEPARATOR=';'
   12285   }
   12286 fi
   12287 
   12288 
   12289 # IFS
   12290 # We need space, tab and new line, in precisely that order.  Quoting is
   12291 # there to prevent editors from complaining about space-tab.
   12292 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12293 # splitting by setting IFS to empty value.)
   12294 IFS=" ""	$as_nl"
   12295 
   12296 # Find who we are.  Look in the path if we contain no directory separator.
   12297 as_myself=
   12298 case $0 in #((
   12299   *[\\/]* ) as_myself=$0 ;;
   12300   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12301 for as_dir in $PATH
   12302 do
   12303   IFS=$as_save_IFS
   12304   test -z "$as_dir" && as_dir=.
   12305     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12306   done
   12307 IFS=$as_save_IFS
   12308 
   12309      ;;
   12310 esac
   12311 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12312 # in which case we are not to be found in the path.
   12313 if test "x$as_myself" = x; then
   12314   as_myself=$0
   12315 fi
   12316 if test ! -f "$as_myself"; then
   12317   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12318   exit 1
   12319 fi
   12320 
   12321 # Unset variables that we do not need and which cause bugs (e.g. in
   12322 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12323 # suppresses any "Segmentation fault" message there.  '((' could
   12324 # trigger a bug in pdksh 5.2.14.
   12325 for as_var in BASH_ENV ENV MAIL MAILPATH
   12326 do eval test x\${$as_var+set} = xset \
   12327   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12328 done
   12329 PS1='$ '
   12330 PS2='> '
   12331 PS4='+ '
   12332 
   12333 # NLS nuisances.
   12334 LC_ALL=C
   12335 export LC_ALL
   12336 LANGUAGE=C
   12337 export LANGUAGE
   12338 
   12339 # CDPATH.
   12340 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12341 
   12342 
   12343 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12344 # ----------------------------------------
   12345 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12346 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12347 # script with STATUS, using 1 if that was 0.
   12348 as_fn_error ()
   12349 {
   12350   as_status=$1; test $as_status -eq 0 && as_status=1
   12351   if test "$4"; then
   12352     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12353     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12354   fi
   12355   $as_echo "$as_me: error: $2" >&2
   12356   as_fn_exit $as_status
   12357 } # as_fn_error
   12358 
   12359 
   12360 # as_fn_set_status STATUS
   12361 # -----------------------
   12362 # Set $? to STATUS, without forking.
   12363 as_fn_set_status ()
   12364 {
   12365   return $1
   12366 } # as_fn_set_status
   12367 
   12368 # as_fn_exit STATUS
   12369 # -----------------
   12370 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12371 as_fn_exit ()
   12372 {
   12373   set +e
   12374   as_fn_set_status $1
   12375   exit $1
   12376 } # as_fn_exit
   12377 
   12378 # as_fn_unset VAR
   12379 # ---------------
   12380 # Portably unset VAR.
   12381 as_fn_unset ()
   12382 {
   12383   { eval $1=; unset $1;}
   12384 }
   12385 as_unset=as_fn_unset
   12386 # as_fn_append VAR VALUE
   12387 # ----------------------
   12388 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12389 # advantage of any shell optimizations that allow amortized linear growth over
   12390 # repeated appends, instead of the typical quadratic growth present in naive
   12391 # implementations.
   12392 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12393   eval 'as_fn_append ()
   12394   {
   12395     eval $1+=\$2
   12396   }'
   12397 else
   12398   as_fn_append ()
   12399   {
   12400     eval $1=\$$1\$2
   12401   }
   12402 fi # as_fn_append
   12403 
   12404 # as_fn_arith ARG...
   12405 # ------------------
   12406 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12407 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12408 # must be portable across $(()) and expr.
   12409 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12410   eval 'as_fn_arith ()
   12411   {
   12412     as_val=$(( $* ))
   12413   }'
   12414 else
   12415   as_fn_arith ()
   12416   {
   12417     as_val=`expr "$@" || test $? -eq 1`
   12418   }
   12419 fi # as_fn_arith
   12420 
   12421 
   12422 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12424   as_expr=expr
   12425 else
   12426   as_expr=false
   12427 fi
   12428 
   12429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12430   as_basename=basename
   12431 else
   12432   as_basename=false
   12433 fi
   12434 
   12435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12436   as_dirname=dirname
   12437 else
   12438   as_dirname=false
   12439 fi
   12440 
   12441 as_me=`$as_basename -- "$0" ||
   12442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12443 	 X"$0" : 'X\(//\)$' \| \
   12444 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12445 $as_echo X/"$0" |
   12446     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12447 	    s//\1/
   12448 	    q
   12449 	  }
   12450 	  /^X\/\(\/\/\)$/{
   12451 	    s//\1/
   12452 	    q
   12453 	  }
   12454 	  /^X\/\(\/\).*/{
   12455 	    s//\1/
   12456 	    q
   12457 	  }
   12458 	  s/.*/./; q'`
   12459 
   12460 # Avoid depending upon Character Ranges.
   12461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12464 as_cr_digits='0123456789'
   12465 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12466 
   12467 ECHO_C= ECHO_N= ECHO_T=
   12468 case `echo -n x` in #(((((
   12469 -n*)
   12470   case `echo 'xy\c'` in
   12471   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12472   xy)  ECHO_C='\c';;
   12473   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12474        ECHO_T='	';;
   12475   esac;;
   12476 *)
   12477   ECHO_N='-n';;
   12478 esac
   12479 
   12480 rm -f conf$$ conf$$.exe conf$$.file
   12481 if test -d conf$$.dir; then
   12482   rm -f conf$$.dir/conf$$.file
   12483 else
   12484   rm -f conf$$.dir
   12485   mkdir conf$$.dir 2>/dev/null
   12486 fi
   12487 if (echo >conf$$.file) 2>/dev/null; then
   12488   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12489     as_ln_s='ln -s'
   12490     # ... but there are two gotchas:
   12491     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12492     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12493     # In both cases, we have to default to `cp -p'.
   12494     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12495       as_ln_s='cp -p'
   12496   elif ln conf$$.file conf$$ 2>/dev/null; then
   12497     as_ln_s=ln
   12498   else
   12499     as_ln_s='cp -p'
   12500   fi
   12501 else
   12502   as_ln_s='cp -p'
   12503 fi
   12504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12505 rmdir conf$$.dir 2>/dev/null
   12506 
   12507 
   12508 # as_fn_mkdir_p
   12509 # -------------
   12510 # Create "$as_dir" as a directory, including parents if necessary.
   12511 as_fn_mkdir_p ()
   12512 {
   12513 
   12514   case $as_dir in #(
   12515   -*) as_dir=./$as_dir;;
   12516   esac
   12517   test -d "$as_dir" || eval $as_mkdir_p || {
   12518     as_dirs=
   12519     while :; do
   12520       case $as_dir in #(
   12521       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12522       *) as_qdir=$as_dir;;
   12523       esac
   12524       as_dirs="'$as_qdir' $as_dirs"
   12525       as_dir=`$as_dirname -- "$as_dir" ||
   12526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12527 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12528 	 X"$as_dir" : 'X\(//\)$' \| \
   12529 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12530 $as_echo X"$as_dir" |
   12531     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12532 	    s//\1/
   12533 	    q
   12534 	  }
   12535 	  /^X\(\/\/\)[^/].*/{
   12536 	    s//\1/
   12537 	    q
   12538 	  }
   12539 	  /^X\(\/\/\)$/{
   12540 	    s//\1/
   12541 	    q
   12542 	  }
   12543 	  /^X\(\/\).*/{
   12544 	    s//\1/
   12545 	    q
   12546 	  }
   12547 	  s/.*/./; q'`
   12548       test -d "$as_dir" && break
   12549     done
   12550     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12551   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12552 
   12553 
   12554 } # as_fn_mkdir_p
   12555 if mkdir -p . 2>/dev/null; then
   12556   as_mkdir_p='mkdir -p "$as_dir"'
   12557 else
   12558   test -d ./-p && rmdir ./-p
   12559   as_mkdir_p=false
   12560 fi
   12561 
   12562 if test -x / >/dev/null 2>&1; then
   12563   as_test_x='test -x'
   12564 else
   12565   if ls -dL / >/dev/null 2>&1; then
   12566     as_ls_L_option=L
   12567   else
   12568     as_ls_L_option=
   12569   fi
   12570   as_test_x='
   12571     eval sh -c '\''
   12572       if test -d "$1"; then
   12573 	test -d "$1/.";
   12574       else
   12575 	case $1 in #(
   12576 	-*)set "./$1";;
   12577 	esac;
   12578 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12579 	???[sx]*):;;*)false;;esac;fi
   12580     '\'' sh
   12581   '
   12582 fi
   12583 as_executable_p=$as_test_x
   12584 
   12585 # Sed expression to map a string onto a valid CPP name.
   12586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12587 
   12588 # Sed expression to map a string onto a valid variable name.
   12589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12590 
   12591 
   12592 exec 6>&1
   12593 ## ----------------------------------- ##
   12594 ## Main body of $CONFIG_STATUS script. ##
   12595 ## ----------------------------------- ##
   12596 _ASEOF
   12597 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12598 
   12599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12600 # Save the log message, to keep $0 and so on meaningful, and to
   12601 # report actual input values of CONFIG_FILES etc. instead of their
   12602 # values after options handling.
   12603 ac_log="
   12604 This file was extended by libXcursor $as_me 1.1.11, which was
   12605 generated by GNU Autoconf 2.68.  Invocation command line was
   12606 
   12607   CONFIG_FILES    = $CONFIG_FILES
   12608   CONFIG_HEADERS  = $CONFIG_HEADERS
   12609   CONFIG_LINKS    = $CONFIG_LINKS
   12610   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12611   $ $0 $@
   12612 
   12613 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12614 "
   12615 
   12616 _ACEOF
   12617 
   12618 case $ac_config_files in *"
   12619 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12620 esac
   12621 
   12622 case $ac_config_headers in *"
   12623 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12624 esac
   12625 
   12626 
   12627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12628 # Files that config.status was made for.
   12629 config_files="$ac_config_files"
   12630 config_headers="$ac_config_headers"
   12631 config_commands="$ac_config_commands"
   12632 
   12633 _ACEOF
   12634 
   12635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12636 ac_cs_usage="\
   12637 \`$as_me' instantiates files and other configuration actions
   12638 from templates according to the current configuration.  Unless the files
   12639 and actions are specified as TAGs, all are instantiated by default.
   12640 
   12641 Usage: $0 [OPTION]... [TAG]...
   12642 
   12643   -h, --help       print this help, then exit
   12644   -V, --version    print version number and configuration settings, then exit
   12645       --config     print configuration, then exit
   12646   -q, --quiet, --silent
   12647                    do not print progress messages
   12648   -d, --debug      don't remove temporary files
   12649       --recheck    update $as_me by reconfiguring in the same conditions
   12650       --file=FILE[:TEMPLATE]
   12651                    instantiate the configuration file FILE
   12652       --header=FILE[:TEMPLATE]
   12653                    instantiate the configuration header FILE
   12654 
   12655 Configuration files:
   12656 $config_files
   12657 
   12658 Configuration headers:
   12659 $config_headers
   12660 
   12661 Configuration commands:
   12662 $config_commands
   12663 
   12664 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12665 
   12666 _ACEOF
   12667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12668 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12669 ac_cs_version="\\
   12670 libXcursor config.status 1.1.11
   12671 configured by $0, generated by GNU Autoconf 2.68,
   12672   with options \\"\$ac_cs_config\\"
   12673 
   12674 Copyright (C) 2010 Free Software Foundation, Inc.
   12675 This config.status script is free software; the Free Software Foundation
   12676 gives unlimited permission to copy, distribute and modify it."
   12677 
   12678 ac_pwd='$ac_pwd'
   12679 srcdir='$srcdir'
   12680 INSTALL='$INSTALL'
   12681 MKDIR_P='$MKDIR_P'
   12682 AWK='$AWK'
   12683 test -n "\$AWK" || AWK=awk
   12684 _ACEOF
   12685 
   12686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12687 # The default lists apply if the user does not specify any file.
   12688 ac_need_defaults=:
   12689 while test $# != 0
   12690 do
   12691   case $1 in
   12692   --*=?*)
   12693     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12694     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12695     ac_shift=:
   12696     ;;
   12697   --*=)
   12698     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12699     ac_optarg=
   12700     ac_shift=:
   12701     ;;
   12702   *)
   12703     ac_option=$1
   12704     ac_optarg=$2
   12705     ac_shift=shift
   12706     ;;
   12707   esac
   12708 
   12709   case $ac_option in
   12710   # Handling of the options.
   12711   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12712     ac_cs_recheck=: ;;
   12713   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12714     $as_echo "$ac_cs_version"; exit ;;
   12715   --config | --confi | --conf | --con | --co | --c )
   12716     $as_echo "$ac_cs_config"; exit ;;
   12717   --debug | --debu | --deb | --de | --d | -d )
   12718     debug=: ;;
   12719   --file | --fil | --fi | --f )
   12720     $ac_shift
   12721     case $ac_optarg in
   12722     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12723     '') as_fn_error $? "missing file argument" ;;
   12724     esac
   12725     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12726     ac_need_defaults=false;;
   12727   --header | --heade | --head | --hea )
   12728     $ac_shift
   12729     case $ac_optarg in
   12730     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12731     esac
   12732     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12733     ac_need_defaults=false;;
   12734   --he | --h)
   12735     # Conflict between --help and --header
   12736     as_fn_error $? "ambiguous option: \`$1'
   12737 Try \`$0 --help' for more information.";;
   12738   --help | --hel | -h )
   12739     $as_echo "$ac_cs_usage"; exit ;;
   12740   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12741   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12742     ac_cs_silent=: ;;
   12743 
   12744   # This is an error.
   12745   -*) as_fn_error $? "unrecognized option: \`$1'
   12746 Try \`$0 --help' for more information." ;;
   12747 
   12748   *) as_fn_append ac_config_targets " $1"
   12749      ac_need_defaults=false ;;
   12750 
   12751   esac
   12752   shift
   12753 done
   12754 
   12755 ac_configure_extra_args=
   12756 
   12757 if $ac_cs_silent; then
   12758   exec 6>/dev/null
   12759   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12760 fi
   12761 
   12762 _ACEOF
   12763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12764 if \$ac_cs_recheck; then
   12765   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12766   shift
   12767   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12768   CONFIG_SHELL='$SHELL'
   12769   export CONFIG_SHELL
   12770   exec "\$@"
   12771 fi
   12772 
   12773 _ACEOF
   12774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12775 exec 5>>config.log
   12776 {
   12777   echo
   12778   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12779 ## Running $as_me. ##
   12780 _ASBOX
   12781   $as_echo "$ac_log"
   12782 } >&5
   12783 
   12784 _ACEOF
   12785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12786 #
   12787 # INIT-COMMANDS
   12788 #
   12789 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12790 
   12791 
   12792 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12793 # if CDPATH is set.
   12794 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12795 
   12796 sed_quote_subst='$sed_quote_subst'
   12797 double_quote_subst='$double_quote_subst'
   12798 delay_variable_subst='$delay_variable_subst'
   12799 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   12800 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   12801 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   12802 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   12803 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   12804 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   12805 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   12806 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   12807 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   12808 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   12809 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   12810 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   12811 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   12812 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   12813 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   12814 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   12815 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   12816 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   12817 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   12818 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   12819 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   12820 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   12821 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   12822 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   12823 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   12824 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   12825 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   12826 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   12827 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   12828 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   12829 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   12830 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   12831 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   12832 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   12833 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   12834 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   12835 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   12836 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12837 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12838 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   12839 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   12840 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   12841 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   12842 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   12843 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   12844 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   12845 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   12846 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   12847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   12848 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   12849 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   12850 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   12851 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   12852 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   12853 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   12854 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   12855 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   12856 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   12857 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   12858 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   12859 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   12860 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   12861 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   12862 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   12863 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12864 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   12865 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   12866 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   12867 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   12868 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   12869 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   12870 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   12871 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   12872 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12873 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   12874 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   12875 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   12876 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12877 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   12878 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   12879 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   12880 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   12881 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   12882 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   12883 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   12884 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12885 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   12886 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   12887 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   12888 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   12889 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   12890 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   12891 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   12892 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   12893 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   12894 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   12895 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   12896 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   12897 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   12898 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   12899 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   12900 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   12901 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   12902 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   12903 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   12904 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   12905 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   12906 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   12907 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   12908 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   12909 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   12910 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   12911 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   12912 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   12913 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   12914 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   12915 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   12916 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   12917 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   12918 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   12919 
   12920 LTCC='$LTCC'
   12921 LTCFLAGS='$LTCFLAGS'
   12922 compiler='$compiler_DEFAULT'
   12923 
   12924 # A function that is used when there is no print builtin or printf.
   12925 func_fallback_echo ()
   12926 {
   12927   eval 'cat <<_LTECHO_EOF
   12928 \$1
   12929 _LTECHO_EOF'
   12930 }
   12931 
   12932 # Quote evaled strings.
   12933 for var in SHELL \
   12934 ECHO \
   12935 SED \
   12936 GREP \
   12937 EGREP \
   12938 FGREP \
   12939 LD \
   12940 NM \
   12941 LN_S \
   12942 lt_SP2NL \
   12943 lt_NL2SP \
   12944 reload_flag \
   12945 OBJDUMP \
   12946 deplibs_check_method \
   12947 file_magic_cmd \
   12948 AR \
   12949 AR_FLAGS \
   12950 STRIP \
   12951 RANLIB \
   12952 CC \
   12953 CFLAGS \
   12954 compiler \
   12955 lt_cv_sys_global_symbol_pipe \
   12956 lt_cv_sys_global_symbol_to_cdecl \
   12957 lt_cv_sys_global_symbol_to_c_name_address \
   12958 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12959 lt_prog_compiler_no_builtin_flag \
   12960 lt_prog_compiler_wl \
   12961 lt_prog_compiler_pic \
   12962 lt_prog_compiler_static \
   12963 lt_cv_prog_compiler_c_o \
   12964 need_locks \
   12965 DSYMUTIL \
   12966 NMEDIT \
   12967 LIPO \
   12968 OTOOL \
   12969 OTOOL64 \
   12970 shrext_cmds \
   12971 export_dynamic_flag_spec \
   12972 whole_archive_flag_spec \
   12973 compiler_needs_object \
   12974 with_gnu_ld \
   12975 allow_undefined_flag \
   12976 no_undefined_flag \
   12977 hardcode_libdir_flag_spec \
   12978 hardcode_libdir_flag_spec_ld \
   12979 hardcode_libdir_separator \
   12980 fix_srcfile_path \
   12981 exclude_expsyms \
   12982 include_expsyms \
   12983 file_list_spec \
   12984 variables_saved_for_relink \
   12985 libname_spec \
   12986 library_names_spec \
   12987 soname_spec \
   12988 install_override_mode \
   12989 finish_eval \
   12990 old_striplib \
   12991 striplib; do
   12992     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   12993     *[\\\\\\\`\\"\\\$]*)
   12994       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12995       ;;
   12996     *)
   12997       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12998       ;;
   12999     esac
   13000 done
   13001 
   13002 # Double-quote double-evaled strings.
   13003 for var in reload_cmds \
   13004 old_postinstall_cmds \
   13005 old_postuninstall_cmds \
   13006 old_archive_cmds \
   13007 extract_expsyms_cmds \
   13008 old_archive_from_new_cmds \
   13009 old_archive_from_expsyms_cmds \
   13010 archive_cmds \
   13011 archive_expsym_cmds \
   13012 module_cmds \
   13013 module_expsym_cmds \
   13014 export_symbols_cmds \
   13015 prelink_cmds \
   13016 postinstall_cmds \
   13017 postuninstall_cmds \
   13018 finish_cmds \
   13019 sys_lib_search_path_spec \
   13020 sys_lib_dlsearch_path_spec; do
   13021     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   13022     *[\\\\\\\`\\"\\\$]*)
   13023       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13024       ;;
   13025     *)
   13026       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13027       ;;
   13028     esac
   13029 done
   13030 
   13031 ac_aux_dir='$ac_aux_dir'
   13032 xsi_shell='$xsi_shell'
   13033 lt_shell_append='$lt_shell_append'
   13034 
   13035 # See if we are running on zsh, and set the options which allow our
   13036 # commands through without removal of \ escapes INIT.
   13037 if test -n "\${ZSH_VERSION+set}" ; then
   13038    setopt NO_GLOB_SUBST
   13039 fi
   13040 
   13041 
   13042     PACKAGE='$PACKAGE'
   13043     VERSION='$VERSION'
   13044     TIMESTAMP='$TIMESTAMP'
   13045     RM='$RM'
   13046     ofile='$ofile'
   13047 
   13048 
   13049 
   13050 
   13051 _ACEOF
   13052 
   13053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13054 
   13055 # Handling of arguments.
   13056 for ac_config_target in $ac_config_targets
   13057 do
   13058   case $ac_config_target in
   13059     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13060     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13061     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13062     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13063     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13064     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13065     "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;;
   13066 
   13067   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13068   esac
   13069 done
   13070 
   13071 
   13072 # If the user did not use the arguments to specify the items to instantiate,
   13073 # then the envvar interface is used.  Set only those that are not.
   13074 # We use the long form for the default assignment because of an extremely
   13075 # bizarre bug on SunOS 4.1.3.
   13076 if $ac_need_defaults; then
   13077   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13078   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13079   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13080 fi
   13081 
   13082 # Have a temporary directory for convenience.  Make it in the build tree
   13083 # simply because there is no reason against having it here, and in addition,
   13084 # creating and moving files from /tmp can sometimes cause problems.
   13085 # Hook for its removal unless debugging.
   13086 # Note that there is a small window in which the directory will not be cleaned:
   13087 # after its creation but before its name has been assigned to `$tmp'.
   13088 $debug ||
   13089 {
   13090   tmp= ac_tmp=
   13091   trap 'exit_status=$?
   13092   : "${ac_tmp:=$tmp}"
   13093   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   13094 ' 0
   13095   trap 'as_fn_exit 1' 1 2 13 15
   13096 }
   13097 # Create a (secure) tmp directory for tmp files.
   13098 
   13099 {
   13100   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13101   test -d "$tmp"
   13102 }  ||
   13103 {
   13104   tmp=./conf$$-$RANDOM
   13105   (umask 077 && mkdir "$tmp")
   13106 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   13107 ac_tmp=$tmp
   13108 
   13109 # Set up the scripts for CONFIG_FILES section.
   13110 # No need to generate them if there are no CONFIG_FILES.
   13111 # This happens for instance with `./config.status config.h'.
   13112 if test -n "$CONFIG_FILES"; then
   13113 
   13114 
   13115 ac_cr=`echo X | tr X '\015'`
   13116 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13117 # But we know of no other shell where ac_cr would be empty at this
   13118 # point, so we can use a bashism as a fallback.
   13119 if test "x$ac_cr" = x; then
   13120   eval ac_cr=\$\'\\r\'
   13121 fi
   13122 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13123 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13124   ac_cs_awk_cr='\\r'
   13125 else
   13126   ac_cs_awk_cr=$ac_cr
   13127 fi
   13128 
   13129 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   13130 _ACEOF
   13131 
   13132 
   13133 {
   13134   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13135   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13136   echo "_ACEOF"
   13137 } >conf$$subs.sh ||
   13138   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13139 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   13140 ac_delim='%!_!# '
   13141 for ac_last_try in false false false false false :; do
   13142   . ./conf$$subs.sh ||
   13143     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13144 
   13145   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13146   if test $ac_delim_n = $ac_delim_num; then
   13147     break
   13148   elif $ac_last_try; then
   13149     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   13150   else
   13151     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13152   fi
   13153 done
   13154 rm -f conf$$subs.sh
   13155 
   13156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13157 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   13158 _ACEOF
   13159 sed -n '
   13160 h
   13161 s/^/S["/; s/!.*/"]=/
   13162 p
   13163 g
   13164 s/^[^!]*!//
   13165 :repl
   13166 t repl
   13167 s/'"$ac_delim"'$//
   13168 t delim
   13169 :nl
   13170 h
   13171 s/\(.\{148\}\)..*/\1/
   13172 t more1
   13173 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13174 p
   13175 n
   13176 b repl
   13177 :more1
   13178 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13179 p
   13180 g
   13181 s/.\{148\}//
   13182 t nl
   13183 :delim
   13184 h
   13185 s/\(.\{148\}\)..*/\1/
   13186 t more2
   13187 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13188 p
   13189 b
   13190 :more2
   13191 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13192 p
   13193 g
   13194 s/.\{148\}//
   13195 t delim
   13196 ' <conf$$subs.awk | sed '
   13197 /^[^""]/{
   13198   N
   13199   s/\n//
   13200 }
   13201 ' >>$CONFIG_STATUS || ac_write_fail=1
   13202 rm -f conf$$subs.awk
   13203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13204 _ACAWK
   13205 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   13206   for (key in S) S_is_set[key] = 1
   13207   FS = ""
   13208 
   13209 }
   13210 {
   13211   line = $ 0
   13212   nfields = split(line, field, "@")
   13213   substed = 0
   13214   len = length(field[1])
   13215   for (i = 2; i < nfields; i++) {
   13216     key = field[i]
   13217     keylen = length(key)
   13218     if (S_is_set[key]) {
   13219       value = S[key]
   13220       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13221       len += length(value) + length(field[++i])
   13222       substed = 1
   13223     } else
   13224       len += 1 + keylen
   13225   }
   13226 
   13227   print line
   13228 }
   13229 
   13230 _ACAWK
   13231 _ACEOF
   13232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13233 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13234   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13235 else
   13236   cat
   13237 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   13238   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   13239 _ACEOF
   13240 
   13241 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   13242 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   13243 # trailing colons and then remove the whole line if VPATH becomes empty
   13244 # (actually we leave an empty line to preserve line numbers).
   13245 if test "x$srcdir" = x.; then
   13246   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   13247 h
   13248 s///
   13249 s/^/:/
   13250 s/[	 ]*$/:/
   13251 s/:\$(srcdir):/:/g
   13252 s/:\${srcdir}:/:/g
   13253 s/:@srcdir@:/:/g
   13254 s/^:*//
   13255 s/:*$//
   13256 x
   13257 s/\(=[	 ]*\).*/\1/
   13258 G
   13259 s/\n//
   13260 s/^[^=]*=[	 ]*$//
   13261 }'
   13262 fi
   13263 
   13264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13265 fi # test -n "$CONFIG_FILES"
   13266 
   13267 # Set up the scripts for CONFIG_HEADERS section.
   13268 # No need to generate them if there are no CONFIG_HEADERS.
   13269 # This happens for instance with `./config.status Makefile'.
   13270 if test -n "$CONFIG_HEADERS"; then
   13271 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   13272 BEGIN {
   13273 _ACEOF
   13274 
   13275 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13276 # here-document in config.status, that substitutes the proper values into
   13277 # config.h.in to produce config.h.
   13278 
   13279 # Create a delimiter string that does not exist in confdefs.h, to ease
   13280 # handling of long lines.
   13281 ac_delim='%!_!# '
   13282 for ac_last_try in false false :; do
   13283   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   13284   if test -z "$ac_tt"; then
   13285     break
   13286   elif $ac_last_try; then
   13287     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   13288   else
   13289     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13290   fi
   13291 done
   13292 
   13293 # For the awk script, D is an array of macro values keyed by name,
   13294 # likewise P contains macro parameters if any.  Preserve backslash
   13295 # newline sequences.
   13296 
   13297 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13298 sed -n '
   13299 s/.\{148\}/&'"$ac_delim"'/g
   13300 t rset
   13301 :rset
   13302 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13303 t def
   13304 d
   13305 :def
   13306 s/\\$//
   13307 t bsnl
   13308 s/["\\]/\\&/g
   13309 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13310 D["\1"]=" \3"/p
   13311 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13312 d
   13313 :bsnl
   13314 s/["\\]/\\&/g
   13315 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13316 D["\1"]=" \3\\\\\\n"\\/p
   13317 t cont
   13318 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13319 t cont
   13320 d
   13321 :cont
   13322 n
   13323 s/.\{148\}/&'"$ac_delim"'/g
   13324 t clear
   13325 :clear
   13326 s/\\$//
   13327 t bsnlc
   13328 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13329 d
   13330 :bsnlc
   13331 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13332 b cont
   13333 ' <confdefs.h | sed '
   13334 s/'"$ac_delim"'/"\\\
   13335 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13336 
   13337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13338   for (key in D) D_is_set[key] = 1
   13339   FS = ""
   13340 }
   13341 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13342   line = \$ 0
   13343   split(line, arg, " ")
   13344   if (arg[1] == "#") {
   13345     defundef = arg[2]
   13346     mac1 = arg[3]
   13347   } else {
   13348     defundef = substr(arg[1], 2)
   13349     mac1 = arg[2]
   13350   }
   13351   split(mac1, mac2, "(") #)
   13352   macro = mac2[1]
   13353   prefix = substr(line, 1, index(line, defundef) - 1)
   13354   if (D_is_set[macro]) {
   13355     # Preserve the white space surrounding the "#".
   13356     print prefix "define", macro P[macro] D[macro]
   13357     next
   13358   } else {
   13359     # Replace #undef with comments.  This is necessary, for example,
   13360     # in the case of _POSIX_SOURCE, which is predefined and required
   13361     # on some systems where configure will not decide to define it.
   13362     if (defundef == "undef") {
   13363       print "/*", prefix defundef, macro, "*/"
   13364       next
   13365     }
   13366   }
   13367 }
   13368 { print }
   13369 _ACAWK
   13370 _ACEOF
   13371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13372   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   13373 fi # test -n "$CONFIG_HEADERS"
   13374 
   13375 
   13376 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13377 shift
   13378 for ac_tag
   13379 do
   13380   case $ac_tag in
   13381   :[FHLC]) ac_mode=$ac_tag; continue;;
   13382   esac
   13383   case $ac_mode$ac_tag in
   13384   :[FHL]*:*);;
   13385   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13386   :[FH]-) ac_tag=-:-;;
   13387   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13388   esac
   13389   ac_save_IFS=$IFS
   13390   IFS=:
   13391   set x $ac_tag
   13392   IFS=$ac_save_IFS
   13393   shift
   13394   ac_file=$1
   13395   shift
   13396 
   13397   case $ac_mode in
   13398   :L) ac_source=$1;;
   13399   :[FH])
   13400     ac_file_inputs=
   13401     for ac_f
   13402     do
   13403       case $ac_f in
   13404       -) ac_f="$ac_tmp/stdin";;
   13405       *) # Look for the file first in the build tree, then in the source tree
   13406 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13407 	 # because $ac_f cannot contain `:'.
   13408 	 test -f "$ac_f" ||
   13409 	   case $ac_f in
   13410 	   [\\/$]*) false;;
   13411 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13412 	   esac ||
   13413 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13414       esac
   13415       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13416       as_fn_append ac_file_inputs " '$ac_f'"
   13417     done
   13418 
   13419     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13420     # use $as_me), people would be surprised to read:
   13421     #    /* config.h.  Generated by config.status.  */
   13422     configure_input='Generated from '`
   13423 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13424 	`' by configure.'
   13425     if test x"$ac_file" != x-; then
   13426       configure_input="$ac_file.  $configure_input"
   13427       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13428 $as_echo "$as_me: creating $ac_file" >&6;}
   13429     fi
   13430     # Neutralize special characters interpreted by sed in replacement strings.
   13431     case $configure_input in #(
   13432     *\&* | *\|* | *\\* )
   13433        ac_sed_conf_input=`$as_echo "$configure_input" |
   13434        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13435     *) ac_sed_conf_input=$configure_input;;
   13436     esac
   13437 
   13438     case $ac_tag in
   13439     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   13440       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   13441     esac
   13442     ;;
   13443   esac
   13444 
   13445   ac_dir=`$as_dirname -- "$ac_file" ||
   13446 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13447 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13448 	 X"$ac_file" : 'X\(//\)$' \| \
   13449 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13450 $as_echo X"$ac_file" |
   13451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13452 	    s//\1/
   13453 	    q
   13454 	  }
   13455 	  /^X\(\/\/\)[^/].*/{
   13456 	    s//\1/
   13457 	    q
   13458 	  }
   13459 	  /^X\(\/\/\)$/{
   13460 	    s//\1/
   13461 	    q
   13462 	  }
   13463 	  /^X\(\/\).*/{
   13464 	    s//\1/
   13465 	    q
   13466 	  }
   13467 	  s/.*/./; q'`
   13468   as_dir="$ac_dir"; as_fn_mkdir_p
   13469   ac_builddir=.
   13470 
   13471 case "$ac_dir" in
   13472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13473 *)
   13474   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13475   # A ".." for each directory in $ac_dir_suffix.
   13476   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13477   case $ac_top_builddir_sub in
   13478   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13479   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13480   esac ;;
   13481 esac
   13482 ac_abs_top_builddir=$ac_pwd
   13483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13484 # for backward compatibility:
   13485 ac_top_builddir=$ac_top_build_prefix
   13486 
   13487 case $srcdir in
   13488   .)  # We are building in place.
   13489     ac_srcdir=.
   13490     ac_top_srcdir=$ac_top_builddir_sub
   13491     ac_abs_top_srcdir=$ac_pwd ;;
   13492   [\\/]* | ?:[\\/]* )  # Absolute name.
   13493     ac_srcdir=$srcdir$ac_dir_suffix;
   13494     ac_top_srcdir=$srcdir
   13495     ac_abs_top_srcdir=$srcdir ;;
   13496   *) # Relative name.
   13497     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13498     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13499     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13500 esac
   13501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13502 
   13503 
   13504   case $ac_mode in
   13505   :F)
   13506   #
   13507   # CONFIG_FILE
   13508   #
   13509 
   13510   case $INSTALL in
   13511   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13512   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13513   esac
   13514   ac_MKDIR_P=$MKDIR_P
   13515   case $MKDIR_P in
   13516   [\\/$]* | ?:[\\/]* ) ;;
   13517   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13518   esac
   13519 _ACEOF
   13520 
   13521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13522 # If the template does not know about datarootdir, expand it.
   13523 # FIXME: This hack should be removed a few years after 2.60.
   13524 ac_datarootdir_hack=; ac_datarootdir_seen=
   13525 ac_sed_dataroot='
   13526 /datarootdir/ {
   13527   p
   13528   q
   13529 }
   13530 /@datadir@/p
   13531 /@docdir@/p
   13532 /@infodir@/p
   13533 /@localedir@/p
   13534 /@mandir@/p'
   13535 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13536 *datarootdir*) ac_datarootdir_seen=yes;;
   13537 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13538   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13539 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13540 _ACEOF
   13541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13542   ac_datarootdir_hack='
   13543   s&@datadir@&$datadir&g
   13544   s&@docdir@&$docdir&g
   13545   s&@infodir@&$infodir&g
   13546   s&@localedir@&$localedir&g
   13547   s&@mandir@&$mandir&g
   13548   s&\\\${datarootdir}&$datarootdir&g' ;;
   13549 esac
   13550 _ACEOF
   13551 
   13552 # Neutralize VPATH when `$srcdir' = `.'.
   13553 # Shell code in configure.ac might set extrasub.
   13554 # FIXME: do we really want to maintain this feature?
   13555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13556 ac_sed_extra="$ac_vpsub
   13557 $extrasub
   13558 _ACEOF
   13559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13560 :t
   13561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13562 s|@configure_input@|$ac_sed_conf_input|;t t
   13563 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13564 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13565 s&@srcdir@&$ac_srcdir&;t t
   13566 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13567 s&@top_srcdir@&$ac_top_srcdir&;t t
   13568 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13569 s&@builddir@&$ac_builddir&;t t
   13570 s&@abs_builddir@&$ac_abs_builddir&;t t
   13571 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13572 s&@INSTALL@&$ac_INSTALL&;t t
   13573 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13574 $ac_datarootdir_hack
   13575 "
   13576 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13577   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13578 
   13579 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13580   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13581   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13582       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13583   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13584 which seems to be undefined.  Please make sure it is defined" >&5
   13585 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13586 which seems to be undefined.  Please make sure it is defined" >&2;}
   13587 
   13588   rm -f "$ac_tmp/stdin"
   13589   case $ac_file in
   13590   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13591   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13592   esac \
   13593   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13594  ;;
   13595   :H)
   13596   #
   13597   # CONFIG_HEADER
   13598   #
   13599   if test x"$ac_file" != x-; then
   13600     {
   13601       $as_echo "/* $configure_input  */" \
   13602       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13603     } >"$ac_tmp/config.h" \
   13604       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13605     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13606       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13607 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13608     else
   13609       rm -f "$ac_file"
   13610       mv "$ac_tmp/config.h" "$ac_file" \
   13611 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13612     fi
   13613   else
   13614     $as_echo "/* $configure_input  */" \
   13615       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13616       || as_fn_error $? "could not create -" "$LINENO" 5
   13617   fi
   13618 # Compute "$ac_file"'s index in $config_headers.
   13619 _am_arg="$ac_file"
   13620 _am_stamp_count=1
   13621 for _am_header in $config_headers :; do
   13622   case $_am_header in
   13623     $_am_arg | $_am_arg:* )
   13624       break ;;
   13625     * )
   13626       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13627   esac
   13628 done
   13629 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13630 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13631 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13632 	 X"$_am_arg" : 'X\(//\)$' \| \
   13633 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13634 $as_echo X"$_am_arg" |
   13635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13636 	    s//\1/
   13637 	    q
   13638 	  }
   13639 	  /^X\(\/\/\)[^/].*/{
   13640 	    s//\1/
   13641 	    q
   13642 	  }
   13643 	  /^X\(\/\/\)$/{
   13644 	    s//\1/
   13645 	    q
   13646 	  }
   13647 	  /^X\(\/\).*/{
   13648 	    s//\1/
   13649 	    q
   13650 	  }
   13651 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13652  ;;
   13653 
   13654   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13655 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13656  ;;
   13657   esac
   13658 
   13659 
   13660   case $ac_file$ac_mode in
   13661     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13662   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13663   # are listed without --file.  Let's play safe and only enable the eval
   13664   # if we detect the quoting.
   13665   case $CONFIG_FILES in
   13666   *\'*) eval set x "$CONFIG_FILES" ;;
   13667   *)   set x $CONFIG_FILES ;;
   13668   esac
   13669   shift
   13670   for mf
   13671   do
   13672     # Strip MF so we end up with the name of the file.
   13673     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13674     # Check whether this is an Automake generated Makefile or not.
   13675     # We used to match only the files named `Makefile.in', but
   13676     # some people rename them; so instead we look at the file content.
   13677     # Grep'ing the first line is not enough: some people post-process
   13678     # each Makefile.in and add a new line on top of each file to say so.
   13679     # Grep'ing the whole file is not good either: AIX grep has a line
   13680     # limit of 2048, but all sed's we know have understand at least 4000.
   13681     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13682       dirpart=`$as_dirname -- "$mf" ||
   13683 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13684 	 X"$mf" : 'X\(//\)[^/]' \| \
   13685 	 X"$mf" : 'X\(//\)$' \| \
   13686 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13687 $as_echo X"$mf" |
   13688     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13689 	    s//\1/
   13690 	    q
   13691 	  }
   13692 	  /^X\(\/\/\)[^/].*/{
   13693 	    s//\1/
   13694 	    q
   13695 	  }
   13696 	  /^X\(\/\/\)$/{
   13697 	    s//\1/
   13698 	    q
   13699 	  }
   13700 	  /^X\(\/\).*/{
   13701 	    s//\1/
   13702 	    q
   13703 	  }
   13704 	  s/.*/./; q'`
   13705     else
   13706       continue
   13707     fi
   13708     # Extract the definition of DEPDIR, am__include, and am__quote
   13709     # from the Makefile without running `make'.
   13710     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13711     test -z "$DEPDIR" && continue
   13712     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13713     test -z "am__include" && continue
   13714     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13715     # When using ansi2knr, U may be empty or an underscore; expand it
   13716     U=`sed -n 's/^U = //p' < "$mf"`
   13717     # Find all dependency output files, they are included files with
   13718     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13719     # simplest approach to changing $(DEPDIR) to its actual value in the
   13720     # expansion.
   13721     for file in `sed -n "
   13722       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13723 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13724       # Make sure the directory exists.
   13725       test -f "$dirpart/$file" && continue
   13726       fdir=`$as_dirname -- "$file" ||
   13727 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13728 	 X"$file" : 'X\(//\)[^/]' \| \
   13729 	 X"$file" : 'X\(//\)$' \| \
   13730 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13731 $as_echo X"$file" |
   13732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13733 	    s//\1/
   13734 	    q
   13735 	  }
   13736 	  /^X\(\/\/\)[^/].*/{
   13737 	    s//\1/
   13738 	    q
   13739 	  }
   13740 	  /^X\(\/\/\)$/{
   13741 	    s//\1/
   13742 	    q
   13743 	  }
   13744 	  /^X\(\/\).*/{
   13745 	    s//\1/
   13746 	    q
   13747 	  }
   13748 	  s/.*/./; q'`
   13749       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13750       # echo "creating $dirpart/$file"
   13751       echo '# dummy' > "$dirpart/$file"
   13752     done
   13753   done
   13754 }
   13755  ;;
   13756     "libtool":C)
   13757 
   13758     # See if we are running on zsh, and set the options which allow our
   13759     # commands through without removal of \ escapes.
   13760     if test -n "${ZSH_VERSION+set}" ; then
   13761       setopt NO_GLOB_SUBST
   13762     fi
   13763 
   13764     cfgfile="${ofile}T"
   13765     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13766     $RM "$cfgfile"
   13767 
   13768     cat <<_LT_EOF >> "$cfgfile"
   13769 #! $SHELL
   13770 
   13771 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13772 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13773 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13774 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13775 #
   13776 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13777 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   13778 #                 Inc.
   13779 #   Written by Gordon Matzigkeit, 1996
   13780 #
   13781 #   This file is part of GNU Libtool.
   13782 #
   13783 # GNU Libtool is free software; you can redistribute it and/or
   13784 # modify it under the terms of the GNU General Public License as
   13785 # published by the Free Software Foundation; either version 2 of
   13786 # the License, or (at your option) any later version.
   13787 #
   13788 # As a special exception to the GNU General Public License,
   13789 # if you distribute this file as part of a program or library that
   13790 # is built using GNU Libtool, you may include this file under the
   13791 # same distribution terms that you use for the rest of that program.
   13792 #
   13793 # GNU Libtool is distributed in the hope that it will be useful,
   13794 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13795 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13796 # GNU General Public License for more details.
   13797 #
   13798 # You should have received a copy of the GNU General Public License
   13799 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13800 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13801 # obtained by writing to the Free Software Foundation, Inc.,
   13802 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13803 
   13804 
   13805 # The names of the tagged configurations supported by this script.
   13806 available_tags=""
   13807 
   13808 # ### BEGIN LIBTOOL CONFIG
   13809 
   13810 # Which release of libtool.m4 was used?
   13811 macro_version=$macro_version
   13812 macro_revision=$macro_revision
   13813 
   13814 # Whether or not to build shared libraries.
   13815 build_libtool_libs=$enable_shared
   13816 
   13817 # Whether or not to build static libraries.
   13818 build_old_libs=$enable_static
   13819 
   13820 # What type of objects to build.
   13821 pic_mode=$pic_mode
   13822 
   13823 # Whether or not to optimize for fast installation.
   13824 fast_install=$enable_fast_install
   13825 
   13826 # Shell to use when invoking shell scripts.
   13827 SHELL=$lt_SHELL
   13828 
   13829 # An echo program that protects backslashes.
   13830 ECHO=$lt_ECHO
   13831 
   13832 # The host system.
   13833 host_alias=$host_alias
   13834 host=$host
   13835 host_os=$host_os
   13836 
   13837 # The build system.
   13838 build_alias=$build_alias
   13839 build=$build
   13840 build_os=$build_os
   13841 
   13842 # A sed program that does not truncate output.
   13843 SED=$lt_SED
   13844 
   13845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13846 Xsed="\$SED -e 1s/^X//"
   13847 
   13848 # A grep program that handles long lines.
   13849 GREP=$lt_GREP
   13850 
   13851 # An ERE matcher.
   13852 EGREP=$lt_EGREP
   13853 
   13854 # A literal string matcher.
   13855 FGREP=$lt_FGREP
   13856 
   13857 # A BSD- or MS-compatible name lister.
   13858 NM=$lt_NM
   13859 
   13860 # Whether we need soft or hard links.
   13861 LN_S=$lt_LN_S
   13862 
   13863 # What is the maximum length of a command?
   13864 max_cmd_len=$max_cmd_len
   13865 
   13866 # Object file suffix (normally "o").
   13867 objext=$ac_objext
   13868 
   13869 # Executable file suffix (normally "").
   13870 exeext=$exeext
   13871 
   13872 # whether the shell understands "unset".
   13873 lt_unset=$lt_unset
   13874 
   13875 # turn spaces into newlines.
   13876 SP2NL=$lt_lt_SP2NL
   13877 
   13878 # turn newlines into spaces.
   13879 NL2SP=$lt_lt_NL2SP
   13880 
   13881 # An object symbol dumper.
   13882 OBJDUMP=$lt_OBJDUMP
   13883 
   13884 # Method to check whether dependent libraries are shared objects.
   13885 deplibs_check_method=$lt_deplibs_check_method
   13886 
   13887 # Command to use when deplibs_check_method == "file_magic".
   13888 file_magic_cmd=$lt_file_magic_cmd
   13889 
   13890 # The archiver.
   13891 AR=$lt_AR
   13892 AR_FLAGS=$lt_AR_FLAGS
   13893 
   13894 # A symbol stripping program.
   13895 STRIP=$lt_STRIP
   13896 
   13897 # Commands used to install an old-style archive.
   13898 RANLIB=$lt_RANLIB
   13899 old_postinstall_cmds=$lt_old_postinstall_cmds
   13900 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13901 
   13902 # Whether to use a lock for old archive extraction.
   13903 lock_old_archive_extraction=$lock_old_archive_extraction
   13904 
   13905 # A C compiler.
   13906 LTCC=$lt_CC
   13907 
   13908 # LTCC compiler flags.
   13909 LTCFLAGS=$lt_CFLAGS
   13910 
   13911 # Take the output of nm and produce a listing of raw symbols and C names.
   13912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13913 
   13914 # Transform the output of nm in a proper C declaration.
   13915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13916 
   13917 # Transform the output of nm in a C name address pair.
   13918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13919 
   13920 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13921 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13922 
   13923 # The name of the directory that contains temporary libtool files.
   13924 objdir=$objdir
   13925 
   13926 # Used to examine libraries when file_magic_cmd begins with "file".
   13927 MAGIC_CMD=$MAGIC_CMD
   13928 
   13929 # Must we lock files when doing compilation?
   13930 need_locks=$lt_need_locks
   13931 
   13932 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13933 DSYMUTIL=$lt_DSYMUTIL
   13934 
   13935 # Tool to change global to local symbols on Mac OS X.
   13936 NMEDIT=$lt_NMEDIT
   13937 
   13938 # Tool to manipulate fat objects and archives on Mac OS X.
   13939 LIPO=$lt_LIPO
   13940 
   13941 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13942 OTOOL=$lt_OTOOL
   13943 
   13944 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13945 OTOOL64=$lt_OTOOL64
   13946 
   13947 # Old archive suffix (normally "a").
   13948 libext=$libext
   13949 
   13950 # Shared library suffix (normally ".so").
   13951 shrext_cmds=$lt_shrext_cmds
   13952 
   13953 # The commands to extract the exported symbol list from a shared archive.
   13954 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13955 
   13956 # Variables whose values should be saved in libtool wrapper scripts and
   13957 # restored at link time.
   13958 variables_saved_for_relink=$lt_variables_saved_for_relink
   13959 
   13960 # Do we need the "lib" prefix for modules?
   13961 need_lib_prefix=$need_lib_prefix
   13962 
   13963 # Do we need a version for libraries?
   13964 need_version=$need_version
   13965 
   13966 # Library versioning type.
   13967 version_type=$version_type
   13968 
   13969 # Shared library runtime path variable.
   13970 runpath_var=$runpath_var
   13971 
   13972 # Shared library path variable.
   13973 shlibpath_var=$shlibpath_var
   13974 
   13975 # Is shlibpath searched before the hard-coded library search path?
   13976 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13977 
   13978 # Format of library name prefix.
   13979 libname_spec=$lt_libname_spec
   13980 
   13981 # List of archive names.  First name is the real one, the rest are links.
   13982 # The last name is the one that the linker finds with -lNAME
   13983 library_names_spec=$lt_library_names_spec
   13984 
   13985 # The coded name of the library, if different from the real name.
   13986 soname_spec=$lt_soname_spec
   13987 
   13988 # Permission mode override for installation of shared libraries.
   13989 install_override_mode=$lt_install_override_mode
   13990 
   13991 # Command to use after installation of a shared archive.
   13992 postinstall_cmds=$lt_postinstall_cmds
   13993 
   13994 # Command to use after uninstallation of a shared archive.
   13995 postuninstall_cmds=$lt_postuninstall_cmds
   13996 
   13997 # Commands used to finish a libtool library installation in a directory.
   13998 finish_cmds=$lt_finish_cmds
   13999 
   14000 # As "finish_cmds", except a single script fragment to be evaled but
   14001 # not shown.
   14002 finish_eval=$lt_finish_eval
   14003 
   14004 # Whether we should hardcode library paths into libraries.
   14005 hardcode_into_libs=$hardcode_into_libs
   14006 
   14007 # Compile-time system search path for libraries.
   14008 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14009 
   14010 # Run-time system search path for libraries.
   14011 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14012 
   14013 # Whether dlopen is supported.
   14014 dlopen_support=$enable_dlopen
   14015 
   14016 # Whether dlopen of programs is supported.
   14017 dlopen_self=$enable_dlopen_self
   14018 
   14019 # Whether dlopen of statically linked programs is supported.
   14020 dlopen_self_static=$enable_dlopen_self_static
   14021 
   14022 # Commands to strip libraries.
   14023 old_striplib=$lt_old_striplib
   14024 striplib=$lt_striplib
   14025 
   14026 
   14027 # The linker used to build libraries.
   14028 LD=$lt_LD
   14029 
   14030 # How to create reloadable object files.
   14031 reload_flag=$lt_reload_flag
   14032 reload_cmds=$lt_reload_cmds
   14033 
   14034 # Commands used to build an old-style archive.
   14035 old_archive_cmds=$lt_old_archive_cmds
   14036 
   14037 # A language specific compiler.
   14038 CC=$lt_compiler
   14039 
   14040 # Is the compiler the GNU compiler?
   14041 with_gcc=$GCC
   14042 
   14043 # Compiler flag to turn off builtin functions.
   14044 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14045 
   14046 # How to pass a linker flag through the compiler.
   14047 wl=$lt_lt_prog_compiler_wl
   14048 
   14049 # Additional compiler flags for building library objects.
   14050 pic_flag=$lt_lt_prog_compiler_pic
   14051 
   14052 # Compiler flag to prevent dynamic linking.
   14053 link_static_flag=$lt_lt_prog_compiler_static
   14054 
   14055 # Does compiler simultaneously support -c and -o options?
   14056 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14057 
   14058 # Whether or not to add -lc for building shared libraries.
   14059 build_libtool_need_lc=$archive_cmds_need_lc
   14060 
   14061 # Whether or not to disallow shared libs when runtime libs are static.
   14062 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14063 
   14064 # Compiler flag to allow reflexive dlopens.
   14065 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14066 
   14067 # Compiler flag to generate shared objects directly from archives.
   14068 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14069 
   14070 # Whether the compiler copes with passing no objects directly.
   14071 compiler_needs_object=$lt_compiler_needs_object
   14072 
   14073 # Create an old-style archive from a shared archive.
   14074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14075 
   14076 # Create a temporary old-style archive to link instead of a shared archive.
   14077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14078 
   14079 # Commands used to build a shared archive.
   14080 archive_cmds=$lt_archive_cmds
   14081 archive_expsym_cmds=$lt_archive_expsym_cmds
   14082 
   14083 # Commands used to build a loadable module if different from building
   14084 # a shared archive.
   14085 module_cmds=$lt_module_cmds
   14086 module_expsym_cmds=$lt_module_expsym_cmds
   14087 
   14088 # Whether we are building with GNU ld or not.
   14089 with_gnu_ld=$lt_with_gnu_ld
   14090 
   14091 # Flag that allows shared libraries with undefined symbols to be built.
   14092 allow_undefined_flag=$lt_allow_undefined_flag
   14093 
   14094 # Flag that enforces no undefined symbols.
   14095 no_undefined_flag=$lt_no_undefined_flag
   14096 
   14097 # Flag to hardcode \$libdir into a binary during linking.
   14098 # This must work even if \$libdir does not exist
   14099 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14100 
   14101 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14102 # during linking.  This must work even if \$libdir does not exist.
   14103 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14104 
   14105 # Whether we need a single "-rpath" flag with a separated argument.
   14106 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14107 
   14108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14109 # DIR into the resulting binary.
   14110 hardcode_direct=$hardcode_direct
   14111 
   14112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14113 # DIR into the resulting binary and the resulting library dependency is
   14114 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14115 # library is relocated.
   14116 hardcode_direct_absolute=$hardcode_direct_absolute
   14117 
   14118 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14119 # into the resulting binary.
   14120 hardcode_minus_L=$hardcode_minus_L
   14121 
   14122 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14123 # into the resulting binary.
   14124 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14125 
   14126 # Set to "yes" if building a shared library automatically hardcodes DIR
   14127 # into the library and all subsequent libraries and executables linked
   14128 # against it.
   14129 hardcode_automatic=$hardcode_automatic
   14130 
   14131 # Set to yes if linker adds runtime paths of dependent libraries
   14132 # to runtime path list.
   14133 inherit_rpath=$inherit_rpath
   14134 
   14135 # Whether libtool must link a program against all its dependency libraries.
   14136 link_all_deplibs=$link_all_deplibs
   14137 
   14138 # Fix the shell variable \$srcfile for the compiler.
   14139 fix_srcfile_path=$lt_fix_srcfile_path
   14140 
   14141 # Set to "yes" if exported symbols are required.
   14142 always_export_symbols=$always_export_symbols
   14143 
   14144 # The commands to list exported symbols.
   14145 export_symbols_cmds=$lt_export_symbols_cmds
   14146 
   14147 # Symbols that should not be listed in the preloaded symbols.
   14148 exclude_expsyms=$lt_exclude_expsyms
   14149 
   14150 # Symbols that must always be exported.
   14151 include_expsyms=$lt_include_expsyms
   14152 
   14153 # Commands necessary for linking programs (against libraries) with templates.
   14154 prelink_cmds=$lt_prelink_cmds
   14155 
   14156 # Specify filename containing input files.
   14157 file_list_spec=$lt_file_list_spec
   14158 
   14159 # How to hardcode a shared library path into an executable.
   14160 hardcode_action=$hardcode_action
   14161 
   14162 # ### END LIBTOOL CONFIG
   14163 
   14164 _LT_EOF
   14165 
   14166   case $host_os in
   14167   aix3*)
   14168     cat <<\_LT_EOF >> "$cfgfile"
   14169 # AIX sometimes has problems with the GCC collect2 program.  For some
   14170 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14171 # vanish in a puff of smoke.
   14172 if test "X${COLLECT_NAMES+set}" != Xset; then
   14173   COLLECT_NAMES=
   14174   export COLLECT_NAMES
   14175 fi
   14176 _LT_EOF
   14177     ;;
   14178   esac
   14179 
   14180 
   14181 ltmain="$ac_aux_dir/ltmain.sh"
   14182 
   14183 
   14184   # We use sed instead of cat because bash on DJGPP gets confused if
   14185   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14186   # text mode, it properly converts lines to CR/LF.  This bash problem
   14187   # is reportedly fixed, but why not run on old versions too?
   14188   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14189     || (rm -f "$cfgfile"; exit 1)
   14190 
   14191   case $xsi_shell in
   14192   yes)
   14193     cat << \_LT_EOF >> "$cfgfile"
   14194 
   14195 # func_dirname file append nondir_replacement
   14196 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14197 # otherwise set result to NONDIR_REPLACEMENT.
   14198 func_dirname ()
   14199 {
   14200   case ${1} in
   14201     */*) func_dirname_result="${1%/*}${2}" ;;
   14202     *  ) func_dirname_result="${3}" ;;
   14203   esac
   14204 }
   14205 
   14206 # func_basename file
   14207 func_basename ()
   14208 {
   14209   func_basename_result="${1##*/}"
   14210 }
   14211 
   14212 # func_dirname_and_basename file append nondir_replacement
   14213 # perform func_basename and func_dirname in a single function
   14214 # call:
   14215 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14216 #             add APPEND to the result, otherwise set result
   14217 #             to NONDIR_REPLACEMENT.
   14218 #             value returned in "$func_dirname_result"
   14219 #   basename: Compute filename of FILE.
   14220 #             value retuned in "$func_basename_result"
   14221 # Implementation must be kept synchronized with func_dirname
   14222 # and func_basename. For efficiency, we do not delegate to
   14223 # those functions but instead duplicate the functionality here.
   14224 func_dirname_and_basename ()
   14225 {
   14226   case ${1} in
   14227     */*) func_dirname_result="${1%/*}${2}" ;;
   14228     *  ) func_dirname_result="${3}" ;;
   14229   esac
   14230   func_basename_result="${1##*/}"
   14231 }
   14232 
   14233 # func_stripname prefix suffix name
   14234 # strip PREFIX and SUFFIX off of NAME.
   14235 # PREFIX and SUFFIX must not contain globbing or regex special
   14236 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14237 # dot (in which case that matches only a dot).
   14238 func_stripname ()
   14239 {
   14240   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14241   # positional parameters, so assign one to ordinary parameter first.
   14242   func_stripname_result=${3}
   14243   func_stripname_result=${func_stripname_result#"${1}"}
   14244   func_stripname_result=${func_stripname_result%"${2}"}
   14245 }
   14246 
   14247 # func_opt_split
   14248 func_opt_split ()
   14249 {
   14250   func_opt_split_opt=${1%%=*}
   14251   func_opt_split_arg=${1#*=}
   14252 }
   14253 
   14254 # func_lo2o object
   14255 func_lo2o ()
   14256 {
   14257   case ${1} in
   14258     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14259     *)    func_lo2o_result=${1} ;;
   14260   esac
   14261 }
   14262 
   14263 # func_xform libobj-or-source
   14264 func_xform ()
   14265 {
   14266   func_xform_result=${1%.*}.lo
   14267 }
   14268 
   14269 # func_arith arithmetic-term...
   14270 func_arith ()
   14271 {
   14272   func_arith_result=$(( $* ))
   14273 }
   14274 
   14275 # func_len string
   14276 # STRING may not start with a hyphen.
   14277 func_len ()
   14278 {
   14279   func_len_result=${#1}
   14280 }
   14281 
   14282 _LT_EOF
   14283     ;;
   14284   *) # Bourne compatible functions.
   14285     cat << \_LT_EOF >> "$cfgfile"
   14286 
   14287 # func_dirname file append nondir_replacement
   14288 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14289 # otherwise set result to NONDIR_REPLACEMENT.
   14290 func_dirname ()
   14291 {
   14292   # Extract subdirectory from the argument.
   14293   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   14294   if test "X$func_dirname_result" = "X${1}"; then
   14295     func_dirname_result="${3}"
   14296   else
   14297     func_dirname_result="$func_dirname_result${2}"
   14298   fi
   14299 }
   14300 
   14301 # func_basename file
   14302 func_basename ()
   14303 {
   14304   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   14305 }
   14306 
   14307 
   14308 # func_stripname prefix suffix name
   14309 # strip PREFIX and SUFFIX off of NAME.
   14310 # PREFIX and SUFFIX must not contain globbing or regex special
   14311 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14312 # dot (in which case that matches only a dot).
   14313 # func_strip_suffix prefix name
   14314 func_stripname ()
   14315 {
   14316   case ${2} in
   14317     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   14318     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   14319   esac
   14320 }
   14321 
   14322 # sed scripts:
   14323 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14324 my_sed_long_arg='1s/^-[^=]*=//'
   14325 
   14326 # func_opt_split
   14327 func_opt_split ()
   14328 {
   14329   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   14330   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   14331 }
   14332 
   14333 # func_lo2o object
   14334 func_lo2o ()
   14335 {
   14336   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   14337 }
   14338 
   14339 # func_xform libobj-or-source
   14340 func_xform ()
   14341 {
   14342   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   14343 }
   14344 
   14345 # func_arith arithmetic-term...
   14346 func_arith ()
   14347 {
   14348   func_arith_result=`expr "$@"`
   14349 }
   14350 
   14351 # func_len string
   14352 # STRING may not start with a hyphen.
   14353 func_len ()
   14354 {
   14355   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14356 }
   14357 
   14358 _LT_EOF
   14359 esac
   14360 
   14361 case $lt_shell_append in
   14362   yes)
   14363     cat << \_LT_EOF >> "$cfgfile"
   14364 
   14365 # func_append var value
   14366 # Append VALUE to the end of shell variable VAR.
   14367 func_append ()
   14368 {
   14369   eval "$1+=\$2"
   14370 }
   14371 _LT_EOF
   14372     ;;
   14373   *)
   14374     cat << \_LT_EOF >> "$cfgfile"
   14375 
   14376 # func_append var value
   14377 # Append VALUE to the end of shell variable VAR.
   14378 func_append ()
   14379 {
   14380   eval "$1=\$$1\$2"
   14381 }
   14382 
   14383 _LT_EOF
   14384     ;;
   14385   esac
   14386 
   14387 
   14388   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14389     || (rm -f "$cfgfile"; exit 1)
   14390 
   14391   mv -f "$cfgfile" "$ofile" ||
   14392     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14393   chmod +x "$ofile"
   14394 
   14395  ;;
   14396 
   14397   esac
   14398 done # for ac_tag
   14399 
   14400 
   14401 as_fn_exit 0
   14402 _ACEOF
   14403 ac_clean_files=$ac_clean_files_save
   14404 
   14405 test $ac_write_fail = 0 ||
   14406   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14407 
   14408 
   14409 # configure is writing to config.log, and then calls config.status.
   14410 # config.status does its own redirection, appending to config.log.
   14411 # Unfortunately, on DOS this fails, as config.log is still kept open
   14412 # by configure, so config.status won't be able to write to it; its
   14413 # output is simply discarded.  So we exec the FD to /dev/null,
   14414 # effectively closing config.log, so it can be properly (re)opened and
   14415 # appended to by config.status.  When coming back to configure, we
   14416 # need to make the FD available again.
   14417 if test "$no_create" != yes; then
   14418   ac_cs_success=:
   14419   ac_config_status_args=
   14420   test "$silent" = yes &&
   14421     ac_config_status_args="$ac_config_status_args --quiet"
   14422   exec 5>/dev/null
   14423   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14424   exec 5>>config.log
   14425   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14426   # would make configure fail if this is the last instruction.
   14427   $ac_cs_success || as_fn_exit 1
   14428 fi
   14429 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14430   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14431 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14432 fi
   14433 
   14434