Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXfont 1.4.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_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 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 as_awk_strverscmp='
    576   # Use only awk features that work with 7th edition Unix awk (1978).
    577   # My, what an old awk you have, Mr. Solaris!
    578   END {
    579     while (length(v1) && length(v2)) {
    580       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    581       # Normally this is a single character, but if v1 and v2 contain digits,
    582       # compare them as integers and fractions as strverscmp does.
    583       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    584 	# Split v1 and v2 into their leading digit string components d1 and d2,
    585 	# and advance v1 and v2 past the leading digit strings.
    586 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    587 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    588 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    589 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    590 	if (d1 ~ /^0/) {
    591 	  if (d2 ~ /^0/) {
    592 	    # Compare two fractions.
    593 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    594 	      d1 = substr(d1, 2); len1--
    595 	      d2 = substr(d2, 2); len2--
    596 	    }
    597 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    598 	      # The two components differ in length, and the common prefix
    599 	      # contains only leading zeros.  Consider the longer to be less.
    600 	      d1 = -len1
    601 	      d2 = -len2
    602 	    } else {
    603 	      # Otherwise, compare as strings.
    604 	      d1 = "x" d1
    605 	      d2 = "x" d2
    606 	    }
    607 	  } else {
    608 	    # A fraction is less than an integer.
    609 	    exit 1
    610 	  }
    611 	} else {
    612 	  if (d2 ~ /^0/) {
    613 	    # An integer is greater than a fraction.
    614 	    exit 2
    615 	  } else {
    616 	    # Compare two integers.
    617 	    d1 += 0
    618 	    d2 += 0
    619 	  }
    620 	}
    621       } else {
    622 	# The normal case, without worrying about digits.
    623 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    624 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    625       }
    626       if (d1 < d2) exit 1
    627       if (d1 > d2) exit 2
    628     }
    629     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    630     # which mishandles some comparisons of empty strings to integers.
    631     if (length(v2)) exit 1
    632     if (length(v1)) exit 2
    633   }
    634 '
    635 
    636 
    637 # Check that we are running under the correct shell.
    638 SHELL=${CONFIG_SHELL-/bin/sh}
    639 
    640 case X$lt_ECHO in
    641 X*--fallback-echo)
    642   # Remove one level of quotation (which was required for Make).
    643   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    644   ;;
    645 esac
    646 
    647 ECHO=${lt_ECHO-echo}
    648 if test "X$1" = X--no-reexec; then
    649   # Discard the --no-reexec flag, and continue.
    650   shift
    651 elif test "X$1" = X--fallback-echo; then
    652   # Avoid inline document here, it may be left over
    653   :
    654 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    655   # Yippee, $ECHO works!
    656   :
    657 else
    658   # Restart under the correct shell.
    659   exec $SHELL "$0" --no-reexec ${1+"$@"}
    660 fi
    661 
    662 if test "X$1" = X--fallback-echo; then
    663   # used as fallback echo
    664   shift
    665   cat <<_LT_EOF
    666 $*
    667 _LT_EOF
    668   exit 0
    669 fi
    670 
    671 # The HP-UX ksh and POSIX shell print the target directory to stdout
    672 # if CDPATH is set.
    673 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    674 
    675 if test -z "$lt_ECHO"; then
    676   if test "X${echo_test_string+set}" != Xset; then
    677     # find a string as large as possible, as long as the shell can cope with it
    678     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    679       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    680       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    681 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    682       then
    683         break
    684       fi
    685     done
    686   fi
    687 
    688   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    689      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    690      test "X$echo_testing_string" = "X$echo_test_string"; then
    691     :
    692   else
    693     # The Solaris, AIX, and Digital Unix default echo programs unquote
    694     # backslashes.  This makes it impossible to quote backslashes using
    695     #   echo "$something" | sed 's/\\/\\\\/g'
    696     #
    697     # So, first we look for a working echo in the user's PATH.
    698 
    699     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    700     for dir in $PATH /usr/ucb; do
    701       IFS="$lt_save_ifs"
    702       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    703          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    704          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    705          test "X$echo_testing_string" = "X$echo_test_string"; then
    706         ECHO="$dir/echo"
    707         break
    708       fi
    709     done
    710     IFS="$lt_save_ifs"
    711 
    712     if test "X$ECHO" = Xecho; then
    713       # We didn't find a better echo, so look for alternatives.
    714       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    715          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    716          test "X$echo_testing_string" = "X$echo_test_string"; then
    717         # This shell has a builtin print -r that does the trick.
    718         ECHO='print -r'
    719       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    720 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    721         # If we have ksh, try running configure again with it.
    722         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    723         export ORIGINAL_CONFIG_SHELL
    724         CONFIG_SHELL=/bin/ksh
    725         export CONFIG_SHELL
    726         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    727       else
    728         # Try using printf.
    729         ECHO='printf %s\n'
    730         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    731 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    732 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    733 	  # Cool, printf works
    734 	  :
    735         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    736 	     test "X$echo_testing_string" = 'X\t' &&
    737 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    738 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    739 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    740 	  export CONFIG_SHELL
    741 	  SHELL="$CONFIG_SHELL"
    742 	  export SHELL
    743 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    744         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    745 	     test "X$echo_testing_string" = 'X\t' &&
    746 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    747 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    748 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    749         else
    750 	  # maybe with a smaller string...
    751 	  prev=:
    752 
    753 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    754 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    755 	    then
    756 	      break
    757 	    fi
    758 	    prev="$cmd"
    759 	  done
    760 
    761 	  if test "$prev" != 'sed 50q "$0"'; then
    762 	    echo_test_string=`eval $prev`
    763 	    export echo_test_string
    764 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    765 	  else
    766 	    # Oops.  We lost completely, so just stick with echo.
    767 	    ECHO=echo
    768 	  fi
    769         fi
    770       fi
    771     fi
    772   fi
    773 fi
    774 
    775 # Copy echo and quote the copy suitably for passing to libtool from
    776 # the Makefile, instead of quoting the original, which is used later.
    777 lt_ECHO=$ECHO
    778 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    779    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    780 fi
    781 
    782 
    783 
    784 
    785 exec 7<&0 </dev/null 6>&1
    786 
    787 # Name of the host.
    788 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    789 # so uname gets run too.
    790 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    791 
    792 #
    793 # Initializations.
    794 #
    795 ac_default_prefix=/usr/local
    796 ac_clean_files=
    797 ac_config_libobj_dir=.
    798 LIBOBJS=
    799 cross_compiling=no
    800 subdirs=
    801 MFLAGS=
    802 MAKEFLAGS=
    803 SHELL=${CONFIG_SHELL-/bin/sh}
    804 
    805 # Identity of this package.
    806 PACKAGE_NAME='libXfont'
    807 PACKAGE_TARNAME='libXfont'
    808 PACKAGE_VERSION='1.4.2'
    809 PACKAGE_STRING='libXfont 1.4.2'
    810 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    811 
    812 # Factoring default headers for most tests.
    813 ac_includes_default="\
    814 #include <stdio.h>
    815 #ifdef HAVE_SYS_TYPES_H
    816 # include <sys/types.h>
    817 #endif
    818 #ifdef HAVE_SYS_STAT_H
    819 # include <sys/stat.h>
    820 #endif
    821 #ifdef STDC_HEADERS
    822 # include <stdlib.h>
    823 # include <stddef.h>
    824 #else
    825 # ifdef HAVE_STDLIB_H
    826 #  include <stdlib.h>
    827 # endif
    828 #endif
    829 #ifdef HAVE_STRING_H
    830 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    831 #  include <memory.h>
    832 # endif
    833 # include <string.h>
    834 #endif
    835 #ifdef HAVE_STRINGS_H
    836 # include <strings.h>
    837 #endif
    838 #ifdef HAVE_INTTYPES_H
    839 # include <inttypes.h>
    840 #endif
    841 #ifdef HAVE_STDINT_H
    842 # include <stdint.h>
    843 #endif
    844 #ifdef HAVE_UNISTD_H
    845 # include <unistd.h>
    846 #endif"
    847 
    848 ac_subst_vars='LTLIBOBJS
    849 LIBOBJS
    850 OS_CFLAGS
    851 XFONT_LIBS
    852 XFONT_CFLAGS
    853 MATH_LIBS
    854 XFONT_FC_FALSE
    855 XFONT_FC_TRUE
    856 XFONT_FONTFILE_FALSE
    857 XFONT_FONTFILE_TRUE
    858 XFONT_BITMAP_FALSE
    859 XFONT_BITMAP_TRUE
    860 XFONT_SNFFORMAT_FALSE
    861 XFONT_SNFFORMAT_TRUE
    862 XFONT_BDFFORMAT_FALSE
    863 XFONT_BDFFORMAT_TRUE
    864 XFONT_PCFFORMAT_FALSE
    865 XFONT_PCFFORMAT_TRUE
    866 XFONT_BUILTINS_FALSE
    867 XFONT_BUILTINS_TRUE
    868 Z_LIBS
    869 X_BZIP2_FONT_COMPRESSION_FALSE
    870 X_BZIP2_FONT_COMPRESSION_TRUE
    871 X_GZIP_FONT_COMPRESSION
    872 FREETYPE_REQUIRES
    873 ft_config
    874 FREETYPE_LIBS
    875 FREETYPE_CFLAGS
    876 XFONT_FREETYPE_FALSE
    877 XFONT_FREETYPE_TRUE
    878 OTOOL64
    879 OTOOL
    880 LIPO
    881 NMEDIT
    882 DSYMUTIL
    883 lt_ECHO
    884 RANLIB
    885 AR
    886 OBJDUMP
    887 LN_S
    888 NM
    889 ac_ct_DUMPBIN
    890 DUMPBIN
    891 LD
    892 FGREP
    893 LIBTOOL
    894 HAVE_FOP_FALSE
    895 HAVE_FOP_TRUE
    896 FOP
    897 HAVE_XMLTO_FALSE
    898 HAVE_XMLTO_TRUE
    899 XMLTO
    900 ENABLE_DEVEL_DOCS_FALSE
    901 ENABLE_DEVEL_DOCS_TRUE
    902 AM_DEFAULT_VERBOSITY
    903 MAN_SUBSTS
    904 XORG_MAN_PAGE
    905 ADMIN_MAN_DIR
    906 DRIVER_MAN_DIR
    907 MISC_MAN_DIR
    908 FILE_MAN_DIR
    909 LIB_MAN_DIR
    910 APP_MAN_DIR
    911 ADMIN_MAN_SUFFIX
    912 DRIVER_MAN_SUFFIX
    913 MISC_MAN_SUFFIX
    914 FILE_MAN_SUFFIX
    915 LIB_MAN_SUFFIX
    916 APP_MAN_SUFFIX
    917 SED
    918 host_os
    919 host_vendor
    920 host_cpu
    921 host
    922 build_os
    923 build_vendor
    924 build_cpu
    925 build
    926 INSTALL_CMD
    927 PKG_CONFIG
    928 CHANGELOG_CMD
    929 CWARNFLAGS
    930 EGREP
    931 GREP
    932 CPP
    933 am__fastdepCC_FALSE
    934 am__fastdepCC_TRUE
    935 CCDEPMODE
    936 AMDEPBACKSLASH
    937 AMDEP_FALSE
    938 AMDEP_TRUE
    939 am__quote
    940 am__include
    941 DEPDIR
    942 OBJEXT
    943 EXEEXT
    944 ac_ct_CC
    945 CPPFLAGS
    946 LDFLAGS
    947 CFLAGS
    948 CC
    949 MAINT
    950 MAINTAINER_MODE_FALSE
    951 MAINTAINER_MODE_TRUE
    952 am__untar
    953 am__tar
    954 AMTAR
    955 am__leading_dot
    956 SET_MAKE
    957 AWK
    958 mkdir_p
    959 MKDIR_P
    960 INSTALL_STRIP_PROGRAM
    961 STRIP
    962 install_sh
    963 MAKEINFO
    964 AUTOHEADER
    965 AUTOMAKE
    966 AUTOCONF
    967 ACLOCAL
    968 VERSION
    969 PACKAGE
    970 CYGPATH_W
    971 am__isrc
    972 INSTALL_DATA
    973 INSTALL_SCRIPT
    974 INSTALL_PROGRAM
    975 target_alias
    976 host_alias
    977 build_alias
    978 LIBS
    979 ECHO_T
    980 ECHO_N
    981 ECHO_C
    982 DEFS
    983 mandir
    984 localedir
    985 libdir
    986 psdir
    987 pdfdir
    988 dvidir
    989 htmldir
    990 infodir
    991 docdir
    992 oldincludedir
    993 includedir
    994 localstatedir
    995 sharedstatedir
    996 sysconfdir
    997 datadir
    998 datarootdir
    999 libexecdir
   1000 sbindir
   1001 bindir
   1002 program_transform_name
   1003 prefix
   1004 exec_prefix
   1005 PACKAGE_BUGREPORT
   1006 PACKAGE_STRING
   1007 PACKAGE_VERSION
   1008 PACKAGE_TARNAME
   1009 PACKAGE_NAME
   1010 PATH_SEPARATOR
   1011 SHELL'
   1012 ac_subst_files=''
   1013 ac_user_opts='
   1014 enable_option_checking
   1015 enable_maintainer_mode
   1016 enable_dependency_tracking
   1017 enable_strict_compilation
   1018 enable_devel_docs
   1019 with_xmlto
   1020 with_fop
   1021 enable_shared
   1022 enable_static
   1023 with_pic
   1024 enable_fast_install
   1025 with_gnu_ld
   1026 enable_libtool_lock
   1027 enable_freetype
   1028 with_freetype_config
   1029 with_bzip2
   1030 enable_builtins
   1031 enable_pcfformat
   1032 enable_bdfformat
   1033 enable_snfformat
   1034 enable_fc
   1035 enable_unix_transport
   1036 enable_tcp_transport
   1037 enable_ipv6
   1038 enable_local_transport
   1039 '
   1040       ac_precious_vars='build_alias
   1041 host_alias
   1042 target_alias
   1043 CC
   1044 CFLAGS
   1045 LDFLAGS
   1046 LIBS
   1047 CPPFLAGS
   1048 CPP
   1049 PKG_CONFIG
   1050 XMLTO
   1051 FOP
   1052 FREETYPE_CFLAGS
   1053 FREETYPE_LIBS
   1054 XFONT_CFLAGS
   1055 XFONT_LIBS'
   1056 
   1057 
   1058 # Initialize some variables set by options.
   1059 ac_init_help=
   1060 ac_init_version=false
   1061 ac_unrecognized_opts=
   1062 ac_unrecognized_sep=
   1063 # The variables have the same names as the options, with
   1064 # dashes changed to underlines.
   1065 cache_file=/dev/null
   1066 exec_prefix=NONE
   1067 no_create=
   1068 no_recursion=
   1069 prefix=NONE
   1070 program_prefix=NONE
   1071 program_suffix=NONE
   1072 program_transform_name=s,x,x,
   1073 silent=
   1074 site=
   1075 srcdir=
   1076 verbose=
   1077 x_includes=NONE
   1078 x_libraries=NONE
   1079 
   1080 # Installation directory options.
   1081 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1082 # and all the variables that are supposed to be based on exec_prefix
   1083 # by default will actually change.
   1084 # Use braces instead of parens because sh, perl, etc. also accept them.
   1085 # (The list follows the same order as the GNU Coding Standards.)
   1086 bindir='${exec_prefix}/bin'
   1087 sbindir='${exec_prefix}/sbin'
   1088 libexecdir='${exec_prefix}/libexec'
   1089 datarootdir='${prefix}/share'
   1090 datadir='${datarootdir}'
   1091 sysconfdir='${prefix}/etc'
   1092 sharedstatedir='${prefix}/com'
   1093 localstatedir='${prefix}/var'
   1094 includedir='${prefix}/include'
   1095 oldincludedir='/usr/include'
   1096 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1097 infodir='${datarootdir}/info'
   1098 htmldir='${docdir}'
   1099 dvidir='${docdir}'
   1100 pdfdir='${docdir}'
   1101 psdir='${docdir}'
   1102 libdir='${exec_prefix}/lib'
   1103 localedir='${datarootdir}/locale'
   1104 mandir='${datarootdir}/man'
   1105 
   1106 ac_prev=
   1107 ac_dashdash=
   1108 for ac_option
   1109 do
   1110   # If the previous option needs an argument, assign it.
   1111   if test -n "$ac_prev"; then
   1112     eval $ac_prev=\$ac_option
   1113     ac_prev=
   1114     continue
   1115   fi
   1116 
   1117   case $ac_option in
   1118   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1119   *)	ac_optarg=yes ;;
   1120   esac
   1121 
   1122   # Accept the important Cygnus configure options, so we can diagnose typos.
   1123 
   1124   case $ac_dashdash$ac_option in
   1125   --)
   1126     ac_dashdash=yes ;;
   1127 
   1128   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1129     ac_prev=bindir ;;
   1130   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1131     bindir=$ac_optarg ;;
   1132 
   1133   -build | --build | --buil | --bui | --bu)
   1134     ac_prev=build_alias ;;
   1135   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1136     build_alias=$ac_optarg ;;
   1137 
   1138   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1139   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1140     ac_prev=cache_file ;;
   1141   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1142   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1143     cache_file=$ac_optarg ;;
   1144 
   1145   --config-cache | -C)
   1146     cache_file=config.cache ;;
   1147 
   1148   -datadir | --datadir | --datadi | --datad)
   1149     ac_prev=datadir ;;
   1150   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1151     datadir=$ac_optarg ;;
   1152 
   1153   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1154   | --dataroo | --dataro | --datar)
   1155     ac_prev=datarootdir ;;
   1156   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1157   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1158     datarootdir=$ac_optarg ;;
   1159 
   1160   -disable-* | --disable-*)
   1161     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1162     # Reject names that are not valid shell variable names.
   1163     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1164       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1165    { (exit 1); exit 1; }; }
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "enable_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval enable_$ac_useropt=no ;;
   1176 
   1177   -docdir | --docdir | --docdi | --doc | --do)
   1178     ac_prev=docdir ;;
   1179   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1180     docdir=$ac_optarg ;;
   1181 
   1182   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1183     ac_prev=dvidir ;;
   1184   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1185     dvidir=$ac_optarg ;;
   1186 
   1187   -enable-* | --enable-*)
   1188     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1189     # Reject names that are not valid shell variable names.
   1190     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1191       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1192    { (exit 1); exit 1; }; }
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "enable_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval enable_$ac_useropt=\$ac_optarg ;;
   1203 
   1204   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1205   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1206   | --exec | --exe | --ex)
   1207     ac_prev=exec_prefix ;;
   1208   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1209   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1210   | --exec=* | --exe=* | --ex=*)
   1211     exec_prefix=$ac_optarg ;;
   1212 
   1213   -gas | --gas | --ga | --g)
   1214     # Obsolete; use --with-gas.
   1215     with_gas=yes ;;
   1216 
   1217   -help | --help | --hel | --he | -h)
   1218     ac_init_help=long ;;
   1219   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1220     ac_init_help=recursive ;;
   1221   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1222     ac_init_help=short ;;
   1223 
   1224   -host | --host | --hos | --ho)
   1225     ac_prev=host_alias ;;
   1226   -host=* | --host=* | --hos=* | --ho=*)
   1227     host_alias=$ac_optarg ;;
   1228 
   1229   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1230     ac_prev=htmldir ;;
   1231   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1232   | --ht=*)
   1233     htmldir=$ac_optarg ;;
   1234 
   1235   -includedir | --includedir | --includedi | --included | --include \
   1236   | --includ | --inclu | --incl | --inc)
   1237     ac_prev=includedir ;;
   1238   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1239   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1240     includedir=$ac_optarg ;;
   1241 
   1242   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1243     ac_prev=infodir ;;
   1244   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1245     infodir=$ac_optarg ;;
   1246 
   1247   -libdir | --libdir | --libdi | --libd)
   1248     ac_prev=libdir ;;
   1249   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1250     libdir=$ac_optarg ;;
   1251 
   1252   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1253   | --libexe | --libex | --libe)
   1254     ac_prev=libexecdir ;;
   1255   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1256   | --libexe=* | --libex=* | --libe=*)
   1257     libexecdir=$ac_optarg ;;
   1258 
   1259   -localedir | --localedir | --localedi | --localed | --locale)
   1260     ac_prev=localedir ;;
   1261   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1262     localedir=$ac_optarg ;;
   1263 
   1264   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1265   | --localstate | --localstat | --localsta | --localst | --locals)
   1266     ac_prev=localstatedir ;;
   1267   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1268   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1269     localstatedir=$ac_optarg ;;
   1270 
   1271   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1272     ac_prev=mandir ;;
   1273   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1274     mandir=$ac_optarg ;;
   1275 
   1276   -nfp | --nfp | --nf)
   1277     # Obsolete; use --without-fp.
   1278     with_fp=no ;;
   1279 
   1280   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1281   | --no-cr | --no-c | -n)
   1282     no_create=yes ;;
   1283 
   1284   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1285   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1286     no_recursion=yes ;;
   1287 
   1288   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1289   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1290   | --oldin | --oldi | --old | --ol | --o)
   1291     ac_prev=oldincludedir ;;
   1292   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1293   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1294   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1295     oldincludedir=$ac_optarg ;;
   1296 
   1297   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1298     ac_prev=prefix ;;
   1299   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1300     prefix=$ac_optarg ;;
   1301 
   1302   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1303   | --program-pre | --program-pr | --program-p)
   1304     ac_prev=program_prefix ;;
   1305   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1306   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1307     program_prefix=$ac_optarg ;;
   1308 
   1309   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1310   | --program-suf | --program-su | --program-s)
   1311     ac_prev=program_suffix ;;
   1312   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1313   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1314     program_suffix=$ac_optarg ;;
   1315 
   1316   -program-transform-name | --program-transform-name \
   1317   | --program-transform-nam | --program-transform-na \
   1318   | --program-transform-n | --program-transform- \
   1319   | --program-transform | --program-transfor \
   1320   | --program-transfo | --program-transf \
   1321   | --program-trans | --program-tran \
   1322   | --progr-tra | --program-tr | --program-t)
   1323     ac_prev=program_transform_name ;;
   1324   -program-transform-name=* | --program-transform-name=* \
   1325   | --program-transform-nam=* | --program-transform-na=* \
   1326   | --program-transform-n=* | --program-transform-=* \
   1327   | --program-transform=* | --program-transfor=* \
   1328   | --program-transfo=* | --program-transf=* \
   1329   | --program-trans=* | --program-tran=* \
   1330   | --progr-tra=* | --program-tr=* | --program-t=*)
   1331     program_transform_name=$ac_optarg ;;
   1332 
   1333   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1334     ac_prev=pdfdir ;;
   1335   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1336     pdfdir=$ac_optarg ;;
   1337 
   1338   -psdir | --psdir | --psdi | --psd | --ps)
   1339     ac_prev=psdir ;;
   1340   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1341     psdir=$ac_optarg ;;
   1342 
   1343   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1344   | -silent | --silent | --silen | --sile | --sil)
   1345     silent=yes ;;
   1346 
   1347   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1348     ac_prev=sbindir ;;
   1349   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1350   | --sbi=* | --sb=*)
   1351     sbindir=$ac_optarg ;;
   1352 
   1353   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1354   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1355   | --sharedst | --shareds | --shared | --share | --shar \
   1356   | --sha | --sh)
   1357     ac_prev=sharedstatedir ;;
   1358   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1359   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1360   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1361   | --sha=* | --sh=*)
   1362     sharedstatedir=$ac_optarg ;;
   1363 
   1364   -site | --site | --sit)
   1365     ac_prev=site ;;
   1366   -site=* | --site=* | --sit=*)
   1367     site=$ac_optarg ;;
   1368 
   1369   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1370     ac_prev=srcdir ;;
   1371   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1372     srcdir=$ac_optarg ;;
   1373 
   1374   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1375   | --syscon | --sysco | --sysc | --sys | --sy)
   1376     ac_prev=sysconfdir ;;
   1377   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1378   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1379     sysconfdir=$ac_optarg ;;
   1380 
   1381   -target | --target | --targe | --targ | --tar | --ta | --t)
   1382     ac_prev=target_alias ;;
   1383   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1384     target_alias=$ac_optarg ;;
   1385 
   1386   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1387     verbose=yes ;;
   1388 
   1389   -version | --version | --versio | --versi | --vers | -V)
   1390     ac_init_version=: ;;
   1391 
   1392   -with-* | --with-*)
   1393     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1394     # Reject names that are not valid shell variable names.
   1395     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1396       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1397    { (exit 1); exit 1; }; }
   1398     ac_useropt_orig=$ac_useropt
   1399     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1400     case $ac_user_opts in
   1401       *"
   1402 "with_$ac_useropt"
   1403 "*) ;;
   1404       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1405 	 ac_unrecognized_sep=', ';;
   1406     esac
   1407     eval with_$ac_useropt=\$ac_optarg ;;
   1408 
   1409   -without-* | --without-*)
   1410     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1411     # Reject names that are not valid shell variable names.
   1412     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1413       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1414    { (exit 1); exit 1; }; }
   1415     ac_useropt_orig=$ac_useropt
   1416     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1417     case $ac_user_opts in
   1418       *"
   1419 "with_$ac_useropt"
   1420 "*) ;;
   1421       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1422 	 ac_unrecognized_sep=', ';;
   1423     esac
   1424     eval with_$ac_useropt=no ;;
   1425 
   1426   --x)
   1427     # Obsolete; use --with-x.
   1428     with_x=yes ;;
   1429 
   1430   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1431   | --x-incl | --x-inc | --x-in | --x-i)
   1432     ac_prev=x_includes ;;
   1433   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1434   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1435     x_includes=$ac_optarg ;;
   1436 
   1437   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1438   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1439     ac_prev=x_libraries ;;
   1440   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1441   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1442     x_libraries=$ac_optarg ;;
   1443 
   1444   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1445 Try \`$0 --help' for more information." >&2
   1446    { (exit 1); exit 1; }; }
   1447     ;;
   1448 
   1449   *=*)
   1450     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1451     # Reject names that are not valid shell variable names.
   1452     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1453       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1454    { (exit 1); exit 1; }; }
   1455     eval $ac_envvar=\$ac_optarg
   1456     export $ac_envvar ;;
   1457 
   1458   *)
   1459     # FIXME: should be removed in autoconf 3.0.
   1460     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1461     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1462       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1463     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1464     ;;
   1465 
   1466   esac
   1467 done
   1468 
   1469 if test -n "$ac_prev"; then
   1470   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1471   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1472    { (exit 1); exit 1; }; }
   1473 fi
   1474 
   1475 if test -n "$ac_unrecognized_opts"; then
   1476   case $enable_option_checking in
   1477     no) ;;
   1478     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1479    { (exit 1); exit 1; }; } ;;
   1480     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1481   esac
   1482 fi
   1483 
   1484 # Check all directory arguments for consistency.
   1485 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1486 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1487 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1488 		libdir localedir mandir
   1489 do
   1490   eval ac_val=\$$ac_var
   1491   # Remove trailing slashes.
   1492   case $ac_val in
   1493     */ )
   1494       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1495       eval $ac_var=\$ac_val;;
   1496   esac
   1497   # Be sure to have absolute directory names.
   1498   case $ac_val in
   1499     [\\/$]* | ?:[\\/]* )  continue;;
   1500     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1501   esac
   1502   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1503    { (exit 1); exit 1; }; }
   1504 done
   1505 
   1506 # There might be people who depend on the old broken behavior: `$host'
   1507 # used to hold the argument of --host etc.
   1508 # FIXME: To remove some day.
   1509 build=$build_alias
   1510 host=$host_alias
   1511 target=$target_alias
   1512 
   1513 # FIXME: To remove some day.
   1514 if test "x$host_alias" != x; then
   1515   if test "x$build_alias" = x; then
   1516     cross_compiling=maybe
   1517     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1518     If a cross compiler is detected then cross compile mode will be used." >&2
   1519   elif test "x$build_alias" != "x$host_alias"; then
   1520     cross_compiling=yes
   1521   fi
   1522 fi
   1523 
   1524 ac_tool_prefix=
   1525 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1526 
   1527 test "$silent" = yes && exec 6>/dev/null
   1528 
   1529 
   1530 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1531 ac_ls_di=`ls -di .` &&
   1532 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1533   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1534    { (exit 1); exit 1; }; }
   1535 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1536   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1537    { (exit 1); exit 1; }; }
   1538 
   1539 
   1540 # Find the source files, if location was not specified.
   1541 if test -z "$srcdir"; then
   1542   ac_srcdir_defaulted=yes
   1543   # Try the directory containing this script, then the parent directory.
   1544   ac_confdir=`$as_dirname -- "$as_myself" ||
   1545 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1546 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1547 	 X"$as_myself" : 'X\(//\)$' \| \
   1548 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1549 $as_echo X"$as_myself" |
   1550     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1551 	    s//\1/
   1552 	    q
   1553 	  }
   1554 	  /^X\(\/\/\)[^/].*/{
   1555 	    s//\1/
   1556 	    q
   1557 	  }
   1558 	  /^X\(\/\/\)$/{
   1559 	    s//\1/
   1560 	    q
   1561 	  }
   1562 	  /^X\(\/\).*/{
   1563 	    s//\1/
   1564 	    q
   1565 	  }
   1566 	  s/.*/./; q'`
   1567   srcdir=$ac_confdir
   1568   if test ! -r "$srcdir/$ac_unique_file"; then
   1569     srcdir=..
   1570   fi
   1571 else
   1572   ac_srcdir_defaulted=no
   1573 fi
   1574 if test ! -r "$srcdir/$ac_unique_file"; then
   1575   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1576   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1577    { (exit 1); exit 1; }; }
   1578 fi
   1579 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1580 ac_abs_confdir=`(
   1581 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1582    { (exit 1); exit 1; }; }
   1583 	pwd)`
   1584 # When building in place, set srcdir=.
   1585 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1586   srcdir=.
   1587 fi
   1588 # Remove unnecessary trailing slashes from srcdir.
   1589 # Double slashes in file names in object file debugging info
   1590 # mess up M-x gdb in Emacs.
   1591 case $srcdir in
   1592 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1593 esac
   1594 for ac_var in $ac_precious_vars; do
   1595   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1596   eval ac_env_${ac_var}_value=\$${ac_var}
   1597   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1598   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1599 done
   1600 
   1601 #
   1602 # Report the --help message.
   1603 #
   1604 if test "$ac_init_help" = "long"; then
   1605   # Omit some internal or obsolete options to make the list less imposing.
   1606   # This message is too long to be a string in the A/UX 3.1 sh.
   1607   cat <<_ACEOF
   1608 \`configure' configures libXfont 1.4.2 to adapt to many kinds of systems.
   1609 
   1610 Usage: $0 [OPTION]... [VAR=VALUE]...
   1611 
   1612 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1613 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1614 
   1615 Defaults for the options are specified in brackets.
   1616 
   1617 Configuration:
   1618   -h, --help              display this help and exit
   1619       --help=short        display options specific to this package
   1620       --help=recursive    display the short help of all the included packages
   1621   -V, --version           display version information and exit
   1622   -q, --quiet, --silent   do not print \`checking...' messages
   1623       --cache-file=FILE   cache test results in FILE [disabled]
   1624   -C, --config-cache      alias for \`--cache-file=config.cache'
   1625   -n, --no-create         do not create output files
   1626       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1627 
   1628 Installation directories:
   1629   --prefix=PREFIX         install architecture-independent files in PREFIX
   1630                           [$ac_default_prefix]
   1631   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1632                           [PREFIX]
   1633 
   1634 By default, \`make install' will install all the files in
   1635 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1636 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1637 for instance \`--prefix=\$HOME'.
   1638 
   1639 For better control, use the options below.
   1640 
   1641 Fine tuning of the installation directories:
   1642   --bindir=DIR            user executables [EPREFIX/bin]
   1643   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1644   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1645   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1646   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1647   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1648   --libdir=DIR            object code libraries [EPREFIX/lib]
   1649   --includedir=DIR        C header files [PREFIX/include]
   1650   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1651   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1652   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1653   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1654   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1655   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1656   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont]
   1657   --htmldir=DIR           html documentation [DOCDIR]
   1658   --dvidir=DIR            dvi documentation [DOCDIR]
   1659   --pdfdir=DIR            pdf documentation [DOCDIR]
   1660   --psdir=DIR             ps documentation [DOCDIR]
   1661 _ACEOF
   1662 
   1663   cat <<\_ACEOF
   1664 
   1665 Program names:
   1666   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1667   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1668   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1669 
   1670 System types:
   1671   --build=BUILD     configure for building on BUILD [guessed]
   1672   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1673 _ACEOF
   1674 fi
   1675 
   1676 if test -n "$ac_init_help"; then
   1677   case $ac_init_help in
   1678      short | recursive ) echo "Configuration of libXfont 1.4.2:";;
   1679    esac
   1680   cat <<\_ACEOF
   1681 
   1682 Optional Features:
   1683   --disable-option-checking  ignore unrecognized --enable/--with options
   1684   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1685   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1686   --enable-maintainer-mode  enable make rules and dependencies not useful
   1687 			  (and sometimes confusing) to the casual installer
   1688   --disable-dependency-tracking  speeds up one-time build
   1689   --enable-dependency-tracking   do not reject slow dependency extractors
   1690   --enable-strict-compilation
   1691                           Enable all warnings from compiler and make them
   1692                           errors (default: disabled)
   1693   --enable-devel-docs     Enable building the developer documentation
   1694                           (default: yes)
   1695   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1696   --enable-static[=PKGS]  build static libraries [default=yes]
   1697   --enable-fast-install[=PKGS]
   1698                           optimize for fast installation [default=yes]
   1699   --disable-libtool-lock  avoid locking (might break parallel builds)
   1700  --disable-freetype
   1701  --disable-builtins
   1702  --disable-pcfformat
   1703  --disable-bdfformat
   1704  --disable-snfformat
   1705  --disable-fc
   1706   --enable-unix-transport Enable UNIX domain socket transport
   1707   --enable-tcp-transport  Enable TCP socket transport
   1708   --enable-ipv6           Enable IPv6 support
   1709   --enable-local-transport
   1710                           Enable os-specific local transport
   1711 
   1712 Optional Packages:
   1713   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1714   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1715   --with-xmlto            Use xmlto to regenerate documentation (default: yes,
   1716                           if installed)
   1717   --with-fop              Use fop to regenerate documentation (default: yes,
   1718                           if installed)
   1719   --with-pic              try to use only PIC/non-PIC objects [default=use
   1720                           both]
   1721   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1722   --with-freetype-config=PROG   Use FreeType configuration program PROG
   1723   --with-bzip2            Support bzip2 compressed bitmap fonts
   1724 
   1725 Some influential environment variables:
   1726   CC          C compiler command
   1727   CFLAGS      C compiler flags
   1728   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1729               nonstandard directory <lib dir>
   1730   LIBS        libraries to pass to the linker, e.g. -l<library>
   1731   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1732               you have headers in a nonstandard directory <include dir>
   1733   CPP         C preprocessor
   1734   PKG_CONFIG  path to pkg-config utility
   1735   XMLTO       Path to xmlto command
   1736   FOP         Path to fop command
   1737   FREETYPE_CFLAGS
   1738               C compiler flags for FREETYPE, overriding pkg-config
   1739   FREETYPE_LIBS
   1740               linker flags for FREETYPE, overriding pkg-config
   1741   XFONT_CFLAGS
   1742               C compiler flags for XFONT, overriding pkg-config
   1743   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1744 
   1745 Use these variables to override the choices made by `configure' or to help
   1746 it to find libraries and programs with nonstandard names/locations.
   1747 
   1748 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1749 _ACEOF
   1750 ac_status=$?
   1751 fi
   1752 
   1753 if test "$ac_init_help" = "recursive"; then
   1754   # If there are subdirs, report their specific --help.
   1755   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1756     test -d "$ac_dir" ||
   1757       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1758       continue
   1759     ac_builddir=.
   1760 
   1761 case "$ac_dir" in
   1762 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1763 *)
   1764   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1765   # A ".." for each directory in $ac_dir_suffix.
   1766   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1767   case $ac_top_builddir_sub in
   1768   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1769   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1770   esac ;;
   1771 esac
   1772 ac_abs_top_builddir=$ac_pwd
   1773 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1774 # for backward compatibility:
   1775 ac_top_builddir=$ac_top_build_prefix
   1776 
   1777 case $srcdir in
   1778   .)  # We are building in place.
   1779     ac_srcdir=.
   1780     ac_top_srcdir=$ac_top_builddir_sub
   1781     ac_abs_top_srcdir=$ac_pwd ;;
   1782   [\\/]* | ?:[\\/]* )  # Absolute name.
   1783     ac_srcdir=$srcdir$ac_dir_suffix;
   1784     ac_top_srcdir=$srcdir
   1785     ac_abs_top_srcdir=$srcdir ;;
   1786   *) # Relative name.
   1787     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1788     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1789     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1790 esac
   1791 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1792 
   1793     cd "$ac_dir" || { ac_status=$?; continue; }
   1794     # Check for guested configure.
   1795     if test -f "$ac_srcdir/configure.gnu"; then
   1796       echo &&
   1797       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1798     elif test -f "$ac_srcdir/configure"; then
   1799       echo &&
   1800       $SHELL "$ac_srcdir/configure" --help=recursive
   1801     else
   1802       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1803     fi || ac_status=$?
   1804     cd "$ac_pwd" || { ac_status=$?; break; }
   1805   done
   1806 fi
   1807 
   1808 test -n "$ac_init_help" && exit $ac_status
   1809 if $ac_init_version; then
   1810   cat <<\_ACEOF
   1811 libXfont configure 1.4.2
   1812 generated by GNU Autoconf 2.63
   1813 
   1814 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1815 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1816 This configure script is free software; the Free Software Foundation
   1817 gives unlimited permission to copy, distribute and modify it.
   1818 _ACEOF
   1819   exit
   1820 fi
   1821 cat >config.log <<_ACEOF
   1822 This file contains any messages produced by compilers while
   1823 running configure, to aid debugging if configure makes a mistake.
   1824 
   1825 It was created by libXfont $as_me 1.4.2, which was
   1826 generated by GNU Autoconf 2.63.  Invocation command line was
   1827 
   1828   $ $0 $@
   1829 
   1830 _ACEOF
   1831 exec 5>>config.log
   1832 {
   1833 cat <<_ASUNAME
   1834 ## --------- ##
   1835 ## Platform. ##
   1836 ## --------- ##
   1837 
   1838 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1839 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1840 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1841 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1842 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1843 
   1844 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1845 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1846 
   1847 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1848 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1849 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1850 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1851 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1852 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1853 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1854 
   1855 _ASUNAME
   1856 
   1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1858 for as_dir in $PATH
   1859 do
   1860   IFS=$as_save_IFS
   1861   test -z "$as_dir" && as_dir=.
   1862   $as_echo "PATH: $as_dir"
   1863 done
   1864 IFS=$as_save_IFS
   1865 
   1866 } >&5
   1867 
   1868 cat >&5 <<_ACEOF
   1869 
   1870 
   1871 ## ----------- ##
   1872 ## Core tests. ##
   1873 ## ----------- ##
   1874 
   1875 _ACEOF
   1876 
   1877 
   1878 # Keep a trace of the command line.
   1879 # Strip out --no-create and --no-recursion so they do not pile up.
   1880 # Strip out --silent because we don't want to record it for future runs.
   1881 # Also quote any args containing shell meta-characters.
   1882 # Make two passes to allow for proper duplicate-argument suppression.
   1883 ac_configure_args=
   1884 ac_configure_args0=
   1885 ac_configure_args1=
   1886 ac_must_keep_next=false
   1887 for ac_pass in 1 2
   1888 do
   1889   for ac_arg
   1890   do
   1891     case $ac_arg in
   1892     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1893     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1894     | -silent | --silent | --silen | --sile | --sil)
   1895       continue ;;
   1896     *\'*)
   1897       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1898     esac
   1899     case $ac_pass in
   1900     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1901     2)
   1902       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1903       if test $ac_must_keep_next = true; then
   1904 	ac_must_keep_next=false # Got value, back to normal.
   1905       else
   1906 	case $ac_arg in
   1907 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1908 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1909 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1910 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1911 	    case "$ac_configure_args0 " in
   1912 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1913 	    esac
   1914 	    ;;
   1915 	  -* ) ac_must_keep_next=true ;;
   1916 	esac
   1917       fi
   1918       ac_configure_args="$ac_configure_args '$ac_arg'"
   1919       ;;
   1920     esac
   1921   done
   1922 done
   1923 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1924 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1925 
   1926 # When interrupted or exit'd, cleanup temporary files, and complete
   1927 # config.log.  We remove comments because anyway the quotes in there
   1928 # would cause problems or look ugly.
   1929 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1930 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1931 trap 'exit_status=$?
   1932   # Save into config.log some information that might help in debugging.
   1933   {
   1934     echo
   1935 
   1936     cat <<\_ASBOX
   1937 ## ---------------- ##
   1938 ## Cache variables. ##
   1939 ## ---------------- ##
   1940 _ASBOX
   1941     echo
   1942     # The following way of writing the cache mishandles newlines in values,
   1943 (
   1944   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1945     eval ac_val=\$$ac_var
   1946     case $ac_val in #(
   1947     *${as_nl}*)
   1948       case $ac_var in #(
   1949       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1951       esac
   1952       case $ac_var in #(
   1953       _ | IFS | as_nl) ;; #(
   1954       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1955       *) $as_unset $ac_var ;;
   1956       esac ;;
   1957     esac
   1958   done
   1959   (set) 2>&1 |
   1960     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1961     *${as_nl}ac_space=\ *)
   1962       sed -n \
   1963 	"s/'\''/'\''\\\\'\'''\''/g;
   1964 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1965       ;; #(
   1966     *)
   1967       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1968       ;;
   1969     esac |
   1970     sort
   1971 )
   1972     echo
   1973 
   1974     cat <<\_ASBOX
   1975 ## ----------------- ##
   1976 ## Output variables. ##
   1977 ## ----------------- ##
   1978 _ASBOX
   1979     echo
   1980     for ac_var in $ac_subst_vars
   1981     do
   1982       eval ac_val=\$$ac_var
   1983       case $ac_val in
   1984       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1985       esac
   1986       $as_echo "$ac_var='\''$ac_val'\''"
   1987     done | sort
   1988     echo
   1989 
   1990     if test -n "$ac_subst_files"; then
   1991       cat <<\_ASBOX
   1992 ## ------------------- ##
   1993 ## File substitutions. ##
   1994 ## ------------------- ##
   1995 _ASBOX
   1996       echo
   1997       for ac_var in $ac_subst_files
   1998       do
   1999 	eval ac_val=\$$ac_var
   2000 	case $ac_val in
   2001 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2002 	esac
   2003 	$as_echo "$ac_var='\''$ac_val'\''"
   2004       done | sort
   2005       echo
   2006     fi
   2007 
   2008     if test -s confdefs.h; then
   2009       cat <<\_ASBOX
   2010 ## ----------- ##
   2011 ## confdefs.h. ##
   2012 ## ----------- ##
   2013 _ASBOX
   2014       echo
   2015       cat confdefs.h
   2016       echo
   2017     fi
   2018     test "$ac_signal" != 0 &&
   2019       $as_echo "$as_me: caught signal $ac_signal"
   2020     $as_echo "$as_me: exit $exit_status"
   2021   } >&5
   2022   rm -f core *.core core.conftest.* &&
   2023     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2024     exit $exit_status
   2025 ' 0
   2026 for ac_signal in 1 2 13 15; do
   2027   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   2028 done
   2029 ac_signal=0
   2030 
   2031 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2032 rm -f -r conftest* confdefs.h
   2033 
   2034 # Predefined preprocessor variables.
   2035 
   2036 cat >>confdefs.h <<_ACEOF
   2037 #define PACKAGE_NAME "$PACKAGE_NAME"
   2038 _ACEOF
   2039 
   2040 
   2041 cat >>confdefs.h <<_ACEOF
   2042 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2043 _ACEOF
   2044 
   2045 
   2046 cat >>confdefs.h <<_ACEOF
   2047 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2048 _ACEOF
   2049 
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_STRING "$PACKAGE_STRING"
   2053 _ACEOF
   2054 
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2058 _ACEOF
   2059 
   2060 
   2061 # Let the site file select an alternate cache file if it wants to.
   2062 # Prefer an explicitly selected file to automatically selected ones.
   2063 ac_site_file1=NONE
   2064 ac_site_file2=NONE
   2065 if test -n "$CONFIG_SITE"; then
   2066   ac_site_file1=$CONFIG_SITE
   2067 elif test "x$prefix" != xNONE; then
   2068   ac_site_file1=$prefix/share/config.site
   2069   ac_site_file2=$prefix/etc/config.site
   2070 else
   2071   ac_site_file1=$ac_default_prefix/share/config.site
   2072   ac_site_file2=$ac_default_prefix/etc/config.site
   2073 fi
   2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2075 do
   2076   test "x$ac_site_file" = xNONE && continue
   2077   if test -r "$ac_site_file"; then
   2078     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2080     sed 's/^/| /' "$ac_site_file" >&5
   2081     . "$ac_site_file"
   2082   fi
   2083 done
   2084 
   2085 if test -r "$cache_file"; then
   2086   # Some versions of bash will fail to source /dev/null (special
   2087   # files actually), so we avoid doing that.
   2088   if test -f "$cache_file"; then
   2089     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2090 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2091     case $cache_file in
   2092       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2093       *)                      . "./$cache_file";;
   2094     esac
   2095   fi
   2096 else
   2097   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2098 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2099   >$cache_file
   2100 fi
   2101 
   2102 # Check that the precious variables saved in the cache have kept the same
   2103 # value.
   2104 ac_cache_corrupted=false
   2105 for ac_var in $ac_precious_vars; do
   2106   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2107   eval ac_new_set=\$ac_env_${ac_var}_set
   2108   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2109   eval ac_new_val=\$ac_env_${ac_var}_value
   2110   case $ac_old_set,$ac_new_set in
   2111     set,)
   2112       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2113 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2114       ac_cache_corrupted=: ;;
   2115     ,set)
   2116       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2117 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2118       ac_cache_corrupted=: ;;
   2119     ,);;
   2120     *)
   2121       if test "x$ac_old_val" != "x$ac_new_val"; then
   2122 	# differences in whitespace do not lead to failure.
   2123 	ac_old_val_w=`echo x $ac_old_val`
   2124 	ac_new_val_w=`echo x $ac_new_val`
   2125 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2126 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2128 	  ac_cache_corrupted=:
   2129 	else
   2130 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2132 	  eval $ac_var=\$ac_old_val
   2133 	fi
   2134 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2135 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2136 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2137 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2138       fi;;
   2139   esac
   2140   # Pass precious variables to config.status.
   2141   if test "$ac_new_set" = set; then
   2142     case $ac_new_val in
   2143     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2144     *) ac_arg=$ac_var=$ac_new_val ;;
   2145     esac
   2146     case " $ac_configure_args " in
   2147       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2148       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2149     esac
   2150   fi
   2151 done
   2152 if $ac_cache_corrupted; then
   2153   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2155   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2157   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2158 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2159    { (exit 1); exit 1; }; }
   2160 fi
   2161 
   2162 
   2163 
   2164 
   2165 
   2166 
   2167 
   2168 
   2169 
   2170 
   2171 
   2172 
   2173 
   2174 
   2175 
   2176 
   2177 
   2178 
   2179 
   2180 
   2181 
   2182 
   2183 
   2184 
   2185 
   2186 ac_ext=c
   2187 ac_cpp='$CPP $CPPFLAGS'
   2188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2191 
   2192 
   2193 # Autoheader generates config.h.in. No new lines allowed in the list.
   2194 ac_config_headers="$ac_config_headers config.h include/X11/fonts/fontconf.h"
   2195 
   2196 am__api_version='1.10'
   2197 
   2198 ac_aux_dir=
   2199 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2200   if test -f "$ac_dir/install-sh"; then
   2201     ac_aux_dir=$ac_dir
   2202     ac_install_sh="$ac_aux_dir/install-sh -c"
   2203     break
   2204   elif test -f "$ac_dir/install.sh"; then
   2205     ac_aux_dir=$ac_dir
   2206     ac_install_sh="$ac_aux_dir/install.sh -c"
   2207     break
   2208   elif test -f "$ac_dir/shtool"; then
   2209     ac_aux_dir=$ac_dir
   2210     ac_install_sh="$ac_aux_dir/shtool install -c"
   2211     break
   2212   fi
   2213 done
   2214 if test -z "$ac_aux_dir"; then
   2215   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2216 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2217    { (exit 1); exit 1; }; }
   2218 fi
   2219 
   2220 # These three variables are undocumented and unsupported,
   2221 # and are intended to be withdrawn in a future Autoconf release.
   2222 # They can cause serious problems if a builder's source tree is in a directory
   2223 # whose full name contains unusual characters.
   2224 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2225 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2226 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2227 
   2228 
   2229 # Find a good install program.  We prefer a C program (faster),
   2230 # so one script is as good as another.  But avoid the broken or
   2231 # incompatible versions:
   2232 # SysV /etc/install, /usr/sbin/install
   2233 # SunOS /usr/etc/install
   2234 # IRIX /sbin/install
   2235 # AIX /bin/install
   2236 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2237 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2238 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2239 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2240 # OS/2's system install, which has a completely different semantic
   2241 # ./install, which can be erroneously created by make from ./install.sh.
   2242 # Reject install programs that cannot install multiple files.
   2243 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2244 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2245 if test -z "$INSTALL"; then
   2246 if test "${ac_cv_path_install+set}" = set; then
   2247   $as_echo_n "(cached) " >&6
   2248 else
   2249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2250 for as_dir in $PATH
   2251 do
   2252   IFS=$as_save_IFS
   2253   test -z "$as_dir" && as_dir=.
   2254   # Account for people who put trailing slashes in PATH elements.
   2255 case $as_dir/ in
   2256   ./ | .// | /cC/* | \
   2257   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2258   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2259   /usr/ucb/* ) ;;
   2260   *)
   2261     # OSF1 and SCO ODT 3.0 have their own names for install.
   2262     # Don't use installbsd from OSF since it installs stuff as root
   2263     # by default.
   2264     for ac_prog in ginstall scoinst install; do
   2265       for ac_exec_ext in '' $ac_executable_extensions; do
   2266 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2267 	  if test $ac_prog = install &&
   2268 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2269 	    # AIX install.  It has an incompatible calling convention.
   2270 	    :
   2271 	  elif test $ac_prog = install &&
   2272 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2273 	    # program-specific install script used by HP pwplus--don't use.
   2274 	    :
   2275 	  else
   2276 	    rm -rf conftest.one conftest.two conftest.dir
   2277 	    echo one > conftest.one
   2278 	    echo two > conftest.two
   2279 	    mkdir conftest.dir
   2280 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2281 	      test -s conftest.one && test -s conftest.two &&
   2282 	      test -s conftest.dir/conftest.one &&
   2283 	      test -s conftest.dir/conftest.two
   2284 	    then
   2285 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2286 	      break 3
   2287 	    fi
   2288 	  fi
   2289 	fi
   2290       done
   2291     done
   2292     ;;
   2293 esac
   2294 
   2295 done
   2296 IFS=$as_save_IFS
   2297 
   2298 rm -rf conftest.one conftest.two conftest.dir
   2299 
   2300 fi
   2301   if test "${ac_cv_path_install+set}" = set; then
   2302     INSTALL=$ac_cv_path_install
   2303   else
   2304     # As a last resort, use the slow shell script.  Don't cache a
   2305     # value for INSTALL within a source directory, because that will
   2306     # break other packages using the cache if that directory is
   2307     # removed, or if the value is a relative name.
   2308     INSTALL=$ac_install_sh
   2309   fi
   2310 fi
   2311 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2312 $as_echo "$INSTALL" >&6; }
   2313 
   2314 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2315 # It thinks the first close brace ends the variable substitution.
   2316 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2317 
   2318 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2319 
   2320 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2321 
   2322 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2323 $as_echo_n "checking whether build environment is sane... " >&6; }
   2324 # Just in case
   2325 sleep 1
   2326 echo timestamp > conftest.file
   2327 # Do `set' in a subshell so we don't clobber the current shell's
   2328 # arguments.  Must try -L first in case configure is actually a
   2329 # symlink; some systems play weird games with the mod time of symlinks
   2330 # (eg FreeBSD returns the mod time of the symlink's containing
   2331 # directory).
   2332 if (
   2333    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2334    if test "$*" = "X"; then
   2335       # -L didn't work.
   2336       set X `ls -t $srcdir/configure conftest.file`
   2337    fi
   2338    rm -f conftest.file
   2339    if test "$*" != "X $srcdir/configure conftest.file" \
   2340       && test "$*" != "X conftest.file $srcdir/configure"; then
   2341 
   2342       # If neither matched, then we have a broken ls.  This can happen
   2343       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2344       # broken ls alias from the environment.  This has actually
   2345       # happened.  Such a system could not be considered "sane".
   2346       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2347 alias in your environment" >&5
   2348 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2349 alias in your environment" >&2;}
   2350    { (exit 1); exit 1; }; }
   2351    fi
   2352 
   2353    test "$2" = conftest.file
   2354    )
   2355 then
   2356    # Ok.
   2357    :
   2358 else
   2359    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2360 Check your system clock" >&5
   2361 $as_echo "$as_me: error: newly created file is older than distributed files!
   2362 Check your system clock" >&2;}
   2363    { (exit 1); exit 1; }; }
   2364 fi
   2365 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2366 $as_echo "yes" >&6; }
   2367 test "$program_prefix" != NONE &&
   2368   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2369 # Use a double $ so make ignores it.
   2370 test "$program_suffix" != NONE &&
   2371   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2372 # Double any \ or $.
   2373 # By default was `s,x,x', remove it if useless.
   2374 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2375 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2376 
   2377 # expand $ac_aux_dir to an absolute path
   2378 am_aux_dir=`cd $ac_aux_dir && pwd`
   2379 
   2380 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2381 # Use eval to expand $SHELL
   2382 if eval "$MISSING --run true"; then
   2383   am_missing_run="$MISSING --run "
   2384 else
   2385   am_missing_run=
   2386   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2387 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2388 fi
   2389 
   2390 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2391 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2392 if test -z "$MKDIR_P"; then
   2393   if test "${ac_cv_path_mkdir+set}" = set; then
   2394   $as_echo_n "(cached) " >&6
   2395 else
   2396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2397 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2398 do
   2399   IFS=$as_save_IFS
   2400   test -z "$as_dir" && as_dir=.
   2401   for ac_prog in mkdir gmkdir; do
   2402 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2403 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2404 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2405 	     'mkdir (GNU coreutils) '* | \
   2406 	     'mkdir (coreutils) '* | \
   2407 	     'mkdir (fileutils) '4.1*)
   2408 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2409 	       break 3;;
   2410 	   esac
   2411 	 done
   2412        done
   2413 done
   2414 IFS=$as_save_IFS
   2415 
   2416 fi
   2417 
   2418   if test "${ac_cv_path_mkdir+set}" = set; then
   2419     MKDIR_P="$ac_cv_path_mkdir -p"
   2420   else
   2421     # As a last resort, use the slow shell script.  Don't cache a
   2422     # value for MKDIR_P within a source directory, because that will
   2423     # break other packages using the cache if that directory is
   2424     # removed, or if the value is a relative name.
   2425     test -d ./--version && rmdir ./--version
   2426     MKDIR_P="$ac_install_sh -d"
   2427   fi
   2428 fi
   2429 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2430 $as_echo "$MKDIR_P" >&6; }
   2431 
   2432 mkdir_p="$MKDIR_P"
   2433 case $mkdir_p in
   2434   [\\/$]* | ?:[\\/]*) ;;
   2435   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2436 esac
   2437 
   2438 for ac_prog in gawk mawk nawk awk
   2439 do
   2440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2441 set dummy $ac_prog; ac_word=$2
   2442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2443 $as_echo_n "checking for $ac_word... " >&6; }
   2444 if test "${ac_cv_prog_AWK+set}" = set; then
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   if test -n "$AWK"; then
   2448   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2449 else
   2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2451 for as_dir in $PATH
   2452 do
   2453   IFS=$as_save_IFS
   2454   test -z "$as_dir" && as_dir=.
   2455   for ac_exec_ext in '' $ac_executable_extensions; do
   2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2457     ac_cv_prog_AWK="$ac_prog"
   2458     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2459     break 2
   2460   fi
   2461 done
   2462 done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 fi
   2467 AWK=$ac_cv_prog_AWK
   2468 if test -n "$AWK"; then
   2469   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2470 $as_echo "$AWK" >&6; }
   2471 else
   2472   { $as_echo "$as_me:$LINENO: result: no" >&5
   2473 $as_echo "no" >&6; }
   2474 fi
   2475 
   2476 
   2477   test -n "$AWK" && break
   2478 done
   2479 
   2480 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2481 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2482 set x ${MAKE-make}
   2483 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2484 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2485   $as_echo_n "(cached) " >&6
   2486 else
   2487   cat >conftest.make <<\_ACEOF
   2488 SHELL = /bin/sh
   2489 all:
   2490 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2491 _ACEOF
   2492 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2493 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2494   *@@@%%%=?*=@@@%%%*)
   2495     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2496   *)
   2497     eval ac_cv_prog_make_${ac_make}_set=no;;
   2498 esac
   2499 rm -f conftest.make
   2500 fi
   2501 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2502   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2503 $as_echo "yes" >&6; }
   2504   SET_MAKE=
   2505 else
   2506   { $as_echo "$as_me:$LINENO: result: no" >&5
   2507 $as_echo "no" >&6; }
   2508   SET_MAKE="MAKE=${MAKE-make}"
   2509 fi
   2510 
   2511 rm -rf .tst 2>/dev/null
   2512 mkdir .tst 2>/dev/null
   2513 if test -d .tst; then
   2514   am__leading_dot=.
   2515 else
   2516   am__leading_dot=_
   2517 fi
   2518 rmdir .tst 2>/dev/null
   2519 
   2520 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2521   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2522   # is not polluted with repeated "-I."
   2523   am__isrc=' -I$(srcdir)'
   2524   # test to see if srcdir already configured
   2525   if test -f $srcdir/config.status; then
   2526     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2527 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2528    { (exit 1); exit 1; }; }
   2529   fi
   2530 fi
   2531 
   2532 # test whether we have cygpath
   2533 if test -z "$CYGPATH_W"; then
   2534   if (cygpath --version) >/dev/null 2>/dev/null; then
   2535     CYGPATH_W='cygpath -w'
   2536   else
   2537     CYGPATH_W=echo
   2538   fi
   2539 fi
   2540 
   2541 
   2542 # Define the identity of the package.
   2543  PACKAGE='libXfont'
   2544  VERSION='1.4.2'
   2545 
   2546 
   2547 cat >>confdefs.h <<_ACEOF
   2548 #define PACKAGE "$PACKAGE"
   2549 _ACEOF
   2550 
   2551 
   2552 cat >>confdefs.h <<_ACEOF
   2553 #define VERSION "$VERSION"
   2554 _ACEOF
   2555 
   2556 # Some tools Automake needs.
   2557 
   2558 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2559 
   2560 
   2561 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2562 
   2563 
   2564 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2565 
   2566 
   2567 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2568 
   2569 
   2570 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2571 
   2572 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2573 
   2574 # Installed binaries are usually stripped using `strip' when the user
   2575 # run `make install-strip'.  However `strip' might not be the right
   2576 # tool to use in cross-compilation environments, therefore Automake
   2577 # will honor the `STRIP' environment variable to overrule this program.
   2578 if test "$cross_compiling" != no; then
   2579   if test -n "$ac_tool_prefix"; then
   2580   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2581 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2583 $as_echo_n "checking for $ac_word... " >&6; }
   2584 if test "${ac_cv_prog_STRIP+set}" = set; then
   2585   $as_echo_n "(cached) " >&6
   2586 else
   2587   if test -n "$STRIP"; then
   2588   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2589 else
   2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2591 for as_dir in $PATH
   2592 do
   2593   IFS=$as_save_IFS
   2594   test -z "$as_dir" && as_dir=.
   2595   for ac_exec_ext in '' $ac_executable_extensions; do
   2596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2597     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2598     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2599     break 2
   2600   fi
   2601 done
   2602 done
   2603 IFS=$as_save_IFS
   2604 
   2605 fi
   2606 fi
   2607 STRIP=$ac_cv_prog_STRIP
   2608 if test -n "$STRIP"; then
   2609   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2610 $as_echo "$STRIP" >&6; }
   2611 else
   2612   { $as_echo "$as_me:$LINENO: result: no" >&5
   2613 $as_echo "no" >&6; }
   2614 fi
   2615 
   2616 
   2617 fi
   2618 if test -z "$ac_cv_prog_STRIP"; then
   2619   ac_ct_STRIP=$STRIP
   2620   # Extract the first word of "strip", so it can be a program name with args.
   2621 set dummy strip; ac_word=$2
   2622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2623 $as_echo_n "checking for $ac_word... " >&6; }
   2624 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2625   $as_echo_n "(cached) " >&6
   2626 else
   2627   if test -n "$ac_ct_STRIP"; then
   2628   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2629 else
   2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2631 for as_dir in $PATH
   2632 do
   2633   IFS=$as_save_IFS
   2634   test -z "$as_dir" && as_dir=.
   2635   for ac_exec_ext in '' $ac_executable_extensions; do
   2636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2637     ac_cv_prog_ac_ct_STRIP="strip"
   2638     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2639     break 2
   2640   fi
   2641 done
   2642 done
   2643 IFS=$as_save_IFS
   2644 
   2645 fi
   2646 fi
   2647 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2648 if test -n "$ac_ct_STRIP"; then
   2649   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2650 $as_echo "$ac_ct_STRIP" >&6; }
   2651 else
   2652   { $as_echo "$as_me:$LINENO: result: no" >&5
   2653 $as_echo "no" >&6; }
   2654 fi
   2655 
   2656   if test "x$ac_ct_STRIP" = x; then
   2657     STRIP=":"
   2658   else
   2659     case $cross_compiling:$ac_tool_warned in
   2660 yes:)
   2661 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2663 ac_tool_warned=yes ;;
   2664 esac
   2665     STRIP=$ac_ct_STRIP
   2666   fi
   2667 else
   2668   STRIP="$ac_cv_prog_STRIP"
   2669 fi
   2670 
   2671 fi
   2672 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2673 
   2674 # We need awk for the "check" target.  The system "awk" is bad on
   2675 # some platforms.
   2676 # Always define AMTAR for backward compatibility.
   2677 
   2678 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2679 
   2680 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2681 
   2682 
   2683 
   2684 
   2685 
   2686 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2687 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2688     # Check whether --enable-maintainer-mode was given.
   2689 if test "${enable_maintainer_mode+set}" = set; then
   2690   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2691 else
   2692   USE_MAINTAINER_MODE=no
   2693 fi
   2694 
   2695   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2696 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2697    if test $USE_MAINTAINER_MODE = yes; then
   2698   MAINTAINER_MODE_TRUE=
   2699   MAINTAINER_MODE_FALSE='#'
   2700 else
   2701   MAINTAINER_MODE_TRUE='#'
   2702   MAINTAINER_MODE_FALSE=
   2703 fi
   2704 
   2705   MAINT=$MAINTAINER_MODE_TRUE
   2706 
   2707 
   2708 
   2709 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2710 
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 DEPDIR="${am__leading_dot}deps"
   2722 
   2723 ac_config_commands="$ac_config_commands depfiles"
   2724 
   2725 
   2726 am_make=${MAKE-make}
   2727 cat > confinc << 'END'
   2728 am__doit:
   2729 	@echo done
   2730 .PHONY: am__doit
   2731 END
   2732 # If we don't find an include directive, just comment out the code.
   2733 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2734 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2735 am__include="#"
   2736 am__quote=
   2737 _am_result=none
   2738 # First try GNU make style include.
   2739 echo "include confinc" > confmf
   2740 # We grep out `Entering directory' and `Leaving directory'
   2741 # messages which can occur if `w' ends up in MAKEFLAGS.
   2742 # In particular we don't look at `^make:' because GNU make might
   2743 # be invoked under some other name (usually "gmake"), in which
   2744 # case it prints its new name instead of `make'.
   2745 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2746    am__include=include
   2747    am__quote=
   2748    _am_result=GNU
   2749 fi
   2750 # Now try BSD make style include.
   2751 if test "$am__include" = "#"; then
   2752    echo '.include "confinc"' > confmf
   2753    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2754       am__include=.include
   2755       am__quote="\""
   2756       _am_result=BSD
   2757    fi
   2758 fi
   2759 
   2760 
   2761 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2762 $as_echo "$_am_result" >&6; }
   2763 rm -f confinc confmf
   2764 
   2765 # Check whether --enable-dependency-tracking was given.
   2766 if test "${enable_dependency_tracking+set}" = set; then
   2767   enableval=$enable_dependency_tracking;
   2768 fi
   2769 
   2770 if test "x$enable_dependency_tracking" != xno; then
   2771   am_depcomp="$ac_aux_dir/depcomp"
   2772   AMDEPBACKSLASH='\'
   2773 fi
   2774  if test "x$enable_dependency_tracking" != xno; then
   2775   AMDEP_TRUE=
   2776   AMDEP_FALSE='#'
   2777 else
   2778   AMDEP_TRUE='#'
   2779   AMDEP_FALSE=
   2780 fi
   2781 
   2782 
   2783 ac_ext=c
   2784 ac_cpp='$CPP $CPPFLAGS'
   2785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2788 if test -n "$ac_tool_prefix"; then
   2789   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2790 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2792 $as_echo_n "checking for $ac_word... " >&6; }
   2793 if test "${ac_cv_prog_CC+set}" = set; then
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   if test -n "$CC"; then
   2797   ac_cv_prog_CC="$CC" # Let the user override the test.
   2798 else
   2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2800 for as_dir in $PATH
   2801 do
   2802   IFS=$as_save_IFS
   2803   test -z "$as_dir" && as_dir=.
   2804   for ac_exec_ext in '' $ac_executable_extensions; do
   2805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2806     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2807     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2808     break 2
   2809   fi
   2810 done
   2811 done
   2812 IFS=$as_save_IFS
   2813 
   2814 fi
   2815 fi
   2816 CC=$ac_cv_prog_CC
   2817 if test -n "$CC"; then
   2818   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2819 $as_echo "$CC" >&6; }
   2820 else
   2821   { $as_echo "$as_me:$LINENO: result: no" >&5
   2822 $as_echo "no" >&6; }
   2823 fi
   2824 
   2825 
   2826 fi
   2827 if test -z "$ac_cv_prog_CC"; then
   2828   ac_ct_CC=$CC
   2829   # Extract the first word of "gcc", so it can be a program name with args.
   2830 set dummy gcc; ac_word=$2
   2831 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2832 $as_echo_n "checking for $ac_word... " >&6; }
   2833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2834   $as_echo_n "(cached) " >&6
   2835 else
   2836   if test -n "$ac_ct_CC"; then
   2837   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2838 else
   2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2840 for as_dir in $PATH
   2841 do
   2842   IFS=$as_save_IFS
   2843   test -z "$as_dir" && as_dir=.
   2844   for ac_exec_ext in '' $ac_executable_extensions; do
   2845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2846     ac_cv_prog_ac_ct_CC="gcc"
   2847     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2848     break 2
   2849   fi
   2850 done
   2851 done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi
   2855 fi
   2856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2857 if test -n "$ac_ct_CC"; then
   2858   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2859 $as_echo "$ac_ct_CC" >&6; }
   2860 else
   2861   { $as_echo "$as_me:$LINENO: result: no" >&5
   2862 $as_echo "no" >&6; }
   2863 fi
   2864 
   2865   if test "x$ac_ct_CC" = x; then
   2866     CC=""
   2867   else
   2868     case $cross_compiling:$ac_tool_warned in
   2869 yes:)
   2870 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2872 ac_tool_warned=yes ;;
   2873 esac
   2874     CC=$ac_ct_CC
   2875   fi
   2876 else
   2877   CC="$ac_cv_prog_CC"
   2878 fi
   2879 
   2880 if test -z "$CC"; then
   2881           if test -n "$ac_tool_prefix"; then
   2882     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2883 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2884 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2885 $as_echo_n "checking for $ac_word... " >&6; }
   2886 if test "${ac_cv_prog_CC+set}" = set; then
   2887   $as_echo_n "(cached) " >&6
   2888 else
   2889   if test -n "$CC"; then
   2890   ac_cv_prog_CC="$CC" # Let the user override the test.
   2891 else
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   test -z "$as_dir" && as_dir=.
   2897   for ac_exec_ext in '' $ac_executable_extensions; do
   2898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2899     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2900     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2901     break 2
   2902   fi
   2903 done
   2904 done
   2905 IFS=$as_save_IFS
   2906 
   2907 fi
   2908 fi
   2909 CC=$ac_cv_prog_CC
   2910 if test -n "$CC"; then
   2911   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2912 $as_echo "$CC" >&6; }
   2913 else
   2914   { $as_echo "$as_me:$LINENO: result: no" >&5
   2915 $as_echo "no" >&6; }
   2916 fi
   2917 
   2918 
   2919   fi
   2920 fi
   2921 if test -z "$CC"; then
   2922   # Extract the first word of "cc", so it can be a program name with args.
   2923 set dummy cc; ac_word=$2
   2924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2925 $as_echo_n "checking for $ac_word... " >&6; }
   2926 if test "${ac_cv_prog_CC+set}" = set; then
   2927   $as_echo_n "(cached) " >&6
   2928 else
   2929   if test -n "$CC"; then
   2930   ac_cv_prog_CC="$CC" # Let the user override the test.
   2931 else
   2932   ac_prog_rejected=no
   2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2934 for as_dir in $PATH
   2935 do
   2936   IFS=$as_save_IFS
   2937   test -z "$as_dir" && as_dir=.
   2938   for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2940     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2941        ac_prog_rejected=yes
   2942        continue
   2943      fi
   2944     ac_cv_prog_CC="cc"
   2945     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2946     break 2
   2947   fi
   2948 done
   2949 done
   2950 IFS=$as_save_IFS
   2951 
   2952 if test $ac_prog_rejected = yes; then
   2953   # We found a bogon in the path, so make sure we never use it.
   2954   set dummy $ac_cv_prog_CC
   2955   shift
   2956   if test $# != 0; then
   2957     # We chose a different compiler from the bogus one.
   2958     # However, it has the same basename, so the bogon will be chosen
   2959     # first if we set CC to just the basename; use the full file name.
   2960     shift
   2961     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2962   fi
   2963 fi
   2964 fi
   2965 fi
   2966 CC=$ac_cv_prog_CC
   2967 if test -n "$CC"; then
   2968   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2969 $as_echo "$CC" >&6; }
   2970 else
   2971   { $as_echo "$as_me:$LINENO: result: no" >&5
   2972 $as_echo "no" >&6; }
   2973 fi
   2974 
   2975 
   2976 fi
   2977 if test -z "$CC"; then
   2978   if test -n "$ac_tool_prefix"; then
   2979   for ac_prog in cl.exe
   2980   do
   2981     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2983 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2984 $as_echo_n "checking for $ac_word... " >&6; }
   2985 if test "${ac_cv_prog_CC+set}" = set; then
   2986   $as_echo_n "(cached) " >&6
   2987 else
   2988   if test -n "$CC"; then
   2989   ac_cv_prog_CC="$CC" # Let the user override the test.
   2990 else
   2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH
   2993 do
   2994   IFS=$as_save_IFS
   2995   test -z "$as_dir" && as_dir=.
   2996   for ac_exec_ext in '' $ac_executable_extensions; do
   2997   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2998     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2999     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3000     break 2
   3001   fi
   3002 done
   3003 done
   3004 IFS=$as_save_IFS
   3005 
   3006 fi
   3007 fi
   3008 CC=$ac_cv_prog_CC
   3009 if test -n "$CC"; then
   3010   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3011 $as_echo "$CC" >&6; }
   3012 else
   3013   { $as_echo "$as_me:$LINENO: result: no" >&5
   3014 $as_echo "no" >&6; }
   3015 fi
   3016 
   3017 
   3018     test -n "$CC" && break
   3019   done
   3020 fi
   3021 if test -z "$CC"; then
   3022   ac_ct_CC=$CC
   3023   for ac_prog in cl.exe
   3024 do
   3025   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3026 set dummy $ac_prog; ac_word=$2
   3027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3028 $as_echo_n "checking for $ac_word... " >&6; }
   3029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3030   $as_echo_n "(cached) " >&6
   3031 else
   3032   if test -n "$ac_ct_CC"; then
   3033   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3034 else
   3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3036 for as_dir in $PATH
   3037 do
   3038   IFS=$as_save_IFS
   3039   test -z "$as_dir" && as_dir=.
   3040   for ac_exec_ext in '' $ac_executable_extensions; do
   3041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3042     ac_cv_prog_ac_ct_CC="$ac_prog"
   3043     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3044     break 2
   3045   fi
   3046 done
   3047 done
   3048 IFS=$as_save_IFS
   3049 
   3050 fi
   3051 fi
   3052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3053 if test -n "$ac_ct_CC"; then
   3054   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3055 $as_echo "$ac_ct_CC" >&6; }
   3056 else
   3057   { $as_echo "$as_me:$LINENO: result: no" >&5
   3058 $as_echo "no" >&6; }
   3059 fi
   3060 
   3061 
   3062   test -n "$ac_ct_CC" && break
   3063 done
   3064 
   3065   if test "x$ac_ct_CC" = x; then
   3066     CC=""
   3067   else
   3068     case $cross_compiling:$ac_tool_warned in
   3069 yes:)
   3070 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3072 ac_tool_warned=yes ;;
   3073 esac
   3074     CC=$ac_ct_CC
   3075   fi
   3076 fi
   3077 
   3078 fi
   3079 
   3080 
   3081 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3083 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3084 See \`config.log' for more details." >&5
   3085 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3086 See \`config.log' for more details." >&2;}
   3087    { (exit 1); exit 1; }; }; }
   3088 
   3089 # Provide some information about the compiler.
   3090 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3091 set X $ac_compile
   3092 ac_compiler=$2
   3093 { (ac_try="$ac_compiler --version >&5"
   3094 case "(($ac_try" in
   3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3096   *) ac_try_echo=$ac_try;;
   3097 esac
   3098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3099 $as_echo "$ac_try_echo") >&5
   3100   (eval "$ac_compiler --version >&5") 2>&5
   3101   ac_status=$?
   3102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3103   (exit $ac_status); }
   3104 { (ac_try="$ac_compiler -v >&5"
   3105 case "(($ac_try" in
   3106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3107   *) ac_try_echo=$ac_try;;
   3108 esac
   3109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3110 $as_echo "$ac_try_echo") >&5
   3111   (eval "$ac_compiler -v >&5") 2>&5
   3112   ac_status=$?
   3113   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3114   (exit $ac_status); }
   3115 { (ac_try="$ac_compiler -V >&5"
   3116 case "(($ac_try" in
   3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3118   *) ac_try_echo=$ac_try;;
   3119 esac
   3120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3121 $as_echo "$ac_try_echo") >&5
   3122   (eval "$ac_compiler -V >&5") 2>&5
   3123   ac_status=$?
   3124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3125   (exit $ac_status); }
   3126 
   3127 cat >conftest.$ac_ext <<_ACEOF
   3128 /* confdefs.h.  */
   3129 _ACEOF
   3130 cat confdefs.h >>conftest.$ac_ext
   3131 cat >>conftest.$ac_ext <<_ACEOF
   3132 /* end confdefs.h.  */
   3133 
   3134 int
   3135 main ()
   3136 {
   3137 
   3138   ;
   3139   return 0;
   3140 }
   3141 _ACEOF
   3142 ac_clean_files_save=$ac_clean_files
   3143 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3144 # Try to create an executable without -o first, disregard a.out.
   3145 # It will help us diagnose broken compilers, and finding out an intuition
   3146 # of exeext.
   3147 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3148 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3149 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3150 
   3151 # The possible output files:
   3152 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3153 
   3154 ac_rmfiles=
   3155 for ac_file in $ac_files
   3156 do
   3157   case $ac_file in
   3158     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3159     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3160   esac
   3161 done
   3162 rm -f $ac_rmfiles
   3163 
   3164 if { (ac_try="$ac_link_default"
   3165 case "(($ac_try" in
   3166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3167   *) ac_try_echo=$ac_try;;
   3168 esac
   3169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3170 $as_echo "$ac_try_echo") >&5
   3171   (eval "$ac_link_default") 2>&5
   3172   ac_status=$?
   3173   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3174   (exit $ac_status); }; then
   3175   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3176 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3177 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3178 # so that the user can short-circuit this test for compilers unknown to
   3179 # Autoconf.
   3180 for ac_file in $ac_files ''
   3181 do
   3182   test -f "$ac_file" || continue
   3183   case $ac_file in
   3184     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3185 	;;
   3186     [ab].out )
   3187 	# We found the default executable, but exeext='' is most
   3188 	# certainly right.
   3189 	break;;
   3190     *.* )
   3191         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3192 	then :; else
   3193 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3194 	fi
   3195 	# We set ac_cv_exeext here because the later test for it is not
   3196 	# safe: cross compilers may not add the suffix if given an `-o'
   3197 	# argument, so we may need to know it at that point already.
   3198 	# Even if this section looks crufty: it has the advantage of
   3199 	# actually working.
   3200 	break;;
   3201     * )
   3202 	break;;
   3203   esac
   3204 done
   3205 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3206 
   3207 else
   3208   ac_file=''
   3209 fi
   3210 
   3211 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3212 $as_echo "$ac_file" >&6; }
   3213 if test -z "$ac_file"; then
   3214   $as_echo "$as_me: failed program was:" >&5
   3215 sed 's/^/| /' conftest.$ac_ext >&5
   3216 
   3217 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3219 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3220 See \`config.log' for more details." >&5
   3221 $as_echo "$as_me: error: C compiler cannot create executables
   3222 See \`config.log' for more details." >&2;}
   3223    { (exit 77); exit 77; }; }; }
   3224 fi
   3225 
   3226 ac_exeext=$ac_cv_exeext
   3227 
   3228 # Check that the compiler produces executables we can run.  If not, either
   3229 # the compiler is broken, or we cross compile.
   3230 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3231 $as_echo_n "checking whether the C compiler works... " >&6; }
   3232 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3233 # If not cross compiling, check that we can run a simple program.
   3234 if test "$cross_compiling" != yes; then
   3235   if { ac_try='./$ac_file'
   3236   { (case "(($ac_try" in
   3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3238   *) ac_try_echo=$ac_try;;
   3239 esac
   3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3241 $as_echo "$ac_try_echo") >&5
   3242   (eval "$ac_try") 2>&5
   3243   ac_status=$?
   3244   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3245   (exit $ac_status); }; }; then
   3246     cross_compiling=no
   3247   else
   3248     if test "$cross_compiling" = maybe; then
   3249 	cross_compiling=yes
   3250     else
   3251 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3254 If you meant to cross compile, use \`--host'.
   3255 See \`config.log' for more details." >&5
   3256 $as_echo "$as_me: error: cannot run C compiled programs.
   3257 If you meant to cross compile, use \`--host'.
   3258 See \`config.log' for more details." >&2;}
   3259    { (exit 1); exit 1; }; }; }
   3260     fi
   3261   fi
   3262 fi
   3263 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3264 $as_echo "yes" >&6; }
   3265 
   3266 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3267 ac_clean_files=$ac_clean_files_save
   3268 # Check that the compiler produces executables we can run.  If not, either
   3269 # the compiler is broken, or we cross compile.
   3270 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3271 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3272 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3273 $as_echo "$cross_compiling" >&6; }
   3274 
   3275 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3276 $as_echo_n "checking for suffix of executables... " >&6; }
   3277 if { (ac_try="$ac_link"
   3278 case "(($ac_try" in
   3279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3280   *) ac_try_echo=$ac_try;;
   3281 esac
   3282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3283 $as_echo "$ac_try_echo") >&5
   3284   (eval "$ac_link") 2>&5
   3285   ac_status=$?
   3286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3287   (exit $ac_status); }; then
   3288   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3289 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3290 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3291 # `rm'.
   3292 for ac_file in conftest.exe conftest conftest.*; do
   3293   test -f "$ac_file" || continue
   3294   case $ac_file in
   3295     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3296     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3297 	  break;;
   3298     * ) break;;
   3299   esac
   3300 done
   3301 else
   3302   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3304 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3305 See \`config.log' for more details." >&5
   3306 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3307 See \`config.log' for more details." >&2;}
   3308    { (exit 1); exit 1; }; }; }
   3309 fi
   3310 
   3311 rm -f conftest$ac_cv_exeext
   3312 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3313 $as_echo "$ac_cv_exeext" >&6; }
   3314 
   3315 rm -f conftest.$ac_ext
   3316 EXEEXT=$ac_cv_exeext
   3317 ac_exeext=$EXEEXT
   3318 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3319 $as_echo_n "checking for suffix of object files... " >&6; }
   3320 if test "${ac_cv_objext+set}" = set; then
   3321   $as_echo_n "(cached) " >&6
   3322 else
   3323   cat >conftest.$ac_ext <<_ACEOF
   3324 /* confdefs.h.  */
   3325 _ACEOF
   3326 cat confdefs.h >>conftest.$ac_ext
   3327 cat >>conftest.$ac_ext <<_ACEOF
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 rm -f conftest.o conftest.obj
   3339 if { (ac_try="$ac_compile"
   3340 case "(($ac_try" in
   3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3342   *) ac_try_echo=$ac_try;;
   3343 esac
   3344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3345 $as_echo "$ac_try_echo") >&5
   3346   (eval "$ac_compile") 2>&5
   3347   ac_status=$?
   3348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3349   (exit $ac_status); }; then
   3350   for ac_file in conftest.o conftest.obj conftest.*; do
   3351   test -f "$ac_file" || continue;
   3352   case $ac_file in
   3353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3354     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3355        break;;
   3356   esac
   3357 done
   3358 else
   3359   $as_echo "$as_me: failed program was:" >&5
   3360 sed 's/^/| /' conftest.$ac_ext >&5
   3361 
   3362 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3364 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3365 See \`config.log' for more details." >&5
   3366 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3367 See \`config.log' for more details." >&2;}
   3368    { (exit 1); exit 1; }; }; }
   3369 fi
   3370 
   3371 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3372 fi
   3373 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3374 $as_echo "$ac_cv_objext" >&6; }
   3375 OBJEXT=$ac_cv_objext
   3376 ac_objext=$OBJEXT
   3377 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3378 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3379 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3380   $as_echo_n "(cached) " >&6
   3381 else
   3382   cat >conftest.$ac_ext <<_ACEOF
   3383 /* confdefs.h.  */
   3384 _ACEOF
   3385 cat confdefs.h >>conftest.$ac_ext
   3386 cat >>conftest.$ac_ext <<_ACEOF
   3387 /* end confdefs.h.  */
   3388 
   3389 int
   3390 main ()
   3391 {
   3392 #ifndef __GNUC__
   3393        choke me
   3394 #endif
   3395 
   3396   ;
   3397   return 0;
   3398 }
   3399 _ACEOF
   3400 rm -f conftest.$ac_objext
   3401 if { (ac_try="$ac_compile"
   3402 case "(($ac_try" in
   3403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3404   *) ac_try_echo=$ac_try;;
   3405 esac
   3406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3407 $as_echo "$ac_try_echo") >&5
   3408   (eval "$ac_compile") 2>conftest.er1
   3409   ac_status=$?
   3410   grep -v '^ *+' conftest.er1 >conftest.err
   3411   rm -f conftest.er1
   3412   cat conftest.err >&5
   3413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3414   (exit $ac_status); } && {
   3415 	 test -z "$ac_c_werror_flag" ||
   3416 	 test ! -s conftest.err
   3417        } && test -s conftest.$ac_objext; then
   3418   ac_compiler_gnu=yes
   3419 else
   3420   $as_echo "$as_me: failed program was:" >&5
   3421 sed 's/^/| /' conftest.$ac_ext >&5
   3422 
   3423 	ac_compiler_gnu=no
   3424 fi
   3425 
   3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3428 
   3429 fi
   3430 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3432 if test $ac_compiler_gnu = yes; then
   3433   GCC=yes
   3434 else
   3435   GCC=
   3436 fi
   3437 ac_test_CFLAGS=${CFLAGS+set}
   3438 ac_save_CFLAGS=$CFLAGS
   3439 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3441 if test "${ac_cv_prog_cc_g+set}" = set; then
   3442   $as_echo_n "(cached) " >&6
   3443 else
   3444   ac_save_c_werror_flag=$ac_c_werror_flag
   3445    ac_c_werror_flag=yes
   3446    ac_cv_prog_cc_g=no
   3447    CFLAGS="-g"
   3448    cat >conftest.$ac_ext <<_ACEOF
   3449 /* confdefs.h.  */
   3450 _ACEOF
   3451 cat confdefs.h >>conftest.$ac_ext
   3452 cat >>conftest.$ac_ext <<_ACEOF
   3453 /* end confdefs.h.  */
   3454 
   3455 int
   3456 main ()
   3457 {
   3458 
   3459   ;
   3460   return 0;
   3461 }
   3462 _ACEOF
   3463 rm -f conftest.$ac_objext
   3464 if { (ac_try="$ac_compile"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3470 $as_echo "$ac_try_echo") >&5
   3471   (eval "$ac_compile") 2>conftest.er1
   3472   ac_status=$?
   3473   grep -v '^ *+' conftest.er1 >conftest.err
   3474   rm -f conftest.er1
   3475   cat conftest.err >&5
   3476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3477   (exit $ac_status); } && {
   3478 	 test -z "$ac_c_werror_flag" ||
   3479 	 test ! -s conftest.err
   3480        } && test -s conftest.$ac_objext; then
   3481   ac_cv_prog_cc_g=yes
   3482 else
   3483   $as_echo "$as_me: failed program was:" >&5
   3484 sed 's/^/| /' conftest.$ac_ext >&5
   3485 
   3486 	CFLAGS=""
   3487       cat >conftest.$ac_ext <<_ACEOF
   3488 /* confdefs.h.  */
   3489 _ACEOF
   3490 cat confdefs.h >>conftest.$ac_ext
   3491 cat >>conftest.$ac_ext <<_ACEOF
   3492 /* end confdefs.h.  */
   3493 
   3494 int
   3495 main ()
   3496 {
   3497 
   3498   ;
   3499   return 0;
   3500 }
   3501 _ACEOF
   3502 rm -f conftest.$ac_objext
   3503 if { (ac_try="$ac_compile"
   3504 case "(($ac_try" in
   3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3506   *) ac_try_echo=$ac_try;;
   3507 esac
   3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3509 $as_echo "$ac_try_echo") >&5
   3510   (eval "$ac_compile") 2>conftest.er1
   3511   ac_status=$?
   3512   grep -v '^ *+' conftest.er1 >conftest.err
   3513   rm -f conftest.er1
   3514   cat conftest.err >&5
   3515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3516   (exit $ac_status); } && {
   3517 	 test -z "$ac_c_werror_flag" ||
   3518 	 test ! -s conftest.err
   3519        } && test -s conftest.$ac_objext; then
   3520   :
   3521 else
   3522   $as_echo "$as_me: failed program was:" >&5
   3523 sed 's/^/| /' conftest.$ac_ext >&5
   3524 
   3525 	ac_c_werror_flag=$ac_save_c_werror_flag
   3526 	 CFLAGS="-g"
   3527 	 cat >conftest.$ac_ext <<_ACEOF
   3528 /* confdefs.h.  */
   3529 _ACEOF
   3530 cat confdefs.h >>conftest.$ac_ext
   3531 cat >>conftest.$ac_ext <<_ACEOF
   3532 /* end confdefs.h.  */
   3533 
   3534 int
   3535 main ()
   3536 {
   3537 
   3538   ;
   3539   return 0;
   3540 }
   3541 _ACEOF
   3542 rm -f conftest.$ac_objext
   3543 if { (ac_try="$ac_compile"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo") >&5
   3550   (eval "$ac_compile") 2>conftest.er1
   3551   ac_status=$?
   3552   grep -v '^ *+' conftest.er1 >conftest.err
   3553   rm -f conftest.er1
   3554   cat conftest.err >&5
   3555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3556   (exit $ac_status); } && {
   3557 	 test -z "$ac_c_werror_flag" ||
   3558 	 test ! -s conftest.err
   3559        } && test -s conftest.$ac_objext; then
   3560   ac_cv_prog_cc_g=yes
   3561 else
   3562   $as_echo "$as_me: failed program was:" >&5
   3563 sed 's/^/| /' conftest.$ac_ext >&5
   3564 
   3565 
   3566 fi
   3567 
   3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3569 fi
   3570 
   3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3572 fi
   3573 
   3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3575    ac_c_werror_flag=$ac_save_c_werror_flag
   3576 fi
   3577 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3578 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3579 if test "$ac_test_CFLAGS" = set; then
   3580   CFLAGS=$ac_save_CFLAGS
   3581 elif test $ac_cv_prog_cc_g = yes; then
   3582   if test "$GCC" = yes; then
   3583     CFLAGS="-g -O2"
   3584   else
   3585     CFLAGS="-g"
   3586   fi
   3587 else
   3588   if test "$GCC" = yes; then
   3589     CFLAGS="-O2"
   3590   else
   3591     CFLAGS=
   3592   fi
   3593 fi
   3594 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3596 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3597   $as_echo_n "(cached) " >&6
   3598 else
   3599   ac_cv_prog_cc_c89=no
   3600 ac_save_CC=$CC
   3601 cat >conftest.$ac_ext <<_ACEOF
   3602 /* confdefs.h.  */
   3603 _ACEOF
   3604 cat confdefs.h >>conftest.$ac_ext
   3605 cat >>conftest.$ac_ext <<_ACEOF
   3606 /* end confdefs.h.  */
   3607 #include <stdarg.h>
   3608 #include <stdio.h>
   3609 #include <sys/types.h>
   3610 #include <sys/stat.h>
   3611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3612 struct buf { int x; };
   3613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3614 static char *e (p, i)
   3615      char **p;
   3616      int i;
   3617 {
   3618   return p[i];
   3619 }
   3620 static char *f (char * (*g) (char **, int), char **p, ...)
   3621 {
   3622   char *s;
   3623   va_list v;
   3624   va_start (v,p);
   3625   s = g (p, va_arg (v,int));
   3626   va_end (v);
   3627   return s;
   3628 }
   3629 
   3630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3631    function prototypes and stuff, but not '\xHH' hex character constants.
   3632    These don't provoke an error unfortunately, instead are silently treated
   3633    as 'x'.  The following induces an error, until -std is added to get
   3634    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3635    array size at least.  It's necessary to write '\x00'==0 to get something
   3636    that's true only with -std.  */
   3637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3638 
   3639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3640    inside strings and character constants.  */
   3641 #define FOO(x) 'x'
   3642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3643 
   3644 int test (int i, double x);
   3645 struct s1 {int (*f) (int a);};
   3646 struct s2 {int (*f) (double a);};
   3647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3648 int argc;
   3649 char **argv;
   3650 int
   3651 main ()
   3652 {
   3653 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3654   ;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3659 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3660 do
   3661   CC="$ac_save_CC $ac_arg"
   3662   rm -f conftest.$ac_objext
   3663 if { (ac_try="$ac_compile"
   3664 case "(($ac_try" in
   3665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3666   *) ac_try_echo=$ac_try;;
   3667 esac
   3668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3669 $as_echo "$ac_try_echo") >&5
   3670   (eval "$ac_compile") 2>conftest.er1
   3671   ac_status=$?
   3672   grep -v '^ *+' conftest.er1 >conftest.err
   3673   rm -f conftest.er1
   3674   cat conftest.err >&5
   3675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3676   (exit $ac_status); } && {
   3677 	 test -z "$ac_c_werror_flag" ||
   3678 	 test ! -s conftest.err
   3679        } && test -s conftest.$ac_objext; then
   3680   ac_cv_prog_cc_c89=$ac_arg
   3681 else
   3682   $as_echo "$as_me: failed program was:" >&5
   3683 sed 's/^/| /' conftest.$ac_ext >&5
   3684 
   3685 
   3686 fi
   3687 
   3688 rm -f core conftest.err conftest.$ac_objext
   3689   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3690 done
   3691 rm -f conftest.$ac_ext
   3692 CC=$ac_save_CC
   3693 
   3694 fi
   3695 # AC_CACHE_VAL
   3696 case "x$ac_cv_prog_cc_c89" in
   3697   x)
   3698     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3699 $as_echo "none needed" >&6; } ;;
   3700   xno)
   3701     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3702 $as_echo "unsupported" >&6; } ;;
   3703   *)
   3704     CC="$CC $ac_cv_prog_cc_c89"
   3705     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3706 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3707 esac
   3708 
   3709 
   3710 ac_ext=c
   3711 ac_cpp='$CPP $CPPFLAGS'
   3712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3715 
   3716 depcc="$CC"   am_compiler_list=
   3717 
   3718 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3719 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3720 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3724   # We make a subdir and do the tests there.  Otherwise we can end up
   3725   # making bogus files that we don't know about and never remove.  For
   3726   # instance it was reported that on HP-UX the gcc test will end up
   3727   # making a dummy file named `D' -- because `-MD' means `put the output
   3728   # in D'.
   3729   mkdir conftest.dir
   3730   # Copy depcomp to subdir because otherwise we won't find it if we're
   3731   # using a relative directory.
   3732   cp "$am_depcomp" conftest.dir
   3733   cd conftest.dir
   3734   # We will build objects and dependencies in a subdirectory because
   3735   # it helps to detect inapplicable dependency modes.  For instance
   3736   # both Tru64's cc and ICC support -MD to output dependencies as a
   3737   # side effect of compilation, but ICC will put the dependencies in
   3738   # the current directory while Tru64 will put them in the object
   3739   # directory.
   3740   mkdir sub
   3741 
   3742   am_cv_CC_dependencies_compiler_type=none
   3743   if test "$am_compiler_list" = ""; then
   3744      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3745   fi
   3746   for depmode in $am_compiler_list; do
   3747     # Setup a source with many dependencies, because some compilers
   3748     # like to wrap large dependency lists on column 80 (with \), and
   3749     # we should not choose a depcomp mode which is confused by this.
   3750     #
   3751     # We need to recreate these files for each test, as the compiler may
   3752     # overwrite some of them when testing with obscure command lines.
   3753     # This happens at least with the AIX C compiler.
   3754     : > sub/conftest.c
   3755     for i in 1 2 3 4 5 6; do
   3756       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3757       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3758       # Solaris 8's {/usr,}/bin/sh.
   3759       touch sub/conftst$i.h
   3760     done
   3761     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3762 
   3763     case $depmode in
   3764     nosideeffect)
   3765       # after this tag, mechanisms are not by side-effect, so they'll
   3766       # only be used when explicitly requested
   3767       if test "x$enable_dependency_tracking" = xyes; then
   3768 	continue
   3769       else
   3770 	break
   3771       fi
   3772       ;;
   3773     none) break ;;
   3774     esac
   3775     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3776     # mode.  It turns out that the SunPro C++ compiler does not properly
   3777     # handle `-M -o', and we need to detect this.
   3778     if depmode=$depmode \
   3779        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3780        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3781        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3782          >/dev/null 2>conftest.err &&
   3783        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3784        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3785        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3786        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3787       # icc doesn't choke on unknown options, it will just issue warnings
   3788       # or remarks (even with -Werror).  So we grep stderr for any message
   3789       # that says an option was ignored or not supported.
   3790       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3791       #   icc: Command line warning: ignoring option '-M'; no argument required
   3792       # The diagnosis changed in icc 8.0:
   3793       #   icc: Command line remark: option '-MP' not supported
   3794       if (grep 'ignoring option' conftest.err ||
   3795           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3796         am_cv_CC_dependencies_compiler_type=$depmode
   3797         break
   3798       fi
   3799     fi
   3800   done
   3801 
   3802   cd ..
   3803   rm -rf conftest.dir
   3804 else
   3805   am_cv_CC_dependencies_compiler_type=none
   3806 fi
   3807 
   3808 fi
   3809 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3810 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3811 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3812 
   3813  if
   3814   test "x$enable_dependency_tracking" != xno \
   3815   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3816   am__fastdepCC_TRUE=
   3817   am__fastdepCC_FALSE='#'
   3818 else
   3819   am__fastdepCC_TRUE='#'
   3820   am__fastdepCC_FALSE=
   3821 fi
   3822 
   3823 
   3824    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   3825 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3826 if test "${ac_cv_prog_cc_c99+set}" = set; then
   3827   $as_echo_n "(cached) " >&6
   3828 else
   3829   ac_cv_prog_cc_c99=no
   3830 ac_save_CC=$CC
   3831 cat >conftest.$ac_ext <<_ACEOF
   3832 /* confdefs.h.  */
   3833 _ACEOF
   3834 cat confdefs.h >>conftest.$ac_ext
   3835 cat >>conftest.$ac_ext <<_ACEOF
   3836 /* end confdefs.h.  */
   3837 #include <stdarg.h>
   3838 #include <stdbool.h>
   3839 #include <stdlib.h>
   3840 #include <wchar.h>
   3841 #include <stdio.h>
   3842 
   3843 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3844 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3845 #define showlist(...) puts (#__VA_ARGS__)
   3846 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3847 static void
   3848 test_varargs_macros (void)
   3849 {
   3850   int x = 1234;
   3851   int y = 5678;
   3852   debug ("Flag");
   3853   debug ("X = %d\n", x);
   3854   showlist (The first, second, and third items.);
   3855   report (x>y, "x is %d but y is %d", x, y);
   3856 }
   3857 
   3858 // Check long long types.
   3859 #define BIG64 18446744073709551615ull
   3860 #define BIG32 4294967295ul
   3861 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3862 #if !BIG_OK
   3863   your preprocessor is broken;
   3864 #endif
   3865 #if BIG_OK
   3866 #else
   3867   your preprocessor is broken;
   3868 #endif
   3869 static long long int bignum = -9223372036854775807LL;
   3870 static unsigned long long int ubignum = BIG64;
   3871 
   3872 struct incomplete_array
   3873 {
   3874   int datasize;
   3875   double data[];
   3876 };
   3877 
   3878 struct named_init {
   3879   int number;
   3880   const wchar_t *name;
   3881   double average;
   3882 };
   3883 
   3884 typedef const char *ccp;
   3885 
   3886 static inline int
   3887 test_restrict (ccp restrict text)
   3888 {
   3889   // See if C++-style comments work.
   3890   // Iterate through items via the restricted pointer.
   3891   // Also check for declarations in for loops.
   3892   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3893     continue;
   3894   return 0;
   3895 }
   3896 
   3897 // Check varargs and va_copy.
   3898 static void
   3899 test_varargs (const char *format, ...)
   3900 {
   3901   va_list args;
   3902   va_start (args, format);
   3903   va_list args_copy;
   3904   va_copy (args_copy, args);
   3905 
   3906   const char *str;
   3907   int number;
   3908   float fnumber;
   3909 
   3910   while (*format)
   3911     {
   3912       switch (*format++)
   3913 	{
   3914 	case 's': // string
   3915 	  str = va_arg (args_copy, const char *);
   3916 	  break;
   3917 	case 'd': // int
   3918 	  number = va_arg (args_copy, int);
   3919 	  break;
   3920 	case 'f': // float
   3921 	  fnumber = va_arg (args_copy, double);
   3922 	  break;
   3923 	default:
   3924 	  break;
   3925 	}
   3926     }
   3927   va_end (args_copy);
   3928   va_end (args);
   3929 }
   3930 
   3931 int
   3932 main ()
   3933 {
   3934 
   3935   // Check bool.
   3936   _Bool success = false;
   3937 
   3938   // Check restrict.
   3939   if (test_restrict ("String literal") == 0)
   3940     success = true;
   3941   char *restrict newvar = "Another string";
   3942 
   3943   // Check varargs.
   3944   test_varargs ("s, d' f .", "string", 65, 34.234);
   3945   test_varargs_macros ();
   3946 
   3947   // Check flexible array members.
   3948   struct incomplete_array *ia =
   3949     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3950   ia->datasize = 10;
   3951   for (int i = 0; i < ia->datasize; ++i)
   3952     ia->data[i] = i * 1.234;
   3953 
   3954   // Check named initializers.
   3955   struct named_init ni = {
   3956     .number = 34,
   3957     .name = L"Test wide string",
   3958     .average = 543.34343,
   3959   };
   3960 
   3961   ni.number = 58;
   3962 
   3963   int dynamic_array[ni.number];
   3964   dynamic_array[ni.number - 1] = 543;
   3965 
   3966   // work around unused variable warnings
   3967   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3968 	  || dynamic_array[ni.number - 1] != 543);
   3969 
   3970   ;
   3971   return 0;
   3972 }
   3973 _ACEOF
   3974 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3975 do
   3976   CC="$ac_save_CC $ac_arg"
   3977   rm -f conftest.$ac_objext
   3978 if { (ac_try="$ac_compile"
   3979 case "(($ac_try" in
   3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3981   *) ac_try_echo=$ac_try;;
   3982 esac
   3983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3984 $as_echo "$ac_try_echo") >&5
   3985   (eval "$ac_compile") 2>conftest.er1
   3986   ac_status=$?
   3987   grep -v '^ *+' conftest.er1 >conftest.err
   3988   rm -f conftest.er1
   3989   cat conftest.err >&5
   3990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3991   (exit $ac_status); } && {
   3992 	 test -z "$ac_c_werror_flag" ||
   3993 	 test ! -s conftest.err
   3994        } && test -s conftest.$ac_objext; then
   3995   ac_cv_prog_cc_c99=$ac_arg
   3996 else
   3997   $as_echo "$as_me: failed program was:" >&5
   3998 sed 's/^/| /' conftest.$ac_ext >&5
   3999 
   4000 
   4001 fi
   4002 
   4003 rm -f core conftest.err conftest.$ac_objext
   4004   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4005 done
   4006 rm -f conftest.$ac_ext
   4007 CC=$ac_save_CC
   4008 
   4009 fi
   4010 # AC_CACHE_VAL
   4011 case "x$ac_cv_prog_cc_c99" in
   4012   x)
   4013     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   4014 $as_echo "none needed" >&6; } ;;
   4015   xno)
   4016     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   4017 $as_echo "unsupported" >&6; } ;;
   4018   *)
   4019     CC="$CC $ac_cv_prog_cc_c99"
   4020     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   4021 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4022 esac
   4023 
   4024 
   4025 
   4026 
   4027 ac_ext=c
   4028 ac_cpp='$CPP $CPPFLAGS'
   4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4032 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4033 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4034 # On Suns, sometimes $CPP names a directory.
   4035 if test -n "$CPP" && test -d "$CPP"; then
   4036   CPP=
   4037 fi
   4038 if test -z "$CPP"; then
   4039   if test "${ac_cv_prog_CPP+set}" = set; then
   4040   $as_echo_n "(cached) " >&6
   4041 else
   4042       # Double quotes because CPP needs to be expanded
   4043     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4044     do
   4045       ac_preproc_ok=false
   4046 for ac_c_preproc_warn_flag in '' yes
   4047 do
   4048   # Use a header file that comes with gcc, so configuring glibc
   4049   # with a fresh cross-compiler works.
   4050   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4051   # <limits.h> exists even on freestanding compilers.
   4052   # On the NeXT, cc -E runs the code through the compiler's parser,
   4053   # not just through cpp. "Syntax error" is here to catch this case.
   4054   cat >conftest.$ac_ext <<_ACEOF
   4055 /* confdefs.h.  */
   4056 _ACEOF
   4057 cat confdefs.h >>conftest.$ac_ext
   4058 cat >>conftest.$ac_ext <<_ACEOF
   4059 /* end confdefs.h.  */
   4060 #ifdef __STDC__
   4061 # include <limits.h>
   4062 #else
   4063 # include <assert.h>
   4064 #endif
   4065 		     Syntax error
   4066 _ACEOF
   4067 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4068 case "(($ac_try" in
   4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4070   *) ac_try_echo=$ac_try;;
   4071 esac
   4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4073 $as_echo "$ac_try_echo") >&5
   4074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4075   ac_status=$?
   4076   grep -v '^ *+' conftest.er1 >conftest.err
   4077   rm -f conftest.er1
   4078   cat conftest.err >&5
   4079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4080   (exit $ac_status); } >/dev/null && {
   4081 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4082 	 test ! -s conftest.err
   4083        }; then
   4084   :
   4085 else
   4086   $as_echo "$as_me: failed program was:" >&5
   4087 sed 's/^/| /' conftest.$ac_ext >&5
   4088 
   4089   # Broken: fails on valid input.
   4090 continue
   4091 fi
   4092 
   4093 rm -f conftest.err conftest.$ac_ext
   4094 
   4095   # OK, works on sane cases.  Now check whether nonexistent headers
   4096   # can be detected and how.
   4097   cat >conftest.$ac_ext <<_ACEOF
   4098 /* confdefs.h.  */
   4099 _ACEOF
   4100 cat confdefs.h >>conftest.$ac_ext
   4101 cat >>conftest.$ac_ext <<_ACEOF
   4102 /* end confdefs.h.  */
   4103 #include <ac_nonexistent.h>
   4104 _ACEOF
   4105 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4106 case "(($ac_try" in
   4107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4108   *) ac_try_echo=$ac_try;;
   4109 esac
   4110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4111 $as_echo "$ac_try_echo") >&5
   4112   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4113   ac_status=$?
   4114   grep -v '^ *+' conftest.er1 >conftest.err
   4115   rm -f conftest.er1
   4116   cat conftest.err >&5
   4117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4118   (exit $ac_status); } >/dev/null && {
   4119 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4120 	 test ! -s conftest.err
   4121        }; then
   4122   # Broken: success on invalid input.
   4123 continue
   4124 else
   4125   $as_echo "$as_me: failed program was:" >&5
   4126 sed 's/^/| /' conftest.$ac_ext >&5
   4127 
   4128   # Passes both tests.
   4129 ac_preproc_ok=:
   4130 break
   4131 fi
   4132 
   4133 rm -f conftest.err conftest.$ac_ext
   4134 
   4135 done
   4136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4137 rm -f conftest.err conftest.$ac_ext
   4138 if $ac_preproc_ok; then
   4139   break
   4140 fi
   4141 
   4142     done
   4143     ac_cv_prog_CPP=$CPP
   4144 
   4145 fi
   4146   CPP=$ac_cv_prog_CPP
   4147 else
   4148   ac_cv_prog_CPP=$CPP
   4149 fi
   4150 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4151 $as_echo "$CPP" >&6; }
   4152 ac_preproc_ok=false
   4153 for ac_c_preproc_warn_flag in '' yes
   4154 do
   4155   # Use a header file that comes with gcc, so configuring glibc
   4156   # with a fresh cross-compiler works.
   4157   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4158   # <limits.h> exists even on freestanding compilers.
   4159   # On the NeXT, cc -E runs the code through the compiler's parser,
   4160   # not just through cpp. "Syntax error" is here to catch this case.
   4161   cat >conftest.$ac_ext <<_ACEOF
   4162 /* confdefs.h.  */
   4163 _ACEOF
   4164 cat confdefs.h >>conftest.$ac_ext
   4165 cat >>conftest.$ac_ext <<_ACEOF
   4166 /* end confdefs.h.  */
   4167 #ifdef __STDC__
   4168 # include <limits.h>
   4169 #else
   4170 # include <assert.h>
   4171 #endif
   4172 		     Syntax error
   4173 _ACEOF
   4174 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4175 case "(($ac_try" in
   4176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4177   *) ac_try_echo=$ac_try;;
   4178 esac
   4179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4180 $as_echo "$ac_try_echo") >&5
   4181   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4182   ac_status=$?
   4183   grep -v '^ *+' conftest.er1 >conftest.err
   4184   rm -f conftest.er1
   4185   cat conftest.err >&5
   4186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4187   (exit $ac_status); } >/dev/null && {
   4188 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4189 	 test ! -s conftest.err
   4190        }; then
   4191   :
   4192 else
   4193   $as_echo "$as_me: failed program was:" >&5
   4194 sed 's/^/| /' conftest.$ac_ext >&5
   4195 
   4196   # Broken: fails on valid input.
   4197 continue
   4198 fi
   4199 
   4200 rm -f conftest.err conftest.$ac_ext
   4201 
   4202   # OK, works on sane cases.  Now check whether nonexistent headers
   4203   # can be detected and how.
   4204   cat >conftest.$ac_ext <<_ACEOF
   4205 /* confdefs.h.  */
   4206 _ACEOF
   4207 cat confdefs.h >>conftest.$ac_ext
   4208 cat >>conftest.$ac_ext <<_ACEOF
   4209 /* end confdefs.h.  */
   4210 #include <ac_nonexistent.h>
   4211 _ACEOF
   4212 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4213 case "(($ac_try" in
   4214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4215   *) ac_try_echo=$ac_try;;
   4216 esac
   4217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4218 $as_echo "$ac_try_echo") >&5
   4219   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4220   ac_status=$?
   4221   grep -v '^ *+' conftest.er1 >conftest.err
   4222   rm -f conftest.er1
   4223   cat conftest.err >&5
   4224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4225   (exit $ac_status); } >/dev/null && {
   4226 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4227 	 test ! -s conftest.err
   4228        }; then
   4229   # Broken: success on invalid input.
   4230 continue
   4231 else
   4232   $as_echo "$as_me: failed program was:" >&5
   4233 sed 's/^/| /' conftest.$ac_ext >&5
   4234 
   4235   # Passes both tests.
   4236 ac_preproc_ok=:
   4237 break
   4238 fi
   4239 
   4240 rm -f conftest.err conftest.$ac_ext
   4241 
   4242 done
   4243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4244 rm -f conftest.err conftest.$ac_ext
   4245 if $ac_preproc_ok; then
   4246   :
   4247 else
   4248   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4250 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4251 See \`config.log' for more details." >&5
   4252 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4253 See \`config.log' for more details." >&2;}
   4254    { (exit 1); exit 1; }; }; }
   4255 fi
   4256 
   4257 ac_ext=c
   4258 ac_cpp='$CPP $CPPFLAGS'
   4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4262 
   4263 
   4264 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4265 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4266 if test "${ac_cv_path_GREP+set}" = set; then
   4267   $as_echo_n "(cached) " >&6
   4268 else
   4269   if test -z "$GREP"; then
   4270   ac_path_GREP_found=false
   4271   # Loop through the user's path and test for each of PROGNAME-LIST
   4272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4273 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4274 do
   4275   IFS=$as_save_IFS
   4276   test -z "$as_dir" && as_dir=.
   4277   for ac_prog in grep ggrep; do
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4280       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4281 # Check for GNU ac_path_GREP and select it if it is found.
   4282   # Check for GNU $ac_path_GREP
   4283 case `"$ac_path_GREP" --version 2>&1` in
   4284 *GNU*)
   4285   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4286 *)
   4287   ac_count=0
   4288   $as_echo_n 0123456789 >"conftest.in"
   4289   while :
   4290   do
   4291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4292     mv "conftest.tmp" "conftest.in"
   4293     cp "conftest.in" "conftest.nl"
   4294     $as_echo 'GREP' >> "conftest.nl"
   4295     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4297     ac_count=`expr $ac_count + 1`
   4298     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4299       # Best one so far, save it but keep looking for a better one
   4300       ac_cv_path_GREP="$ac_path_GREP"
   4301       ac_path_GREP_max=$ac_count
   4302     fi
   4303     # 10*(2^10) chars as input seems more than enough
   4304     test $ac_count -gt 10 && break
   4305   done
   4306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4307 esac
   4308 
   4309       $ac_path_GREP_found && break 3
   4310     done
   4311   done
   4312 done
   4313 IFS=$as_save_IFS
   4314   if test -z "$ac_cv_path_GREP"; then
   4315     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4316 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4317    { (exit 1); exit 1; }; }
   4318   fi
   4319 else
   4320   ac_cv_path_GREP=$GREP
   4321 fi
   4322 
   4323 fi
   4324 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4325 $as_echo "$ac_cv_path_GREP" >&6; }
   4326  GREP="$ac_cv_path_GREP"
   4327 
   4328 
   4329 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4330 $as_echo_n "checking for egrep... " >&6; }
   4331 if test "${ac_cv_path_EGREP+set}" = set; then
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4335    then ac_cv_path_EGREP="$GREP -E"
   4336    else
   4337      if test -z "$EGREP"; then
   4338   ac_path_EGREP_found=false
   4339   # Loop through the user's path and test for each of PROGNAME-LIST
   4340   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4342 do
   4343   IFS=$as_save_IFS
   4344   test -z "$as_dir" && as_dir=.
   4345   for ac_prog in egrep; do
   4346     for ac_exec_ext in '' $ac_executable_extensions; do
   4347       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4348       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4349 # Check for GNU ac_path_EGREP and select it if it is found.
   4350   # Check for GNU $ac_path_EGREP
   4351 case `"$ac_path_EGREP" --version 2>&1` in
   4352 *GNU*)
   4353   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4354 *)
   4355   ac_count=0
   4356   $as_echo_n 0123456789 >"conftest.in"
   4357   while :
   4358   do
   4359     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4360     mv "conftest.tmp" "conftest.in"
   4361     cp "conftest.in" "conftest.nl"
   4362     $as_echo 'EGREP' >> "conftest.nl"
   4363     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4364     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4365     ac_count=`expr $ac_count + 1`
   4366     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4367       # Best one so far, save it but keep looking for a better one
   4368       ac_cv_path_EGREP="$ac_path_EGREP"
   4369       ac_path_EGREP_max=$ac_count
   4370     fi
   4371     # 10*(2^10) chars as input seems more than enough
   4372     test $ac_count -gt 10 && break
   4373   done
   4374   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4375 esac
   4376 
   4377       $ac_path_EGREP_found && break 3
   4378     done
   4379   done
   4380 done
   4381 IFS=$as_save_IFS
   4382   if test -z "$ac_cv_path_EGREP"; then
   4383     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4384 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4385    { (exit 1); exit 1; }; }
   4386   fi
   4387 else
   4388   ac_cv_path_EGREP=$EGREP
   4389 fi
   4390 
   4391    fi
   4392 fi
   4393 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4394 $as_echo "$ac_cv_path_EGREP" >&6; }
   4395  EGREP="$ac_cv_path_EGREP"
   4396 
   4397 
   4398 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4399 $as_echo_n "checking for ANSI C header files... " >&6; }
   4400 if test "${ac_cv_header_stdc+set}" = set; then
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   cat >conftest.$ac_ext <<_ACEOF
   4404 /* confdefs.h.  */
   4405 _ACEOF
   4406 cat confdefs.h >>conftest.$ac_ext
   4407 cat >>conftest.$ac_ext <<_ACEOF
   4408 /* end confdefs.h.  */
   4409 #include <stdlib.h>
   4410 #include <stdarg.h>
   4411 #include <string.h>
   4412 #include <float.h>
   4413 
   4414 int
   4415 main ()
   4416 {
   4417 
   4418   ;
   4419   return 0;
   4420 }
   4421 _ACEOF
   4422 rm -f conftest.$ac_objext
   4423 if { (ac_try="$ac_compile"
   4424 case "(($ac_try" in
   4425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4426   *) ac_try_echo=$ac_try;;
   4427 esac
   4428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4429 $as_echo "$ac_try_echo") >&5
   4430   (eval "$ac_compile") 2>conftest.er1
   4431   ac_status=$?
   4432   grep -v '^ *+' conftest.er1 >conftest.err
   4433   rm -f conftest.er1
   4434   cat conftest.err >&5
   4435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4436   (exit $ac_status); } && {
   4437 	 test -z "$ac_c_werror_flag" ||
   4438 	 test ! -s conftest.err
   4439        } && test -s conftest.$ac_objext; then
   4440   ac_cv_header_stdc=yes
   4441 else
   4442   $as_echo "$as_me: failed program was:" >&5
   4443 sed 's/^/| /' conftest.$ac_ext >&5
   4444 
   4445 	ac_cv_header_stdc=no
   4446 fi
   4447 
   4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4449 
   4450 if test $ac_cv_header_stdc = yes; then
   4451   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4452   cat >conftest.$ac_ext <<_ACEOF
   4453 /* confdefs.h.  */
   4454 _ACEOF
   4455 cat confdefs.h >>conftest.$ac_ext
   4456 cat >>conftest.$ac_ext <<_ACEOF
   4457 /* end confdefs.h.  */
   4458 #include <string.h>
   4459 
   4460 _ACEOF
   4461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4462   $EGREP "memchr" >/dev/null 2>&1; then
   4463   :
   4464 else
   4465   ac_cv_header_stdc=no
   4466 fi
   4467 rm -f conftest*
   4468 
   4469 fi
   4470 
   4471 if test $ac_cv_header_stdc = yes; then
   4472   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4473   cat >conftest.$ac_ext <<_ACEOF
   4474 /* confdefs.h.  */
   4475 _ACEOF
   4476 cat confdefs.h >>conftest.$ac_ext
   4477 cat >>conftest.$ac_ext <<_ACEOF
   4478 /* end confdefs.h.  */
   4479 #include <stdlib.h>
   4480 
   4481 _ACEOF
   4482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4483   $EGREP "free" >/dev/null 2>&1; then
   4484   :
   4485 else
   4486   ac_cv_header_stdc=no
   4487 fi
   4488 rm -f conftest*
   4489 
   4490 fi
   4491 
   4492 if test $ac_cv_header_stdc = yes; then
   4493   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4494   if test "$cross_compiling" = yes; then
   4495   :
   4496 else
   4497   cat >conftest.$ac_ext <<_ACEOF
   4498 /* confdefs.h.  */
   4499 _ACEOF
   4500 cat confdefs.h >>conftest.$ac_ext
   4501 cat >>conftest.$ac_ext <<_ACEOF
   4502 /* end confdefs.h.  */
   4503 #include <ctype.h>
   4504 #include <stdlib.h>
   4505 #if ((' ' & 0x0FF) == 0x020)
   4506 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4507 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4508 #else
   4509 # define ISLOWER(c) \
   4510 		   (('a' <= (c) && (c) <= 'i') \
   4511 		     || ('j' <= (c) && (c) <= 'r') \
   4512 		     || ('s' <= (c) && (c) <= 'z'))
   4513 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4514 #endif
   4515 
   4516 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4517 int
   4518 main ()
   4519 {
   4520   int i;
   4521   for (i = 0; i < 256; i++)
   4522     if (XOR (islower (i), ISLOWER (i))
   4523 	|| toupper (i) != TOUPPER (i))
   4524       return 2;
   4525   return 0;
   4526 }
   4527 _ACEOF
   4528 rm -f conftest$ac_exeext
   4529 if { (ac_try="$ac_link"
   4530 case "(($ac_try" in
   4531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4532   *) ac_try_echo=$ac_try;;
   4533 esac
   4534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4535 $as_echo "$ac_try_echo") >&5
   4536   (eval "$ac_link") 2>&5
   4537   ac_status=$?
   4538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4539   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4540   { (case "(($ac_try" in
   4541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4542   *) ac_try_echo=$ac_try;;
   4543 esac
   4544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4545 $as_echo "$ac_try_echo") >&5
   4546   (eval "$ac_try") 2>&5
   4547   ac_status=$?
   4548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4549   (exit $ac_status); }; }; then
   4550   :
   4551 else
   4552   $as_echo "$as_me: program exited with status $ac_status" >&5
   4553 $as_echo "$as_me: failed program was:" >&5
   4554 sed 's/^/| /' conftest.$ac_ext >&5
   4555 
   4556 ( exit $ac_status )
   4557 ac_cv_header_stdc=no
   4558 fi
   4559 rm -rf conftest.dSYM
   4560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4561 fi
   4562 
   4563 
   4564 fi
   4565 fi
   4566 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4567 $as_echo "$ac_cv_header_stdc" >&6; }
   4568 if test $ac_cv_header_stdc = yes; then
   4569 
   4570 cat >>confdefs.h <<\_ACEOF
   4571 #define STDC_HEADERS 1
   4572 _ACEOF
   4573 
   4574 fi
   4575 
   4576 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4587 		  inttypes.h stdint.h unistd.h
   4588 do
   4589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4590 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   4591 $as_echo_n "checking for $ac_header... " >&6; }
   4592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   4593   $as_echo_n "(cached) " >&6
   4594 else
   4595   cat >conftest.$ac_ext <<_ACEOF
   4596 /* confdefs.h.  */
   4597 _ACEOF
   4598 cat confdefs.h >>conftest.$ac_ext
   4599 cat >>conftest.$ac_ext <<_ACEOF
   4600 /* end confdefs.h.  */
   4601 $ac_includes_default
   4602 
   4603 #include <$ac_header>
   4604 _ACEOF
   4605 rm -f conftest.$ac_objext
   4606 if { (ac_try="$ac_compile"
   4607 case "(($ac_try" in
   4608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4609   *) ac_try_echo=$ac_try;;
   4610 esac
   4611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4612 $as_echo "$ac_try_echo") >&5
   4613   (eval "$ac_compile") 2>conftest.er1
   4614   ac_status=$?
   4615   grep -v '^ *+' conftest.er1 >conftest.err
   4616   rm -f conftest.er1
   4617   cat conftest.err >&5
   4618   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4619   (exit $ac_status); } && {
   4620 	 test -z "$ac_c_werror_flag" ||
   4621 	 test ! -s conftest.err
   4622        } && test -s conftest.$ac_objext; then
   4623   eval "$as_ac_Header=yes"
   4624 else
   4625   $as_echo "$as_me: failed program was:" >&5
   4626 sed 's/^/| /' conftest.$ac_ext >&5
   4627 
   4628 	eval "$as_ac_Header=no"
   4629 fi
   4630 
   4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4632 fi
   4633 ac_res=`eval 'as_val=${'$as_ac_Header'}
   4634 		 $as_echo "$as_val"'`
   4635 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   4636 $as_echo "$ac_res" >&6; }
   4637 as_val=`eval 'as_val=${'$as_ac_Header'}
   4638 		 $as_echo "$as_val"'`
   4639    if test "x$as_val" = x""yes; then
   4640   cat >>confdefs.h <<_ACEOF
   4641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4642 _ACEOF
   4643 
   4644 fi
   4645 
   4646 done
   4647 
   4648 
   4649 
   4650 
   4651 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4652 	if test -n "$ac_tool_prefix"; then
   4653   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4654 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4656 $as_echo_n "checking for $ac_word... " >&6; }
   4657 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   4658   $as_echo_n "(cached) " >&6
   4659 else
   4660   case $PKG_CONFIG in
   4661   [\\/]* | ?:[\\/]*)
   4662   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4663   ;;
   4664   *)
   4665   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4666 for as_dir in $PATH
   4667 do
   4668   IFS=$as_save_IFS
   4669   test -z "$as_dir" && as_dir=.
   4670   for ac_exec_ext in '' $ac_executable_extensions; do
   4671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4672     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4673     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4674     break 2
   4675   fi
   4676 done
   4677 done
   4678 IFS=$as_save_IFS
   4679 
   4680   ;;
   4681 esac
   4682 fi
   4683 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4684 if test -n "$PKG_CONFIG"; then
   4685   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   4686 $as_echo "$PKG_CONFIG" >&6; }
   4687 else
   4688   { $as_echo "$as_me:$LINENO: result: no" >&5
   4689 $as_echo "no" >&6; }
   4690 fi
   4691 
   4692 
   4693 fi
   4694 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4695   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4696   # Extract the first word of "pkg-config", so it can be a program name with args.
   4697 set dummy pkg-config; ac_word=$2
   4698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4699 $as_echo_n "checking for $ac_word... " >&6; }
   4700 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   4701   $as_echo_n "(cached) " >&6
   4702 else
   4703   case $ac_pt_PKG_CONFIG in
   4704   [\\/]* | ?:[\\/]*)
   4705   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4706   ;;
   4707   *)
   4708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4709 for as_dir in $PATH
   4710 do
   4711   IFS=$as_save_IFS
   4712   test -z "$as_dir" && as_dir=.
   4713   for ac_exec_ext in '' $ac_executable_extensions; do
   4714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4715     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4716     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4717     break 2
   4718   fi
   4719 done
   4720 done
   4721 IFS=$as_save_IFS
   4722 
   4723   ;;
   4724 esac
   4725 fi
   4726 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4727 if test -n "$ac_pt_PKG_CONFIG"; then
   4728   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   4729 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4730 else
   4731   { $as_echo "$as_me:$LINENO: result: no" >&5
   4732 $as_echo "no" >&6; }
   4733 fi
   4734 
   4735   if test "x$ac_pt_PKG_CONFIG" = x; then
   4736     PKG_CONFIG=""
   4737   else
   4738     case $cross_compiling:$ac_tool_warned in
   4739 yes:)
   4740 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4742 ac_tool_warned=yes ;;
   4743 esac
   4744     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4745   fi
   4746 else
   4747   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4748 fi
   4749 
   4750 fi
   4751 if test -n "$PKG_CONFIG"; then
   4752 	_pkg_min_version=0.9.0
   4753 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   4754 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4755 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4756 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   4757 $as_echo "yes" >&6; }
   4758 	else
   4759 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   4760 $as_echo "no" >&6; }
   4761 		PKG_CONFIG=""
   4762 	fi
   4763 
   4764 fi
   4765 # Make sure we can run config.sub.
   4766 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4767   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   4768 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   4769    { (exit 1); exit 1; }; }
   4770 
   4771 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   4772 $as_echo_n "checking build system type... " >&6; }
   4773 if test "${ac_cv_build+set}" = set; then
   4774   $as_echo_n "(cached) " >&6
   4775 else
   4776   ac_build_alias=$build_alias
   4777 test "x$ac_build_alias" = x &&
   4778   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4779 test "x$ac_build_alias" = x &&
   4780   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   4781 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   4782    { (exit 1); exit 1; }; }
   4783 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4784   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   4785 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   4786    { (exit 1); exit 1; }; }
   4787 
   4788 fi
   4789 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   4790 $as_echo "$ac_cv_build" >&6; }
   4791 case $ac_cv_build in
   4792 *-*-*) ;;
   4793 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   4794 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   4795    { (exit 1); exit 1; }; };;
   4796 esac
   4797 build=$ac_cv_build
   4798 ac_save_IFS=$IFS; IFS='-'
   4799 set x $ac_cv_build
   4800 shift
   4801 build_cpu=$1
   4802 build_vendor=$2
   4803 shift; shift
   4804 # Remember, the first character of IFS is used to create $*,
   4805 # except with old shells:
   4806 build_os=$*
   4807 IFS=$ac_save_IFS
   4808 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4809 
   4810 
   4811 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   4812 $as_echo_n "checking host system type... " >&6; }
   4813 if test "${ac_cv_host+set}" = set; then
   4814   $as_echo_n "(cached) " >&6
   4815 else
   4816   if test "x$host_alias" = x; then
   4817   ac_cv_host=$ac_cv_build
   4818 else
   4819   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4820     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   4821 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   4822    { (exit 1); exit 1; }; }
   4823 fi
   4824 
   4825 fi
   4826 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   4827 $as_echo "$ac_cv_host" >&6; }
   4828 case $ac_cv_host in
   4829 *-*-*) ;;
   4830 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   4831 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   4832    { (exit 1); exit 1; }; };;
   4833 esac
   4834 host=$ac_cv_host
   4835 ac_save_IFS=$IFS; IFS='-'
   4836 set x $ac_cv_host
   4837 shift
   4838 host_cpu=$1
   4839 host_vendor=$2
   4840 shift; shift
   4841 # Remember, the first character of IFS is used to create $*,
   4842 # except with old shells:
   4843 host_os=$*
   4844 IFS=$ac_save_IFS
   4845 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4846 
   4847 
   4848 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4849 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4850 if test "${ac_cv_path_SED+set}" = set; then
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4854      for ac_i in 1 2 3 4 5 6 7; do
   4855        ac_script="$ac_script$as_nl$ac_script"
   4856      done
   4857      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4858      $as_unset ac_script || ac_script=
   4859      if test -z "$SED"; then
   4860   ac_path_SED_found=false
   4861   # Loop through the user's path and test for each of PROGNAME-LIST
   4862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4863 for as_dir in $PATH
   4864 do
   4865   IFS=$as_save_IFS
   4866   test -z "$as_dir" && as_dir=.
   4867   for ac_prog in sed gsed; do
   4868     for ac_exec_ext in '' $ac_executable_extensions; do
   4869       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4870       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4871 # Check for GNU ac_path_SED and select it if it is found.
   4872   # Check for GNU $ac_path_SED
   4873 case `"$ac_path_SED" --version 2>&1` in
   4874 *GNU*)
   4875   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4876 *)
   4877   ac_count=0
   4878   $as_echo_n 0123456789 >"conftest.in"
   4879   while :
   4880   do
   4881     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4882     mv "conftest.tmp" "conftest.in"
   4883     cp "conftest.in" "conftest.nl"
   4884     $as_echo '' >> "conftest.nl"
   4885     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4886     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4887     ac_count=`expr $ac_count + 1`
   4888     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4889       # Best one so far, save it but keep looking for a better one
   4890       ac_cv_path_SED="$ac_path_SED"
   4891       ac_path_SED_max=$ac_count
   4892     fi
   4893     # 10*(2^10) chars as input seems more than enough
   4894     test $ac_count -gt 10 && break
   4895   done
   4896   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4897 esac
   4898 
   4899       $ac_path_SED_found && break 3
   4900     done
   4901   done
   4902 done
   4903 IFS=$as_save_IFS
   4904   if test -z "$ac_cv_path_SED"; then
   4905     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   4906 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   4907    { (exit 1); exit 1; }; }
   4908   fi
   4909 else
   4910   ac_cv_path_SED=$SED
   4911 fi
   4912 
   4913 fi
   4914 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   4915 $as_echo "$ac_cv_path_SED" >&6; }
   4916  SED="$ac_cv_path_SED"
   4917   rm -f conftest.sed
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 if  test "x$GCC" = xyes ; then
   4924     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4925 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4926 -Wbad-function-cast -Wformat=2"
   4927     case `$CC -dumpversion` in
   4928     3.4.* | 4.*)
   4929 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4930 	;;
   4931     esac
   4932 else
   4933     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   4934 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   4935 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   4936   $as_echo_n "(cached) " >&6
   4937 else
   4938   cat >conftest.$ac_ext <<_ACEOF
   4939 /* confdefs.h.  */
   4940 _ACEOF
   4941 cat confdefs.h >>conftest.$ac_ext
   4942 cat >>conftest.$ac_ext <<_ACEOF
   4943 /* end confdefs.h.  */
   4944 $ac_includes_default
   4945 int
   4946 main ()
   4947 {
   4948 #ifndef __SUNPRO_C
   4949   (void) __SUNPRO_C;
   4950 #endif
   4951 
   4952   ;
   4953   return 0;
   4954 }
   4955 _ACEOF
   4956 rm -f conftest.$ac_objext
   4957 if { (ac_try="$ac_compile"
   4958 case "(($ac_try" in
   4959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4960   *) ac_try_echo=$ac_try;;
   4961 esac
   4962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4963 $as_echo "$ac_try_echo") >&5
   4964   (eval "$ac_compile") 2>conftest.er1
   4965   ac_status=$?
   4966   grep -v '^ *+' conftest.er1 >conftest.err
   4967   rm -f conftest.er1
   4968   cat conftest.err >&5
   4969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4970   (exit $ac_status); } && {
   4971 	 test -z "$ac_c_werror_flag" ||
   4972 	 test ! -s conftest.err
   4973        } && test -s conftest.$ac_objext; then
   4974   ac_cv_have_decl___SUNPRO_C=yes
   4975 else
   4976   $as_echo "$as_me: failed program was:" >&5
   4977 sed 's/^/| /' conftest.$ac_ext >&5
   4978 
   4979 	ac_cv_have_decl___SUNPRO_C=no
   4980 fi
   4981 
   4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4983 fi
   4984 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   4985 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   4986 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   4987   SUNCC="yes"
   4988 else
   4989   SUNCC="no"
   4990 fi
   4991 
   4992     if test "x$SUNCC" = "xyes"; then
   4993 	CWARNFLAGS="-v"
   4994     fi
   4995 fi
   4996 
   4997 
   4998 
   4999 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   5000 
   5001 
   5002 
   5003 # Check whether --enable-strict-compilation was given.
   5004 if test "${enable_strict_compilation+set}" = set; then
   5005   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   5006 else
   5007   STRICT_COMPILE=no
   5008 fi
   5009 
   5010 if test "x$STRICT_COMPILE" = "xyes"; then
   5011 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   5012 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   5013 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   cat >conftest.$ac_ext <<_ACEOF
   5017 /* confdefs.h.  */
   5018 _ACEOF
   5019 cat confdefs.h >>conftest.$ac_ext
   5020 cat >>conftest.$ac_ext <<_ACEOF
   5021 /* end confdefs.h.  */
   5022 $ac_includes_default
   5023 int
   5024 main ()
   5025 {
   5026 #ifndef __SUNPRO_C
   5027   (void) __SUNPRO_C;
   5028 #endif
   5029 
   5030   ;
   5031   return 0;
   5032 }
   5033 _ACEOF
   5034 rm -f conftest.$ac_objext
   5035 if { (ac_try="$ac_compile"
   5036 case "(($ac_try" in
   5037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5038   *) ac_try_echo=$ac_try;;
   5039 esac
   5040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5041 $as_echo "$ac_try_echo") >&5
   5042   (eval "$ac_compile") 2>conftest.er1
   5043   ac_status=$?
   5044   grep -v '^ *+' conftest.er1 >conftest.err
   5045   rm -f conftest.er1
   5046   cat conftest.err >&5
   5047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5048   (exit $ac_status); } && {
   5049 	 test -z "$ac_c_werror_flag" ||
   5050 	 test ! -s conftest.err
   5051        } && test -s conftest.$ac_objext; then
   5052   ac_cv_have_decl___SUNPRO_C=yes
   5053 else
   5054   $as_echo "$as_me: failed program was:" >&5
   5055 sed 's/^/| /' conftest.$ac_ext >&5
   5056 
   5057 	ac_cv_have_decl___SUNPRO_C=no
   5058 fi
   5059 
   5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5061 fi
   5062 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   5063 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   5064 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   5065   SUNCC="yes"
   5066 else
   5067   SUNCC="no"
   5068 fi
   5069 
   5070 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   5071 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   5072 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   5073   $as_echo_n "(cached) " >&6
   5074 else
   5075   cat >conftest.$ac_ext <<_ACEOF
   5076 /* confdefs.h.  */
   5077 _ACEOF
   5078 cat confdefs.h >>conftest.$ac_ext
   5079 cat >>conftest.$ac_ext <<_ACEOF
   5080 /* end confdefs.h.  */
   5081 $ac_includes_default
   5082 int
   5083 main ()
   5084 {
   5085 #ifndef __INTEL_COMPILER
   5086   (void) __INTEL_COMPILER;
   5087 #endif
   5088 
   5089   ;
   5090   return 0;
   5091 }
   5092 _ACEOF
   5093 rm -f conftest.$ac_objext
   5094 if { (ac_try="$ac_compile"
   5095 case "(($ac_try" in
   5096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5097   *) ac_try_echo=$ac_try;;
   5098 esac
   5099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5100 $as_echo "$ac_try_echo") >&5
   5101   (eval "$ac_compile") 2>conftest.er1
   5102   ac_status=$?
   5103   grep -v '^ *+' conftest.er1 >conftest.err
   5104   rm -f conftest.er1
   5105   cat conftest.err >&5
   5106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5107   (exit $ac_status); } && {
   5108 	 test -z "$ac_c_werror_flag" ||
   5109 	 test ! -s conftest.err
   5110        } && test -s conftest.$ac_objext; then
   5111   ac_cv_have_decl___INTEL_COMPILER=yes
   5112 else
   5113   $as_echo "$as_me: failed program was:" >&5
   5114 sed 's/^/| /' conftest.$ac_ext >&5
   5115 
   5116 	ac_cv_have_decl___INTEL_COMPILER=no
   5117 fi
   5118 
   5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5120 fi
   5121 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   5122 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   5123 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   5124   INTELCC="yes"
   5125 else
   5126   INTELCC="no"
   5127 fi
   5128 
   5129 	if test "x$GCC" = xyes ; then
   5130 		STRICT_CFLAGS="-pedantic -Werror"
   5131 	elif test "x$SUNCC" = "xyes"; then
   5132 		STRICT_CFLAGS="-errwarn"
   5133     elif test "x$INTELCC" = "xyes"; then
   5134 		STRICT_CFLAGS="-Werror"
   5135 	fi
   5136 fi
   5137 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   5138 
   5139 
   5140 
   5141 
   5142 cat >>confdefs.h <<_ACEOF
   5143 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   5144 _ACEOF
   5145 
   5146 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   5147 	if test "x$PVM" = "x"; then
   5148 		PVM="0"
   5149 	fi
   5150 
   5151 cat >>confdefs.h <<_ACEOF
   5152 #define PACKAGE_VERSION_MINOR $PVM
   5153 _ACEOF
   5154 
   5155 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   5156 	if test "x$PVP" = "x"; then
   5157 		PVP="0"
   5158 	fi
   5159 
   5160 cat >>confdefs.h <<_ACEOF
   5161 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   5162 _ACEOF
   5163 
   5164 
   5165 
   5166 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   5167 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   5168 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   5169 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   5170 
   5171 
   5172 
   5173 
   5174 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   5175 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   5176 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   5177 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   5178 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 if test x$APP_MAN_SUFFIX = x    ; then
   5186     APP_MAN_SUFFIX=1
   5187 fi
   5188 if test x$APP_MAN_DIR = x    ; then
   5189     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   5190 fi
   5191 
   5192 if test x$LIB_MAN_SUFFIX = x    ; then
   5193     LIB_MAN_SUFFIX=3
   5194 fi
   5195 if test x$LIB_MAN_DIR = x    ; then
   5196     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   5197 fi
   5198 
   5199 if test x$FILE_MAN_SUFFIX = x    ; then
   5200     case $host_os in
   5201 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   5202 	*)		FILE_MAN_SUFFIX=5  ;;
   5203     esac
   5204 fi
   5205 if test x$FILE_MAN_DIR = x    ; then
   5206     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   5207 fi
   5208 
   5209 if test x$MISC_MAN_SUFFIX = x    ; then
   5210     case $host_os in
   5211 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   5212 	*)		MISC_MAN_SUFFIX=7  ;;
   5213     esac
   5214 fi
   5215 if test x$MISC_MAN_DIR = x    ; then
   5216     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   5217 fi
   5218 
   5219 if test x$DRIVER_MAN_SUFFIX = x    ; then
   5220     case $host_os in
   5221 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   5222 	*)		DRIVER_MAN_SUFFIX=4  ;;
   5223     esac
   5224 fi
   5225 if test x$DRIVER_MAN_DIR = x    ; then
   5226     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   5227 fi
   5228 
   5229 if test x$ADMIN_MAN_SUFFIX = x    ; then
   5230     case $host_os in
   5231 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   5232 	*)		ADMIN_MAN_SUFFIX=8  ;;
   5233     esac
   5234 fi
   5235 if test x$ADMIN_MAN_DIR = x    ; then
   5236     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   5237 fi
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 XORG_MAN_PAGE="X Version 11"
   5254 
   5255 MAN_SUBSTS="\
   5256 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5257 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   5258 	-e 's|__xservername__|Xorg|g' \
   5259 	-e 's|__xconfigfile__|xorg.conf|g' \
   5260 	-e 's|__projectroot__|\$(prefix)|g' \
   5261 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   5262 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   5263 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   5264 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   5265 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   5266 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   5267 
   5268 
   5269 
   5270 AM_DEFAULT_VERBOSITY=1
   5271 
   5272 
   5273 
   5274 devel_default=
   5275 if test "x$devel_default" = x ; then
   5276   devel_default="yes"
   5277 fi
   5278 # Check whether --enable-devel-docs was given.
   5279 if test "${enable_devel_docs+set}" = set; then
   5280   enableval=$enable_devel_docs; build_devel_docs=$enableval
   5281 else
   5282   build_devel_docs=$devel_default
   5283 fi
   5284 
   5285  if test x$build_devel_docs = xyes; then
   5286   ENABLE_DEVEL_DOCS_TRUE=
   5287   ENABLE_DEVEL_DOCS_FALSE='#'
   5288 else
   5289   ENABLE_DEVEL_DOCS_TRUE='#'
   5290   ENABLE_DEVEL_DOCS_FALSE=
   5291 fi
   5292 
   5293 { $as_echo "$as_me:$LINENO: checking whether to build developer documentation" >&5
   5294 $as_echo_n "checking whether to build developer documentation... " >&6; }
   5295 { $as_echo "$as_me:$LINENO: result: $build_devel_docs" >&5
   5296 $as_echo "$build_devel_docs" >&6; }
   5297 
   5298 
   5299 
   5300 
   5301 # Check whether --with-xmlto was given.
   5302 if test "${with_xmlto+set}" = set; then
   5303   withval=$with_xmlto; use_xmlto=$withval
   5304 else
   5305   use_xmlto=auto
   5306 fi
   5307 
   5308 
   5309 if test "x$use_xmlto" = x"auto"; then
   5310    # Extract the first word of "xmlto", so it can be a program name with args.
   5311 set dummy xmlto; ac_word=$2
   5312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5313 $as_echo_n "checking for $ac_word... " >&6; }
   5314 if test "${ac_cv_path_XMLTO+set}" = set; then
   5315   $as_echo_n "(cached) " >&6
   5316 else
   5317   case $XMLTO in
   5318   [\\/]* | ?:[\\/]*)
   5319   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   5320   ;;
   5321   *)
   5322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5323 for as_dir in $PATH
   5324 do
   5325   IFS=$as_save_IFS
   5326   test -z "$as_dir" && as_dir=.
   5327   for ac_exec_ext in '' $ac_executable_extensions; do
   5328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5329     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   5330     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5331     break 2
   5332   fi
   5333 done
   5334 done
   5335 IFS=$as_save_IFS
   5336 
   5337   ;;
   5338 esac
   5339 fi
   5340 XMLTO=$ac_cv_path_XMLTO
   5341 if test -n "$XMLTO"; then
   5342   { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
   5343 $as_echo "$XMLTO" >&6; }
   5344 else
   5345   { $as_echo "$as_me:$LINENO: result: no" >&5
   5346 $as_echo "no" >&6; }
   5347 fi
   5348 
   5349 
   5350    if test "x$XMLTO" = "x"; then
   5351         { $as_echo "$as_me:$LINENO: WARNING: xmlto not found - documentation targets will be skipped" >&5
   5352 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   5353 	have_xmlto=no
   5354    else
   5355         have_xmlto=yes
   5356    fi
   5357 elif test "x$use_xmlto" = x"yes" ; then
   5358    # Extract the first word of "xmlto", so it can be a program name with args.
   5359 set dummy xmlto; ac_word=$2
   5360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5361 $as_echo_n "checking for $ac_word... " >&6; }
   5362 if test "${ac_cv_path_XMLTO+set}" = set; then
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   case $XMLTO in
   5366   [\\/]* | ?:[\\/]*)
   5367   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   5368   ;;
   5369   *)
   5370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5371 for as_dir in $PATH
   5372 do
   5373   IFS=$as_save_IFS
   5374   test -z "$as_dir" && as_dir=.
   5375   for ac_exec_ext in '' $ac_executable_extensions; do
   5376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5377     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   5378     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5379     break 2
   5380   fi
   5381 done
   5382 done
   5383 IFS=$as_save_IFS
   5384 
   5385   ;;
   5386 esac
   5387 fi
   5388 XMLTO=$ac_cv_path_XMLTO
   5389 if test -n "$XMLTO"; then
   5390   { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
   5391 $as_echo "$XMLTO" >&6; }
   5392 else
   5393   { $as_echo "$as_me:$LINENO: result: no" >&5
   5394 $as_echo "no" >&6; }
   5395 fi
   5396 
   5397 
   5398    if test "x$XMLTO" = "x"; then
   5399         { { $as_echo "$as_me:$LINENO: error: --with-xmlto=yes specified but xmlto not found in PATH" >&5
   5400 $as_echo "$as_me: error: --with-xmlto=yes specified but xmlto not found in PATH" >&2;}
   5401    { (exit 1); exit 1; }; }
   5402    fi
   5403    have_xmlto=yes
   5404 elif test "x$use_xmlto" = x"no" ; then
   5405    if test "x$XMLTO" != "x"; then
   5406       { $as_echo "$as_me:$LINENO: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   5407 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   5408    fi
   5409    have_xmlto=no
   5410 else
   5411    { { $as_echo "$as_me:$LINENO: error: --with-xmlto expects 'yes' or 'no'" >&5
   5412 $as_echo "$as_me: error: --with-xmlto expects 'yes' or 'no'" >&2;}
   5413    { (exit 1); exit 1; }; }
   5414 fi
   5415 if test "$have_xmlto" = yes; then
   5416     # scrape the xmlto version
   5417     { $as_echo "$as_me:$LINENO: checking the xmlto version" >&5
   5418 $as_echo_n "checking the xmlto version... " >&6; }
   5419     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   5420     { $as_echo "$as_me:$LINENO: result: $xmlto_version" >&5
   5421 $as_echo "$xmlto_version" >&6; }
   5422     as_arg_v1=$xmlto_version
   5423 as_arg_v2=0.0.20
   5424 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   5425 case $? in
   5426 1) if test "x$use_xmlto" = xauto; then
   5427             { $as_echo "$as_me:$LINENO: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   5428 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   5429             have_xmlto=no
   5430         else
   5431             { { $as_echo "$as_me:$LINENO: error: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   5432 $as_echo "$as_me: error: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   5433    { (exit 1); exit 1; }; }
   5434         fi;;
   5435 0) ;;
   5436 2) ;;
   5437 esac
   5438 fi
   5439  if test "$have_xmlto" = yes; then
   5440   HAVE_XMLTO_TRUE=
   5441   HAVE_XMLTO_FALSE='#'
   5442 else
   5443   HAVE_XMLTO_TRUE='#'
   5444   HAVE_XMLTO_FALSE=
   5445 fi
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 # Check whether --with-fop was given.
   5452 if test "${with_fop+set}" = set; then
   5453   withval=$with_fop; use_fop=$withval
   5454 else
   5455   use_fop=auto
   5456 fi
   5457 
   5458 
   5459 if test "x$use_fop" = x"auto"; then
   5460    # Extract the first word of "fop", so it can be a program name with args.
   5461 set dummy fop; ac_word=$2
   5462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5463 $as_echo_n "checking for $ac_word... " >&6; }
   5464 if test "${ac_cv_path_FOP+set}" = set; then
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   case $FOP in
   5468   [\\/]* | ?:[\\/]*)
   5469   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   5470   ;;
   5471   *)
   5472   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5473 for as_dir in $PATH
   5474 do
   5475   IFS=$as_save_IFS
   5476   test -z "$as_dir" && as_dir=.
   5477   for ac_exec_ext in '' $ac_executable_extensions; do
   5478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5479     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   5480     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5481     break 2
   5482   fi
   5483 done
   5484 done
   5485 IFS=$as_save_IFS
   5486 
   5487   ;;
   5488 esac
   5489 fi
   5490 FOP=$ac_cv_path_FOP
   5491 if test -n "$FOP"; then
   5492   { $as_echo "$as_me:$LINENO: result: $FOP" >&5
   5493 $as_echo "$FOP" >&6; }
   5494 else
   5495   { $as_echo "$as_me:$LINENO: result: no" >&5
   5496 $as_echo "no" >&6; }
   5497 fi
   5498 
   5499 
   5500    if test "x$FOP" = "x"; then
   5501         { $as_echo "$as_me:$LINENO: WARNING: fop not found - documentation targets will be skipped" >&5
   5502 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   5503 	have_fop=no
   5504    else
   5505         have_fop=yes
   5506    fi
   5507 elif test "x$use_fop" = x"yes" ; then
   5508    # Extract the first word of "fop", so it can be a program name with args.
   5509 set dummy fop; ac_word=$2
   5510 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5511 $as_echo_n "checking for $ac_word... " >&6; }
   5512 if test "${ac_cv_path_FOP+set}" = set; then
   5513   $as_echo_n "(cached) " >&6
   5514 else
   5515   case $FOP in
   5516   [\\/]* | ?:[\\/]*)
   5517   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   5518   ;;
   5519   *)
   5520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5521 for as_dir in $PATH
   5522 do
   5523   IFS=$as_save_IFS
   5524   test -z "$as_dir" && as_dir=.
   5525   for ac_exec_ext in '' $ac_executable_extensions; do
   5526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5527     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   5528     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5529     break 2
   5530   fi
   5531 done
   5532 done
   5533 IFS=$as_save_IFS
   5534 
   5535   ;;
   5536 esac
   5537 fi
   5538 FOP=$ac_cv_path_FOP
   5539 if test -n "$FOP"; then
   5540   { $as_echo "$as_me:$LINENO: result: $FOP" >&5
   5541 $as_echo "$FOP" >&6; }
   5542 else
   5543   { $as_echo "$as_me:$LINENO: result: no" >&5
   5544 $as_echo "no" >&6; }
   5545 fi
   5546 
   5547 
   5548    if test "x$FOP" = "x"; then
   5549         { { $as_echo "$as_me:$LINENO: error: --with-fop=yes specified but fop not found in PATH" >&5
   5550 $as_echo "$as_me: error: --with-fop=yes specified but fop not found in PATH" >&2;}
   5551    { (exit 1); exit 1; }; }
   5552    fi
   5553    have_fop=yes
   5554 elif test "x$use_fop" = x"no" ; then
   5555    if test "x$FOP" != "x"; then
   5556       { $as_echo "$as_me:$LINENO: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   5557 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   5558    fi
   5559    have_fop=no
   5560 else
   5561    { { $as_echo "$as_me:$LINENO: error: --with-fop expects 'yes' or 'no'" >&5
   5562 $as_echo "$as_me: error: --with-fop expects 'yes' or 'no'" >&2;}
   5563    { (exit 1); exit 1; }; }
   5564 fi
   5565  if test "$have_fop" = yes; then
   5566   HAVE_FOP_TRUE=
   5567   HAVE_FOP_FALSE='#'
   5568 else
   5569   HAVE_FOP_TRUE='#'
   5570   HAVE_FOP_FALSE=
   5571 fi
   5572 
   5573 
   5574 
   5575 # Check for progs
   5576 ac_ext=c
   5577 ac_cpp='$CPP $CPPFLAGS'
   5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5581 if test -n "$ac_tool_prefix"; then
   5582   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5583 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5584 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5585 $as_echo_n "checking for $ac_word... " >&6; }
   5586 if test "${ac_cv_prog_CC+set}" = set; then
   5587   $as_echo_n "(cached) " >&6
   5588 else
   5589   if test -n "$CC"; then
   5590   ac_cv_prog_CC="$CC" # Let the user override the test.
   5591 else
   5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5593 for as_dir in $PATH
   5594 do
   5595   IFS=$as_save_IFS
   5596   test -z "$as_dir" && as_dir=.
   5597   for ac_exec_ext in '' $ac_executable_extensions; do
   5598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5599     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   5600     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5601     break 2
   5602   fi
   5603 done
   5604 done
   5605 IFS=$as_save_IFS
   5606 
   5607 fi
   5608 fi
   5609 CC=$ac_cv_prog_CC
   5610 if test -n "$CC"; then
   5611   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   5612 $as_echo "$CC" >&6; }
   5613 else
   5614   { $as_echo "$as_me:$LINENO: result: no" >&5
   5615 $as_echo "no" >&6; }
   5616 fi
   5617 
   5618 
   5619 fi
   5620 if test -z "$ac_cv_prog_CC"; then
   5621   ac_ct_CC=$CC
   5622   # Extract the first word of "gcc", so it can be a program name with args.
   5623 set dummy gcc; ac_word=$2
   5624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5625 $as_echo_n "checking for $ac_word... " >&6; }
   5626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   if test -n "$ac_ct_CC"; then
   5630   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5631 else
   5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5633 for as_dir in $PATH
   5634 do
   5635   IFS=$as_save_IFS
   5636   test -z "$as_dir" && as_dir=.
   5637   for ac_exec_ext in '' $ac_executable_extensions; do
   5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5639     ac_cv_prog_ac_ct_CC="gcc"
   5640     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5641     break 2
   5642   fi
   5643 done
   5644 done
   5645 IFS=$as_save_IFS
   5646 
   5647 fi
   5648 fi
   5649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5650 if test -n "$ac_ct_CC"; then
   5651   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   5652 $as_echo "$ac_ct_CC" >&6; }
   5653 else
   5654   { $as_echo "$as_me:$LINENO: result: no" >&5
   5655 $as_echo "no" >&6; }
   5656 fi
   5657 
   5658   if test "x$ac_ct_CC" = x; then
   5659     CC=""
   5660   else
   5661     case $cross_compiling:$ac_tool_warned in
   5662 yes:)
   5663 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5665 ac_tool_warned=yes ;;
   5666 esac
   5667     CC=$ac_ct_CC
   5668   fi
   5669 else
   5670   CC="$ac_cv_prog_CC"
   5671 fi
   5672 
   5673 if test -z "$CC"; then
   5674           if test -n "$ac_tool_prefix"; then
   5675     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5676 set dummy ${ac_tool_prefix}cc; ac_word=$2
   5677 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5678 $as_echo_n "checking for $ac_word... " >&6; }
   5679 if test "${ac_cv_prog_CC+set}" = set; then
   5680   $as_echo_n "(cached) " >&6
   5681 else
   5682   if test -n "$CC"; then
   5683   ac_cv_prog_CC="$CC" # Let the user override the test.
   5684 else
   5685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5686 for as_dir in $PATH
   5687 do
   5688   IFS=$as_save_IFS
   5689   test -z "$as_dir" && as_dir=.
   5690   for ac_exec_ext in '' $ac_executable_extensions; do
   5691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5692     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5693     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5694     break 2
   5695   fi
   5696 done
   5697 done
   5698 IFS=$as_save_IFS
   5699 
   5700 fi
   5701 fi
   5702 CC=$ac_cv_prog_CC
   5703 if test -n "$CC"; then
   5704   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   5705 $as_echo "$CC" >&6; }
   5706 else
   5707   { $as_echo "$as_me:$LINENO: result: no" >&5
   5708 $as_echo "no" >&6; }
   5709 fi
   5710 
   5711 
   5712   fi
   5713 fi
   5714 if test -z "$CC"; then
   5715   # Extract the first word of "cc", so it can be a program name with args.
   5716 set dummy cc; ac_word=$2
   5717 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5718 $as_echo_n "checking for $ac_word... " >&6; }
   5719 if test "${ac_cv_prog_CC+set}" = set; then
   5720   $as_echo_n "(cached) " >&6
   5721 else
   5722   if test -n "$CC"; then
   5723   ac_cv_prog_CC="$CC" # Let the user override the test.
   5724 else
   5725   ac_prog_rejected=no
   5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5727 for as_dir in $PATH
   5728 do
   5729   IFS=$as_save_IFS
   5730   test -z "$as_dir" && as_dir=.
   5731   for ac_exec_ext in '' $ac_executable_extensions; do
   5732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5733     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5734        ac_prog_rejected=yes
   5735        continue
   5736      fi
   5737     ac_cv_prog_CC="cc"
   5738     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5739     break 2
   5740   fi
   5741 done
   5742 done
   5743 IFS=$as_save_IFS
   5744 
   5745 if test $ac_prog_rejected = yes; then
   5746   # We found a bogon in the path, so make sure we never use it.
   5747   set dummy $ac_cv_prog_CC
   5748   shift
   5749   if test $# != 0; then
   5750     # We chose a different compiler from the bogus one.
   5751     # However, it has the same basename, so the bogon will be chosen
   5752     # first if we set CC to just the basename; use the full file name.
   5753     shift
   5754     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   5755   fi
   5756 fi
   5757 fi
   5758 fi
   5759 CC=$ac_cv_prog_CC
   5760 if test -n "$CC"; then
   5761   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   5762 $as_echo "$CC" >&6; }
   5763 else
   5764   { $as_echo "$as_me:$LINENO: result: no" >&5
   5765 $as_echo "no" >&6; }
   5766 fi
   5767 
   5768 
   5769 fi
   5770 if test -z "$CC"; then
   5771   if test -n "$ac_tool_prefix"; then
   5772   for ac_prog in cl.exe
   5773   do
   5774     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5776 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5777 $as_echo_n "checking for $ac_word... " >&6; }
   5778 if test "${ac_cv_prog_CC+set}" = set; then
   5779   $as_echo_n "(cached) " >&6
   5780 else
   5781   if test -n "$CC"; then
   5782   ac_cv_prog_CC="$CC" # Let the user override the test.
   5783 else
   5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5785 for as_dir in $PATH
   5786 do
   5787   IFS=$as_save_IFS
   5788   test -z "$as_dir" && as_dir=.
   5789   for ac_exec_ext in '' $ac_executable_extensions; do
   5790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5791     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5792     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5793     break 2
   5794   fi
   5795 done
   5796 done
   5797 IFS=$as_save_IFS
   5798 
   5799 fi
   5800 fi
   5801 CC=$ac_cv_prog_CC
   5802 if test -n "$CC"; then
   5803   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   5804 $as_echo "$CC" >&6; }
   5805 else
   5806   { $as_echo "$as_me:$LINENO: result: no" >&5
   5807 $as_echo "no" >&6; }
   5808 fi
   5809 
   5810 
   5811     test -n "$CC" && break
   5812   done
   5813 fi
   5814 if test -z "$CC"; then
   5815   ac_ct_CC=$CC
   5816   for ac_prog in cl.exe
   5817 do
   5818   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5819 set dummy $ac_prog; ac_word=$2
   5820 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5821 $as_echo_n "checking for $ac_word... " >&6; }
   5822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   if test -n "$ac_ct_CC"; then
   5826   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5827 else
   5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5829 for as_dir in $PATH
   5830 do
   5831   IFS=$as_save_IFS
   5832   test -z "$as_dir" && as_dir=.
   5833   for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5835     ac_cv_prog_ac_ct_CC="$ac_prog"
   5836     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840 done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi
   5844 fi
   5845 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5846 if test -n "$ac_ct_CC"; then
   5847   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   5848 $as_echo "$ac_ct_CC" >&6; }
   5849 else
   5850   { $as_echo "$as_me:$LINENO: result: no" >&5
   5851 $as_echo "no" >&6; }
   5852 fi
   5853 
   5854 
   5855   test -n "$ac_ct_CC" && break
   5856 done
   5857 
   5858   if test "x$ac_ct_CC" = x; then
   5859     CC=""
   5860   else
   5861     case $cross_compiling:$ac_tool_warned in
   5862 yes:)
   5863 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5865 ac_tool_warned=yes ;;
   5866 esac
   5867     CC=$ac_ct_CC
   5868   fi
   5869 fi
   5870 
   5871 fi
   5872 
   5873 
   5874 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5876 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   5877 See \`config.log' for more details." >&5
   5878 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   5879 See \`config.log' for more details." >&2;}
   5880    { (exit 1); exit 1; }; }; }
   5881 
   5882 # Provide some information about the compiler.
   5883 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   5884 set X $ac_compile
   5885 ac_compiler=$2
   5886 { (ac_try="$ac_compiler --version >&5"
   5887 case "(($ac_try" in
   5888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5889   *) ac_try_echo=$ac_try;;
   5890 esac
   5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5892 $as_echo "$ac_try_echo") >&5
   5893   (eval "$ac_compiler --version >&5") 2>&5
   5894   ac_status=$?
   5895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5896   (exit $ac_status); }
   5897 { (ac_try="$ac_compiler -v >&5"
   5898 case "(($ac_try" in
   5899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5900   *) ac_try_echo=$ac_try;;
   5901 esac
   5902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5903 $as_echo "$ac_try_echo") >&5
   5904   (eval "$ac_compiler -v >&5") 2>&5
   5905   ac_status=$?
   5906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5907   (exit $ac_status); }
   5908 { (ac_try="$ac_compiler -V >&5"
   5909 case "(($ac_try" in
   5910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5911   *) ac_try_echo=$ac_try;;
   5912 esac
   5913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5914 $as_echo "$ac_try_echo") >&5
   5915   (eval "$ac_compiler -V >&5") 2>&5
   5916   ac_status=$?
   5917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5918   (exit $ac_status); }
   5919 
   5920 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   5921 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5922 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   cat >conftest.$ac_ext <<_ACEOF
   5926 /* confdefs.h.  */
   5927 _ACEOF
   5928 cat confdefs.h >>conftest.$ac_ext
   5929 cat >>conftest.$ac_ext <<_ACEOF
   5930 /* end confdefs.h.  */
   5931 
   5932 int
   5933 main ()
   5934 {
   5935 #ifndef __GNUC__
   5936        choke me
   5937 #endif
   5938 
   5939   ;
   5940   return 0;
   5941 }
   5942 _ACEOF
   5943 rm -f conftest.$ac_objext
   5944 if { (ac_try="$ac_compile"
   5945 case "(($ac_try" in
   5946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5947   *) ac_try_echo=$ac_try;;
   5948 esac
   5949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5950 $as_echo "$ac_try_echo") >&5
   5951   (eval "$ac_compile") 2>conftest.er1
   5952   ac_status=$?
   5953   grep -v '^ *+' conftest.er1 >conftest.err
   5954   rm -f conftest.er1
   5955   cat conftest.err >&5
   5956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5957   (exit $ac_status); } && {
   5958 	 test -z "$ac_c_werror_flag" ||
   5959 	 test ! -s conftest.err
   5960        } && test -s conftest.$ac_objext; then
   5961   ac_compiler_gnu=yes
   5962 else
   5963   $as_echo "$as_me: failed program was:" >&5
   5964 sed 's/^/| /' conftest.$ac_ext >&5
   5965 
   5966 	ac_compiler_gnu=no
   5967 fi
   5968 
   5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5970 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5971 
   5972 fi
   5973 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   5974 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5975 if test $ac_compiler_gnu = yes; then
   5976   GCC=yes
   5977 else
   5978   GCC=
   5979 fi
   5980 ac_test_CFLAGS=${CFLAGS+set}
   5981 ac_save_CFLAGS=$CFLAGS
   5982 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   5983 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5984 if test "${ac_cv_prog_cc_g+set}" = set; then
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   ac_save_c_werror_flag=$ac_c_werror_flag
   5988    ac_c_werror_flag=yes
   5989    ac_cv_prog_cc_g=no
   5990    CFLAGS="-g"
   5991    cat >conftest.$ac_ext <<_ACEOF
   5992 /* confdefs.h.  */
   5993 _ACEOF
   5994 cat confdefs.h >>conftest.$ac_ext
   5995 cat >>conftest.$ac_ext <<_ACEOF
   5996 /* end confdefs.h.  */
   5997 
   5998 int
   5999 main ()
   6000 {
   6001 
   6002   ;
   6003   return 0;
   6004 }
   6005 _ACEOF
   6006 rm -f conftest.$ac_objext
   6007 if { (ac_try="$ac_compile"
   6008 case "(($ac_try" in
   6009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6010   *) ac_try_echo=$ac_try;;
   6011 esac
   6012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6013 $as_echo "$ac_try_echo") >&5
   6014   (eval "$ac_compile") 2>conftest.er1
   6015   ac_status=$?
   6016   grep -v '^ *+' conftest.er1 >conftest.err
   6017   rm -f conftest.er1
   6018   cat conftest.err >&5
   6019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6020   (exit $ac_status); } && {
   6021 	 test -z "$ac_c_werror_flag" ||
   6022 	 test ! -s conftest.err
   6023        } && test -s conftest.$ac_objext; then
   6024   ac_cv_prog_cc_g=yes
   6025 else
   6026   $as_echo "$as_me: failed program was:" >&5
   6027 sed 's/^/| /' conftest.$ac_ext >&5
   6028 
   6029 	CFLAGS=""
   6030       cat >conftest.$ac_ext <<_ACEOF
   6031 /* confdefs.h.  */
   6032 _ACEOF
   6033 cat confdefs.h >>conftest.$ac_ext
   6034 cat >>conftest.$ac_ext <<_ACEOF
   6035 /* end confdefs.h.  */
   6036 
   6037 int
   6038 main ()
   6039 {
   6040 
   6041   ;
   6042   return 0;
   6043 }
   6044 _ACEOF
   6045 rm -f conftest.$ac_objext
   6046 if { (ac_try="$ac_compile"
   6047 case "(($ac_try" in
   6048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6049   *) ac_try_echo=$ac_try;;
   6050 esac
   6051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6052 $as_echo "$ac_try_echo") >&5
   6053   (eval "$ac_compile") 2>conftest.er1
   6054   ac_status=$?
   6055   grep -v '^ *+' conftest.er1 >conftest.err
   6056   rm -f conftest.er1
   6057   cat conftest.err >&5
   6058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6059   (exit $ac_status); } && {
   6060 	 test -z "$ac_c_werror_flag" ||
   6061 	 test ! -s conftest.err
   6062        } && test -s conftest.$ac_objext; then
   6063   :
   6064 else
   6065   $as_echo "$as_me: failed program was:" >&5
   6066 sed 's/^/| /' conftest.$ac_ext >&5
   6067 
   6068 	ac_c_werror_flag=$ac_save_c_werror_flag
   6069 	 CFLAGS="-g"
   6070 	 cat >conftest.$ac_ext <<_ACEOF
   6071 /* confdefs.h.  */
   6072 _ACEOF
   6073 cat confdefs.h >>conftest.$ac_ext
   6074 cat >>conftest.$ac_ext <<_ACEOF
   6075 /* end confdefs.h.  */
   6076 
   6077 int
   6078 main ()
   6079 {
   6080 
   6081   ;
   6082   return 0;
   6083 }
   6084 _ACEOF
   6085 rm -f conftest.$ac_objext
   6086 if { (ac_try="$ac_compile"
   6087 case "(($ac_try" in
   6088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6089   *) ac_try_echo=$ac_try;;
   6090 esac
   6091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6092 $as_echo "$ac_try_echo") >&5
   6093   (eval "$ac_compile") 2>conftest.er1
   6094   ac_status=$?
   6095   grep -v '^ *+' conftest.er1 >conftest.err
   6096   rm -f conftest.er1
   6097   cat conftest.err >&5
   6098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6099   (exit $ac_status); } && {
   6100 	 test -z "$ac_c_werror_flag" ||
   6101 	 test ! -s conftest.err
   6102        } && test -s conftest.$ac_objext; then
   6103   ac_cv_prog_cc_g=yes
   6104 else
   6105   $as_echo "$as_me: failed program was:" >&5
   6106 sed 's/^/| /' conftest.$ac_ext >&5
   6107 
   6108 
   6109 fi
   6110 
   6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6112 fi
   6113 
   6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6115 fi
   6116 
   6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6118    ac_c_werror_flag=$ac_save_c_werror_flag
   6119 fi
   6120 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   6121 $as_echo "$ac_cv_prog_cc_g" >&6; }
   6122 if test "$ac_test_CFLAGS" = set; then
   6123   CFLAGS=$ac_save_CFLAGS
   6124 elif test $ac_cv_prog_cc_g = yes; then
   6125   if test "$GCC" = yes; then
   6126     CFLAGS="-g -O2"
   6127   else
   6128     CFLAGS="-g"
   6129   fi
   6130 else
   6131   if test "$GCC" = yes; then
   6132     CFLAGS="-O2"
   6133   else
   6134     CFLAGS=
   6135   fi
   6136 fi
   6137 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   6138 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   6139 if test "${ac_cv_prog_cc_c89+set}" = set; then
   6140   $as_echo_n "(cached) " >&6
   6141 else
   6142   ac_cv_prog_cc_c89=no
   6143 ac_save_CC=$CC
   6144 cat >conftest.$ac_ext <<_ACEOF
   6145 /* confdefs.h.  */
   6146 _ACEOF
   6147 cat confdefs.h >>conftest.$ac_ext
   6148 cat >>conftest.$ac_ext <<_ACEOF
   6149 /* end confdefs.h.  */
   6150 #include <stdarg.h>
   6151 #include <stdio.h>
   6152 #include <sys/types.h>
   6153 #include <sys/stat.h>
   6154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   6155 struct buf { int x; };
   6156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   6157 static char *e (p, i)
   6158      char **p;
   6159      int i;
   6160 {
   6161   return p[i];
   6162 }
   6163 static char *f (char * (*g) (char **, int), char **p, ...)
   6164 {
   6165   char *s;
   6166   va_list v;
   6167   va_start (v,p);
   6168   s = g (p, va_arg (v,int));
   6169   va_end (v);
   6170   return s;
   6171 }
   6172 
   6173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   6174    function prototypes and stuff, but not '\xHH' hex character constants.
   6175    These don't provoke an error unfortunately, instead are silently treated
   6176    as 'x'.  The following induces an error, until -std is added to get
   6177    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   6178    array size at least.  It's necessary to write '\x00'==0 to get something
   6179    that's true only with -std.  */
   6180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   6181 
   6182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   6183    inside strings and character constants.  */
   6184 #define FOO(x) 'x'
   6185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   6186 
   6187 int test (int i, double x);
   6188 struct s1 {int (*f) (int a);};
   6189 struct s2 {int (*f) (double a);};
   6190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   6191 int argc;
   6192 char **argv;
   6193 int
   6194 main ()
   6195 {
   6196 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   6197   ;
   6198   return 0;
   6199 }
   6200 _ACEOF
   6201 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   6202 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   6203 do
   6204   CC="$ac_save_CC $ac_arg"
   6205   rm -f conftest.$ac_objext
   6206 if { (ac_try="$ac_compile"
   6207 case "(($ac_try" in
   6208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6209   *) ac_try_echo=$ac_try;;
   6210 esac
   6211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6212 $as_echo "$ac_try_echo") >&5
   6213   (eval "$ac_compile") 2>conftest.er1
   6214   ac_status=$?
   6215   grep -v '^ *+' conftest.er1 >conftest.err
   6216   rm -f conftest.er1
   6217   cat conftest.err >&5
   6218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6219   (exit $ac_status); } && {
   6220 	 test -z "$ac_c_werror_flag" ||
   6221 	 test ! -s conftest.err
   6222        } && test -s conftest.$ac_objext; then
   6223   ac_cv_prog_cc_c89=$ac_arg
   6224 else
   6225   $as_echo "$as_me: failed program was:" >&5
   6226 sed 's/^/| /' conftest.$ac_ext >&5
   6227 
   6228 
   6229 fi
   6230 
   6231 rm -f core conftest.err conftest.$ac_objext
   6232   test "x$ac_cv_prog_cc_c89" != "xno" && break
   6233 done
   6234 rm -f conftest.$ac_ext
   6235 CC=$ac_save_CC
   6236 
   6237 fi
   6238 # AC_CACHE_VAL
   6239 case "x$ac_cv_prog_cc_c89" in
   6240   x)
   6241     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   6242 $as_echo "none needed" >&6; } ;;
   6243   xno)
   6244     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   6245 $as_echo "unsupported" >&6; } ;;
   6246   *)
   6247     CC="$CC $ac_cv_prog_cc_c89"
   6248     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   6249 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   6250 esac
   6251 
   6252 
   6253 ac_ext=c
   6254 ac_cpp='$CPP $CPPFLAGS'
   6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6258 
   6259 depcc="$CC"   am_compiler_list=
   6260 
   6261 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   6262 $as_echo_n "checking dependency style of $depcc... " >&6; }
   6263 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   6264   $as_echo_n "(cached) " >&6
   6265 else
   6266   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6267   # We make a subdir and do the tests there.  Otherwise we can end up
   6268   # making bogus files that we don't know about and never remove.  For
   6269   # instance it was reported that on HP-UX the gcc test will end up
   6270   # making a dummy file named `D' -- because `-MD' means `put the output
   6271   # in D'.
   6272   mkdir conftest.dir
   6273   # Copy depcomp to subdir because otherwise we won't find it if we're
   6274   # using a relative directory.
   6275   cp "$am_depcomp" conftest.dir
   6276   cd conftest.dir
   6277   # We will build objects and dependencies in a subdirectory because
   6278   # it helps to detect inapplicable dependency modes.  For instance
   6279   # both Tru64's cc and ICC support -MD to output dependencies as a
   6280   # side effect of compilation, but ICC will put the dependencies in
   6281   # the current directory while Tru64 will put them in the object
   6282   # directory.
   6283   mkdir sub
   6284 
   6285   am_cv_CC_dependencies_compiler_type=none
   6286   if test "$am_compiler_list" = ""; then
   6287      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6288   fi
   6289   for depmode in $am_compiler_list; do
   6290     # Setup a source with many dependencies, because some compilers
   6291     # like to wrap large dependency lists on column 80 (with \), and
   6292     # we should not choose a depcomp mode which is confused by this.
   6293     #
   6294     # We need to recreate these files for each test, as the compiler may
   6295     # overwrite some of them when testing with obscure command lines.
   6296     # This happens at least with the AIX C compiler.
   6297     : > sub/conftest.c
   6298     for i in 1 2 3 4 5 6; do
   6299       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6300       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6301       # Solaris 8's {/usr,}/bin/sh.
   6302       touch sub/conftst$i.h
   6303     done
   6304     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6305 
   6306     case $depmode in
   6307     nosideeffect)
   6308       # after this tag, mechanisms are not by side-effect, so they'll
   6309       # only be used when explicitly requested
   6310       if test "x$enable_dependency_tracking" = xyes; then
   6311 	continue
   6312       else
   6313 	break
   6314       fi
   6315       ;;
   6316     none) break ;;
   6317     esac
   6318     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6319     # mode.  It turns out that the SunPro C++ compiler does not properly
   6320     # handle `-M -o', and we need to detect this.
   6321     if depmode=$depmode \
   6322        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   6323        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6324        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   6325          >/dev/null 2>conftest.err &&
   6326        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6327        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6328        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   6329        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6330       # icc doesn't choke on unknown options, it will just issue warnings
   6331       # or remarks (even with -Werror).  So we grep stderr for any message
   6332       # that says an option was ignored or not supported.
   6333       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6334       #   icc: Command line warning: ignoring option '-M'; no argument required
   6335       # The diagnosis changed in icc 8.0:
   6336       #   icc: Command line remark: option '-MP' not supported
   6337       if (grep 'ignoring option' conftest.err ||
   6338           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6339         am_cv_CC_dependencies_compiler_type=$depmode
   6340         break
   6341       fi
   6342     fi
   6343   done
   6344 
   6345   cd ..
   6346   rm -rf conftest.dir
   6347 else
   6348   am_cv_CC_dependencies_compiler_type=none
   6349 fi
   6350 
   6351 fi
   6352 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   6353 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   6354 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   6355 
   6356  if
   6357   test "x$enable_dependency_tracking" != xno \
   6358   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   6359   am__fastdepCC_TRUE=
   6360   am__fastdepCC_FALSE='#'
   6361 else
   6362   am__fastdepCC_TRUE='#'
   6363   am__fastdepCC_FALSE=
   6364 fi
   6365 
   6366 
   6367 case `pwd` in
   6368   *\ * | *\	*)
   6369     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6370 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6371 esac
   6372 
   6373 
   6374 
   6375 macro_version='2.2.6'
   6376 macro_revision='1.3012'
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 ltmain="$ac_aux_dir/ltmain.sh"
   6391 
   6392 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   6393 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6394 if test "${ac_cv_path_SED+set}" = set; then
   6395   $as_echo_n "(cached) " >&6
   6396 else
   6397             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6398      for ac_i in 1 2 3 4 5 6 7; do
   6399        ac_script="$ac_script$as_nl$ac_script"
   6400      done
   6401      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6402      $as_unset ac_script || ac_script=
   6403      if test -z "$SED"; then
   6404   ac_path_SED_found=false
   6405   # Loop through the user's path and test for each of PROGNAME-LIST
   6406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6407 for as_dir in $PATH
   6408 do
   6409   IFS=$as_save_IFS
   6410   test -z "$as_dir" && as_dir=.
   6411   for ac_prog in sed gsed; do
   6412     for ac_exec_ext in '' $ac_executable_extensions; do
   6413       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6414       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   6415 # Check for GNU ac_path_SED and select it if it is found.
   6416   # Check for GNU $ac_path_SED
   6417 case `"$ac_path_SED" --version 2>&1` in
   6418 *GNU*)
   6419   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6420 *)
   6421   ac_count=0
   6422   $as_echo_n 0123456789 >"conftest.in"
   6423   while :
   6424   do
   6425     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6426     mv "conftest.tmp" "conftest.in"
   6427     cp "conftest.in" "conftest.nl"
   6428     $as_echo '' >> "conftest.nl"
   6429     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6430     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6431     ac_count=`expr $ac_count + 1`
   6432     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6433       # Best one so far, save it but keep looking for a better one
   6434       ac_cv_path_SED="$ac_path_SED"
   6435       ac_path_SED_max=$ac_count
   6436     fi
   6437     # 10*(2^10) chars as input seems more than enough
   6438     test $ac_count -gt 10 && break
   6439   done
   6440   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6441 esac
   6442 
   6443       $ac_path_SED_found && break 3
   6444     done
   6445   done
   6446 done
   6447 IFS=$as_save_IFS
   6448   if test -z "$ac_cv_path_SED"; then
   6449     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   6450 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   6451    { (exit 1); exit 1; }; }
   6452   fi
   6453 else
   6454   ac_cv_path_SED=$SED
   6455 fi
   6456 
   6457 fi
   6458 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   6459 $as_echo "$ac_cv_path_SED" >&6; }
   6460  SED="$ac_cv_path_SED"
   6461   rm -f conftest.sed
   6462 
   6463 test -z "$SED" && SED=sed
   6464 Xsed="$SED -e 1s/^X//"
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   6477 $as_echo_n "checking for fgrep... " >&6; }
   6478 if test "${ac_cv_path_FGREP+set}" = set; then
   6479   $as_echo_n "(cached) " >&6
   6480 else
   6481   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6482    then ac_cv_path_FGREP="$GREP -F"
   6483    else
   6484      if test -z "$FGREP"; then
   6485   ac_path_FGREP_found=false
   6486   # Loop through the user's path and test for each of PROGNAME-LIST
   6487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6488 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6489 do
   6490   IFS=$as_save_IFS
   6491   test -z "$as_dir" && as_dir=.
   6492   for ac_prog in fgrep; do
   6493     for ac_exec_ext in '' $ac_executable_extensions; do
   6494       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6495       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   6496 # Check for GNU ac_path_FGREP and select it if it is found.
   6497   # Check for GNU $ac_path_FGREP
   6498 case `"$ac_path_FGREP" --version 2>&1` in
   6499 *GNU*)
   6500   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6501 *)
   6502   ac_count=0
   6503   $as_echo_n 0123456789 >"conftest.in"
   6504   while :
   6505   do
   6506     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6507     mv "conftest.tmp" "conftest.in"
   6508     cp "conftest.in" "conftest.nl"
   6509     $as_echo 'FGREP' >> "conftest.nl"
   6510     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6511     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6512     ac_count=`expr $ac_count + 1`
   6513     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6514       # Best one so far, save it but keep looking for a better one
   6515       ac_cv_path_FGREP="$ac_path_FGREP"
   6516       ac_path_FGREP_max=$ac_count
   6517     fi
   6518     # 10*(2^10) chars as input seems more than enough
   6519     test $ac_count -gt 10 && break
   6520   done
   6521   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6522 esac
   6523 
   6524       $ac_path_FGREP_found && break 3
   6525     done
   6526   done
   6527 done
   6528 IFS=$as_save_IFS
   6529   if test -z "$ac_cv_path_FGREP"; then
   6530     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   6531 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   6532    { (exit 1); exit 1; }; }
   6533   fi
   6534 else
   6535   ac_cv_path_FGREP=$FGREP
   6536 fi
   6537 
   6538    fi
   6539 fi
   6540 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   6541 $as_echo "$ac_cv_path_FGREP" >&6; }
   6542  FGREP="$ac_cv_path_FGREP"
   6543 
   6544 
   6545 test -z "$GREP" && GREP=grep
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 # Check whether --with-gnu-ld was given.
   6566 if test "${with_gnu_ld+set}" = set; then
   6567   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6568 else
   6569   with_gnu_ld=no
   6570 fi
   6571 
   6572 ac_prog=ld
   6573 if test "$GCC" = yes; then
   6574   # Check if gcc -print-prog-name=ld gives a path.
   6575   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   6576 $as_echo_n "checking for ld used by $CC... " >&6; }
   6577   case $host in
   6578   *-*-mingw*)
   6579     # gcc leaves a trailing carriage return which upsets mingw
   6580     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6581   *)
   6582     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6583   esac
   6584   case $ac_prog in
   6585     # Accept absolute paths.
   6586     [\\/]* | ?:[\\/]*)
   6587       re_direlt='/[^/][^/]*/\.\./'
   6588       # Canonicalize the pathname of ld
   6589       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6590       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6591 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6592       done
   6593       test -z "$LD" && LD="$ac_prog"
   6594       ;;
   6595   "")
   6596     # If it fails, then pretend we aren't using GCC.
   6597     ac_prog=ld
   6598     ;;
   6599   *)
   6600     # If it is relative, then search for the first ld in PATH.
   6601     with_gnu_ld=unknown
   6602     ;;
   6603   esac
   6604 elif test "$with_gnu_ld" = yes; then
   6605   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   6606 $as_echo_n "checking for GNU ld... " >&6; }
   6607 else
   6608   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   6609 $as_echo_n "checking for non-GNU ld... " >&6; }
   6610 fi
   6611 if test "${lt_cv_path_LD+set}" = set; then
   6612   $as_echo_n "(cached) " >&6
   6613 else
   6614   if test -z "$LD"; then
   6615   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6616   for ac_dir in $PATH; do
   6617     IFS="$lt_save_ifs"
   6618     test -z "$ac_dir" && ac_dir=.
   6619     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6620       lt_cv_path_LD="$ac_dir/$ac_prog"
   6621       # Check to see if the program is GNU ld.  I'd rather use --version,
   6622       # but apparently some variants of GNU ld only accept -v.
   6623       # Break only if it was the GNU/non-GNU ld that we prefer.
   6624       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6625       *GNU* | *'with BFD'*)
   6626 	test "$with_gnu_ld" != no && break
   6627 	;;
   6628       *)
   6629 	test "$with_gnu_ld" != yes && break
   6630 	;;
   6631       esac
   6632     fi
   6633   done
   6634   IFS="$lt_save_ifs"
   6635 else
   6636   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6637 fi
   6638 fi
   6639 
   6640 LD="$lt_cv_path_LD"
   6641 if test -n "$LD"; then
   6642   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   6643 $as_echo "$LD" >&6; }
   6644 else
   6645   { $as_echo "$as_me:$LINENO: result: no" >&5
   6646 $as_echo "no" >&6; }
   6647 fi
   6648 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   6649 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   6650    { (exit 1); exit 1; }; }
   6651 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   6652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6653 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   6654   $as_echo_n "(cached) " >&6
   6655 else
   6656   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6657 case `$LD -v 2>&1 </dev/null` in
   6658 *GNU* | *'with BFD'*)
   6659   lt_cv_prog_gnu_ld=yes
   6660   ;;
   6661 *)
   6662   lt_cv_prog_gnu_ld=no
   6663   ;;
   6664 esac
   6665 fi
   6666 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   6667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6668 with_gnu_ld=$lt_cv_prog_gnu_ld
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   6679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6680 if test "${lt_cv_path_NM+set}" = set; then
   6681   $as_echo_n "(cached) " >&6
   6682 else
   6683   if test -n "$NM"; then
   6684   # Let the user override the test.
   6685   lt_cv_path_NM="$NM"
   6686 else
   6687   lt_nm_to_check="${ac_tool_prefix}nm"
   6688   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6689     lt_nm_to_check="$lt_nm_to_check nm"
   6690   fi
   6691   for lt_tmp_nm in $lt_nm_to_check; do
   6692     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6693     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6694       IFS="$lt_save_ifs"
   6695       test -z "$ac_dir" && ac_dir=.
   6696       tmp_nm="$ac_dir/$lt_tmp_nm"
   6697       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6698 	# Check to see if the nm accepts a BSD-compat flag.
   6699 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6700 	#   nm: unknown option "B" ignored
   6701 	# Tru64's nm complains that /dev/null is an invalid object file
   6702 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6703 	*/dev/null* | *'Invalid file or object type'*)
   6704 	  lt_cv_path_NM="$tmp_nm -B"
   6705 	  break
   6706 	  ;;
   6707 	*)
   6708 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6709 	  */dev/null*)
   6710 	    lt_cv_path_NM="$tmp_nm -p"
   6711 	    break
   6712 	    ;;
   6713 	  *)
   6714 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6715 	    continue # so that we can try to find one that supports BSD flags
   6716 	    ;;
   6717 	  esac
   6718 	  ;;
   6719 	esac
   6720       fi
   6721     done
   6722     IFS="$lt_save_ifs"
   6723   done
   6724   : ${lt_cv_path_NM=no}
   6725 fi
   6726 fi
   6727 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   6728 $as_echo "$lt_cv_path_NM" >&6; }
   6729 if test "$lt_cv_path_NM" != "no"; then
   6730   NM="$lt_cv_path_NM"
   6731 else
   6732   # Didn't find any BSD compatible name lister, look for dumpbin.
   6733   if test -n "$ac_tool_prefix"; then
   6734   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   6735   do
   6736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6738 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6739 $as_echo_n "checking for $ac_word... " >&6; }
   6740 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   if test -n "$DUMPBIN"; then
   6744   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6745 else
   6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6747 for as_dir in $PATH
   6748 do
   6749   IFS=$as_save_IFS
   6750   test -z "$as_dir" && as_dir=.
   6751   for ac_exec_ext in '' $ac_executable_extensions; do
   6752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6753     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6754     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6755     break 2
   6756   fi
   6757 done
   6758 done
   6759 IFS=$as_save_IFS
   6760 
   6761 fi
   6762 fi
   6763 DUMPBIN=$ac_cv_prog_DUMPBIN
   6764 if test -n "$DUMPBIN"; then
   6765   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   6766 $as_echo "$DUMPBIN" >&6; }
   6767 else
   6768   { $as_echo "$as_me:$LINENO: result: no" >&5
   6769 $as_echo "no" >&6; }
   6770 fi
   6771 
   6772 
   6773     test -n "$DUMPBIN" && break
   6774   done
   6775 fi
   6776 if test -z "$DUMPBIN"; then
   6777   ac_ct_DUMPBIN=$DUMPBIN
   6778   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   6779 do
   6780   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6781 set dummy $ac_prog; ac_word=$2
   6782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6783 $as_echo_n "checking for $ac_word... " >&6; }
   6784 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   if test -n "$ac_ct_DUMPBIN"; then
   6788   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6789 else
   6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6791 for as_dir in $PATH
   6792 do
   6793   IFS=$as_save_IFS
   6794   test -z "$as_dir" && as_dir=.
   6795   for ac_exec_ext in '' $ac_executable_extensions; do
   6796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6797     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6798     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6799     break 2
   6800   fi
   6801 done
   6802 done
   6803 IFS=$as_save_IFS
   6804 
   6805 fi
   6806 fi
   6807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6808 if test -n "$ac_ct_DUMPBIN"; then
   6809   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   6810 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6811 else
   6812   { $as_echo "$as_me:$LINENO: result: no" >&5
   6813 $as_echo "no" >&6; }
   6814 fi
   6815 
   6816 
   6817   test -n "$ac_ct_DUMPBIN" && break
   6818 done
   6819 
   6820   if test "x$ac_ct_DUMPBIN" = x; then
   6821     DUMPBIN=":"
   6822   else
   6823     case $cross_compiling:$ac_tool_warned in
   6824 yes:)
   6825 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6827 ac_tool_warned=yes ;;
   6828 esac
   6829     DUMPBIN=$ac_ct_DUMPBIN
   6830   fi
   6831 fi
   6832 
   6833 
   6834   if test "$DUMPBIN" != ":"; then
   6835     NM="$DUMPBIN"
   6836   fi
   6837 fi
   6838 test -z "$NM" && NM=nm
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   6846 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6847 if test "${lt_cv_nm_interface+set}" = set; then
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   lt_cv_nm_interface="BSD nm"
   6851   echo "int some_variable = 0;" > conftest.$ac_ext
   6852   (eval echo "\"\$as_me:6852: $ac_compile\"" >&5)
   6853   (eval "$ac_compile" 2>conftest.err)
   6854   cat conftest.err >&5
   6855   (eval echo "\"\$as_me:6855: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6856   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6857   cat conftest.err >&5
   6858   (eval echo "\"\$as_me:6858: output\"" >&5)
   6859   cat conftest.out >&5
   6860   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6861     lt_cv_nm_interface="MS dumpbin"
   6862   fi
   6863   rm -f conftest*
   6864 fi
   6865 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   6866 $as_echo "$lt_cv_nm_interface" >&6; }
   6867 
   6868 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   6869 $as_echo_n "checking whether ln -s works... " >&6; }
   6870 LN_S=$as_ln_s
   6871 if test "$LN_S" = "ln -s"; then
   6872   { $as_echo "$as_me:$LINENO: result: yes" >&5
   6873 $as_echo "yes" >&6; }
   6874 else
   6875   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   6876 $as_echo "no, using $LN_S" >&6; }
   6877 fi
   6878 
   6879 # find the maximum length of command line arguments
   6880 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6881 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6882 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6883   $as_echo_n "(cached) " >&6
   6884 else
   6885     i=0
   6886   teststring="ABCD"
   6887 
   6888   case $build_os in
   6889   msdosdjgpp*)
   6890     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6891     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6892     # during glob expansion).  Even if it were fixed, the result of this
   6893     # check would be larger than it should be.
   6894     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6895     ;;
   6896 
   6897   gnu*)
   6898     # Under GNU Hurd, this test is not required because there is
   6899     # no limit to the length of command line arguments.
   6900     # Libtool will interpret -1 as no limit whatsoever
   6901     lt_cv_sys_max_cmd_len=-1;
   6902     ;;
   6903 
   6904   cygwin* | mingw* | cegcc*)
   6905     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6906     # about 5 minutes as the teststring grows exponentially.
   6907     # Worse, since 9x/ME are not pre-emptively multitasking,
   6908     # you end up with a "frozen" computer, even though with patience
   6909     # the test eventually succeeds (with a max line length of 256k).
   6910     # Instead, let's just punt: use the minimum linelength reported by
   6911     # all of the supported platforms: 8192 (on NT/2K/XP).
   6912     lt_cv_sys_max_cmd_len=8192;
   6913     ;;
   6914 
   6915   amigaos*)
   6916     # On AmigaOS with pdksh, this test takes hours, literally.
   6917     # So we just punt and use a minimum line length of 8192.
   6918     lt_cv_sys_max_cmd_len=8192;
   6919     ;;
   6920 
   6921   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6922     # This has been around since 386BSD, at least.  Likely further.
   6923     if test -x /sbin/sysctl; then
   6924       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6925     elif test -x /usr/sbin/sysctl; then
   6926       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6927     else
   6928       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6929     fi
   6930     # And add a safety zone
   6931     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6932     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6933     ;;
   6934 
   6935   interix*)
   6936     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6937     lt_cv_sys_max_cmd_len=196608
   6938     ;;
   6939 
   6940   osf*)
   6941     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6942     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6943     # nice to cause kernel panics so lets avoid the loop below.
   6944     # First set a reasonable default.
   6945     lt_cv_sys_max_cmd_len=16384
   6946     #
   6947     if test -x /sbin/sysconfig; then
   6948       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6949         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6950       esac
   6951     fi
   6952     ;;
   6953   sco3.2v5*)
   6954     lt_cv_sys_max_cmd_len=102400
   6955     ;;
   6956   sysv5* | sco5v6* | sysv4.2uw2*)
   6957     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6958     if test -n "$kargmax"; then
   6959       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6960     else
   6961       lt_cv_sys_max_cmd_len=32768
   6962     fi
   6963     ;;
   6964   *)
   6965     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6966     if test -n "$lt_cv_sys_max_cmd_len"; then
   6967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6968       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6969     else
   6970       # Make teststring a little bigger before we do anything with it.
   6971       # a 1K string should be a reasonable start.
   6972       for i in 1 2 3 4 5 6 7 8 ; do
   6973         teststring=$teststring$teststring
   6974       done
   6975       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6976       # If test is not a shell built-in, we'll probably end up computing a
   6977       # maximum length that is only half of the actual maximum length, but
   6978       # we can't tell.
   6979       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   6980 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   6981 	      test $i != 17 # 1/2 MB should be enough
   6982       do
   6983         i=`expr $i + 1`
   6984         teststring=$teststring$teststring
   6985       done
   6986       # Only check the string length outside the loop.
   6987       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6988       teststring=
   6989       # Add a significant safety factor because C++ compilers can tack on
   6990       # massive amounts of additional arguments before passing them to the
   6991       # linker.  It appears as though 1/2 is a usable value.
   6992       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6993     fi
   6994     ;;
   6995   esac
   6996 
   6997 fi
   6998 
   6999 if test -n $lt_cv_sys_max_cmd_len ; then
   7000   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   7001 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7002 else
   7003   { $as_echo "$as_me:$LINENO: result: none" >&5
   7004 $as_echo "none" >&6; }
   7005 fi
   7006 max_cmd_len=$lt_cv_sys_max_cmd_len
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 : ${CP="cp -f"}
   7014 : ${MV="mv -f"}
   7015 : ${RM="rm -f"}
   7016 
   7017 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   7018 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   7019 # Try some XSI features
   7020 xsi_shell=no
   7021 ( _lt_dummy="a/b/c"
   7022   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   7023       = c,a/b,, \
   7024     && eval 'test $(( 1 + 1 )) -eq 2 \
   7025     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   7026   && xsi_shell=yes
   7027 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   7028 $as_echo "$xsi_shell" >&6; }
   7029 
   7030 
   7031 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   7032 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   7033 lt_shell_append=no
   7034 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   7035     >/dev/null 2>&1 \
   7036   && lt_shell_append=yes
   7037 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   7038 $as_echo "$lt_shell_append" >&6; }
   7039 
   7040 
   7041 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7042   lt_unset=unset
   7043 else
   7044   lt_unset=false
   7045 fi
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 # test EBCDIC or ASCII
   7052 case `echo X|tr X '\101'` in
   7053  A) # ASCII based system
   7054     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7055   lt_SP2NL='tr \040 \012'
   7056   lt_NL2SP='tr \015\012 \040\040'
   7057   ;;
   7058  *) # EBCDIC based system
   7059   lt_SP2NL='tr \100 \n'
   7060   lt_NL2SP='tr \r\n \100\100'
   7061   ;;
   7062 esac
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   7073 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7074 if test "${lt_cv_ld_reload_flag+set}" = set; then
   7075   $as_echo_n "(cached) " >&6
   7076 else
   7077   lt_cv_ld_reload_flag='-r'
   7078 fi
   7079 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   7080 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7081 reload_flag=$lt_cv_ld_reload_flag
   7082 case $reload_flag in
   7083 "" | " "*) ;;
   7084 *) reload_flag=" $reload_flag" ;;
   7085 esac
   7086 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7087 case $host_os in
   7088   darwin*)
   7089     if test "$GCC" = yes; then
   7090       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   7091     else
   7092       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7093     fi
   7094     ;;
   7095 esac
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 if test -n "$ac_tool_prefix"; then
   7106   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7107 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7109 $as_echo_n "checking for $ac_word... " >&6; }
   7110 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   7111   $as_echo_n "(cached) " >&6
   7112 else
   7113   if test -n "$OBJDUMP"; then
   7114   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7115 else
   7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7117 for as_dir in $PATH
   7118 do
   7119   IFS=$as_save_IFS
   7120   test -z "$as_dir" && as_dir=.
   7121   for ac_exec_ext in '' $ac_executable_extensions; do
   7122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7123     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7124     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7125     break 2
   7126   fi
   7127 done
   7128 done
   7129 IFS=$as_save_IFS
   7130 
   7131 fi
   7132 fi
   7133 OBJDUMP=$ac_cv_prog_OBJDUMP
   7134 if test -n "$OBJDUMP"; then
   7135   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   7136 $as_echo "$OBJDUMP" >&6; }
   7137 else
   7138   { $as_echo "$as_me:$LINENO: result: no" >&5
   7139 $as_echo "no" >&6; }
   7140 fi
   7141 
   7142 
   7143 fi
   7144 if test -z "$ac_cv_prog_OBJDUMP"; then
   7145   ac_ct_OBJDUMP=$OBJDUMP
   7146   # Extract the first word of "objdump", so it can be a program name with args.
   7147 set dummy objdump; ac_word=$2
   7148 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7149 $as_echo_n "checking for $ac_word... " >&6; }
   7150 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   7151   $as_echo_n "(cached) " >&6
   7152 else
   7153   if test -n "$ac_ct_OBJDUMP"; then
   7154   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7155 else
   7156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7157 for as_dir in $PATH
   7158 do
   7159   IFS=$as_save_IFS
   7160   test -z "$as_dir" && as_dir=.
   7161   for ac_exec_ext in '' $ac_executable_extensions; do
   7162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7163     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7164     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7165     break 2
   7166   fi
   7167 done
   7168 done
   7169 IFS=$as_save_IFS
   7170 
   7171 fi
   7172 fi
   7173 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7174 if test -n "$ac_ct_OBJDUMP"; then
   7175   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   7176 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7177 else
   7178   { $as_echo "$as_me:$LINENO: result: no" >&5
   7179 $as_echo "no" >&6; }
   7180 fi
   7181 
   7182   if test "x$ac_ct_OBJDUMP" = x; then
   7183     OBJDUMP="false"
   7184   else
   7185     case $cross_compiling:$ac_tool_warned in
   7186 yes:)
   7187 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7189 ac_tool_warned=yes ;;
   7190 esac
   7191     OBJDUMP=$ac_ct_OBJDUMP
   7192   fi
   7193 else
   7194   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7195 fi
   7196 
   7197 test -z "$OBJDUMP" && OBJDUMP=objdump
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   7208 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7209 if test "${lt_cv_deplibs_check_method+set}" = set; then
   7210   $as_echo_n "(cached) " >&6
   7211 else
   7212   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7213 lt_cv_file_magic_test_file=
   7214 lt_cv_deplibs_check_method='unknown'
   7215 # Need to set the preceding variable on all platforms that support
   7216 # interlibrary dependencies.
   7217 # 'none' -- dependencies not supported.
   7218 # `unknown' -- same as none, but documents that we really don't know.
   7219 # 'pass_all' -- all dependencies passed with no checks.
   7220 # 'test_compile' -- check by making test program.
   7221 # 'file_magic [[regex]]' -- check by looking for files in library path
   7222 # which responds to the $file_magic_cmd with a given extended regex.
   7223 # If you have `file' or equivalent on your system and you're not sure
   7224 # whether `pass_all' will *always* work, you probably want this one.
   7225 
   7226 case $host_os in
   7227 aix[4-9]*)
   7228   lt_cv_deplibs_check_method=pass_all
   7229   ;;
   7230 
   7231 beos*)
   7232   lt_cv_deplibs_check_method=pass_all
   7233   ;;
   7234 
   7235 bsdi[45]*)
   7236   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7237   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7238   lt_cv_file_magic_test_file=/shlib/libc.so
   7239   ;;
   7240 
   7241 cygwin*)
   7242   # func_win32_libid is a shell function defined in ltmain.sh
   7243   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7244   lt_cv_file_magic_cmd='func_win32_libid'
   7245   ;;
   7246 
   7247 mingw* | pw32*)
   7248   # Base MSYS/MinGW do not provide the 'file' command needed by
   7249   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7250   # unless we find 'file', for example because we are cross-compiling.
   7251   if ( file / ) >/dev/null 2>&1; then
   7252     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7253     lt_cv_file_magic_cmd='func_win32_libid'
   7254   else
   7255     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   7256     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7257   fi
   7258   ;;
   7259 
   7260 cegcc)
   7261   # use the weaker test based on 'objdump'. See mingw*.
   7262   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7263   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7264   ;;
   7265 
   7266 darwin* | rhapsody*)
   7267   lt_cv_deplibs_check_method=pass_all
   7268   ;;
   7269 
   7270 freebsd* | dragonfly*)
   7271   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7272     case $host_cpu in
   7273     i*86 )
   7274       # Not sure whether the presence of OpenBSD here was a mistake.
   7275       # Let's accept both of them until this is cleared up.
   7276       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7277       lt_cv_file_magic_cmd=/usr/bin/file
   7278       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7279       ;;
   7280     esac
   7281   else
   7282     lt_cv_deplibs_check_method=pass_all
   7283   fi
   7284   ;;
   7285 
   7286 gnu*)
   7287   lt_cv_deplibs_check_method=pass_all
   7288   ;;
   7289 
   7290 hpux10.20* | hpux11*)
   7291   lt_cv_file_magic_cmd=/usr/bin/file
   7292   case $host_cpu in
   7293   ia64*)
   7294     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7295     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7296     ;;
   7297   hppa*64*)
   7298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   7299     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7300     ;;
   7301   *)
   7302     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   7303     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7304     ;;
   7305   esac
   7306   ;;
   7307 
   7308 interix[3-9]*)
   7309   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7310   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7311   ;;
   7312 
   7313 irix5* | irix6* | nonstopux*)
   7314   case $LD in
   7315   *-32|*"-32 ") libmagic=32-bit;;
   7316   *-n32|*"-n32 ") libmagic=N32;;
   7317   *-64|*"-64 ") libmagic=64-bit;;
   7318   *) libmagic=never-match;;
   7319   esac
   7320   lt_cv_deplibs_check_method=pass_all
   7321   ;;
   7322 
   7323 # This must be Linux ELF.
   7324 linux* | k*bsd*-gnu)
   7325   lt_cv_deplibs_check_method=pass_all
   7326   ;;
   7327 
   7328 netbsd* | netbsdelf*-gnu)
   7329   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7330     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7331   else
   7332     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7333   fi
   7334   ;;
   7335 
   7336 newos6*)
   7337   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7338   lt_cv_file_magic_cmd=/usr/bin/file
   7339   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7340   ;;
   7341 
   7342 *nto* | *qnx*)
   7343   lt_cv_deplibs_check_method=pass_all
   7344   ;;
   7345 
   7346 openbsd*)
   7347   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7348     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7349   else
   7350     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7351   fi
   7352   ;;
   7353 
   7354 osf3* | osf4* | osf5*)
   7355   lt_cv_deplibs_check_method=pass_all
   7356   ;;
   7357 
   7358 rdos*)
   7359   lt_cv_deplibs_check_method=pass_all
   7360   ;;
   7361 
   7362 solaris*)
   7363   lt_cv_deplibs_check_method=pass_all
   7364   ;;
   7365 
   7366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7367   lt_cv_deplibs_check_method=pass_all
   7368   ;;
   7369 
   7370 sysv4 | sysv4.3*)
   7371   case $host_vendor in
   7372   motorola)
   7373     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]'
   7374     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7375     ;;
   7376   ncr)
   7377     lt_cv_deplibs_check_method=pass_all
   7378     ;;
   7379   sequent)
   7380     lt_cv_file_magic_cmd='/bin/file'
   7381     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7382     ;;
   7383   sni)
   7384     lt_cv_file_magic_cmd='/bin/file'
   7385     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7386     lt_cv_file_magic_test_file=/lib/libc.so
   7387     ;;
   7388   siemens)
   7389     lt_cv_deplibs_check_method=pass_all
   7390     ;;
   7391   pc)
   7392     lt_cv_deplibs_check_method=pass_all
   7393     ;;
   7394   esac
   7395   ;;
   7396 
   7397 tpf*)
   7398   lt_cv_deplibs_check_method=pass_all
   7399   ;;
   7400 esac
   7401 
   7402 fi
   7403 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   7404 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7405 file_magic_cmd=$lt_cv_file_magic_cmd
   7406 deplibs_check_method=$lt_cv_deplibs_check_method
   7407 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 if test -n "$ac_tool_prefix"; then
   7421   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7422 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7423 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7424 $as_echo_n "checking for $ac_word... " >&6; }
   7425 if test "${ac_cv_prog_AR+set}" = set; then
   7426   $as_echo_n "(cached) " >&6
   7427 else
   7428   if test -n "$AR"; then
   7429   ac_cv_prog_AR="$AR" # Let the user override the test.
   7430 else
   7431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7432 for as_dir in $PATH
   7433 do
   7434   IFS=$as_save_IFS
   7435   test -z "$as_dir" && as_dir=.
   7436   for ac_exec_ext in '' $ac_executable_extensions; do
   7437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7438     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7439     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7440     break 2
   7441   fi
   7442 done
   7443 done
   7444 IFS=$as_save_IFS
   7445 
   7446 fi
   7447 fi
   7448 AR=$ac_cv_prog_AR
   7449 if test -n "$AR"; then
   7450   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   7451 $as_echo "$AR" >&6; }
   7452 else
   7453   { $as_echo "$as_me:$LINENO: result: no" >&5
   7454 $as_echo "no" >&6; }
   7455 fi
   7456 
   7457 
   7458 fi
   7459 if test -z "$ac_cv_prog_AR"; then
   7460   ac_ct_AR=$AR
   7461   # Extract the first word of "ar", so it can be a program name with args.
   7462 set dummy ar; ac_word=$2
   7463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7464 $as_echo_n "checking for $ac_word... " >&6; }
   7465 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   7466   $as_echo_n "(cached) " >&6
   7467 else
   7468   if test -n "$ac_ct_AR"; then
   7469   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7470 else
   7471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7472 for as_dir in $PATH
   7473 do
   7474   IFS=$as_save_IFS
   7475   test -z "$as_dir" && as_dir=.
   7476   for ac_exec_ext in '' $ac_executable_extensions; do
   7477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7478     ac_cv_prog_ac_ct_AR="ar"
   7479     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7480     break 2
   7481   fi
   7482 done
   7483 done
   7484 IFS=$as_save_IFS
   7485 
   7486 fi
   7487 fi
   7488 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7489 if test -n "$ac_ct_AR"; then
   7490   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   7491 $as_echo "$ac_ct_AR" >&6; }
   7492 else
   7493   { $as_echo "$as_me:$LINENO: result: no" >&5
   7494 $as_echo "no" >&6; }
   7495 fi
   7496 
   7497   if test "x$ac_ct_AR" = x; then
   7498     AR="false"
   7499   else
   7500     case $cross_compiling:$ac_tool_warned in
   7501 yes:)
   7502 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7504 ac_tool_warned=yes ;;
   7505 esac
   7506     AR=$ac_ct_AR
   7507   fi
   7508 else
   7509   AR="$ac_cv_prog_AR"
   7510 fi
   7511 
   7512 test -z "$AR" && AR=ar
   7513 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 if test -n "$ac_tool_prefix"; then
   7526   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7527 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7529 $as_echo_n "checking for $ac_word... " >&6; }
   7530 if test "${ac_cv_prog_STRIP+set}" = set; then
   7531   $as_echo_n "(cached) " >&6
   7532 else
   7533   if test -n "$STRIP"; then
   7534   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7535 else
   7536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7537 for as_dir in $PATH
   7538 do
   7539   IFS=$as_save_IFS
   7540   test -z "$as_dir" && as_dir=.
   7541   for ac_exec_ext in '' $ac_executable_extensions; do
   7542   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7543     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7544     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7545     break 2
   7546   fi
   7547 done
   7548 done
   7549 IFS=$as_save_IFS
   7550 
   7551 fi
   7552 fi
   7553 STRIP=$ac_cv_prog_STRIP
   7554 if test -n "$STRIP"; then
   7555   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7556 $as_echo "$STRIP" >&6; }
   7557 else
   7558   { $as_echo "$as_me:$LINENO: result: no" >&5
   7559 $as_echo "no" >&6; }
   7560 fi
   7561 
   7562 
   7563 fi
   7564 if test -z "$ac_cv_prog_STRIP"; then
   7565   ac_ct_STRIP=$STRIP
   7566   # Extract the first word of "strip", so it can be a program name with args.
   7567 set dummy strip; ac_word=$2
   7568 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7569 $as_echo_n "checking for $ac_word... " >&6; }
   7570 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   if test -n "$ac_ct_STRIP"; then
   7574   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7575 else
   7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7577 for as_dir in $PATH
   7578 do
   7579   IFS=$as_save_IFS
   7580   test -z "$as_dir" && as_dir=.
   7581   for ac_exec_ext in '' $ac_executable_extensions; do
   7582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7583     ac_cv_prog_ac_ct_STRIP="strip"
   7584     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7585     break 2
   7586   fi
   7587 done
   7588 done
   7589 IFS=$as_save_IFS
   7590 
   7591 fi
   7592 fi
   7593 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7594 if test -n "$ac_ct_STRIP"; then
   7595   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7596 $as_echo "$ac_ct_STRIP" >&6; }
   7597 else
   7598   { $as_echo "$as_me:$LINENO: result: no" >&5
   7599 $as_echo "no" >&6; }
   7600 fi
   7601 
   7602   if test "x$ac_ct_STRIP" = x; then
   7603     STRIP=":"
   7604   else
   7605     case $cross_compiling:$ac_tool_warned in
   7606 yes:)
   7607 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7609 ac_tool_warned=yes ;;
   7610 esac
   7611     STRIP=$ac_ct_STRIP
   7612   fi
   7613 else
   7614   STRIP="$ac_cv_prog_STRIP"
   7615 fi
   7616 
   7617 test -z "$STRIP" && STRIP=:
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 if test -n "$ac_tool_prefix"; then
   7625   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7627 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7628 $as_echo_n "checking for $ac_word... " >&6; }
   7629 if test "${ac_cv_prog_RANLIB+set}" = set; then
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   if test -n "$RANLIB"; then
   7633   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7634 else
   7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7636 for as_dir in $PATH
   7637 do
   7638   IFS=$as_save_IFS
   7639   test -z "$as_dir" && as_dir=.
   7640   for ac_exec_ext in '' $ac_executable_extensions; do
   7641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7642     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7643     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7644     break 2
   7645   fi
   7646 done
   7647 done
   7648 IFS=$as_save_IFS
   7649 
   7650 fi
   7651 fi
   7652 RANLIB=$ac_cv_prog_RANLIB
   7653 if test -n "$RANLIB"; then
   7654   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   7655 $as_echo "$RANLIB" >&6; }
   7656 else
   7657   { $as_echo "$as_me:$LINENO: result: no" >&5
   7658 $as_echo "no" >&6; }
   7659 fi
   7660 
   7661 
   7662 fi
   7663 if test -z "$ac_cv_prog_RANLIB"; then
   7664   ac_ct_RANLIB=$RANLIB
   7665   # Extract the first word of "ranlib", so it can be a program name with args.
   7666 set dummy ranlib; ac_word=$2
   7667 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7668 $as_echo_n "checking for $ac_word... " >&6; }
   7669 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7670   $as_echo_n "(cached) " >&6
   7671 else
   7672   if test -n "$ac_ct_RANLIB"; then
   7673   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7674 else
   7675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7676 for as_dir in $PATH
   7677 do
   7678   IFS=$as_save_IFS
   7679   test -z "$as_dir" && as_dir=.
   7680   for ac_exec_ext in '' $ac_executable_extensions; do
   7681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7682     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7683     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7684     break 2
   7685   fi
   7686 done
   7687 done
   7688 IFS=$as_save_IFS
   7689 
   7690 fi
   7691 fi
   7692 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7693 if test -n "$ac_ct_RANLIB"; then
   7694   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7695 $as_echo "$ac_ct_RANLIB" >&6; }
   7696 else
   7697   { $as_echo "$as_me:$LINENO: result: no" >&5
   7698 $as_echo "no" >&6; }
   7699 fi
   7700 
   7701   if test "x$ac_ct_RANLIB" = x; then
   7702     RANLIB=":"
   7703   else
   7704     case $cross_compiling:$ac_tool_warned in
   7705 yes:)
   7706 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7708 ac_tool_warned=yes ;;
   7709 esac
   7710     RANLIB=$ac_ct_RANLIB
   7711   fi
   7712 else
   7713   RANLIB="$ac_cv_prog_RANLIB"
   7714 fi
   7715 
   7716 test -z "$RANLIB" && RANLIB=:
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 # Determine commands to create old-style static archives.
   7724 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7725 old_postinstall_cmds='chmod 644 $oldlib'
   7726 old_postuninstall_cmds=
   7727 
   7728 if test -n "$RANLIB"; then
   7729   case $host_os in
   7730   openbsd*)
   7731     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7732     ;;
   7733   *)
   7734     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7735     ;;
   7736   esac
   7737   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7738 fi
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 # If no C compiler was specified, use CC.
   7774 LTCC=${LTCC-"$CC"}
   7775 
   7776 # If no C compiler flags were specified, use CFLAGS.
   7777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7778 
   7779 # Allow CC to be a program name with arguments.
   7780 compiler=$CC
   7781 
   7782 
   7783 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7784 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   7785 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7786 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789 
   7790 # These are sane defaults that work on at least a few old systems.
   7791 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7792 
   7793 # Character class describing NM global symbol codes.
   7794 symcode='[BCDEGRST]'
   7795 
   7796 # Regexp to match symbols that can be accessed directly from C.
   7797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7798 
   7799 # Define system-specific variables.
   7800 case $host_os in
   7801 aix*)
   7802   symcode='[BCDT]'
   7803   ;;
   7804 cygwin* | mingw* | pw32* | cegcc*)
   7805   symcode='[ABCDGISTW]'
   7806   ;;
   7807 hpux*)
   7808   if test "$host_cpu" = ia64; then
   7809     symcode='[ABCDEGRST]'
   7810   fi
   7811   ;;
   7812 irix* | nonstopux*)
   7813   symcode='[BCDEGRST]'
   7814   ;;
   7815 osf*)
   7816   symcode='[BCDEGQRST]'
   7817   ;;
   7818 solaris*)
   7819   symcode='[BDRT]'
   7820   ;;
   7821 sco3.2v5*)
   7822   symcode='[DT]'
   7823   ;;
   7824 sysv4.2uw2*)
   7825   symcode='[DT]'
   7826   ;;
   7827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7828   symcode='[ABDT]'
   7829   ;;
   7830 sysv4)
   7831   symcode='[DFNSTU]'
   7832   ;;
   7833 esac
   7834 
   7835 # If we're using GNU nm, then use its standard symbol codes.
   7836 case `$NM -V 2>&1` in
   7837 *GNU* | *'with BFD'*)
   7838   symcode='[ABCDGIRSTW]' ;;
   7839 esac
   7840 
   7841 # Transform an extracted symbol line into a proper C declaration.
   7842 # Some systems (esp. on ia64) link data and code symbols differently,
   7843 # so use this general approach.
   7844 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7845 
   7846 # Transform an extracted symbol line into symbol name and symbol address
   7847 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7848 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'"
   7849 
   7850 # Handle CRLF in mingw tool chain
   7851 opt_cr=
   7852 case $build_os in
   7853 mingw*)
   7854   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7855   ;;
   7856 esac
   7857 
   7858 # Try without a prefix underscore, then with it.
   7859 for ac_symprfx in "" "_"; do
   7860 
   7861   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7862   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7863 
   7864   # Write the raw and C identifiers.
   7865   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7866     # Fake it for dumpbin and say T for any non-static function
   7867     # and D for any global variable.
   7868     # Also find C++ and __fastcall symbols from MSVC++,
   7869     # which start with @ or ?.
   7870     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7871 "     {last_section=section; section=\$ 3};"\
   7872 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7873 "     \$ 0!~/External *\|/{next};"\
   7874 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7875 "     {if(hide[section]) next};"\
   7876 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7877 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7878 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7879 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7880 "     ' prfx=^$ac_symprfx"
   7881   else
   7882     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7883   fi
   7884 
   7885   # Check to see that the pipe works correctly.
   7886   pipe_works=no
   7887 
   7888   rm -f conftest*
   7889   cat > conftest.$ac_ext <<_LT_EOF
   7890 #ifdef __cplusplus
   7891 extern "C" {
   7892 #endif
   7893 char nm_test_var;
   7894 void nm_test_func(void);
   7895 void nm_test_func(void){}
   7896 #ifdef __cplusplus
   7897 }
   7898 #endif
   7899 int main(){nm_test_var='a';nm_test_func();return(0);}
   7900 _LT_EOF
   7901 
   7902   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7903   (eval $ac_compile) 2>&5
   7904   ac_status=$?
   7905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7906   (exit $ac_status); }; then
   7907     # Now try to grab the symbols.
   7908     nlist=conftest.nm
   7909     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   7910   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   7911   ac_status=$?
   7912   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7913   (exit $ac_status); } && test -s "$nlist"; then
   7914       # Try sorting and uniquifying the output.
   7915       if sort "$nlist" | uniq > "$nlist"T; then
   7916 	mv -f "$nlist"T "$nlist"
   7917       else
   7918 	rm -f "$nlist"T
   7919       fi
   7920 
   7921       # Make sure that we snagged all the symbols we need.
   7922       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7923 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7924 	  cat <<_LT_EOF > conftest.$ac_ext
   7925 #ifdef __cplusplus
   7926 extern "C" {
   7927 #endif
   7928 
   7929 _LT_EOF
   7930 	  # Now generate the symbol file.
   7931 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7932 
   7933 	  cat <<_LT_EOF >> conftest.$ac_ext
   7934 
   7935 /* The mapping between symbol names and symbols.  */
   7936 const struct {
   7937   const char *name;
   7938   void       *address;
   7939 }
   7940 lt__PROGRAM__LTX_preloaded_symbols[] =
   7941 {
   7942   { "@PROGRAM@", (void *) 0 },
   7943 _LT_EOF
   7944 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7945 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7946   {0, (void *) 0}
   7947 };
   7948 
   7949 /* This works around a problem in FreeBSD linker */
   7950 #ifdef FREEBSD_WORKAROUND
   7951 static const void *lt_preloaded_setup() {
   7952   return lt__PROGRAM__LTX_preloaded_symbols;
   7953 }
   7954 #endif
   7955 
   7956 #ifdef __cplusplus
   7957 }
   7958 #endif
   7959 _LT_EOF
   7960 	  # Now try linking the two files.
   7961 	  mv conftest.$ac_objext conftstm.$ac_objext
   7962 	  lt_save_LIBS="$LIBS"
   7963 	  lt_save_CFLAGS="$CFLAGS"
   7964 	  LIBS="conftstm.$ac_objext"
   7965 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7966 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7967   (eval $ac_link) 2>&5
   7968   ac_status=$?
   7969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7970   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   7971 	    pipe_works=yes
   7972 	  fi
   7973 	  LIBS="$lt_save_LIBS"
   7974 	  CFLAGS="$lt_save_CFLAGS"
   7975 	else
   7976 	  echo "cannot find nm_test_func in $nlist" >&5
   7977 	fi
   7978       else
   7979 	echo "cannot find nm_test_var in $nlist" >&5
   7980       fi
   7981     else
   7982       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7983     fi
   7984   else
   7985     echo "$progname: failed program was:" >&5
   7986     cat conftest.$ac_ext >&5
   7987   fi
   7988   rm -rf conftest* conftst*
   7989 
   7990   # Do not use the global_symbol_pipe unless it works.
   7991   if test "$pipe_works" = yes; then
   7992     break
   7993   else
   7994     lt_cv_sys_global_symbol_pipe=
   7995   fi
   7996 done
   7997 
   7998 fi
   7999 
   8000 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8001   lt_cv_sys_global_symbol_to_cdecl=
   8002 fi
   8003 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8004   { $as_echo "$as_me:$LINENO: result: failed" >&5
   8005 $as_echo "failed" >&6; }
   8006 else
   8007   { $as_echo "$as_me:$LINENO: result: ok" >&5
   8008 $as_echo "ok" >&6; }
   8009 fi
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 # Check whether --enable-libtool-lock was given.
   8033 if test "${enable_libtool_lock+set}" = set; then
   8034   enableval=$enable_libtool_lock;
   8035 fi
   8036 
   8037 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   8038 
   8039 # Some flags need to be propagated to the compiler or linker for good
   8040 # libtool support.
   8041 case $host in
   8042 ia64-*-hpux*)
   8043   # Find out which ABI we are using.
   8044   echo 'int i;' > conftest.$ac_ext
   8045   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8046   (eval $ac_compile) 2>&5
   8047   ac_status=$?
   8048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8049   (exit $ac_status); }; then
   8050     case `/usr/bin/file conftest.$ac_objext` in
   8051       *ELF-32*)
   8052 	HPUX_IA64_MODE="32"
   8053 	;;
   8054       *ELF-64*)
   8055 	HPUX_IA64_MODE="64"
   8056 	;;
   8057     esac
   8058   fi
   8059   rm -rf conftest*
   8060   ;;
   8061 *-*-irix6*)
   8062   # Find out which ABI we are using.
   8063   echo '#line 8063 "configure"' > conftest.$ac_ext
   8064   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8065   (eval $ac_compile) 2>&5
   8066   ac_status=$?
   8067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8068   (exit $ac_status); }; then
   8069     if test "$lt_cv_prog_gnu_ld" = yes; then
   8070       case `/usr/bin/file conftest.$ac_objext` in
   8071 	*32-bit*)
   8072 	  LD="${LD-ld} -melf32bsmip"
   8073 	  ;;
   8074 	*N32*)
   8075 	  LD="${LD-ld} -melf32bmipn32"
   8076 	  ;;
   8077 	*64-bit*)
   8078 	  LD="${LD-ld} -melf64bmip"
   8079 	;;
   8080       esac
   8081     else
   8082       case `/usr/bin/file conftest.$ac_objext` in
   8083 	*32-bit*)
   8084 	  LD="${LD-ld} -32"
   8085 	  ;;
   8086 	*N32*)
   8087 	  LD="${LD-ld} -n32"
   8088 	  ;;
   8089 	*64-bit*)
   8090 	  LD="${LD-ld} -64"
   8091 	  ;;
   8092       esac
   8093     fi
   8094   fi
   8095   rm -rf conftest*
   8096   ;;
   8097 
   8098 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   8099 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8100   # Find out which ABI we are using.
   8101   echo 'int i;' > conftest.$ac_ext
   8102   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8103   (eval $ac_compile) 2>&5
   8104   ac_status=$?
   8105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8106   (exit $ac_status); }; then
   8107     case `/usr/bin/file conftest.o` in
   8108       *32-bit*)
   8109 	case $host in
   8110 	  x86_64-*kfreebsd*-gnu)
   8111 	    LD="${LD-ld} -m elf_i386_fbsd"
   8112 	    ;;
   8113 	  x86_64-*linux*)
   8114 	    LD="${LD-ld} -m elf_i386"
   8115 	    ;;
   8116 	  ppc64-*linux*|powerpc64-*linux*)
   8117 	    LD="${LD-ld} -m elf32ppclinux"
   8118 	    ;;
   8119 	  s390x-*linux*)
   8120 	    LD="${LD-ld} -m elf_s390"
   8121 	    ;;
   8122 	  sparc64-*linux*)
   8123 	    LD="${LD-ld} -m elf32_sparc"
   8124 	    ;;
   8125 	esac
   8126 	;;
   8127       *64-bit*)
   8128 	case $host in
   8129 	  x86_64-*kfreebsd*-gnu)
   8130 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8131 	    ;;
   8132 	  x86_64-*linux*)
   8133 	    LD="${LD-ld} -m elf_x86_64"
   8134 	    ;;
   8135 	  ppc*-*linux*|powerpc*-*linux*)
   8136 	    LD="${LD-ld} -m elf64ppc"
   8137 	    ;;
   8138 	  s390*-*linux*|s390*-*tpf*)
   8139 	    LD="${LD-ld} -m elf64_s390"
   8140 	    ;;
   8141 	  sparc*-*linux*)
   8142 	    LD="${LD-ld} -m elf64_sparc"
   8143 	    ;;
   8144 	esac
   8145 	;;
   8146     esac
   8147   fi
   8148   rm -rf conftest*
   8149   ;;
   8150 
   8151 *-*-sco3.2v5*)
   8152   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8153   SAVE_CFLAGS="$CFLAGS"
   8154   CFLAGS="$CFLAGS -belf"
   8155   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   8156 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8157 if test "${lt_cv_cc_needs_belf+set}" = set; then
   8158   $as_echo_n "(cached) " >&6
   8159 else
   8160   ac_ext=c
   8161 ac_cpp='$CPP $CPPFLAGS'
   8162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8165 
   8166      cat >conftest.$ac_ext <<_ACEOF
   8167 /* confdefs.h.  */
   8168 _ACEOF
   8169 cat confdefs.h >>conftest.$ac_ext
   8170 cat >>conftest.$ac_ext <<_ACEOF
   8171 /* end confdefs.h.  */
   8172 
   8173 int
   8174 main ()
   8175 {
   8176 
   8177   ;
   8178   return 0;
   8179 }
   8180 _ACEOF
   8181 rm -f conftest.$ac_objext conftest$ac_exeext
   8182 if { (ac_try="$ac_link"
   8183 case "(($ac_try" in
   8184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8185   *) ac_try_echo=$ac_try;;
   8186 esac
   8187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8188 $as_echo "$ac_try_echo") >&5
   8189   (eval "$ac_link") 2>conftest.er1
   8190   ac_status=$?
   8191   grep -v '^ *+' conftest.er1 >conftest.err
   8192   rm -f conftest.er1
   8193   cat conftest.err >&5
   8194   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8195   (exit $ac_status); } && {
   8196 	 test -z "$ac_c_werror_flag" ||
   8197 	 test ! -s conftest.err
   8198        } && test -s conftest$ac_exeext && {
   8199 	 test "$cross_compiling" = yes ||
   8200 	 $as_test_x conftest$ac_exeext
   8201        }; then
   8202   lt_cv_cc_needs_belf=yes
   8203 else
   8204   $as_echo "$as_me: failed program was:" >&5
   8205 sed 's/^/| /' conftest.$ac_ext >&5
   8206 
   8207 	lt_cv_cc_needs_belf=no
   8208 fi
   8209 
   8210 rm -rf conftest.dSYM
   8211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8212       conftest$ac_exeext conftest.$ac_ext
   8213      ac_ext=c
   8214 ac_cpp='$CPP $CPPFLAGS'
   8215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8218 
   8219 fi
   8220 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   8221 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8222   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   8223     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8224     CFLAGS="$SAVE_CFLAGS"
   8225   fi
   8226   ;;
   8227 sparc*-*solaris*)
   8228   # Find out which ABI we are using.
   8229   echo 'int i;' > conftest.$ac_ext
   8230   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8231   (eval $ac_compile) 2>&5
   8232   ac_status=$?
   8233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8234   (exit $ac_status); }; then
   8235     case `/usr/bin/file conftest.o` in
   8236     *64-bit*)
   8237       case $lt_cv_prog_gnu_ld in
   8238       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   8239       *)
   8240 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8241 	  LD="${LD-ld} -64"
   8242 	fi
   8243 	;;
   8244       esac
   8245       ;;
   8246     esac
   8247   fi
   8248   rm -rf conftest*
   8249   ;;
   8250 esac
   8251 
   8252 need_locks="$enable_libtool_lock"
   8253 
   8254 
   8255   case $host_os in
   8256     rhapsody* | darwin*)
   8257     if test -n "$ac_tool_prefix"; then
   8258   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8259 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8261 $as_echo_n "checking for $ac_word... " >&6; }
   8262 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   8263   $as_echo_n "(cached) " >&6
   8264 else
   8265   if test -n "$DSYMUTIL"; then
   8266   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8267 else
   8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8269 for as_dir in $PATH
   8270 do
   8271   IFS=$as_save_IFS
   8272   test -z "$as_dir" && as_dir=.
   8273   for ac_exec_ext in '' $ac_executable_extensions; do
   8274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8275     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8277     break 2
   8278   fi
   8279 done
   8280 done
   8281 IFS=$as_save_IFS
   8282 
   8283 fi
   8284 fi
   8285 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8286 if test -n "$DSYMUTIL"; then
   8287   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   8288 $as_echo "$DSYMUTIL" >&6; }
   8289 else
   8290   { $as_echo "$as_me:$LINENO: result: no" >&5
   8291 $as_echo "no" >&6; }
   8292 fi
   8293 
   8294 
   8295 fi
   8296 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8297   ac_ct_DSYMUTIL=$DSYMUTIL
   8298   # Extract the first word of "dsymutil", so it can be a program name with args.
   8299 set dummy dsymutil; ac_word=$2
   8300 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8301 $as_echo_n "checking for $ac_word... " >&6; }
   8302 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   8303   $as_echo_n "(cached) " >&6
   8304 else
   8305   if test -n "$ac_ct_DSYMUTIL"; then
   8306   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8307 else
   8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8309 for as_dir in $PATH
   8310 do
   8311   IFS=$as_save_IFS
   8312   test -z "$as_dir" && as_dir=.
   8313   for ac_exec_ext in '' $ac_executable_extensions; do
   8314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8315     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8316     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8317     break 2
   8318   fi
   8319 done
   8320 done
   8321 IFS=$as_save_IFS
   8322 
   8323 fi
   8324 fi
   8325 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8326 if test -n "$ac_ct_DSYMUTIL"; then
   8327   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   8328 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8329 else
   8330   { $as_echo "$as_me:$LINENO: result: no" >&5
   8331 $as_echo "no" >&6; }
   8332 fi
   8333 
   8334   if test "x$ac_ct_DSYMUTIL" = x; then
   8335     DSYMUTIL=":"
   8336   else
   8337     case $cross_compiling:$ac_tool_warned in
   8338 yes:)
   8339 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8341 ac_tool_warned=yes ;;
   8342 esac
   8343     DSYMUTIL=$ac_ct_DSYMUTIL
   8344   fi
   8345 else
   8346   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8347 fi
   8348 
   8349     if test -n "$ac_tool_prefix"; then
   8350   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8351 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8353 $as_echo_n "checking for $ac_word... " >&6; }
   8354 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   if test -n "$NMEDIT"; then
   8358   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8359 else
   8360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8361 for as_dir in $PATH
   8362 do
   8363   IFS=$as_save_IFS
   8364   test -z "$as_dir" && as_dir=.
   8365   for ac_exec_ext in '' $ac_executable_extensions; do
   8366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8367     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8368     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8369     break 2
   8370   fi
   8371 done
   8372 done
   8373 IFS=$as_save_IFS
   8374 
   8375 fi
   8376 fi
   8377 NMEDIT=$ac_cv_prog_NMEDIT
   8378 if test -n "$NMEDIT"; then
   8379   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   8380 $as_echo "$NMEDIT" >&6; }
   8381 else
   8382   { $as_echo "$as_me:$LINENO: result: no" >&5
   8383 $as_echo "no" >&6; }
   8384 fi
   8385 
   8386 
   8387 fi
   8388 if test -z "$ac_cv_prog_NMEDIT"; then
   8389   ac_ct_NMEDIT=$NMEDIT
   8390   # Extract the first word of "nmedit", so it can be a program name with args.
   8391 set dummy nmedit; ac_word=$2
   8392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8393 $as_echo_n "checking for $ac_word... " >&6; }
   8394 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   8395   $as_echo_n "(cached) " >&6
   8396 else
   8397   if test -n "$ac_ct_NMEDIT"; then
   8398   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8399 else
   8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8401 for as_dir in $PATH
   8402 do
   8403   IFS=$as_save_IFS
   8404   test -z "$as_dir" && as_dir=.
   8405   for ac_exec_ext in '' $ac_executable_extensions; do
   8406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8407     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8408     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8409     break 2
   8410   fi
   8411 done
   8412 done
   8413 IFS=$as_save_IFS
   8414 
   8415 fi
   8416 fi
   8417 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8418 if test -n "$ac_ct_NMEDIT"; then
   8419   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   8420 $as_echo "$ac_ct_NMEDIT" >&6; }
   8421 else
   8422   { $as_echo "$as_me:$LINENO: result: no" >&5
   8423 $as_echo "no" >&6; }
   8424 fi
   8425 
   8426   if test "x$ac_ct_NMEDIT" = x; then
   8427     NMEDIT=":"
   8428   else
   8429     case $cross_compiling:$ac_tool_warned in
   8430 yes:)
   8431 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8433 ac_tool_warned=yes ;;
   8434 esac
   8435     NMEDIT=$ac_ct_NMEDIT
   8436   fi
   8437 else
   8438   NMEDIT="$ac_cv_prog_NMEDIT"
   8439 fi
   8440 
   8441     if test -n "$ac_tool_prefix"; then
   8442   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8443 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8444 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8445 $as_echo_n "checking for $ac_word... " >&6; }
   8446 if test "${ac_cv_prog_LIPO+set}" = set; then
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   if test -n "$LIPO"; then
   8450   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8451 else
   8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8453 for as_dir in $PATH
   8454 do
   8455   IFS=$as_save_IFS
   8456   test -z "$as_dir" && as_dir=.
   8457   for ac_exec_ext in '' $ac_executable_extensions; do
   8458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8459     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8460     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8461     break 2
   8462   fi
   8463 done
   8464 done
   8465 IFS=$as_save_IFS
   8466 
   8467 fi
   8468 fi
   8469 LIPO=$ac_cv_prog_LIPO
   8470 if test -n "$LIPO"; then
   8471   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   8472 $as_echo "$LIPO" >&6; }
   8473 else
   8474   { $as_echo "$as_me:$LINENO: result: no" >&5
   8475 $as_echo "no" >&6; }
   8476 fi
   8477 
   8478 
   8479 fi
   8480 if test -z "$ac_cv_prog_LIPO"; then
   8481   ac_ct_LIPO=$LIPO
   8482   # Extract the first word of "lipo", so it can be a program name with args.
   8483 set dummy lipo; ac_word=$2
   8484 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8485 $as_echo_n "checking for $ac_word... " >&6; }
   8486 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   8487   $as_echo_n "(cached) " >&6
   8488 else
   8489   if test -n "$ac_ct_LIPO"; then
   8490   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8491 else
   8492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8493 for as_dir in $PATH
   8494 do
   8495   IFS=$as_save_IFS
   8496   test -z "$as_dir" && as_dir=.
   8497   for ac_exec_ext in '' $ac_executable_extensions; do
   8498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8499     ac_cv_prog_ac_ct_LIPO="lipo"
   8500     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8501     break 2
   8502   fi
   8503 done
   8504 done
   8505 IFS=$as_save_IFS
   8506 
   8507 fi
   8508 fi
   8509 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8510 if test -n "$ac_ct_LIPO"; then
   8511   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   8512 $as_echo "$ac_ct_LIPO" >&6; }
   8513 else
   8514   { $as_echo "$as_me:$LINENO: result: no" >&5
   8515 $as_echo "no" >&6; }
   8516 fi
   8517 
   8518   if test "x$ac_ct_LIPO" = x; then
   8519     LIPO=":"
   8520   else
   8521     case $cross_compiling:$ac_tool_warned in
   8522 yes:)
   8523 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8525 ac_tool_warned=yes ;;
   8526 esac
   8527     LIPO=$ac_ct_LIPO
   8528   fi
   8529 else
   8530   LIPO="$ac_cv_prog_LIPO"
   8531 fi
   8532 
   8533     if test -n "$ac_tool_prefix"; then
   8534   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8535 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8536 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8537 $as_echo_n "checking for $ac_word... " >&6; }
   8538 if test "${ac_cv_prog_OTOOL+set}" = set; then
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   if test -n "$OTOOL"; then
   8542   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8543 else
   8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8545 for as_dir in $PATH
   8546 do
   8547   IFS=$as_save_IFS
   8548   test -z "$as_dir" && as_dir=.
   8549   for ac_exec_ext in '' $ac_executable_extensions; do
   8550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8551     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8552     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8553     break 2
   8554   fi
   8555 done
   8556 done
   8557 IFS=$as_save_IFS
   8558 
   8559 fi
   8560 fi
   8561 OTOOL=$ac_cv_prog_OTOOL
   8562 if test -n "$OTOOL"; then
   8563   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   8564 $as_echo "$OTOOL" >&6; }
   8565 else
   8566   { $as_echo "$as_me:$LINENO: result: no" >&5
   8567 $as_echo "no" >&6; }
   8568 fi
   8569 
   8570 
   8571 fi
   8572 if test -z "$ac_cv_prog_OTOOL"; then
   8573   ac_ct_OTOOL=$OTOOL
   8574   # Extract the first word of "otool", so it can be a program name with args.
   8575 set dummy otool; ac_word=$2
   8576 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8577 $as_echo_n "checking for $ac_word... " >&6; }
   8578 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   8579   $as_echo_n "(cached) " >&6
   8580 else
   8581   if test -n "$ac_ct_OTOOL"; then
   8582   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8583 else
   8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8585 for as_dir in $PATH
   8586 do
   8587   IFS=$as_save_IFS
   8588   test -z "$as_dir" && as_dir=.
   8589   for ac_exec_ext in '' $ac_executable_extensions; do
   8590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8591     ac_cv_prog_ac_ct_OTOOL="otool"
   8592     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8593     break 2
   8594   fi
   8595 done
   8596 done
   8597 IFS=$as_save_IFS
   8598 
   8599 fi
   8600 fi
   8601 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8602 if test -n "$ac_ct_OTOOL"; then
   8603   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   8604 $as_echo "$ac_ct_OTOOL" >&6; }
   8605 else
   8606   { $as_echo "$as_me:$LINENO: result: no" >&5
   8607 $as_echo "no" >&6; }
   8608 fi
   8609 
   8610   if test "x$ac_ct_OTOOL" = x; then
   8611     OTOOL=":"
   8612   else
   8613     case $cross_compiling:$ac_tool_warned in
   8614 yes:)
   8615 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8617 ac_tool_warned=yes ;;
   8618 esac
   8619     OTOOL=$ac_ct_OTOOL
   8620   fi
   8621 else
   8622   OTOOL="$ac_cv_prog_OTOOL"
   8623 fi
   8624 
   8625     if test -n "$ac_tool_prefix"; then
   8626   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8627 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8629 $as_echo_n "checking for $ac_word... " >&6; }
   8630 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   8631   $as_echo_n "(cached) " >&6
   8632 else
   8633   if test -n "$OTOOL64"; then
   8634   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8635 else
   8636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8637 for as_dir in $PATH
   8638 do
   8639   IFS=$as_save_IFS
   8640   test -z "$as_dir" && as_dir=.
   8641   for ac_exec_ext in '' $ac_executable_extensions; do
   8642   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8643     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8644     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8645     break 2
   8646   fi
   8647 done
   8648 done
   8649 IFS=$as_save_IFS
   8650 
   8651 fi
   8652 fi
   8653 OTOOL64=$ac_cv_prog_OTOOL64
   8654 if test -n "$OTOOL64"; then
   8655   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   8656 $as_echo "$OTOOL64" >&6; }
   8657 else
   8658   { $as_echo "$as_me:$LINENO: result: no" >&5
   8659 $as_echo "no" >&6; }
   8660 fi
   8661 
   8662 
   8663 fi
   8664 if test -z "$ac_cv_prog_OTOOL64"; then
   8665   ac_ct_OTOOL64=$OTOOL64
   8666   # Extract the first word of "otool64", so it can be a program name with args.
   8667 set dummy otool64; ac_word=$2
   8668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   8669 $as_echo_n "checking for $ac_word... " >&6; }
   8670 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   if test -n "$ac_ct_OTOOL64"; then
   8674   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8675 else
   8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8677 for as_dir in $PATH
   8678 do
   8679   IFS=$as_save_IFS
   8680   test -z "$as_dir" && as_dir=.
   8681   for ac_exec_ext in '' $ac_executable_extensions; do
   8682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8683     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8684     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   8685     break 2
   8686   fi
   8687 done
   8688 done
   8689 IFS=$as_save_IFS
   8690 
   8691 fi
   8692 fi
   8693 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8694 if test -n "$ac_ct_OTOOL64"; then
   8695   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   8696 $as_echo "$ac_ct_OTOOL64" >&6; }
   8697 else
   8698   { $as_echo "$as_me:$LINENO: result: no" >&5
   8699 $as_echo "no" >&6; }
   8700 fi
   8701 
   8702   if test "x$ac_ct_OTOOL64" = x; then
   8703     OTOOL64=":"
   8704   else
   8705     case $cross_compiling:$ac_tool_warned in
   8706 yes:)
   8707 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   8708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8709 ac_tool_warned=yes ;;
   8710 esac
   8711     OTOOL64=$ac_ct_OTOOL64
   8712   fi
   8713 else
   8714   OTOOL64="$ac_cv_prog_OTOOL64"
   8715 fi
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   8744 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8745 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   8746   $as_echo_n "(cached) " >&6
   8747 else
   8748   lt_cv_apple_cc_single_mod=no
   8749       if test -z "${LT_MULTI_MODULE}"; then
   8750 	# By default we will add the -single_module flag. You can override
   8751 	# by either setting the environment variable LT_MULTI_MODULE
   8752 	# non-empty at configure time, or by adding -multi_module to the
   8753 	# link flags.
   8754 	rm -rf libconftest.dylib*
   8755 	echo "int foo(void){return 1;}" > conftest.c
   8756 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8757 -dynamiclib -Wl,-single_module conftest.c" >&5
   8758 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8759 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8760         _lt_result=$?
   8761 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8762 	  lt_cv_apple_cc_single_mod=yes
   8763 	else
   8764 	  cat conftest.err >&5
   8765 	fi
   8766 	rm -rf libconftest.dylib*
   8767 	rm -f conftest.*
   8768       fi
   8769 fi
   8770 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   8771 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8772     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   8773 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8774 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   lt_cv_ld_exported_symbols_list=no
   8778       save_LDFLAGS=$LDFLAGS
   8779       echo "_main" > conftest.sym
   8780       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8781       cat >conftest.$ac_ext <<_ACEOF
   8782 /* confdefs.h.  */
   8783 _ACEOF
   8784 cat confdefs.h >>conftest.$ac_ext
   8785 cat >>conftest.$ac_ext <<_ACEOF
   8786 /* end confdefs.h.  */
   8787 
   8788 int
   8789 main ()
   8790 {
   8791 
   8792   ;
   8793   return 0;
   8794 }
   8795 _ACEOF
   8796 rm -f conftest.$ac_objext conftest$ac_exeext
   8797 if { (ac_try="$ac_link"
   8798 case "(($ac_try" in
   8799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8800   *) ac_try_echo=$ac_try;;
   8801 esac
   8802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8803 $as_echo "$ac_try_echo") >&5
   8804   (eval "$ac_link") 2>conftest.er1
   8805   ac_status=$?
   8806   grep -v '^ *+' conftest.er1 >conftest.err
   8807   rm -f conftest.er1
   8808   cat conftest.err >&5
   8809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8810   (exit $ac_status); } && {
   8811 	 test -z "$ac_c_werror_flag" ||
   8812 	 test ! -s conftest.err
   8813        } && test -s conftest$ac_exeext && {
   8814 	 test "$cross_compiling" = yes ||
   8815 	 $as_test_x conftest$ac_exeext
   8816        }; then
   8817   lt_cv_ld_exported_symbols_list=yes
   8818 else
   8819   $as_echo "$as_me: failed program was:" >&5
   8820 sed 's/^/| /' conftest.$ac_ext >&5
   8821 
   8822 	lt_cv_ld_exported_symbols_list=no
   8823 fi
   8824 
   8825 rm -rf conftest.dSYM
   8826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8827       conftest$ac_exeext conftest.$ac_ext
   8828 	LDFLAGS="$save_LDFLAGS"
   8829 
   8830 fi
   8831 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   8832 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8833     case $host_os in
   8834     rhapsody* | darwin1.[012])
   8835       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8836     darwin1.*)
   8837       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8838     darwin*) # darwin 5.x on
   8839       # if running on 10.5 or later, the deployment target defaults
   8840       # to the OS version, if on x86, and 10.4, the deployment
   8841       # target defaults to 10.4. Don't you love it?
   8842       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8843 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8844 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8845 	10.[012]*)
   8846 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8847 	10.*)
   8848 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8849       esac
   8850     ;;
   8851   esac
   8852     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8853       _lt_dar_single_mod='$single_module'
   8854     fi
   8855     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8856       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8857     else
   8858       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8859     fi
   8860     if test "$DSYMUTIL" != ":"; then
   8861       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8862     else
   8863       _lt_dsymutil=
   8864     fi
   8865     ;;
   8866   esac
   8867 
   8868 
   8869 for ac_header in dlfcn.h
   8870 do
   8871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8872 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   8873 $as_echo_n "checking for $ac_header... " >&6; }
   8874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   8875   $as_echo_n "(cached) " >&6
   8876 else
   8877   cat >conftest.$ac_ext <<_ACEOF
   8878 /* confdefs.h.  */
   8879 _ACEOF
   8880 cat confdefs.h >>conftest.$ac_ext
   8881 cat >>conftest.$ac_ext <<_ACEOF
   8882 /* end confdefs.h.  */
   8883 $ac_includes_default
   8884 
   8885 #include <$ac_header>
   8886 _ACEOF
   8887 rm -f conftest.$ac_objext
   8888 if { (ac_try="$ac_compile"
   8889 case "(($ac_try" in
   8890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8891   *) ac_try_echo=$ac_try;;
   8892 esac
   8893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8894 $as_echo "$ac_try_echo") >&5
   8895   (eval "$ac_compile") 2>conftest.er1
   8896   ac_status=$?
   8897   grep -v '^ *+' conftest.er1 >conftest.err
   8898   rm -f conftest.er1
   8899   cat conftest.err >&5
   8900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8901   (exit $ac_status); } && {
   8902 	 test -z "$ac_c_werror_flag" ||
   8903 	 test ! -s conftest.err
   8904        } && test -s conftest.$ac_objext; then
   8905   eval "$as_ac_Header=yes"
   8906 else
   8907   $as_echo "$as_me: failed program was:" >&5
   8908 sed 's/^/| /' conftest.$ac_ext >&5
   8909 
   8910 	eval "$as_ac_Header=no"
   8911 fi
   8912 
   8913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8914 fi
   8915 ac_res=`eval 'as_val=${'$as_ac_Header'}
   8916 		 $as_echo "$as_val"'`
   8917 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   8918 $as_echo "$ac_res" >&6; }
   8919 as_val=`eval 'as_val=${'$as_ac_Header'}
   8920 		 $as_echo "$as_val"'`
   8921    if test "x$as_val" = x""yes; then
   8922   cat >>confdefs.h <<_ACEOF
   8923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8924 _ACEOF
   8925 
   8926 fi
   8927 
   8928 done
   8929 
   8930 
   8931 
   8932 # Set options
   8933 
   8934 
   8935 
   8936         enable_dlopen=no
   8937 
   8938 
   8939   enable_win32_dll=no
   8940 
   8941 
   8942             # Check whether --enable-shared was given.
   8943 if test "${enable_shared+set}" = set; then
   8944   enableval=$enable_shared; p=${PACKAGE-default}
   8945     case $enableval in
   8946     yes) enable_shared=yes ;;
   8947     no) enable_shared=no ;;
   8948     *)
   8949       enable_shared=no
   8950       # Look at the argument we got.  We use all the common list separators.
   8951       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8952       for pkg in $enableval; do
   8953 	IFS="$lt_save_ifs"
   8954 	if test "X$pkg" = "X$p"; then
   8955 	  enable_shared=yes
   8956 	fi
   8957       done
   8958       IFS="$lt_save_ifs"
   8959       ;;
   8960     esac
   8961 else
   8962   enable_shared=yes
   8963 fi
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973   # Check whether --enable-static was given.
   8974 if test "${enable_static+set}" = set; then
   8975   enableval=$enable_static; p=${PACKAGE-default}
   8976     case $enableval in
   8977     yes) enable_static=yes ;;
   8978     no) enable_static=no ;;
   8979     *)
   8980      enable_static=no
   8981       # Look at the argument we got.  We use all the common list separators.
   8982       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8983       for pkg in $enableval; do
   8984 	IFS="$lt_save_ifs"
   8985 	if test "X$pkg" = "X$p"; then
   8986 	  enable_static=yes
   8987 	fi
   8988       done
   8989       IFS="$lt_save_ifs"
   8990       ;;
   8991     esac
   8992 else
   8993   enable_static=yes
   8994 fi
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 # Check whether --with-pic was given.
   9006 if test "${with_pic+set}" = set; then
   9007   withval=$with_pic; pic_mode="$withval"
   9008 else
   9009   pic_mode=default
   9010 fi
   9011 
   9012 
   9013 test -z "$pic_mode" && pic_mode=default
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021   # Check whether --enable-fast-install was given.
   9022 if test "${enable_fast_install+set}" = set; then
   9023   enableval=$enable_fast_install; p=${PACKAGE-default}
   9024     case $enableval in
   9025     yes) enable_fast_install=yes ;;
   9026     no) enable_fast_install=no ;;
   9027     *)
   9028       enable_fast_install=no
   9029       # Look at the argument we got.  We use all the common list separators.
   9030       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9031       for pkg in $enableval; do
   9032 	IFS="$lt_save_ifs"
   9033 	if test "X$pkg" = "X$p"; then
   9034 	  enable_fast_install=yes
   9035 	fi
   9036       done
   9037       IFS="$lt_save_ifs"
   9038       ;;
   9039     esac
   9040 else
   9041   enable_fast_install=yes
   9042 fi
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 # This can be used to rebuild libtool when needed
   9055 LIBTOOL_DEPS="$ltmain"
   9056 
   9057 # Always use our own libtool.
   9058 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 test -z "$LN_S" && LN_S="ln -s"
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 if test -n "${ZSH_VERSION+set}" ; then
   9100    setopt NO_GLOB_SUBST
   9101 fi
   9102 
   9103 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   9104 $as_echo_n "checking for objdir... " >&6; }
   9105 if test "${lt_cv_objdir+set}" = set; then
   9106   $as_echo_n "(cached) " >&6
   9107 else
   9108   rm -f .libs 2>/dev/null
   9109 mkdir .libs 2>/dev/null
   9110 if test -d .libs; then
   9111   lt_cv_objdir=.libs
   9112 else
   9113   # MS-DOS does not allow filenames that begin with a dot.
   9114   lt_cv_objdir=_libs
   9115 fi
   9116 rmdir .libs 2>/dev/null
   9117 fi
   9118 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   9119 $as_echo "$lt_cv_objdir" >&6; }
   9120 objdir=$lt_cv_objdir
   9121 
   9122 
   9123 
   9124 
   9125 
   9126 cat >>confdefs.h <<_ACEOF
   9127 #define LT_OBJDIR "$lt_cv_objdir/"
   9128 _ACEOF
   9129 
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 case $host_os in
   9147 aix3*)
   9148   # AIX sometimes has problems with the GCC collect2 program.  For some
   9149   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9150   # vanish in a puff of smoke.
   9151   if test "X${COLLECT_NAMES+set}" != Xset; then
   9152     COLLECT_NAMES=
   9153     export COLLECT_NAMES
   9154   fi
   9155   ;;
   9156 esac
   9157 
   9158 # Sed substitution that helps us do robust quoting.  It backslashifies
   9159 # metacharacters that are still active within double-quoted strings.
   9160 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   9161 
   9162 # Same as above, but do not quote variable references.
   9163 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   9164 
   9165 # Sed substitution to delay expansion of an escaped shell variable in a
   9166 # double_quote_subst'ed string.
   9167 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   9168 
   9169 # Sed substitution to delay expansion of an escaped single quote.
   9170 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   9171 
   9172 # Sed substitution to avoid accidental globbing in evaled expressions
   9173 no_glob_subst='s/\*/\\\*/g'
   9174 
   9175 # Global variables:
   9176 ofile=libtool
   9177 can_build_shared=yes
   9178 
   9179 # All known linkers require a `.a' archive for static linking (except MSVC,
   9180 # which needs '.lib').
   9181 libext=a
   9182 
   9183 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9184 
   9185 old_CC="$CC"
   9186 old_CFLAGS="$CFLAGS"
   9187 
   9188 # Set sane defaults for various variables
   9189 test -z "$CC" && CC=cc
   9190 test -z "$LTCC" && LTCC=$CC
   9191 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9192 test -z "$LD" && LD=ld
   9193 test -z "$ac_objext" && ac_objext=o
   9194 
   9195 for cc_temp in $compiler""; do
   9196   case $cc_temp in
   9197     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9198     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9199     \-*) ;;
   9200     *) break;;
   9201   esac
   9202 done
   9203 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   9204 
   9205 
   9206 # Only perform the check for file, if the check method requires it
   9207 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9208 case $deplibs_check_method in
   9209 file_magic*)
   9210   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9211     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   9212 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9213 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   9214   $as_echo_n "(cached) " >&6
   9215 else
   9216   case $MAGIC_CMD in
   9217 [\\/*] |  ?:[\\/]*)
   9218   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9219   ;;
   9220 *)
   9221   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9222   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9223   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9224   for ac_dir in $ac_dummy; do
   9225     IFS="$lt_save_ifs"
   9226     test -z "$ac_dir" && ac_dir=.
   9227     if test -f $ac_dir/${ac_tool_prefix}file; then
   9228       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9229       if test -n "$file_magic_test_file"; then
   9230 	case $deplibs_check_method in
   9231 	"file_magic "*)
   9232 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9233 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9234 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9235 	    $EGREP "$file_magic_regex" > /dev/null; then
   9236 	    :
   9237 	  else
   9238 	    cat <<_LT_EOF 1>&2
   9239 
   9240 *** Warning: the command libtool uses to detect shared libraries,
   9241 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9242 *** The result is that libtool may fail to recognize shared libraries
   9243 *** as such.  This will affect the creation of libtool libraries that
   9244 *** depend on shared libraries, but programs linked with such libtool
   9245 *** libraries will work regardless of this problem.  Nevertheless, you
   9246 *** may want to report the problem to your system manager and/or to
   9247 *** bug-libtool@gnu.org
   9248 
   9249 _LT_EOF
   9250 	  fi ;;
   9251 	esac
   9252       fi
   9253       break
   9254     fi
   9255   done
   9256   IFS="$lt_save_ifs"
   9257   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9258   ;;
   9259 esac
   9260 fi
   9261 
   9262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9263 if test -n "$MAGIC_CMD"; then
   9264   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   9265 $as_echo "$MAGIC_CMD" >&6; }
   9266 else
   9267   { $as_echo "$as_me:$LINENO: result: no" >&5
   9268 $as_echo "no" >&6; }
   9269 fi
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9276   if test -n "$ac_tool_prefix"; then
   9277     { $as_echo "$as_me:$LINENO: checking for file" >&5
   9278 $as_echo_n "checking for file... " >&6; }
   9279 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   9280   $as_echo_n "(cached) " >&6
   9281 else
   9282   case $MAGIC_CMD in
   9283 [\\/*] |  ?:[\\/]*)
   9284   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9285   ;;
   9286 *)
   9287   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9288   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9289   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9290   for ac_dir in $ac_dummy; do
   9291     IFS="$lt_save_ifs"
   9292     test -z "$ac_dir" && ac_dir=.
   9293     if test -f $ac_dir/file; then
   9294       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9295       if test -n "$file_magic_test_file"; then
   9296 	case $deplibs_check_method in
   9297 	"file_magic "*)
   9298 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9299 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9300 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9301 	    $EGREP "$file_magic_regex" > /dev/null; then
   9302 	    :
   9303 	  else
   9304 	    cat <<_LT_EOF 1>&2
   9305 
   9306 *** Warning: the command libtool uses to detect shared libraries,
   9307 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9308 *** The result is that libtool may fail to recognize shared libraries
   9309 *** as such.  This will affect the creation of libtool libraries that
   9310 *** depend on shared libraries, but programs linked with such libtool
   9311 *** libraries will work regardless of this problem.  Nevertheless, you
   9312 *** may want to report the problem to your system manager and/or to
   9313 *** bug-libtool@gnu.org
   9314 
   9315 _LT_EOF
   9316 	  fi ;;
   9317 	esac
   9318       fi
   9319       break
   9320     fi
   9321   done
   9322   IFS="$lt_save_ifs"
   9323   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9324   ;;
   9325 esac
   9326 fi
   9327 
   9328 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9329 if test -n "$MAGIC_CMD"; then
   9330   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   9331 $as_echo "$MAGIC_CMD" >&6; }
   9332 else
   9333   { $as_echo "$as_me:$LINENO: result: no" >&5
   9334 $as_echo "no" >&6; }
   9335 fi
   9336 
   9337 
   9338   else
   9339     MAGIC_CMD=:
   9340   fi
   9341 fi
   9342 
   9343   fi
   9344   ;;
   9345 esac
   9346 
   9347 # Use C for the default configuration in the libtool script
   9348 
   9349 lt_save_CC="$CC"
   9350 ac_ext=c
   9351 ac_cpp='$CPP $CPPFLAGS'
   9352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9355 
   9356 
   9357 # Source file extension for C test sources.
   9358 ac_ext=c
   9359 
   9360 # Object file extension for compiled C test sources.
   9361 objext=o
   9362 objext=$objext
   9363 
   9364 # Code to be used in simple compile tests
   9365 lt_simple_compile_test_code="int some_variable = 0;"
   9366 
   9367 # Code to be used in simple link tests
   9368 lt_simple_link_test_code='int main(){return(0);}'
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 # If no C compiler was specified, use CC.
   9377 LTCC=${LTCC-"$CC"}
   9378 
   9379 # If no C compiler flags were specified, use CFLAGS.
   9380 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9381 
   9382 # Allow CC to be a program name with arguments.
   9383 compiler=$CC
   9384 
   9385 # Save the default compiler, since it gets overwritten when the other
   9386 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9387 compiler_DEFAULT=$CC
   9388 
   9389 # save warnings/boilerplate of simple test code
   9390 ac_outfile=conftest.$ac_objext
   9391 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9392 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9393 _lt_compiler_boilerplate=`cat conftest.err`
   9394 $RM conftest*
   9395 
   9396 ac_outfile=conftest.$ac_objext
   9397 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9398 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9399 _lt_linker_boilerplate=`cat conftest.err`
   9400 $RM -r conftest*
   9401 
   9402 
   9403 if test -n "$compiler"; then
   9404 
   9405 lt_prog_compiler_no_builtin_flag=
   9406 
   9407 if test "$GCC" = yes; then
   9408   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   9409 
   9410   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9411 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9412 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   9413   $as_echo_n "(cached) " >&6
   9414 else
   9415   lt_cv_prog_compiler_rtti_exceptions=no
   9416    ac_outfile=conftest.$ac_objext
   9417    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9418    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9419    # Insert the option either (1) after the last *FLAGS variable, or
   9420    # (2) before a word containing "conftest.", or (3) at the end.
   9421    # Note that $ac_compile itself does not contain backslashes and begins
   9422    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9423    # The option is referenced via a variable to avoid confusing sed.
   9424    lt_compile=`echo "$ac_compile" | $SED \
   9425    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9426    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9427    -e 's:$: $lt_compiler_flag:'`
   9428    (eval echo "\"\$as_me:9428: $lt_compile\"" >&5)
   9429    (eval "$lt_compile" 2>conftest.err)
   9430    ac_status=$?
   9431    cat conftest.err >&5
   9432    echo "$as_me:9432: \$? = $ac_status" >&5
   9433    if (exit $ac_status) && test -s "$ac_outfile"; then
   9434      # The compiler can only warn and ignore the option if not recognized
   9435      # So say no if there are warnings other than the usual output.
   9436      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   9437      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9438      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9439        lt_cv_prog_compiler_rtti_exceptions=yes
   9440      fi
   9441    fi
   9442    $RM conftest*
   9443 
   9444 fi
   9445 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9446 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9447 
   9448 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9449     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9450 else
   9451     :
   9452 fi
   9453 
   9454 fi
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461   lt_prog_compiler_wl=
   9462 lt_prog_compiler_pic=
   9463 lt_prog_compiler_static=
   9464 
   9465 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   9466 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9467 
   9468   if test "$GCC" = yes; then
   9469     lt_prog_compiler_wl='-Wl,'
   9470     lt_prog_compiler_static='-static'
   9471 
   9472     case $host_os in
   9473       aix*)
   9474       # All AIX code is PIC.
   9475       if test "$host_cpu" = ia64; then
   9476 	# AIX 5 now supports IA64 processor
   9477 	lt_prog_compiler_static='-Bstatic'
   9478       fi
   9479       ;;
   9480 
   9481     amigaos*)
   9482       case $host_cpu in
   9483       powerpc)
   9484             # see comment about AmigaOS4 .so support
   9485             lt_prog_compiler_pic='-fPIC'
   9486         ;;
   9487       m68k)
   9488             # FIXME: we need at least 68020 code to build shared libraries, but
   9489             # adding the `-m68020' flag to GCC prevents building anything better,
   9490             # like `-m68040'.
   9491             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9492         ;;
   9493       esac
   9494       ;;
   9495 
   9496     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9497       # PIC is the default for these OSes.
   9498       ;;
   9499 
   9500     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9501       # This hack is so that the source file can tell whether it is being
   9502       # built for inclusion in a dll (and should export symbols for example).
   9503       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9504       # (--disable-auto-import) libraries
   9505       lt_prog_compiler_pic='-DDLL_EXPORT'
   9506       ;;
   9507 
   9508     darwin* | rhapsody*)
   9509       # PIC is the default on this platform
   9510       # Common symbols not allowed in MH_DYLIB files
   9511       lt_prog_compiler_pic='-fno-common'
   9512       ;;
   9513 
   9514     hpux*)
   9515       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9516       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9517       # sets the default TLS model and affects inlining.
   9518       case $host_cpu in
   9519       hppa*64*)
   9520 	# +Z the default
   9521 	;;
   9522       *)
   9523 	lt_prog_compiler_pic='-fPIC'
   9524 	;;
   9525       esac
   9526       ;;
   9527 
   9528     interix[3-9]*)
   9529       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9530       # Instead, we relocate shared libraries at runtime.
   9531       ;;
   9532 
   9533     msdosdjgpp*)
   9534       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9535       # on systems that don't support them.
   9536       lt_prog_compiler_can_build_shared=no
   9537       enable_shared=no
   9538       ;;
   9539 
   9540     *nto* | *qnx*)
   9541       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9542       # it will coredump.
   9543       lt_prog_compiler_pic='-fPIC -shared'
   9544       ;;
   9545 
   9546     sysv4*MP*)
   9547       if test -d /usr/nec; then
   9548 	lt_prog_compiler_pic=-Kconform_pic
   9549       fi
   9550       ;;
   9551 
   9552     *)
   9553       lt_prog_compiler_pic='-fPIC'
   9554       ;;
   9555     esac
   9556   else
   9557     # PORTME Check for flag to pass linker flags through the system compiler.
   9558     case $host_os in
   9559     aix*)
   9560       lt_prog_compiler_wl='-Wl,'
   9561       if test "$host_cpu" = ia64; then
   9562 	# AIX 5 now supports IA64 processor
   9563 	lt_prog_compiler_static='-Bstatic'
   9564       else
   9565 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9566       fi
   9567       ;;
   9568 
   9569     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9570       # This hack is so that the source file can tell whether it is being
   9571       # built for inclusion in a dll (and should export symbols for example).
   9572       lt_prog_compiler_pic='-DDLL_EXPORT'
   9573       ;;
   9574 
   9575     hpux9* | hpux10* | hpux11*)
   9576       lt_prog_compiler_wl='-Wl,'
   9577       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9578       # not for PA HP-UX.
   9579       case $host_cpu in
   9580       hppa*64*|ia64*)
   9581 	# +Z the default
   9582 	;;
   9583       *)
   9584 	lt_prog_compiler_pic='+Z'
   9585 	;;
   9586       esac
   9587       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9588       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9589       ;;
   9590 
   9591     irix5* | irix6* | nonstopux*)
   9592       lt_prog_compiler_wl='-Wl,'
   9593       # PIC (with -KPIC) is the default.
   9594       lt_prog_compiler_static='-non_shared'
   9595       ;;
   9596 
   9597     linux* | k*bsd*-gnu)
   9598       case $cc_basename in
   9599       # old Intel for x86_64 which still supported -KPIC.
   9600       ecc*)
   9601 	lt_prog_compiler_wl='-Wl,'
   9602 	lt_prog_compiler_pic='-KPIC'
   9603 	lt_prog_compiler_static='-static'
   9604         ;;
   9605       # icc used to be incompatible with GCC.
   9606       # ICC 10 doesn't accept -KPIC any more.
   9607       icc* | ifort*)
   9608 	lt_prog_compiler_wl='-Wl,'
   9609 	lt_prog_compiler_pic='-fPIC'
   9610 	lt_prog_compiler_static='-static'
   9611         ;;
   9612       # Lahey Fortran 8.1.
   9613       lf95*)
   9614 	lt_prog_compiler_wl='-Wl,'
   9615 	lt_prog_compiler_pic='--shared'
   9616 	lt_prog_compiler_static='--static'
   9617 	;;
   9618       pgcc* | pgf77* | pgf90* | pgf95*)
   9619         # Portland Group compilers (*not* the Pentium gcc compiler,
   9620 	# which looks to be a dead project)
   9621 	lt_prog_compiler_wl='-Wl,'
   9622 	lt_prog_compiler_pic='-fpic'
   9623 	lt_prog_compiler_static='-Bstatic'
   9624         ;;
   9625       ccc*)
   9626         lt_prog_compiler_wl='-Wl,'
   9627         # All Alpha code is PIC.
   9628         lt_prog_compiler_static='-non_shared'
   9629         ;;
   9630       xl*)
   9631 	# IBM XL C 8.0/Fortran 10.1 on PPC
   9632 	lt_prog_compiler_wl='-Wl,'
   9633 	lt_prog_compiler_pic='-qpic'
   9634 	lt_prog_compiler_static='-qstaticlink'
   9635 	;;
   9636       *)
   9637 	case `$CC -V 2>&1 | sed 5q` in
   9638 	*Sun\ C*)
   9639 	  # Sun C 5.9
   9640 	  lt_prog_compiler_pic='-KPIC'
   9641 	  lt_prog_compiler_static='-Bstatic'
   9642 	  lt_prog_compiler_wl='-Wl,'
   9643 	  ;;
   9644 	*Sun\ F*)
   9645 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9646 	  lt_prog_compiler_pic='-KPIC'
   9647 	  lt_prog_compiler_static='-Bstatic'
   9648 	  lt_prog_compiler_wl=''
   9649 	  ;;
   9650 	esac
   9651 	;;
   9652       esac
   9653       ;;
   9654 
   9655     newsos6)
   9656       lt_prog_compiler_pic='-KPIC'
   9657       lt_prog_compiler_static='-Bstatic'
   9658       ;;
   9659 
   9660     *nto* | *qnx*)
   9661       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9662       # it will coredump.
   9663       lt_prog_compiler_pic='-fPIC -shared'
   9664       ;;
   9665 
   9666     osf3* | osf4* | osf5*)
   9667       lt_prog_compiler_wl='-Wl,'
   9668       # All OSF/1 code is PIC.
   9669       lt_prog_compiler_static='-non_shared'
   9670       ;;
   9671 
   9672     rdos*)
   9673       lt_prog_compiler_static='-non_shared'
   9674       ;;
   9675 
   9676     solaris*)
   9677       lt_prog_compiler_pic='-KPIC'
   9678       lt_prog_compiler_static='-Bstatic'
   9679       case $cc_basename in
   9680       f77* | f90* | f95*)
   9681 	lt_prog_compiler_wl='-Qoption ld ';;
   9682       *)
   9683 	lt_prog_compiler_wl='-Wl,';;
   9684       esac
   9685       ;;
   9686 
   9687     sunos4*)
   9688       lt_prog_compiler_wl='-Qoption ld '
   9689       lt_prog_compiler_pic='-PIC'
   9690       lt_prog_compiler_static='-Bstatic'
   9691       ;;
   9692 
   9693     sysv4 | sysv4.2uw2* | sysv4.3*)
   9694       lt_prog_compiler_wl='-Wl,'
   9695       lt_prog_compiler_pic='-KPIC'
   9696       lt_prog_compiler_static='-Bstatic'
   9697       ;;
   9698 
   9699     sysv4*MP*)
   9700       if test -d /usr/nec ;then
   9701 	lt_prog_compiler_pic='-Kconform_pic'
   9702 	lt_prog_compiler_static='-Bstatic'
   9703       fi
   9704       ;;
   9705 
   9706     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9707       lt_prog_compiler_wl='-Wl,'
   9708       lt_prog_compiler_pic='-KPIC'
   9709       lt_prog_compiler_static='-Bstatic'
   9710       ;;
   9711 
   9712     unicos*)
   9713       lt_prog_compiler_wl='-Wl,'
   9714       lt_prog_compiler_can_build_shared=no
   9715       ;;
   9716 
   9717     uts4*)
   9718       lt_prog_compiler_pic='-pic'
   9719       lt_prog_compiler_static='-Bstatic'
   9720       ;;
   9721 
   9722     *)
   9723       lt_prog_compiler_can_build_shared=no
   9724       ;;
   9725     esac
   9726   fi
   9727 
   9728 case $host_os in
   9729   # For platforms which do not support PIC, -DPIC is meaningless:
   9730   *djgpp*)
   9731     lt_prog_compiler_pic=
   9732     ;;
   9733   *)
   9734     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9735     ;;
   9736 esac
   9737 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   9738 $as_echo "$lt_prog_compiler_pic" >&6; }
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 #
   9746 # Check to make sure the PIC flag actually works.
   9747 #
   9748 if test -n "$lt_prog_compiler_pic"; then
   9749   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9750 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9751 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   9752   $as_echo_n "(cached) " >&6
   9753 else
   9754   lt_cv_prog_compiler_pic_works=no
   9755    ac_outfile=conftest.$ac_objext
   9756    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9757    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9758    # Insert the option either (1) after the last *FLAGS variable, or
   9759    # (2) before a word containing "conftest.", or (3) at the end.
   9760    # Note that $ac_compile itself does not contain backslashes and begins
   9761    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9762    # The option is referenced via a variable to avoid confusing sed.
   9763    lt_compile=`echo "$ac_compile" | $SED \
   9764    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9765    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9766    -e 's:$: $lt_compiler_flag:'`
   9767    (eval echo "\"\$as_me:9767: $lt_compile\"" >&5)
   9768    (eval "$lt_compile" 2>conftest.err)
   9769    ac_status=$?
   9770    cat conftest.err >&5
   9771    echo "$as_me:9771: \$? = $ac_status" >&5
   9772    if (exit $ac_status) && test -s "$ac_outfile"; then
   9773      # The compiler can only warn and ignore the option if not recognized
   9774      # So say no if there are warnings other than the usual output.
   9775      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   9776      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9777      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9778        lt_cv_prog_compiler_pic_works=yes
   9779      fi
   9780    fi
   9781    $RM conftest*
   9782 
   9783 fi
   9784 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   9785 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9786 
   9787 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9788     case $lt_prog_compiler_pic in
   9789      "" | " "*) ;;
   9790      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9791      esac
   9792 else
   9793     lt_prog_compiler_pic=
   9794      lt_prog_compiler_can_build_shared=no
   9795 fi
   9796 
   9797 fi
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 #
   9805 # Check to make sure the static flag actually works.
   9806 #
   9807 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9808 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9809 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9810 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   lt_cv_prog_compiler_static_works=no
   9814    save_LDFLAGS="$LDFLAGS"
   9815    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9816    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9817    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9818      # The linker can only warn and ignore the option if not recognized
   9819      # So say no if there are warnings
   9820      if test -s conftest.err; then
   9821        # Append any errors to the config.log.
   9822        cat conftest.err 1>&5
   9823        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   9824        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9825        if diff conftest.exp conftest.er2 >/dev/null; then
   9826          lt_cv_prog_compiler_static_works=yes
   9827        fi
   9828      else
   9829        lt_cv_prog_compiler_static_works=yes
   9830      fi
   9831    fi
   9832    $RM -r conftest*
   9833    LDFLAGS="$save_LDFLAGS"
   9834 
   9835 fi
   9836 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   9837 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9838 
   9839 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9840     :
   9841 else
   9842     lt_prog_compiler_static=
   9843 fi
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   9852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9853 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   9854   $as_echo_n "(cached) " >&6
   9855 else
   9856   lt_cv_prog_compiler_c_o=no
   9857    $RM -r conftest 2>/dev/null
   9858    mkdir conftest
   9859    cd conftest
   9860    mkdir out
   9861    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9862 
   9863    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9864    # Insert the option either (1) after the last *FLAGS variable, or
   9865    # (2) before a word containing "conftest.", or (3) at the end.
   9866    # Note that $ac_compile itself does not contain backslashes and begins
   9867    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9868    lt_compile=`echo "$ac_compile" | $SED \
   9869    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9870    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9871    -e 's:$: $lt_compiler_flag:'`
   9872    (eval echo "\"\$as_me:9872: $lt_compile\"" >&5)
   9873    (eval "$lt_compile" 2>out/conftest.err)
   9874    ac_status=$?
   9875    cat out/conftest.err >&5
   9876    echo "$as_me:9876: \$? = $ac_status" >&5
   9877    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9878    then
   9879      # The compiler can only warn and ignore the option if not recognized
   9880      # So say no if there are warnings
   9881      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9882      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9883      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9884        lt_cv_prog_compiler_c_o=yes
   9885      fi
   9886    fi
   9887    chmod u+w . 2>&5
   9888    $RM conftest*
   9889    # SGI C++ compiler will create directory out/ii_files/ for
   9890    # template instantiation
   9891    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9892    $RM out/* && rmdir out
   9893    cd ..
   9894    $RM -r conftest
   9895    $RM conftest*
   9896 
   9897 fi
   9898 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   9899 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   9907 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9908 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   9909   $as_echo_n "(cached) " >&6
   9910 else
   9911   lt_cv_prog_compiler_c_o=no
   9912    $RM -r conftest 2>/dev/null
   9913    mkdir conftest
   9914    cd conftest
   9915    mkdir out
   9916    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9917 
   9918    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9919    # Insert the option either (1) after the last *FLAGS variable, or
   9920    # (2) before a word containing "conftest.", or (3) at the end.
   9921    # Note that $ac_compile itself does not contain backslashes and begins
   9922    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9923    lt_compile=`echo "$ac_compile" | $SED \
   9924    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9925    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9926    -e 's:$: $lt_compiler_flag:'`
   9927    (eval echo "\"\$as_me:9927: $lt_compile\"" >&5)
   9928    (eval "$lt_compile" 2>out/conftest.err)
   9929    ac_status=$?
   9930    cat out/conftest.err >&5
   9931    echo "$as_me:9931: \$? = $ac_status" >&5
   9932    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9933    then
   9934      # The compiler can only warn and ignore the option if not recognized
   9935      # So say no if there are warnings
   9936      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9937      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9938      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9939        lt_cv_prog_compiler_c_o=yes
   9940      fi
   9941    fi
   9942    chmod u+w . 2>&5
   9943    $RM conftest*
   9944    # SGI C++ compiler will create directory out/ii_files/ for
   9945    # template instantiation
   9946    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9947    $RM out/* && rmdir out
   9948    cd ..
   9949    $RM -r conftest
   9950    $RM conftest*
   9951 
   9952 fi
   9953 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   9954 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9955 
   9956 
   9957 
   9958 
   9959 hard_links="nottested"
   9960 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9961   # do not overwrite the value of need_locks provided by the user
   9962   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   9963 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9964   hard_links=yes
   9965   $RM conftest*
   9966   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9967   touch conftest.a
   9968   ln conftest.a conftest.b 2>&5 || hard_links=no
   9969   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9970   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   9971 $as_echo "$hard_links" >&6; }
   9972   if test "$hard_links" = no; then
   9973     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9974 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9975     need_locks=warn
   9976   fi
   9977 else
   9978   need_locks=no
   9979 fi
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9988 
   9989   runpath_var=
   9990   allow_undefined_flag=
   9991   always_export_symbols=no
   9992   archive_cmds=
   9993   archive_expsym_cmds=
   9994   compiler_needs_object=no
   9995   enable_shared_with_static_runtimes=no
   9996   export_dynamic_flag_spec=
   9997   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9998   hardcode_automatic=no
   9999   hardcode_direct=no
   10000   hardcode_direct_absolute=no
   10001   hardcode_libdir_flag_spec=
   10002   hardcode_libdir_flag_spec_ld=
   10003   hardcode_libdir_separator=
   10004   hardcode_minus_L=no
   10005   hardcode_shlibpath_var=unsupported
   10006   inherit_rpath=no
   10007   link_all_deplibs=unknown
   10008   module_cmds=
   10009   module_expsym_cmds=
   10010   old_archive_from_new_cmds=
   10011   old_archive_from_expsyms_cmds=
   10012   thread_safe_flag_spec=
   10013   whole_archive_flag_spec=
   10014   # include_expsyms should be a list of space-separated symbols to be *always*
   10015   # included in the symbol list
   10016   include_expsyms=
   10017   # exclude_expsyms can be an extended regexp of symbols to exclude
   10018   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10019   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10020   # as well as any symbol that contains `d'.
   10021   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10022   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10023   # platforms (ab)use it in PIC code, but their linkers get confused if
   10024   # the symbol is explicitly referenced.  Since portable code cannot
   10025   # rely on this symbol name, it's probably fine to never include it in
   10026   # preloaded symbol tables.
   10027   # Exclude shared library initialization/finalization symbols.
   10028   extract_expsyms_cmds=
   10029 
   10030   case $host_os in
   10031   cygwin* | mingw* | pw32* | cegcc*)
   10032     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10033     # When not using gcc, we currently assume that we are using
   10034     # Microsoft Visual C++.
   10035     if test "$GCC" != yes; then
   10036       with_gnu_ld=no
   10037     fi
   10038     ;;
   10039   interix*)
   10040     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10041     with_gnu_ld=yes
   10042     ;;
   10043   openbsd*)
   10044     with_gnu_ld=no
   10045     ;;
   10046   esac
   10047 
   10048   ld_shlibs=yes
   10049   if test "$with_gnu_ld" = yes; then
   10050     # If archive_cmds runs LD, not CC, wlarc should be empty
   10051     wlarc='${wl}'
   10052 
   10053     # Set some defaults for GNU ld with shared library support. These
   10054     # are reset later if shared libraries are not supported. Putting them
   10055     # here allows them to be overridden if necessary.
   10056     runpath_var=LD_RUN_PATH
   10057     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10058     export_dynamic_flag_spec='${wl}--export-dynamic'
   10059     # ancient GNU ld didn't support --whole-archive et. al.
   10060     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10061       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10062     else
   10063       whole_archive_flag_spec=
   10064     fi
   10065     supports_anon_versioning=no
   10066     case `$LD -v 2>&1` in
   10067       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10068       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10069       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10070       *\ 2.11.*) ;; # other 2.11 versions
   10071       *) supports_anon_versioning=yes ;;
   10072     esac
   10073 
   10074     # See if GNU ld supports shared libraries.
   10075     case $host_os in
   10076     aix[3-9]*)
   10077       # On AIX/PPC, the GNU linker is very broken
   10078       if test "$host_cpu" != ia64; then
   10079 	ld_shlibs=no
   10080 	cat <<_LT_EOF 1>&2
   10081 
   10082 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   10083 *** to be unable to reliably create shared libraries on AIX.
   10084 *** Therefore, libtool is disabling shared libraries support.  If you
   10085 *** really care for shared libraries, you may want to modify your PATH
   10086 *** so that a non-GNU linker is found, and then restart.
   10087 
   10088 _LT_EOF
   10089       fi
   10090       ;;
   10091 
   10092     amigaos*)
   10093       case $host_cpu in
   10094       powerpc)
   10095             # see comment about AmigaOS4 .so support
   10096             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10097             archive_expsym_cmds=''
   10098         ;;
   10099       m68k)
   10100             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)'
   10101             hardcode_libdir_flag_spec='-L$libdir'
   10102             hardcode_minus_L=yes
   10103         ;;
   10104       esac
   10105       ;;
   10106 
   10107     beos*)
   10108       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10109 	allow_undefined_flag=unsupported
   10110 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10111 	# support --undefined.  This deserves some investigation.  FIXME
   10112 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10113       else
   10114 	ld_shlibs=no
   10115       fi
   10116       ;;
   10117 
   10118     cygwin* | mingw* | pw32* | cegcc*)
   10119       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10120       # as there is no search path for DLLs.
   10121       hardcode_libdir_flag_spec='-L$libdir'
   10122       allow_undefined_flag=unsupported
   10123       always_export_symbols=no
   10124       enable_shared_with_static_runtimes=yes
   10125       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10126 
   10127       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10128         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10129 	# If the export-symbols file already is a .def file (1st line
   10130 	# is EXPORTS), use it as is; otherwise, prepend...
   10131 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10132 	  cp $export_symbols $output_objdir/$soname.def;
   10133 	else
   10134 	  echo EXPORTS > $output_objdir/$soname.def;
   10135 	  cat $export_symbols >> $output_objdir/$soname.def;
   10136 	fi~
   10137 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10138       else
   10139 	ld_shlibs=no
   10140       fi
   10141       ;;
   10142 
   10143     interix[3-9]*)
   10144       hardcode_direct=no
   10145       hardcode_shlibpath_var=no
   10146       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10147       export_dynamic_flag_spec='${wl}-E'
   10148       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10149       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10150       # default) and relocated if they conflict, which is a slow very memory
   10151       # consuming and fragmenting process.  To avoid this, we pick a random,
   10152       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10153       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10154       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10155       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'
   10156       ;;
   10157 
   10158     gnu* | linux* | tpf* | k*bsd*-gnu)
   10159       tmp_diet=no
   10160       if test "$host_os" = linux-dietlibc; then
   10161 	case $cc_basename in
   10162 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10163 	esac
   10164       fi
   10165       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10166 	 && test "$tmp_diet" = no
   10167       then
   10168 	tmp_addflag=
   10169 	tmp_sharedflag='-shared'
   10170 	case $cc_basename,$host_cpu in
   10171         pgcc*)				# Portland Group C compiler
   10172 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   10173 	  tmp_addflag=' $pic_flag'
   10174 	  ;;
   10175 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   10176 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   10177 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10178 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10179 	  tmp_addflag=' -i_dynamic' ;;
   10180 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10181 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10182 	ifc* | ifort*)			# Intel Fortran compiler
   10183 	  tmp_addflag=' -nofor_main' ;;
   10184 	lf95*)				# Lahey Fortran 8.1
   10185 	  whole_archive_flag_spec=
   10186 	  tmp_sharedflag='--shared' ;;
   10187 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   10188 	  tmp_sharedflag='-qmkshrobj'
   10189 	  tmp_addflag= ;;
   10190 	esac
   10191 	case `$CC -V 2>&1 | sed 5q` in
   10192 	*Sun\ C*)			# Sun C 5.9
   10193 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   10194 	  compiler_needs_object=yes
   10195 	  tmp_sharedflag='-G' ;;
   10196 	*Sun\ F*)			# Sun Fortran 8.3
   10197 	  tmp_sharedflag='-G' ;;
   10198 	esac
   10199 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10200 
   10201         if test "x$supports_anon_versioning" = xyes; then
   10202           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10203 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10204 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10205 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10206         fi
   10207 
   10208 	case $cc_basename in
   10209 	xlf*)
   10210 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10211 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10212 	  hardcode_libdir_flag_spec=
   10213 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10214 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10215 	  if test "x$supports_anon_versioning" = xyes; then
   10216 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10217 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10218 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10219 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10220 	  fi
   10221 	  ;;
   10222 	esac
   10223       else
   10224         ld_shlibs=no
   10225       fi
   10226       ;;
   10227 
   10228     netbsd* | netbsdelf*-gnu)
   10229       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10230 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10231 	wlarc=
   10232       else
   10233 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10234 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10235       fi
   10236       ;;
   10237 
   10238     solaris*)
   10239       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10240 	ld_shlibs=no
   10241 	cat <<_LT_EOF 1>&2
   10242 
   10243 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10244 *** create shared libraries on Solaris systems.  Therefore, libtool
   10245 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10246 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10247 *** your PATH or compiler configuration so that the native linker is
   10248 *** used, and then restart.
   10249 
   10250 _LT_EOF
   10251       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10252 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10253 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10254       else
   10255 	ld_shlibs=no
   10256       fi
   10257       ;;
   10258 
   10259     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10260       case `$LD -v 2>&1` in
   10261         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10262 	ld_shlibs=no
   10263 	cat <<_LT_EOF 1>&2
   10264 
   10265 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10266 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10267 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10268 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10269 *** your PATH or compiler configuration so that the native linker is
   10270 *** used, and then restart.
   10271 
   10272 _LT_EOF
   10273 	;;
   10274 	*)
   10275 	  # For security reasons, it is highly recommended that you always
   10276 	  # use absolute paths for naming shared libraries, and exclude the
   10277 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10278 	  # requires that you compile everything twice, which is a pain.
   10279 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10280 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10281 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10282 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10283 	  else
   10284 	    ld_shlibs=no
   10285 	  fi
   10286 	;;
   10287       esac
   10288       ;;
   10289 
   10290     sunos4*)
   10291       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10292       wlarc=
   10293       hardcode_direct=yes
   10294       hardcode_shlibpath_var=no
   10295       ;;
   10296 
   10297     *)
   10298       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10299 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10300 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10301       else
   10302 	ld_shlibs=no
   10303       fi
   10304       ;;
   10305     esac
   10306 
   10307     if test "$ld_shlibs" = no; then
   10308       runpath_var=
   10309       hardcode_libdir_flag_spec=
   10310       export_dynamic_flag_spec=
   10311       whole_archive_flag_spec=
   10312     fi
   10313   else
   10314     # PORTME fill in a description of your system's linker (not GNU ld)
   10315     case $host_os in
   10316     aix3*)
   10317       allow_undefined_flag=unsupported
   10318       always_export_symbols=yes
   10319       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'
   10320       # Note: this linker hardcodes the directories in LIBPATH if there
   10321       # are no directories specified by -L.
   10322       hardcode_minus_L=yes
   10323       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10324 	# Neither direct hardcoding nor static linking is supported with a
   10325 	# broken collect2.
   10326 	hardcode_direct=unsupported
   10327       fi
   10328       ;;
   10329 
   10330     aix[4-9]*)
   10331       if test "$host_cpu" = ia64; then
   10332 	# On IA64, the linker does run time linking by default, so we don't
   10333 	# have to do anything special.
   10334 	aix_use_runtimelinking=no
   10335 	exp_sym_flag='-Bexport'
   10336 	no_entry_flag=""
   10337       else
   10338 	# If we're using GNU nm, then we don't want the "-C" option.
   10339 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10340 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10341 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   10342 	else
   10343 	  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'
   10344 	fi
   10345 	aix_use_runtimelinking=no
   10346 
   10347 	# Test if we are trying to use run time linking or normal
   10348 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10349 	# need to do runtime linking.
   10350 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10351 	  for ld_flag in $LDFLAGS; do
   10352 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10353 	    aix_use_runtimelinking=yes
   10354 	    break
   10355 	  fi
   10356 	  done
   10357 	  ;;
   10358 	esac
   10359 
   10360 	exp_sym_flag='-bexport'
   10361 	no_entry_flag='-bnoentry'
   10362       fi
   10363 
   10364       # When large executables or shared objects are built, AIX ld can
   10365       # have problems creating the table of contents.  If linking a library
   10366       # or program results in "error TOC overflow" add -mminimal-toc to
   10367       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10368       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10369 
   10370       archive_cmds=''
   10371       hardcode_direct=yes
   10372       hardcode_direct_absolute=yes
   10373       hardcode_libdir_separator=':'
   10374       link_all_deplibs=yes
   10375       file_list_spec='${wl}-f,'
   10376 
   10377       if test "$GCC" = yes; then
   10378 	case $host_os in aix4.[012]|aix4.[012].*)
   10379 	# We only want to do this on AIX 4.2 and lower, the check
   10380 	# below for broken collect2 doesn't work under 4.3+
   10381 	  collect2name=`${CC} -print-prog-name=collect2`
   10382 	  if test -f "$collect2name" &&
   10383 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10384 	  then
   10385 	  # We have reworked collect2
   10386 	  :
   10387 	  else
   10388 	  # We have old collect2
   10389 	  hardcode_direct=unsupported
   10390 	  # It fails to find uninstalled libraries when the uninstalled
   10391 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10392 	  # to unsupported forces relinking
   10393 	  hardcode_minus_L=yes
   10394 	  hardcode_libdir_flag_spec='-L$libdir'
   10395 	  hardcode_libdir_separator=
   10396 	  fi
   10397 	  ;;
   10398 	esac
   10399 	shared_flag='-shared'
   10400 	if test "$aix_use_runtimelinking" = yes; then
   10401 	  shared_flag="$shared_flag "'${wl}-G'
   10402 	fi
   10403 	link_all_deplibs=no
   10404       else
   10405 	# not using gcc
   10406 	if test "$host_cpu" = ia64; then
   10407 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10408 	# chokes on -Wl,-G. The following line is correct:
   10409 	  shared_flag='-G'
   10410 	else
   10411 	  if test "$aix_use_runtimelinking" = yes; then
   10412 	    shared_flag='${wl}-G'
   10413 	  else
   10414 	    shared_flag='${wl}-bM:SRE'
   10415 	  fi
   10416 	fi
   10417       fi
   10418 
   10419       export_dynamic_flag_spec='${wl}-bexpall'
   10420       # It seems that -bexpall does not export symbols beginning with
   10421       # underscore (_), so it is better to generate a list of symbols to export.
   10422       always_export_symbols=yes
   10423       if test "$aix_use_runtimelinking" = yes; then
   10424 	# Warning - without using the other runtime loading flags (-brtl),
   10425 	# -berok will link without error, but may produce a broken library.
   10426 	allow_undefined_flag='-berok'
   10427         # Determine the default libpath from the value encoded in an
   10428         # empty executable.
   10429         cat >conftest.$ac_ext <<_ACEOF
   10430 /* confdefs.h.  */
   10431 _ACEOF
   10432 cat confdefs.h >>conftest.$ac_ext
   10433 cat >>conftest.$ac_ext <<_ACEOF
   10434 /* end confdefs.h.  */
   10435 
   10436 int
   10437 main ()
   10438 {
   10439 
   10440   ;
   10441   return 0;
   10442 }
   10443 _ACEOF
   10444 rm -f conftest.$ac_objext conftest$ac_exeext
   10445 if { (ac_try="$ac_link"
   10446 case "(($ac_try" in
   10447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10448   *) ac_try_echo=$ac_try;;
   10449 esac
   10450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10451 $as_echo "$ac_try_echo") >&5
   10452   (eval "$ac_link") 2>conftest.er1
   10453   ac_status=$?
   10454   grep -v '^ *+' conftest.er1 >conftest.err
   10455   rm -f conftest.er1
   10456   cat conftest.err >&5
   10457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10458   (exit $ac_status); } && {
   10459 	 test -z "$ac_c_werror_flag" ||
   10460 	 test ! -s conftest.err
   10461        } && test -s conftest$ac_exeext && {
   10462 	 test "$cross_compiling" = yes ||
   10463 	 $as_test_x conftest$ac_exeext
   10464        }; then
   10465 
   10466 lt_aix_libpath_sed='
   10467     /Import File Strings/,/^$/ {
   10468 	/^0/ {
   10469 	    s/^0  *\(.*\)$/\1/
   10470 	    p
   10471 	}
   10472     }'
   10473 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10474 # Check for a 64-bit object if we didn't find anything.
   10475 if test -z "$aix_libpath"; then
   10476   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10477 fi
   10478 else
   10479   $as_echo "$as_me: failed program was:" >&5
   10480 sed 's/^/| /' conftest.$ac_ext >&5
   10481 
   10482 
   10483 fi
   10484 
   10485 rm -rf conftest.dSYM
   10486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10487       conftest$ac_exeext conftest.$ac_ext
   10488 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10489 
   10490         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10491         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   10492       else
   10493 	if test "$host_cpu" = ia64; then
   10494 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10495 	  allow_undefined_flag="-z nodefs"
   10496 	  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"
   10497 	else
   10498 	 # Determine the default libpath from the value encoded in an
   10499 	 # empty executable.
   10500 	 cat >conftest.$ac_ext <<_ACEOF
   10501 /* confdefs.h.  */
   10502 _ACEOF
   10503 cat confdefs.h >>conftest.$ac_ext
   10504 cat >>conftest.$ac_ext <<_ACEOF
   10505 /* end confdefs.h.  */
   10506 
   10507 int
   10508 main ()
   10509 {
   10510 
   10511   ;
   10512   return 0;
   10513 }
   10514 _ACEOF
   10515 rm -f conftest.$ac_objext conftest$ac_exeext
   10516 if { (ac_try="$ac_link"
   10517 case "(($ac_try" in
   10518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10519   *) ac_try_echo=$ac_try;;
   10520 esac
   10521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10522 $as_echo "$ac_try_echo") >&5
   10523   (eval "$ac_link") 2>conftest.er1
   10524   ac_status=$?
   10525   grep -v '^ *+' conftest.er1 >conftest.err
   10526   rm -f conftest.er1
   10527   cat conftest.err >&5
   10528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10529   (exit $ac_status); } && {
   10530 	 test -z "$ac_c_werror_flag" ||
   10531 	 test ! -s conftest.err
   10532        } && test -s conftest$ac_exeext && {
   10533 	 test "$cross_compiling" = yes ||
   10534 	 $as_test_x conftest$ac_exeext
   10535        }; then
   10536 
   10537 lt_aix_libpath_sed='
   10538     /Import File Strings/,/^$/ {
   10539 	/^0/ {
   10540 	    s/^0  *\(.*\)$/\1/
   10541 	    p
   10542 	}
   10543     }'
   10544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10545 # Check for a 64-bit object if we didn't find anything.
   10546 if test -z "$aix_libpath"; then
   10547   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10548 fi
   10549 else
   10550   $as_echo "$as_me: failed program was:" >&5
   10551 sed 's/^/| /' conftest.$ac_ext >&5
   10552 
   10553 
   10554 fi
   10555 
   10556 rm -rf conftest.dSYM
   10557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10558       conftest$ac_exeext conftest.$ac_ext
   10559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10560 
   10561 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10562 	  # Warning - without using the other run time loading flags,
   10563 	  # -berok will link without error, but may produce a broken library.
   10564 	  no_undefined_flag=' ${wl}-bernotok'
   10565 	  allow_undefined_flag=' ${wl}-berok'
   10566 	  # Exported symbols can be pulled into shared objects from archives
   10567 	  whole_archive_flag_spec='$convenience'
   10568 	  archive_cmds_need_lc=yes
   10569 	  # This is similar to how AIX traditionally builds its shared libraries.
   10570 	  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'
   10571 	fi
   10572       fi
   10573       ;;
   10574 
   10575     amigaos*)
   10576       case $host_cpu in
   10577       powerpc)
   10578             # see comment about AmigaOS4 .so support
   10579             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10580             archive_expsym_cmds=''
   10581         ;;
   10582       m68k)
   10583             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)'
   10584             hardcode_libdir_flag_spec='-L$libdir'
   10585             hardcode_minus_L=yes
   10586         ;;
   10587       esac
   10588       ;;
   10589 
   10590     bsdi[45]*)
   10591       export_dynamic_flag_spec=-rdynamic
   10592       ;;
   10593 
   10594     cygwin* | mingw* | pw32* | cegcc*)
   10595       # When not using gcc, we currently assume that we are using
   10596       # Microsoft Visual C++.
   10597       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10598       # no search path for DLLs.
   10599       hardcode_libdir_flag_spec=' '
   10600       allow_undefined_flag=unsupported
   10601       # Tell ltmain to make .lib files, not .a files.
   10602       libext=lib
   10603       # Tell ltmain to make .dll files, not .so files.
   10604       shrext_cmds=".dll"
   10605       # FIXME: Setting linknames here is a bad hack.
   10606       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   10607       # The linker will automatically build a .lib file if we build a DLL.
   10608       old_archive_from_new_cmds='true'
   10609       # FIXME: Should let the user specify the lib program.
   10610       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10611       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10612       enable_shared_with_static_runtimes=yes
   10613       ;;
   10614 
   10615     darwin* | rhapsody*)
   10616 
   10617 
   10618   archive_cmds_need_lc=no
   10619   hardcode_direct=no
   10620   hardcode_automatic=yes
   10621   hardcode_shlibpath_var=unsupported
   10622   whole_archive_flag_spec=''
   10623   link_all_deplibs=yes
   10624   allow_undefined_flag="$_lt_dar_allow_undefined"
   10625   case $cc_basename in
   10626      ifort*) _lt_dar_can_shared=yes ;;
   10627      *) _lt_dar_can_shared=$GCC ;;
   10628   esac
   10629   if test "$_lt_dar_can_shared" = "yes"; then
   10630     output_verbose_link_cmd=echo
   10631     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10632     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10633     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}"
   10634     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}"
   10635 
   10636   else
   10637   ld_shlibs=no
   10638   fi
   10639 
   10640       ;;
   10641 
   10642     dgux*)
   10643       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10644       hardcode_libdir_flag_spec='-L$libdir'
   10645       hardcode_shlibpath_var=no
   10646       ;;
   10647 
   10648     freebsd1*)
   10649       ld_shlibs=no
   10650       ;;
   10651 
   10652     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10653     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10654     # does not break anything, and helps significantly (at the cost of a little
   10655     # extra space).
   10656     freebsd2.2*)
   10657       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10658       hardcode_libdir_flag_spec='-R$libdir'
   10659       hardcode_direct=yes
   10660       hardcode_shlibpath_var=no
   10661       ;;
   10662 
   10663     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10664     freebsd2*)
   10665       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10666       hardcode_direct=yes
   10667       hardcode_minus_L=yes
   10668       hardcode_shlibpath_var=no
   10669       ;;
   10670 
   10671     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10672     freebsd* | dragonfly*)
   10673       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10674       hardcode_libdir_flag_spec='-R$libdir'
   10675       hardcode_direct=yes
   10676       hardcode_shlibpath_var=no
   10677       ;;
   10678 
   10679     hpux9*)
   10680       if test "$GCC" = yes; then
   10681 	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'
   10682       else
   10683 	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'
   10684       fi
   10685       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10686       hardcode_libdir_separator=:
   10687       hardcode_direct=yes
   10688 
   10689       # hardcode_minus_L: Not really in the search PATH,
   10690       # but as the default location of the library.
   10691       hardcode_minus_L=yes
   10692       export_dynamic_flag_spec='${wl}-E'
   10693       ;;
   10694 
   10695     hpux10*)
   10696       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   10697 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10698       else
   10699 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10700       fi
   10701       if test "$with_gnu_ld" = no; then
   10702 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10703 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10704 	hardcode_libdir_separator=:
   10705 	hardcode_direct=yes
   10706 	hardcode_direct_absolute=yes
   10707 	export_dynamic_flag_spec='${wl}-E'
   10708 	# hardcode_minus_L: Not really in the search PATH,
   10709 	# but as the default location of the library.
   10710 	hardcode_minus_L=yes
   10711       fi
   10712       ;;
   10713 
   10714     hpux11*)
   10715       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   10716 	case $host_cpu in
   10717 	hppa*64*)
   10718 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10719 	  ;;
   10720 	ia64*)
   10721 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10722 	  ;;
   10723 	*)
   10724 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10725 	  ;;
   10726 	esac
   10727       else
   10728 	case $host_cpu in
   10729 	hppa*64*)
   10730 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10731 	  ;;
   10732 	ia64*)
   10733 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10734 	  ;;
   10735 	*)
   10736 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10737 	  ;;
   10738 	esac
   10739       fi
   10740       if test "$with_gnu_ld" = no; then
   10741 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10742 	hardcode_libdir_separator=:
   10743 
   10744 	case $host_cpu in
   10745 	hppa*64*|ia64*)
   10746 	  hardcode_direct=no
   10747 	  hardcode_shlibpath_var=no
   10748 	  ;;
   10749 	*)
   10750 	  hardcode_direct=yes
   10751 	  hardcode_direct_absolute=yes
   10752 	  export_dynamic_flag_spec='${wl}-E'
   10753 
   10754 	  # hardcode_minus_L: Not really in the search PATH,
   10755 	  # but as the default location of the library.
   10756 	  hardcode_minus_L=yes
   10757 	  ;;
   10758 	esac
   10759       fi
   10760       ;;
   10761 
   10762     irix5* | irix6* | nonstopux*)
   10763       if test "$GCC" = yes; then
   10764 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10765 	# Try to use the -exported_symbol ld option, if it does not
   10766 	# work, assume that -exports_file does not work either and
   10767 	# implicitly export all symbols.
   10768         save_LDFLAGS="$LDFLAGS"
   10769         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10770         cat >conftest.$ac_ext <<_ACEOF
   10771 int foo(void) {}
   10772 _ACEOF
   10773 rm -f conftest.$ac_objext conftest$ac_exeext
   10774 if { (ac_try="$ac_link"
   10775 case "(($ac_try" in
   10776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10777   *) ac_try_echo=$ac_try;;
   10778 esac
   10779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10780 $as_echo "$ac_try_echo") >&5
   10781   (eval "$ac_link") 2>conftest.er1
   10782   ac_status=$?
   10783   grep -v '^ *+' conftest.er1 >conftest.err
   10784   rm -f conftest.er1
   10785   cat conftest.err >&5
   10786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10787   (exit $ac_status); } && {
   10788 	 test -z "$ac_c_werror_flag" ||
   10789 	 test ! -s conftest.err
   10790        } && test -s conftest$ac_exeext && {
   10791 	 test "$cross_compiling" = yes ||
   10792 	 $as_test_x conftest$ac_exeext
   10793        }; then
   10794   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   10795 
   10796 else
   10797   $as_echo "$as_me: failed program was:" >&5
   10798 sed 's/^/| /' conftest.$ac_ext >&5
   10799 
   10800 
   10801 fi
   10802 
   10803 rm -rf conftest.dSYM
   10804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10805       conftest$ac_exeext conftest.$ac_ext
   10806         LDFLAGS="$save_LDFLAGS"
   10807       else
   10808 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10809 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   10810       fi
   10811       archive_cmds_need_lc='no'
   10812       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10813       hardcode_libdir_separator=:
   10814       inherit_rpath=yes
   10815       link_all_deplibs=yes
   10816       ;;
   10817 
   10818     netbsd* | netbsdelf*-gnu)
   10819       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10820 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10821       else
   10822 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10823       fi
   10824       hardcode_libdir_flag_spec='-R$libdir'
   10825       hardcode_direct=yes
   10826       hardcode_shlibpath_var=no
   10827       ;;
   10828 
   10829     newsos6)
   10830       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10831       hardcode_direct=yes
   10832       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10833       hardcode_libdir_separator=:
   10834       hardcode_shlibpath_var=no
   10835       ;;
   10836 
   10837     *nto* | *qnx*)
   10838       ;;
   10839 
   10840     openbsd*)
   10841       if test -f /usr/libexec/ld.so; then
   10842 	hardcode_direct=yes
   10843 	hardcode_shlibpath_var=no
   10844 	hardcode_direct_absolute=yes
   10845 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10846 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10847 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10848 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10849 	  export_dynamic_flag_spec='${wl}-E'
   10850 	else
   10851 	  case $host_os in
   10852 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10853 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10854 	     hardcode_libdir_flag_spec='-R$libdir'
   10855 	     ;;
   10856 	   *)
   10857 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10858 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10859 	     ;;
   10860 	  esac
   10861 	fi
   10862       else
   10863 	ld_shlibs=no
   10864       fi
   10865       ;;
   10866 
   10867     os2*)
   10868       hardcode_libdir_flag_spec='-L$libdir'
   10869       hardcode_minus_L=yes
   10870       allow_undefined_flag=unsupported
   10871       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'
   10872       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10873       ;;
   10874 
   10875     osf3*)
   10876       if test "$GCC" = yes; then
   10877 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10878 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10879       else
   10880 	allow_undefined_flag=' -expect_unresolved \*'
   10881 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10882       fi
   10883       archive_cmds_need_lc='no'
   10884       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10885       hardcode_libdir_separator=:
   10886       ;;
   10887 
   10888     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10889       if test "$GCC" = yes; then
   10890 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10891 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10892 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10893       else
   10894 	allow_undefined_flag=' -expect_unresolved \*'
   10895 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10896 	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~
   10897 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   10898 
   10899 	# Both c and cxx compiler support -rpath directly
   10900 	hardcode_libdir_flag_spec='-rpath $libdir'
   10901       fi
   10902       archive_cmds_need_lc='no'
   10903       hardcode_libdir_separator=:
   10904       ;;
   10905 
   10906     solaris*)
   10907       no_undefined_flag=' -z defs'
   10908       if test "$GCC" = yes; then
   10909 	wlarc='${wl}'
   10910 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10911 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10912 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10913       else
   10914 	case `$CC -V 2>&1` in
   10915 	*"Compilers 5.0"*)
   10916 	  wlarc=''
   10917 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10918 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10919 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10920 	  ;;
   10921 	*)
   10922 	  wlarc='${wl}'
   10923 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10924 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10925 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10926 	  ;;
   10927 	esac
   10928       fi
   10929       hardcode_libdir_flag_spec='-R$libdir'
   10930       hardcode_shlibpath_var=no
   10931       case $host_os in
   10932       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10933       *)
   10934 	# The compiler driver will combine and reorder linker options,
   10935 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10936 	# but is careful enough not to reorder.
   10937 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10938 	if test "$GCC" = yes; then
   10939 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10940 	else
   10941 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10942 	fi
   10943 	;;
   10944       esac
   10945       link_all_deplibs=yes
   10946       ;;
   10947 
   10948     sunos4*)
   10949       if test "x$host_vendor" = xsequent; then
   10950 	# Use $CC to link under sequent, because it throws in some extra .o
   10951 	# files that make .init and .fini sections work.
   10952 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10953       else
   10954 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10955       fi
   10956       hardcode_libdir_flag_spec='-L$libdir'
   10957       hardcode_direct=yes
   10958       hardcode_minus_L=yes
   10959       hardcode_shlibpath_var=no
   10960       ;;
   10961 
   10962     sysv4)
   10963       case $host_vendor in
   10964 	sni)
   10965 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10966 	  hardcode_direct=yes # is this really true???
   10967 	;;
   10968 	siemens)
   10969 	  ## LD is ld it makes a PLAMLIB
   10970 	  ## CC just makes a GrossModule.
   10971 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10972 	  reload_cmds='$CC -r -o $output$reload_objs'
   10973 	  hardcode_direct=no
   10974         ;;
   10975 	motorola)
   10976 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10977 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10978 	;;
   10979       esac
   10980       runpath_var='LD_RUN_PATH'
   10981       hardcode_shlibpath_var=no
   10982       ;;
   10983 
   10984     sysv4.3*)
   10985       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10986       hardcode_shlibpath_var=no
   10987       export_dynamic_flag_spec='-Bexport'
   10988       ;;
   10989 
   10990     sysv4*MP*)
   10991       if test -d /usr/nec; then
   10992 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10993 	hardcode_shlibpath_var=no
   10994 	runpath_var=LD_RUN_PATH
   10995 	hardcode_runpath_var=yes
   10996 	ld_shlibs=yes
   10997       fi
   10998       ;;
   10999 
   11000     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11001       no_undefined_flag='${wl}-z,text'
   11002       archive_cmds_need_lc=no
   11003       hardcode_shlibpath_var=no
   11004       runpath_var='LD_RUN_PATH'
   11005 
   11006       if test "$GCC" = yes; then
   11007 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11008 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11009       else
   11010 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11011 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11012       fi
   11013       ;;
   11014 
   11015     sysv5* | sco3.2v5* | sco5v6*)
   11016       # Note: We can NOT use -z defs as we might desire, because we do not
   11017       # link with -lc, and that would cause any symbols used from libc to
   11018       # always be unresolved, which means just about no library would
   11019       # ever link correctly.  If we're not using GNU ld we use -z text
   11020       # though, which does catch some bad symbols but isn't as heavy-handed
   11021       # as -z defs.
   11022       no_undefined_flag='${wl}-z,text'
   11023       allow_undefined_flag='${wl}-z,nodefs'
   11024       archive_cmds_need_lc=no
   11025       hardcode_shlibpath_var=no
   11026       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11027       hardcode_libdir_separator=':'
   11028       link_all_deplibs=yes
   11029       export_dynamic_flag_spec='${wl}-Bexport'
   11030       runpath_var='LD_RUN_PATH'
   11031 
   11032       if test "$GCC" = yes; then
   11033 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11034 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11035       else
   11036 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11037 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11038       fi
   11039       ;;
   11040 
   11041     uts4*)
   11042       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11043       hardcode_libdir_flag_spec='-L$libdir'
   11044       hardcode_shlibpath_var=no
   11045       ;;
   11046 
   11047     *)
   11048       ld_shlibs=no
   11049       ;;
   11050     esac
   11051 
   11052     if test x$host_vendor = xsni; then
   11053       case $host in
   11054       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11055 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11056 	;;
   11057       esac
   11058     fi
   11059   fi
   11060 
   11061 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   11062 $as_echo "$ld_shlibs" >&6; }
   11063 test "$ld_shlibs" = no && can_build_shared=no
   11064 
   11065 with_gnu_ld=$with_gnu_ld
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 #
   11082 # Do we need to explicitly link libc?
   11083 #
   11084 case "x$archive_cmds_need_lc" in
   11085 x|xyes)
   11086   # Assume -lc should be added
   11087   archive_cmds_need_lc=yes
   11088 
   11089   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11090     case $archive_cmds in
   11091     *'~'*)
   11092       # FIXME: we may have to deal with multi-command sequences.
   11093       ;;
   11094     '$CC '*)
   11095       # Test whether the compiler implicitly links with -lc since on some
   11096       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11097       # to ld, don't add -lc before -lgcc.
   11098       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   11099 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11100       $RM conftest*
   11101       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11102 
   11103       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11104   (eval $ac_compile) 2>&5
   11105   ac_status=$?
   11106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11107   (exit $ac_status); } 2>conftest.err; then
   11108         soname=conftest
   11109         lib=conftest
   11110         libobjs=conftest.$ac_objext
   11111         deplibs=
   11112         wl=$lt_prog_compiler_wl
   11113 	pic_flag=$lt_prog_compiler_pic
   11114         compiler_flags=-v
   11115         linker_flags=-v
   11116         verstring=
   11117         output_objdir=.
   11118         libname=conftest
   11119         lt_save_allow_undefined_flag=$allow_undefined_flag
   11120         allow_undefined_flag=
   11121         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   11122   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11123   ac_status=$?
   11124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11125   (exit $ac_status); }
   11126         then
   11127 	  archive_cmds_need_lc=no
   11128         else
   11129 	  archive_cmds_need_lc=yes
   11130         fi
   11131         allow_undefined_flag=$lt_save_allow_undefined_flag
   11132       else
   11133         cat conftest.err 1>&5
   11134       fi
   11135       $RM conftest*
   11136       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   11137 $as_echo "$archive_cmds_need_lc" >&6; }
   11138       ;;
   11139     esac
   11140   fi
   11141   ;;
   11142 esac
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   11301 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11302 
   11303 if test "$GCC" = yes; then
   11304   case $host_os in
   11305     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11306     *) lt_awk_arg="/^libraries:/" ;;
   11307   esac
   11308   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11309   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   11310     # if the path contains ";" then we assume it to be the separator
   11311     # otherwise default to the standard path separator (i.e. ":") - it is
   11312     # assumed that no part of a normal pathname contains ";" but that should
   11313     # okay in the real world where ";" in dirpaths is itself problematic.
   11314     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   11315   else
   11316     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11317   fi
   11318   # Ok, now we have the path, separated by spaces, we can step through it
   11319   # and add multilib dir if necessary.
   11320   lt_tmp_lt_search_path_spec=
   11321   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11322   for lt_sys_path in $lt_search_path_spec; do
   11323     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11324       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11325     else
   11326       test -d "$lt_sys_path" && \
   11327 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11328     fi
   11329   done
   11330   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   11331 BEGIN {RS=" "; FS="/|\n";} {
   11332   lt_foo="";
   11333   lt_count=0;
   11334   for (lt_i = NF; lt_i > 0; lt_i--) {
   11335     if ($lt_i != "" && $lt_i != ".") {
   11336       if ($lt_i == "..") {
   11337         lt_count++;
   11338       } else {
   11339         if (lt_count == 0) {
   11340           lt_foo="/" $lt_i lt_foo;
   11341         } else {
   11342           lt_count--;
   11343         }
   11344       }
   11345     }
   11346   }
   11347   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11348   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11349 }'`
   11350   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   11351 else
   11352   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11353 fi
   11354 library_names_spec=
   11355 libname_spec='lib$name'
   11356 soname_spec=
   11357 shrext_cmds=".so"
   11358 postinstall_cmds=
   11359 postuninstall_cmds=
   11360 finish_cmds=
   11361 finish_eval=
   11362 shlibpath_var=
   11363 shlibpath_overrides_runpath=unknown
   11364 version_type=none
   11365 dynamic_linker="$host_os ld.so"
   11366 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11367 need_lib_prefix=unknown
   11368 hardcode_into_libs=no
   11369 
   11370 # when you set need_version to no, make sure it does not cause -set_version
   11371 # flags to be left without arguments
   11372 need_version=unknown
   11373 
   11374 case $host_os in
   11375 aix3*)
   11376   version_type=linux
   11377   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11378   shlibpath_var=LIBPATH
   11379 
   11380   # AIX 3 has no versioning support, so we append a major version to the name.
   11381   soname_spec='${libname}${release}${shared_ext}$major'
   11382   ;;
   11383 
   11384 aix[4-9]*)
   11385   version_type=linux
   11386   need_lib_prefix=no
   11387   need_version=no
   11388   hardcode_into_libs=yes
   11389   if test "$host_cpu" = ia64; then
   11390     # AIX 5 supports IA64
   11391     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11392     shlibpath_var=LD_LIBRARY_PATH
   11393   else
   11394     # With GCC up to 2.95.x, collect2 would create an import file
   11395     # for dependence libraries.  The import file would start with
   11396     # the line `#! .'.  This would cause the generated library to
   11397     # depend on `.', always an invalid library.  This was fixed in
   11398     # development snapshots of GCC prior to 3.0.
   11399     case $host_os in
   11400       aix4 | aix4.[01] | aix4.[01].*)
   11401       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11402 	   echo ' yes '
   11403 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11404 	:
   11405       else
   11406 	can_build_shared=no
   11407       fi
   11408       ;;
   11409     esac
   11410     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11411     # soname into executable. Probably we can add versioning support to
   11412     # collect2, so additional links can be useful in future.
   11413     if test "$aix_use_runtimelinking" = yes; then
   11414       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11415       # instead of lib<name>.a to let people know that these are not
   11416       # typical AIX shared libraries.
   11417       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11418     else
   11419       # We preserve .a as extension for shared libraries through AIX4.2
   11420       # and later when we are not doing run time linking.
   11421       library_names_spec='${libname}${release}.a $libname.a'
   11422       soname_spec='${libname}${release}${shared_ext}$major'
   11423     fi
   11424     shlibpath_var=LIBPATH
   11425   fi
   11426   ;;
   11427 
   11428 amigaos*)
   11429   case $host_cpu in
   11430   powerpc)
   11431     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11432     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11434     ;;
   11435   m68k)
   11436     library_names_spec='$libname.ixlibrary $libname.a'
   11437     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11438     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   11439     ;;
   11440   esac
   11441   ;;
   11442 
   11443 beos*)
   11444   library_names_spec='${libname}${shared_ext}'
   11445   dynamic_linker="$host_os ld.so"
   11446   shlibpath_var=LIBRARY_PATH
   11447   ;;
   11448 
   11449 bsdi[45]*)
   11450   version_type=linux
   11451   need_version=no
   11452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11453   soname_spec='${libname}${release}${shared_ext}$major'
   11454   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11455   shlibpath_var=LD_LIBRARY_PATH
   11456   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11457   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11458   # the default ld.so.conf also contains /usr/contrib/lib and
   11459   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11460   # libtool to hard-code these into programs
   11461   ;;
   11462 
   11463 cygwin* | mingw* | pw32* | cegcc*)
   11464   version_type=windows
   11465   shrext_cmds=".dll"
   11466   need_version=no
   11467   need_lib_prefix=no
   11468 
   11469   case $GCC,$host_os in
   11470   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11471     library_names_spec='$libname.dll.a'
   11472     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11473     postinstall_cmds='base_file=`basename \${file}`~
   11474       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11475       dldir=$destdir/`dirname \$dlpath`~
   11476       test -d \$dldir || mkdir -p \$dldir~
   11477       $install_prog $dir/$dlname \$dldir/$dlname~
   11478       chmod a+x \$dldir/$dlname~
   11479       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11480         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11481       fi'
   11482     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11483       dlpath=$dir/\$dldll~
   11484        $RM \$dlpath'
   11485     shlibpath_overrides_runpath=yes
   11486 
   11487     case $host_os in
   11488     cygwin*)
   11489       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11490       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11491       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   11492       ;;
   11493     mingw* | cegcc*)
   11494       # MinGW DLLs use traditional 'lib' prefix
   11495       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11496       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   11497       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11498         # It is most probably a Windows format PATH printed by
   11499         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   11500         # path with ; separators, and with drive letters. We can handle the
   11501         # drive letters (cygwin fileutils understands them), so leave them,
   11502         # especially as we might pass files found there to a mingw objdump,
   11503         # which wouldn't understand a cygwinified path. Ahh.
   11504         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11505       else
   11506         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   11507       fi
   11508       ;;
   11509     pw32*)
   11510       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11511       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11512       ;;
   11513     esac
   11514     ;;
   11515 
   11516   *)
   11517     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11518     ;;
   11519   esac
   11520   dynamic_linker='Win32 ld.exe'
   11521   # FIXME: first we should search . and the directory the executable is in
   11522   shlibpath_var=PATH
   11523   ;;
   11524 
   11525 darwin* | rhapsody*)
   11526   dynamic_linker="$host_os dyld"
   11527   version_type=darwin
   11528   need_lib_prefix=no
   11529   need_version=no
   11530   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11531   soname_spec='${libname}${release}${major}$shared_ext'
   11532   shlibpath_overrides_runpath=yes
   11533   shlibpath_var=DYLD_LIBRARY_PATH
   11534   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11535 
   11536   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11537   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11538   ;;
   11539 
   11540 dgux*)
   11541   version_type=linux
   11542   need_lib_prefix=no
   11543   need_version=no
   11544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11545   soname_spec='${libname}${release}${shared_ext}$major'
   11546   shlibpath_var=LD_LIBRARY_PATH
   11547   ;;
   11548 
   11549 freebsd1*)
   11550   dynamic_linker=no
   11551   ;;
   11552 
   11553 freebsd* | dragonfly*)
   11554   # DragonFly does not have aout.  When/if they implement a new
   11555   # versioning mechanism, adjust this.
   11556   if test -x /usr/bin/objformat; then
   11557     objformat=`/usr/bin/objformat`
   11558   else
   11559     case $host_os in
   11560     freebsd[123]*) objformat=aout ;;
   11561     *) objformat=elf ;;
   11562     esac
   11563   fi
   11564   version_type=freebsd-$objformat
   11565   case $version_type in
   11566     freebsd-elf*)
   11567       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11568       need_version=no
   11569       need_lib_prefix=no
   11570       ;;
   11571     freebsd-*)
   11572       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11573       need_version=yes
   11574       ;;
   11575   esac
   11576   shlibpath_var=LD_LIBRARY_PATH
   11577   case $host_os in
   11578   freebsd2*)
   11579     shlibpath_overrides_runpath=yes
   11580     ;;
   11581   freebsd3.[01]* | freebsdelf3.[01]*)
   11582     shlibpath_overrides_runpath=yes
   11583     hardcode_into_libs=yes
   11584     ;;
   11585   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11586   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11587     shlibpath_overrides_runpath=no
   11588     hardcode_into_libs=yes
   11589     ;;
   11590   *) # from 4.6 on, and DragonFly
   11591     shlibpath_overrides_runpath=yes
   11592     hardcode_into_libs=yes
   11593     ;;
   11594   esac
   11595   ;;
   11596 
   11597 gnu*)
   11598   version_type=linux
   11599   need_lib_prefix=no
   11600   need_version=no
   11601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11602   soname_spec='${libname}${release}${shared_ext}$major'
   11603   shlibpath_var=LD_LIBRARY_PATH
   11604   hardcode_into_libs=yes
   11605   ;;
   11606 
   11607 hpux9* | hpux10* | hpux11*)
   11608   # Give a soname corresponding to the major version so that dld.sl refuses to
   11609   # link against other versions.
   11610   version_type=sunos
   11611   need_lib_prefix=no
   11612   need_version=no
   11613   case $host_cpu in
   11614   ia64*)
   11615     shrext_cmds='.so'
   11616     hardcode_into_libs=yes
   11617     dynamic_linker="$host_os dld.so"
   11618     shlibpath_var=LD_LIBRARY_PATH
   11619     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11620     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11621     soname_spec='${libname}${release}${shared_ext}$major'
   11622     if test "X$HPUX_IA64_MODE" = X32; then
   11623       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11624     else
   11625       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11626     fi
   11627     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11628     ;;
   11629   hppa*64*)
   11630     shrext_cmds='.sl'
   11631     hardcode_into_libs=yes
   11632     dynamic_linker="$host_os dld.sl"
   11633     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11634     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11635     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11636     soname_spec='${libname}${release}${shared_ext}$major'
   11637     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11638     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11639     ;;
   11640   *)
   11641     shrext_cmds='.sl'
   11642     dynamic_linker="$host_os dld.sl"
   11643     shlibpath_var=SHLIB_PATH
   11644     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11646     soname_spec='${libname}${release}${shared_ext}$major'
   11647     ;;
   11648   esac
   11649   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   11650   postinstall_cmds='chmod 555 $lib'
   11651   ;;
   11652 
   11653 interix[3-9]*)
   11654   version_type=linux
   11655   need_lib_prefix=no
   11656   need_version=no
   11657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11658   soname_spec='${libname}${release}${shared_ext}$major'
   11659   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11660   shlibpath_var=LD_LIBRARY_PATH
   11661   shlibpath_overrides_runpath=no
   11662   hardcode_into_libs=yes
   11663   ;;
   11664 
   11665 irix5* | irix6* | nonstopux*)
   11666   case $host_os in
   11667     nonstopux*) version_type=nonstopux ;;
   11668     *)
   11669 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11670 		version_type=linux
   11671 	else
   11672 		version_type=irix
   11673 	fi ;;
   11674   esac
   11675   need_lib_prefix=no
   11676   need_version=no
   11677   soname_spec='${libname}${release}${shared_ext}$major'
   11678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11679   case $host_os in
   11680   irix5* | nonstopux*)
   11681     libsuff= shlibsuff=
   11682     ;;
   11683   *)
   11684     case $LD in # libtool.m4 will add one of these switches to LD
   11685     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11686       libsuff= shlibsuff= libmagic=32-bit;;
   11687     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11688       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11689     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11690       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11691     *) libsuff= shlibsuff= libmagic=never-match;;
   11692     esac
   11693     ;;
   11694   esac
   11695   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11696   shlibpath_overrides_runpath=no
   11697   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11698   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11699   hardcode_into_libs=yes
   11700   ;;
   11701 
   11702 # No shared lib support for Linux oldld, aout, or coff.
   11703 linux*oldld* | linux*aout* | linux*coff*)
   11704   dynamic_linker=no
   11705   ;;
   11706 
   11707 # This must be Linux ELF.
   11708 linux* | k*bsd*-gnu)
   11709   version_type=linux
   11710   need_lib_prefix=no
   11711   need_version=no
   11712   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11713   soname_spec='${libname}${release}${shared_ext}$major'
   11714   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11715   shlibpath_var=LD_LIBRARY_PATH
   11716   shlibpath_overrides_runpath=no
   11717   # Some binutils ld are patched to set DT_RUNPATH
   11718   save_LDFLAGS=$LDFLAGS
   11719   save_libdir=$libdir
   11720   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11721        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11722   cat >conftest.$ac_ext <<_ACEOF
   11723 /* confdefs.h.  */
   11724 _ACEOF
   11725 cat confdefs.h >>conftest.$ac_ext
   11726 cat >>conftest.$ac_ext <<_ACEOF
   11727 /* end confdefs.h.  */
   11728 
   11729 int
   11730 main ()
   11731 {
   11732 
   11733   ;
   11734   return 0;
   11735 }
   11736 _ACEOF
   11737 rm -f conftest.$ac_objext conftest$ac_exeext
   11738 if { (ac_try="$ac_link"
   11739 case "(($ac_try" in
   11740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11741   *) ac_try_echo=$ac_try;;
   11742 esac
   11743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11744 $as_echo "$ac_try_echo") >&5
   11745   (eval "$ac_link") 2>conftest.er1
   11746   ac_status=$?
   11747   grep -v '^ *+' conftest.er1 >conftest.err
   11748   rm -f conftest.er1
   11749   cat conftest.err >&5
   11750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11751   (exit $ac_status); } && {
   11752 	 test -z "$ac_c_werror_flag" ||
   11753 	 test ! -s conftest.err
   11754        } && test -s conftest$ac_exeext && {
   11755 	 test "$cross_compiling" = yes ||
   11756 	 $as_test_x conftest$ac_exeext
   11757        }; then
   11758   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   11759   shlibpath_overrides_runpath=yes
   11760 fi
   11761 
   11762 else
   11763   $as_echo "$as_me: failed program was:" >&5
   11764 sed 's/^/| /' conftest.$ac_ext >&5
   11765 
   11766 
   11767 fi
   11768 
   11769 rm -rf conftest.dSYM
   11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11771       conftest$ac_exeext conftest.$ac_ext
   11772   LDFLAGS=$save_LDFLAGS
   11773   libdir=$save_libdir
   11774 
   11775   # This implies no fast_install, which is unacceptable.
   11776   # Some rework will be needed to allow for fast_install
   11777   # before this can be enabled.
   11778   hardcode_into_libs=yes
   11779 
   11780   # Append ld.so.conf contents to the search path
   11781   if test -f /etc/ld.so.conf; then
   11782     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   11783     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11784   fi
   11785 
   11786   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11787   # powerpc, because MkLinux only supported shared libraries with the
   11788   # GNU dynamic linker.  Since this was broken with cross compilers,
   11789   # most powerpc-linux boxes support dynamic linking these days and
   11790   # people can always --disable-shared, the test was removed, and we
   11791   # assume the GNU/Linux dynamic linker is in use.
   11792   dynamic_linker='GNU/Linux ld.so'
   11793   ;;
   11794 
   11795 netbsdelf*-gnu)
   11796   version_type=linux
   11797   need_lib_prefix=no
   11798   need_version=no
   11799   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11800   soname_spec='${libname}${release}${shared_ext}$major'
   11801   shlibpath_var=LD_LIBRARY_PATH
   11802   shlibpath_overrides_runpath=no
   11803   hardcode_into_libs=yes
   11804   dynamic_linker='NetBSD ld.elf_so'
   11805   ;;
   11806 
   11807 netbsd*)
   11808   version_type=sunos
   11809   need_lib_prefix=no
   11810   need_version=no
   11811   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11813     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11814     dynamic_linker='NetBSD (a.out) ld.so'
   11815   else
   11816     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11817     soname_spec='${libname}${release}${shared_ext}$major'
   11818     dynamic_linker='NetBSD ld.elf_so'
   11819   fi
   11820   shlibpath_var=LD_LIBRARY_PATH
   11821   shlibpath_overrides_runpath=yes
   11822   hardcode_into_libs=yes
   11823   ;;
   11824 
   11825 newsos6)
   11826   version_type=linux
   11827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11828   shlibpath_var=LD_LIBRARY_PATH
   11829   shlibpath_overrides_runpath=yes
   11830   ;;
   11831 
   11832 *nto* | *qnx*)
   11833   version_type=qnx
   11834   need_lib_prefix=no
   11835   need_version=no
   11836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11837   soname_spec='${libname}${release}${shared_ext}$major'
   11838   shlibpath_var=LD_LIBRARY_PATH
   11839   shlibpath_overrides_runpath=no
   11840   hardcode_into_libs=yes
   11841   dynamic_linker='ldqnx.so'
   11842   ;;
   11843 
   11844 openbsd*)
   11845   version_type=sunos
   11846   sys_lib_dlsearch_path_spec="/usr/lib"
   11847   need_lib_prefix=no
   11848   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11849   case $host_os in
   11850     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11851     *)				need_version=no  ;;
   11852   esac
   11853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11854   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11855   shlibpath_var=LD_LIBRARY_PATH
   11856   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11857     case $host_os in
   11858       openbsd2.[89] | openbsd2.[89].*)
   11859 	shlibpath_overrides_runpath=no
   11860 	;;
   11861       *)
   11862 	shlibpath_overrides_runpath=yes
   11863 	;;
   11864       esac
   11865   else
   11866     shlibpath_overrides_runpath=yes
   11867   fi
   11868   ;;
   11869 
   11870 os2*)
   11871   libname_spec='$name'
   11872   shrext_cmds=".dll"
   11873   need_lib_prefix=no
   11874   library_names_spec='$libname${shared_ext} $libname.a'
   11875   dynamic_linker='OS/2 ld.exe'
   11876   shlibpath_var=LIBPATH
   11877   ;;
   11878 
   11879 osf3* | osf4* | osf5*)
   11880   version_type=osf
   11881   need_lib_prefix=no
   11882   need_version=no
   11883   soname_spec='${libname}${release}${shared_ext}$major'
   11884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11885   shlibpath_var=LD_LIBRARY_PATH
   11886   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11887   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11888   ;;
   11889 
   11890 rdos*)
   11891   dynamic_linker=no
   11892   ;;
   11893 
   11894 solaris*)
   11895   version_type=linux
   11896   need_lib_prefix=no
   11897   need_version=no
   11898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11899   soname_spec='${libname}${release}${shared_ext}$major'
   11900   shlibpath_var=LD_LIBRARY_PATH
   11901   shlibpath_overrides_runpath=yes
   11902   hardcode_into_libs=yes
   11903   # ldd complains unless libraries are executable
   11904   postinstall_cmds='chmod +x $lib'
   11905   ;;
   11906 
   11907 sunos4*)
   11908   version_type=sunos
   11909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11910   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11911   shlibpath_var=LD_LIBRARY_PATH
   11912   shlibpath_overrides_runpath=yes
   11913   if test "$with_gnu_ld" = yes; then
   11914     need_lib_prefix=no
   11915   fi
   11916   need_version=yes
   11917   ;;
   11918 
   11919 sysv4 | sysv4.3*)
   11920   version_type=linux
   11921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11922   soname_spec='${libname}${release}${shared_ext}$major'
   11923   shlibpath_var=LD_LIBRARY_PATH
   11924   case $host_vendor in
   11925     sni)
   11926       shlibpath_overrides_runpath=no
   11927       need_lib_prefix=no
   11928       runpath_var=LD_RUN_PATH
   11929       ;;
   11930     siemens)
   11931       need_lib_prefix=no
   11932       ;;
   11933     motorola)
   11934       need_lib_prefix=no
   11935       need_version=no
   11936       shlibpath_overrides_runpath=no
   11937       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11938       ;;
   11939   esac
   11940   ;;
   11941 
   11942 sysv4*MP*)
   11943   if test -d /usr/nec ;then
   11944     version_type=linux
   11945     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11946     soname_spec='$libname${shared_ext}.$major'
   11947     shlibpath_var=LD_LIBRARY_PATH
   11948   fi
   11949   ;;
   11950 
   11951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11952   version_type=freebsd-elf
   11953   need_lib_prefix=no
   11954   need_version=no
   11955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11956   soname_spec='${libname}${release}${shared_ext}$major'
   11957   shlibpath_var=LD_LIBRARY_PATH
   11958   shlibpath_overrides_runpath=yes
   11959   hardcode_into_libs=yes
   11960   if test "$with_gnu_ld" = yes; then
   11961     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11962   else
   11963     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11964     case $host_os in
   11965       sco3.2v5*)
   11966         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11967 	;;
   11968     esac
   11969   fi
   11970   sys_lib_dlsearch_path_spec='/usr/lib'
   11971   ;;
   11972 
   11973 tpf*)
   11974   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11975   version_type=linux
   11976   need_lib_prefix=no
   11977   need_version=no
   11978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11979   shlibpath_var=LD_LIBRARY_PATH
   11980   shlibpath_overrides_runpath=no
   11981   hardcode_into_libs=yes
   11982   ;;
   11983 
   11984 uts4*)
   11985   version_type=linux
   11986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11987   soname_spec='${libname}${release}${shared_ext}$major'
   11988   shlibpath_var=LD_LIBRARY_PATH
   11989   ;;
   11990 
   11991 *)
   11992   dynamic_linker=no
   11993   ;;
   11994 esac
   11995 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   11996 $as_echo "$dynamic_linker" >&6; }
   11997 test "$dynamic_linker" = no && can_build_shared=no
   11998 
   11999 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12000 if test "$GCC" = yes; then
   12001   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12002 fi
   12003 
   12004 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12005   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12006 fi
   12007 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12008   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12009 fi
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   12098 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12099 hardcode_action=
   12100 if test -n "$hardcode_libdir_flag_spec" ||
   12101    test -n "$runpath_var" ||
   12102    test "X$hardcode_automatic" = "Xyes" ; then
   12103 
   12104   # We can hardcode non-existent directories.
   12105   if test "$hardcode_direct" != no &&
   12106      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12107      # have to relink, otherwise we might link with an installed library
   12108      # when we should be linking with a yet-to-be-installed one
   12109      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12110      test "$hardcode_minus_L" != no; then
   12111     # Linking always hardcodes the temporary library directory.
   12112     hardcode_action=relink
   12113   else
   12114     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12115     hardcode_action=immediate
   12116   fi
   12117 else
   12118   # We cannot hardcode anything, or else we can only hardcode existing
   12119   # directories.
   12120   hardcode_action=unsupported
   12121 fi
   12122 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   12123 $as_echo "$hardcode_action" >&6; }
   12124 
   12125 if test "$hardcode_action" = relink ||
   12126    test "$inherit_rpath" = yes; then
   12127   # Fast installation is not supported
   12128   enable_fast_install=no
   12129 elif test "$shlibpath_overrides_runpath" = yes ||
   12130      test "$enable_shared" = no; then
   12131   # Fast installation is not necessary
   12132   enable_fast_install=needless
   12133 fi
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140   if test "x$enable_dlopen" != xyes; then
   12141   enable_dlopen=unknown
   12142   enable_dlopen_self=unknown
   12143   enable_dlopen_self_static=unknown
   12144 else
   12145   lt_cv_dlopen=no
   12146   lt_cv_dlopen_libs=
   12147 
   12148   case $host_os in
   12149   beos*)
   12150     lt_cv_dlopen="load_add_on"
   12151     lt_cv_dlopen_libs=
   12152     lt_cv_dlopen_self=yes
   12153     ;;
   12154 
   12155   mingw* | pw32* | cegcc*)
   12156     lt_cv_dlopen="LoadLibrary"
   12157     lt_cv_dlopen_libs=
   12158     ;;
   12159 
   12160   cygwin*)
   12161     lt_cv_dlopen="dlopen"
   12162     lt_cv_dlopen_libs=
   12163     ;;
   12164 
   12165   darwin*)
   12166   # if libdl is installed we need to link against it
   12167     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   12168 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   12170   $as_echo_n "(cached) " >&6
   12171 else
   12172   ac_check_lib_save_LIBS=$LIBS
   12173 LIBS="-ldl  $LIBS"
   12174 cat >conftest.$ac_ext <<_ACEOF
   12175 /* confdefs.h.  */
   12176 _ACEOF
   12177 cat confdefs.h >>conftest.$ac_ext
   12178 cat >>conftest.$ac_ext <<_ACEOF
   12179 /* end confdefs.h.  */
   12180 
   12181 /* Override any GCC internal prototype to avoid an error.
   12182    Use char because int might match the return type of a GCC
   12183    builtin and then its argument prototype would still apply.  */
   12184 #ifdef __cplusplus
   12185 extern "C"
   12186 #endif
   12187 char dlopen ();
   12188 int
   12189 main ()
   12190 {
   12191 return dlopen ();
   12192   ;
   12193   return 0;
   12194 }
   12195 _ACEOF
   12196 rm -f conftest.$ac_objext conftest$ac_exeext
   12197 if { (ac_try="$ac_link"
   12198 case "(($ac_try" in
   12199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12200   *) ac_try_echo=$ac_try;;
   12201 esac
   12202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12203 $as_echo "$ac_try_echo") >&5
   12204   (eval "$ac_link") 2>conftest.er1
   12205   ac_status=$?
   12206   grep -v '^ *+' conftest.er1 >conftest.err
   12207   rm -f conftest.er1
   12208   cat conftest.err >&5
   12209   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12210   (exit $ac_status); } && {
   12211 	 test -z "$ac_c_werror_flag" ||
   12212 	 test ! -s conftest.err
   12213        } && test -s conftest$ac_exeext && {
   12214 	 test "$cross_compiling" = yes ||
   12215 	 $as_test_x conftest$ac_exeext
   12216        }; then
   12217   ac_cv_lib_dl_dlopen=yes
   12218 else
   12219   $as_echo "$as_me: failed program was:" >&5
   12220 sed 's/^/| /' conftest.$ac_ext >&5
   12221 
   12222 	ac_cv_lib_dl_dlopen=no
   12223 fi
   12224 
   12225 rm -rf conftest.dSYM
   12226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12227       conftest$ac_exeext conftest.$ac_ext
   12228 LIBS=$ac_check_lib_save_LIBS
   12229 fi
   12230 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   12231 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12232 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   12233   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12234 else
   12235 
   12236     lt_cv_dlopen="dyld"
   12237     lt_cv_dlopen_libs=
   12238     lt_cv_dlopen_self=yes
   12239 
   12240 fi
   12241 
   12242     ;;
   12243 
   12244   *)
   12245     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   12246 $as_echo_n "checking for shl_load... " >&6; }
   12247 if test "${ac_cv_func_shl_load+set}" = set; then
   12248   $as_echo_n "(cached) " >&6
   12249 else
   12250   cat >conftest.$ac_ext <<_ACEOF
   12251 /* confdefs.h.  */
   12252 _ACEOF
   12253 cat confdefs.h >>conftest.$ac_ext
   12254 cat >>conftest.$ac_ext <<_ACEOF
   12255 /* end confdefs.h.  */
   12256 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   12257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   12258 #define shl_load innocuous_shl_load
   12259 
   12260 /* System header to define __stub macros and hopefully few prototypes,
   12261     which can conflict with char shl_load (); below.
   12262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12263     <limits.h> exists even on freestanding compilers.  */
   12264 
   12265 #ifdef __STDC__
   12266 # include <limits.h>
   12267 #else
   12268 # include <assert.h>
   12269 #endif
   12270 
   12271 #undef shl_load
   12272 
   12273 /* Override any GCC internal prototype to avoid an error.
   12274    Use char because int might match the return type of a GCC
   12275    builtin and then its argument prototype would still apply.  */
   12276 #ifdef __cplusplus
   12277 extern "C"
   12278 #endif
   12279 char shl_load ();
   12280 /* The GNU C library defines this for functions which it implements
   12281     to always fail with ENOSYS.  Some functions are actually named
   12282     something starting with __ and the normal name is an alias.  */
   12283 #if defined __stub_shl_load || defined __stub___shl_load
   12284 choke me
   12285 #endif
   12286 
   12287 int
   12288 main ()
   12289 {
   12290 return shl_load ();
   12291   ;
   12292   return 0;
   12293 }
   12294 _ACEOF
   12295 rm -f conftest.$ac_objext conftest$ac_exeext
   12296 if { (ac_try="$ac_link"
   12297 case "(($ac_try" in
   12298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12299   *) ac_try_echo=$ac_try;;
   12300 esac
   12301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12302 $as_echo "$ac_try_echo") >&5
   12303   (eval "$ac_link") 2>conftest.er1
   12304   ac_status=$?
   12305   grep -v '^ *+' conftest.er1 >conftest.err
   12306   rm -f conftest.er1
   12307   cat conftest.err >&5
   12308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12309   (exit $ac_status); } && {
   12310 	 test -z "$ac_c_werror_flag" ||
   12311 	 test ! -s conftest.err
   12312        } && test -s conftest$ac_exeext && {
   12313 	 test "$cross_compiling" = yes ||
   12314 	 $as_test_x conftest$ac_exeext
   12315        }; then
   12316   ac_cv_func_shl_load=yes
   12317 else
   12318   $as_echo "$as_me: failed program was:" >&5
   12319 sed 's/^/| /' conftest.$ac_ext >&5
   12320 
   12321 	ac_cv_func_shl_load=no
   12322 fi
   12323 
   12324 rm -rf conftest.dSYM
   12325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12326       conftest$ac_exeext conftest.$ac_ext
   12327 fi
   12328 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   12329 $as_echo "$ac_cv_func_shl_load" >&6; }
   12330 if test "x$ac_cv_func_shl_load" = x""yes; then
   12331   lt_cv_dlopen="shl_load"
   12332 else
   12333   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   12334 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12335 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   12336   $as_echo_n "(cached) " >&6
   12337 else
   12338   ac_check_lib_save_LIBS=$LIBS
   12339 LIBS="-ldld  $LIBS"
   12340 cat >conftest.$ac_ext <<_ACEOF
   12341 /* confdefs.h.  */
   12342 _ACEOF
   12343 cat confdefs.h >>conftest.$ac_ext
   12344 cat >>conftest.$ac_ext <<_ACEOF
   12345 /* end confdefs.h.  */
   12346 
   12347 /* Override any GCC internal prototype to avoid an error.
   12348    Use char because int might match the return type of a GCC
   12349    builtin and then its argument prototype would still apply.  */
   12350 #ifdef __cplusplus
   12351 extern "C"
   12352 #endif
   12353 char shl_load ();
   12354 int
   12355 main ()
   12356 {
   12357 return shl_load ();
   12358   ;
   12359   return 0;
   12360 }
   12361 _ACEOF
   12362 rm -f conftest.$ac_objext conftest$ac_exeext
   12363 if { (ac_try="$ac_link"
   12364 case "(($ac_try" in
   12365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12366   *) ac_try_echo=$ac_try;;
   12367 esac
   12368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12369 $as_echo "$ac_try_echo") >&5
   12370   (eval "$ac_link") 2>conftest.er1
   12371   ac_status=$?
   12372   grep -v '^ *+' conftest.er1 >conftest.err
   12373   rm -f conftest.er1
   12374   cat conftest.err >&5
   12375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12376   (exit $ac_status); } && {
   12377 	 test -z "$ac_c_werror_flag" ||
   12378 	 test ! -s conftest.err
   12379        } && test -s conftest$ac_exeext && {
   12380 	 test "$cross_compiling" = yes ||
   12381 	 $as_test_x conftest$ac_exeext
   12382        }; then
   12383   ac_cv_lib_dld_shl_load=yes
   12384 else
   12385   $as_echo "$as_me: failed program was:" >&5
   12386 sed 's/^/| /' conftest.$ac_ext >&5
   12387 
   12388 	ac_cv_lib_dld_shl_load=no
   12389 fi
   12390 
   12391 rm -rf conftest.dSYM
   12392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12393       conftest$ac_exeext conftest.$ac_ext
   12394 LIBS=$ac_check_lib_save_LIBS
   12395 fi
   12396 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   12397 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12398 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   12399   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12400 else
   12401   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   12402 $as_echo_n "checking for dlopen... " >&6; }
   12403 if test "${ac_cv_func_dlopen+set}" = set; then
   12404   $as_echo_n "(cached) " >&6
   12405 else
   12406   cat >conftest.$ac_ext <<_ACEOF
   12407 /* confdefs.h.  */
   12408 _ACEOF
   12409 cat confdefs.h >>conftest.$ac_ext
   12410 cat >>conftest.$ac_ext <<_ACEOF
   12411 /* end confdefs.h.  */
   12412 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   12413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   12414 #define dlopen innocuous_dlopen
   12415 
   12416 /* System header to define __stub macros and hopefully few prototypes,
   12417     which can conflict with char dlopen (); below.
   12418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12419     <limits.h> exists even on freestanding compilers.  */
   12420 
   12421 #ifdef __STDC__
   12422 # include <limits.h>
   12423 #else
   12424 # include <assert.h>
   12425 #endif
   12426 
   12427 #undef dlopen
   12428 
   12429 /* Override any GCC internal prototype to avoid an error.
   12430    Use char because int might match the return type of a GCC
   12431    builtin and then its argument prototype would still apply.  */
   12432 #ifdef __cplusplus
   12433 extern "C"
   12434 #endif
   12435 char dlopen ();
   12436 /* The GNU C library defines this for functions which it implements
   12437     to always fail with ENOSYS.  Some functions are actually named
   12438     something starting with __ and the normal name is an alias.  */
   12439 #if defined __stub_dlopen || defined __stub___dlopen
   12440 choke me
   12441 #endif
   12442 
   12443 int
   12444 main ()
   12445 {
   12446 return dlopen ();
   12447   ;
   12448   return 0;
   12449 }
   12450 _ACEOF
   12451 rm -f conftest.$ac_objext conftest$ac_exeext
   12452 if { (ac_try="$ac_link"
   12453 case "(($ac_try" in
   12454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12455   *) ac_try_echo=$ac_try;;
   12456 esac
   12457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12458 $as_echo "$ac_try_echo") >&5
   12459   (eval "$ac_link") 2>conftest.er1
   12460   ac_status=$?
   12461   grep -v '^ *+' conftest.er1 >conftest.err
   12462   rm -f conftest.er1
   12463   cat conftest.err >&5
   12464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12465   (exit $ac_status); } && {
   12466 	 test -z "$ac_c_werror_flag" ||
   12467 	 test ! -s conftest.err
   12468        } && test -s conftest$ac_exeext && {
   12469 	 test "$cross_compiling" = yes ||
   12470 	 $as_test_x conftest$ac_exeext
   12471        }; then
   12472   ac_cv_func_dlopen=yes
   12473 else
   12474   $as_echo "$as_me: failed program was:" >&5
   12475 sed 's/^/| /' conftest.$ac_ext >&5
   12476 
   12477 	ac_cv_func_dlopen=no
   12478 fi
   12479 
   12480 rm -rf conftest.dSYM
   12481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12482       conftest$ac_exeext conftest.$ac_ext
   12483 fi
   12484 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   12485 $as_echo "$ac_cv_func_dlopen" >&6; }
   12486 if test "x$ac_cv_func_dlopen" = x""yes; then
   12487   lt_cv_dlopen="dlopen"
   12488 else
   12489   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   12490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12491 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   12492   $as_echo_n "(cached) " >&6
   12493 else
   12494   ac_check_lib_save_LIBS=$LIBS
   12495 LIBS="-ldl  $LIBS"
   12496 cat >conftest.$ac_ext <<_ACEOF
   12497 /* confdefs.h.  */
   12498 _ACEOF
   12499 cat confdefs.h >>conftest.$ac_ext
   12500 cat >>conftest.$ac_ext <<_ACEOF
   12501 /* end confdefs.h.  */
   12502 
   12503 /* Override any GCC internal prototype to avoid an error.
   12504    Use char because int might match the return type of a GCC
   12505    builtin and then its argument prototype would still apply.  */
   12506 #ifdef __cplusplus
   12507 extern "C"
   12508 #endif
   12509 char dlopen ();
   12510 int
   12511 main ()
   12512 {
   12513 return dlopen ();
   12514   ;
   12515   return 0;
   12516 }
   12517 _ACEOF
   12518 rm -f conftest.$ac_objext conftest$ac_exeext
   12519 if { (ac_try="$ac_link"
   12520 case "(($ac_try" in
   12521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12522   *) ac_try_echo=$ac_try;;
   12523 esac
   12524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12525 $as_echo "$ac_try_echo") >&5
   12526   (eval "$ac_link") 2>conftest.er1
   12527   ac_status=$?
   12528   grep -v '^ *+' conftest.er1 >conftest.err
   12529   rm -f conftest.er1
   12530   cat conftest.err >&5
   12531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12532   (exit $ac_status); } && {
   12533 	 test -z "$ac_c_werror_flag" ||
   12534 	 test ! -s conftest.err
   12535        } && test -s conftest$ac_exeext && {
   12536 	 test "$cross_compiling" = yes ||
   12537 	 $as_test_x conftest$ac_exeext
   12538        }; then
   12539   ac_cv_lib_dl_dlopen=yes
   12540 else
   12541   $as_echo "$as_me: failed program was:" >&5
   12542 sed 's/^/| /' conftest.$ac_ext >&5
   12543 
   12544 	ac_cv_lib_dl_dlopen=no
   12545 fi
   12546 
   12547 rm -rf conftest.dSYM
   12548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12549       conftest$ac_exeext conftest.$ac_ext
   12550 LIBS=$ac_check_lib_save_LIBS
   12551 fi
   12552 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   12553 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12554 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   12555   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12556 else
   12557   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   12558 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12559 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   12560   $as_echo_n "(cached) " >&6
   12561 else
   12562   ac_check_lib_save_LIBS=$LIBS
   12563 LIBS="-lsvld  $LIBS"
   12564 cat >conftest.$ac_ext <<_ACEOF
   12565 /* confdefs.h.  */
   12566 _ACEOF
   12567 cat confdefs.h >>conftest.$ac_ext
   12568 cat >>conftest.$ac_ext <<_ACEOF
   12569 /* end confdefs.h.  */
   12570 
   12571 /* Override any GCC internal prototype to avoid an error.
   12572    Use char because int might match the return type of a GCC
   12573    builtin and then its argument prototype would still apply.  */
   12574 #ifdef __cplusplus
   12575 extern "C"
   12576 #endif
   12577 char dlopen ();
   12578 int
   12579 main ()
   12580 {
   12581 return dlopen ();
   12582   ;
   12583   return 0;
   12584 }
   12585 _ACEOF
   12586 rm -f conftest.$ac_objext conftest$ac_exeext
   12587 if { (ac_try="$ac_link"
   12588 case "(($ac_try" in
   12589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12590   *) ac_try_echo=$ac_try;;
   12591 esac
   12592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12593 $as_echo "$ac_try_echo") >&5
   12594   (eval "$ac_link") 2>conftest.er1
   12595   ac_status=$?
   12596   grep -v '^ *+' conftest.er1 >conftest.err
   12597   rm -f conftest.er1
   12598   cat conftest.err >&5
   12599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12600   (exit $ac_status); } && {
   12601 	 test -z "$ac_c_werror_flag" ||
   12602 	 test ! -s conftest.err
   12603        } && test -s conftest$ac_exeext && {
   12604 	 test "$cross_compiling" = yes ||
   12605 	 $as_test_x conftest$ac_exeext
   12606        }; then
   12607   ac_cv_lib_svld_dlopen=yes
   12608 else
   12609   $as_echo "$as_me: failed program was:" >&5
   12610 sed 's/^/| /' conftest.$ac_ext >&5
   12611 
   12612 	ac_cv_lib_svld_dlopen=no
   12613 fi
   12614 
   12615 rm -rf conftest.dSYM
   12616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12617       conftest$ac_exeext conftest.$ac_ext
   12618 LIBS=$ac_check_lib_save_LIBS
   12619 fi
   12620 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   12621 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12622 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   12623   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12624 else
   12625   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   12626 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12627 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   12628   $as_echo_n "(cached) " >&6
   12629 else
   12630   ac_check_lib_save_LIBS=$LIBS
   12631 LIBS="-ldld  $LIBS"
   12632 cat >conftest.$ac_ext <<_ACEOF
   12633 /* confdefs.h.  */
   12634 _ACEOF
   12635 cat confdefs.h >>conftest.$ac_ext
   12636 cat >>conftest.$ac_ext <<_ACEOF
   12637 /* end confdefs.h.  */
   12638 
   12639 /* Override any GCC internal prototype to avoid an error.
   12640    Use char because int might match the return type of a GCC
   12641    builtin and then its argument prototype would still apply.  */
   12642 #ifdef __cplusplus
   12643 extern "C"
   12644 #endif
   12645 char dld_link ();
   12646 int
   12647 main ()
   12648 {
   12649 return dld_link ();
   12650   ;
   12651   return 0;
   12652 }
   12653 _ACEOF
   12654 rm -f conftest.$ac_objext conftest$ac_exeext
   12655 if { (ac_try="$ac_link"
   12656 case "(($ac_try" in
   12657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12658   *) ac_try_echo=$ac_try;;
   12659 esac
   12660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12661 $as_echo "$ac_try_echo") >&5
   12662   (eval "$ac_link") 2>conftest.er1
   12663   ac_status=$?
   12664   grep -v '^ *+' conftest.er1 >conftest.err
   12665   rm -f conftest.er1
   12666   cat conftest.err >&5
   12667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12668   (exit $ac_status); } && {
   12669 	 test -z "$ac_c_werror_flag" ||
   12670 	 test ! -s conftest.err
   12671        } && test -s conftest$ac_exeext && {
   12672 	 test "$cross_compiling" = yes ||
   12673 	 $as_test_x conftest$ac_exeext
   12674        }; then
   12675   ac_cv_lib_dld_dld_link=yes
   12676 else
   12677   $as_echo "$as_me: failed program was:" >&5
   12678 sed 's/^/| /' conftest.$ac_ext >&5
   12679 
   12680 	ac_cv_lib_dld_dld_link=no
   12681 fi
   12682 
   12683 rm -rf conftest.dSYM
   12684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   12685       conftest$ac_exeext conftest.$ac_ext
   12686 LIBS=$ac_check_lib_save_LIBS
   12687 fi
   12688 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   12689 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12690 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   12691   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12692 fi
   12693 
   12694 
   12695 fi
   12696 
   12697 
   12698 fi
   12699 
   12700 
   12701 fi
   12702 
   12703 
   12704 fi
   12705 
   12706 
   12707 fi
   12708 
   12709     ;;
   12710   esac
   12711 
   12712   if test "x$lt_cv_dlopen" != xno; then
   12713     enable_dlopen=yes
   12714   else
   12715     enable_dlopen=no
   12716   fi
   12717 
   12718   case $lt_cv_dlopen in
   12719   dlopen)
   12720     save_CPPFLAGS="$CPPFLAGS"
   12721     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12722 
   12723     save_LDFLAGS="$LDFLAGS"
   12724     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12725 
   12726     save_LIBS="$LIBS"
   12727     LIBS="$lt_cv_dlopen_libs $LIBS"
   12728 
   12729     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   12730 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12731 if test "${lt_cv_dlopen_self+set}" = set; then
   12732   $as_echo_n "(cached) " >&6
   12733 else
   12734   	  if test "$cross_compiling" = yes; then :
   12735   lt_cv_dlopen_self=cross
   12736 else
   12737   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12738   lt_status=$lt_dlunknown
   12739   cat > conftest.$ac_ext <<_LT_EOF
   12740 #line 12740 "configure"
   12741 #include "confdefs.h"
   12742 
   12743 #if HAVE_DLFCN_H
   12744 #include <dlfcn.h>
   12745 #endif
   12746 
   12747 #include <stdio.h>
   12748 
   12749 #ifdef RTLD_GLOBAL
   12750 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12751 #else
   12752 #  ifdef DL_GLOBAL
   12753 #    define LT_DLGLOBAL		DL_GLOBAL
   12754 #  else
   12755 #    define LT_DLGLOBAL		0
   12756 #  endif
   12757 #endif
   12758 
   12759 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12760    find out it does not work in some platform. */
   12761 #ifndef LT_DLLAZY_OR_NOW
   12762 #  ifdef RTLD_LAZY
   12763 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12764 #  else
   12765 #    ifdef DL_LAZY
   12766 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12767 #    else
   12768 #      ifdef RTLD_NOW
   12769 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12770 #      else
   12771 #        ifdef DL_NOW
   12772 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12773 #        else
   12774 #          define LT_DLLAZY_OR_NOW	0
   12775 #        endif
   12776 #      endif
   12777 #    endif
   12778 #  endif
   12779 #endif
   12780 
   12781 void fnord() { int i=42;}
   12782 int main ()
   12783 {
   12784   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12785   int status = $lt_dlunknown;
   12786 
   12787   if (self)
   12788     {
   12789       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12790       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   12791       /* dlclose (self); */
   12792     }
   12793   else
   12794     puts (dlerror ());
   12795 
   12796   return status;
   12797 }
   12798 _LT_EOF
   12799   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12800   (eval $ac_link) 2>&5
   12801   ac_status=$?
   12802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12803   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   12804     (./conftest; exit; ) >&5 2>/dev/null
   12805     lt_status=$?
   12806     case x$lt_status in
   12807       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12808       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12809       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12810     esac
   12811   else :
   12812     # compilation failed
   12813     lt_cv_dlopen_self=no
   12814   fi
   12815 fi
   12816 rm -fr conftest*
   12817 
   12818 
   12819 fi
   12820 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   12821 $as_echo "$lt_cv_dlopen_self" >&6; }
   12822 
   12823     if test "x$lt_cv_dlopen_self" = xyes; then
   12824       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12825       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   12826 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12827 if test "${lt_cv_dlopen_self_static+set}" = set; then
   12828   $as_echo_n "(cached) " >&6
   12829 else
   12830   	  if test "$cross_compiling" = yes; then :
   12831   lt_cv_dlopen_self_static=cross
   12832 else
   12833   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12834   lt_status=$lt_dlunknown
   12835   cat > conftest.$ac_ext <<_LT_EOF
   12836 #line 12836 "configure"
   12837 #include "confdefs.h"
   12838 
   12839 #if HAVE_DLFCN_H
   12840 #include <dlfcn.h>
   12841 #endif
   12842 
   12843 #include <stdio.h>
   12844 
   12845 #ifdef RTLD_GLOBAL
   12846 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12847 #else
   12848 #  ifdef DL_GLOBAL
   12849 #    define LT_DLGLOBAL		DL_GLOBAL
   12850 #  else
   12851 #    define LT_DLGLOBAL		0
   12852 #  endif
   12853 #endif
   12854 
   12855 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12856    find out it does not work in some platform. */
   12857 #ifndef LT_DLLAZY_OR_NOW
   12858 #  ifdef RTLD_LAZY
   12859 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12860 #  else
   12861 #    ifdef DL_LAZY
   12862 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12863 #    else
   12864 #      ifdef RTLD_NOW
   12865 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12866 #      else
   12867 #        ifdef DL_NOW
   12868 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12869 #        else
   12870 #          define LT_DLLAZY_OR_NOW	0
   12871 #        endif
   12872 #      endif
   12873 #    endif
   12874 #  endif
   12875 #endif
   12876 
   12877 void fnord() { int i=42;}
   12878 int main ()
   12879 {
   12880   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12881   int status = $lt_dlunknown;
   12882 
   12883   if (self)
   12884     {
   12885       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12886       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   12887       /* dlclose (self); */
   12888     }
   12889   else
   12890     puts (dlerror ());
   12891 
   12892   return status;
   12893 }
   12894 _LT_EOF
   12895   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12896   (eval $ac_link) 2>&5
   12897   ac_status=$?
   12898   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12899   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   12900     (./conftest; exit; ) >&5 2>/dev/null
   12901     lt_status=$?
   12902     case x$lt_status in
   12903       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12904       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12905       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12906     esac
   12907   else :
   12908     # compilation failed
   12909     lt_cv_dlopen_self_static=no
   12910   fi
   12911 fi
   12912 rm -fr conftest*
   12913 
   12914 
   12915 fi
   12916 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   12917 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12918     fi
   12919 
   12920     CPPFLAGS="$save_CPPFLAGS"
   12921     LDFLAGS="$save_LDFLAGS"
   12922     LIBS="$save_LIBS"
   12923     ;;
   12924   esac
   12925 
   12926   case $lt_cv_dlopen_self in
   12927   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12928   *) enable_dlopen_self=unknown ;;
   12929   esac
   12930 
   12931   case $lt_cv_dlopen_self_static in
   12932   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12933   *) enable_dlopen_self_static=unknown ;;
   12934   esac
   12935 fi
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 striplib=
   12954 old_striplib=
   12955 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   12956 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12957 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12958   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12959   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12960   { $as_echo "$as_me:$LINENO: result: yes" >&5
   12961 $as_echo "yes" >&6; }
   12962 else
   12963 # FIXME - insert some real tests, host_os isn't really good enough
   12964   case $host_os in
   12965   darwin*)
   12966     if test -n "$STRIP" ; then
   12967       striplib="$STRIP -x"
   12968       old_striplib="$STRIP -S"
   12969       { $as_echo "$as_me:$LINENO: result: yes" >&5
   12970 $as_echo "yes" >&6; }
   12971     else
   12972       { $as_echo "$as_me:$LINENO: result: no" >&5
   12973 $as_echo "no" >&6; }
   12974     fi
   12975     ;;
   12976   *)
   12977     { $as_echo "$as_me:$LINENO: result: no" >&5
   12978 $as_echo "no" >&6; }
   12979     ;;
   12980   esac
   12981 fi
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994   # Report which library types will actually be built
   12995   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   12996 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12997   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   12998 $as_echo "$can_build_shared" >&6; }
   12999 
   13000   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   13001 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13002   test "$can_build_shared" = "no" && enable_shared=no
   13003 
   13004   # On AIX, shared libraries and static libraries use the same namespace, and
   13005   # are all built from PIC.
   13006   case $host_os in
   13007   aix3*)
   13008     test "$enable_shared" = yes && enable_static=no
   13009     if test -n "$RANLIB"; then
   13010       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13011       postinstall_cmds='$RANLIB $lib'
   13012     fi
   13013     ;;
   13014 
   13015   aix[4-9]*)
   13016     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13017       test "$enable_shared" = yes && enable_static=no
   13018     fi
   13019     ;;
   13020   esac
   13021   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   13022 $as_echo "$enable_shared" >&6; }
   13023 
   13024   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   13025 $as_echo_n "checking whether to build static libraries... " >&6; }
   13026   # Make sure either enable_shared or enable_static is yes.
   13027   test "$enable_shared" = yes || enable_static=yes
   13028   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   13029 $as_echo "$enable_static" >&6; }
   13030 
   13031 
   13032 
   13033 
   13034 fi
   13035 ac_ext=c
   13036 ac_cpp='$CPP $CPPFLAGS'
   13037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13040 
   13041 CC="$lt_save_CC"
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055         ac_config_commands="$ac_config_commands libtool"
   13056 
   13057 
   13058 
   13059 
   13060 # Only expand once:
   13061 
   13062 
   13063 
   13064 
   13065 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13066 	if test -n "$ac_tool_prefix"; then
   13067   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13068 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13069 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13070 $as_echo_n "checking for $ac_word... " >&6; }
   13071 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   13072   $as_echo_n "(cached) " >&6
   13073 else
   13074   case $PKG_CONFIG in
   13075   [\\/]* | ?:[\\/]*)
   13076   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13077   ;;
   13078   *)
   13079   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13080 for as_dir in $PATH
   13081 do
   13082   IFS=$as_save_IFS
   13083   test -z "$as_dir" && as_dir=.
   13084   for ac_exec_ext in '' $ac_executable_extensions; do
   13085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13086     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13088     break 2
   13089   fi
   13090 done
   13091 done
   13092 IFS=$as_save_IFS
   13093 
   13094   ;;
   13095 esac
   13096 fi
   13097 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13098 if test -n "$PKG_CONFIG"; then
   13099   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   13100 $as_echo "$PKG_CONFIG" >&6; }
   13101 else
   13102   { $as_echo "$as_me:$LINENO: result: no" >&5
   13103 $as_echo "no" >&6; }
   13104 fi
   13105 
   13106 
   13107 fi
   13108 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13109   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13110   # Extract the first word of "pkg-config", so it can be a program name with args.
   13111 set dummy pkg-config; ac_word=$2
   13112 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13113 $as_echo_n "checking for $ac_word... " >&6; }
   13114 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   13115   $as_echo_n "(cached) " >&6
   13116 else
   13117   case $ac_pt_PKG_CONFIG in
   13118   [\\/]* | ?:[\\/]*)
   13119   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13120   ;;
   13121   *)
   13122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13123 for as_dir in $PATH
   13124 do
   13125   IFS=$as_save_IFS
   13126   test -z "$as_dir" && as_dir=.
   13127   for ac_exec_ext in '' $ac_executable_extensions; do
   13128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13129     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13130     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13131     break 2
   13132   fi
   13133 done
   13134 done
   13135 IFS=$as_save_IFS
   13136 
   13137   ;;
   13138 esac
   13139 fi
   13140 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13141 if test -n "$ac_pt_PKG_CONFIG"; then
   13142   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   13143 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   13144 else
   13145   { $as_echo "$as_me:$LINENO: result: no" >&5
   13146 $as_echo "no" >&6; }
   13147 fi
   13148 
   13149   if test "x$ac_pt_PKG_CONFIG" = x; then
   13150     PKG_CONFIG=""
   13151   else
   13152     case $cross_compiling:$ac_tool_warned in
   13153 yes:)
   13154 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   13155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13156 ac_tool_warned=yes ;;
   13157 esac
   13158     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13159   fi
   13160 else
   13161   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13162 fi
   13163 
   13164 fi
   13165 if test -n "$PKG_CONFIG"; then
   13166 	_pkg_min_version=0.9.0
   13167 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   13168 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13169 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13170 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   13171 $as_echo "yes" >&6; }
   13172 	else
   13173 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   13174 $as_echo "no" >&6; }
   13175 		PKG_CONFIG=""
   13176 	fi
   13177 
   13178 fi
   13179 
   13180 # Look for headers
   13181 
   13182 
   13183 
   13184 for ac_header in endian.h poll.h sys/poll.h
   13185 do
   13186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   13188   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   13189 $as_echo_n "checking for $ac_header... " >&6; }
   13190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   13191   $as_echo_n "(cached) " >&6
   13192 fi
   13193 ac_res=`eval 'as_val=${'$as_ac_Header'}
   13194 		 $as_echo "$as_val"'`
   13195 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13196 $as_echo "$ac_res" >&6; }
   13197 else
   13198   # Is the header compilable?
   13199 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   13200 $as_echo_n "checking $ac_header usability... " >&6; }
   13201 cat >conftest.$ac_ext <<_ACEOF
   13202 /* confdefs.h.  */
   13203 _ACEOF
   13204 cat confdefs.h >>conftest.$ac_ext
   13205 cat >>conftest.$ac_ext <<_ACEOF
   13206 /* end confdefs.h.  */
   13207 $ac_includes_default
   13208 #include <$ac_header>
   13209 _ACEOF
   13210 rm -f conftest.$ac_objext
   13211 if { (ac_try="$ac_compile"
   13212 case "(($ac_try" in
   13213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13214   *) ac_try_echo=$ac_try;;
   13215 esac
   13216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13217 $as_echo "$ac_try_echo") >&5
   13218   (eval "$ac_compile") 2>conftest.er1
   13219   ac_status=$?
   13220   grep -v '^ *+' conftest.er1 >conftest.err
   13221   rm -f conftest.er1
   13222   cat conftest.err >&5
   13223   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13224   (exit $ac_status); } && {
   13225 	 test -z "$ac_c_werror_flag" ||
   13226 	 test ! -s conftest.err
   13227        } && test -s conftest.$ac_objext; then
   13228   ac_header_compiler=yes
   13229 else
   13230   $as_echo "$as_me: failed program was:" >&5
   13231 sed 's/^/| /' conftest.$ac_ext >&5
   13232 
   13233 	ac_header_compiler=no
   13234 fi
   13235 
   13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13237 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   13238 $as_echo "$ac_header_compiler" >&6; }
   13239 
   13240 # Is the header present?
   13241 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   13242 $as_echo_n "checking $ac_header presence... " >&6; }
   13243 cat >conftest.$ac_ext <<_ACEOF
   13244 /* confdefs.h.  */
   13245 _ACEOF
   13246 cat confdefs.h >>conftest.$ac_ext
   13247 cat >>conftest.$ac_ext <<_ACEOF
   13248 /* end confdefs.h.  */
   13249 #include <$ac_header>
   13250 _ACEOF
   13251 if { (ac_try="$ac_cpp conftest.$ac_ext"
   13252 case "(($ac_try" in
   13253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13254   *) ac_try_echo=$ac_try;;
   13255 esac
   13256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13257 $as_echo "$ac_try_echo") >&5
   13258   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   13259   ac_status=$?
   13260   grep -v '^ *+' conftest.er1 >conftest.err
   13261   rm -f conftest.er1
   13262   cat conftest.err >&5
   13263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13264   (exit $ac_status); } >/dev/null && {
   13265 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   13266 	 test ! -s conftest.err
   13267        }; then
   13268   ac_header_preproc=yes
   13269 else
   13270   $as_echo "$as_me: failed program was:" >&5
   13271 sed 's/^/| /' conftest.$ac_ext >&5
   13272 
   13273   ac_header_preproc=no
   13274 fi
   13275 
   13276 rm -f conftest.err conftest.$ac_ext
   13277 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   13278 $as_echo "$ac_header_preproc" >&6; }
   13279 
   13280 # So?  What about this header?
   13281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   13282   yes:no: )
   13283     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   13284 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   13285     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   13286 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   13287     ac_header_preproc=yes
   13288     ;;
   13289   no:yes:* )
   13290     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   13291 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   13292     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   13293 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   13294     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   13295 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   13296     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   13297 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   13298     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   13299 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   13300     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   13301 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   13302     ( cat <<\_ASBOX
   13303 ## ---------------------------------------------------------------------- ##
   13304 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   13305 ## ---------------------------------------------------------------------- ##
   13306 _ASBOX
   13307      ) | sed "s/^/$as_me: WARNING:     /" >&2
   13308     ;;
   13309 esac
   13310 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   13311 $as_echo_n "checking for $ac_header... " >&6; }
   13312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   13313   $as_echo_n "(cached) " >&6
   13314 else
   13315   eval "$as_ac_Header=\$ac_header_preproc"
   13316 fi
   13317 ac_res=`eval 'as_val=${'$as_ac_Header'}
   13318 		 $as_echo "$as_val"'`
   13319 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13320 $as_echo "$ac_res" >&6; }
   13321 
   13322 fi
   13323 as_val=`eval 'as_val=${'$as_ac_Header'}
   13324 		 $as_echo "$as_val"'`
   13325    if test "x$as_val" = x""yes; then
   13326   cat >>confdefs.h <<_ACEOF
   13327 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13328 _ACEOF
   13329 
   13330 fi
   13331 
   13332 done
   13333 
   13334 
   13335 for ac_func in poll
   13336 do
   13337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13338 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   13339 $as_echo_n "checking for $ac_func... " >&6; }
   13340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   13341   $as_echo_n "(cached) " >&6
   13342 else
   13343   cat >conftest.$ac_ext <<_ACEOF
   13344 /* confdefs.h.  */
   13345 _ACEOF
   13346 cat confdefs.h >>conftest.$ac_ext
   13347 cat >>conftest.$ac_ext <<_ACEOF
   13348 /* end confdefs.h.  */
   13349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   13350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   13351 #define $ac_func innocuous_$ac_func
   13352 
   13353 /* System header to define __stub macros and hopefully few prototypes,
   13354     which can conflict with char $ac_func (); below.
   13355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   13356     <limits.h> exists even on freestanding compilers.  */
   13357 
   13358 #ifdef __STDC__
   13359 # include <limits.h>
   13360 #else
   13361 # include <assert.h>
   13362 #endif
   13363 
   13364 #undef $ac_func
   13365 
   13366 /* Override any GCC internal prototype to avoid an error.
   13367    Use char because int might match the return type of a GCC
   13368    builtin and then its argument prototype would still apply.  */
   13369 #ifdef __cplusplus
   13370 extern "C"
   13371 #endif
   13372 char $ac_func ();
   13373 /* The GNU C library defines this for functions which it implements
   13374     to always fail with ENOSYS.  Some functions are actually named
   13375     something starting with __ and the normal name is an alias.  */
   13376 #if defined __stub_$ac_func || defined __stub___$ac_func
   13377 choke me
   13378 #endif
   13379 
   13380 int
   13381 main ()
   13382 {
   13383 return $ac_func ();
   13384   ;
   13385   return 0;
   13386 }
   13387 _ACEOF
   13388 rm -f conftest.$ac_objext conftest$ac_exeext
   13389 if { (ac_try="$ac_link"
   13390 case "(($ac_try" in
   13391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13392   *) ac_try_echo=$ac_try;;
   13393 esac
   13394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13395 $as_echo "$ac_try_echo") >&5
   13396   (eval "$ac_link") 2>conftest.er1
   13397   ac_status=$?
   13398   grep -v '^ *+' conftest.er1 >conftest.err
   13399   rm -f conftest.er1
   13400   cat conftest.err >&5
   13401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13402   (exit $ac_status); } && {
   13403 	 test -z "$ac_c_werror_flag" ||
   13404 	 test ! -s conftest.err
   13405        } && test -s conftest$ac_exeext && {
   13406 	 test "$cross_compiling" = yes ||
   13407 	 $as_test_x conftest$ac_exeext
   13408        }; then
   13409   eval "$as_ac_var=yes"
   13410 else
   13411   $as_echo "$as_me: failed program was:" >&5
   13412 sed 's/^/| /' conftest.$ac_ext >&5
   13413 
   13414 	eval "$as_ac_var=no"
   13415 fi
   13416 
   13417 rm -rf conftest.dSYM
   13418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   13419       conftest$ac_exeext conftest.$ac_ext
   13420 fi
   13421 ac_res=`eval 'as_val=${'$as_ac_var'}
   13422 		 $as_echo "$as_val"'`
   13423 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   13424 $as_echo "$ac_res" >&6; }
   13425 as_val=`eval 'as_val=${'$as_ac_var'}
   13426 		 $as_echo "$as_val"'`
   13427    if test "x$as_val" = x""yes; then
   13428   cat >>confdefs.h <<_ACEOF
   13429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13430 _ACEOF
   13431 
   13432 fi
   13433 done
   13434 
   13435 
   13436 #
   13437 # select libraries to include
   13438 #
   13439 
   13440 XFONT_FONTFILE=no
   13441 
   13442 #
   13443 # Scalable fonts in files:
   13444 # 	FreeType
   13445 #	Bitstream Speedo rasterizer
   13446 #
   13447 # Check whether --enable-freetype was given.
   13448 if test "${enable_freetype+set}" = set; then
   13449   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   13450 else
   13451   XFONT_FREETYPE=yes
   13452 fi
   13453 
   13454  if test x$XFONT_FREETYPE = xyes; then
   13455   XFONT_FREETYPE_TRUE=
   13456   XFONT_FREETYPE_FALSE='#'
   13457 else
   13458   XFONT_FREETYPE_TRUE='#'
   13459   XFONT_FREETYPE_FALSE=
   13460 fi
   13461 
   13462 if test x$XFONT_FREETYPE = xyes; then
   13463 
   13464 cat >>confdefs.h <<\_ACEOF
   13465 #define XFONT_FREETYPE 1
   13466 _ACEOF
   13467 
   13468 
   13469 # Check whether --with-freetype-config was given.
   13470 if test "${with_freetype_config+set}" = set; then
   13471   withval=$with_freetype_config; freetype_config=$withval
   13472 else
   13473   freetype_config=auto
   13474 fi
   13475 
   13476 
   13477 	if test "$freetype_config" = "auto" ; then
   13478 
   13479 pkg_failed=no
   13480 { $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5
   13481 $as_echo_n "checking for FREETYPE... " >&6; }
   13482 
   13483 if test -n "$PKG_CONFIG"; then
   13484     if test -n "$FREETYPE_CFLAGS"; then
   13485         pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   13486     else
   13487         if test -n "$PKG_CONFIG" && \
   13488     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   13489   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   13490   ac_status=$?
   13491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13492   (exit $ac_status); }; then
   13493   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   13494 else
   13495   pkg_failed=yes
   13496 fi
   13497     fi
   13498 else
   13499 	pkg_failed=untried
   13500 fi
   13501 if test -n "$PKG_CONFIG"; then
   13502     if test -n "$FREETYPE_LIBS"; then
   13503         pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   13504     else
   13505         if test -n "$PKG_CONFIG" && \
   13506     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   13507   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   13508   ac_status=$?
   13509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13510   (exit $ac_status); }; then
   13511   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   13512 else
   13513   pkg_failed=yes
   13514 fi
   13515     fi
   13516 else
   13517 	pkg_failed=untried
   13518 fi
   13519 
   13520 
   13521 
   13522 if test $pkg_failed = yes; then
   13523 
   13524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   13525         _pkg_short_errors_supported=yes
   13526 else
   13527         _pkg_short_errors_supported=no
   13528 fi
   13529         if test $_pkg_short_errors_supported = yes; then
   13530 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
   13531         else
   13532 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
   13533         fi
   13534 	# Put the nasty error message in config.log where it belongs
   13535 	echo "$FREETYPE_PKG_ERRORS" >&5
   13536 
   13537 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   13538 $as_echo "no" >&6; }
   13539                 freetype_config=yes
   13540 elif test $pkg_failed = untried; then
   13541 	freetype_config=yes
   13542 else
   13543 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   13544 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   13545         { $as_echo "$as_me:$LINENO: result: yes" >&5
   13546 $as_echo "yes" >&6; }
   13547 	freetype_config=no
   13548 fi
   13549 	fi
   13550 
   13551 	if test "$freetype_config" = "yes"; then
   13552 		# Extract the first word of "freetype-config", so it can be a program name with args.
   13553 set dummy freetype-config; ac_word=$2
   13554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   13555 $as_echo_n "checking for $ac_word... " >&6; }
   13556 if test "${ac_cv_path_ft_config+set}" = set; then
   13557   $as_echo_n "(cached) " >&6
   13558 else
   13559   case $ft_config in
   13560   [\\/]* | ?:[\\/]*)
   13561   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   13562   ;;
   13563   *)
   13564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13565 for as_dir in $PATH
   13566 do
   13567   IFS=$as_save_IFS
   13568   test -z "$as_dir" && as_dir=.
   13569   for ac_exec_ext in '' $ac_executable_extensions; do
   13570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13571     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   13572     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   13573     break 2
   13574   fi
   13575 done
   13576 done
   13577 IFS=$as_save_IFS
   13578 
   13579   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   13580   ;;
   13581 esac
   13582 fi
   13583 ft_config=$ac_cv_path_ft_config
   13584 if test -n "$ft_config"; then
   13585   { $as_echo "$as_me:$LINENO: result: $ft_config" >&5
   13586 $as_echo "$ft_config" >&6; }
   13587 else
   13588   { $as_echo "$as_me:$LINENO: result: no" >&5
   13589 $as_echo "no" >&6; }
   13590 fi
   13591 
   13592 
   13593 		if test "$ft_config" = "no"; then
   13594 			{ { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5
   13595 $as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;}
   13596    { (exit 1); exit 1; }; }
   13597 		fi
   13598 	else
   13599 		ft_config="$freetype_config"
   13600 	fi
   13601 
   13602 	if test "$freetype_config" != "no"; then
   13603 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   13604 		FREETYPE_LIBS="`$ft_config --libs`"
   13605 	fi
   13606 	FREETYPE_REQUIRES="freetype2"
   13607 	XFONT_FONTFILE=yes
   13608 else
   13609 	FREETYPE_CFLAGS=""
   13610 	FREETYPE_LIBS=""
   13611 	FREETYPE_REQUIRES=""
   13612 fi
   13613 
   13614 
   13615 
   13616 
   13617 #
   13618 # Bitmap fonts in files:
   13619 #	Builtins (gzipped pcf format in .text segment)
   13620 #	PCF
   13621 #	BDF
   13622 #	SNF
   13623 #
   13624 
   13625 
   13626 cat >>confdefs.h <<\_ACEOF
   13627 #define X_GZIP_FONT_COMPRESSION 1
   13628 _ACEOF
   13629 
   13630 X_GZIP_FONT_COMPRESSION=1
   13631 
   13632 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
   13633 $as_echo_n "checking for gzopen in -lz... " >&6; }
   13634 if test "${ac_cv_lib_z_gzopen+set}" = set; then
   13635   $as_echo_n "(cached) " >&6
   13636 else
   13637   ac_check_lib_save_LIBS=$LIBS
   13638 LIBS="-lz  $LIBS"
   13639 cat >conftest.$ac_ext <<_ACEOF
   13640 /* confdefs.h.  */
   13641 _ACEOF
   13642 cat confdefs.h >>conftest.$ac_ext
   13643 cat >>conftest.$ac_ext <<_ACEOF
   13644 /* end confdefs.h.  */
   13645 
   13646 /* Override any GCC internal prototype to avoid an error.
   13647    Use char because int might match the return type of a GCC
   13648    builtin and then its argument prototype would still apply.  */
   13649 #ifdef __cplusplus
   13650 extern "C"
   13651 #endif
   13652 char gzopen ();
   13653 int
   13654 main ()
   13655 {
   13656 return gzopen ();
   13657   ;
   13658   return 0;
   13659 }
   13660 _ACEOF
   13661 rm -f conftest.$ac_objext conftest$ac_exeext
   13662 if { (ac_try="$ac_link"
   13663 case "(($ac_try" in
   13664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13665   *) ac_try_echo=$ac_try;;
   13666 esac
   13667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13668 $as_echo "$ac_try_echo") >&5
   13669   (eval "$ac_link") 2>conftest.er1
   13670   ac_status=$?
   13671   grep -v '^ *+' conftest.er1 >conftest.err
   13672   rm -f conftest.er1
   13673   cat conftest.err >&5
   13674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13675   (exit $ac_status); } && {
   13676 	 test -z "$ac_c_werror_flag" ||
   13677 	 test ! -s conftest.err
   13678        } && test -s conftest$ac_exeext && {
   13679 	 test "$cross_compiling" = yes ||
   13680 	 $as_test_x conftest$ac_exeext
   13681        }; then
   13682   ac_cv_lib_z_gzopen=yes
   13683 else
   13684   $as_echo "$as_me: failed program was:" >&5
   13685 sed 's/^/| /' conftest.$ac_ext >&5
   13686 
   13687 	ac_cv_lib_z_gzopen=no
   13688 fi
   13689 
   13690 rm -rf conftest.dSYM
   13691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   13692       conftest$ac_exeext conftest.$ac_ext
   13693 LIBS=$ac_check_lib_save_LIBS
   13694 fi
   13695 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
   13696 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   13697 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
   13698   Z_LIBS=-lz
   13699 else
   13700   { { $as_echo "$as_me:$LINENO: error: *** zlib is required" >&5
   13701 $as_echo "$as_me: error: *** zlib is required" >&2;}
   13702    { (exit 1); exit 1; }; }
   13703 fi
   13704 
   13705 
   13706 
   13707 # Check whether --with-bzip2 was given.
   13708 if test "${with_bzip2+set}" = set; then
   13709   withval=$with_bzip2;
   13710 else
   13711   with_bzip2=no
   13712 fi
   13713 
   13714 if test "x$with_bzip2" = xyes; then
   13715 	{ $as_echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5
   13716 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   13717 if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then
   13718   $as_echo_n "(cached) " >&6
   13719 else
   13720   ac_check_lib_save_LIBS=$LIBS
   13721 LIBS="-lbz2  $LIBS"
   13722 cat >conftest.$ac_ext <<_ACEOF
   13723 /* confdefs.h.  */
   13724 _ACEOF
   13725 cat confdefs.h >>conftest.$ac_ext
   13726 cat >>conftest.$ac_ext <<_ACEOF
   13727 /* end confdefs.h.  */
   13728 
   13729 /* Override any GCC internal prototype to avoid an error.
   13730    Use char because int might match the return type of a GCC
   13731    builtin and then its argument prototype would still apply.  */
   13732 #ifdef __cplusplus
   13733 extern "C"
   13734 #endif
   13735 char BZ2_bzopen ();
   13736 int
   13737 main ()
   13738 {
   13739 return BZ2_bzopen ();
   13740   ;
   13741   return 0;
   13742 }
   13743 _ACEOF
   13744 rm -f conftest.$ac_objext conftest$ac_exeext
   13745 if { (ac_try="$ac_link"
   13746 case "(($ac_try" in
   13747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13748   *) ac_try_echo=$ac_try;;
   13749 esac
   13750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13751 $as_echo "$ac_try_echo") >&5
   13752   (eval "$ac_link") 2>conftest.er1
   13753   ac_status=$?
   13754   grep -v '^ *+' conftest.er1 >conftest.err
   13755   rm -f conftest.er1
   13756   cat conftest.err >&5
   13757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13758   (exit $ac_status); } && {
   13759 	 test -z "$ac_c_werror_flag" ||
   13760 	 test ! -s conftest.err
   13761        } && test -s conftest$ac_exeext && {
   13762 	 test "$cross_compiling" = yes ||
   13763 	 $as_test_x conftest$ac_exeext
   13764        }; then
   13765   ac_cv_lib_bz2_BZ2_bzopen=yes
   13766 else
   13767   $as_echo "$as_me: failed program was:" >&5
   13768 sed 's/^/| /' conftest.$ac_ext >&5
   13769 
   13770 	ac_cv_lib_bz2_BZ2_bzopen=no
   13771 fi
   13772 
   13773 rm -rf conftest.dSYM
   13774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   13775       conftest$ac_exeext conftest.$ac_ext
   13776 LIBS=$ac_check_lib_save_LIBS
   13777 fi
   13778 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   13779 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   13780 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = x""yes; then
   13781   Z_LIBS="$Z_LIBS -lbz2"
   13782 else
   13783   { { $as_echo "$as_me:$LINENO: error: *** libbz2 is required for bzip2 support" >&5
   13784 $as_echo "$as_me: error: *** libbz2 is required for bzip2 support" >&2;}
   13785    { (exit 1); exit 1; }; }
   13786 fi
   13787 
   13788 
   13789 cat >>confdefs.h <<\_ACEOF
   13790 #define X_BZIP2_FONT_COMPRESSION 1
   13791 _ACEOF
   13792 
   13793 fi
   13794  if test "x$with_bzip2" = xyes ; then
   13795   X_BZIP2_FONT_COMPRESSION_TRUE=
   13796   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   13797 else
   13798   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   13799   X_BZIP2_FONT_COMPRESSION_FALSE=
   13800 fi
   13801 
   13802 
   13803 
   13804 # Check whether --enable-builtins was given.
   13805 if test "${enable_builtins+set}" = set; then
   13806   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   13807 else
   13808   XFONT_BUILTINS=yes
   13809 fi
   13810 
   13811  if test "x$XFONT_BUILTINS" = xyes ; then
   13812   XFONT_BUILTINS_TRUE=
   13813   XFONT_BUILTINS_FALSE='#'
   13814 else
   13815   XFONT_BUILTINS_TRUE='#'
   13816   XFONT_BUILTINS_FALSE=
   13817 fi
   13818 
   13819 if test "x$XFONT_BUILTINS" = xyes; then
   13820 
   13821 cat >>confdefs.h <<\_ACEOF
   13822 #define XFONT_BUILTINS 1
   13823 _ACEOF
   13824 
   13825 	XFONT_BITMAP=yes
   13826 fi
   13827 
   13828 # Check whether --enable-pcfformat was given.
   13829 if test "${enable_pcfformat+set}" = set; then
   13830   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   13831 else
   13832   XFONT_PCFFORMAT=yes
   13833 fi
   13834 
   13835  if test "x$XFONT_PCFFORMAT" = xyes; then
   13836   XFONT_PCFFORMAT_TRUE=
   13837   XFONT_PCFFORMAT_FALSE='#'
   13838 else
   13839   XFONT_PCFFORMAT_TRUE='#'
   13840   XFONT_PCFFORMAT_FALSE=
   13841 fi
   13842 
   13843 if test "x$XFONT_PCFFORMAT" = xyes; then
   13844 
   13845 cat >>confdefs.h <<\_ACEOF
   13846 #define XFONT_PCFFORMAT 1
   13847 _ACEOF
   13848 
   13849 	XFONT_BITMAP=yes
   13850 fi
   13851 
   13852 # Check whether --enable-bdfformat was given.
   13853 if test "${enable_bdfformat+set}" = set; then
   13854   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   13855 else
   13856   XFONT_BDFFORMAT=yes
   13857 fi
   13858 
   13859  if test "x$XFONT_BDFFORMAT" = xyes; then
   13860   XFONT_BDFFORMAT_TRUE=
   13861   XFONT_BDFFORMAT_FALSE='#'
   13862 else
   13863   XFONT_BDFFORMAT_TRUE='#'
   13864   XFONT_BDFFORMAT_FALSE=
   13865 fi
   13866 
   13867 if test "x$XFONT_BDFFORMAT" = xyes; then
   13868 
   13869 cat >>confdefs.h <<\_ACEOF
   13870 #define XFONT_BDFFORMAT 1
   13871 _ACEOF
   13872 
   13873 	XFONT_BITMAP=yes
   13874 fi
   13875 
   13876 # Check whether --enable-snfformat was given.
   13877 if test "${enable_snfformat+set}" = set; then
   13878   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   13879 else
   13880   XFONT_SNFFORMAT=yes
   13881 fi
   13882 
   13883  if test "x$XFONT_SNFFORMAT" = xyes; then
   13884   XFONT_SNFFORMAT_TRUE=
   13885   XFONT_SNFFORMAT_FALSE='#'
   13886 else
   13887   XFONT_SNFFORMAT_TRUE='#'
   13888   XFONT_SNFFORMAT_FALSE=
   13889 fi
   13890 
   13891 if test "x$XFONT_SNFFORMAT" = xyes; then
   13892 
   13893 cat >>confdefs.h <<\_ACEOF
   13894 #define XFONT_SNFFORMAT 1
   13895 _ACEOF
   13896 
   13897 	XFONT_BITMAP=yes
   13898 fi
   13899 
   13900  if test "x$XFONT_BITMAP" = xyes ; then
   13901   XFONT_BITMAP_TRUE=
   13902   XFONT_BITMAP_FALSE='#'
   13903 else
   13904   XFONT_BITMAP_TRUE='#'
   13905   XFONT_BITMAP_FALSE=
   13906 fi
   13907 
   13908 if test "x$XFONT_BITMAP" = xyes; then
   13909 
   13910 cat >>confdefs.h <<\_ACEOF
   13911 #define XFONT_BITMAP 1
   13912 _ACEOF
   13913 
   13914 	XFONT_FONTFILE=yes
   13915 fi
   13916 
   13917  if test "x$XFONT_FONTFILE" = xyes; then
   13918   XFONT_FONTFILE_TRUE=
   13919   XFONT_FONTFILE_FALSE='#'
   13920 else
   13921   XFONT_FONTFILE_TRUE='#'
   13922   XFONT_FONTFILE_FALSE=
   13923 fi
   13924 
   13925 if test "x$XFONT_FONTFILE" = xyes; then
   13926 
   13927 cat >>confdefs.h <<\_ACEOF
   13928 #define XFONT_FONTFILE 1
   13929 _ACEOF
   13930 
   13931 fi
   13932 
   13933 #
   13934 # Support connection to font servers?
   13935 #
   13936 
   13937 # Check whether --enable-fc was given.
   13938 if test "${enable_fc+set}" = set; then
   13939   enableval=$enable_fc; XFONT_FC=$enableval
   13940 else
   13941   XFONT_FC=yes
   13942 fi
   13943 
   13944  if test "x$XFONT_FC" = xyes; then
   13945   XFONT_FC_TRUE=
   13946   XFONT_FC_FALSE='#'
   13947 else
   13948   XFONT_FC_TRUE='#'
   13949   XFONT_FC_FALSE=
   13950 fi
   13951 
   13952 if test "x$XFONT_FC" = xyes; then
   13953 
   13954 cat >>confdefs.h <<\_ACEOF
   13955 #define XFONT_FC 1
   13956 _ACEOF
   13957 
   13958 fi
   13959 
   13960 
   13961 { $as_echo "$as_me:$LINENO: checking for hypot in -lm" >&5
   13962 $as_echo_n "checking for hypot in -lm... " >&6; }
   13963 if test "${ac_cv_lib_m_hypot+set}" = set; then
   13964   $as_echo_n "(cached) " >&6
   13965 else
   13966   ac_check_lib_save_LIBS=$LIBS
   13967 LIBS="-lm  $LIBS"
   13968 cat >conftest.$ac_ext <<_ACEOF
   13969 /* confdefs.h.  */
   13970 _ACEOF
   13971 cat confdefs.h >>conftest.$ac_ext
   13972 cat >>conftest.$ac_ext <<_ACEOF
   13973 /* end confdefs.h.  */
   13974 
   13975 /* Override any GCC internal prototype to avoid an error.
   13976    Use char because int might match the return type of a GCC
   13977    builtin and then its argument prototype would still apply.  */
   13978 #ifdef __cplusplus
   13979 extern "C"
   13980 #endif
   13981 char hypot ();
   13982 int
   13983 main ()
   13984 {
   13985 return hypot ();
   13986   ;
   13987   return 0;
   13988 }
   13989 _ACEOF
   13990 rm -f conftest.$ac_objext conftest$ac_exeext
   13991 if { (ac_try="$ac_link"
   13992 case "(($ac_try" in
   13993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13994   *) ac_try_echo=$ac_try;;
   13995 esac
   13996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   13997 $as_echo "$ac_try_echo") >&5
   13998   (eval "$ac_link") 2>conftest.er1
   13999   ac_status=$?
   14000   grep -v '^ *+' conftest.er1 >conftest.err
   14001   rm -f conftest.er1
   14002   cat conftest.err >&5
   14003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14004   (exit $ac_status); } && {
   14005 	 test -z "$ac_c_werror_flag" ||
   14006 	 test ! -s conftest.err
   14007        } && test -s conftest$ac_exeext && {
   14008 	 test "$cross_compiling" = yes ||
   14009 	 $as_test_x conftest$ac_exeext
   14010        }; then
   14011   ac_cv_lib_m_hypot=yes
   14012 else
   14013   $as_echo "$as_me: failed program was:" >&5
   14014 sed 's/^/| /' conftest.$ac_ext >&5
   14015 
   14016 	ac_cv_lib_m_hypot=no
   14017 fi
   14018 
   14019 rm -rf conftest.dSYM
   14020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14021       conftest$ac_exeext conftest.$ac_ext
   14022 LIBS=$ac_check_lib_save_LIBS
   14023 fi
   14024 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
   14025 $as_echo "$ac_cv_lib_m_hypot" >&6; }
   14026 if test "x$ac_cv_lib_m_hypot" = x""yes; then
   14027   MATH_LIBS=-lm
   14028 
   14029 else
   14030   { { $as_echo "$as_me:$LINENO: error: *** libm is required" >&5
   14031 $as_echo "$as_me: error: *** libm is required" >&2;}
   14032    { (exit 1); exit 1; }; }
   14033 fi
   14034 
   14035 
   14036 
   14037 pkg_failed=no
   14038 { $as_echo "$as_me:$LINENO: checking for XFONT" >&5
   14039 $as_echo_n "checking for XFONT... " >&6; }
   14040 
   14041 if test -n "$PKG_CONFIG"; then
   14042     if test -n "$XFONT_CFLAGS"; then
   14043         pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   14044     else
   14045         if test -n "$PKG_CONFIG" && \
   14046     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
   14047   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
   14048   ac_status=$?
   14049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14050   (exit $ac_status); }; then
   14051   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto fontenc" 2>/dev/null`
   14052 else
   14053   pkg_failed=yes
   14054 fi
   14055     fi
   14056 else
   14057 	pkg_failed=untried
   14058 fi
   14059 if test -n "$PKG_CONFIG"; then
   14060     if test -n "$XFONT_LIBS"; then
   14061         pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   14062     else
   14063         if test -n "$PKG_CONFIG" && \
   14064     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
   14065   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
   14066   ac_status=$?
   14067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14068   (exit $ac_status); }; then
   14069   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto fontenc" 2>/dev/null`
   14070 else
   14071   pkg_failed=yes
   14072 fi
   14073     fi
   14074 else
   14075 	pkg_failed=untried
   14076 fi
   14077 
   14078 
   14079 
   14080 if test $pkg_failed = yes; then
   14081 
   14082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   14083         _pkg_short_errors_supported=yes
   14084 else
   14085         _pkg_short_errors_supported=no
   14086 fi
   14087         if test $_pkg_short_errors_supported = yes; then
   14088 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto xtrans fontsproto fontenc"`
   14089         else
   14090 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto xtrans fontsproto fontenc"`
   14091         fi
   14092 	# Put the nasty error message in config.log where it belongs
   14093 	echo "$XFONT_PKG_ERRORS" >&5
   14094 
   14095 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
   14096 
   14097 $XFONT_PKG_ERRORS
   14098 
   14099 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14100 installed software in a non-standard prefix.
   14101 
   14102 Alternatively, you may set the environment variables XFONT_CFLAGS
   14103 and XFONT_LIBS to avoid the need to call pkg-config.
   14104 See the pkg-config man page for more details.
   14105 " >&5
   14106 $as_echo "$as_me: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
   14107 
   14108 $XFONT_PKG_ERRORS
   14109 
   14110 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   14111 installed software in a non-standard prefix.
   14112 
   14113 Alternatively, you may set the environment variables XFONT_CFLAGS
   14114 and XFONT_LIBS to avoid the need to call pkg-config.
   14115 See the pkg-config man page for more details.
   14116 " >&2;}
   14117    { (exit 1); exit 1; }; }
   14118 elif test $pkg_failed = untried; then
   14119 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   14120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14121 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   14122 is in your PATH or set the PKG_CONFIG environment variable to the full
   14123 path to pkg-config.
   14124 
   14125 Alternatively, you may set the environment variables XFONT_CFLAGS
   14126 and XFONT_LIBS to avoid the need to call pkg-config.
   14127 See the pkg-config man page for more details.
   14128 
   14129 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14130 See \`config.log' for more details." >&5
   14131 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   14132 is in your PATH or set the PKG_CONFIG environment variable to the full
   14133 path to pkg-config.
   14134 
   14135 Alternatively, you may set the environment variables XFONT_CFLAGS
   14136 and XFONT_LIBS to avoid the need to call pkg-config.
   14137 See the pkg-config man page for more details.
   14138 
   14139 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   14140 See \`config.log' for more details." >&2;}
   14141    { (exit 1); exit 1; }; }; }
   14142 else
   14143 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   14144 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   14145         { $as_echo "$as_me:$LINENO: result: yes" >&5
   14146 $as_echo "yes" >&6; }
   14147 	:
   14148 fi
   14149 
   14150 # Transport selection macro from xtrans.m4
   14151 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   14152 $as_echo_n "checking return type of signal handlers... " >&6; }
   14153 if test "${ac_cv_type_signal+set}" = set; then
   14154   $as_echo_n "(cached) " >&6
   14155 else
   14156   cat >conftest.$ac_ext <<_ACEOF
   14157 /* confdefs.h.  */
   14158 _ACEOF
   14159 cat confdefs.h >>conftest.$ac_ext
   14160 cat >>conftest.$ac_ext <<_ACEOF
   14161 /* end confdefs.h.  */
   14162 #include <sys/types.h>
   14163 #include <signal.h>
   14164 
   14165 int
   14166 main ()
   14167 {
   14168 return *(signal (0, 0)) (0) == 1;
   14169   ;
   14170   return 0;
   14171 }
   14172 _ACEOF
   14173 rm -f conftest.$ac_objext
   14174 if { (ac_try="$ac_compile"
   14175 case "(($ac_try" in
   14176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14177   *) ac_try_echo=$ac_try;;
   14178 esac
   14179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14180 $as_echo "$ac_try_echo") >&5
   14181   (eval "$ac_compile") 2>conftest.er1
   14182   ac_status=$?
   14183   grep -v '^ *+' conftest.er1 >conftest.err
   14184   rm -f conftest.er1
   14185   cat conftest.err >&5
   14186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14187   (exit $ac_status); } && {
   14188 	 test -z "$ac_c_werror_flag" ||
   14189 	 test ! -s conftest.err
   14190        } && test -s conftest.$ac_objext; then
   14191   ac_cv_type_signal=int
   14192 else
   14193   $as_echo "$as_me: failed program was:" >&5
   14194 sed 's/^/| /' conftest.$ac_ext >&5
   14195 
   14196 	ac_cv_type_signal=void
   14197 fi
   14198 
   14199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14200 fi
   14201 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   14202 $as_echo "$ac_cv_type_signal" >&6; }
   14203 
   14204 cat >>confdefs.h <<_ACEOF
   14205 #define RETSIGTYPE $ac_cv_type_signal
   14206 _ACEOF
   14207 
   14208 
   14209 
   14210 
   14211 
   14212  case $host_os in
   14213 	mingw*)	unixdef="no"   ;;
   14214 	*)	unixdef="yes"  ;;
   14215  esac
   14216  # Check whether --enable-unix-transport was given.
   14217 if test "${enable_unix_transport+set}" = set; then
   14218   enableval=$enable_unix_transport; UNIXCONN=$enableval
   14219 else
   14220   UNIXCONN=$unixdef
   14221 fi
   14222 
   14223  { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   14224 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   14225  if test "$UNIXCONN" = "yes"; then
   14226 
   14227 cat >>confdefs.h <<\_ACEOF
   14228 #define UNIXCONN 1
   14229 _ACEOF
   14230 
   14231  fi
   14232  { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   14233 $as_echo "$UNIXCONN" >&6; }
   14234  # Check whether --enable-tcp-transport was given.
   14235 if test "${enable_tcp_transport+set}" = set; then
   14236   enableval=$enable_tcp_transport; TCPCONN=$enableval
   14237 else
   14238   TCPCONN=yes
   14239 fi
   14240 
   14241  { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   14242 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   14243  { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
   14244 $as_echo "$TCPCONN" >&6; }
   14245  if test "$TCPCONN" = "yes"; then
   14246 
   14247 cat >>confdefs.h <<\_ACEOF
   14248 #define TCPCONN 1
   14249 _ACEOF
   14250 
   14251 
   14252  # SVR4 hides these in libraries other than libc
   14253  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
   14254 $as_echo_n "checking for library containing socket... " >&6; }
   14255 if test "${ac_cv_search_socket+set}" = set; then
   14256   $as_echo_n "(cached) " >&6
   14257 else
   14258   ac_func_search_save_LIBS=$LIBS
   14259 cat >conftest.$ac_ext <<_ACEOF
   14260 /* confdefs.h.  */
   14261 _ACEOF
   14262 cat confdefs.h >>conftest.$ac_ext
   14263 cat >>conftest.$ac_ext <<_ACEOF
   14264 /* end confdefs.h.  */
   14265 
   14266 /* Override any GCC internal prototype to avoid an error.
   14267    Use char because int might match the return type of a GCC
   14268    builtin and then its argument prototype would still apply.  */
   14269 #ifdef __cplusplus
   14270 extern "C"
   14271 #endif
   14272 char socket ();
   14273 int
   14274 main ()
   14275 {
   14276 return socket ();
   14277   ;
   14278   return 0;
   14279 }
   14280 _ACEOF
   14281 for ac_lib in '' socket; do
   14282   if test -z "$ac_lib"; then
   14283     ac_res="none required"
   14284   else
   14285     ac_res=-l$ac_lib
   14286     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14287   fi
   14288   rm -f conftest.$ac_objext conftest$ac_exeext
   14289 if { (ac_try="$ac_link"
   14290 case "(($ac_try" in
   14291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14292   *) ac_try_echo=$ac_try;;
   14293 esac
   14294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14295 $as_echo "$ac_try_echo") >&5
   14296   (eval "$ac_link") 2>conftest.er1
   14297   ac_status=$?
   14298   grep -v '^ *+' conftest.er1 >conftest.err
   14299   rm -f conftest.er1
   14300   cat conftest.err >&5
   14301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14302   (exit $ac_status); } && {
   14303 	 test -z "$ac_c_werror_flag" ||
   14304 	 test ! -s conftest.err
   14305        } && test -s conftest$ac_exeext && {
   14306 	 test "$cross_compiling" = yes ||
   14307 	 $as_test_x conftest$ac_exeext
   14308        }; then
   14309   ac_cv_search_socket=$ac_res
   14310 else
   14311   $as_echo "$as_me: failed program was:" >&5
   14312 sed 's/^/| /' conftest.$ac_ext >&5
   14313 
   14314 
   14315 fi
   14316 
   14317 rm -rf conftest.dSYM
   14318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14319       conftest$ac_exeext
   14320   if test "${ac_cv_search_socket+set}" = set; then
   14321   break
   14322 fi
   14323 done
   14324 if test "${ac_cv_search_socket+set}" = set; then
   14325   :
   14326 else
   14327   ac_cv_search_socket=no
   14328 fi
   14329 rm conftest.$ac_ext
   14330 LIBS=$ac_func_search_save_LIBS
   14331 fi
   14332 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   14333 $as_echo "$ac_cv_search_socket" >&6; }
   14334 ac_res=$ac_cv_search_socket
   14335 if test "$ac_res" != no; then
   14336   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14337 
   14338 fi
   14339 
   14340  { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   14341 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   14342 if test "${ac_cv_search_gethostbyname+set}" = set; then
   14343   $as_echo_n "(cached) " >&6
   14344 else
   14345   ac_func_search_save_LIBS=$LIBS
   14346 cat >conftest.$ac_ext <<_ACEOF
   14347 /* confdefs.h.  */
   14348 _ACEOF
   14349 cat confdefs.h >>conftest.$ac_ext
   14350 cat >>conftest.$ac_ext <<_ACEOF
   14351 /* end confdefs.h.  */
   14352 
   14353 /* Override any GCC internal prototype to avoid an error.
   14354    Use char because int might match the return type of a GCC
   14355    builtin and then its argument prototype would still apply.  */
   14356 #ifdef __cplusplus
   14357 extern "C"
   14358 #endif
   14359 char gethostbyname ();
   14360 int
   14361 main ()
   14362 {
   14363 return gethostbyname ();
   14364   ;
   14365   return 0;
   14366 }
   14367 _ACEOF
   14368 for ac_lib in '' nsl; do
   14369   if test -z "$ac_lib"; then
   14370     ac_res="none required"
   14371   else
   14372     ac_res=-l$ac_lib
   14373     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14374   fi
   14375   rm -f conftest.$ac_objext conftest$ac_exeext
   14376 if { (ac_try="$ac_link"
   14377 case "(($ac_try" in
   14378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14379   *) ac_try_echo=$ac_try;;
   14380 esac
   14381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14382 $as_echo "$ac_try_echo") >&5
   14383   (eval "$ac_link") 2>conftest.er1
   14384   ac_status=$?
   14385   grep -v '^ *+' conftest.er1 >conftest.err
   14386   rm -f conftest.er1
   14387   cat conftest.err >&5
   14388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14389   (exit $ac_status); } && {
   14390 	 test -z "$ac_c_werror_flag" ||
   14391 	 test ! -s conftest.err
   14392        } && test -s conftest$ac_exeext && {
   14393 	 test "$cross_compiling" = yes ||
   14394 	 $as_test_x conftest$ac_exeext
   14395        }; then
   14396   ac_cv_search_gethostbyname=$ac_res
   14397 else
   14398   $as_echo "$as_me: failed program was:" >&5
   14399 sed 's/^/| /' conftest.$ac_ext >&5
   14400 
   14401 
   14402 fi
   14403 
   14404 rm -rf conftest.dSYM
   14405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14406       conftest$ac_exeext
   14407   if test "${ac_cv_search_gethostbyname+set}" = set; then
   14408   break
   14409 fi
   14410 done
   14411 if test "${ac_cv_search_gethostbyname+set}" = set; then
   14412   :
   14413 else
   14414   ac_cv_search_gethostbyname=no
   14415 fi
   14416 rm conftest.$ac_ext
   14417 LIBS=$ac_func_search_save_LIBS
   14418 fi
   14419 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   14420 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   14421 ac_res=$ac_cv_search_gethostbyname
   14422 if test "$ac_res" != no; then
   14423   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14424 
   14425 fi
   14426 
   14427 
   14428 { $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
   14429 $as_echo_n "checking for main in -lws2_32... " >&6; }
   14430 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
   14431   $as_echo_n "(cached) " >&6
   14432 else
   14433   ac_check_lib_save_LIBS=$LIBS
   14434 LIBS="-lws2_32  $LIBS"
   14435 cat >conftest.$ac_ext <<_ACEOF
   14436 /* confdefs.h.  */
   14437 _ACEOF
   14438 cat confdefs.h >>conftest.$ac_ext
   14439 cat >>conftest.$ac_ext <<_ACEOF
   14440 /* end confdefs.h.  */
   14441 
   14442 
   14443 int
   14444 main ()
   14445 {
   14446 return main ();
   14447   ;
   14448   return 0;
   14449 }
   14450 _ACEOF
   14451 rm -f conftest.$ac_objext conftest$ac_exeext
   14452 if { (ac_try="$ac_link"
   14453 case "(($ac_try" in
   14454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14455   *) ac_try_echo=$ac_try;;
   14456 esac
   14457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14458 $as_echo "$ac_try_echo") >&5
   14459   (eval "$ac_link") 2>conftest.er1
   14460   ac_status=$?
   14461   grep -v '^ *+' conftest.er1 >conftest.err
   14462   rm -f conftest.er1
   14463   cat conftest.err >&5
   14464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14465   (exit $ac_status); } && {
   14466 	 test -z "$ac_c_werror_flag" ||
   14467 	 test ! -s conftest.err
   14468        } && test -s conftest$ac_exeext && {
   14469 	 test "$cross_compiling" = yes ||
   14470 	 $as_test_x conftest$ac_exeext
   14471        }; then
   14472   ac_cv_lib_ws2_32_main=yes
   14473 else
   14474   $as_echo "$as_me: failed program was:" >&5
   14475 sed 's/^/| /' conftest.$ac_ext >&5
   14476 
   14477 	ac_cv_lib_ws2_32_main=no
   14478 fi
   14479 
   14480 rm -rf conftest.dSYM
   14481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14482       conftest$ac_exeext conftest.$ac_ext
   14483 LIBS=$ac_check_lib_save_LIBS
   14484 fi
   14485 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
   14486 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   14487 if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
   14488   cat >>confdefs.h <<_ACEOF
   14489 #define HAVE_LIBWS2_32 1
   14490 _ACEOF
   14491 
   14492   LIBS="-lws2_32 $LIBS"
   14493 
   14494 fi
   14495 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   14496 
   14497 
   14498  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   14499  # Check whether --enable-ipv6 was given.
   14500 if test "${enable_ipv6+set}" = set; then
   14501   enableval=$enable_ipv6; IPV6CONN=$enableval
   14502 else
   14503   { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   14504 $as_echo_n "checking for getaddrinfo... " >&6; }
   14505 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   14506   $as_echo_n "(cached) " >&6
   14507 else
   14508   cat >conftest.$ac_ext <<_ACEOF
   14509 /* confdefs.h.  */
   14510 _ACEOF
   14511 cat confdefs.h >>conftest.$ac_ext
   14512 cat >>conftest.$ac_ext <<_ACEOF
   14513 /* end confdefs.h.  */
   14514 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   14515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14516 #define getaddrinfo innocuous_getaddrinfo
   14517 
   14518 /* System header to define __stub macros and hopefully few prototypes,
   14519     which can conflict with char getaddrinfo (); below.
   14520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14521     <limits.h> exists even on freestanding compilers.  */
   14522 
   14523 #ifdef __STDC__
   14524 # include <limits.h>
   14525 #else
   14526 # include <assert.h>
   14527 #endif
   14528 
   14529 #undef getaddrinfo
   14530 
   14531 /* Override any GCC internal prototype to avoid an error.
   14532    Use char because int might match the return type of a GCC
   14533    builtin and then its argument prototype would still apply.  */
   14534 #ifdef __cplusplus
   14535 extern "C"
   14536 #endif
   14537 char getaddrinfo ();
   14538 /* The GNU C library defines this for functions which it implements
   14539     to always fail with ENOSYS.  Some functions are actually named
   14540     something starting with __ and the normal name is an alias.  */
   14541 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   14542 choke me
   14543 #endif
   14544 
   14545 int
   14546 main ()
   14547 {
   14548 return getaddrinfo ();
   14549   ;
   14550   return 0;
   14551 }
   14552 _ACEOF
   14553 rm -f conftest.$ac_objext conftest$ac_exeext
   14554 if { (ac_try="$ac_link"
   14555 case "(($ac_try" in
   14556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14557   *) ac_try_echo=$ac_try;;
   14558 esac
   14559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14560 $as_echo "$ac_try_echo") >&5
   14561   (eval "$ac_link") 2>conftest.er1
   14562   ac_status=$?
   14563   grep -v '^ *+' conftest.er1 >conftest.err
   14564   rm -f conftest.er1
   14565   cat conftest.err >&5
   14566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14567   (exit $ac_status); } && {
   14568 	 test -z "$ac_c_werror_flag" ||
   14569 	 test ! -s conftest.err
   14570        } && test -s conftest$ac_exeext && {
   14571 	 test "$cross_compiling" = yes ||
   14572 	 $as_test_x conftest$ac_exeext
   14573        }; then
   14574   ac_cv_func_getaddrinfo=yes
   14575 else
   14576   $as_echo "$as_me: failed program was:" >&5
   14577 sed 's/^/| /' conftest.$ac_ext >&5
   14578 
   14579 	ac_cv_func_getaddrinfo=no
   14580 fi
   14581 
   14582 rm -rf conftest.dSYM
   14583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   14584       conftest$ac_exeext conftest.$ac_ext
   14585 fi
   14586 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   14587 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
   14588 if test "x$ac_cv_func_getaddrinfo" = x""yes; then
   14589   IPV6CONN=yes
   14590 else
   14591   IPV6CONN=no
   14592 fi
   14593 
   14594 fi
   14595 
   14596  { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   14597 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   14598  if test "$IPV6CONN" = "yes"; then
   14599 
   14600 cat >>confdefs.h <<\_ACEOF
   14601 #define IPv6 1
   14602 _ACEOF
   14603 
   14604  fi
   14605  { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   14606 $as_echo "$IPV6CONN" >&6; }
   14607 
   14608  # 4.3BSD-Reno added a new member to struct sockaddr_in
   14609  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   14610 $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
   14611 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   14612   $as_echo_n "(cached) " >&6
   14613 else
   14614   cat >conftest.$ac_ext <<_ACEOF
   14615 /* confdefs.h.  */
   14616 _ACEOF
   14617 cat confdefs.h >>conftest.$ac_ext
   14618 cat >>conftest.$ac_ext <<_ACEOF
   14619 /* end confdefs.h.  */
   14620 
   14621 #include <sys/types.h>
   14622 #include <sys/socket.h>
   14623 #include <netinet/in.h>
   14624 
   14625 
   14626 int
   14627 main ()
   14628 {
   14629 static struct sockaddr_in ac_aggr;
   14630 if (ac_aggr.sin_len)
   14631 return 0;
   14632   ;
   14633   return 0;
   14634 }
   14635 _ACEOF
   14636 rm -f conftest.$ac_objext
   14637 if { (ac_try="$ac_compile"
   14638 case "(($ac_try" in
   14639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14640   *) ac_try_echo=$ac_try;;
   14641 esac
   14642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14643 $as_echo "$ac_try_echo") >&5
   14644   (eval "$ac_compile") 2>conftest.er1
   14645   ac_status=$?
   14646   grep -v '^ *+' conftest.er1 >conftest.err
   14647   rm -f conftest.er1
   14648   cat conftest.err >&5
   14649   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14650   (exit $ac_status); } && {
   14651 	 test -z "$ac_c_werror_flag" ||
   14652 	 test ! -s conftest.err
   14653        } && test -s conftest.$ac_objext; then
   14654   ac_cv_member_struct_sockaddr_in_sin_len=yes
   14655 else
   14656   $as_echo "$as_me: failed program was:" >&5
   14657 sed 's/^/| /' conftest.$ac_ext >&5
   14658 
   14659 	cat >conftest.$ac_ext <<_ACEOF
   14660 /* confdefs.h.  */
   14661 _ACEOF
   14662 cat confdefs.h >>conftest.$ac_ext
   14663 cat >>conftest.$ac_ext <<_ACEOF
   14664 /* end confdefs.h.  */
   14665 
   14666 #include <sys/types.h>
   14667 #include <sys/socket.h>
   14668 #include <netinet/in.h>
   14669 
   14670 
   14671 int
   14672 main ()
   14673 {
   14674 static struct sockaddr_in ac_aggr;
   14675 if (sizeof ac_aggr.sin_len)
   14676 return 0;
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 rm -f conftest.$ac_objext
   14682 if { (ac_try="$ac_compile"
   14683 case "(($ac_try" in
   14684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14685   *) ac_try_echo=$ac_try;;
   14686 esac
   14687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14688 $as_echo "$ac_try_echo") >&5
   14689   (eval "$ac_compile") 2>conftest.er1
   14690   ac_status=$?
   14691   grep -v '^ *+' conftest.er1 >conftest.err
   14692   rm -f conftest.er1
   14693   cat conftest.err >&5
   14694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14695   (exit $ac_status); } && {
   14696 	 test -z "$ac_c_werror_flag" ||
   14697 	 test ! -s conftest.err
   14698        } && test -s conftest.$ac_objext; then
   14699   ac_cv_member_struct_sockaddr_in_sin_len=yes
   14700 else
   14701   $as_echo "$as_me: failed program was:" >&5
   14702 sed 's/^/| /' conftest.$ac_ext >&5
   14703 
   14704 	ac_cv_member_struct_sockaddr_in_sin_len=no
   14705 fi
   14706 
   14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14708 fi
   14709 
   14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14711 fi
   14712 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   14713 $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   14714 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
   14715 
   14716 cat >>confdefs.h <<\_ACEOF
   14717 #define BSD44SOCKETS 1
   14718 _ACEOF
   14719 
   14720 fi
   14721 
   14722 
   14723  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   14724  { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
   14725 $as_echo_n "checking for socklen_t... " >&6; }
   14726 if test "${ac_cv_type_socklen_t+set}" = set; then
   14727   $as_echo_n "(cached) " >&6
   14728 else
   14729   ac_cv_type_socklen_t=no
   14730 cat >conftest.$ac_ext <<_ACEOF
   14731 /* confdefs.h.  */
   14732 _ACEOF
   14733 cat confdefs.h >>conftest.$ac_ext
   14734 cat >>conftest.$ac_ext <<_ACEOF
   14735 /* end confdefs.h.  */
   14736 
   14737 $ac_includes_default
   14738 #include <sys/socket.h>
   14739 
   14740 int
   14741 main ()
   14742 {
   14743 if (sizeof (socklen_t))
   14744        return 0;
   14745   ;
   14746   return 0;
   14747 }
   14748 _ACEOF
   14749 rm -f conftest.$ac_objext
   14750 if { (ac_try="$ac_compile"
   14751 case "(($ac_try" in
   14752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14753   *) ac_try_echo=$ac_try;;
   14754 esac
   14755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14756 $as_echo "$ac_try_echo") >&5
   14757   (eval "$ac_compile") 2>conftest.er1
   14758   ac_status=$?
   14759   grep -v '^ *+' conftest.er1 >conftest.err
   14760   rm -f conftest.er1
   14761   cat conftest.err >&5
   14762   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14763   (exit $ac_status); } && {
   14764 	 test -z "$ac_c_werror_flag" ||
   14765 	 test ! -s conftest.err
   14766        } && test -s conftest.$ac_objext; then
   14767   cat >conftest.$ac_ext <<_ACEOF
   14768 /* confdefs.h.  */
   14769 _ACEOF
   14770 cat confdefs.h >>conftest.$ac_ext
   14771 cat >>conftest.$ac_ext <<_ACEOF
   14772 /* end confdefs.h.  */
   14773 
   14774 $ac_includes_default
   14775 #include <sys/socket.h>
   14776 
   14777 int
   14778 main ()
   14779 {
   14780 if (sizeof ((socklen_t)))
   14781 	  return 0;
   14782   ;
   14783   return 0;
   14784 }
   14785 _ACEOF
   14786 rm -f conftest.$ac_objext
   14787 if { (ac_try="$ac_compile"
   14788 case "(($ac_try" in
   14789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   14790   *) ac_try_echo=$ac_try;;
   14791 esac
   14792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   14793 $as_echo "$ac_try_echo") >&5
   14794   (eval "$ac_compile") 2>conftest.er1
   14795   ac_status=$?
   14796   grep -v '^ *+' conftest.er1 >conftest.err
   14797   rm -f conftest.er1
   14798   cat conftest.err >&5
   14799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14800   (exit $ac_status); } && {
   14801 	 test -z "$ac_c_werror_flag" ||
   14802 	 test ! -s conftest.err
   14803        } && test -s conftest.$ac_objext; then
   14804   :
   14805 else
   14806   $as_echo "$as_me: failed program was:" >&5
   14807 sed 's/^/| /' conftest.$ac_ext >&5
   14808 
   14809 	ac_cv_type_socklen_t=yes
   14810 fi
   14811 
   14812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14813 else
   14814   $as_echo "$as_me: failed program was:" >&5
   14815 sed 's/^/| /' conftest.$ac_ext >&5
   14816 
   14817 
   14818 fi
   14819 
   14820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14821 fi
   14822 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   14823 $as_echo "$ac_cv_type_socklen_t" >&6; }
   14824 if test "x$ac_cv_type_socklen_t" = x""yes; then
   14825 
   14826 cat >>confdefs.h <<_ACEOF
   14827 #define HAVE_SOCKLEN_T 1
   14828 _ACEOF
   14829 
   14830 
   14831 fi
   14832 
   14833 
   14834 
   14835  fi
   14836  case $host_os in
   14837 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   14838 	*)			localdef="no"  ;;
   14839  esac
   14840  # Check whether --enable-local-transport was given.
   14841 if test "${enable_local_transport+set}" = set; then
   14842   enableval=$enable_local_transport; LOCALCONN=$enableval
   14843 else
   14844   LOCALCONN=$localdef
   14845 fi
   14846 
   14847  { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   14848 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   14849  { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   14850 $as_echo "$LOCALCONN" >&6; }
   14851  if test "$LOCALCONN" = "yes"; then
   14852 
   14853 cat >>confdefs.h <<\_ACEOF
   14854 #define LOCALCONN 1
   14855 _ACEOF
   14856 
   14857  fi
   14858 
   14859 
   14860 
   14861 case $host_os in
   14862     linux*)
   14863         OS_CFLAGS="-D_XOPEN_SOURCE"
   14864         ;;
   14865     darwin*)
   14866         OS_CFLAGS="-Wl,-flat_namespace"
   14867 	;;
   14868     *)
   14869         OS_CFLAGS=
   14870         ;;
   14871 esac
   14872 
   14873 
   14874 ac_config_files="$ac_config_files Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
   14875 
   14876 cat >confcache <<\_ACEOF
   14877 # This file is a shell script that caches the results of configure
   14878 # tests run on this system so they can be shared between configure
   14879 # scripts and configure runs, see configure's option --config-cache.
   14880 # It is not useful on other systems.  If it contains results you don't
   14881 # want to keep, you may remove or edit it.
   14882 #
   14883 # config.status only pays attention to the cache file if you give it
   14884 # the --recheck option to rerun configure.
   14885 #
   14886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14888 # following values.
   14889 
   14890 _ACEOF
   14891 
   14892 # The following way of writing the cache mishandles newlines in values,
   14893 # but we know of no workaround that is simple, portable, and efficient.
   14894 # So, we kill variables containing newlines.
   14895 # Ultrix sh set writes to stderr and can't be redirected directly,
   14896 # and sets the high bit in the cache file unless we assign to the vars.
   14897 (
   14898   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14899     eval ac_val=\$$ac_var
   14900     case $ac_val in #(
   14901     *${as_nl}*)
   14902       case $ac_var in #(
   14903       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   14904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14905       esac
   14906       case $ac_var in #(
   14907       _ | IFS | as_nl) ;; #(
   14908       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14909       *) $as_unset $ac_var ;;
   14910       esac ;;
   14911     esac
   14912   done
   14913 
   14914   (set) 2>&1 |
   14915     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14916     *${as_nl}ac_space=\ *)
   14917       # `set' does not quote correctly, so add quotes (double-quote
   14918       # substitution turns \\\\ into \\, and sed turns \\ into \).
   14919       sed -n \
   14920 	"s/'/'\\\\''/g;
   14921 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14922       ;; #(
   14923     *)
   14924       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14925       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14926       ;;
   14927     esac |
   14928     sort
   14929 ) |
   14930   sed '
   14931      /^ac_cv_env_/b end
   14932      t clear
   14933      :clear
   14934      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14935      t end
   14936      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14937      :end' >>confcache
   14938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14939   if test -w "$cache_file"; then
   14940     test "x$cache_file" != "x/dev/null" &&
   14941       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   14942 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14943     cat confcache >$cache_file
   14944   else
   14945     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   14946 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14947   fi
   14948 fi
   14949 rm -f confcache
   14950 
   14951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14952 # Let make expand exec_prefix.
   14953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14954 
   14955 DEFS=-DHAVE_CONFIG_H
   14956 
   14957 ac_libobjs=
   14958 ac_ltlibobjs=
   14959 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14960   # 1. Remove the extension, and $U if already installed.
   14961   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14962   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14963   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14964   #    will be set to the directory where LIBOBJS objects are built.
   14965   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14966   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   14967 done
   14968 LIBOBJS=$ac_libobjs
   14969 
   14970 LTLIBOBJS=$ac_ltlibobjs
   14971 
   14972 
   14973 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14974   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   14975 Usually this means the macro was only invoked conditionally." >&5
   14976 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   14977 Usually this means the macro was only invoked conditionally." >&2;}
   14978    { (exit 1); exit 1; }; }
   14979 fi
   14980 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14981   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   14982 Usually this means the macro was only invoked conditionally." >&5
   14983 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   14984 Usually this means the macro was only invoked conditionally." >&2;}
   14985    { (exit 1); exit 1; }; }
   14986 fi
   14987 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14988   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   14989 Usually this means the macro was only invoked conditionally." >&5
   14990 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   14991 Usually this means the macro was only invoked conditionally." >&2;}
   14992    { (exit 1); exit 1; }; }
   14993 fi
   14994 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   14995   { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   14996 Usually this means the macro was only invoked conditionally." >&5
   14997 $as_echo "$as_me: error: conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   14998 Usually this means the macro was only invoked conditionally." >&2;}
   14999    { (exit 1); exit 1; }; }
   15000 fi
   15001 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   15002   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLTO\" was never defined.
   15003 Usually this means the macro was only invoked conditionally." >&5
   15004 $as_echo "$as_me: error: conditional \"HAVE_XMLTO\" was never defined.
   15005 Usually this means the macro was only invoked conditionally." >&2;}
   15006    { (exit 1); exit 1; }; }
   15007 fi
   15008 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   15009   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_FOP\" was never defined.
   15010 Usually this means the macro was only invoked conditionally." >&5
   15011 $as_echo "$as_me: error: conditional \"HAVE_FOP\" was never defined.
   15012 Usually this means the macro was only invoked conditionally." >&2;}
   15013    { (exit 1); exit 1; }; }
   15014 fi
   15015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15016   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   15017 Usually this means the macro was only invoked conditionally." >&5
   15018 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   15019 Usually this means the macro was only invoked conditionally." >&2;}
   15020    { (exit 1); exit 1; }; }
   15021 fi
   15022 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   15023   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FREETYPE\" was never defined.
   15024 Usually this means the macro was only invoked conditionally." >&5
   15025 $as_echo "$as_me: error: conditional \"XFONT_FREETYPE\" was never defined.
   15026 Usually this means the macro was only invoked conditionally." >&2;}
   15027    { (exit 1); exit 1; }; }
   15028 fi
   15029 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   15030   { { $as_echo "$as_me:$LINENO: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   15031 Usually this means the macro was only invoked conditionally." >&5
   15032 $as_echo "$as_me: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   15033 Usually this means the macro was only invoked conditionally." >&2;}
   15034    { (exit 1); exit 1; }; }
   15035 fi
   15036 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   15037   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BUILTINS\" was never defined.
   15038 Usually this means the macro was only invoked conditionally." >&5
   15039 $as_echo "$as_me: error: conditional \"XFONT_BUILTINS\" was never defined.
   15040 Usually this means the macro was only invoked conditionally." >&2;}
   15041    { (exit 1); exit 1; }; }
   15042 fi
   15043 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   15044   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_PCFFORMAT\" was never defined.
   15045 Usually this means the macro was only invoked conditionally." >&5
   15046 $as_echo "$as_me: error: conditional \"XFONT_PCFFORMAT\" was never defined.
   15047 Usually this means the macro was only invoked conditionally." >&2;}
   15048    { (exit 1); exit 1; }; }
   15049 fi
   15050 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   15051   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BDFFORMAT\" was never defined.
   15052 Usually this means the macro was only invoked conditionally." >&5
   15053 $as_echo "$as_me: error: conditional \"XFONT_BDFFORMAT\" was never defined.
   15054 Usually this means the macro was only invoked conditionally." >&2;}
   15055    { (exit 1); exit 1; }; }
   15056 fi
   15057 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   15058   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_SNFFORMAT\" was never defined.
   15059 Usually this means the macro was only invoked conditionally." >&5
   15060 $as_echo "$as_me: error: conditional \"XFONT_SNFFORMAT\" was never defined.
   15061 Usually this means the macro was only invoked conditionally." >&2;}
   15062    { (exit 1); exit 1; }; }
   15063 fi
   15064 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   15065   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BITMAP\" was never defined.
   15066 Usually this means the macro was only invoked conditionally." >&5
   15067 $as_echo "$as_me: error: conditional \"XFONT_BITMAP\" was never defined.
   15068 Usually this means the macro was only invoked conditionally." >&2;}
   15069    { (exit 1); exit 1; }; }
   15070 fi
   15071 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   15072   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FONTFILE\" was never defined.
   15073 Usually this means the macro was only invoked conditionally." >&5
   15074 $as_echo "$as_me: error: conditional \"XFONT_FONTFILE\" was never defined.
   15075 Usually this means the macro was only invoked conditionally." >&2;}
   15076    { (exit 1); exit 1; }; }
   15077 fi
   15078 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   15079   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FC\" was never defined.
   15080 Usually this means the macro was only invoked conditionally." >&5
   15081 $as_echo "$as_me: error: conditional \"XFONT_FC\" was never defined.
   15082 Usually this means the macro was only invoked conditionally." >&2;}
   15083    { (exit 1); exit 1; }; }
   15084 fi
   15085 
   15086 : ${CONFIG_STATUS=./config.status}
   15087 ac_write_fail=0
   15088 ac_clean_files_save=$ac_clean_files
   15089 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15090 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   15091 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15092 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15093 #! $SHELL
   15094 # Generated by $as_me.
   15095 # Run this file to recreate the current configuration.
   15096 # Compiler output produced by configure, useful for debugging
   15097 # configure, is in config.log if it exists.
   15098 
   15099 debug=false
   15100 ac_cs_recheck=false
   15101 ac_cs_silent=false
   15102 SHELL=\${CONFIG_SHELL-$SHELL}
   15103 _ACEOF
   15104 
   15105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15106 ## --------------------- ##
   15107 ## M4sh Initialization.  ##
   15108 ## --------------------- ##
   15109 
   15110 # Be more Bourne compatible
   15111 DUALCASE=1; export DUALCASE # for MKS sh
   15112 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15113   emulate sh
   15114   NULLCMD=:
   15115   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15116   # is contrary to our usage.  Disable this feature.
   15117   alias -g '${1+"$@"}'='"$@"'
   15118   setopt NO_GLOB_SUBST
   15119 else
   15120   case `(set -o) 2>/dev/null` in
   15121   *posix*) set -o posix ;;
   15122 esac
   15123 
   15124 fi
   15125 
   15126 
   15127 
   15128 
   15129 # PATH needs CR
   15130 # Avoid depending upon Character Ranges.
   15131 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15132 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15133 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15134 as_cr_digits='0123456789'
   15135 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15136 
   15137 as_nl='
   15138 '
   15139 export as_nl
   15140 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15141 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15143 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15144 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15145   as_echo='printf %s\n'
   15146   as_echo_n='printf %s'
   15147 else
   15148   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15149     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15150     as_echo_n='/usr/ucb/echo -n'
   15151   else
   15152     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15153     as_echo_n_body='eval
   15154       arg=$1;
   15155       case $arg in
   15156       *"$as_nl"*)
   15157 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15158 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15159       esac;
   15160       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15161     '
   15162     export as_echo_n_body
   15163     as_echo_n='sh -c $as_echo_n_body as_echo'
   15164   fi
   15165   export as_echo_body
   15166   as_echo='sh -c $as_echo_body as_echo'
   15167 fi
   15168 
   15169 # The user is always right.
   15170 if test "${PATH_SEPARATOR+set}" != set; then
   15171   PATH_SEPARATOR=:
   15172   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15173     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15174       PATH_SEPARATOR=';'
   15175   }
   15176 fi
   15177 
   15178 # Support unset when possible.
   15179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   15180   as_unset=unset
   15181 else
   15182   as_unset=false
   15183 fi
   15184 
   15185 
   15186 # IFS
   15187 # We need space, tab and new line, in precisely that order.  Quoting is
   15188 # there to prevent editors from complaining about space-tab.
   15189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15190 # splitting by setting IFS to empty value.)
   15191 IFS=" ""	$as_nl"
   15192 
   15193 # Find who we are.  Look in the path if we contain no directory separator.
   15194 case $0 in
   15195   *[\\/]* ) as_myself=$0 ;;
   15196   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15197 for as_dir in $PATH
   15198 do
   15199   IFS=$as_save_IFS
   15200   test -z "$as_dir" && as_dir=.
   15201   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15202 done
   15203 IFS=$as_save_IFS
   15204 
   15205      ;;
   15206 esac
   15207 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15208 # in which case we are not to be found in the path.
   15209 if test "x$as_myself" = x; then
   15210   as_myself=$0
   15211 fi
   15212 if test ! -f "$as_myself"; then
   15213   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15214   { (exit 1); exit 1; }
   15215 fi
   15216 
   15217 # Work around bugs in pre-3.0 UWIN ksh.
   15218 for as_var in ENV MAIL MAILPATH
   15219 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   15220 done
   15221 PS1='$ '
   15222 PS2='> '
   15223 PS4='+ '
   15224 
   15225 # NLS nuisances.
   15226 LC_ALL=C
   15227 export LC_ALL
   15228 LANGUAGE=C
   15229 export LANGUAGE
   15230 
   15231 # Required to use basename.
   15232 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15233    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15234   as_expr=expr
   15235 else
   15236   as_expr=false
   15237 fi
   15238 
   15239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15240   as_basename=basename
   15241 else
   15242   as_basename=false
   15243 fi
   15244 
   15245 
   15246 # Name of the executable.
   15247 as_me=`$as_basename -- "$0" ||
   15248 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15249 	 X"$0" : 'X\(//\)$' \| \
   15250 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15251 $as_echo X/"$0" |
   15252     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15253 	    s//\1/
   15254 	    q
   15255 	  }
   15256 	  /^X\/\(\/\/\)$/{
   15257 	    s//\1/
   15258 	    q
   15259 	  }
   15260 	  /^X\/\(\/\).*/{
   15261 	    s//\1/
   15262 	    q
   15263 	  }
   15264 	  s/.*/./; q'`
   15265 
   15266 # CDPATH.
   15267 $as_unset CDPATH
   15268 
   15269 
   15270 
   15271   as_lineno_1=$LINENO
   15272   as_lineno_2=$LINENO
   15273   test "x$as_lineno_1" != "x$as_lineno_2" &&
   15274   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   15275 
   15276   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   15277   # uniformly replaced by the line number.  The first 'sed' inserts a
   15278   # line-number line after each line using $LINENO; the second 'sed'
   15279   # does the real work.  The second script uses 'N' to pair each
   15280   # line-number line with the line containing $LINENO, and appends
   15281   # trailing '-' during substitution so that $LINENO is not a special
   15282   # case at line end.
   15283   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   15284   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   15285   # E. McMahon (1931-1989) for sed's syntax.  :-)
   15286   sed -n '
   15287     p
   15288     /[$]LINENO/=
   15289   ' <$as_myself |
   15290     sed '
   15291       s/[$]LINENO.*/&-/
   15292       t lineno
   15293       b
   15294       :lineno
   15295       N
   15296       :loop
   15297       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   15298       t loop
   15299       s/-\n.*//
   15300     ' >$as_me.lineno &&
   15301   chmod +x "$as_me.lineno" ||
   15302     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   15303    { (exit 1); exit 1; }; }
   15304 
   15305   # Don't try to exec as it changes $[0], causing all sort of problems
   15306   # (the dirname of $[0] is not the place where we might find the
   15307   # original and so on.  Autoconf is especially sensitive to this).
   15308   . "./$as_me.lineno"
   15309   # Exit status is that of the last command.
   15310   exit
   15311 }
   15312 
   15313 
   15314 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15315   as_dirname=dirname
   15316 else
   15317   as_dirname=false
   15318 fi
   15319 
   15320 ECHO_C= ECHO_N= ECHO_T=
   15321 case `echo -n x` in
   15322 -n*)
   15323   case `echo 'x\c'` in
   15324   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15325   *)   ECHO_C='\c';;
   15326   esac;;
   15327 *)
   15328   ECHO_N='-n';;
   15329 esac
   15330 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15331    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15332   as_expr=expr
   15333 else
   15334   as_expr=false
   15335 fi
   15336 
   15337 rm -f conf$$ conf$$.exe conf$$.file
   15338 if test -d conf$$.dir; then
   15339   rm -f conf$$.dir/conf$$.file
   15340 else
   15341   rm -f conf$$.dir
   15342   mkdir conf$$.dir 2>/dev/null
   15343 fi
   15344 if (echo >conf$$.file) 2>/dev/null; then
   15345   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15346     as_ln_s='ln -s'
   15347     # ... but there are two gotchas:
   15348     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15349     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15350     # In both cases, we have to default to `cp -p'.
   15351     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15352       as_ln_s='cp -p'
   15353   elif ln conf$$.file conf$$ 2>/dev/null; then
   15354     as_ln_s=ln
   15355   else
   15356     as_ln_s='cp -p'
   15357   fi
   15358 else
   15359   as_ln_s='cp -p'
   15360 fi
   15361 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15362 rmdir conf$$.dir 2>/dev/null
   15363 
   15364 if mkdir -p . 2>/dev/null; then
   15365   as_mkdir_p=:
   15366 else
   15367   test -d ./-p && rmdir ./-p
   15368   as_mkdir_p=false
   15369 fi
   15370 
   15371 if test -x / >/dev/null 2>&1; then
   15372   as_test_x='test -x'
   15373 else
   15374   if ls -dL / >/dev/null 2>&1; then
   15375     as_ls_L_option=L
   15376   else
   15377     as_ls_L_option=
   15378   fi
   15379   as_test_x='
   15380     eval sh -c '\''
   15381       if test -d "$1"; then
   15382 	test -d "$1/.";
   15383       else
   15384 	case $1 in
   15385 	-*)set "./$1";;
   15386 	esac;
   15387 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   15388 	???[sx]*):;;*)false;;esac;fi
   15389     '\'' sh
   15390   '
   15391 fi
   15392 as_executable_p=$as_test_x
   15393 
   15394 # Sed expression to map a string onto a valid CPP name.
   15395 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   15396 
   15397 # Sed expression to map a string onto a valid variable name.
   15398 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   15399 
   15400 
   15401 exec 6>&1
   15402 
   15403 # Save the log message, to keep $[0] and so on meaningful, and to
   15404 # report actual input values of CONFIG_FILES etc. instead of their
   15405 # values after options handling.
   15406 ac_log="
   15407 This file was extended by libXfont $as_me 1.4.2, which was
   15408 generated by GNU Autoconf 2.63.  Invocation command line was
   15409 
   15410   CONFIG_FILES    = $CONFIG_FILES
   15411   CONFIG_HEADERS  = $CONFIG_HEADERS
   15412   CONFIG_LINKS    = $CONFIG_LINKS
   15413   CONFIG_COMMANDS = $CONFIG_COMMANDS
   15414   $ $0 $@
   15415 
   15416 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   15417 "
   15418 
   15419 _ACEOF
   15420 
   15421 case $ac_config_files in *"
   15422 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   15423 esac
   15424 
   15425 case $ac_config_headers in *"
   15426 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   15427 esac
   15428 
   15429 
   15430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15431 # Files that config.status was made for.
   15432 config_files="$ac_config_files"
   15433 config_headers="$ac_config_headers"
   15434 config_commands="$ac_config_commands"
   15435 
   15436 _ACEOF
   15437 
   15438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15439 ac_cs_usage="\
   15440 \`$as_me' instantiates files from templates according to the
   15441 current configuration.
   15442 
   15443 Usage: $0 [OPTION]... [FILE]...
   15444 
   15445   -h, --help       print this help, then exit
   15446   -V, --version    print version number and configuration settings, then exit
   15447   -q, --quiet, --silent
   15448                    do not print progress messages
   15449   -d, --debug      don't remove temporary files
   15450       --recheck    update $as_me by reconfiguring in the same conditions
   15451       --file=FILE[:TEMPLATE]
   15452                    instantiate the configuration file FILE
   15453       --header=FILE[:TEMPLATE]
   15454                    instantiate the configuration header FILE
   15455 
   15456 Configuration files:
   15457 $config_files
   15458 
   15459 Configuration headers:
   15460 $config_headers
   15461 
   15462 Configuration commands:
   15463 $config_commands
   15464 
   15465 Report bugs to <bug-autoconf (at] gnu.org>."
   15466 
   15467 _ACEOF
   15468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15469 ac_cs_version="\\
   15470 libXfont config.status 1.4.2
   15471 configured by $0, generated by GNU Autoconf 2.63,
   15472   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   15473 
   15474 Copyright (C) 2008 Free Software Foundation, Inc.
   15475 This config.status script is free software; the Free Software Foundation
   15476 gives unlimited permission to copy, distribute and modify it."
   15477 
   15478 ac_pwd='$ac_pwd'
   15479 srcdir='$srcdir'
   15480 INSTALL='$INSTALL'
   15481 MKDIR_P='$MKDIR_P'
   15482 AWK='$AWK'
   15483 test -n "\$AWK" || AWK=awk
   15484 _ACEOF
   15485 
   15486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15487 # The default lists apply if the user does not specify any file.
   15488 ac_need_defaults=:
   15489 while test $# != 0
   15490 do
   15491   case $1 in
   15492   --*=*)
   15493     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15494     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15495     ac_shift=:
   15496     ;;
   15497   *)
   15498     ac_option=$1
   15499     ac_optarg=$2
   15500     ac_shift=shift
   15501     ;;
   15502   esac
   15503 
   15504   case $ac_option in
   15505   # Handling of the options.
   15506   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15507     ac_cs_recheck=: ;;
   15508   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15509     $as_echo "$ac_cs_version"; exit ;;
   15510   --debug | --debu | --deb | --de | --d | -d )
   15511     debug=: ;;
   15512   --file | --fil | --fi | --f )
   15513     $ac_shift
   15514     case $ac_optarg in
   15515     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15516     esac
   15517     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   15518     ac_need_defaults=false;;
   15519   --header | --heade | --head | --hea )
   15520     $ac_shift
   15521     case $ac_optarg in
   15522     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15523     esac
   15524     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   15525     ac_need_defaults=false;;
   15526   --he | --h)
   15527     # Conflict between --help and --header
   15528     { $as_echo "$as_me: error: ambiguous option: $1
   15529 Try \`$0 --help' for more information." >&2
   15530    { (exit 1); exit 1; }; };;
   15531   --help | --hel | -h )
   15532     $as_echo "$ac_cs_usage"; exit ;;
   15533   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15534   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15535     ac_cs_silent=: ;;
   15536 
   15537   # This is an error.
   15538   -*) { $as_echo "$as_me: error: unrecognized option: $1
   15539 Try \`$0 --help' for more information." >&2
   15540    { (exit 1); exit 1; }; } ;;
   15541 
   15542   *) ac_config_targets="$ac_config_targets $1"
   15543      ac_need_defaults=false ;;
   15544 
   15545   esac
   15546   shift
   15547 done
   15548 
   15549 ac_configure_extra_args=
   15550 
   15551 if $ac_cs_silent; then
   15552   exec 6>/dev/null
   15553   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15554 fi
   15555 
   15556 _ACEOF
   15557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15558 if \$ac_cs_recheck; then
   15559   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15560   shift
   15561   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15562   CONFIG_SHELL='$SHELL'
   15563   export CONFIG_SHELL
   15564   exec "\$@"
   15565 fi
   15566 
   15567 _ACEOF
   15568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15569 exec 5>>config.log
   15570 {
   15571   echo
   15572   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15573 ## Running $as_me. ##
   15574 _ASBOX
   15575   $as_echo "$ac_log"
   15576 } >&5
   15577 
   15578 _ACEOF
   15579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15580 #
   15581 # INIT-COMMANDS
   15582 #
   15583 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   15584 
   15585 
   15586 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15587 # if CDPATH is set.
   15588 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15589 
   15590 sed_quote_subst='$sed_quote_subst'
   15591 double_quote_subst='$double_quote_subst'
   15592 delay_variable_subst='$delay_variable_subst'
   15593 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   15594 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   15595 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   15596 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   15597 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   15598 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   15599 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15600 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   15601 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   15602 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   15603 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   15604 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   15605 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   15606 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   15607 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   15608 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15609 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   15610 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   15611 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   15612 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   15613 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   15614 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   15615 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   15616 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   15617 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   15618 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   15619 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15620 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15621 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   15622 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   15623 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   15624 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   15625 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15626 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   15627 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   15628 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15629 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15630 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15631 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   15632 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   15633 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   15634 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   15635 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   15636 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   15637 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   15638 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15639 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   15640 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   15641 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   15642 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   15643 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15644 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   15645 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   15646 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   15647 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   15648 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   15649 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   15650 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   15651 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   15652 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   15653 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   15654 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   15655 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15656 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15657 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   15658 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   15659 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15660 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15661 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   15662 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15663 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15664 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15665 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15666 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15667 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15668 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15669 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15670 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   15671 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15672 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   15673 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   15674 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   15675 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   15676 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   15677 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15678 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   15679 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   15680 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   15681 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   15682 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   15683 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15684 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15685 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   15686 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15687 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15688 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   15689 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   15690 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   15691 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   15692 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15693 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   15694 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   15695 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15696 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15697 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15698 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15699 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15700 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   15701 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   15702 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   15703 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15704 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   15705 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   15706 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   15707 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   15708 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   15709 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15710 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   15711 
   15712 LTCC='$LTCC'
   15713 LTCFLAGS='$LTCFLAGS'
   15714 compiler='$compiler_DEFAULT'
   15715 
   15716 # Quote evaled strings.
   15717 for var in SED \
   15718 GREP \
   15719 EGREP \
   15720 FGREP \
   15721 LD \
   15722 NM \
   15723 LN_S \
   15724 lt_SP2NL \
   15725 lt_NL2SP \
   15726 reload_flag \
   15727 OBJDUMP \
   15728 deplibs_check_method \
   15729 file_magic_cmd \
   15730 AR \
   15731 AR_FLAGS \
   15732 STRIP \
   15733 RANLIB \
   15734 CC \
   15735 CFLAGS \
   15736 compiler \
   15737 lt_cv_sys_global_symbol_pipe \
   15738 lt_cv_sys_global_symbol_to_cdecl \
   15739 lt_cv_sys_global_symbol_to_c_name_address \
   15740 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15741 SHELL \
   15742 ECHO \
   15743 lt_prog_compiler_no_builtin_flag \
   15744 lt_prog_compiler_wl \
   15745 lt_prog_compiler_pic \
   15746 lt_prog_compiler_static \
   15747 lt_cv_prog_compiler_c_o \
   15748 need_locks \
   15749 DSYMUTIL \
   15750 NMEDIT \
   15751 LIPO \
   15752 OTOOL \
   15753 OTOOL64 \
   15754 shrext_cmds \
   15755 export_dynamic_flag_spec \
   15756 whole_archive_flag_spec \
   15757 compiler_needs_object \
   15758 with_gnu_ld \
   15759 allow_undefined_flag \
   15760 no_undefined_flag \
   15761 hardcode_libdir_flag_spec \
   15762 hardcode_libdir_flag_spec_ld \
   15763 hardcode_libdir_separator \
   15764 fix_srcfile_path \
   15765 exclude_expsyms \
   15766 include_expsyms \
   15767 file_list_spec \
   15768 variables_saved_for_relink \
   15769 libname_spec \
   15770 library_names_spec \
   15771 soname_spec \
   15772 finish_eval \
   15773 old_striplib \
   15774 striplib; do
   15775     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15776     *[\\\\\\\`\\"\\\$]*)
   15777       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15778       ;;
   15779     *)
   15780       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15781       ;;
   15782     esac
   15783 done
   15784 
   15785 # Double-quote double-evaled strings.
   15786 for var in reload_cmds \
   15787 old_postinstall_cmds \
   15788 old_postuninstall_cmds \
   15789 old_archive_cmds \
   15790 extract_expsyms_cmds \
   15791 old_archive_from_new_cmds \
   15792 old_archive_from_expsyms_cmds \
   15793 archive_cmds \
   15794 archive_expsym_cmds \
   15795 module_cmds \
   15796 module_expsym_cmds \
   15797 export_symbols_cmds \
   15798 prelink_cmds \
   15799 postinstall_cmds \
   15800 postuninstall_cmds \
   15801 finish_cmds \
   15802 sys_lib_search_path_spec \
   15803 sys_lib_dlsearch_path_spec; do
   15804     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   15805     *[\\\\\\\`\\"\\\$]*)
   15806       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15807       ;;
   15808     *)
   15809       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15810       ;;
   15811     esac
   15812 done
   15813 
   15814 # Fix-up fallback echo if it was mangled by the above quoting rules.
   15815 case \$lt_ECHO in
   15816 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   15817   ;;
   15818 esac
   15819 
   15820 ac_aux_dir='$ac_aux_dir'
   15821 xsi_shell='$xsi_shell'
   15822 lt_shell_append='$lt_shell_append'
   15823 
   15824 # See if we are running on zsh, and set the options which allow our
   15825 # commands through without removal of \ escapes INIT.
   15826 if test -n "\${ZSH_VERSION+set}" ; then
   15827    setopt NO_GLOB_SUBST
   15828 fi
   15829 
   15830 
   15831     PACKAGE='$PACKAGE'
   15832     VERSION='$VERSION'
   15833     TIMESTAMP='$TIMESTAMP'
   15834     RM='$RM'
   15835     ofile='$ofile'
   15836 
   15837 
   15838 
   15839 
   15840 _ACEOF
   15841 
   15842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15843 
   15844 # Handling of arguments.
   15845 for ac_config_target in $ac_config_targets
   15846 do
   15847   case $ac_config_target in
   15848     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15849     "include/X11/fonts/fontconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/fonts/fontconf.h" ;;
   15850     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   15851     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15852     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15853     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   15854     "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;;
   15855     "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;;
   15856     "src/builtins/Makefile") CONFIG_FILES="$CONFIG_FILES src/builtins/Makefile" ;;
   15857     "src/bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/bitmap/Makefile" ;;
   15858     "src/fc/Makefile") CONFIG_FILES="$CONFIG_FILES src/fc/Makefile" ;;
   15859     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   15860     "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;;
   15861     "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;;
   15862 
   15863   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   15864 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   15865    { (exit 1); exit 1; }; };;
   15866   esac
   15867 done
   15868 
   15869 
   15870 # If the user did not use the arguments to specify the items to instantiate,
   15871 # then the envvar interface is used.  Set only those that are not.
   15872 # We use the long form for the default assignment because of an extremely
   15873 # bizarre bug on SunOS 4.1.3.
   15874 if $ac_need_defaults; then
   15875   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15876   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15877   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15878 fi
   15879 
   15880 # Have a temporary directory for convenience.  Make it in the build tree
   15881 # simply because there is no reason against having it here, and in addition,
   15882 # creating and moving files from /tmp can sometimes cause problems.
   15883 # Hook for its removal unless debugging.
   15884 # Note that there is a small window in which the directory will not be cleaned:
   15885 # after its creation but before its name has been assigned to `$tmp'.
   15886 $debug ||
   15887 {
   15888   tmp=
   15889   trap 'exit_status=$?
   15890   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   15891 ' 0
   15892   trap '{ (exit 1); exit 1; }' 1 2 13 15
   15893 }
   15894 # Create a (secure) tmp directory for tmp files.
   15895 
   15896 {
   15897   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15898   test -n "$tmp" && test -d "$tmp"
   15899 }  ||
   15900 {
   15901   tmp=./conf$$-$RANDOM
   15902   (umask 077 && mkdir "$tmp")
   15903 } ||
   15904 {
   15905    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   15906    { (exit 1); exit 1; }
   15907 }
   15908 
   15909 # Set up the scripts for CONFIG_FILES section.
   15910 # No need to generate them if there are no CONFIG_FILES.
   15911 # This happens for instance with `./config.status config.h'.
   15912 if test -n "$CONFIG_FILES"; then
   15913 
   15914 
   15915 ac_cr='
'
   15917 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15918 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15919   ac_cs_awk_cr='\\r'
   15920 else
   15921   ac_cs_awk_cr=$ac_cr
   15922 fi
   15923 
   15924 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15925 _ACEOF
   15926 
   15927 
   15928 {
   15929   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15930   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15931   echo "_ACEOF"
   15932 } >conf$$subs.sh ||
   15933   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   15934 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   15935    { (exit 1); exit 1; }; }
   15936 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   15937 ac_delim='%!_!# '
   15938 for ac_last_try in false false false false false :; do
   15939   . ./conf$$subs.sh ||
   15940     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   15941 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   15942    { (exit 1); exit 1; }; }
   15943 
   15944   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15945   if test $ac_delim_n = $ac_delim_num; then
   15946     break
   15947   elif $ac_last_try; then
   15948     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   15949 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   15950    { (exit 1); exit 1; }; }
   15951   else
   15952     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15953   fi
   15954 done
   15955 rm -f conf$$subs.sh
   15956 
   15957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15958 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15959 _ACEOF
   15960 sed -n '
   15961 h
   15962 s/^/S["/; s/!.*/"]=/
   15963 p
   15964 g
   15965 s/^[^!]*!//
   15966 :repl
   15967 t repl
   15968 s/'"$ac_delim"'$//
   15969 t delim
   15970 :nl
   15971 h
   15972 s/\(.\{148\}\).*/\1/
   15973 t more1
   15974 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15975 p
   15976 n
   15977 b repl
   15978 :more1
   15979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15980 p
   15981 g
   15982 s/.\{148\}//
   15983 t nl
   15984 :delim
   15985 h
   15986 s/\(.\{148\}\).*/\1/
   15987 t more2
   15988 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15989 p
   15990 b
   15991 :more2
   15992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15993 p
   15994 g
   15995 s/.\{148\}//
   15996 t delim
   15997 ' <conf$$subs.awk | sed '
   15998 /^[^""]/{
   15999   N
   16000   s/\n//
   16001 }
   16002 ' >>$CONFIG_STATUS || ac_write_fail=1
   16003 rm -f conf$$subs.awk
   16004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16005 _ACAWK
   16006 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   16007   for (key in S) S_is_set[key] = 1
   16008   FS = ""
   16009 
   16010 }
   16011 {
   16012   line = $ 0
   16013   nfields = split(line, field, "@")
   16014   substed = 0
   16015   len = length(field[1])
   16016   for (i = 2; i < nfields; i++) {
   16017     key = field[i]
   16018     keylen = length(key)
   16019     if (S_is_set[key]) {
   16020       value = S[key]
   16021       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16022       len += length(value) + length(field[++i])
   16023       substed = 1
   16024     } else
   16025       len += 1 + keylen
   16026   }
   16027 
   16028   print line
   16029 }
   16030 
   16031 _ACAWK
   16032 _ACEOF
   16033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16034 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16035   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16036 else
   16037   cat
   16038 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   16039   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   16040 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   16041    { (exit 1); exit 1; }; }
   16042 _ACEOF
   16043 
   16044 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   16045 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   16046 # trailing colons and then remove the whole line if VPATH becomes empty
   16047 # (actually we leave an empty line to preserve line numbers).
   16048 if test "x$srcdir" = x.; then
   16049   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   16050 s/:*\$(srcdir):*/:/
   16051 s/:*\${srcdir}:*/:/
   16052 s/:*@srcdir@:*/:/
   16053 s/^\([^=]*=[	 ]*\):*/\1/
   16054 s/:*$//
   16055 s/^[^=]*=[	 ]*$//
   16056 }'
   16057 fi
   16058 
   16059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16060 fi # test -n "$CONFIG_FILES"
   16061 
   16062 # Set up the scripts for CONFIG_HEADERS section.
   16063 # No need to generate them if there are no CONFIG_HEADERS.
   16064 # This happens for instance with `./config.status Makefile'.
   16065 if test -n "$CONFIG_HEADERS"; then
   16066 cat >"$tmp/defines.awk" <<\_ACAWK ||
   16067 BEGIN {
   16068 _ACEOF
   16069 
   16070 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16071 # here-document in config.status, that substitutes the proper values into
   16072 # config.h.in to produce config.h.
   16073 
   16074 # Create a delimiter string that does not exist in confdefs.h, to ease
   16075 # handling of long lines.
   16076 ac_delim='%!_!# '
   16077 for ac_last_try in false false :; do
   16078   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   16079   if test -z "$ac_t"; then
   16080     break
   16081   elif $ac_last_try; then
   16082     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   16083 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   16084    { (exit 1); exit 1; }; }
   16085   else
   16086     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16087   fi
   16088 done
   16089 
   16090 # For the awk script, D is an array of macro values keyed by name,
   16091 # likewise P contains macro parameters if any.  Preserve backslash
   16092 # newline sequences.
   16093 
   16094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16095 sed -n '
   16096 s/.\{148\}/&'"$ac_delim"'/g
   16097 t rset
   16098 :rset
   16099 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16100 t def
   16101 d
   16102 :def
   16103 s/\\$//
   16104 t bsnl
   16105 s/["\\]/\\&/g
   16106 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16107 D["\1"]=" \3"/p
   16108 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16109 d
   16110 :bsnl
   16111 s/["\\]/\\&/g
   16112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16113 D["\1"]=" \3\\\\\\n"\\/p
   16114 t cont
   16115 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16116 t cont
   16117 d
   16118 :cont
   16119 n
   16120 s/.\{148\}/&'"$ac_delim"'/g
   16121 t clear
   16122 :clear
   16123 s/\\$//
   16124 t bsnlc
   16125 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16126 d
   16127 :bsnlc
   16128 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16129 b cont
   16130 ' <confdefs.h | sed '
   16131 s/'"$ac_delim"'/"\\\
   16132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16133 
   16134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16135   for (key in D) D_is_set[key] = 1
   16136   FS = ""
   16137 }
   16138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16139   line = \$ 0
   16140   split(line, arg, " ")
   16141   if (arg[1] == "#") {
   16142     defundef = arg[2]
   16143     mac1 = arg[3]
   16144   } else {
   16145     defundef = substr(arg[1], 2)
   16146     mac1 = arg[2]
   16147   }
   16148   split(mac1, mac2, "(") #)
   16149   macro = mac2[1]
   16150   prefix = substr(line, 1, index(line, defundef) - 1)
   16151   if (D_is_set[macro]) {
   16152     # Preserve the white space surrounding the "#".
   16153     print prefix "define", macro P[macro] D[macro]
   16154     next
   16155   } else {
   16156     # Replace #undef with comments.  This is necessary, for example,
   16157     # in the case of _POSIX_SOURCE, which is predefined and required
   16158     # on some systems where configure will not decide to define it.
   16159     if (defundef == "undef") {
   16160       print "/*", prefix defundef, macro, "*/"
   16161       next
   16162     }
   16163   }
   16164 }
   16165 { print }
   16166 _ACAWK
   16167 _ACEOF
   16168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16169   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   16170 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   16171    { (exit 1); exit 1; }; }
   16172 fi # test -n "$CONFIG_HEADERS"
   16173 
   16174 
   16175 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16176 shift
   16177 for ac_tag
   16178 do
   16179   case $ac_tag in
   16180   :[FHLC]) ac_mode=$ac_tag; continue;;
   16181   esac
   16182   case $ac_mode$ac_tag in
   16183   :[FHL]*:*);;
   16184   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   16185 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   16186    { (exit 1); exit 1; }; };;
   16187   :[FH]-) ac_tag=-:-;;
   16188   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16189   esac
   16190   ac_save_IFS=$IFS
   16191   IFS=:
   16192   set x $ac_tag
   16193   IFS=$ac_save_IFS
   16194   shift
   16195   ac_file=$1
   16196   shift
   16197 
   16198   case $ac_mode in
   16199   :L) ac_source=$1;;
   16200   :[FH])
   16201     ac_file_inputs=
   16202     for ac_f
   16203     do
   16204       case $ac_f in
   16205       -) ac_f="$tmp/stdin";;
   16206       *) # Look for the file first in the build tree, then in the source tree
   16207 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16208 	 # because $ac_f cannot contain `:'.
   16209 	 test -f "$ac_f" ||
   16210 	   case $ac_f in
   16211 	   [\\/$]*) false;;
   16212 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   16213 	   esac ||
   16214 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   16215 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   16216    { (exit 1); exit 1; }; };;
   16217       esac
   16218       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   16219       ac_file_inputs="$ac_file_inputs '$ac_f'"
   16220     done
   16221 
   16222     # Let's still pretend it is `configure' which instantiates (i.e., don't
   16223     # use $as_me), people would be surprised to read:
   16224     #    /* config.h.  Generated by config.status.  */
   16225     configure_input='Generated from '`
   16226 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   16227 	`' by configure.'
   16228     if test x"$ac_file" != x-; then
   16229       configure_input="$ac_file.  $configure_input"
   16230       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   16231 $as_echo "$as_me: creating $ac_file" >&6;}
   16232     fi
   16233     # Neutralize special characters interpreted by sed in replacement strings.
   16234     case $configure_input in #(
   16235     *\&* | *\|* | *\\* )
   16236        ac_sed_conf_input=`$as_echo "$configure_input" |
   16237        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   16238     *) ac_sed_conf_input=$configure_input;;
   16239     esac
   16240 
   16241     case $ac_tag in
   16242     *:-:* | *:-) cat >"$tmp/stdin" \
   16243       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16244 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16245    { (exit 1); exit 1; }; } ;;
   16246     esac
   16247     ;;
   16248   esac
   16249 
   16250   ac_dir=`$as_dirname -- "$ac_file" ||
   16251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16252 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16253 	 X"$ac_file" : 'X\(//\)$' \| \
   16254 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   16255 $as_echo X"$ac_file" |
   16256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16257 	    s//\1/
   16258 	    q
   16259 	  }
   16260 	  /^X\(\/\/\)[^/].*/{
   16261 	    s//\1/
   16262 	    q
   16263 	  }
   16264 	  /^X\(\/\/\)$/{
   16265 	    s//\1/
   16266 	    q
   16267 	  }
   16268 	  /^X\(\/\).*/{
   16269 	    s//\1/
   16270 	    q
   16271 	  }
   16272 	  s/.*/./; q'`
   16273   { as_dir="$ac_dir"
   16274   case $as_dir in #(
   16275   -*) as_dir=./$as_dir;;
   16276   esac
   16277   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   16278     as_dirs=
   16279     while :; do
   16280       case $as_dir in #(
   16281       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16282       *) as_qdir=$as_dir;;
   16283       esac
   16284       as_dirs="'$as_qdir' $as_dirs"
   16285       as_dir=`$as_dirname -- "$as_dir" ||
   16286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16287 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16288 	 X"$as_dir" : 'X\(//\)$' \| \
   16289 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16290 $as_echo X"$as_dir" |
   16291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16292 	    s//\1/
   16293 	    q
   16294 	  }
   16295 	  /^X\(\/\/\)[^/].*/{
   16296 	    s//\1/
   16297 	    q
   16298 	  }
   16299 	  /^X\(\/\/\)$/{
   16300 	    s//\1/
   16301 	    q
   16302 	  }
   16303 	  /^X\(\/\).*/{
   16304 	    s//\1/
   16305 	    q
   16306 	  }
   16307 	  s/.*/./; q'`
   16308       test -d "$as_dir" && break
   16309     done
   16310     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16311   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   16312 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   16313    { (exit 1); exit 1; }; }; }
   16314   ac_builddir=.
   16315 
   16316 case "$ac_dir" in
   16317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16318 *)
   16319   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   16320   # A ".." for each directory in $ac_dir_suffix.
   16321   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   16322   case $ac_top_builddir_sub in
   16323   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   16324   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   16325   esac ;;
   16326 esac
   16327 ac_abs_top_builddir=$ac_pwd
   16328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   16329 # for backward compatibility:
   16330 ac_top_builddir=$ac_top_build_prefix
   16331 
   16332 case $srcdir in
   16333   .)  # We are building in place.
   16334     ac_srcdir=.
   16335     ac_top_srcdir=$ac_top_builddir_sub
   16336     ac_abs_top_srcdir=$ac_pwd ;;
   16337   [\\/]* | ?:[\\/]* )  # Absolute name.
   16338     ac_srcdir=$srcdir$ac_dir_suffix;
   16339     ac_top_srcdir=$srcdir
   16340     ac_abs_top_srcdir=$srcdir ;;
   16341   *) # Relative name.
   16342     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   16343     ac_top_srcdir=$ac_top_build_prefix$srcdir
   16344     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   16345 esac
   16346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   16347 
   16348 
   16349   case $ac_mode in
   16350   :F)
   16351   #
   16352   # CONFIG_FILE
   16353   #
   16354 
   16355   case $INSTALL in
   16356   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16357   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   16358   esac
   16359   ac_MKDIR_P=$MKDIR_P
   16360   case $MKDIR_P in
   16361   [\\/$]* | ?:[\\/]* ) ;;
   16362   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   16363   esac
   16364 _ACEOF
   16365 
   16366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16367 # If the template does not know about datarootdir, expand it.
   16368 # FIXME: This hack should be removed a few years after 2.60.
   16369 ac_datarootdir_hack=; ac_datarootdir_seen=
   16370 
   16371 ac_sed_dataroot='
   16372 /datarootdir/ {
   16373   p
   16374   q
   16375 }
   16376 /@datadir@/p
   16377 /@docdir@/p
   16378 /@infodir@/p
   16379 /@localedir@/p
   16380 /@mandir@/p
   16381 '
   16382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   16383 *datarootdir*) ac_datarootdir_seen=yes;;
   16384 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   16385   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   16386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   16387 _ACEOF
   16388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16389   ac_datarootdir_hack='
   16390   s&@datadir@&$datadir&g
   16391   s&@docdir@&$docdir&g
   16392   s&@infodir@&$infodir&g
   16393   s&@localedir@&$localedir&g
   16394   s&@mandir@&$mandir&g
   16395     s&\\\${datarootdir}&$datarootdir&g' ;;
   16396 esac
   16397 _ACEOF
   16398 
   16399 # Neutralize VPATH when `$srcdir' = `.'.
   16400 # Shell code in configure.ac might set extrasub.
   16401 # FIXME: do we really want to maintain this feature?
   16402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16403 ac_sed_extra="$ac_vpsub
   16404 $extrasub
   16405 _ACEOF
   16406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16407 :t
   16408 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   16409 s|@configure_input@|$ac_sed_conf_input|;t t
   16410 s&@top_builddir@&$ac_top_builddir_sub&;t t
   16411 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   16412 s&@srcdir@&$ac_srcdir&;t t
   16413 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   16414 s&@top_srcdir@&$ac_top_srcdir&;t t
   16415 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   16416 s&@builddir@&$ac_builddir&;t t
   16417 s&@abs_builddir@&$ac_abs_builddir&;t t
   16418 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   16419 s&@INSTALL@&$ac_INSTALL&;t t
   16420 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   16421 $ac_datarootdir_hack
   16422 "
   16423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   16424   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16425 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16426    { (exit 1); exit 1; }; }
   16427 
   16428 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   16429   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   16430   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   16431   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16432 which seems to be undefined.  Please make sure it is defined." >&5
   16433 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   16434 which seems to be undefined.  Please make sure it is defined." >&2;}
   16435 
   16436   rm -f "$tmp/stdin"
   16437   case $ac_file in
   16438   -) cat "$tmp/out" && rm -f "$tmp/out";;
   16439   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   16440   esac \
   16441   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16442 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16443    { (exit 1); exit 1; }; }
   16444  ;;
   16445   :H)
   16446   #
   16447   # CONFIG_HEADER
   16448   #
   16449   if test x"$ac_file" != x-; then
   16450     {
   16451       $as_echo "/* $configure_input  */" \
   16452       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   16453     } >"$tmp/config.h" \
   16454       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16455 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16456    { (exit 1); exit 1; }; }
   16457     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   16458       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   16459 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   16460     else
   16461       rm -f "$ac_file"
   16462       mv "$tmp/config.h" "$ac_file" \
   16463 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   16464 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   16465    { (exit 1); exit 1; }; }
   16466     fi
   16467   else
   16468     $as_echo "/* $configure_input  */" \
   16469       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   16470       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   16471 $as_echo "$as_me: error: could not create -" >&2;}
   16472    { (exit 1); exit 1; }; }
   16473   fi
   16474 # Compute "$ac_file"'s index in $config_headers.
   16475 _am_arg="$ac_file"
   16476 _am_stamp_count=1
   16477 for _am_header in $config_headers :; do
   16478   case $_am_header in
   16479     $_am_arg | $_am_arg:* )
   16480       break ;;
   16481     * )
   16482       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16483   esac
   16484 done
   16485 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16486 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16487 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16488 	 X"$_am_arg" : 'X\(//\)$' \| \
   16489 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16490 $as_echo X"$_am_arg" |
   16491     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16492 	    s//\1/
   16493 	    q
   16494 	  }
   16495 	  /^X\(\/\/\)[^/].*/{
   16496 	    s//\1/
   16497 	    q
   16498 	  }
   16499 	  /^X\(\/\/\)$/{
   16500 	    s//\1/
   16501 	    q
   16502 	  }
   16503 	  /^X\(\/\).*/{
   16504 	    s//\1/
   16505 	    q
   16506 	  }
   16507 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16508  ;;
   16509 
   16510   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   16511 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16512  ;;
   16513   esac
   16514 
   16515 
   16516   case $ac_file$ac_mode in
   16517     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   16518   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   16519   # are listed without --file.  Let's play safe and only enable the eval
   16520   # if we detect the quoting.
   16521   case $CONFIG_FILES in
   16522   *\'*) eval set x "$CONFIG_FILES" ;;
   16523   *)   set x $CONFIG_FILES ;;
   16524   esac
   16525   shift
   16526   for mf
   16527   do
   16528     # Strip MF so we end up with the name of the file.
   16529     mf=`echo "$mf" | sed -e 's/:.*$//'`
   16530     # Check whether this is an Automake generated Makefile or not.
   16531     # We used to match only the files named `Makefile.in', but
   16532     # some people rename them; so instead we look at the file content.
   16533     # Grep'ing the first line is not enough: some people post-process
   16534     # each Makefile.in and add a new line on top of each file to say so.
   16535     # Grep'ing the whole file is not good either: AIX grep has a line
   16536     # limit of 2048, but all sed's we know have understand at least 4000.
   16537     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   16538       dirpart=`$as_dirname -- "$mf" ||
   16539 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16540 	 X"$mf" : 'X\(//\)[^/]' \| \
   16541 	 X"$mf" : 'X\(//\)$' \| \
   16542 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   16543 $as_echo X"$mf" |
   16544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16545 	    s//\1/
   16546 	    q
   16547 	  }
   16548 	  /^X\(\/\/\)[^/].*/{
   16549 	    s//\1/
   16550 	    q
   16551 	  }
   16552 	  /^X\(\/\/\)$/{
   16553 	    s//\1/
   16554 	    q
   16555 	  }
   16556 	  /^X\(\/\).*/{
   16557 	    s//\1/
   16558 	    q
   16559 	  }
   16560 	  s/.*/./; q'`
   16561     else
   16562       continue
   16563     fi
   16564     # Extract the definition of DEPDIR, am__include, and am__quote
   16565     # from the Makefile without running `make'.
   16566     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   16567     test -z "$DEPDIR" && continue
   16568     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   16569     test -z "am__include" && continue
   16570     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   16571     # When using ansi2knr, U may be empty or an underscore; expand it
   16572     U=`sed -n 's/^U = //p' < "$mf"`
   16573     # Find all dependency output files, they are included files with
   16574     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   16575     # simplest approach to changing $(DEPDIR) to its actual value in the
   16576     # expansion.
   16577     for file in `sed -n "
   16578       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   16579 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   16580       # Make sure the directory exists.
   16581       test -f "$dirpart/$file" && continue
   16582       fdir=`$as_dirname -- "$file" ||
   16583 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16584 	 X"$file" : 'X\(//\)[^/]' \| \
   16585 	 X"$file" : 'X\(//\)$' \| \
   16586 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   16587 $as_echo X"$file" |
   16588     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16589 	    s//\1/
   16590 	    q
   16591 	  }
   16592 	  /^X\(\/\/\)[^/].*/{
   16593 	    s//\1/
   16594 	    q
   16595 	  }
   16596 	  /^X\(\/\/\)$/{
   16597 	    s//\1/
   16598 	    q
   16599 	  }
   16600 	  /^X\(\/\).*/{
   16601 	    s//\1/
   16602 	    q
   16603 	  }
   16604 	  s/.*/./; q'`
   16605       { as_dir=$dirpart/$fdir
   16606   case $as_dir in #(
   16607   -*) as_dir=./$as_dir;;
   16608   esac
   16609   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   16610     as_dirs=
   16611     while :; do
   16612       case $as_dir in #(
   16613       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16614       *) as_qdir=$as_dir;;
   16615       esac
   16616       as_dirs="'$as_qdir' $as_dirs"
   16617       as_dir=`$as_dirname -- "$as_dir" ||
   16618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16619 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16620 	 X"$as_dir" : 'X\(//\)$' \| \
   16621 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16622 $as_echo X"$as_dir" |
   16623     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16624 	    s//\1/
   16625 	    q
   16626 	  }
   16627 	  /^X\(\/\/\)[^/].*/{
   16628 	    s//\1/
   16629 	    q
   16630 	  }
   16631 	  /^X\(\/\/\)$/{
   16632 	    s//\1/
   16633 	    q
   16634 	  }
   16635 	  /^X\(\/\).*/{
   16636 	    s//\1/
   16637 	    q
   16638 	  }
   16639 	  s/.*/./; q'`
   16640       test -d "$as_dir" && break
   16641     done
   16642     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16643   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   16644 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   16645    { (exit 1); exit 1; }; }; }
   16646       # echo "creating $dirpart/$file"
   16647       echo '# dummy' > "$dirpart/$file"
   16648     done
   16649   done
   16650 }
   16651  ;;
   16652     "libtool":C)
   16653 
   16654     # See if we are running on zsh, and set the options which allow our
   16655     # commands through without removal of \ escapes.
   16656     if test -n "${ZSH_VERSION+set}" ; then
   16657       setopt NO_GLOB_SUBST
   16658     fi
   16659 
   16660     cfgfile="${ofile}T"
   16661     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16662     $RM "$cfgfile"
   16663 
   16664     cat <<_LT_EOF >> "$cfgfile"
   16665 #! $SHELL
   16666 
   16667 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16668 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16669 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16670 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16671 #
   16672 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16673 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   16674 #   Written by Gordon Matzigkeit, 1996
   16675 #
   16676 #   This file is part of GNU Libtool.
   16677 #
   16678 # GNU Libtool is free software; you can redistribute it and/or
   16679 # modify it under the terms of the GNU General Public License as
   16680 # published by the Free Software Foundation; either version 2 of
   16681 # the License, or (at your option) any later version.
   16682 #
   16683 # As a special exception to the GNU General Public License,
   16684 # if you distribute this file as part of a program or library that
   16685 # is built using GNU Libtool, you may include this file under the
   16686 # same distribution terms that you use for the rest of that program.
   16687 #
   16688 # GNU Libtool is distributed in the hope that it will be useful,
   16689 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16690 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16691 # GNU General Public License for more details.
   16692 #
   16693 # You should have received a copy of the GNU General Public License
   16694 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16695 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16696 # obtained by writing to the Free Software Foundation, Inc.,
   16697 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16698 
   16699 
   16700 # The names of the tagged configurations supported by this script.
   16701 available_tags=""
   16702 
   16703 # ### BEGIN LIBTOOL CONFIG
   16704 
   16705 # Which release of libtool.m4 was used?
   16706 macro_version=$macro_version
   16707 macro_revision=$macro_revision
   16708 
   16709 # Whether or not to build shared libraries.
   16710 build_libtool_libs=$enable_shared
   16711 
   16712 # Whether or not to build static libraries.
   16713 build_old_libs=$enable_static
   16714 
   16715 # What type of objects to build.
   16716 pic_mode=$pic_mode
   16717 
   16718 # Whether or not to optimize for fast installation.
   16719 fast_install=$enable_fast_install
   16720 
   16721 # The host system.
   16722 host_alias=$host_alias
   16723 host=$host
   16724 host_os=$host_os
   16725 
   16726 # The build system.
   16727 build_alias=$build_alias
   16728 build=$build
   16729 build_os=$build_os
   16730 
   16731 # A sed program that does not truncate output.
   16732 SED=$lt_SED
   16733 
   16734 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16735 Xsed="\$SED -e 1s/^X//"
   16736 
   16737 # A grep program that handles long lines.
   16738 GREP=$lt_GREP
   16739 
   16740 # An ERE matcher.
   16741 EGREP=$lt_EGREP
   16742 
   16743 # A literal string matcher.
   16744 FGREP=$lt_FGREP
   16745 
   16746 # A BSD- or MS-compatible name lister.
   16747 NM=$lt_NM
   16748 
   16749 # Whether we need soft or hard links.
   16750 LN_S=$lt_LN_S
   16751 
   16752 # What is the maximum length of a command?
   16753 max_cmd_len=$max_cmd_len
   16754 
   16755 # Object file suffix (normally "o").
   16756 objext=$ac_objext
   16757 
   16758 # Executable file suffix (normally "").
   16759 exeext=$exeext
   16760 
   16761 # whether the shell understands "unset".
   16762 lt_unset=$lt_unset
   16763 
   16764 # turn spaces into newlines.
   16765 SP2NL=$lt_lt_SP2NL
   16766 
   16767 # turn newlines into spaces.
   16768 NL2SP=$lt_lt_NL2SP
   16769 
   16770 # How to create reloadable object files.
   16771 reload_flag=$lt_reload_flag
   16772 reload_cmds=$lt_reload_cmds
   16773 
   16774 # An object symbol dumper.
   16775 OBJDUMP=$lt_OBJDUMP
   16776 
   16777 # Method to check whether dependent libraries are shared objects.
   16778 deplibs_check_method=$lt_deplibs_check_method
   16779 
   16780 # Command to use when deplibs_check_method == "file_magic".
   16781 file_magic_cmd=$lt_file_magic_cmd
   16782 
   16783 # The archiver.
   16784 AR=$lt_AR
   16785 AR_FLAGS=$lt_AR_FLAGS
   16786 
   16787 # A symbol stripping program.
   16788 STRIP=$lt_STRIP
   16789 
   16790 # Commands used to install an old-style archive.
   16791 RANLIB=$lt_RANLIB
   16792 old_postinstall_cmds=$lt_old_postinstall_cmds
   16793 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16794 
   16795 # A C compiler.
   16796 LTCC=$lt_CC
   16797 
   16798 # LTCC compiler flags.
   16799 LTCFLAGS=$lt_CFLAGS
   16800 
   16801 # Take the output of nm and produce a listing of raw symbols and C names.
   16802 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16803 
   16804 # Transform the output of nm in a proper C declaration.
   16805 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16806 
   16807 # Transform the output of nm in a C name address pair.
   16808 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16809 
   16810 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16811 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16812 
   16813 # The name of the directory that contains temporary libtool files.
   16814 objdir=$objdir
   16815 
   16816 # Shell to use when invoking shell scripts.
   16817 SHELL=$lt_SHELL
   16818 
   16819 # An echo program that does not interpret backslashes.
   16820 ECHO=$lt_ECHO
   16821 
   16822 # Used to examine libraries when file_magic_cmd begins with "file".
   16823 MAGIC_CMD=$MAGIC_CMD
   16824 
   16825 # Must we lock files when doing compilation?
   16826 need_locks=$lt_need_locks
   16827 
   16828 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16829 DSYMUTIL=$lt_DSYMUTIL
   16830 
   16831 # Tool to change global to local symbols on Mac OS X.
   16832 NMEDIT=$lt_NMEDIT
   16833 
   16834 # Tool to manipulate fat objects and archives on Mac OS X.
   16835 LIPO=$lt_LIPO
   16836 
   16837 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16838 OTOOL=$lt_OTOOL
   16839 
   16840 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16841 OTOOL64=$lt_OTOOL64
   16842 
   16843 # Old archive suffix (normally "a").
   16844 libext=$libext
   16845 
   16846 # Shared library suffix (normally ".so").
   16847 shrext_cmds=$lt_shrext_cmds
   16848 
   16849 # The commands to extract the exported symbol list from a shared archive.
   16850 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16851 
   16852 # Variables whose values should be saved in libtool wrapper scripts and
   16853 # restored at link time.
   16854 variables_saved_for_relink=$lt_variables_saved_for_relink
   16855 
   16856 # Do we need the "lib" prefix for modules?
   16857 need_lib_prefix=$need_lib_prefix
   16858 
   16859 # Do we need a version for libraries?
   16860 need_version=$need_version
   16861 
   16862 # Library versioning type.
   16863 version_type=$version_type
   16864 
   16865 # Shared library runtime path variable.
   16866 runpath_var=$runpath_var
   16867 
   16868 # Shared library path variable.
   16869 shlibpath_var=$shlibpath_var
   16870 
   16871 # Is shlibpath searched before the hard-coded library search path?
   16872 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16873 
   16874 # Format of library name prefix.
   16875 libname_spec=$lt_libname_spec
   16876 
   16877 # List of archive names.  First name is the real one, the rest are links.
   16878 # The last name is the one that the linker finds with -lNAME
   16879 library_names_spec=$lt_library_names_spec
   16880 
   16881 # The coded name of the library, if different from the real name.
   16882 soname_spec=$lt_soname_spec
   16883 
   16884 # Command to use after installation of a shared archive.
   16885 postinstall_cmds=$lt_postinstall_cmds
   16886 
   16887 # Command to use after uninstallation of a shared archive.
   16888 postuninstall_cmds=$lt_postuninstall_cmds
   16889 
   16890 # Commands used to finish a libtool library installation in a directory.
   16891 finish_cmds=$lt_finish_cmds
   16892 
   16893 # As "finish_cmds", except a single script fragment to be evaled but
   16894 # not shown.
   16895 finish_eval=$lt_finish_eval
   16896 
   16897 # Whether we should hardcode library paths into libraries.
   16898 hardcode_into_libs=$hardcode_into_libs
   16899 
   16900 # Compile-time system search path for libraries.
   16901 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16902 
   16903 # Run-time system search path for libraries.
   16904 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16905 
   16906 # Whether dlopen is supported.
   16907 dlopen_support=$enable_dlopen
   16908 
   16909 # Whether dlopen of programs is supported.
   16910 dlopen_self=$enable_dlopen_self
   16911 
   16912 # Whether dlopen of statically linked programs is supported.
   16913 dlopen_self_static=$enable_dlopen_self_static
   16914 
   16915 # Commands to strip libraries.
   16916 old_striplib=$lt_old_striplib
   16917 striplib=$lt_striplib
   16918 
   16919 
   16920 # The linker used to build libraries.
   16921 LD=$lt_LD
   16922 
   16923 # Commands used to build an old-style archive.
   16924 old_archive_cmds=$lt_old_archive_cmds
   16925 
   16926 # A language specific compiler.
   16927 CC=$lt_compiler
   16928 
   16929 # Is the compiler the GNU compiler?
   16930 with_gcc=$GCC
   16931 
   16932 # Compiler flag to turn off builtin functions.
   16933 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16934 
   16935 # How to pass a linker flag through the compiler.
   16936 wl=$lt_lt_prog_compiler_wl
   16937 
   16938 # Additional compiler flags for building library objects.
   16939 pic_flag=$lt_lt_prog_compiler_pic
   16940 
   16941 # Compiler flag to prevent dynamic linking.
   16942 link_static_flag=$lt_lt_prog_compiler_static
   16943 
   16944 # Does compiler simultaneously support -c and -o options?
   16945 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16946 
   16947 # Whether or not to add -lc for building shared libraries.
   16948 build_libtool_need_lc=$archive_cmds_need_lc
   16949 
   16950 # Whether or not to disallow shared libs when runtime libs are static.
   16951 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16952 
   16953 # Compiler flag to allow reflexive dlopens.
   16954 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16955 
   16956 # Compiler flag to generate shared objects directly from archives.
   16957 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16958 
   16959 # Whether the compiler copes with passing no objects directly.
   16960 compiler_needs_object=$lt_compiler_needs_object
   16961 
   16962 # Create an old-style archive from a shared archive.
   16963 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16964 
   16965 # Create a temporary old-style archive to link instead of a shared archive.
   16966 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16967 
   16968 # Commands used to build a shared archive.
   16969 archive_cmds=$lt_archive_cmds
   16970 archive_expsym_cmds=$lt_archive_expsym_cmds
   16971 
   16972 # Commands used to build a loadable module if different from building
   16973 # a shared archive.
   16974 module_cmds=$lt_module_cmds
   16975 module_expsym_cmds=$lt_module_expsym_cmds
   16976 
   16977 # Whether we are building with GNU ld or not.
   16978 with_gnu_ld=$lt_with_gnu_ld
   16979 
   16980 # Flag that allows shared libraries with undefined symbols to be built.
   16981 allow_undefined_flag=$lt_allow_undefined_flag
   16982 
   16983 # Flag that enforces no undefined symbols.
   16984 no_undefined_flag=$lt_no_undefined_flag
   16985 
   16986 # Flag to hardcode \$libdir into a binary during linking.
   16987 # This must work even if \$libdir does not exist
   16988 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16989 
   16990 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16991 # during linking.  This must work even if \$libdir does not exist.
   16992 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16993 
   16994 # Whether we need a single "-rpath" flag with a separated argument.
   16995 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16996 
   16997 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16998 # DIR into the resulting binary.
   16999 hardcode_direct=$hardcode_direct
   17000 
   17001 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17002 # DIR into the resulting binary and the resulting library dependency is
   17003 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17004 # library is relocated.
   17005 hardcode_direct_absolute=$hardcode_direct_absolute
   17006 
   17007 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17008 # into the resulting binary.
   17009 hardcode_minus_L=$hardcode_minus_L
   17010 
   17011 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17012 # into the resulting binary.
   17013 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17014 
   17015 # Set to "yes" if building a shared library automatically hardcodes DIR
   17016 # into the library and all subsequent libraries and executables linked
   17017 # against it.
   17018 hardcode_automatic=$hardcode_automatic
   17019 
   17020 # Set to yes if linker adds runtime paths of dependent libraries
   17021 # to runtime path list.
   17022 inherit_rpath=$inherit_rpath
   17023 
   17024 # Whether libtool must link a program against all its dependency libraries.
   17025 link_all_deplibs=$link_all_deplibs
   17026 
   17027 # Fix the shell variable \$srcfile for the compiler.
   17028 fix_srcfile_path=$lt_fix_srcfile_path
   17029 
   17030 # Set to "yes" if exported symbols are required.
   17031 always_export_symbols=$always_export_symbols
   17032 
   17033 # The commands to list exported symbols.
   17034 export_symbols_cmds=$lt_export_symbols_cmds
   17035 
   17036 # Symbols that should not be listed in the preloaded symbols.
   17037 exclude_expsyms=$lt_exclude_expsyms
   17038 
   17039 # Symbols that must always be exported.
   17040 include_expsyms=$lt_include_expsyms
   17041 
   17042 # Commands necessary for linking programs (against libraries) with templates.
   17043 prelink_cmds=$lt_prelink_cmds
   17044 
   17045 # Specify filename containing input files.
   17046 file_list_spec=$lt_file_list_spec
   17047 
   17048 # How to hardcode a shared library path into an executable.
   17049 hardcode_action=$hardcode_action
   17050 
   17051 # ### END LIBTOOL CONFIG
   17052 
   17053 _LT_EOF
   17054 
   17055   case $host_os in
   17056   aix3*)
   17057     cat <<\_LT_EOF >> "$cfgfile"
   17058 # AIX sometimes has problems with the GCC collect2 program.  For some
   17059 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17060 # vanish in a puff of smoke.
   17061 if test "X${COLLECT_NAMES+set}" != Xset; then
   17062   COLLECT_NAMES=
   17063   export COLLECT_NAMES
   17064 fi
   17065 _LT_EOF
   17066     ;;
   17067   esac
   17068 
   17069 
   17070 ltmain="$ac_aux_dir/ltmain.sh"
   17071 
   17072 
   17073   # We use sed instead of cat because bash on DJGPP gets confused if
   17074   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17075   # text mode, it properly converts lines to CR/LF.  This bash problem
   17076   # is reportedly fixed, but why not run on old versions too?
   17077   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   17078     || (rm -f "$cfgfile"; exit 1)
   17079 
   17080   case $xsi_shell in
   17081   yes)
   17082     cat << \_LT_EOF >> "$cfgfile"
   17083 
   17084 # func_dirname file append nondir_replacement
   17085 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17086 # otherwise set result to NONDIR_REPLACEMENT.
   17087 func_dirname ()
   17088 {
   17089   case ${1} in
   17090     */*) func_dirname_result="${1%/*}${2}" ;;
   17091     *  ) func_dirname_result="${3}" ;;
   17092   esac
   17093 }
   17094 
   17095 # func_basename file
   17096 func_basename ()
   17097 {
   17098   func_basename_result="${1##*/}"
   17099 }
   17100 
   17101 # func_dirname_and_basename file append nondir_replacement
   17102 # perform func_basename and func_dirname in a single function
   17103 # call:
   17104 #   dirname:  Compute the dirname of FILE.  If nonempty,
   17105 #             add APPEND to the result, otherwise set result
   17106 #             to NONDIR_REPLACEMENT.
   17107 #             value returned in "$func_dirname_result"
   17108 #   basename: Compute filename of FILE.
   17109 #             value retuned in "$func_basename_result"
   17110 # Implementation must be kept synchronized with func_dirname
   17111 # and func_basename. For efficiency, we do not delegate to
   17112 # those functions but instead duplicate the functionality here.
   17113 func_dirname_and_basename ()
   17114 {
   17115   case ${1} in
   17116     */*) func_dirname_result="${1%/*}${2}" ;;
   17117     *  ) func_dirname_result="${3}" ;;
   17118   esac
   17119   func_basename_result="${1##*/}"
   17120 }
   17121 
   17122 # func_stripname prefix suffix name
   17123 # strip PREFIX and SUFFIX off of NAME.
   17124 # PREFIX and SUFFIX must not contain globbing or regex special
   17125 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17126 # dot (in which case that matches only a dot).
   17127 func_stripname ()
   17128 {
   17129   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   17130   # positional parameters, so assign one to ordinary parameter first.
   17131   func_stripname_result=${3}
   17132   func_stripname_result=${func_stripname_result#"${1}"}
   17133   func_stripname_result=${func_stripname_result%"${2}"}
   17134 }
   17135 
   17136 # func_opt_split
   17137 func_opt_split ()
   17138 {
   17139   func_opt_split_opt=${1%%=*}
   17140   func_opt_split_arg=${1#*=}
   17141 }
   17142 
   17143 # func_lo2o object
   17144 func_lo2o ()
   17145 {
   17146   case ${1} in
   17147     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   17148     *)    func_lo2o_result=${1} ;;
   17149   esac
   17150 }
   17151 
   17152 # func_xform libobj-or-source
   17153 func_xform ()
   17154 {
   17155   func_xform_result=${1%.*}.lo
   17156 }
   17157 
   17158 # func_arith arithmetic-term...
   17159 func_arith ()
   17160 {
   17161   func_arith_result=$(( $* ))
   17162 }
   17163 
   17164 # func_len string
   17165 # STRING may not start with a hyphen.
   17166 func_len ()
   17167 {
   17168   func_len_result=${#1}
   17169 }
   17170 
   17171 _LT_EOF
   17172     ;;
   17173   *) # Bourne compatible functions.
   17174     cat << \_LT_EOF >> "$cfgfile"
   17175 
   17176 # func_dirname file append nondir_replacement
   17177 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17178 # otherwise set result to NONDIR_REPLACEMENT.
   17179 func_dirname ()
   17180 {
   17181   # Extract subdirectory from the argument.
   17182   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   17183   if test "X$func_dirname_result" = "X${1}"; then
   17184     func_dirname_result="${3}"
   17185   else
   17186     func_dirname_result="$func_dirname_result${2}"
   17187   fi
   17188 }
   17189 
   17190 # func_basename file
   17191 func_basename ()
   17192 {
   17193   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   17194 }
   17195 
   17196 
   17197 # func_stripname prefix suffix name
   17198 # strip PREFIX and SUFFIX off of NAME.
   17199 # PREFIX and SUFFIX must not contain globbing or regex special
   17200 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17201 # dot (in which case that matches only a dot).
   17202 # func_strip_suffix prefix name
   17203 func_stripname ()
   17204 {
   17205   case ${2} in
   17206     .*) func_stripname_result=`$ECHO "X${3}" \
   17207            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   17208     *)  func_stripname_result=`$ECHO "X${3}" \
   17209            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   17210   esac
   17211 }
   17212 
   17213 # sed scripts:
   17214 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   17215 my_sed_long_arg='1s/^-[^=]*=//'
   17216 
   17217 # func_opt_split
   17218 func_opt_split ()
   17219 {
   17220   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   17221   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   17222 }
   17223 
   17224 # func_lo2o object
   17225 func_lo2o ()
   17226 {
   17227   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   17228 }
   17229 
   17230 # func_xform libobj-or-source
   17231 func_xform ()
   17232 {
   17233   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   17234 }
   17235 
   17236 # func_arith arithmetic-term...
   17237 func_arith ()
   17238 {
   17239   func_arith_result=`expr "$@"`
   17240 }
   17241 
   17242 # func_len string
   17243 # STRING may not start with a hyphen.
   17244 func_len ()
   17245 {
   17246   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   17247 }
   17248 
   17249 _LT_EOF
   17250 esac
   17251 
   17252 case $lt_shell_append in
   17253   yes)
   17254     cat << \_LT_EOF >> "$cfgfile"
   17255 
   17256 # func_append var value
   17257 # Append VALUE to the end of shell variable VAR.
   17258 func_append ()
   17259 {
   17260   eval "$1+=\$2"
   17261 }
   17262 _LT_EOF
   17263     ;;
   17264   *)
   17265     cat << \_LT_EOF >> "$cfgfile"
   17266 
   17267 # func_append var value
   17268 # Append VALUE to the end of shell variable VAR.
   17269 func_append ()
   17270 {
   17271   eval "$1=\$$1\$2"
   17272 }
   17273 
   17274 _LT_EOF
   17275     ;;
   17276   esac
   17277 
   17278 
   17279   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   17280     || (rm -f "$cfgfile"; exit 1)
   17281 
   17282   mv -f "$cfgfile" "$ofile" ||
   17283     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17284   chmod +x "$ofile"
   17285 
   17286  ;;
   17287 
   17288   esac
   17289 done # for ac_tag
   17290 
   17291 
   17292 { (exit 0); exit 0; }
   17293 _ACEOF
   17294 chmod +x $CONFIG_STATUS
   17295 ac_clean_files=$ac_clean_files_save
   17296 
   17297 test $ac_write_fail = 0 ||
   17298   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   17299 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   17300    { (exit 1); exit 1; }; }
   17301 
   17302 
   17303 # configure is writing to config.log, and then calls config.status.
   17304 # config.status does its own redirection, appending to config.log.
   17305 # Unfortunately, on DOS this fails, as config.log is still kept open
   17306 # by configure, so config.status won't be able to write to it; its
   17307 # output is simply discarded.  So we exec the FD to /dev/null,
   17308 # effectively closing config.log, so it can be properly (re)opened and
   17309 # appended to by config.status.  When coming back to configure, we
   17310 # need to make the FD available again.
   17311 if test "$no_create" != yes; then
   17312   ac_cs_success=:
   17313   ac_config_status_args=
   17314   test "$silent" = yes &&
   17315     ac_config_status_args="$ac_config_status_args --quiet"
   17316   exec 5>/dev/null
   17317   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17318   exec 5>>config.log
   17319   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17320   # would make configure fail if this is the last instruction.
   17321   $ac_cs_success || { (exit 1); exit 1; }
   17322 fi
   17323 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17324   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17325 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17326 fi
   17327 
   17328